← All EIPs
EIP-4444crossPre-Glamsterdam · Frontier → PragueCOMPLETEGAP PRIORITY P2

History Expiry / Pruning

Spec implementation completeness85%

Specification

eips.ethereum.org/EIPS/eip-4444 ↗upstream status: Stagnantcategory: Pre-Glamsterdam · Shanghai–Cancun

Implemented

  • ✓DefaultHistoryRetention (~1 year)
  • ✓PruneHistory / HistoryAvailable / ErrHistoryPruned
  • ✓BAL retention epochs

Known Gaps vs. Spec

  • ✗Portal network integration for history retrieval
  • ✗Background auto-pruning task
  • ✗Weak-subjectivity checkpoint sync
  • ✗JSON-RPC "pruned" errors instead of "not found"

Implementation Files

  • pkg/core/rawdb/history.go
  • pkg/p2p/portal/history.go

Tests

  • pkg/p2p/portal/history_test.go