Skip to content

Validate split rules sum does not exceed 100% for Percentage type #13

Description

@MarcusDavidG

When multiple Percentage split rules are provided, the contract does not validate that their basis points sum to <= 10,000. If the sum exceeds 10,000 the contract will attempt to transfer more than the funded amount causing an arithmetic error. Add validation in create_invoice.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingmediumStandard feature or bug fix (150 pts)

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions