EIPs Explained

EIP-7999 · Draft · Core · 2025-08-04

EIP-7999: Unified multidimensional fee market

Proposes one fee market with a separate base fee per resource (EVM gas, blob gas, calldata), where each transaction sets a single ETH max_fee that can cover whichever resource gets expensive.

What problem does it solve?

Ethereum already prices two resources separately: regular gas under EIP-1559 and blob gas under EIP-4844, each with its own mechanism and its own max_fee_per_*. Adding more dimensions this way would get worse for users: every resource needs its own cap, and if any one is set too low the transaction can't be included, even when the user would happily pay the total.

EIP-7999 lets users think in ETH instead: "I'll pay at most X for this transaction." The protocol spreads that budget across resources as prices move. It also replaces the two current mechanisms with one shared, EIP-4844-style design, and adds calldata as the first new priced resource.

How it works

  • New transaction type (type number still TBD) with a single scalar max_fee (total wei) and max_priority_fee_per_gas as either one value or one per resource. gas_limit covers EVM gas only; blob and calldata gas are derived from the transaction itself.
  • Three resources, three base fees: EVM gas, blob gas and calldata gas. The header replaces gas_limit, gas_used, base_fee_per_gas, blob_gas_used and excess_blob_gas with vectors gas_limits, gas_used, excess_gas.
  • Inclusion check: the sum over resources of base_fee[i] × gas_limit[i] must be ≤ max_fee. Base fees for gas actually used are burned, the tip goes to the block producer, the rest is refunded.
  • One update rule: every base fee is fake_exponential(1, excess_gas, BASE_FEE_UPDATE_FRACTION), like blob fees today. Excess gas is normalized by each resource's limit so all dimensions share one update fraction, and raising a limit doesn't jolt the price.
  • Reserve pricing: the EIP-7918 idea is generalized so blob and calldata base fees can't fall far below the EVM base fee.
  • Calldata limit is a quarter of the EVM gas limit, with target a quarter of that. A new opcode CALLDATABASEFEE (0x4b, 2 gas) exposes its base fee.
  • Old transactions keep working: their per-gas caps are multiplied out into an equivalent max_fee, and the calldata portion is carved out of their gas_limit.

Sample code

The core inclusion check, from the spec's Python:

def get_required_max_fee(base_fees, tx_gas_limits):
    # e.g. base_fees = [evm, blob, calldata], limits likewise
    return sum(b * g for b, g in zip(base_fees, tx_gas_limits))

base_fees     = get_block_base_fees(parent)          # one per resource
tx_gas_limits = [tx.gas_limit, blob_gas, calldata_gas]
max_base      = get_required_max_fee(base_fees, tx_gas_limits)

assert max_base <= tx.max_fee                         # one budget, any mix
fee_to_deduct = max_base + priority_fee(tx, ...)      # refunded unused part later

Things to know

  • Status is Draft; the transaction type number is still TBD and it is not scheduled for any upgrade.
  • It builds on EIP-7706 (a separate gas type for calldata), which is Stagnant. It also defines how calldata should be treated by inclusion lists (EIP-7805).
  • The calldata floor pricing of EIP-7623 would be dropped in favor of the separate calldata market.
  • Wallets would need new fee estimation that tracks several base fees. Converted blob transactions would obey the aggregate max_fee, not their separate per-resource caps.
  • The spec also sketches longer-term paths for splitting EVM gas itself into multiple resources while keeping gas introspection workable; those parts are exploratory.

#gas #fees #multidimensional #calldata #core

Details

Authors
Anders Elowsson (@anderselowsson), Vitalik Buterin (@vbuterin), Maria Silva (@misilva73)
Status
Draft
Type
Standards Track / Core
Created
2025-08-04
Requires

Machine-readable: Markdown · JSON