EIPs Explained

EIP-8075 · Draft · Core · 2025-10-02

EIP-8075: Adaptive state cost to cap growth & scale L1

Prices state creation with its own EIP-4844-style controller targeting about 250 MiB of new state per day, and takes state gas out of the block gas limit so higher state prices do not crowd out compute.

What problem does it solve?

As Ethereum raises the block gas limit, more gas also means more room to create new accounts, contracts and storage slots, so the state database grows faster and clients slow down. EIP-8037 answers this by pricing state creation per byte and raising it roughly 3x to 9.5x per operation. But that is a fixed price, and nobody knows how sensitive users are to it:

  • If demand barely changes, state still grows faster than desired.
  • State gas still counts against the block gas limit, so expensive state operations can eat most of each block. The spec's example estimates that after a 5x gas-limit increase, state could take about 65–79 % of all gas and real throughput for other operations would grow only about 1.5x to 2.5x.

EIP-8075 targets a state growth rate directly and separates state from the regular gas limit.

How it works

A self-adjusting price per state byte. Each block header gets three new fields: state_bytes_created, state_bytes_cleared and excess_state_bytes. Like blob gas in EIP-4844, excess accumulates when net creation exceeds the target, and the price follows an exponential:

Constant Value
TARGET_STATE_BYTES_PER_BLOCK 36,400 (about 250 MiB/day)
MAX_STATE_BYTES_PER_BLOCK 72,800
MIN_STATE_GAS_PER_BYTE 380
STATE_GAS_UPDATE_FRACTION 36,418,000 (at most +0.1 % per block)

Per-operation costs are bytes × state_gas_per_byte, using EIP-8037's byte counts (for example 112 for a new account, 32 for a new storage slot, 1 per byte of deployed code).

Separate limits, shared base fee. Execution tracks regular_gas and state_gas separately. Only regular gas counts against the block gas limit (header field gas_used renamed to regular_gas_used); net state bytes are capped at MAX_STATE_BYTES_PER_BLOCK. The EIP-1559 base fee still reacts to both, using regular gas plus state usage normalized so that a full state budget counts like a full block.

Transactions keep their format: state is still paid in gas, so users' gas_limit must cover state at the current per-byte price.

Sample code

The controller, from the spec (Python):

def calc_excess_state_bytes(parent) -> int:
    excess = parent.excess_state_bytes + parent.state_bytes_created
    deficit = TARGET_STATE_BYTES_PER_BLOCK + parent.state_bytes_cleared
    return 0 if excess < deficit else excess - deficit

def get_state_gas_per_byte(header) -> int:
    return fake_exponential(MIN_STATE_GAS_PER_BYTE,
                            header.excess_state_bytes,
                            STATE_GAS_UPDATE_FRACTION)

# Wallet-side gas limit with a safety margin m for price drift
gas_limit = regular_gas_estimate + state_bytes * state_gas_per_byte * m

Things to know

  • Status: Draft. Constants, header layout and even the overall design (vs. alternatives) are still open.
  • Because the price per state byte can drift between signing and inclusion, a transaction with a tight gas_limit that creates state can run out of gas. Wallets need to read excess_state_bytes, compute the current price and add a margin, much as they do for blob fees.
  • The spec discusses alternatives: a transaction format with separate regular-gas and state-byte limits, multidimensional metering in EIP-8011, and aggregate-gas fee markets in EIP-7999.
  • It builds on EIP-8037's per-byte accounting rather than replacing it.

#gas #state-growth #fee-market #scaling #core

Details

Authors
Anders Elowsson (@anderselowsson), Francesco D'Amato (@fradamt), Maria Silva (@misilva73)
Status
Draft
Type
Standards Track / Core
Created
2025-10-02
Requires

Machine-readable: Markdown · JSON