Description: EggVault:setEggNFT can be called and change the address of the NFTs while the game is active causing EggHuntGame:eggCounter and EggHuntGame:eggsFound to hold incorrect data.
Impact: If the NFT contract is set to a new address while the game is active the data and Events from the EggHuntGame contract will be incorrect
Recommended Mitigation: Pass in the EggstravaganzaNFT contract address to the contructor to EggVault to ensure it is initialized and remove the EggVault:setEggNFT function.
Changing the NFT contract address doesn't update the storedEggs and eggDepositors mappings
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.