Skip to content

Merge op-v2.7.0-2 for op-reth v2.10.0 - #109

Merged
maoueh merged 15 commits into
release/optimism-2.xfrom
bump/op-reth-2.10.0
Dec 3, 2026
Merged

maoueh merged 15 commits into
release/optimism-2.xfrom
bump/op-reth-2.10.0

Conversation

@dfuse-bot

@dfuse-bot dfuse-bot commented Nov 25, 2026 •

Copy link
Copy Markdown

Merges ethereum-optimism/reth op-v2.7.0-2, the reth pin of upstream op-reth v2.10.0, into release/optimism-2.x. To be tagged op-reth-v2.10.0-fh3.1 once merged.

streamingfast/optimism#35 pins this PR's head commit, so merge this PR first, with a merge commit (not squash or rebase), so that the pinned commit lands on release/optimism-2.x.

Merge

op-v2.7.0-2 descends from op-v2.7.0-0 (13 commits), and the merge had no conflicts. None of the commits touches a Firehose file. They add RPC work limits (eth_getProof / eth_getMultiProof key caps, bounded eth_callMany, trace_callMany, debug_traceCallMany and eth_callBundle, cancellation of dropped requests), the --txpool.enforce-tracked-nonce flag, a fix that keeps recreated account state in the execution cache, static file and nippy-jar fixes, and networking fixes.

Firehose review

  • Serial tracing order: no new parallel or out-of-order execution. The RPC changes only add budgets and cancellation checks to RPC replays.
  • Block printed after validation: no new post-execution check; the traced block is still printed only after state root and post-execution validation pass.
  • RPC replays: debug_trace*, trace_* and eth_callBundle still build their executor with executor_for_block or inspect, which the Firehose tracer does not hook.
  • Upstream fields: no header, transaction or receipt type changes in this range.
  • firehose-tracer stays at 5.5.1 and the alloy-evm patch on streamingfast/evm v0.39.0-sf.

CHANGELOG

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

### Changed

- Merged ethereum-optimism/reth `op-v2.7.0-2`, the reth pin of op-reth v2.10.0. The previous pin
  was `op-v2.7.0-0`. It adds RPC work limits (`eth_getProof` and `eth_getMultiProof` key caps,
  bounded `eth_callMany`, `trace_callMany`, `debug_traceCallMany` and `eth_callBundle`), the
  `--txpool.enforce-tracked-nonce` flag, and execution cache and static file fixes. No Firehose
  code changed.

Test Execution Summary

Build Status

  • streamingfast/reth cargo check --workspace --all-targets: PASSED
  • 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/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 58 tests
streamingfast/optimism reth-optimism-payload-builder PASSED 45 tests
streamingfast/optimism reth-optimism-node --test it builder PASSED 2 tests
streamingfast/optimism op-reth --bin op-reth PASSED 5 tests
streamingfast/optimism reth-optimism-trie (lib, tests/lib.rs, tests/live.rs) PASSED 290 + 86 + 9 tests, with --test-threads=4 (MDBX test databases run out of memory with 60 threads at once, as on the previous bump)

Notes:

  • Upstream's Cargo.lock has no firehose-tracer, so the merge first resolved 5.7.0, which does not build with the reth Firehose mapper (TxEvent gained a field). It is pinned back to 5.5.1 with cargo update -p firehose-tracer --precise 5.5.1.
  • reth v2.7.0 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.

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. With the devnet's custom genesis, op-reth logs one Unparsable size ... PosixHeader error at startup: the new upstream superchain_block_time lookup reads to the end of the embedded registry archive for a chain ID it does not know. The built-in optimism and unichain chainspecs load and carry lagoonTime = 1799683201.
  • 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, now 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.

