Description: In the deployment script, an incorrect address was assigned to the variable Deploy.s.sol::s_zkSyncUSDC
Impact: It will cause the funds to remain locked forever in the contract.
Proof of Concept: By assigning an incorrect token, when the MerkleAirdrop::claim()
function attempts to transfer tokens, it will fail because it will not have tokens to send, as the balance of the erroneous token is zero.
This test was added in MerkleAirdrop.t.test
Recommended Mitigation: Assign the correct USDC address on Zksync Mainnet (0x1d17CBcF0D6D143135aE902365D2E5e2A16538D4) to the variable Deploy.s.sol::s_zkSyncUSDC
.
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.