In makeMerkle.js
, the amount of token that can be claimed is incorrectly set to 25 * 1e18
instead of 25 * 1e6
, which is the correct amount for USDC with 6 decimals. This error leads to the creation of a proof that claims 25_000_000_000_000
USDC, causing the airdrop to be unclaimable with the produced markle root in the deploy script.
The airdrop becomes unclaimable, and the funds remain stuck in the MerkleAirdrop
contract.
Proof of Concept:
To demonstrate the issue, add the following code to the existing MerkleAirdropTest
contract:
foundry
In makeMerkle.js
, correct the amount to 25 * 1e6
:
Then update the s_merkleRoot
in the Deploy
contract:
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.