Description:Description\
lot of important checks in the codebase use Solidity's require(). However, many of them do not include error messages when reverting.
if third-party protocols want to interact with the codebase, they will face difficulties handling errors, as they will not know the reason for the revert unless the require() includes an error message.
Recommendation\
Consider adding error messages to every require().
Github username: -- Twitter username: -- Submission hash (on-chain): 0xe01c283cbcf37d5f9bc353bc34a9be3ece0f647eca86cd175e2cf36b0afc869c Severity: low
Description: Description\ lot of important checks in the codebase use Solidity's
require()
. However, many of them do not include error messages when reverting.for example:
if third-party protocols want to interact with the codebase, they will face difficulties handling errors, as they will not know the reason for the revert unless the
require()
includes an error message.Recommendation\ Consider adding error messages to every
require()
.