The setEmission function in BaseGauge contract implements a one-way emission cap reduction that cannot be reversed, potentially leading to permanent protocol constraints as it cannot be adjusted to higher values later on.
The setEmission function enforces a one-way reduction of emission caps:
Once an emission cap is reduced, it can never be increased again due to the RewardCapExceeded check. This creates a permanent, irreversible state where:
Any reduction in emission cap is permanent
No mechanism exists to increase the cap once lowered
For example:
Market conditions are volatile, emissions could be adjusted to be higher or lower depending on different factors.
Once an emission cap is lowered, the gauge's maximum reward distribution capacity is permanently reduced, affecting all future reward periods.
The gauge controller loses the ability to adjust emissions upward in response to changing market conditions.
Manual Review
Implement a minimum and maximum threshold. Allow the emissions to be set within this range.
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.