Description: The contract uses separate arrays i_players
, i_rewards
, and claimants
, which can lead to inefficient storage and gas usage.
Impact: While this does not pose a security risk, it can lead to increased gas costs for operations involving these arrays, especially as the number of players increases.
Recommended Mitigation: Consider using a struct to store player information, including their address and reward, in a single array. This can reduce storage complexity and improve gas efficiency.
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.