The Standard

The Standard
DeFiHardhat
20,000 USDC
View results
Submission Details
Severity: low
Invalid

Missing clear revert message

Summary

In Solidity, you can specify a revert reason as a string literal in a require() or revert() statement. This revert reason provides valuable information about why a transaction failed.

Impact

However, if a function reverts without providing a clear revert reason, it can be difficult to understand why the transaction failed.

Tools Used

Manual review

Recommendations

Provide clear revert messages in case the function reverts.

Updates

Lead Judging Commences

hrishibhat Lead Judge over 1 year ago
Submission Judgement Published
Invalidated
Reason: Non-acceptable severity
Assigned finding tags:

informational/invalid

Support

FAQs

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