File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
setup-templates/template-switch-to-permissioned-game/script Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ import {IAnchorStateRegistry} from "@eth-optimism-bedrock/src/dispute/FaultDispu
99import {SystemConfig} from "@eth-optimism-bedrock/src/L1/SystemConfig.sol " ;
1010import {DisputeGameFactory} from "@eth-optimism-bedrock/src/dispute/DisputeGameFactory.sol " ;
1111import {FaultDisputeGame} from "@eth-optimism-bedrock/src/dispute/PermissionedDisputeGame.sol " ;
12- import {GameTypes} from "@eth-optimism-bedrock/src/dispute/lib/Types.sol " ;
12+ import {GameTypes, GameType } from "@eth-optimism-bedrock/src/dispute/lib/Types.sol " ;
1313import {MultisigScript} from "@base-contracts/script/universal/MultisigScript.sol " ;
1414import {Simulation} from "@base-contracts/script/universal/Simulation.sol " ;
1515
@@ -49,7 +49,7 @@ contract SwitchToPermissionedGame is MultisigScript {
4949 // Confirm the CURRENT_RETIREMENT_TIMESTAMP is updated to the block time.
5050 function _postCheck (Vm.AccountAccess[] memory , Simulation.Payload memory ) internal view override {
5151 require (anchorStateRegistry.retirementTimestamp () == block .timestamp , "post-110 " );
52- require (anchorStateRegistry.respectedGameType () == GameTypes.PERMISSIONED_CANNON, "post-111 " );
52+ require (GameType. unwrap ( anchorStateRegistry.respectedGameType ()) == GameType. unwrap ( GameTypes.PERMISSIONED_CANNON) , "post-111 " );
5353 }
5454
5555
You can’t perform that action at this time.
0 commit comments