Beginner FriendlyFoundryNFT
100 EXP
View results
Submission Details
Severity: low
Invalid

Missing `horseFed` event emission in the `HorseStore::feedHorse` method

Summary

Events for critical state changes (like a horse having been fed) should be emitted for off-chain tracking.

Tools Used

Manual review.

Recommendations

Add a HorseFed event that takes the horseId as a parameter, and emit this event at the end of the HorseStore::feedHorse method.

Updates

Lead Judging Commences

inallhonesty Lead Judge over 1 year ago
Submission Judgement Published
Invalidated
Reason: Non-acceptable severity

Support

FAQs

Can't find an answer? Chat with us on Discord, Twitter or Linkedin.