github NethermindEth/nethermind 2.3.0-rc
v2.3.0-rc

pre-releaseone hour ago

Release notes

1,282 merged pull requests since 2.2.2, from 43 contributors.

Important

Nethermind now runs on .NET 11. Docker images are built on mcr.microsoft.com/dotnet/aspnet:11.0.0-resolute (and -resolute-chiseled). Building from source needs the .NET 11 SDK (global.json pins 11.0.100), and plugins must be retargeted to net11.0 and rebuilt. (#14147)

Important

Receipts move to a new storage format that older versions cannot read. After sync, a one-time background migration adds transaction hashes to existing receipts (about an hour for the default mainnet receipt range, several hours for receipts from genesis); block processing is slower while it runs. Once the node has written the new format, downgrading below 2.3.0 is not supported. Set Receipt.StoreTxHashes=false to keep the previous format. (#14633)

Note

Upgrading from 2.1.x or older? The breaking changes below cover 2.2.x → 2.3.0 only. Apply the 2.2.0 breaking changes first (and, from older versions, the 2.1.0 and 2.0.0 ones).

For most nodes this is an in-place upgrade with no resync. Read Breaking changes first if you edit or mount files under configs/ (they are no longer shipped), set Init.MemoryHint, run with LogIndex.Enabled=true (the index is rebuilt once), run History.Pruning=Rolling or rely on stored block access lists, run the flat backend (new FlatDb.Layout=Auto default, Pruning.Mode=None now means archive), use --data-dir together with --db-dir, verify release zips with per-package .asc signatures, serve public JSON-RPC (new default limits, 4444 for pruned history, Geth-style errors), consume debug_trace* / trace_* output, or build plugins against Nethermind.

Highlights

  • Embedded consensus layer (experimental). A new optional, non-attesting beacon node runs inside the Nethermind process. It checkpoint-syncs, follows and validates the consensus chain, and drives the execution layer through in-process Engine API calls, so an RPC full node can run without a separate consensus client. It holds no validator keys and never attests or proposes. Fulu and Gloas are supported, with PeerDAS custody (BeaconChain.CustodyGroupCount, default 4) and an optional Beacon API on port 5052 (BeaconApi.Enabled=true). Networks: Mainnet, Sepolia, Hoodi, Gnosis and Chiado. Off by default (BeaconChain.Enabled=false); it stands down as soon as an external consensus client calls the Engine API. Not yet validated for mainnet-scale memory or heavy RPC workloads, so keep an external consensus client on busy RPC nodes. (#13611)
  • Read-only MCP server plugin. Mcp.Enabled=true exposes 27 bounded, read-only tools over Streamable HTTP at /mcp (default 127.0.0.1:8555): chain status, blocks, transactions and receipts, transaction explanation, tracing and simulation, token and ENS lookups, gas estimates, proofs and event decoding. A non-loopback bind requires TLS, a bearer token file and Mcp.AllowedHosts. (#13978)
  • Trie node buffer on the flat backend. Flat nodes keep trie nodes in an append-only, pointer-linked record buffer instead of the trie node cache, so commits and reads walk parent to child without hashing or hashtable lookups. In mainnet replays: CPU per block −18%, allocations −35–40%, GC pause time −60%, MGas/s +4–14%. FlatDb.TrieCacheMemoryBudget no longer has an effect; the new FlatDb.CompressedNodeRecordBufferMemoryBudget (500 MiB) bounds the compacted generations. (#14952)
  • Resumable flat snap sync. An interrupted flat snap sync resumes from a checkpoint (saved every 5 minutes and at graceful shutdown) instead of wiping the flat DB and starting over. (#14989, #15423, #15401)
  • Archive proofs from the snap pivot. A snap-synced flat node with Pruning.Mode=None keeps state history from the sync pivot on and serves historical eth_getProof from there, without a sync from genesis. (#14757)
  • Opt-in trie node log. FlatDb.TrieNodeLogEnabled=true puts trie node writes in a deduplicating log in front of RocksDB: on a mainnet replay, wall time −14%, process bytes written −42%, RocksDB WAL −96%. With the log on, back up flat together with flatTrieNodeLog, or set FlatDb.TrieNodeLogDrainOnShutdown=true. (#14140, #15237)
  • Receipts store their transaction hashes. Receipt and log queries no longer read block bodies: eth_getTransactionReceipt −21%, eth_getBlockReceipts −19%, selective eth_getLogs over 1k–10k blocks −29–30%, node CPU −43% on the same load. See the upgrade note above. (#14633, #14794, #15353)
  • JSON-RPC, P2P and health checks start while leftover blocks are processed. After a restart with downloaded but unprocessed blocks, the node no longer keeps RPC, health checks, P2P and sync down until the backlog is done (days on some archive nodes); the Engine API answers SYNCING meanwhile. (#15054)
  • Fewer stop-the-world GC pauses. The compacting decommit that ran every ~5 minutes now runs only under memory pressure (Merge.DecommitMemoryLoadPercent, default 70%) or about once an hour. On 8 vCPU / 32 GB mainnet RPC nodes: request p99 −20%, p99.9 −40%, requests slower than 1 s −75%, for about 1 GiB more RSS. (#14718)
  • Faster read RPCs across the board. Transaction and receipt lookups read one transaction and one receipt instead of the whole block (85 µs → 26 µs), eth_getLogs writes JSON straight from receipts and tests header blooms without decoding headers (3.5–4× faster scans), eth_getBlockReceipts allocates −86%, eth_feeHistory misses −90%, and consecutive eth_call/eth_estimateGas/eth_createAccessList batch items run concurrently (50 calls 5.05 → 1.79 ms). (#14769, #14763, #14790, #14826, #14746, #14761, #14845 and others)
  • Faster tracing. debug_traceCall with prestateTracer −7–18% per change on swap traces; on flat-history archive nodes a per-block as-of cache makes debug_traceBlockByNumber take 0.38–0.49× its previous time, and parallel block traces serialize outside the lock (−17%). Batched native-tracer debug_traceTransaction calls run concurrently (−46% warm). (#15169, #15182, #15183, #15307, #15459, #15128)
  • Geth-compatible JSON-RPC and tracing. A broad parity pass against Geth and the execution-apis spec: Geth-style 32602 argument errors, 32601 for disabled namespaces, no responses to notifications, 4444 for pruned history, call-object type inference, eth_getProof/eth_createAccessList/eth_simulateV1 spec alignment, and JavaScript, struct-log, callTracer and prestateTracer output aligned with Geth v1.17. Several of these change output; see Breaking changes. (#15090, #15583, #15609, #14212, #14987, #13758, #13807, #15425, #15492 and others)
  • New RPC methods and modules. Erigon-compatible overlay module (overlay_callConstructor, overlay_getLogs) (#15181); Otterscan ots module on TraceStore with an optional address index (#15343, #15347); debug_storageRangeAt, debug_traceBadBlock and debug_config (#15061, #14997, #9849); snap sync progress in eth_syncing (#15176).
  • Cheaper sync serving. Headers, block bodies and receipts are served from their stored encoding (192 headers 94 µs → 23 µs; 128 cold bodies 13.8 → 0.3 ms; eth/69 receipts −91–94%), flat snap range requests take 85 ms instead of 632 ms, and received bodies and receipts are stored without re-encoding. (#15910, #15879, #15887, #15896, #15521, #16025)
  • DotNetty out of the P2P message layer. Every discv4, RLPx, eth (62–72), snap and XDC serializer now works on spans; wire bytes are unchanged. Plugins with custom message serializers must port them. (#14728 and follow-ups)
  • Built-in configs ship inside the binary, and Init.MemoryHint is gone. c mainnet loads an embedded config; release packages and images no longer contain configs/. Database caches use fixed defaults (Db.SharedBlockCacheSize 512 MiB). (#15171, #15154)
  • Windows on ARM64 release builds (win-arm64). (#14572)
  • zkVM. New ZKsync Airbender guest, a trusted-input guest variant for every zkVM with the Nethermind.TrustedInput plugin (trustedinput_getInput), parallel execution-witness capture, and another large round of ZisK, SP1 and OpenVM guest optimisations. (#15278, #15427, #14690, #15077 and others)

Performance

  • Flat trie node buffer: CPU per block −18%, allocations −35–40% (13,967 → 8,583 KiB), GC pause time −60%, MGas/s +4–14%; 83–87% of main-block node reads served in place. (#14952)
  • Trie node log (opt-in): 87.7k-block mainnet replay 35m26s → 30m29s, bytes written 622 → 362 GiB, WAL 93.8 → 3.8 GiB, compaction writes 387 → 177 GiB. (#14140)
  • Block processing: Nethermind.Numerics.Int256 1.15 (DIV −42–58%, MOD −40–56%, Barrett MULMOD for BN254/secp256k1/P-256) gives 1173 → 1194 MGas/s end to end (#14985, #15866, #15990). Async flat-state prefetch for blocks with known keys (BAL blocks 13.9 → 8.4 ms) (#14886, #15030). Parallel BAL execution keeps parent-state readers per block (−35–39% median block time at 512 txs) (#14889, #14969). Bloom filters per snapshot layer (#15282). More trie warmers on machines under 16 cores (#14773). Call frames cached to depth 16, ADDMOD −24%, MULMOD −18%, power-of-two EXP computed directly (#15767, #15790, #15871).
  • Precompiles: BN254 pairing checks G2 subgroup membership once (34 pairs 16.6 → 11.2 ms) and caches validated G2 points and repeated Miller-loop pairs (Groth16 with a fixed alpha/beta pair −15%) (#14816, #15886, #15892). MODEXP inverses for six well-known primes −61–64% (#15779). BLS12-381 MSM skips zero-scalar multiplications (#14815).
  • Engine API: engine_getPayloadBodiesByRange 1,024 blocks 12.5 → 4.6 ms and 520 MB → 0.46 MB allocated (#15973); header write and sender recovery moved off the newPayload critical path (#14466, #14956, #14957); duplicate transaction gossip 444 → 0.9 B per tx per peer (#14682).
  • Flat restart: reloaded persisted snapshots are compacted at startup (peak read depth 142–158 → 6–7; CPU per eth_call −8% over the first 25 minutes). (#15858)
  • State commits: a small transaction after a heavy one commits 15–22% faster; narrow transactions after a large reverted one 75–91% faster; flat snapshot persistence allocates 3.42 MB → 394 KB. (#15856, #15880, #15953, #15963)
  • RocksDB: Linux GetMany prefetches batches of 16+ uncached keys in parallel (256 keys 43.0 → 12.0 ms) (#16018); reused iterators on flat history (−26–54% per lookup) (#14716).
  • JSON-RPC: eth_getTransactionByHash 85.2 µs / 64 KB → 25.8 µs / 4.4 KB on a 150-tx block (#14769); senders from stored receipts instead of ecrecover (#14763, #14880); eth_getLogs 5-block query 38.7 → 3.0 KB allocated, ordered-chunk scans −49–75% (total CPU on long ranges is 7–30% higher), bloom scan −62% allocations (#14790, #14824, #15882, #15979); eth_simulateV1 with 1,000 inner calls −40–60% (#15935); subscriptions serialized once per payload (500 receipt subscribers 5.8 → 1.2 ms) (#14881); txpool_content streamed (#14963); WebSocket frames coalesced (#14964).
  • Tracing: native block traces stream per transaction (~1.3 MB less peak memory on a 40-tx block) (#14764); struct-log storage maps pooled (debug_traceBlockByNumber 125 → 53 KB) (#14781); single-transaction traces recover only the senders they execute (cold trace_transaction CPU 30 → 10 ms) (#15375); log index builder reads only addresses and topics (−67% allocations) (#15947).
  • zkVM guests: dozens of guest-only optimisations across ZisK, SP1 and OpenVM with byte-identical outputs (OpenVM ecrecover via GLV/wNAF; ZisK ELF −4.17%; BAL encoding −1.26% cost). (#14417, #14870, #15820 and others)

⚠️ Breaking changes

If you run a node (config and startup)

  • .NET 11 runtime. See the note at the top. If you build images on top of the Nethermind image, check them against the .NET 11 runtime. (#14147)
  • Built-in configs are embedded; configs/ is no longer shipped in release packages or Docker images, so editing or mounting configs/mainnet.json has no effect. -config / NETHERMIND_CONFIG resolves an existing file path, then <--configs-dir>/<name>[.json], then the built-in config of that name; otherwise startup fails and lists the built-in names. The .cfg fallback (c mainnet.cfg) is removed. A custom file is not layered on a built-in config; it must contain every setting you need. Migration: pass a full file with -config /path/to/file.json, use -configs-dir <dir> --config <name>, or keep the built-in config and override single values with CLI options or NETHERMIND_* variables. (#15171)
  • Init.MemoryHint and Db.SkipMemoryHintSetting have no effect and log a deprecation warning. Memory defaults are fixed at what the old 1 GB mainnet hint produced: Db.SharedBlockCacheSize 512 MiB, Db.StateDbRowCacheSize 128 MiB, Network.NettyArenaOrder 11. The glibc malloc setting (Init.DisableMallocOpts to skip) now applies on every chain. Migration: remove the old keys; size caches with Db.SharedBlockCacheSize / Db.StateDbRowCacheSize. (#15154, #15338)
  • Receipts storage format (Receipt.StoreTxHashes=true by default) cannot be read by older versions; see the note at the top. (#14633)
  • The log index is rebuilt once on first start (storage version 1 → 2) on nodes with LogIndex.Enabled=true. It now indexes only canonical blocks up to the finalized block and reverts reorged blocks. The rebuild rereads retained blocks and receipts and costs substantial time, CPU and disk I/O; eth_getLogs falls back to slower scans until it catches up. Migration: plan for the rebuild window; if startup fails with LogIndexStateException, delete the named directory or set LogIndex.Enabled=false. (#15649, #15549, #15678)
  • History and BAL retention defaults follow the chain’s serving window. With History.Pruning=Rolling and no History.RetentionEpochs, the node keeps the chain’s minHistoryRetentionEpochs plus one epoch (33,025 on mainnet, 14,300 on Sepolia) instead of 82,125, so the first pass prunes more history. Block access lists are pruned by default to minBalRetentionEpochs (14,299 epochs, was 3,533) whatever History.Pruning is, archive nodes included; an explicit History.BalRetentionEpochs below 14,299 fails at startup. Migration: set History.RetentionEpochs=82125 to keep the old window and History.BalRetentionEpochs=4294967295 to keep all BALs. (#14622, #14609, #14915)
  • Finalized BAL catch-up is off by default (Sync.ReconstructFinalizedStateFromBlockAccessLists true → false); a node that is behind executes finalized blocks again. Migration: set it to true to keep the 2.2 behaviour. (#14976)
  • FlatDb.Layout defaults to Auto. A new flat DB is created as FlatInTrie below 16 GB of memory available to .NET (75% of a container limit), else Flat; the choice is pinned in flat/layout.marker. Existing DBs are unchanged. Migration: if you run a FlatInTrie DB, keep FlatDb.Layout=FlatInTrie set; to force Flat on a new low-memory node, set FlatDb.Layout=Flat. (#15699)
  • Pruning.Mode=None on the flat backend means archive: it turns on FlatDb.HistoryEnabled and, for snap-synced nodes, archive proof build/serve, which grows the flatHistory database. Migration: set FlatDb.HistoryEnabled=false to keep the previous behaviour. (#14757)
  • Flat-DB side directories follow Init.BaseDbPath. persistedSnapshot, flatTrieNodeLog and verify-trie resolve like the database paths. Only nodes run without -datadir/-db-path from a working directory other than the binary directory are affected. Migration: move those directories next to the databases before upgrading, or set -datadir. (#15237)
  • -db-dir now applies when -data-dir is also set (it was ignored). A node with a database at the old path and none at the new one keeps the old path and warns. Migration: move <data-dir>/nethermind_db/<network> to <db-dir>/nethermind_db/<network> while stopped, or drop -db-dir. (#15569)
  • Startup fails when a listener cannot bind (P2P, discovery, JSON-RPC, WebSocket, Engine API), instead of running without it. The error names the port and the options to check. (#14571)
  • New default limits on JSON-RPC. eth_call/eth_estimateGas/eth_createAccessList run at most 4 × logical processors at a time (excess calls queue up to JsonRpc.Timeout); eth_simulateV1 takes at most 10,000 calls per request and 5,000 per block (38026); eth_subscribe returns 32005 above 1,000 subscriptions per connection or 10,000 per node; unauthenticated HTTP callers that read responses slower than 64 KiB/s after 10 s, or exceed JsonRpc.MaxUnsentResponsesSize/MaxUnsentResponsesPerAddress, are disconnected. Migration: raise a setting or set it to 0; behind a reverse proxy all callers share one address, so consider raising JsonRpc.MaxUnsentResponsesPerAddress. (#15995, #15966, #15984, #15997)
  • WebSocket messages obey JsonRpc.MaxRequestBodySize (default 30 MB, or the URL’s own limit) like HTTP, instead of 128 MiB on every connection; engine URLs keep the 128 MiB cap. (#14554, #14526)
  • WebSocket handshakes are checked against JsonRpc.CorsOrigins on every WebSocket port, Engine API included. The default changes nothing; handshakes without Origin are accepted. Migration: add the origins your WebSocket clients send. (#15155)
  • parity_setEngineSigner, parity_setEngineSignerSecret and parity_clearEngineSigner are served only on authenticated (JWT) URLs and IPC. (#15999)
  • Low-disk-space monitoring also covers database directories symlinked to another disk, including the startup wait and the health check. (#16071)
  • Release zips are no longer signed one by one. A release ships SHA256SUMS and SHA256SUMS.asc instead of a .zip.asc per package, plus a build-provenance attestation per package. The signing key is unchanged. Migration: gpg --verify SHA256SUMS.asc SHA256SUMS, then sha256sum -c --ignore-missing SHA256SUMS. (#14932)
  • Discovery.Bootnodes is removed (ignored, with a warning). Migration: use Network.Bootnodes. (#15167)
  • Log and metric changes: the sixteen per-precompile call counters are replaced by one labelled metric (#12967); nethermind_reorganizations is now incremented (#15422); RocksDB TotalReads also counts native-slice reads (#15351); JSON-RPC request parameters are no longer logged and JsonRpc.MaxLoggedRequestParametersCharacters is deprecated (#14301); debug-level JSON-RPC request logs include the caller address (#14316); a few AuRa and payload-cleanup lines move to Debug (#15226, #15368). Update dashboards and log alerts.

If you integrate over JSON-RPC / Engine API

Pruned history and errors:

  • 4444 Pruned history unavailable instead of null from eth_getBlockByHash/ByNumber, transaction-by-block, transaction-count, uncle methods, eth_getBlockReceipts and eth_getTransactionReceipt when the node no longer serves the block; unknown hashes and blocks above the head still return null. earliest resolves to the lowest block the node serves. eth_getBlockReceipts fails instead of returning [] when receipts are missing. (#15609, #15796, #15857, #15596, #15693)
  • JSON-RPC 2.0 conformance: a disabled namespace returns 32601 (was 32600); non-array params return 32602; notifications (no id) get no response; true/false/object/array ids get 32600; handler errors no longer carry the exception chain in data (Engine API included); a revert without output sends "data":"0x". 32602 errors name the argument in Geth’s wording. Migration: update clients that matched 32600 for disabled namespaces or parsed error.data. (#15583, #15722, #15585, #15584, #15500, #15090, #15093)
  • admin_nodeInfo uses Geth’s key names again (listenAddr, protocols.eth.genesis, head, network). (#15697)

Calls, filters and simulation:

  • The fields of a call object pick its transaction type; type is ignored for 0x0–0x4. Signing picks the envelope from the fields (a gasPriceonly request signs as legacy). Fields the block’s fork lacks are rejected with 32000. A lone maxFeePerBlobGas without blobVersionedHashes is rejected in eth_call, eth_estimateGas, eth_createAccessList and trace calls. (#14212, #14663, #14684)
  • eth_getProof echoes 63–64-digit storage keys as 32 bytes, returns one entry per requested key in order (duplicates included), and takes at most 1,024 keys. (#14987)
  • eth_createAccessList returns addresses and keys in ascending order, lists only addresses an opcode names, and rejects pre-Berlin blocks with 32000. (#14910, #15073, #15086)
  • totalDifficulty is omitted on every block of chains that merge (mainnet included). (#15066)
  • Log filters: an omitted fromBlock means latest (was earliest); more than four topic positions return 32602; eth_getFilterLogs with an unknown id returns 32000 filter not found; eth_uninstallFilter returns false for an unknown id. Migration: set fromBlock explicitly. (#14686, #14545, #14914, #15261)
  • Subscriptions: transactionReceipts sends one array per block; an empty transactionHashes list means no filter; subscription ids have no leading zeros. (#14978, #15333)
  • eth_simulateV1 / overrides: unknown or case-duplicate override keys and difficulty return 32602; beaconRoot block overrides are rejected on eth_call/eth_estimateGas/debug_traceCall and applied in eth_simulateV1; an account override with both state and stateDiff is rejected; logIndex counts only returned logs and the request gas cap is depleted per call. (#14707, #14805, #14712, #15493, #14625, #14611, #14618)
  • eth_sendTransaction fills an omitted gas and fees as Geth does, and a request with its own signature runs as the signer. eth_gasPrice is floored at the head base fee plus Blocks.MinGasPrice. txpool_inspect summaries follow Geth’s format. parity_netPeers lists protocols.eth only after Status. (#15062, #15823, #15681, #15685, #15838)
  • Batches: consecutive eth_call/eth_estimateGas/eth_createAccessList items run concurrently (responses stay in order); set JsonRpc.BatchProcessingConcurrency=1 for sequential execution. (#14845)

Tracing:

  • trace_* follows the execution-apis trace spec: "result": null for failed frames, reward and suicide records; null transaction fields on rewards; op on vmTrace operations; 32001 for unknown or noncanonical blocks. (#14888, #15017)
  • callTracer reports gasUsed == gas for a frame that halts on an error other than REVERT, as Geth, Erigon, Besu and Reth do. (#14687, #14823)
  • The opcode logger’s limit counts opcode steps, not bytes, in debug_traceTransaction, debug_traceBlockByNumber, debug_traceBlockByHash and raw debug_traceBlock. (#15264, #15592)
  • Native tracer block traces stream by default; a failure part-way through leaves the entries already written followed by an error entry. Use streamMode: false for an all-or-nothing response. JavaScript tracer failures are returned per transaction as {txHash, error}. (#14764, #14383, #14921)
  • Error codes and text follow Geth: block 0x… not found, tracing failed: <reason>, genesis is not traceable, pending block is not available; invalid native tracer config returns 32000. (#15954, #15733, #15608, #14376, #14717, #14719)
  • prestateTracer includes codeHash, writes cleared code as "0x" in diff mode, and deletes the self-destructed account instead of the beneficiary. JavaScript tracers: ctx.gasPrice is the effective tip, ctx.error carries Geth text. Struct logs omit storage on a failed SSTORE. (#13758, #14580, #15492, #15425, #15465)
  • debug_traceCall / debug_traceCallMany apply state overrides after the block’s pre-transaction system calls, as eth_call does. (#15182)

Engine API:

  • engine_getClientVersionV1 returns only Nethermind’s entry (#14705). engine_forkchoiceUpdatedV3+ with a missing forkchoiceState returns 32602 (#15515); a null withdrawal in payload attributes returns 38003 (#15516); engine_getBlobsV2/V3 return null while the node is behind the head (#15507); engine_getPayload answers at once with the best block so far (#15272). SSZ-REST maps 32602 to 422 invalid-body (#14806).

If you build against Nethermind (plugin / library authors)

These are source-breaking changes: rebuild your plugins against 2.3.0 for net11.0. Preview reference assemblies are published to int.nugettest.org from release/X.Y.Z branches (#15752).

  • RLP core replaced by FluentRlp. The Rlp wrapper object, RlpStream helpers, old readers/writers and RlpException are removed; malformed input throws RlpReaderException. Migration: port decoders to the FluentRlp RlpReader/RlpWriter. (#15387, #15458, #15805)
  • Message serializers are span-based. IZeroMessageSerializer<T> and related types are removed; AddMessageSerializer requires IMessageSerializer<T>; ZeroPacket.Content is Memory<byte>. ITxPoolPeer.SendNewTransactions takes ReadOnlySpan<Transaction>. (#14728 and follow-ups, #14698)
  • Nethermind.Abi is replaced by the span-based ABI codec; contract wrappers use typed ContractFunction<TArgs, TResult> signatures and throw ContractException. (#15263)
  • Nethermind.Libp2p 1.2.0: ITopic.OnMessage receives the sender’s PeerId, and AddAppLayerProtocol<T>() is AddProtocol<T>(). (#15931)
  • ITxPool, ITxSender and ITransactionComparerProvider are resolved from DI (#14253); Nethermind.Monitoring is a plugin (#15174); IRewardCalculatorSource is removed (#15165).
  • Tx filters take an in TxFilterContext (#15442); ShardBlobNetworkWrapper.Proofs is one byte[] (#15981).
  • Flat persistence and tree visitors: IPersistenceReader, IWriteBatch and IStateReader.RunTreeVisitor signatures change; StorageRangeVisitor and TreeDumper are INodeRecordVisitors (#15875, #15953, #15735, #15763). RocksDB is opened by RocksDbFactory (#15407). IWorldState.ApplyBal takes a CancellationToken (#14864).
  • Sync: ISyncServer.FindHeaders → FindHeadersRlp, ISyncServer.Find removed. (#15910, #15896)
  • JSON-RPC: JsonRpcContext is not IDisposable and is thread-static; IJsonRpcProcessor.ProcessAsync takes ReadOnlyMemory<byte>; ExecutorBase<,,> is removed. Plugins can decorate IJsonRpcService. (#14788, #14929, #14925, #15009)
  • Precompile metrics are counted by a MeteredPrecompile decorator; do not increment counters in custom precompiles. (#12967)
  • Result.Fail(null) throws. DebugRpcModule takes an ICodeInfoRepository. (#16010, #14834)
  • nethtest: -parallelExecution is replaced by -bal-sequential; -forkAlias takes one alias per option. (#15463)
  • zkVM guest release assets are renamed stateless-validator-nethermind-<zkVM>-v<version> (raw .elf plus .vk) with one signed SHA256SUMS. (#14931, #15173, #15394)

Consensus / protocol

  • Bundled mainnet and Sepolia genesis files are now geth-style (foundation.json, sepolia.json), with the same genesis hashes, allocations and fork schedules. Tools that parse them as Parity chainspecs must switch. (#14653)
  • Stricter geth-style genesis loading: a missing pre-merge fork block means the fork never activates; out-of-order forks fail to load; missing petersburgBlock defaults to constantinopleBlock; a zero or missing gasLimit becomes 4,712,388 (changes the genesis hash of such files to match geth’s). Migration: set every pre-merge fork explicitly in custom genesis files and check the genesis hash. (#15553, #15558, #15712, #15713, #15714)
  • A chainspec that enables Prague without depositContractAddress fails to load. No bundled chainspec is affected. (#14517)
  • Typed transactions with y_parity outside 0/1 are rejected even when chain-ID validation is off; headers must carry withdrawalsRoot exactly when EIP-4895 is active. (#14713, #14710)
  • Block access lists: indices past txCount + 1 reject the block; a list rejected during parallel validation rejects the block without sequential re-execution. (#14937, #14836)
  • eth/72 Cells use blob-major order (ethereum/devp2p#291); not wire-compatible with the previous order. (#15439)
  • A peer that pushes a blob transaction in a Transactions broadcast is disconnected, as EIP-4844 requires. (#14563)
  • XDC Apothem activates Gas2500x at block 83,600,000; XDC testnet nodes must upgrade. (#15951)
  • Prototype EIPs (not scheduled on any public network): EIP-8250 per-key cost, EIP-8298 SETCODEFROM moves to 0xa7, EIP-8141 MAX_VERIFY_GAS 300,000, EIP-8151 ecRecover cost, EIP-7906 POST_TX → ASSERT. Devnets must upgrade all Nethermind nodes together. (#14600, #14791, #14645, #15764, #15196, #14827)

Default and configuration changes

Diffed I*Config.cs defaults and the bundled configs between 2.2.2 and 2.3.0.

Changed defaults

Key 2.2.2 2.3.0 PR
Sync.ReconstructFinalizedStateFromBlockAccessLists true false #14976
FlatDb.Layout Flat Auto #15699
History.RetentionEpochs 82125 unset → chain minHistoryRetentionEpochs + 1 #14622
History.BalRetentionEpochs 3533 unset → chain minBalRetentionEpochs (14299) #14609, #14915
Db.SharedBlockCacheSize 256 MiB 512 MiB #15154
Db.StateDbRowCacheSize unset (from memory hint) 128 MiB #15154
Network.NettyArenaOrder -1 (from memory hint) 11 #15154
TxPool.HashCacheSize 524288 (not read; effective 131072) 131072 (now read) #15506
LogIndex.Max{Receipts,Aggregation,Compression}Parallelism ProcessorCount / 2 ProcessorCount / 4 #15053
FlatDb.TrieWarmerWorkerCount (-1) 3/4 of cores max(3/4 of cores, 1.5 per core up to 12) #14773

New settings

Key Default Purpose PR
BeaconChain.*, BeaconApi.* Enabled=false Embedded non-attesting consensus layer and Beacon API (port 5052) #13611
Mcp.* Enabled=false, 127.0.0.1:8555 Read-only MCP server #13978
Receipt.StoreTxHashes true Store transaction hashes with compact receipts #14633
FlatDb.CompressedNodeRecordBufferMemoryBudget 500 MiB Trie node buffer compacted generations #14952
FlatDb.TrieNodeLog* (10 keys) TrieNodeLogEnabled=false Opt-in trie node log #14140
FlatDb.MigrateFromPruningTrieState / MigrationChunkNodes false / 1000 Online HalfPath → flat migration (experimental) #15638
Sync.SnapResume (hidden) true Resume an interrupted flat snap sync #14989
History.CompactBlocksOnPrune false One-time blocks-DB compaction after UseAncientBarriers pruning #15242
Merge.DecommitMemoryLoadPercent / CollectionsPerUnconditionalDecommit 70 / 300 GC decommit under memory pressure only; 0 restores the old behaviour #14718
JsonRpc.BatchProcessingConcurrency 4 Concurrent call-type batch items #14845
JsonRpc.EthCallMaxConcurrentRequests 4 × logical processors Concurrent eth_call/eth_estimateGas/eth_createAccessList; 0 = no limit #15995
JsonRpc.MaxSimulateCallsCap / MaxSimulateCallsPerBlockCap 10000 / 5000 Calls per eth_simulateV1 request / block #15966
JsonRpc.MaxSubscriptionsPerConnection / MaxSubscriptions 1000 / 10000 Subscription limits; 0 = no limit #15984
JsonRpc.MinResponseDataRate / MaxUnsentResponsesSize / MaxUnsentResponsesPerAddress 64 KiB/s / 512 MiB / 8 Slow-reader handling for unauthenticated HTTP #15997
JsonRpc.MaxUnsentWebSocketResponseSize 64 MiB Unsent WebSocket response budget #15996
JsonRpc.AllowedHosts / EngineAllowedHosts * Accepted Host headers (like Geth --http.vhosts) #15059
JsonRpc.IpcEnabledModules null (falls back to EnabledModules) Separate module set over IPC #14318
JsonRpc.OverlayMaxBlockRange 1000 Blocks one overlay_getLogs call re-executes #15181
TraceStore.OtsModuleConcurrentInstances 2 ots module instances #15343
TraceStore.AddressIndex* AddressIndexEnabled=false Trace-address index for ots account history #15347
TraceStore.RocksDbOptions / AdditionalRocksDbOptions "" RocksDB options for the TraceStore DB #15822
TrustedInput.Enabled / CacheSize / OutputDirectory false / 64 / null zkVM trusted-input capture #15427
Init.MaskSensitiveData / Init.MaskIpsInLogs false / false Mask identities, addresses and paths in logs #14301, #15168
Blocks.PreWarmInFlightReadAhead* (hidden) true / 32 Read-ahead for in-flight transactions #14693
Blocks.DumpProducedBlocks (hidden) None Dump traces and RLP of produced blocks #14342
TxPool.FrameTx* — EIP-8141 prototype pool limits (FrameTxMaxCodeDependencies, FrameTxPeerSimulationFairShare, …) #15409, #14414, #12536

Deprecated (accepted, no effect, logs a warning): Init.MemoryHint, Db.SkipMemoryHintSetting (#15154, #15338); FlatDb.TrieCacheMemoryBudget (#14952); JsonRpc.MaxLoggedRequestParametersCharacters (#14301); Sync.FastBlocks (#15338). Removed keys: Discovery.Bootnodes (#15167).

Bundled configs: embedded in the binary (#15171); Init.MemoryHint and Sync.FastSyncCatchUpHeightDelta removed, Network.ActivePeersMaxCount renamed to MaxActivePeers (#15154, #15338, #15313); mainnet_archive / op-mainnet_archive set the DB caches directly; new giwa-sepolia config; sync pivots refreshed for mainnet, Gnosis, Chiado, Linea, OP Superchain, Worldchain, XDC and others; OP Superchain chainspecs refreshed. Mainnet and Sepolia genesis files are geth-style, Hoodi bootnodes live in its chainspec, and Sepolia sets minHistoryRetentionEpochs to 14,299 (#14653, #14622).

Sync, database & state

  • New flat DBs on machines with less than 16 GB of memory available to .NET are created as FlatInTrie (FlatDb.Layout=Auto); existing DBs keep their layout. In a mainnet replay FlatInTrie used about 3.8 GiB less RSS and ran within 2–3% of Flat. (#15699)
  • Experimental: online migration from HalfPath to flat (FlatDb.MigrateFromPruningTrieState, off by default). The trie DB is kept until the copy completes, and reads of state not yet copied fall back to it; progress is in the HalfPathMigratedNodes and HalfPathFallbackWalks metrics. Back up the database before trying it on a production node. import-flat-db remains the supported path; it now writes nodes on the traversal threads and exposes metrics. (#15638, #15631, #15499)
  • Flat snap sync resumes after a restart from checkpoints saved every 5 minutes and at graceful shutdown. When snap sync wipes flat state, each column is dropped with one range deletion. (#14989, #15423, #15401, #15689)
  • With FlatDb.EnableLongFinality, a clean shutdown persists the in-memory unfinalized tail instead of re-executing it on restart. (#14900)
  • Snap sync: proof-only StorageRanges replies are verified as proofs of absence; range proofs that stop at an unexpanded boundary are rejected; eth_syncing code counters count only distinct stored bytecodes. (#14547, #15431, #15654)
  • Forward sync matches BlockBodies replies by content and reuses validated header windows; full sync downloads block access lists for parallel execution and no longer stalls when a peer withholds an optional BAL. (#14556, #14986, #15225, #15378, #15215, #15658)
  • History.Pruning=UseAncientBarriers prunes when the CL supplies the pivot; BAL fast sync skips heights below the retention window. (#15310, #14609, #14915)
  • Flat state fixes: slot reads inside compacted persisted ranges after a storage-clearing self-destruct, re-funded self-destructed contracts on pre-EIP-6780 chains, storage of accounts removed during healing, and stateDiff overrides of 2+ slots on historical calls. (#15812, #15869, #15959, #16000, #16017, #15123)
  • Persisted snapshot catalog rows are keyed like the per-tier buckets, fixing stale state after a restart. (#15070)
  • Full pruning with several workers no longer hangs on a missing node; disposing a RocksDB snapshot waits for in-flight reads; TrieStore releases its locks when persisting fails. (#15986, #16028, #14542)
  • Log index: target follows the tree sync pivot, backfill parallelism halved and validated, forward backfill no longer stops with buffer size is too small. (#15414, #15053, #15234, #15320)
  • Receipts with a log over 4 MiB are readable again. Receipt transaction-hash backfill resumes correctly after a restart. (#15976, #15591)
  • Free-disk-space monitoring starts before the block tree review, and a shutdown during the startup wait ends it. (#14292, #15312)
  • Deleting an invalid block deletes every descendant; a block lookup racing debug_deleteChainSlice no longer re-caches the deleted block. (#15529, #15531, #14797, #15241)
  • Era1/EraE: blocks are validated against their local parent before execution; re-export merges manifests, incomplete epoch files are replaced, header numbers must match their slot, and auto-ranged remote imports stop at the real end. New tools/EraManifest. (#14708, #15092, #15532, #15651, #15523, #15509, #15811, #14317)
  • RocksDB 11.13.2 (Nethermind.RocksDbBindings 11.13.2.218), tested for backward and forward database compatibility. (#15366, #15611, #15985)
  • Snapshot download (Init.Snapshot) works with the default relative Init.BaseDbPath, uses parallel connections against R2 hosts, and retries HTTP 408. (#14524, #15164, #15490)

JSON-RPC & tracing

  • New Erigon-compatible overlay module: overlay_callConstructor and overlay_getLogs (opt-in). (#15181)
  • New Otterscan ots module on TraceStore (ots_getApiLevel, ots_searchTransactionsBefore/After, ots_traceTransaction) with an optional address index. (#15343, #15347)
  • New debug_storageRangeAt, debug_traceBadBlock, debug_config, and a file argument for debug_getBadBlocks. (#15061, #14997, #9849, #14343)
  • eth_syncing reports snap progress (warpChunksAmount/warpChunksProcessed and Geth’s snap counters) and a real startingBlock. (#15176)
  • New JsonRpc.AllowedHosts / EngineAllowedHosts (like Geth -http.vhosts / -authrpc.vhosts) and JsonRpc.IpcEnabledModules, including Engine API over IPC only. (#15059, #14318)
  • eth_simulateV1 fixes: post-merge blocks on terminal parents, nonce resolution after EIP-7702 authorizations, side-chain bases, London zero base fee encoding, input over data. (#14665, #14696, #14702, #15224, #15680, #15682, #15725, #15744)
  • Call fixes: BLOCKHASH under a number override, prevRandao overrides on pre-merge blocks, self-destruct storage wipe in eth_call, EIP-7702 delegation only when the fork enables it, SLOTNUM under time overrides, EXTCODESIZE/EXTCODECOPY on moved precompiles. (#15620, #16064, #14550, #14569, #15594, #15988)
  • JavaScript tracers: Geth-compatible context, costs, faults and SELFDESTRUCT reporting; V8 heap limit fixed instead of growing; request timeout also covers tracer creation and setup; deeply nested results no longer crash the node. (#15495, #15617, #15679, #15732, #15834, #15636, #15669, #15482)
  • debug_standardTraceBlockToFile records match Geth; debug_intermediateRoots stops at the first invalid transaction and returns the roots so far. (#15677, #15715, #15728, #15729)
  • Native tracer options ignore JSON null; fractional timeout follows Go rounding; buffered block traces enforce a per-transaction timeout. (#14583, #14586, #14714, #14587)
  • eth_feeHistory accepts a block hash, and its cache no longer grows by one entry per block until restart. (#15837, #16065)
  • Block replays for debug_*, trace_* and overlay methods run on copies of the block’s transactions, so cached blocks keep their signed values. (#15770)
  • trace_filter no longer holds the whole range in memory; large address/topic filters use hash lookups and a k-way union of log-index postings. (#15998, #15512, #15513)
  • The IPC server keeps accepting connections after an accept error; WebSocket responses are written asynchronously; queued module rentals are cancelled when the client disconnects. (#14565, #15996, #15777)
  • debug_executionWitness and engine_newPayloadWithWitnessV* walk witness tries in parallel. (#14690)
  • The generated JSON-RPC docs describe the actual request and response shapes, and documented config defaults match the code. (#14236, #15055, #14582)

Engine API & block processing

  • engine_forkchoiceUpdated returns the payload id at once and builds the empty block in the background; engine_getPayload answers immediately with the best block so far (execution-apis#958); a payload whose first improvement ran before the pool caught up is rebuilt. (#15180, #15272, #15873)
  • engine_getBlobsV1–V4 serve blobs of recently included transactions until finalization (128-block cap), matching reth, Geth and Besu. (#14589)
  • SSZ-REST execution witness: GET /engine/v1/payloads/{payloadId}/witness, witness size bounds from execution-apis#885, and witness endpoints advertised in GET /engine/v1/capabilities. (#14786, #14785, #14722, #14669, #14674, #14806)
  • Block producers include every transaction of a long single-sender queue, and stop at the 12,000-gas minimum under EIP-2780. (#15391, #15358)
  • A late BLOCKHASH prefetch could make the node reject a valid block, and a lighter side block with a known state root could become head unexecuted; both are fixed. (#15275, #16001)
  • A forkchoice head that left the queue without a verdict is processed again; a resent newPayload for a known-invalid child returns INVALID with the right latestValidHash. (#14505, #15021)
  • A zero safeBlockHash/finalizedBlockHash keeps the known safe/finalized blocks, as Geth does. (#15367, #16045)
  • Init.AutoDump diagnostics run in the background and trace only the invalid block; a block valid on rerun is logged and counted in InvalidBlocksValidOnRerun. (#14837)
  • On chains with eip1559BaseFeeMinValue, the base-fee floor applies again; blobSchedule entries at the same timestamp use the last one; chainspec eip7002ContractAddress/eip7251ContractAddress overrides are honoured. (#14497, #14519, #14515)
  • A branch refused before processing is deleted and the best suggested block reset, so later lighter blocks are processed on total-difficulty chains; AuRa validators keep sealing after an inline-rejected block. (#16003, #16002, #16029)

Transaction pool

  • droppedPendingTransactions and PendingTransactionsEvicted cover every pending transaction the pool drops. (#15420, #15494, #15560, #15562)
  • Blob transactions restored from the persistent pool are known after a restart; a full blob transaction rejected for a bad sidecar can be replaced by a corrected copy. (#15309, #15466, #14553)
  • A self-sponsored EIP-7702 transaction can replace the authority’s only pending transaction, as in Geth. (#15686)
  • The transaction hash cache is sized from TxPool.HashCacheSize again. (#14538, #15506)
  • Transaction pool head updates hold the write lock 23–188 µs instead of 1.0–2.3 ms per block. (#15723)

EVM & forks

  • New BogotaDevnet2 fork (bogotaDevnet2Time) and prototype EIPs, all chainspec-gated and not scheduled on any public network: EIP-4758, EIP-5920 PAY, EIP-8360 TCREATE, EIP-8298 SETCODEFROM, EIP-8151, EIP-7709, EIP-8116, EIP-8253 account lists from chain config, and spec updates for EIP-8250, EIP-8141 and EIP-7906. (#15202, #12231, #13930, #13933, #12536, #13959, #12742, #14272, #15175, #14600, #14374, #14827)
  • Nix-built nodes return correct P256VERIFY results (Nethermind.Crypto.SecP256r1 1.2.1). (#15288)
  • Nethermind.MclBindings 4.30.0.119 for BN254, built for an x86-64-v2 baseline. (#14912)
  • BLAKE2 SIMD paths return correct results in 32-bit processes; legacy EIP-155 v no longer wraps for very large chain ids. (#15254, #14649)
  • New experimental frame code runner extension point (NMEVM0001). (#14798)

Networking & protocol

  • discv5 keeps a peer’s ENR only when it advertises the endpoint the packet came from; discv4 keeps a node at the endpoint it was verified at. (#15748, #15781)
  • The local ENR advertises snap when serving it. (#14585)
  • A peer whose fork id names a past fork with a different FORK_NEXT is rejected as stale (EIP-2124). (#14521)
  • Each peer may have at most 32 sync-serve and 32 transaction requests in flight; GetNodeData responses stop at 2 MiB. (#15471, #15467)
  • eth/72: fetch full blobs when too few eth/72 peers can be sampled. (#15179, #15159)
  • GetBlockHeaders by hash follows Geth for non-canonical origins. (#15530)
  • Static peers are ranked by reputation and added once; Init.PeerManagerEnabled=false keeps the peer manager stopped. (#15522, #15579, #16076, #14390)
  • Node stats cleanup keeps running under concurrent inserts (a long-running bootnode could grow to ~6 GB). (#15801, #14950)
  • RLP decoding is bounded by each item’s declared length, as Geth does. (#14594)
  • Nethermind.Libp2p 1.2.0. (#15931)
  • Docker images declare 30303/udp. (#14338)

Platform & packaging

  • .NET 11 (net11.0, C# 15); Docker base aspnet:11.0.0-resolute. (#14147)
  • Windows on ARM64 release builds. (#14572)
  • One signed SHA256SUMS per release plus build-provenance attestations. (#14932)
  • The diagnostic image ships dotnet-counters, dotnet-dump, dotnet-gcdump, dotnet-trace and dotTrace for the target architecture. (#14426, #16056)
  • Clearer config errors: unknown CLI options are named without the help dump (exit code 106); JSON configs read null, [] and integers above Int64 correctly. (#15342, #15709, #15708, #15559)
  • t8n matches Geth’s evm t8n; nethtest follows the EEST client runner interface. (#15048, #15463)
  • New experimental Nethermind.Experimental.Abi package, now the node’s ABI codec. (#14999, #15263)
  • Logging: new Init.MaskSensitiveData and Init.MaskIpsInLogs options; malformed JSON configs report line and position. (#14301, #15168)
  • A failing metric updater no longer stops all timer-fed metrics. (#15650)

L2 & other chains

  • Optimism: eth_call/eth_estimateGas/eth_createAccessList no longer charge the L1 data fee or operator fee; receipts omit operator fee fields when unset; the Jovian base fee no longer mutates the cached parent; sequencers write Holocene extra data on every block; nodes forwarding to a sequencer return correct pending nonces; gossip message ids follow the OP Stack p2p spec. (#15711, #15701, #14537, #14544, #15432, #15446, #15655, #15931, #16040)
  • Taiko: anchorV4WithSignalSlots only on Surge chains; ill-formed proposed transactions are dropped instead of failing forkchoice; PREVRANDAO from the mix hash after Unzen. (#15060, #15964, #15965, #16011)
  • XDC: Apothem Gas2500x at block 83,600,000; committed block tag; plain-number epoch arguments in XDPoS_*; each relayed vote verified once. (#15951, #14581, #14666, #15727)
  • Shutter: cancelled transaction waits complete; per-slot wait entries no longer accumulate. (#15050, #15505)
  • New giwa-sepolia config and chainspec.

zkVM & stateless

  • New Airbender (RV32IM) stateless guest. (#15278, #15799)
  • Trusted-input guest variant for every zkVM, the Nethermind.TrustedInput plugin with trustedinput_getInput, and StatelessInputGen --trusted. (#15427)
  • tests-zkevm v21.0.7; SP1 v6.9.0; correct Sepolia, Gnosis and Chiado deposit contracts in the stateless executor. (#15782, #15125, #14506, #14634)
  • Guest releases follow the ere-guests registry with verification keys and a signed SHA256SUMS. Nethermind.Zkvm.Abstractions lives in the repository. (#14931, #15173, #15671)

Build signatures

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

What’s Changed

Note

Some of the PR's were dropped to fit GitHub size; check the full changelog below.

Full Changelog: https://github.com/NethermindEth/nethermind/compare/2.2.2…2.3.0-rc

New Contributors

Don't miss a new nethermind release

NewReleases is sending notifications on new releases.