Require statements without messages in Factory
#18
Labels
0 (Non-critical)
Code style, clarity, syntax, versioning, off-chain monitoring (events etc), exclude gas optimisation
bug
Warden finding
sponsor acknowledged
Technically the issue is correct, but we're not going to resolve it for XYZ reasons
Handle
pants
Vulnerability details
The functions
Factory.setOwnerSplit()
,Factory.proposeBasketLicense()
andFactory.createBasket()
contain a bunch of require statement without messages:Impact
When transactions revert, the users won't receive error messages indicating the cause of the failure.
Tool Used
Manual code review.
Recommended Mitigation Steps
Add informative error messages to these require statements.
The text was updated successfully, but these errors were encountered: