indexed
Parameters in EventsThe following events in the Game
contract omit indexed
parameters on critical values that would benefit from being indexed. Indexing allows for efficient off-chain filtering of logs via event topics, which is especially useful for dApps, monitoring tools, and analytics dashboards.
The following parameters are not indexed but should be:
round
in the GameEnded
event
newRound
in the GameReset
event
newPlatformFeePercentage
in the PlatformFeePercentageUpdated
event
Likelihood:
These events are emitted frequently (on game round ends, resets, or config updates), and external consumers (frontends, analytics platforms, etc.) will routinely query them.
Without indexing, these platforms will need to scan full logs rather than use topics, which is computationally expensive and slow, especially as the contract gets older and logs accumulate.
Impact:
Degraded frontend performance or responsiveness when querying historical data for rounds or configuration changes.
Harder to implement scalable analytics or alerting systems.
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.