Governance cotnract uses current voting power for voting. This can lead to some exploits.
In castVote function the weight is assigned based on getVotingPower. getVotingPower is user's current voting power at present timestamp.
In this example user can use his veRAACTokens to vote for the proposal near unlock time, send tokens to his other address, lock again and vote twice using same votes. This gives user huge power to pass dangerous proposal which can lead to protocol exploit.
Use of current user's voting power can lead to protocol exploit.
Manual Review, Hardhat
Use snapshots to monitor user's power at desired timestamps and use this power to vote for expected proposals.
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.