The low MerkleAirdrop::FEE
(1 Gwei) makes it economically impractical (ETH-wise) for the owner to claim fees, even with the low gas cost of the zkSync chain. The fee should either be removed or increased to make it economically practical to claim by the owner.
The low MerkleAirdrop::FEE
(1 Gwei) makes it economically impractical (ETH-wise) for the owner to claim fees, even with the low gas cost of the zkSync chain.
The gas cost for the owner to call MerkleAirdrop::claimFees
is 30,479 gas units. Using the average zkSync gas price of 0.02 Gwei, the effective total gas cost would be ~609 Gwei or 0.000000609 Ether. For it to be economically sensible to claim fees (using the current fee price of 1 Gwei), there would need to be greater than or equal to 609 successful airdrop claims to meet or exceed the gas cost. Compared to the current number of addresses that are a part of the merkle tree, there is a significant discrepancy.
MerkleAirdropTest.t.sol
There exists an economic disinsentive for the owner to claim fees from the contract.
Manual Analysis, Foundry Tests & Gas Report
Either remove the need for a fee to be paid during a claim or increase the claim fee to make it economically practical.
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.