Skip to content

Bump op-reth to v2.11.0 - #38

Merged
maoueh merged 219 commits into
release/op-reth-2.xfrom
bump/op-reth-2.11.0
Dec 3, 2026
Merged

maoueh merged 219 commits into
release/op-reth-2.xfrom
bump/op-reth-2.11.0

Conversation

@dfuse-bot

@dfuse-bot dfuse-bot commented Dec 1, 2026 •

Copy link
Copy Markdown

Merges upstream op-reth/v2.11.0 (59 commits on top of op-reth/v2.10.0) into release/op-reth-2.x. To be tagged op-reth-v2.11.0-fh3.1 once merged (the tag the release tracker proposed, which follows the naming rule). The Firehose block model is unchanged, so the version stays fh3.1.

This PR replaces #35. It is built on #35's branch, so it contains the op-reth/v2.10.0 merge too. Close #35 without merging, or merge #35 first (with a merge commit), then this one.

Merge notes

What changed

  • Upstream: reth moves to ethereum-optimism/reth op-v2.8.1-0 (reth v2.8.1). Operator-visible changes: --ws.origins is enforced, --txpool.minimum-priority-fee applies to legacy and EIP-2930 transactions, the built-in --chain specs for Boba and Celo are removed, expired conditional transactions are evicted, a storage failure while computing the Isthmus withdrawals root is an engine error instead of INVALID, and a failed deposit's mint saturates at U256::MAX. op-reth rejects four new reth flags (--snap.v2, --cpu-cores, --engine.prewarm-reuse, --debug.lazy-kzg-settings). No fork time changes for OP Mainnet or Unichain; Lagoon stays scheduled for 2027-01-11 16:00:01 UTC.
  • Reth pin: streamingfast/reth commit 6e009004 (Merge op-v2.8.1-0 for op-reth v2.11.0 reth#115, tag op-reth-v2.11.0-fh3.1), which merges op-v2.8.1-0 into release/optimism-2.x.
  • alloy-evm: stays at 0.39, so the streamingfast/evm v0.39.0-sf patch is unchanged. firehose-tracer stays at 5.5.1.
  • Conflicts: only rust/Cargo.toml (kept our reth block with the pins moved to the new commit, took upstream's crate version bumps) and rust/Cargo.lock (took upstream's and re-resolved; firehose-tracer pinned back to 5.5.1).
  • Firehose engine validator (rust/op-reth/crates/firehose/src/engine_validator.rs, a clone of reth's payload validator): follows reth v2.8's API (PayloadHandle halt-reason generic, ExecutionEnv::without_txpool_prewarming, SortedTrieData fields, dropped provider bounds) and its smaller changes (span parent of hashed_post_state, structured log fields, slow-block metrics). It does not clone upstream's prewarm result reuse: reth records prewarm results only when ConfigureEvm::reuses_prewarm_results is true, which OpEvmConfig (and our wrapper, which keeps the default) never returns.

Firehose review

  • Serial tracing order (pattern 1): reth v2.8's prewarm result reuse would commit a transaction without executing it, so the inspector would miss it. It is off for OP (see above, and op-reth rejects --engine.prewarm-reuse), and Merge op-v2.8.1-0 for op-reth v2.11.0 reth#115 also keeps it off the reth traced path, with a regression test. Snap sync is rejected by op-reth. No other new parallel execution on the traced path.
  • Block printed after validation (pattern 2): the Isthmus withdrawals root failure now maps to an engine error instead of INVALID (withdrawals_root_error); our validator calls the same OpEngineValidator, and in both cases the traced block is dropped before mark_verified(). No new post-execution check.
  • Activations (pattern 3, ACTIVATIONS.md): op-reth v2.11.0 defines no new OpHardfork. The registry moves from 0b95886b to bfeb4b01 without changing any OP Mainnet or Unichain fork time. The commit that pins Karst rules and system calls at activation only adds tests. The post-exec execution and refund code is unchanged, so the Lagoon items recorded earlier still apply (see Open questions).
  • Fee vault formulas: extras.rs calls calculate_tx_l1_cost and operator_fee_charge; neither changed. op-revm/src/handler.rs changes only the failed-deposit mint (saturating add, same journal balance change), which differs from before only on a U256 overflow.
  • Upstream fields (pattern 4): alloy, op-alloy and revm consensus types are unchanged in the lockfile (only revm-inspectors, which the Firehose tracer does not use, moves to 0.44.3).
  • Hashes (pattern 5): no new hashless transaction.

Dependencies

  • Pins: streamingfast/reth release/optimism-2.x (new PR Merge op-v2.8.1-0 for op-reth v2.11.0 reth#115) and streamingfast/evm release/0.x (unchanged, no PR needed). The dependency table in the release tracker is correct.
  • Pinned by: no StreamingFast repository pins this fork apart from the deployment repository (code search for op-reth-v2.9.0-fh3.1-1).

CHANGELOG

## op-reth-v2.11.0-fh3.1

Bumps the SF op-reth fork to upstream `op-reth/v2.11.0` (59 upstream commits on top of
`op-reth/v2.10.0`).

### Changed

* Merged upstream `op-reth/v2.11.0`, which moves reth to ethereum-optimism/reth `op-v2.8.1-0`
  (reth v2.8.1), enforces `--ws.origins`, applies `--txpool.minimum-priority-fee` to legacy and
  EIP-2930 transactions, removes the built-in `--chain` specs for Boba and Celo, evicts expired
  conditional transactions and stops reporting a valid payload as invalid when computing the
  Isthmus withdrawals root fails. No fork time changes for OP Mainnet or Unichain; Lagoon stays
  scheduled for 2027-01-11 16:00:01 UTC.
* Reth now comes from `streamingfast/reth` `op-reth-v2.11.0-fh3.1`, which merges `op-v2.8.1-0` into
  `release/optimism-2.x`. `alloy-evm` stays on `streamingfast/evm` `v0.39.0-sf` and
  `firehose-tracer` on 5.5.1.
* The Firehose engine validator follows reth v2.8's validator changes. It does not take reth's new
  prewarm result reuse, which the OP EVM config never enables.

Open questions

  • Lagoon (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 and Bump op-reth to v2.10.0 #35, unchanged by this release, and no Battlefield devnet activates Lagoon:

    1. The block executor short-circuits the 0x7D post-exec transaction without running the EVM, so its trace has no call, and the tracer drops its receipt and leaves its status unknown.
    2. OpPostTxExtras runs 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.
    3. With post-exec (SDM settlement) refunds, the sender's GasRefund leaves out the operator fee part of the refund when operator fees are nonzero.

    I left these unchanged here; they move to a follow-up task with Firehose integration tests on the Lagoon-at-genesis node fixtures in rust/op-reth/crates/node/tests/it/lagoon.rs. Someone should compare them with op-geth's tracer and decide the model; a fix release has to reach every host before the activation date.

  • Bump op-reth to v2.10.0 #35 and Merge op-v2.7.0-2 for op-reth v2.10.0 reth#109 are still open. This PR and Merge op-v2.8.1-0 for op-reth v2.11.0 reth#115 contain them. Decide whether to close them or merge them first.

Test Execution Summary

Build Status

  • streamingfast/reth cargo check --workspace --all-targets: PASSED
  • streamingfast/reth cargo clippy -p reth-engine-tree -p reth --all-targets: PASSED (only warnings that predate this merge, in Firehose code)
  • streamingfast/optimism rust/: cargo check --workspace --all-targets: PASSED
  • streamingfast/optimism rust/: cargo build --release -p op-reth --bin op-reth: PASSED

Unit Tests

Repository Package Status Notes
streamingfast/reth reth-firehose PASSED 34 tests
streamingfast/reth reth-firehose-tests (prestate golden files) PASSED 2 tests, golden files unchanged
streamingfast/reth reth-engine-tree --test firehose_live_tracing PASSED 1 test
streamingfast/reth reth-engine-tree --test firehose_live_tracing_prewarm_reuse (new here) PASSED 1 test. Fails with 14 of 16 transactions missing from the Firehose block when the traced path commits prewarm results
streamingfast/optimism reth-optimism-firehose PASSED no unit tests in the crate
streamingfast/optimism op-alloy-consensus --features firehose PASSED 100 tests
streamingfast/optimism reth-optimism-evm PASSED 59 tests
streamingfast/optimism reth-optimism-payload-builder PASSED 45 tests
streamingfast/optimism reth-optimism-node --test it builder PASSED 2 tests
streamingfast/optimism reth-optimism-node --test it conditional_tx PASSED 4 tests (new upstream)
streamingfast/optimism reth-optimism-node --lib PASSED 54 tests, includes the withdrawals root error mapping
streamingfast/optimism reth-optimism-consensus PASSED 39 tests
streamingfast/optimism reth-optimism-chainspec PASSED 36 tests, includes the registry genesis hash check
streamingfast/optimism op-revm PASSED 114 tests, includes the mint saturation case
streamingfast/optimism op-reth --bin op-reth PASSED 5 tests
streamingfast/optimism reth-optimism-trie (lib and integration tests) PASSED 386 passed, 1 ignored, with --test-threads=4 (MDBX test databases run out of memory with 60 threads at once)

Notes:

  • Upstream's Cargo.lock has no firehose-tracer, so it first resolves 5.7.0, which does not build with the reth Firehose mapper. It is pinned back to 5.5.1 with cargo update -p firehose-tracer --precise 5.5.1.
  • reth v2.8.1 locks llvm-sys 221 (LLVM 22). The build machine has LLVM 23 only; it builds with LLVM_SYS_221_PREFIX=/usr/lib/llvm-23 and LLVM 23's llvm-config first on PATH.
  • The built-in optimism and unichain chainspecs of the release binary carry karstTime = 1783526401 and lagoonTime = 1799683201; --chain boba is rejected.

Integration Tests

  • Status: NOT RUN (no integration suite beyond the tests above for this chain)

Battlefield Tests

  • Status: PASSED
  • Pass/Fail: 95 passing / 0 failing (43 pending: the Amsterdam, ArbOS, Base and other suites that do not apply to an OP Stack chain)
  • Compare blocks (Firehose blocks against the node's JSON-RPC): PASSED
  • Karst suite (activation block upgrade deposits, CLZ, MODEXP, P256VERIFY, BN254 pairing cap, transaction gas cap): PASSED
  • No panic or Firehose error in the op-reth log. As on the previous bump, op-reth logs one Unparsable size ... PosixHeader error at startup with the devnet's custom genesis (the superchain_block_time lookup reads to the end of the embedded registry archive for a chain ID it does not know).
  • Failures: none.
  • Coverage: the devnet runs Jovian from genesis and Karst from L2 block 10, so every fork live on OP Mainnet and Unichain today is covered. Operator fee parameters are zero, so the OperatorFeeVault credit is not exercised. Lagoon (scheduled for 2027-01-11) is not activated by any Battlefield devnet (builder-playground has no Lagoon support), so the post-exec transaction and settlement refunds have no Battlefield coverage. Prewarm result reuse is not reachable on op-reth (the flag is rejected), so the reth regression test above covers it instead.

After the final reth pin (6e009004) and the base merge, cargo check and the unit tests above (reth-optimism-firehose, reth-optimism-evm, reth-optimism-chainspec, reth-optimism-node --lib, reth-optimism-consensus, reth-optimism-payload-builder, op-revm, op-alloy-consensus --features firehose, op-reth) pass again. The Battlefield run was not repeated; it ran on b8d26786.

Commands (battlefield-ethereum a9ef45b, builder-playground v0.3.3-sf2 built from source, op-node v1.19.11, fireeth v2.24.1, op-reth from cargo build --release -p op-reth --bin op-reth on streamingfast/optimism bump/op-reth-2.11.0 at 3d946ddc, which pinned streamingfast/reth b8d26786 (before the final merge to 6e009004)):

./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

lumoswiz and others added 30 commits November 12, 2026 12:17
…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>
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>
…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>
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>
…4017)

Co-authored-by: wwared <541936+wwared@users.noreply.github.com>
falcorocks and others added 20 commits November 25, 2026 14:07
…and RPC tx decoding with real chain data (ethereum-optimism#24379)

Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com>
…deposit (ethereum-optimism#24359)

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
)

Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com>
…optimism#24432)

Co-authored-by: wwared <541936+wwared@users.noreply.github.com>
…sm#24443)

Co-authored-by: Claude <noreply@anthropic.com>
Co-authored-by: John Mardlin <john@oplabs.co>
…uide (ethereum-optimism#24429)

Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com>
…ereum-optimism#24433)

Co-authored-by: wwared <541936+wwared@users.noreply.github.com>
…mports (ethereum-optimism#24396)

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Moves the reth pin to streamingfast/reth op-reth-v2.11.0-fh3.1 (op-v2.8.1-0) and
follows reth v2.8's validator API in the Firehose engine validator.
@github-actions

github-actions Bot commented Dec 3, 2026 •

Copy link
Copy Markdown

Merging this PR will release op-reth-v2.11.0-fh3.1

Release notes

Bumps the SF op-reth fork to upstream op-reth/v2.11.0 (59 upstream commits on top of op-reth/v2.10.0).

Changed

  • Merged upstream op-reth/v2.11.0, which moves reth to ethereum-optimism/reth op-v2.8.1-0 (reth v2.8.1), enforces --ws.origins, applies --txpool.minimum-priority-fee to legacy and EIP-2930 transactions, removes the built-in --chain specs for Boba and Celo, evicts expired conditional transactions and stops reporting a valid payload as invalid when computing the Isthmus withdrawals root fails. No fork time changes for OP Mainnet or Unichain; Lagoon stays scheduled for 2027-01-11 16:00:01 UTC.
  • Reth now comes from streamingfast/reth op-reth-v2.11.0-fh3.1, which merges op-v2.8.1-0 into release/optimism-2.x. alloy-evm stays on streamingfast/evm v0.39.0-sf and firehose-tracer on 5.5.1.
  • The Firehose engine validator follows reth v2.8's validator changes. It does not take reth's new prewarm result reuse, which the OP EVM config never enables.

Fixed

  • Includes the Firehose staged-sync finality fix from op-reth-v2.9.0-fh3.1-1 (fix(firehose): advertise real finality in staged-sync path reth#112): blocks replayed by staged sync advertise the node's finalized head as the Firehose LIB, or the block itself when it is at or below the finalized block, instead of always advertising themselves as final.

@maoueh
maoueh merged commit 1facbac into release/op-reth-2.x Dec 3, 2026
2 of 3 checks passed
@maoueh
maoueh deleted the bump/op-reth-2.11.0 branch December 3, 2026 04:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.