Skip to content

Commit

Permalink
op-chain-ops: build fix
Browse files Browse the repository at this point in the history
  • Loading branch information
tynes committed Jul 25, 2023
1 parent 16a82b9 commit 494d517
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions op-chain-ops/genesis/layer_one.go
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down Expand Up @@ -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{
Expand Down

0 comments on commit 494d517

Please sign in to comment.