Skip to content

Clarification needed for SWC-123 #119

Open
@muellerberndt

Description

@muellerberndt

The description & sample for SWC-123 - Requirement Violation doesn't make sense to me.

Generally, require() is used for input validation and it the condition being violated is expected behavior.

The description seems to refer to a special case where "a contract provides the external input". I assume that the point of this is that if somebody creates a system that contains multiple contracts, the system should be consistent such that no contract calls another contract with invalid inputs?

This should be reflected in the SWC title and could also use a clearer description.

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requestedto do

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions