Feeding a horse at specific block timestamps is prevented by the implementation of the HorseStore.huff::FEED_HORSE() function, leading to Denial-of-Service (DoS).
The HorseStore.huff::FEED_HORSE() function contains a code segment that reverts the transaction if the remainder of the current block timestamp and number 17 (0x11) is equal to 0, which is expressed as:
Horses are not able to be fed at all times.
Add the next test in HorseStoreHuff.t.sol.
Run a test with forge test --mt test_FeedingHorseRevertsAtSpecificTimestamps.
Foundry
It is recommended to remove the code that reverts at certain block timestamps.
Recommended changes to HorseStore.huff::FEED_HORSE() function:
Add the next test in HorseStoreHuff.t.sol.
Run a test with forge test --mt test_FeedingHorseIsPossibleAtAnyTimestamp.
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.