20,000 USDC
View results
Submission Details
Severity: gas

`require()/revert()` statements should have descriptive reason strings.

Summary

require()/revert() statements should have descriptive reason strings.

Vulnerability Details

Descriptive reason strings should be used so that users can troubleshot any reverted calls.

Impact

There is 1 instance of this issue.

File: 2023-07-beedle/src/Fees.sol

27: require(_profits != WETH, "not allowed");

Tools Used

Manual code review.

Recommendations

Consider adding descriptive messages.

Support

FAQs

Can't find an answer? Chat with us on Discord, Twitter or Linkedin.