The eggCounter
variable, which determines the tokenId
for newly minted NFTs, is incremented before the eggNFT.mintEgg
function is called within searchForEgg
. Assuming eggCounter
starts at 0, this logic ensures the first minted egg will have tokenId
1, the second tokenId
2, and so on, preventing tokenId
0 from ever being minted.
The NFT with token ID 0 will never be minted.
Increment the eggCounter
state variable after calling the eggNFT.mintEgg
function to allow minting to begin from token ID 0.
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.