Skip to content

EIP-8304: trustless log and transaction index, implementation tracking #1

Description

@VanshSahay

Tracking EIP-8304 (trustless log and transaction index) implementation for EPF cohort seven.

Spec: https://eips.ethereum.org/EIPS/eip-8304
Project: https://github.com/eth-protocol-fellows/cohort-seven/blob/main/projects/eip-8304-trustless-log-index.md

Plan is small incremental PRs, no mega-PR. M0 is system contract plumbing. We skip fork config entirely: the system call runs unconditionally (EIP-4788 style), the gate (IsHegotá, EIP-8081) comes at wiring-PR time.

Status:

  • constants + dev-genesis alloc: done on eip8304-m0, bytecode verified against the spec
  • system call in PostExecution: done, gated on Amsterdam
  • golden bytecode test: done (core/logindex_contract_test.go)
  • spec pinned: ethereum/EIPs@a9b074c (2026-07-14)
  • performance baselines: done (core/bench_eip8304_test.go)
  • devnet re-verification: pending

PR checklist (link each as it opens):

  • 1. core, params: EIP-8304 system contract plumbing (constants, dev-genesis alloc, system call, golden bytecode test) - core, params: EIP-8304 system contract plumbing ethereum/go-ethereum#35496
  • 2. core: EIP-8304 variable-length index entries (42/50/38/50-byte encodings, lexicographic sort) - core, miner: EIP-8304 variable-length index entries ethereum/go-ethereum#35571
  • 3. core: EIP-8304 SSZ table roots (SHA2-256 leaves, List[Hash32] merkleization)
  • 4. core: EIP-8304 k-way table merges (all 5 levels, table_size/4 merge delay)
  • 5. core: EIP-8304 file-backed table storage (1024-slot ring buffer, restart recovery)
  • 6. core, miner: EIP-8304 replay and reorg handling (nil-tables divergence, rollback, IsHegotá gate)
  • 7. eth: EIP-8304 proof-index database (canonical hash tracking, pruning, rebuild)
  • 8. eth: pureth_getLogsWithProofV1 RPC (query semantics, filters, proof format)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions