The claimAllRewards function contains an unbounded loop that could potentially cause the function to run out of gas.
The loop in claimAllRewards iterates over all rewards owned by a user:
If a user accumulates a large number of rewards, this loop could exceed the block gas limit, making it impossible to claim rewards.
Medium. Users with many rewards might be unable to claim them all at once, potentially leading to locked rewards.
Manual code review.
Implement a batched withdrawal system, allowing users to claim a fixed number of rewards at a time.
Set a maximum limit on the number of unclaimed rewards a user can accumulate.
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.