In Deploy.s.sol
contract, receive function is not implemented which means all the fees will be stuck in the contract. The owner will not be able to claim the fees. to resolve this issue we have to implement the receive function in the Deploy contract and also we implement claimFeesFromAirdrop
function to claimFees from the MerkleAirdrop contract
Deploy.s.sol contract is not able to claimFees from MerkleAirdrop contract because the receive function is not implemented in the Deploy contract and also there is no function to call the claimFees function from the MerkleAirdrop contract
So, all the fees will be stuck in the contract and the owner will not be able to claim the fees
These are the points which proof the claimFees function will not work
if we not added receive function in the Deploy contract then claimFees function will not able to transfer the fees to the owner(deploy contract)
So, we have to implement the receive function and a proper function to call the claimFees function from the MerkleAirdrop contract
Before adding the receive function in the Deploy contract, we are not able to send eth to the Deploy contract from the MerkleAirdrop contract
By the Deploy contract, we can send the eth to the owner of the deploy contract
ClaimFees function will not work if we not added receive function in the Deploy contract
All the fees will be stuck in the contract
Owner will not be able to claim the fees
Manual Review
put this in Deploy.s.sol
to claimFees from MerkleAirdrop.sol
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.