Repository navigation
Merge op-v2.7.0-2 for op-reth v2.10.0 - #109
Merged
Merged
Conversation
…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)
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>
1 task
This was referenced Dec 1, 2026
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 ethereum-optimism/reth
op-v2.7.0-2, the reth pin of upstream op-reth v2.10.0, intorelease/optimism-2.x. To be taggedop-reth-v2.10.0-fh3.1once 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-2descends fromop-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_getMultiProofkey caps, boundedeth_callMany,trace_callMany,debug_traceCallManyandeth_callBundle, cancellation of dropped requests), the--txpool.enforce-tracked-nonceflag, a fix that keeps recreated account state in the execution cache, static file and nippy-jar fixes, and networking fixes.Firehose review
debug_trace*,trace_*andeth_callBundlestill build their executor withexecutor_for_blockorinspect, which the Firehose tracer does not hook.firehose-tracerstays at 5.5.1 and thealloy-evmpatch onstreamingfast/evmv0.39.0-sf.CHANGELOG
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 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