The solidity version of horse store does not implement receive
and fallback
function, the contract should be unable to receive native ether token, but the. huff version does not follow the pattern, either does the huff version implement withdraw function, leading to lock of ether.
Add the following testing:
The huff version success indicating that the ether is transferred to the user, however, the solidity version contract reverts since both fallback
and receive
is not implemented.
The huff version of horseStore
is able to receive ether but does not implement the withdraw function, it will lead to lock of ether.
Foundry
Implement withdraw
function in the contract or restrict the ether transfer to the 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.