An incorrect value is assigned to Deploy::s_zkSyncUSDC
(i.e. the USDC token address on zkSync).
s_zkSyncUSDC
is a state variable in Deploy.s.sol
that is supposed to contain the address of the USDC token on the zkSync network. This address is then used as a parameter when deploying the MerkleAirdrop
contract, which requires an ERC20
token contract (the address of the airdrop token) for operation:
However, Deploy::s_zkSyncUSDC
is assigned an incorrect value (the correct USDC address on zkSync is 0x1d17CBcF0D6D143135aE902365D2E5e2A16538D4
, not 0x1D17CbCf0D6d143135be902365d2e5E2a16538d4
.
MerkleAirdrop
will be deployed with an incorrect constructor input value, and the contract will be disfunctional (the incorrect address is not only not the USDC token address, but it is not a token address at all).
The contract will have to be redeployed.
Manual review, Foundry.
Correct the token address in Deploy.s.sol
as follows:
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.