The TYPEHASH
constant is set to the wrong value and will cause the rankCandidatesBySig
function to not work correctly once it is called.
The TYPEHASH
constant is set below
This is the incorrect input parameter for the rankCandidates
function. Instead of being type uint256, it should be of type address[].
This constant is used in the rankCandidatesBySig
function. It will not work as expected with this wrong input parameter type as the hashed value will be incorrect.
--Foundry
It is recommended to change the input parameter type when setting the TYPEHASH
constant.
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.