The CurrenTokenID state variable initializes to 0 by default, causing the first minted NFT to have token ID 0.
Many protocols and marketplaces treat token ID 0 as invalid or use it as a null value, potentially causing integration issues.
Likelihood:
Occurs immediately with the first minted token
Affects all early adopters and initial mints
Impact:
Token ID 0 may not display correctly on marketplaces
Integration failures with protocols that use 0 as null/empty value
Potential issues with off-chain indexing systems
May cause confusion in ownership verification systems
This test shows how the first minted token receives ID 0, which can cause compatibility issues with external systems.
Initialize the token ID counter to start at 1 instead of 0. This ensures compatibility with the broader ecosystem.
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.