EggHuntGame contract can break all mintingDescription: If an NFT with a is minted outside the game contract and the tokenId is low enough the game will try to mint the same tokenID and revert.
Impact: The game contract only increments the eggCounter value after a successsful mint. If a mint reverts, that counter will never increment and the game contract can not mint any more NFTs.
Recommended Mitigation: Add a function exists in the EggstravaganzaNFT contract and check if an NFT with the tokenId exists before trying to mint in the searchForEgg() function
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.