Omniscia Steer Protocol Audit
InternalGovernance Code Style Findings
InternalGovernance Code Style Findings
IGE-01C: Inexistent Error Messages
Type | Severity | Location |
---|---|---|
Code Style | InternalGovernance.sol:L259, L284 |
Description:
The linked require
checks have no error messages explicitly defined.
Example:
contracts/InternalGovernance.sol
259require(msg.sender == steerTimelock);
Recommendation:
We advise each to be set so to increase the legibility of the codebase and aid in validating the require
checks' conditions.
Alleviation (200f275c40cbd4798f4a416c044ea726755d4741):
Error messages have been adequately introduced to both referenced require
messages as per our recommendation.