Omniscia Native Audit
NoDelegateCall Code Style Findings
NoDelegateCall Code Style Findings
NDC-01C: Inexistent Error Message
Type | Severity | Location |
---|---|---|
Code Style | NoDelegateCall.sol:L19 |
Description:
The linked require
check has no error message explicitly defined.
Example:
contracts/libraries/NoDelegateCall.sol
19require(address(this) == original);
Recommendation:
We advise one to be set so to increase the legibility of the codebase and aid in validating the require
check's condition.
Alleviation:
An error message was properly introduced for the referenced require
check.