Omniscia KlimaDAO Audit
StakingWarmup Code Style Findings
StakingWarmup Code Style Findings
SWP-01C: Inexistent Error Messages
| Type | Severity | Location |
|---|---|---|
| Code Style | Informational | StakingWarmup.sol:L87, L89, L94 |
Description:
The linked require checks have no error messages explicitly defined.
Example:
contracts/staking/regular/StakingWarmup.sol
87require( _staking != 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.