Commit ef45bec2 authored by mergify[bot]'s avatar mergify[bot] Committed by GitHub

Merge pull request #5255 from ethereum-optimism/fix/gaslimits

op-e2e: bump gas limit so its safe
parents d3e9d7b5 0aba8091
...@@ -304,7 +304,7 @@ func TestPendingGasLimit(t *testing.T) { ...@@ -304,7 +304,7 @@ func TestPendingGasLimit(t *testing.T) {
cfg := DefaultSystemConfig(t) cfg := DefaultSystemConfig(t)
// configure the L2 gas limit to be high, and the pending gas limits to be lower for resource saving. // configure the L2 gas limit to be high, and the pending gas limits to be lower for resource saving.
cfg.DeployConfig.L2GenesisBlockGasLimit = 20_000_000 cfg.DeployConfig.L2GenesisBlockGasLimit = 30_000_000
cfg.GethOptions["sequencer"] = []GethOption{ cfg.GethOptions["sequencer"] = []GethOption{
func(ethCfg *ethconfig.Config, nodeCfg *node.Config) error { func(ethCfg *ethconfig.Config, nodeCfg *node.Config) error {
ethCfg.Miner.GasCeil = 10_000_000 ethCfg.Miner.GasCeil = 10_000_000
...@@ -342,8 +342,8 @@ func TestPendingGasLimit(t *testing.T) { ...@@ -342,8 +342,8 @@ func TestPendingGasLimit(t *testing.T) {
for { for {
checkGasLimit(l2Seq, big.NewInt(-1), 10_000_000) checkGasLimit(l2Seq, big.NewInt(-1), 10_000_000)
checkGasLimit(l2Verif, big.NewInt(-1), 9_000_000) checkGasLimit(l2Verif, big.NewInt(-1), 9_000_000)
checkGasLimit(l2Seq, nil, 20_000_000) checkGasLimit(l2Seq, nil, 30_000_000)
latestVerifHeader := checkGasLimit(l2Verif, nil, 20_000_000) latestVerifHeader := checkGasLimit(l2Verif, nil, 30_000_000)
// Stop once the verifier passes genesis: // Stop once the verifier passes genesis:
// this implies we checked a new block from the sequencer, on both sequencer and verifier nodes. // this implies we checked a new block from the sequencer, on both sequencer and verifier nodes.
......
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