According to the documentation, the isHappyHorse function should allow anyone to see if a horse is happy. However, the function returns an answer (boolean) even if the horseId NFT does not exist (not minted yet).
Non existing horse NFT can be unhappy, which seems to break the idea of an NFT.
Since the isHappyHorse transacation does not revert in this case, the user will not be informed that the horse NFT he fed does not exist.
isHappyHorse does not revert if the horseId does not correspond to an existing horse.
In both HorseStore.sol and HorseStore.huff, isHappyHorse should revert if there is no owner registered for the horseId parameter.
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.