The EggHuntGame::setEggFindThreshold function modifies a critical game parameter but does not emit any events, preventing on-chain monitoring of game mechanics changes.
The contract lacks event emissions for parameter changes:
This violates the best practice of emitting events for all state-changing operations, especially those affecting core game mechanics.
Players cannot monitor threshold changes on-chain
No historical record exists for auditing game fairness
Reduces transparency and trust in the game
Makes it impossible to create notifications or UIs that alert players to game mechanic changes
Compounds the centralization risk by enabling silent manipulation
Manual code review
Best practices analysis
Implement event emissions for all parameter changes:
Standard practice for clarifying important contract behaviors
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.