Normal behavior:
The SnowmanAirdrop
contract uses EIP-712 typed data signatures to validate authorized claims. A correct MESSAGE_TYPEHASH
ensures the generated hash matches the signature signed off-chain.
Specific issue:
There is a typo in the MESSAGE_TYPEHASH
declaration: "addres"
instead of "address"
. This results in a different hash than expected, making all legitimate EIP-712 signatures invalid, even if they were signed correctly off-chain.
Likelihood:
This will always occur when users try to claim using valid off-chain signatures.
Off-chain tools like Ethers.js or web apps will generate correct EIP-712 signatures with "address"
typed data, which will never match the on-chain hash from the incorrect "addres"
string.
Impact:
Signature verification will fail consistently.
All valid claim attempts will revert with SA__InvalidSignature()
, blocking users from claiming Snowman NFTs.
A typo in the `MESSAGE_TYPEHASH` variable of the `SnowmanAirdrop` contract will prevent signature verification claims. Used `addres` instead of `address`
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.