Since proposalPowerSnapshots is never set to anything, it will revert with misleading error that the proposal is invalid.
The proposalId might be correct, but the error is misleading.
Permanent revert with misleading error.
Users could misinterpret the error and assume that the proposalId is wrong, even when it might be correct.
The function always reverts with InvalidProposal(), which users might understand it as invalid proposalId, when in reality the issue is that proposalPowerSnapshots[proposalId] was never set.
Manual
Implement functionality to set the powerSnapShots.
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.