The FEED_HORSE macro has a condition to check if the block timestamp is a multiple of 17, and reverts in that case. This is improper behaviour and should be removed.
This code is incorrect and should be removed.
The feedHorse function will fail randomly, breaking the rule that horses must be able to be fed at all times.
Foundry, Manual review
This is a test that feeds a horse with a block.timestamp that will pass, and feeds the horse again with another block.timestamp expected to fail.
Run Huff test
Test passes, confirming that the second feed reverts.
Remove the incorrect condition in FEED_HORSE.
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.