---
eip: 8079
label: EIP-8079
title: Native rollups
status: Draft
type: Standards Track
category: Core
created: 2025-11-13
official: https://eips.ethereum.org/EIPS/eip-8079
source: https://github.com/ethereum/EIPs/blob/master/EIPS/eip-8079.md
canonical: https://eips.huatuo.xyz/eip-8079/
lang: en
tldr: "Proposes an EXECUTE precompile that lets L1 contracts verify an EVM state transition with Ethereum's own rules, so EVM-equivalent rollups can drop bespoke proof systems and inherit L1 upgrades automatically."
tags: [rollups, layer-2, precompile, scaling, core]
---

# EIP-8079: Native rollups

> Expose Ethereum's STF as a precompile for rollups to use

**TL;DR:** Proposes an EXECUTE precompile that lets L1 contracts verify an EVM state transition with Ethereum's own rules, so EVM-equivalent rollups can drop bespoke proof systems and inherit L1 upgrades automatically.

## What problem does it solve?

An EVM-equivalent rollup has to prove to Ethereum that its blocks were executed correctly. Today each project builds and maintains its own fraud- or validity-proof system just to re-implement what L1 already does. That complexity is a major source of bugs, keeps security councils in place, and slows progress toward fully trustless ("Stage 2") rollups.

Rollups also need their own governance to keep up with Ethereum's upgrades, and that governance can diverge from Ethereum. Exit windows soften the risk but can't protect every use case, such as timelocked or vesting contracts.

EIP-8079 lets a rollup call Ethereum's own state transition function from L1. A rollup built this way is called a *native rollup*: it is correct by construction and upgrades in step with L1.

## How it works

- **`EXECUTE` precompile.** Given a chain context, a block and an `anchor` value, it runs Ethereum's `state_transition` and reports the result. Blob-carrying transactions inside the rollup block are rejected.
- **Anchoring.** Before executing, it injects a `bytes32 anchor` into a predeployed contract with a system transaction, in the style of [EIP-4788](/eip-4788/). The rollup decides what the anchor means (an L1 state root, a message root, a rolling hash), which enables L1→L2 messaging.
- **Programmable "consensus layer".** Everything outside execution lives in the rollup's own L1 contract: who may sequence (centralized, staked set or based sequencing), a fixed `coinbase` treasury, gas limit choices, and so on.
- **`burned_fees` header field.** A new 64-bit header field records the base fee burned in each block. Native rollups can then either burn their L2 base fee like L1 or credit that amount to a treasury from their escrow.
- **Gas tokens.** No new deposit transaction type: rollups unlock pre-minted gas tokens via ordinary L1→L2 messages.
- **Proof-carrying transactions** are planned so the precompile can rely on ZK proofs instead of re-execution, but that part depends on the future ZK-L1 design and is still TBD.

## Sample code

Illustrative rollup inbox contract (precompile address, input and output formats are all TBD in the spec):

```solidity
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.20;

contract NativeRollup {
    address constant EXECUTE = address(0); // TBD in the spec
    bytes32 public stateRoot;
    address public sequencer;

    function submitBlock(bytes calldata chainAndBlock, bytes32 anchor) external {
        require(msg.sender == sequencer, "not sequencer"); // rollup-defined rule
        (bool ok, bytes memory out) =
            EXECUTE.staticcall(abi.encode(stateRoot, chainAndBlock, anchor));
        require(ok, "invalid state transition");
        stateRoot = abi.decode(out, (bytes32)); // illustrative output
    }
}
```

## Things to know

- Status is **Draft**, and an early one: the transaction type, precompile and anchor addresses, input/output encoding, test cases and security considerations are all TBD.
- Native rollups cannot have custom opcodes, custom precompiles or custom transaction types inside the executed state transition. Rollups that are not fully EVM-equivalent would have to change to migrate.
- On a native rollup, an L1→L2 message cannot carry the L1 sender as `msg.sender`; contracts relying on cross-chain access control must be adapted.
- Whether `EXECUTE` re-executes blocks or verifies ZK proofs is still open in the spec.


---

This is an unofficial plain-language summary. Read the full specification: https://eips.ethereum.org/EIPS/eip-8079
