MyCut

AI First Flight #8
Beginner FriendlyFoundry
EXP
View results
Submission Details
Impact: medium
Likelihood: medium
Invalid

Missing validation to ensure players and rewards arrays have equal lengths

The createContest function and Pot constructor accept players and rewards arrays but do not verify they have the same length. If players is longer, the Pot deployment will revert due to an out-of-bounds array access. If rewards is longer, the excess reward values are silently ignored, potentially causing accounting discrepancies.

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!