Commit d0bbcc6f authored by Mark Tyneway's avatar Mark Tyneway

op-chain-ops: fix gpo constructor

parent 47f3e6cb
...@@ -121,10 +121,7 @@ func l2Deployer(backend *backends.SimulatedBackend, opts *bind.TransactOpts, dep ...@@ -121,10 +121,7 @@ func l2Deployer(backend *backends.SimulatedBackend, opts *bind.TransactOpts, dep
var err error var err error
switch deployment.Name { switch deployment.Name {
case "GasPriceOracle": case "GasPriceOracle":
// The owner of the gas price oracle is not immutable, not required _, tx, _, err = bindings.DeployGasPriceOracle(opts, backend)
// to be set here. It cannot be `address(0)`
owner := common.Address{1}
_, tx, _, err = bindings.DeployGasPriceOracle(opts, backend, owner)
case "L1Block": case "L1Block":
// No arguments required for the L1Block contract // No arguments required for the L1Block contract
_, tx, _, err = bindings.DeployL1Block(opts, backend) _, tx, _, err = bindings.DeployL1Block(opts, backend)
......
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