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

Typo in the error message and variable name, thereby causes confusion on how users interpret

Summary

We need to make sure our protocol has no Typo's. If it isn't a Typo, it must be explained explicitly for users to understand it.

Impact

ChoosingRam::tokenIdOfAnyPerticipent is a misleading variable name, it should be changed to tokenIdOfAnyParticipant.
Also, error ChoosingRam__InvalidTokenIdOfParticipant() must be corrected.

Recommendations

Make below changes

- error ChoosingRam__InvalidTokenIdOfPerticipent();
+ error ChoosingRam__InvalidTokenIdOfParticipant();
- function increaseValuesOfParticipants(uint256 tokenIdOfChallenger, uint256 tokenIdOfAnyPerticipent)
+ function increaseValuesOfParticipants(uint256 tokenIdOfChallenger, uint256 tokenIdOfAnyParticipant)
Updates

Lead Judging Commences

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

Info/Gas/Invalid according to docs

Support

FAQs

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