firehose: emit genesis block on empty-chain start - #13
Merged
sduchesneau merged 1 commit intoAug 18, 2026
Conversation
Bump reth-firehose to op-rs-aef8d3e-fh-1, which emits the genesis block (with full alloc) via a new emit_genesis_block_on_empty_chain helper and drops the block-1 "genesis marker" hack. Wire the emission from on_node_started (genesis only exists in the DB after launch init) and trace block 1 through the normal path. Note: op-rs-aef8d3e-fh-1 must be pushed to streamingfast/reth before this builds from the remote. Branch already failed to compile before this change (reth-optimism-primitives Compact errors from the in-progress v2.4.2 adaptation), so this commit is compile-verified only insofar as it mirrors the pattern proven on streamingfast/reth firehose/2.x. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
UlysseCorbeil
approved these changes
Aug 18, 2026
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.
Bumps reth-firehose to
op-rs-aef8d3e-fh-1(streamingfast/reth#25), which emits the genesis block (with full alloc) via the newemit_genesis_block_on_empty_chainhelper and drops the block-1 "genesis marker" hack. Wires the emission fromon_node_startedin both launch paths (genesis only exists in the DB after launch init) and traces block 1 through the normal path.Compile-verified (
op-rethbin builds against the tag) and smoke-tested: fireeth-wrapped standalone op-reth on an empty chain emitsFIRE BLOCK 0with the full L2 genesis alloc (2081 code changes / 2085 storage changes / 266 balance changes), zero parent, correct genesis hash; re-emits only while the head is still at genesis.Note:
cargo check -p reth-optimism-firehosein isolation fails with pre-existingOpTxEnvelope: Compacterrors — a per-package feature-resolution quirk (the subgraph enablesreth-primitives-traits/reth-codecwithoutreth-optimism-primitives/reth-codec), present on the base branch too; the full binary graph is unaffected.🤖 Generated with Claude Code