Commands (battlefield-ethereum e018f5b, 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#35, which pins this branch):

./scripts/optimism/run_optimism_devnet.sh
./scripts/run_firehose_op_reth_devnet.sh   # op-reth from streamingfast/optimism#35 first on PATH
pnpm test:fh3.0:op-reth-devnet

mattsse and others added 15 commits November 12, 2026 14:04
…adigmxyz#27462)

Picked as a prerequisite of the eth_callBundle bound (paradigmxyz#28253), whose
transaction loop stops on reth_tasks::cancel::is_cancelled().

Adapted: the fork's backport of paradigmxyz#28266 replays block transactions through
the block executor. The cancellation checks upstream placed in the replaced
EVM loops go into the executor loops instead (replay_transactions_until_with_executor,
trace_block_until_with_inspector and debug intermediate roots), as upstream
did when paradigmxyz#28266 landed.

Co-authored-by: Matthias Seitz <19890894+mattsse@users.noreply.github.com>
(cherry picked from commit 13a59de)
)

Co-authored-by: Matthias Seitz <19890894+mattsse@users.noreply.github.com>
(cherry picked from commit 0d1324f)
Co-authored-by: Matthias Seitz <19890894+mattsse@users.noreply.github.com>
(cherry picked from commit 22e3708)
Adapted: the test imports StorageSlot from reth_revm::db::states (revm 43)
instead of reth_trie_common::bundle_state, which wraps evm2 types upstream.

(cherry picked from commit 3c8b4e8)
Adapted to revm 43 / alloy-evm 0.39, which this base still runs instead of
evm2:
- EIP-8037 detection reads `cfg_env.enable_amsterdam_eip8037` and the cap
  `Cfg::tx_gas_limit_cap()` instead of `version().feature(EIP8037)` and
  `version().tx_gas_limit_cap`, the same values alloy-evm's block executor
  admits transactions with.
- Per-transaction regular and state gas come from
  `ResultGas::block_regular_gas_used()` / `block_state_gas_used()`, which
  compute what evm2's `execution_gas_spent()` / `state_gas_spent()` do.
- The block gas limit is a u64 on the base's block env, and the loop keeps
  the base's peekable iteration and deferred commit.

(cherry picked from commit 329fcfc)
…aradigmxyz#28314)

Adapted to revm 43 / alloy-evm 0.39, which this base still runs instead of
evm2. The limits, error variants, messages and codes are upstream's.
- `CallManyBudget::admit` takes the call's `TransactionEnvMut` tx env
  directly; the base's call env is not wrapped in `Recovered`.
- `CallManyBudget::charge` takes revm's `ExecutionResult<H>`. evm2's
  "out of gas, except MemoryLimitOOG" check becomes a halt with any
  `OutOfGasError` except `MemoryLimit`, matched through `H::from(HaltReason)`
  so it also covers wrapping halt reasons such as op-revm's.
- The base's trace_callMany and debug_traceCallMany pass the tx env by value
  and an `&mut` inspector, so the budget calls wrap those `inspect` calls.
- The budget's unit tests build revm `TxEnv`s and `ExecutionResult`s instead
  of evm2 envelopes and `TxResultExt`s; the core.rs test imports TraceType,
  BlockingTaskGuard and Runtime, which upstream's test module got through
  imports this base lacks.

Not picked: 13a59de (paradigmxyz#27462) is not needed by this bound; it is in this
stack only for paradigmxyz#28253's cancellation check.

(cherry picked from commit faf670e)
…xyz#27716)

Co-authored-by: Matthias Seitz <19890894+mattsse@users.noreply.github.com>
(cherry picked from commit b5dc94c)
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
(cherry picked from commit 9e10691)
Co-authored-by: Matthias Seitz <19890894+mattsse@users.noreply.github.com>
(cherry picked from commit b5e7d63)
…8423)

Co-authored-by: Matthias Seitz <19890894+mattsse@users.noreply.github.com>
(cherry picked from commit c050a76)
RustSec published three advisories after the branch tip last passed
lint-deny on 2026-11-12, so `reth-act` now fails on every PR into
op-v2.7.0:

- RUSTSEC-2026-0544, a heap buffer overflow in libz-sys 1.1.31. Update
  the lockfile to 1.1.33.
- RUSTSEC-2026-0542 (humantime) and RUSTSEC-2026-0543 (chrono), both
  unmaintained with no safe upgrade. Ignore them, as upstream main does.

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

(cherry picked from commit 3e88af4)

Co-authored-by: Ivan Wang <314130948@qq.com>
Co-authored-by: raz-glm <178501331+raz-glm@users.noreply.github.com>
@dfuse-bot

Copy link
Copy Markdown
Author

Replaced by #115 (op-v2.8.1-0 for op-reth v2.11.0), which is built on this branch and contains the op-v2.7.0-2 merge. Close this PR without merging, or merge it first with a merge commit, then #115.

@maoueh
maoueh merged commit 1c5b46a into release/optimism-2.x Dec 3, 2026
2 checks passed
@maoueh
maoueh deleted the bump/op-reth-2.10.0 branch December 3, 2026 03:48
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.

7 participants