Commit 36e3af0a authored by clabby's avatar clabby

Challenger test + `Deploy.s.sol` fix

parent 713ad666
...@@ -30,10 +30,11 @@ func setupFaultDisputeGame() (common.Address, *bind.TransactOpts, *backends.Simu ...@@ -30,10 +30,11 @@ func setupFaultDisputeGame() (common.Address, *bind.TransactOpts, *backends.Simu
_, _, contract, err := bindings.DeployFaultDisputeGame( _, _, contract, err := bindings.DeployFaultDisputeGame(
opts, opts,
backend, backend,
[32]byte{0x01}, [32]byte{0x01}, // Absolute Prestate Claim
big.NewInt(15), big.NewInt(15), // Max Game Depth
uint64(604800), // 7 days uint64(604800), // 7 days
common.Address{0xdd}, common.Address{0xdd}, // VM
common.Address{0xee}, // L2OutputOracle (Not used in Alphabet Game)
) )
if err != nil { if err != nil {
return common.Address{}, nil, nil, nil, err return common.Address{}, nil, nil, nil, err
......
...@@ -699,7 +699,7 @@ contract Deploy is Deployer { ...@@ -699,7 +699,7 @@ contract Deploy is Deployer {
_maxGameDepth: cfg.faultGameMaxDepth(), _maxGameDepth: cfg.faultGameMaxDepth(),
_gameDuration: Duration.wrap(uint64(cfg.faultGameMaxDuration())), _gameDuration: Duration.wrap(uint64(cfg.faultGameMaxDuration())),
_vm: faultVm, _vm: faultVm,
_l2OO: L2OutputOracle(mustGetAddress("L2OutputOracleProxy")) _l2oo: L2OutputOracle(mustGetAddress("L2OutputOracleProxy"))
})); }));
console.log("DisputeGameFactory: set `FaultDisputeGame` implementation"); console.log("DisputeGameFactory: set `FaultDisputeGame` implementation");
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment