Eggstravaganza

First Flight #37
Beginner FriendlySolidity
100 EXP
View results
Submission Details
Severity: high
Invalid

Unchecked Revet mintEgg

Vulnerability Details

In "EggHuntGame:searchForEgg", there is no check to see if "egg.NFT.mintEgg" returns false. As a result, the
emit is misleading, nothing reverts the function, "eggCounter" is incorrectly incremented, and eggsFound is
inaccurate.

Impact

High

Tools Used

Manual Review

Recommendations

Use the boolean returned by the function to verify its status and act accordingly.

Updates

Lead Judging Commences

m3dython Lead Judge 5 months ago
Submission Judgement Published
Invalidated
Reason: Lack of quality

Support

FAQs

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