Repository navigation
op-reth: follow the op-v2.7.0-1 reth fixes in mirrored get_proof and build_pending_env - #24077
Merged
Merged
Conversation
…build_pending_env Pin reth to the head of ethereum-optimism/reth#44 (e1bf972), which picks upstream fixes onto op-v2.7.0-0. This rev pin is temporary until the op-v2.7.0-1 tag exists; the lockfile only changes the reth source. Two picks change upstream code that op-reth mirrors: - #27716 caps eth_getProof at DEFAULT_MAX_PROOF_SLOTS storage keys before a proof permit is taken. The proofs-history eth_getProof override now checks the same cap first, with upstream's error. eth_getMultiProof, which #27716 caps too, is not served by an OP node. - #28431 takes the pending block's timestamp from the time block override, so the override selects the hardfork rules. OpNextBlockEnvAttributes' build_pending_env does the same. The other mirror tags advance unchanged: their upstream symbols do not differ between df85687 and e1bf972. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
sebastianst
force-pushed
the
seb/op-reth-v2.7.0-1-mirrors
branch
from
November 11, 2026 21:49
23dfb4e to
8689222
Compare
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
aakoshh
reviewed
Nov 12, 2026
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
sebastianst
enabled stacked auto-merge
November 12, 2026 15:34
github-merge-queue
Bot
removed this pull request from the merge queue due to failed status checks
Nov 12, 2026
davidtaikocha
added a commit
to taikoxyz/alethia-reth
that referenced
this pull request
Nov 13, 2026
… fix (#267) * fix(deps): bump OP Reth to op-v2.7.0-1 for the proof-history unwind fix Pin reth-optimism-trie to optimism develop b636ba6, which carries ethereum-optimism/optimism#23334 (keep proofs-history shard keys valid on unwind). No op-reth release includes it yet, and that commit pins OP's reth fork at op-v2.7.0-1, so every reth dependency moves with it. - Align alloy (2.5.0), reth-codecs/reth-primitives-traits (0.8.x), alloy-hardforks and revm-database-interface with the OP workspace. - Lock alloy-trie to 0.9.7, as OP does; 0.9.9 breaks reth-trie-common. - Adapt to reth v2.7: StateProviderDatabase takes an EvmStateProvider, CancelOnDrop moved to reth-tasks, and CachedStateProvider only serves EVM reads, so the payload builder roots blocks through the uncached provider like upstream's Ethereum builder. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(rpc): cap eth_getProof storage keys like reth v2.7 reth v2.7 rejects eth_getProof requests with more than DEFAULT_MAX_PROOF_SLOTS (1024) storage keys (paradigmxyz/reth#27716), but proof-history nodes serve eth_getProof through TaikoEthProofExt, which bypasses that check. Copy it, with upstream's limit, error and message, ahead of the permit, as ethereum-optimism/optimism#24077 does for op-reth. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
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.
Brings op-reth's own copies of two upstream reth symbols in line with fixes picked onto the
op-v2.7.0fork branch in ethereum-optimism/reth#44, and pins reth to the resultingop-v2.7.0-1tag. A newer reth pin does not fix these copies.eth_getProofkey cap. op-reth'sget_proofaccepted any number of storage keys. It now rejects more thanDEFAULT_MAX_PROOF_SLOTS, with upstream's error, before the window check and the permit (fix(rpc): cap eth_getProof and eth_getMultiProof key counts paradigmxyz/reth#27716).build_pending_envhonoursBlockOverrides.time. A simulated or overridden block's fork now follows its own timestamp (fix(rpc): select simulated block fork from its timestamp paradigmxyz/reth#28431).The
UPSTREAM-MIRRORtags advance to the new pin. Only the reth source string changes inCargo.lock.Known gap: the key-cap test covers the check function, not its position before the window check and permit; there is no
EthApiExttest harness for that.🤖 Co-created with Claude Opus 5.5