Omniscia KlimaDAO Audit

KlimaStaking_v2 Code Style Findings

KlimaStaking_v2 Code Style Findings

KS2-01C: Inexistent Error Messages

TypeSeverityLocation
Code StyleInformationalKlimaStaking_v2.sol:L575, L577, L710, L720

Description:

The linked require checks have no error messages explicitly defined.

Example:

contracts/staking/regular/KlimaStaking_v2.sol
575require( _KLIMA != 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.