Bid Beasts

First Flight #49
Beginner FriendlyFoundrySolidityNFT
100 EXP
View results
Submission Details
Impact: low
Likelihood: low
Invalid

Typo in State Variable Name

Low: Typo in State Variable Name

Description

  • The state variable for tracking token IDs has a typo: CurrenTokenID instead of CurrentTokenID.

  • While not a security issue, this impacts code readability and professionalism.

uint256 public CurrenTokenID; // @> Missing 't' in 'Current'

Risk

Likelihood:

  • Present in all deployments

  • Visible in all interactions with the contract

Impact:

  • Reduced code quality and professionalism

  • Potential confusion for developers integrating with the contract

  • May indicate lack of code review process

Recommended Mitigation

Fix the typo in the variable name:

- uint256 public CurrenTokenID;
+ uint256 public CurrentTokenID;
Updates

Lead Judging Commences

cryptoghost Lead Judge 21 days ago
Submission Judgement Published
Invalidated
Reason: Non-acceptable severity

Support

FAQs

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