The deployer can update the grace period during the game, either to end it immediately or to make it never end which made the Game untrusted.
Add this test to Game.t.sol
:
Then run:
forge test --match-test testupdateGracePeriod -vvv
As shown, the deployer can update the grace period during the game.
Add a gameEndedOnly
modifier to prevent calling updateGracePeriod()
while the game is still running:
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.