Description: Every time you call players.length you read from storage. This is very expensive in a loop because in each loop cost more gas than caching it in memory.
Recommendation: Create a new variable to store players.length so it is only read once instead of on every iteration.
The contest is live. Earn rewards by submitting a finding.
Submissions are being reviewed by our AI judge. Results will be available in a few minutes.
View all submissionsThe contest is complete and the rewards are being distributed.