The veRAACToken::getVotingPowerForProposal
function relies on proposalPowerSnapshots
mapping to get the snapshot block for a proposal, but this mapping is never initialized in the contract. This means the function will always revert with InvalidProposal
as proposalPowerSnapshots[proposalId]
will always return 0.
Likelihood: High
Will consistently fail for all calls
Impact: Low
Voting power cannot be retrieved for any proposal
Add function to set snapshot blocks for 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.