The protocol mentions that horses must be able to feed all the time but in the FEED_HORSE
macro in huff contract doesn't allow the user to feed horse if the timestamp is divisible by 17.
The vulnerability lies inside the FEED_HORSE
macro inside the HorseStore.huff contract where it reverts if the timestamp is divisible by 17 and doesn't allow the user to feed the horse at all times.
here it takes the modulo of timestamp with 0x11
which equals 17 in decimal.
The user will not be able to feed the horse if timestamp is divisible by 17.
Add the test in the file - test/HorseStoreHuff.t.sol
Run the test
Manual Review
Neigghhhh at that line which cause revert
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.