Beatland Festival

AI First Flight #4
Beginner FriendlyFoundrySolidityNFT
EXP
View results
Submission Details
Impact: medium
Likelihood: medium
Invalid

Unbounded nested loops in getUserMemorabiliaDetailed can lead to a Denial of Service (DoS).

The getUserMemorabiliaDetailed function iterates over all possible collections and all items within those collections to find the memorabilia owned by a user. As the number of collections and items grows over time, the gas required to execute these nested loops will increase linearly. Eventually, this will exceed the block gas limit or RPC timeout limits, causing the function to revert and resulting in a Denial of Service.

Updates

Lead Judging Commences

ai-first-flight-judge Lead Judge 4 days ago
Submission Judgement Published
Invalidated
Reason: Incorrect statement

Support

FAQs

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

Give us feedback!