EIPs Explained

EIP-7938 · Stagnant · Informational · 2025-04-27

EIP-7938: Exponential Gas Limit Increase

An informational proposal for execution clients to default to voting the gas limit up on a fixed exponential schedule, 10× every two years and 100× over four years, instead of relying on ad-hoc validator coordination.

What problem does it solve?

Ethereum's block gas limit is not set by a hard fork. Each block proposer can nudge it slightly up or down from the parent block, and in practice most validators simply keep their client's default. Raising the limit therefore depends on informal coordination, which is slow and unpredictable.

EIP-7938 suggests making growth predictable: clients ship a default that follows a published curve, so the network scales steadily while every operator can still opt out.

How it works

The schedule is defined in beacon-chain epochs:

  • G0 = 50,000,000 gas at activation epoch t0 = 369017 (around June 1, 2025).
  • T = 164,250 epochs (about two years) for each 10× increase.
  • The target grows smoothly every epoch and stops at 100× G0 after four years, at which point a new schedule should be agreed.
G(t) = round(G0 * 10^((t - t0) / T))   for t0 <= t <= t0 + 2T
G(t) = 100 * G0                         for t > t0 + 2T

At each new epoch the client recomputes the target and uses the existing gas-limit voting mechanism to move toward it. Operators can override it with a manual setting. No consensus rule changes.

Sample code

Computing the scheduled default for a given epoch:

const G0 = 50_000_000;
const T0 = 369_017;
const T = 164_250;

function scheduledGasLimit(epoch: number): number | null {
  if (epoch < T0) return null;                 // keep the client's current default
  if (epoch > T0 + 2 * T) return 100 * G0;     // schedule finished
  return Math.ceil(G0 * 10 ** ((epoch - T0) / T));
}

console.log(scheduledGasLimit(T0 + T)); // 500000000 (10x after ~2 years)

Things to know

  • Status is Stagnant, and this is an Informational EIP: it describes recommended client behaviour, not a consensus change. No client is required to adopt it.
  • Because the protocol only lets each block move the limit a little from its parent, the actual gas limit tracks validator votes; the schedule only sets the default target.
  • The author acknowledges that faster growth stresses less-optimized nodes and block propagation; the gradual per-epoch increments are meant to give operators time to adapt.
  • EIP-8261 takes a related, epoch-based approach: a gas-limit schedule in consensus-layer client config. Other default-gas-limit proposals: EIP-7935 (set the default to 60M) and EIP-7783 (a controlled increase strategy).
  • The spec says round means rounding up to the next integer, which the sample reflects with Math.ceil.

#gas-limit #scaling #clients #validators #informational

Details

Authors
Dankrad Feist (@dankrad)
Status
Stagnant
Type
Informational
Created
2025-04-27

Machine-readable: Markdown · JSON