Title
Whenever a user calls vote to vote on gauge emissions, the method checks their veRAACToken balance instead of their voting power which is supposed to decay as time passes.
All gauge votes will always count the user's max voting power which they should have only at the beginning of the lock. Users will have excessive voting power for the entire duration of their lock and exert max power votes even in the last days of their lock which goes against the entire voting escrow model. User who just locked X tokens for 2 years will have less power in gauge voting than someone who locked for 4 years and is having a week left till their lock expires. Unfair gauge votes leads to unfair distribution of emissions.
Additionally, users with expired locks will also be able to vote on gauges since they still hold veRAAC.
Broken functionality, unfair vote and reward distribution
Use getCurrentPower from the VotingPowerLib instead of veRAACToken balance.
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.