Incorrect operator in GaugeController.sol::addGauge()
function.
Contract - GaugeController.sol
The addGauge function is used to add new gauge to system, but this function will always fails due to -
as gaugeType cannot be both GaugeType.RWA
and GaugeType.RAAC
, simultiltanusly. the above condition will always fail.
it's because wrong &&
operator is used, instead of ||
operator.
Same as above.
addGauge()
will always revert leading to DOS.
Manual
Instead of && operator, use || operator.
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.