The deposited fees in ETH are stuck in the contract and cannot be withdrawn by the host due to a missing withdrawal mechanism. This issue prevents the host from accessing ETH funds deposited into the protocol.
The contract allows users to deposit ETH as part of their participation fees. However, there is no function implemented to enable the host to withdraw the ETH funds accumulated in the contract. This results in the ETH becoming permanently locked, rendering it inaccessible to the host or any other authorized party.
use this test in christmasDinnerTest.t.sol
Locking of funds Deposited in native ETH
Foundry
Implement a `withdraw` function for the host to transfer the collected ETH to their address.
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.