Omniscia KlimaDAO Audit

KlimaStakingDistributor_v4 Code Style Findings

KlimaStakingDistributor_v4 Code Style Findings

KSD-01C: Inexistent Error Messages

TypeSeverityLocation
Code StyleInformationalKlimaStakingDistributor_v4.sol:L369, L371, L466, L479

Description:

The linked require checks have no error messages explicitly defined.

Example:

contracts/staking/regular/KlimaStakingDistributor_v4.sol
369require( _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.