In BaseGauge
, when a new reward period starts, the notifyRewardAmount
function is called by the gauge controller. However, if the previous period is still ongoing, the reward rate is overridden, causing all unclaimed rewards from the previous period to be lost.
Two gauges exist under the same GaugeController—one with an ongoing reward period and another without.
distributeRevenue
is called, triggering _distributeToGauges
.
The gauge with an ongoing period has its reward rate overridden, causing unclaimed rewards from the previous period to be lost.
If a new reward period starts while the previous one is still active, the reward rate gets overridden, leading to the loss of all remaining rewards from the previous period. This negatively affects users who are expecting their pending rewards.
Manual review
Implement a mechanism to ensure that a new period cannot override an active one before it completes.
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.