EIPs Explained

EIP-8253 · Draft · Core · 2026-05-05

EIP-8253: Bump nonce of zero-nonce storage accounts

A one-time state fix at a fork block that sets nonce = 1 on the handful of code-less, zero-nonce accounts that still hold storage, so future contract creations can never land on them and inherit that storage.

What problem does it solve?

EIP-684 blocks CREATE/CREATE2 from deploying to an address that already has a non-zero nonce or code. The implicit assumption is that "nonce 0 and no code" means "nothing there, including no storage."

That assumption has one historical exception. Before EIP-161 (Spurious Dragon), contract creation did not bump the new account's nonce first. A constructor that wrote storage but returned no code left behind an account with nonce 0, empty code, non-empty storage. If a contract were ever created at such an address, it would start life with that leftover storage. Clients and EIP authors must keep reasoning about this odd shape.

One fix is to check for empty storage at every contract creation (EIP-7610), which costs a runtime check (and sometimes a disk read) forever. EIP-8253 instead retires the shape once.

How it works

  • Per-chain list. Each chain configures a list of accounts with nonce == 0, empty code hash and non-empty storage root in the state just before the fork block. For Mainnet the authors publish 28 such accounts, along with the method used to derive and verify them.
  • Irregular state transition. At the very start of the fork block (before system contract calls and transactions), every listed account's nonce is set to 1. Balance, code and storage are left alone. No transaction, receipt, log or gas is involved.
  • Result. Those accounts now look like ordinary contracts without code. Any future CREATE/CREATE2 to them fails under EIP-684 because the nonce is not zero. CALLs to them still behave the same.
  • Block-level access lists. If EIP-7928 is active, each bump appears as a single NonceChange [0, 1] at access index 0.
  • Chains where EIP-161 has been active since genesis (including all current public testnets, per the spec) have an empty list, and the EIP is a no-op there.

Sample code

The whole state transition (Python-style, from the reference implementation):

def apply_irregular_state_transition(state, account_list):
    for entry in account_list:
        # Guaranteed by how the list is built; failing here means a misconfigured list.
        assert state.get_nonce(entry.address) == 0
        state.set_nonce(entry.address, 1)
        # balance, codeHash and storageRoot are intentionally not modified

# BAL entry for a targeted account untouched by anything else in the block:
# [address, [], [], [], [[0, 1]], []]

Things to know

  • Status: Draft. Requires a hard fork.
  • The list is consensus-critical. A missing entry leaves the risk in place; a wrong entry could create an account or overwrite a nonce, because the transition is unconditional. The spec asks for multi-client, independent verification before scheduling.
  • The Mainnet list must not be reused on other chains. On some chains (Sepolia is given as an example) the original deployers can still recreate those addresses with different contents. Each chain derives its own list from its own state.
  • Bumping the nonce was preferred over deleting the storage because it is the smallest possible change: 28 nonce updates instead of rewriting storage roots for over a hundred slots.
  • It follows the same "one-time cleanup" approach as EIP-7523, which removed empty accounts.

#core #state #irregular-state-transition #create #cleanup

Details

Authors
Jochem Brouwer (@jochem-brouwer)
Status
Draft
Type
Standards Track / Core
Created
2026-05-05
Requires

Machine-readable: Markdown · JSON