Repository navigation
Bump op-reth to v2.10.0 - #35
Merged
Merged
Conversation
…eum-optimism#24090) Co-authored-by: Anton Evangelatov <anton.evangelatov@oplabs.co> Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
… networks (ethereum-optimism#24089) Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…ned accessors (ethereum-optimism#23863) Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…URITY] (ethereum-optimism#23965) Co-authored-by: oplabs-renovate[bot] <310106951+oplabs-renovate[bot]@users.noreply.github.com>
…eum-optimism#24101) Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
ethereum-optimism#23895) Co-authored-by: Josh Klopfenstein <joshklop@oplabs.co> Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
… the interop harness with op-deployer; delete interopgen (ethereum-optimism#23668) Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…reum-optimism#23827) Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…build_pending_env (ethereum-optimism#24077) Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
ethereum-optimism#23669) Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
…um-optimism#24109) Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…hereum-optimism#24112) Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…ge (ethereum-optimism#23817) Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: mintlify[bot] <109931778+mintlify[bot]@users.noreply.github.com>
…ereum-optimism#23586) Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…4017) Co-authored-by: wwared <541936+wwared@users.noreply.github.com>
Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com>
…later forks in WithForkAtOffset (ethereum-optimism#24154) Co-authored-by: wwared <541936+wwared@users.noreply.github.com>
…sm#24176) Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: mintlify[bot] <109931778+mintlify[bot]@users.noreply.github.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…reum-optimism#24301) Co-authored-by: Claude Mythos 5.2 <noreply@anthropic.com>
…4307) Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
… in the kona acceptance job (ethereum-optimism#24245) Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…sm#24308) Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…ereum-optimism#24309) Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…tures (ethereum-optimism#24310) Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…luded (ethereum-optimism#24287) Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…timism#24270) Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
… hook is set (ethereum-optimism#24294) Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
… hook is set (ethereum-optimism#24294) Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: Rodrigo Araújo <rod.dearaujo@gmail.com>
…um-optimism#24327) Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Records the Lagoon activation time in ACTIVATIONS.md.
Merged
Author
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Merges upstream
op-reth/v2.10.0(152 commits on top ofop-reth/v2.9.0) intorelease/op-reth-2.x. To be taggedop-reth-v2.10.0-fh3.1once merged (the tag the release tracker proposed, which follows the naming rule). The Firehose block model is unchanged, so the version staysfh3.1.Before merging
11c7c9cb1906bea6b780f57381a4dc94a13d3d88, the commitrust/Cargo.tomlpins (it will be taggedop-reth-v2.10.0-fh3.1in streamingfast/reth).Merge order: streamingfast/reth#109 first, then this PR, with a merge commit.
What changed
1799683201, Sepolia networks 2026-12-10), pairs OP and Unichain in the interop dependency set, drops retired chains from the built-in registry, caps historicaleth_getProofat 1,024 storage keys, fixes historical proofs after an unwind, and makes subblocks reconnect when the feed stalls. reth moves to ethereum-optimism/rethop-v2.7.0-2. Upstream also removes the op-reth node generics (op-reth!: drop the generics that only ever take one type ethereum-optimism/optimism#24270):OpEvmConfig,OpAddOnsand the payload builder are now concrete types.streamingfast/rethcommit11c7c9cb(Merge op-v2.7.0-2 for op-reth v2.10.0 reth#109, future tagop-reth-v2.10.0-fh3.1), which mergesop-v2.7.0-2intorelease/optimism-2.x.streamingfast/evmv0.39.0-sfpatch is unchanged.firehose-tracerstays at 5.5.1.rust/Cargo.toml: kept our reth block (pins moved to the new commit), took upstream's other changes.rust/Cargo.lock: took upstream's and re-resolved;firehose-tracerre-pinned to 5.5.1.rust/op-reth/bin/src/main.rs: kept the Firehose tracer init before upstream's newCli::<RollupArgs>call.rust/op-reth/crates/node/src/node.rs: took upstream's de-generified node, then put back our two swaps:OpFirehoseEngineValidatorBuilderreplacesBasicEngineValidatorBuilderinOpRpcAddOnsand its bounds, andOpExecutorBuilderbuildsOpFirehoseEvmConfig<OpEvmConfig>. Upstream still bounds the payload builder, RPC and engine onConfigurePostExecEvm, which the wrapper implements, so no other file needed a change.rust/op-reth/crates/evm/src/post_exec_ext.rs: upstream imports plusRecoveredBlockfor ourfirehose_trace_built_blockhook.rust/op-reth/crates/payload/src/builder.rsandCargo.toml: kept the re-trace of derivation (no_tx_pool) blocks;no_tx_poolis now a field.rust/op-reth/crates/node/tests/it/builder.rs:OpEvmConfiglost its_pdfield.Firehose review
--proofs-history.prefetch-threadsonly reads proofs-store pages ahead of persistence. The proofs ExEx still re-executes withexecute_one, which is not traced, including in the new unwind code.OpEngineValidator::validate_block_post_execution_with_hashed_statekeeps the same Isthmus withdrawals root check, now on concrete types, and our engine validator still prints the block only after it passes.ACTIVATIONS.md): op-reth v2.10.0 defines no newOpHardfork. The registry update schedules Lagoon on OP Mainnet and Unichain; all other fork times are unchanged. op-reth no longer has hard-coded OP Mainnet times, so both chains now take them from the registry. The post-exec execution and refund code is only moved in this range, so the Lagoon items recorded in v2.9.0 still apply (see Open questions).extras.rscallscalculate_tx_l1_costandoperator_fee_charge;op-revm/src/l1block.rsis unchanged andhandler.rschanges only the type of the depositmint.mintmoves fromu128toU256(op-alloy,op-revm,kona!: hold the deposit mint as a uint256 ethereum-optimism/optimism#24257). The Firehose mapper does not carrymint; the mint credit comes from the balance change. Deposit receipts now reportblobGasUsed: 0on RPC (op-revm,op-reth: report a zero blobGasUsed on deposit receipts ethereum-optimism/optimism#24229). Block DA accounting already skipped deposits, and our receiptblob_gas_usedis the EIP-4844 blob gas, which is 0 for deposits, so the Firehose block does not change.Dependencies
streamingfast/rethrelease/optimism-2.x(new PR Merge op-v2.7.0-2 for op-reth v2.10.0 reth#109) andstreamingfast/evmrelease/0.x(unchanged, no PR needed). The dependency table in the release tracker is correct.op-reth-v2.9.0-fh3.1).CHANGELOG
Open questions
Lagoon is now scheduled (2027-01-11 16:00:01 UTC on OP Mainnet and Unichain). The Firehose output for Lagoon blocks still has the three open items listed in Bump op-reth to v2.9.0 #32, unchanged by this release, and no Battlefield devnet activates Lagoon:
0x7Dpost-exec transaction without running the EVM, so its trace has no call, and the tracer drops its receipt and leaves its status unknown.OpPostTxExtrasruns for that transaction too, reading the previous transaction's environment. The fee vault change it computes is discarded, but it uses up a block ordinal.GasRefundleaves out the operator fee part of the refund when operator fees are nonzero.I left these unchanged. Someone should compare them with op-geth's tracer and decide the model, and a fix release has to reach every host before the activation date.
Test Execution Summary
Build Status
cargo check --workspace --all-targets: PASSEDrust/:cargo check --workspace --all-targets: PASSEDrust/:cargo build --release -p op-reth --bin op-reth: PASSEDUnit Tests
reth-firehosereth-firehose-tests(prestate golden files)reth-engine-tree --test firehose_live_tracingreth-optimism-firehoseop-alloy-consensus --features firehosereth-optimism-evmreth-optimism-payload-builderreth-optimism-node --test it builderop-reth --bin op-rethreth-optimism-trie(lib,tests/lib.rs,tests/live.rs)--test-threads=4(MDBX test databases run out of memory with 60 threads at once, as on the previous bump)Notes:
Cargo.lockhas nofirehose-tracer, so the merge first resolved 5.7.0, which does not build with the reth Firehose mapper (TxEventgained a field). It is pinned back to 5.5.1 withcargo update -p firehose-tracer --precise 5.5.1.llvm-sys221 (LLVM 22). The build machine has LLVM 23 only; it builds withLLVM_SYS_221_PREFIX=/usr/lib/llvm-23and LLVM 23'sllvm-configfirst onPATH.Integration Tests
Battlefield Tests
Compare blocks(Firehose blocks against the node's JSON-RPC): PASSEDUnparsable size ... PosixHeadererror at startup: the new upstreamsuperchain_block_timelookup reads to the end of the embedded registry archive for a chain ID it does not know. The built-inoptimismandunichainchainspecs load and carrylagoonTime = 1799683201.Commands (battlefield-ethereum
e018f5b, builder-playgroundv0.3.3-sf2built from source, op-node v1.19.11, fireeth v2.24.1, op-reth fromcargo build --release -p op-reth --bin op-rethon this branch):./scripts/optimism/run_optimism_devnet.sh ./scripts/run_firehose_op_reth_devnet.sh # op-reth from this branch first on PATH pnpm test:fh3.0:op-reth-devnet