Repository navigation
Merge op-v2.8.1-0 for op-reth v2.11.0 - #115
Merged
Merged
Conversation
Co-authored-by: OpenCode <opencode-noreply@coinbase.com> Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
…mxyz#27665) Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
Co-authored-by: Matthias Seitz <19890894+mattsse@users.noreply.github.com>
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
Co-authored-by: Matthias Seitz <19890894+mattsse@users.noreply.github.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: Matthias Seitz <19890894+mattsse@users.noreply.github.com>
Co-authored-by: Matthias Seitz <19890894+mattsse@users.noreply.github.com>
Co-authored-by: joshieDo <93316087+joshieDo@users.noreply.github.com>
Co-authored-by: DaniPopes <57450786+DaniPopes@users.noreply.github.com>
…mxyz#27704) Co-authored-by: Matthias Seitz <19890894+mattsse@users.noreply.github.com>
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) (cherry picked from commit 5537ee3)
…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) (cherry picked from commit 9d5cd2b)
…xyz#27716) Co-authored-by: Matthias Seitz <19890894+mattsse@users.noreply.github.com> (cherry picked from commit b5dc94c) (cherry picked from commit c43192e)
(cherry picked from commit 12dfef2) Dropped the `download/manifest.rs` hunk: on this branch that file does not use `iter_static_files`. Co-authored-by: Javier <javier@oplabs.co> Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com> Co-authored-by: Matthias Seitz <19890894+mattsse@users.noreply.github.com> Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> (cherry picked from commit 96adca3)
… fully pruned (paradigmxyz#28598) Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> Co-authored-by: Matthias Seitz <19890894+mattsse@users.noreply.github.com> (cherry picked from commit 208c4ee)
Pin that `OverlayStateProvider::storage_root` reads trie nodes through the overlay when partial persistence leaves database storage-trie nodes older than the persisted hashed storage. OP Stack consensus depends on this: the Isthmus withdrawals root is the L2ToL1MessagePasser storage root, computed through `storage_root` when building and validating blocks. Adapted to v2.8.1: the test builds its executed blocks with `SortedTrieData`, which replaced `ComputedTrieData` upstream. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> (cherry picked from commit d70cc04) (cherry picked from commit 2158d3b)
The fork pins the lint and book jobs' nightly; nightly-2026-07-14 predates v2.8.1, and its rustdoc fails to resolve bare intra-doc links in module docs that also carry an outer doc on the `pub mod` declaration (`reth_trie_common::ordered_root`, `reth_trie_parallel::proof_task`). v2.8.1 was validated against an October nightly, and nightly-2026-10-22 documents the whole workspace with `-D warnings` unchanged. It still predates the 2026-11-01 nightlies that fail to compile boa_engine (rust-lang/rust#165263), and `cargo fmt --all --check` is clean with it. Squash into the CI commit on the next replay. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
v2.8.1's unit.yml `state` job sets TMPDIR to /dev/shm/reth-tmp for the whole `cargo nextest run` (paradigmxyz#27851), so the compiler's temporary files land there too. act runs the job in a Docker container with the default 64 MB /dev/shm, and building librocksdb-sys fails with "No space left on device". Pass `--shm-size=8g` to that job's container, about what a GitHub ubuntu-latest runner has. Squash into the CI commit on the next replay. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…igmxyz#28249) Co-authored-by: Matthias Seitz <19890894+mattsse@users.noreply.github.com> Co-authored-by: Brian Picciano <me@mediocregopher.com> (cherry picked from commit 92041a4)
…s-required overlays Pin the overlay's shape after a reorg below the persisted tip without trie changesets: it keeps the tip's trie nodes and invalidates changed keys with prefix sets, so it must not also carry the in-memory fork's anchor-relative storage nodes. paradigmxyz#28249 fixes this upstream, where the stray tip nodes made the v2 proof calculator panic while the invalid-block witness hook (on by default in op-reth) built a witness. The storage roots op-reth's Isthmus withdrawals root depends on were found unaffected in testing. Fork-only test. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
op-v2.8.1-0: upstream reth v2.8.1 plus OP patches
Ported from release/reth-2.x: the traced path must execute every transaction even when --engine.prewarm-reuse is on.
pool_seeds is crate-private, so the OP Firehose engine validator can no longer build ExecutionEnv with a struct literal.
This was referenced Dec 1, 2026
Brings in the staged-sync Firehose finality fix (#112, op-reth-v2.9.0-fh3.1-1) that the bump branch lacked. The Execution stage drops BlockHashReader, which upstream reth v2.8 no longer needs.
Merging this PR will only tag op-reth-v2.11.0-fh3.1Note 🏷️ Tag only: nothing is built, no GitHub release is created and nothing is published.
Release notesChanged
|
maoueh
approved these changes
Dec 3, 2026
maoueh
added a commit
to streamingfast/optimism
that referenced
this pull request
Dec 3, 2026
Merge commit of streamingfast/reth#115, which carries the staged-sync Firehose finality fix (reth#112).
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.8.1-0(reth v2.8.1 plus OP patches), the reth pin of upstream op-reth v2.11.0, intorelease/optimism-2.x. To be taggedop-reth-v2.11.0-fh3.1once merged.b8d26786c144632d49fe8015d29bb950c8f3a1a8toe8e9d5084b5ecd6c66ae36ee67919573a6352421:release/optimism-2.xwas merged in to bring the staged-sync Firehose finality fix (fix(firehose): advertise real finality in staged-sync path #112, shipped inop-reth-v2.9.0-fh3.1-1) that this branch lacked. Without it, blocks replayed by staged sync advertise themselves as final and LIB runs past the real finalized head during catch-up. sf-operator feat: integrate DNS discovery service paradigmxyz/reth#832 and Bump op-reth to v2.11.0 optimism#38 pin the old head and must move to the new head (or the merge commit).ChainStateBlockReader(upstream v2.8 droppedBlockHashReader); the changelog carries both entries.op-v2.7.0-2merge too. Close Merge op-v2.7.0-2 for op-reth v2.10.0 #109 without merging.op-v2.8.1-0; Firehose conflicts:bin/reth/src/main.rs(Firehose executor and blockchain init, launched withlaunch_with_debug_capabilities_and_backfill(EthereumBackfill)),Cargo.tomlandcrates/engine/tree/Cargo.toml(version 2.8.1, Firehose crates,alloy-evmpatch; alloy-evm stays 0.39.0 like upstream),Cargo.lock(firehose-tracerpinned back to 5.5.1).payload_validator.rs:execute_and_trace_blocktakes the newPayloadHandlegeneric and never commits prewarm results (--engine.prewarm-reuse, new in v2.8; a committed result skips the EVM, so the tracer would miss the transaction). Covered byfirehose_live_tracing_prewarm_reuse.types.rs:ExecutionEnv::without_txpool_prewarming, because the new crate-privatepool_seedsfield stops the OP Firehose engine validator from buildingExecutionEnvwith a struct literal.--snap.v2) produces no Firehose blocks for the range it skips; op-reth rejects the flag.