GaugeController.vote() allows users to vote with more than 100% of their weight
When vote() is called, the weight for input gauge is used as input parameter. However it is not taken into account how much weight the caller has already vote for, allowing anybody to vote for multiple gauges with 100% of their weight, leading to contract having votes much higher than expected.
The overall weight used for voting for gauges will be inflated as users can vote with the 100% of their weight for multiple pools.
Manual review
Add a mapping variable that counts how much of their weight the caller has already used, the total weight used for voting must never exceed 10000.
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.