ethereum-optimism / op-geth

GNU Lesser General Public License v3.0
255 stars 653 forks source link

add a new flag to enforce an effective block gaslimit independent of … #274

Closed roberto-bayardo closed 2 months ago

roberto-bayardo commented 3 months ago

Description

Adds a new flag for the block builder to enforce an effective block gaslimit that is independent of the sysconfig / block header gaslimit. This allows us to increase gas target without a hardfork, while maintaining the same block gaslimit.

This is defined as a miner (aka builder) flag, but is also enforced by the txpool to avoid letting in a transaction requiring gas that exceeds it.

Tests

Currently running on all Base mempool and sequencer nodes.

Additional context

Metadata