Commit 494d5173 authored by Mark Tyneway's avatar Mark Tyneway

op-chain-ops: build fix

parent 16a82b98
......@@ -120,7 +120,7 @@ func BuildL1DeveloperGenesis(config *DeployConfig) (*core.Genesis, error) {
}
gasLimit := uint64(config.L2GenesisBlockGasLimit)
if gasLimit == 0 {
gasLimit = defaultL2GasLimit
gasLimit = defaultGasLimit
}
data, err = sysCfgABI.Pack(
......@@ -298,7 +298,7 @@ func deployL1Contracts(config *DeployConfig, backend *backends.SimulatedBackend)
}
gasLimit := uint64(config.L2GenesisBlockGasLimit)
if gasLimit == 0 {
gasLimit = defaultL2GasLimit
gasLimit = defaultGasLimit
}
constructors = append(constructors, []deployer.Constructor{
......
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