There's no overflow/underflow check in Huff
İn huff code if you feed the horse and then try to check if it's happy will result false cause anvil local blockchain starts currently from blocktimestamp 1 so the bool of happy horse will false cause of wrap-up
This test will revert with panic(0x11) Overflow/underflow error in solidity
however in huff it will revert as false as it never be feed.
This proves theres no overflow/underflow check in contract
no overflow/underflow check may lead unwanted calculation errors.
foundry
implement custom overflow/underflow logic in 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.