The vote
function allows users to allocate their voting power to a specific gauge. However, the function does not enforce a minimum vote weight, even though the contract defines it.
Without a minimum threshold, users can submit votes with an extremely low weight (e.g., 1 unit) which can inflate voter participation metrics, cause unnecessary gas usage, and open the system to vote spam attacks.
The contract defines a minimum vote weight requirement, but does not enforce it in the vote function.
Users can submit votes with extremely low weights (e.g., 1 unit), leading to inefficient gas usage and spamming.
It allows insignificant votes that do not contribute meaningfully to governance.
Manual Review
Modify the vote
function to include a minimum vote weight check using MIN_VOTE_WEIGHT
.
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.