Beginner FriendlyFoundryGameFi
100 EXP
View results
Submission Details
Severity: low
Invalid

Possible announceWinner() because of out of gas

Summary

Possible announceWinner() because of out of gas

Vulnerability Details

If there are too many tokens to be voted, the array _tokenIds might be very large. When the owner wants to announce winner, announceWinner() might fail because of out of service.

Impact

Nobody can win this vote and get the reward.

Tools Used

Manual

Recommendations

Consider to add the maximum tokens to be voted.

Updates

Lead Judging Commences

bube Lead Judge about 1 year ago
Submission Judgement Published
Invalidated
Reason: Non-acceptable severity
Assigned finding tags:

Unbounded arrays

Support

FAQs

Can't find an answer? Chat with us on Discord, Twitter or Linkedin.