When the owner starts a game the gameActive variable is set to true and in order to set it to false it's necesary that the owner call the EggHuntGame::endGame function. If the owner forget to do this the state of the game will be active when it's not.
To start a game, the owner have to call the EggHuntGame::startGame function that set the gameActive variable to true. To do this, is required that the initial state of gameActive is false.
When the game time has elapsed the status of this function does not change automatically, so the game is in a “started state” when it should not be, making it impossible to start a new game.
It is necessary for the owner to call the EggHuntGame::endGame function before in order to start a new game.
Impossibility to start a new game.
Foundry
Manual Review
Use Chainlink Job Scheduler to remove all centralization is this aspect of the contract.
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.