Omniscia KlimaDAO Audit
KlimaLPBonds_v4 Code Style Findings
KlimaLPBonds_v4 Code Style Findings
KLB-01C: Inexistent Error Messages
Type | Severity | Location |
---|---|---|
Code Style | Informational | KlimaLPBonds_v4.sol:L695, L697, L699, L701, L792, L1102, L1103 |
Description:
The linked require
checks have no error messages explicitly defined.
Example:
contracts/bonds/regular/KlimaLPBonds_v4.sol
699require( _treasury != address(0) );
Recommendation:
We advise them to be set so to aid in the validation of the require
's condition as well as the legibility of the codebase.
Alleviation:
The KlimaDAO team considered this exhibit but opted to retain the codebase in its current state.