withdraw
function iterates through the entire list of players to calculate the maximum score and total positive points. This iteration can lead to high gas consumption, potentially making the function non-executable if the gas limit is exceeded, particularly as the number of players approaches the maximum (30 players).POC
Medium. While the player limit is set to 30, the potential for high gas consumption still poses a risk.
Manual Review and Foundry
Consider optimizing the function to avoid iterating over all players
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.