We want to avoid using for loops to iterate over arrays as it is expensive computation.
Line 110 - 117 in PuppRaffle.Sol is using a for loop when a mapping is much more suitable.
Uneccesary gas cost
Manual inspection
Use a mapping instead of for loop
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.