File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
packages/contracts-bedrock/test/L1 Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -672,13 +672,15 @@ contract OptimismPortal2_FinalizeWithdrawal_Test is CommonTest {
672672 _withdrawalProof: _withdrawalProof
673673 });
674674
675+ // Create a new game.
676+ IDisputeGame newGame =
677+ disputeGameFactory.create (GameType.wrap (0 ), Claim.wrap (_outputRoot), abi.encode (_proposedBlockNumber + 1 ));
678+
675679 // Update the respected game type to 0xbeef.
676680 vm.prank (optimismPortal2.guardian ());
677681 optimismPortal2.setRespectedGameType (GameType.wrap (0xbeef ));
678682
679683 // Create a new game and mock the game type as 0xbeef in the factory.
680- IDisputeGame newGame =
681- disputeGameFactory.create (GameType.wrap (0 ), Claim.wrap (_outputRoot), abi.encode (_proposedBlockNumber + 1 ));
682684 vm.mockCall (
683685 address (disputeGameFactory),
684686 abi.encodeCall (disputeGameFactory.gameAtIndex, (_proposedGameIndex + 1 )),
You can’t perform that action at this time.
0 commit comments