The TYPEHASH variable (RankedChoice.sol::Line 23) should not be a uint[] but an address[]. In this contract, a vote ranks a list of candidates.
The current implementation prevents a signer from ranking candidates by address. It only allows a order ranking of uints without any candidate corresponding to each ranking.
Manual Review
The TYPEHASH variable should be:
It should not be:
The address[] allows the signer to rank specific candidates.
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.