---
eip: 7783
label: EIP-7783
title: Add Controlled Gas Limit Increase Strategy
status: Stagnant
type: Informational
created: 2024-10-06
official: https://eips.ethereum.org/EIPS/eip-7783
source: https://github.com/ethereum/EIPs/blob/master/EIPS/eip-7783.md
canonical: https://eips.huatuo.xyz/eip-7783/
lang: en
tldr: Proposes a default client-side schedule that raises the block gas limit slowly and predictably over time, instead of relying on ad hoc validator votes.
tags: [gas-limit, scaling, validators, clients, informational]
---

# EIP-7783: Add Controlled Gas Limit Increase Strategy

> Adds a controlled gas limit increase strategy.

**TL;DR:** Proposes a default client-side schedule that raises the block gas limit slowly and predictably over time, instead of relying on ad hoc validator votes.

## What problem does it solve?

On Ethereum the block gas limit is not fixed by the protocol. Each block proposer may nudge it slightly up or down toward a target configured in their client. In practice that target only changes when operators coordinate and reconfigure their software, which tends to produce sudden, hard-to-predict jumps.

This informational EIP suggests a different default: clients ship with a **gradual, rule-based schedule** that raises the target a little every block (or every few thousand blocks) up to a cap. Growth becomes predictable, the ecosystem has time to watch metrics, and operators can still override the schedule at any time.

## How it works

The proposal is a gas-limit *selection strategy* for block producers. It is not a consensus rule: proposers still must respect the protocol's existing limits on how much the gas limit can change per block. The strategy simply decides what value the proposer aims for.

Inputs common to all variants:

- `blockNumStart`: when the ramp begins
- `initialGasLimit`: the starting limit
- `gasLimitCap`: the ceiling the ramp stops at

Three variants are described:

1. **Linear**: add `r` gas per block until the cap.
2. **Stepwise linear**: add `r` gas every `step_blocks_interval` blocks. Bigger, more visible steps with "cooldown" periods to gather stable metrics.
3. **Exponential**: double the limit every `doubling_blocks_interval` blocks, up to the cap.

The cap acts as a deactivation safeguard: once reached, growth stops and the community can reassess. Validators can also halt the ramp or switch to a fixed value whenever they like, for example during a DoS incident.

## Sample code

Stepwise linear strategy as a client could implement it (Python, based on the spec's pseudocode):

```python
def target_gas_limit(block_num: int,
                     block_num_start: int,
                     initial_gas_limit: int,
                     r: int,
                     step_blocks_interval: int,
                     gas_limit_cap: int) -> int:
    if block_num < block_num_start:
        return initial_gas_limit
    steps = (block_num - block_num_start) // step_blocks_interval
    return min(gas_limit_cap, initial_gas_limit + r * steps)

# The proposer then moves the actual gas limit toward this target,
# within the per-block adjustment bounds the protocol already enforces.
```

## Things to know

- **Status: Stagnant**, and of type Informational: it does not change consensus and needs no hard fork.
- The spec gives no single recommended parameter set for mainnet; its worked example is illustrative, and the example numbers in the text are internally inconsistent, so do not treat them as a plan.
- The spec's pseudocode is loose (some variables are used but not passed in); treat it as a sketch.
- Gas limit changes have since been coordinated in other ways, for example [EIP-7935](/eip-7935/), which sets a default client gas limit of 60M.


---

This is an unofficial plain-language summary. Read the full specification: https://eips.ethereum.org/EIPS/eip-7783
