Omniscia Xcaliswap Audit

Gauge Code Style Findings

Gauge Code Style Findings

GEG-01C: Inexistent Error Messages

TypeSeverityLocation
Code StyleGauge.sol:L286, L450, L458, L463, L501, L528-L529, L540, L544, L557, L560, L564, L567, L571, L574

Description:

The linked require checks have no error messages explicitly defined.

Example:

contracts/periphery/Gauge.sol
286require(msg.sender == account || msg.sender == voter);

Recommendation:

We advise each to be set so to increase the legibility of the codebase and aid in validating the require checks' conditions.

Alleviation:

The Xcaliswap team evaluated this exhibit but opted not to apply any changes for it in the current iteration of the protocol.