Open
Description
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.