EIPs Explained

EIP-8289 · Draft · Core · 2026-05-03

EIP-8289: Multi-block Access List Warming

Treats any account or storage slot touched in the previous 256 blocks as already 'warm', so transactions skip most EIP-2929 cold-access surcharges — the authors estimate about 14% of block gas saved.

What problem does it solve?

Since EIP-2929, the first time a transaction touches an account it pays 2600 gas, and a storage slot 2100 gas ("cold" access); later touches cost 100 ("warm"). The warm set resets for every transaction. The spec measures this cold surcharge at a median of about 17 % of each mainnet block's gas.

Yet the same contracts and slots are hit over and over: in the authors' sample of 5 731 blocks, 79 % of cold-charged items had also been touched in the previous 256 blocks (about 51 minutes). Treating those as warm would save roughly 14 % of block gas at the median.

How it works

The proposal builds on Block-Level Access Lists (EIP-7928), which record every account and slot each block touched.

  • Warm-access multiset (WAM). New chain-derived state mapping each item (an address, or an address plus storage key) to a counter. An item is warm if its count is above 0.
  • Per-block update. Before executing block B, add 1 for every item in BAL(B-1) and subtract 1 for every item in the BAL leaving the 256-block window. Lookups are O(1); updates are proportional to BAL size.
  • Transaction start. Each transaction's warm set starts with the usual entries (precompiles, sender, recipient, coinbase, EIP-2930 list, EIP-7702 authorities) plus every WAM item.
  • Pricing. No new constants: WAM items pay the warm 100 gas, everything else the normal cold cost.
  • Commitment. The WAM is committed as a SHA-256 binary sparse Merkle tree; its root becomes a new header field wam_root, so stateless clients and zk provers can check warmness with a single proof.
  • Reverts never change the WAM; only the per-block transition does.

Sample code

The per-block transition and pricing, as pseudocode:

WARMING_WINDOW = 256

def begin_block(B):
    add = items(BAL(B - 1))
    rem = items(BAL(B - 1 - WARMING_WINDOW)) if B > WARMING_WINDOW else set()
    for it in add:
        WAM[it] = WAM.get(it, 0) + 1
    for it in rem:
        WAM[it] -= 1
        if WAM[it] == 0:
            del WAM[it]

def sload_cost(tx_warm, addr, key):
    item = Slot(addr, key)
    if WAM.get(item, 0) > 0 or item in tx_warm:
        return 100            # warm
    tx_warm.add(item)
    return 2100               # cold, as in EIP-2929

Things to know

  • Status is Draft; test cases are not written yet.
  • No transaction becomes more expensive or invalid; existing access lists remain valid but matter less.
  • Nodes keep extra state: the authors estimate about 10 MB at a 256-block window, with a pathological worst case around 250 MB.
  • Gas estimates depend on recent history: a slot warm now may be cold if your transaction lands after it leaves the window. Estimate close to submission and leave headroom.
  • It cannot ship without EIP-7928, which supplies the per-block access lists.

#gas #access-lists #state-access #core #bal

Details

Authors
Toni Wahrstätter (@nerolation)
Status
Draft
Type
Standards Track / Core
Created
2026-05-03
Requires

Machine-readable: Markdown · JSON