github NethermindEth/nethermind 2.3.0
v2.3.0

one hour ago

Nethermind 2.3.0

Hoodi operators: upgrade before Glamsterdam

Important

Upgrade Nethermind on Hoodi to 2.3.0 before 15 December 2026 at 19:12:24 UTC (epoch 143,616). Hoodi activates Glamsterdam at that time: Amsterdam on the execution layer and Gloas on the consensus layer. If you run a separate consensus client, make sure it also supports the Hoodi fork. This fork schedule does not apply to Ethereum mainnet or other networks. Nethermind fork support · Hoodi network schedule

These notes cover the upgrade from 2.2.2 to 2.3.0. For most nodes this is an in-place upgrade with no resync. If you are upgrading from 2.1.x or older, apply the 2.2.0 breaking changes first. Read Breaking changes if you use custom configs, serve JSON-RPC, consume traces, or build plugins.

Before you upgrade

Important

Nethermind now runs on .NET 11. Docker images use aspnet:11.0.0-resolute (and -resolute-chiseled); building from source needs the .NET 11 SDK; plugins must be retargeted to net11.0 and rebuilt. (#14147)

Important

New receipts format; no downgrade below 2.3.0. After sync, a one-time background migration adds transaction hashes to stored receipts; the node follows the chain while it runs. On a mainnet node with the default receipts range (from block 24,600,000) it took 1 h 52 min, added 18.3 GB of transaction hashes, and the receipts database folder grew from 95 GB to 136 GB on disk. Time and size grow with the number of blocks whose receipts are stored. To keep the old format, set Receipt.StoreTxHashes=false before the first 2.3.0 start; setting it later stops the migration but does not convert receipts back. (#14633)

If you start 2.2.2 after the migration has run, it starts and follows the chain, but for every block up to the last one 2.3.0 processed, RPC methods that read receipts fail with -32603 Internal error (RlpException): eth_getLogs, eth_getBlockReceipts, eth_getTransactionReceipt, eth_getTransactionByHash, and eth_getBlockByNumber with full transactions. The failing methods return errors, not wrong data; state methods such as eth_getBalance and eth_call keep working, and blocks that 2.2.2 processes after the downgrade read normally. If LogIndex.Enabled=true, 2.2.2 also resets the log index and its log index sync fails. To recover, start 2.3.0 again: all receipts, including those 2.2.2 wrote, read correctly with no resync. If you deleted only the receipts folder in the database directory (for example nethermind_db/mainnet/receipts) before starting 2.2.2, it downloads receipts again from peers while it follows the chain; downloaded blocks read correctly, and blocks not yet downloaded return no receipts (eth_getLogs returns 4444). This path was tested only for the first 10% of the download.

Note

Using LogIndex.Enabled=true? Allow time for a one-time index rebuild on upgrade. During the rebuild, some large eth_getLogs queries can be rejected. See Log index rebuild for limits and how to monitor progress.

Highlights

  • Embedded consensus layer (experimental). Optional non-attesting beacon node inside the Nethermind process: checkpoint sync, Fulu/Gloas, PeerDAS custody, optional Beacon API on 5052. Run an RPC full node without a separate CL. Mainnet, Sepolia, Hoodi, Gnosis, Chiado. Off by default (BeaconChain.Enabled); stands down when an external CL connects. (#13611)
  • Read-only MCP server. Mcp.Enabled=true exposes 27 read-only tools (blocks, txs, receipts, tracing, simulation, tokens, ENS, proofs) at /mcp on 127.0.0.1:8555. (#13978)
  • Faster block processing on the flat backend. Trie node buffer: CPU per block −18%, allocations −35–40%, GC pause −60%, MGas/s +4–14% (#14952). Opt-in trie node log (FlatDb.TrieNodeLogEnabled): replay −14% wall time, −42% bytes written (#14140).
  • Flat snap sync resumes after a restart during its range phase instead of starting over (#14989), and snap-synced Pruning.Mode=None nodes serve historical eth_getProof from the pivot (#14757). A restart during trie healing still starts the sync over.
  • Faster RPC. Receipts store tx hashes: eth_getTransactionReceipt −21%, eth_getLogs −29–30%, node CPU −43% under the same load (#14633). Tx lookups 85 → 26 µs (#14769), eth_getLogs scans 3.5–4× faster (#14790), call batches run concurrently (#14845). GC decommit only under pressure: p99 −20%, p99.9 −40% (#14718).
  • RPC, P2P and health checks start while leftover blocks are processed, instead of staying down until the backlog clears (#15054).
  • Spec-aligned JSON-RPC and tracing. Standard error codes, 4444 for pruned history, call-object typing, eth_getProof/eth_simulateV1 and tracer output aligned with the execution-apis spec (#15090, #15583, #15609, #14212).
  • New RPC modules: overlay for re-running history with modified code (#15181), ots for block-explorer account history (#15343), debug_storageRangeAt, debug_traceBadBlock, debug_config (#15061, #14997, #9849), snap progress in eth_syncing (#15176).
  • Cheaper sync serving: headers, bodies and receipts served from stored encoding (bodies 13.8 → 0.3 ms; eth/69 receipts −91–94%) (#15910, #15879).
  • Configs embedded in the binary; Init.MemoryHint ignored (#15171, #15154). Windows on ARM64 builds (#14572). zkVM: ZKsync Airbender guest, trusted-input guests (#15278, #15427).

Breaking changes

Node operators

  • configs/ is no longer shipped; --config takes a built-in name or a file path. Use --config hoodi: --config /nethermind/configs/hoodi.json, --config configs/hoodi.json and --config hoodi.cfg now exit with code 1 and suggest the built-in name. Mounting or editing configs/mainnet.json has no effect; a custom --config file must be complete (not layered on a built-in). Use --config /path/file.json, --configs-dir, or CLI/NETHERMIND_* overrides. (#15171)
  • Init.MemoryHint / Db.SkipMemoryHintSetting are ignored with a deprecation warning. Fixed defaults: Db.SharedBlockCacheSize 512 MiB, Db.StateDbRowCacheSize 128 MiB. (#15154) FlatDb.TrieCacheMemoryBudget is also ignored with a warning; the trie node cache it sized was removed. (#14952)
  • Init.BackgroundTaskMaxNumber must be at least 7680 when networking is enabled (default 8192); a lower value, including an explicit 2048 (the 2.2.2 default), fails startup with exit code 107. (#15638)
  • Log index: existing indexes from 2.2.2 are rebuilt on upgrade. See Log index rebuild.
  • History/BAL retention follows the chain's serving window: History.Pruning=Rolling keeps 33,025 epochs on mainnet (was 82,125); BALs pruned to 14,299 epochs by default. Set History.RetentionEpochs / History.BalRetentionEpochs to keep more. (#14622, #14609)
  • Flat backend: FlatDb.Layout=Auto picks FlatInTrie below 16 GB for new DBs (#15699); Pruning.Mode=None now means archive (set FlatDb.HistoryEnabled=false to opt out) (#14757). Sync.ReconstructFinalizedStateFromBlockAccessLists defaults to false (#14976).
  • --db-dir now applies together with --data-dir (#15569). Startup fails if a listener can't bind (#14571). Discovery.Bootnodes is deprecated with a warning and merged into Network.Bootnodes; use Network.Bootnodes (#15167).
  • A node stopped with SIGTERM exits with code 143 (2.2.2 exited with 130, the SIGINT code), and a stop signal during startup waits for the node to stop. (#16113)
  • New JSON-RPC limits: concurrent eth_call-type requests (4 × cores), eth_simulateV1 call caps, subscription caps, slow-reader disconnects for unauthenticated HTTP; WebSocket follows MaxRequestBodySize and CorsOrigins. Set to 0 to disable. (#15995, #15966, #15984, #15997, #14554, #15155)
  • JSON-RPC per-client response limits key clients by address. Behind a reverse proxy or a Docker bridge, set JsonRpc.TrustedProxyNetworks (IPv4 CIDR list, default []) to the proxy or bridge network so the client address is taken from X-Forwarded-For; otherwise all clients count as one. X-Forwarded-For is also used for connections from loopback, so a local TCP forwarder that passes client headers through unchanged should strip or set it. Aborted responses are counted by the JsonRpcHttpUnsentLimitAborts metric. (#15997, #16455)
  • Release verification: one signed SHA256SUMS instead of per-zip .asc. Verify with gpg --verify SHA256SUMS.asc SHA256SUMS && sha256sum -c --ignore-missing SHA256SUMS. (#14932)
  • Metrics: per-precompile counters merged into one labelled metric (#12967); JSON-RPC params no longer logged (#14301).

JSON-RPC / Engine API consumers

  • 4444 Pruned history unavailable instead of null for blocks the node no longer serves; earliest = lowest served block. (#15609)
  • JSON-RPC 2.0 conformance: disabled namespace 32601, invalid arguments 32602 naming the argument, no response to notifications, no exception chain in error.data. (#15583, #15090, #15585, #15500)
  • Unimplemented methods removed: debug_traceBlockFromFile, debug_dumpBlock, debug_gcStats, debug_memStats, debug_seedHash and personal_sendTransaction answer -32601. An unknown debug_getFromDb database returns -32602 and an unknown subscription type -32601, instead of -32603. (#16205)
  • Stricter parameters: extra parameters (too many arguments, want at most N, also for methods that take none), log filters with more than four topic positions and account override objects with unknown keys are rejected with -32602; an account override with both state and stateDiff is rejected with -32000. (#15093, #14545, #15839, #14805, #15493, #15653)
  • Block overrides: non-null beaconRoot and withdrawals block overrides in eth_call, eth_estimateGas, debug_traceCall and debug_traceCallMany are rejected with -32602 instead of being ignored. (#13807, #14707, #16377)
  • Call objects: transaction type inferred from fields; type ignored. (#14212)
  • Log filters and block responses: omitted fromBlock means latest; totalDifficulty is omitted on merged chains; unknown raw-transaction lookups return 0x. (#14686, #15066)
  • admin_nodeInfo: keys restored to the geth names: listenAddress → listenAddr, and under protocols.eth, genesisHash → genesis, headHash → head, networkId → network; IPv6 hosts in listenAddr are bracketed. (#15697)
  • eth_getProof: a storage key with 63 or 64 hex digits is echoed as 32 bytes (other keys as a minimal quantity); one entry per requested key in request order, including duplicates; 0x is slot 0; up to 1024 keys (duplicates count); 4444 for state the node no longer keeps. (#14987)
  • Subscriptions and filters: transactionReceipts sends one array per block (with blobGasUsed/blobGasPrice) instead of one notification per receipt; subscription IDs have no leading zeros; polled {blockHash} log filters match only that block; debug_getRawBlockAccessList returns 4444 for a pruned access list. (#14978)
  • Tracing: trace_* follows the execution-apis spec; callTracer, prestateTracer, JS tracer output and error messages changed; opcode logger limit counts steps; native block traces stream by default (streamMode: false for all-or-nothing). (#14888, #14687, #15264, #14764)
  • Struct logger (debug_trace* opcode steps): a failing step reports Geth's error string and gasCost 0 (REVERT keeps its cost), and no extra step follows INVALID. Examples: stack limit reached 1024 (1023) (was StackOverflow), invalid jump destination (was BadJumpDestination), invalid opcode: … (was BadInstruction), write protection for LOG/TSTORE in a static call (was StaticCallViolation). (#15956)
  • Batches: consecutive call-type items run concurrently (JsonRpc.BatchProcessingConcurrency=1 to disable). (#14845)
  • Engine API: engine_getPayload answers immediately with the best block so far; engine_getBlobsV2/V3 return null while behind. (#15272, #15507)

Plugin / library authors

Rebuild for net11.0. RLP core replaced by FluentRlp (#15387); span-based P2P message serializers (#14728); new ABI codec replaces Nethermind.Abi (#15263); Libp2p 1.2.0 (#15931); Nethermind.Monitoring is a plugin (#15174); flat persistence, sync server and JSON-RPC processor signatures changed.

Consensus / protocol

  • Bundled mainnet/Sepolia genesis files use the genesis.json format instead of chainspec (same hashes); stricter genesis loading. (#14653, #15553)
  • eth/72 Cells use blob-major order (not wire-compatible with the old order). (#15439)
  • Peers broadcasting blob txs are disconnected (EIP-4844). (#14563)
  • XDC Apothem activates Gas2500x at block 83,600,000; XDC testnet nodes must upgrade. (#15951)

Engine API & block processing

  • Block access lists: the account bitmap is cleared in full when rented, so a valid Amsterdam block is no longer rejected (#16090); an undeclared account with storage reads at its first index is rejected (#16283).
  • Amsterdam payload handling checks the block access list item count before decoding the list. (#16269)
  • engine_getPayloadBodiesV2 returns null blockAccessList for bodies without a stored access list. (#16399)
  • engine_getBlobs can serve blobs from recently included transactions, not just pending ones. (#14589)
  • Startup warmup blocks are kept after a future genesis. (#16213)

JSON-RPC & tracing

  • logIndex_blockNumbers returns an error while the index has no usable range or when the result would exceed JsonRpc.MaxLogsPerResponse. (#16209, #16229)
  • debug_getConfigValue resolves short and full category names. (#16220)
  • Struct-log refund is reported as it was before the step. (#16175)
  • IPC can expose a separate set of RPC modules via JsonRpc.IpcEnabledModules. JSON-RPC and the Engine API support allowed-host checks. (#14318, #15059)

Log index rebuild

On the first 2.3.0 start after upgrading from 2.2.2 with LogIndex.Enabled=true, Nethermind replaces the old index and backfills it with canonical blocks. While backfill runs, block processing can be slower. An eth_getLogs request is rejected if it would scan more blocks without the index than Receipt.MaxBlockDepth allows (10,000 by default). Use a narrower range until the index catches up. Monitor progress with logIndex_status or the node log. The rebuild took about an hour on a fast 8-core NVMe host; plan for longer on slower storage. Index rebuild

Sync, database & state

  • Flat backend: state at or below the persisted block is read from the persisted state, so such reads return the usual state-unavailable error and engine_newPayload returns SYNCING for a side-chain parent below it. (#16252)
  • Sync no longer loops in PrepareRequest on a header dependency that cannot connect. (#16244)
  • When flat snap sync wipes the database to start over, it discards persisted snapshots from the previous state. (#16482)
  • Unprefixed geth genesis storage keys are read as hex. (#16212)
  • Full pruning canceled at shutdown is no longer logged as an error. (#16207)
  • EraManifest can rebuild and verify Era1 manifests; Era history tooling validates truncated entries and handles incomplete exports. (#14317, #15227, #15651)

Networking & protocol

  • An incoming peer is accepted only after its Hello. The ClientIdMatcher filter no longer disconnects static or trusted peers, except an inbound connection that arrives during startup before peer management has started. (#16173)
  • Snappy is enabled before any disconnect after a p2p v5 Hello, so the peer can read the disconnect reason. (#16163)

L2 & other chains

  • Gnosis / AuRa: restarting a post-merge Gnosis or Chiado node no longer spends minutes in the legacy finalization scan before block processing starts (#16221); contract data refreshes of superseded heads are skipped (#16222).
  • Optimism: invalid raw transactions are rejected before they are forwarded to the sequencer. (#16206)

Verify the downloads

SHA256SUMS lists every file and is signed with the following OpenPGP key: AD12 7976 5093 C675 9CD8 A400 24A7 7461 6F1E 617E

Each file listed in SHA256SUMS also has a build provenance attestation: gh attestation verify <file> --repo NethermindEth/nethermind

New contributors

Full changelog

Browse the 2.2.2–2.3.0 comparison on GitHub. For the complete commit list without GitHub’s display limits, run git log --oneline 2.2.2..2.3.0 in a checkout with both tags.

Don't miss a new nethermind release

NewReleases is sending notifications on new releases.