Repository navigation
feat(sync): hand off genesis replay between eras - #8246
Merged
Merged
Conversation
0xrusowsky
force-pushed
the
rus/tempo-era-handoff
branch
from
October 10, 2026 03:56
767a4c5 to
d1c9f6e
Compare
Contributor
📊 Tempo Precompiles Coverage |
0xrusowsky
marked this pull request as ready for review
October 10, 2026 17:02
0xrusowsky
requested review from
0xKitsune,
0xalpharush,
SuperFluffy,
Zygimantass,
dankrad,
danrobinson,
hamdiallam,
horsefacts,
jenpaff,
joshieDo,
klkvr,
legion2002 and
mattsse
as code owners
October 10, 2026 17:02
Contributor
👁️ Cyclops Security ReviewLast reviewed: no commit yet
|
SuperFluffy
reviewed
Oct 10, 2026
| ); | ||
|
|
||
| // A newer floor may skip delivery only when execution and its cache cover the whole path. | ||
| let first = blocks |
Contributor
There was a problem hiding this comment.
This can break the node.
Comment on lines
+32
to
+37
| || !eras::supports_release_catalog(&node.chain) | ||
| { | ||
| return Ok(ControlFlow::Continue(false)); | ||
| } | ||
| let catalog = eras::release_catalog()?; | ||
| let Some(schedule) = catalog.for_chain(node.chain.chain_id(), node.chain.genesis_hash()) else { |
Contributor
There was a problem hiding this comment.
Informational: File-based mainnet chainspec blocks validator handoff startup
A validator using the bundled Presto genesis through --chain with a file path can match the production release catalog and require historical anchoring. Unlike the named mainnet chainspec, the file-parsed spec has no default RPC URL, so the new handoff check aborts before starting the validator consensus stack.
Valid? React with 👍 / 👎.
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.
Stacked on #8237; frozen worker backport: https://github.com/tempoxyz/tempo-history/pull/3.
Runs the bundled Genesis–T10 writer to its pinned checkpoint, then verifies a recent consensus anchor and syncs T11+ with Reth. The existing archives retain the executed tail before finality is published, allowing an interrupted handoff to recover without a snapshot or a new storage format.
Validated on
dev-team: 509 library tests, 52 handoff/follower/snapshot/restart tests, CLI smoke, nightly formatting, Clippy with warnings denied, frozen package checks, bounded loopback P2P sync, and launcher cancellation with fresh and initialized databases. Full production-chain genesis replay remains untested. Genesis generation and pinned Foundry CI failures are inherited from #8237.