Users' voting power is supposed to decay over time, however if they vote for a gauge once, it will keep their original power throughout all periods. Additionally, gauge weight never goes down even when the voter withdraws their veRAAC and their power is already at 0.
Upon period rollover via updatePeriod, the gauge starts a new period with its' previous weight.
This is incorrect since the core design of voting escrows is the gradual decay of voting power. If a user votes once on a gauge and never re-votes, they will keep their original voting power forever. The correct implementation is to restart the gauge's weight upon each period rollover and have users vote again with their decayed power. By not enforcing gauge weight resets and a mandatory re-vote mechanism, gauge weights will be inflated forever and emissions will be split disproportionally.
Unfair reward distribution, broken core functionality
Upon period rollover, reset the gauge's weight to 0 so users would have to vote again with decayed power.
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.