Trick or Treat

First Flight #27
Beginner FriendlyFoundry
100 EXP
View results
Submission Details
Severity: low
Invalid

Unindexed Events

vulnerability Details

The events in this contract are not properly indexed. This causes difficulty in extracting information by apps or systems that collect the data like analytics tools , blockchain explorers.
https://github.com/Cyfrin/2024-10-trick-or-treat/blob/9cb3955058cad9dd28a24eb5162a96d759bfa842/src/TrickOrTreat.sol#L25-L27

Impact

difficulty interpreting logging and state changes by off-chain data collecting apps

Tools Used

manual search

Recommendations

The first three important events should be properly indexed
https://docs.soliditylang.org/en/v0.8.28/introduction-to-smart-contracts.html#index-2

Updates

Appeal created

bube Lead Judge 10 months ago
Submission Judgement Published
Invalidated
Reason: Non-acceptable severity

Support

FAQs

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