EIP-7790 Guidelines for the gradual increase of the gas limit (Controlled Gas Limit Increase Guidelines)
No call decision · Fees & gas · EIP status Stagnant · created 2024-10-18
A guidance document proposing concrete figures (starting block, initial value, growth rate, cap) for actually applying the automatic gas limit increase mechanism proposed by EIP-7783.
Why it is needed
EIP-7783 only defined a mechanism for gradually raising the block gas limit each block, without determining what actual figures to use. Without a concrete starting point, growth rate, or cap, network scaling could proceed unpredictably, or conversely, the gas limit could remain stuck at 30 million forever if no one reaches agreement. This EIP proposes concrete numbers for the starting block, initial gas limit, per-block increase, and final cap, taking actual operating conditions into account, to achieve predictable and stable network scaling.
What changes
Today
- The gas limit is fixed at 30 million, and raising it each time requires separate consensus
- EIP-7783 presented a gradual increase mechanism, but without concrete figures it is not applied immediately
- There is no way to predict when or by how much the gas limit will increase
After EIP-7790
- From block 21792420, the gas limit automatically increases by 6 with each block
- The increase ultimately halts at 60 million gas
- Validators can still manually adjust the gas limit if needed
- It can be applied immediately, without a protocol change or hard fork
Who is affected
- Validators: Block building follows the automatically increasing gas limit value, while the ability to manually adjust it when needed is preserved.
- Client teams: A decision is needed on whether to apply the proposed starting block, growth rate, and cap figures as client defaults.
- App and L2 developers: The schedule by which block space gradually grows is known in advance and can be factored into fee and throughput planning.
In depth
The four proposed parameters
This EIP proposes four values to use with EIP-7783's gradual gas limit increase mechanism. The starting block (blockNumStart) is 21792420, the initial gas limit at the start (initialGasLimit) is 30,000,000, the same as the current default, the per-block growth rate (r) is 6, and the final cap (gasLimitCap) is 60,000,000. Once these values are applied, starting from the blockNumStart block the gas limit increases by 6 each block until it reaches 60 million, at which point it stops.
Why the starting block was set to 21792420
The source explains that this block number allows sufficient time to discuss and implement the gas limit increase strategy. It also states that this point was timed to occur at or slightly before the Pectra hard fork. The source lists this block as February 7, 2024.
The initial gas limit stays at the current default
The reason the initial gas limit was set to 30 million is simple: since this value is already the current default gas limit on the Ethereum network, it allows the increase to start without any break from the existing state.
Rationale for a rate of increase of 6
The source Rationale section explains that an increase rate of 6 gas per block was chosen to triple the gas limit over roughly 47 months (nearly two years). Meanwhile, the Motivation section states that at this same rate, it takes about 694 days to reach the 60 million cap from 30 million. Both figures are as written in the source document.
Reason for setting the cap at 60 million
A cap of 60 million is set as a safeguard so the gas limit does not grow indefinitely. The source explains that this cap exists to prevent the gas limit from continuing to grow beyond the range the network can safely handle.
Backward compatibility
The source states that these parameters do not require a protocol change or hard fork and are fully compatible with the current Ethereum network structure.
Security considerations
According to the source, because the gas limit increases gradually, it prevents block size from suddenly growing large enough to destabilize the network. The cap prevents performance degradation or denial-of-service (DOS) vulnerabilities that could result from blocks becoming excessively large. Validators also retain the authority to directly adjust the gas limit themselves if network attacks or performance issues arise.
Current status
This EIP has status Stagnant and type Informational. Rather than a standard that changes the protocol itself, it is a document proposing values to be used by the EIP-7783 mechanism, and it requires EIP-7783. The call notes contain no decision on whether this parameter will be included in a fork.