Omniscia Native Audit
FullMath Code Style Findings
FullMath Code Style Findings
FMH-01C: Inexistent Error Messages
Type | Severity | Location |
---|---|---|
Code Style | FullMath.sol:L34, L43, L121 |
Description:
The linked require
checks have no error messages explicitly defined.
Example:
contracts/libraries/FullMath.sol
34require(denominator > 0);
Recommendation:
We advise each to be set so to increase the legibility of the codebase and aid in validating the require
checks' conditions.
Alleviation:
An error message has been properly introduced for all referenced require
statements.