The s_zkSyncUSDC
address in Deploy.s.sol
is incorrectly set, leading to a failure in the claiming process. This error results in funds being stuck in the MerkleAirdrop
contract due to the immutability of the token address.
All funds become permanently trapped in the MerkleAirdrop
contract, rendering them inaccessible for claiming or transfer.
Proof of Concept:
To demonstrate the issue, a test contract can be added and executed using the following command:
forge test --zksync --rpc-url $RPC_ZKSYNC --mt testDeployOnZkSync
Use the RPC URL https://mainnet.era.zksync.io
for testing.
foundry-zksync
To resolve the issue, update the s_zkSyncUSDC address in Deploy.s.sol to the correct value:
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.