This repository was archived by the owner on Aug 3, 2026. It is now read-only.
fix(lib): thread proposal_id and chain_id into ShastaData for anchor skip - #686
Closed
ggonzalez94 wants to merge 1 commit into
Closed
fix(lib): thread proposal_id and chain_id into ShastaData for anchor skip#686ggonzalez94 wants to merge 1 commit into
ggonzalez94 wants to merge 1 commit into
Conversation
Pass batch_id and chain_id from the batch input through to the taiko-reth execution layer's ShastaData. This enables taiko-reth to conditionally skip the anchor success check for early mainnet Shasta proposals (1-7) where the anchor tx reverted during bootstrapping. Co-Authored-By: Claude Opus 4.6 (1M context) <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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
Summary
proposal_idfield toRethBlockBuilderand threadbatch_idthrough toShastaDatachain_idfromChainSpectoShastaDataanchorV4()reverted during bootstrappingContext
The first Shasta proposals on mainnet had reverted anchor transactions due to bootstrapping issues. The prover cannot generate valid proofs for these proposals because the consensus rule "anchor tx must succeed" fails. This change passes the proposal ID and chain ID through to the execution layer so it can make a targeted exception for those specific proposals.
Companion PRs
Note
Once taiko-reth#73 is merged, this PR's
Cargo.tomlshould be updated to pointreth-*dependencies to the merged branch (orv1.0.0-rc.2-taiko-shastaif it's merged there).Test plan
🤖 Generated with Claude Code