BaseGauge::setEmission function is intended to set the emission cap for the period and can only be called by the controller address.
Hovewer, in its current form, emission cannot be increased, it can only be decreased. Not even the controller can change that.
If the controller tries to pass a higher emission value than the previous emission value, the function reverts. So, emission can only be decreased in cascade, and never can it be increased if it was decreased in a point. This is quite counter-intuitive.
Now, this might be a design choice, but I highly doubt it, for if that was the case, the function would be called something like decreaseEmissionCap
or similar.
Either change the function name if this was intended, or change the code so that the controller can set the emission as required.
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.