Skip to content

firehose: emit genesis block on empty-chain start - #13

Merged
sduchesneau merged 1 commit into
release/world-chain-2.4.xfrom
fix/firehose-genesis-block-wc
Aug 18, 2026
Merged

firehose: emit genesis block on empty-chain start#13
sduchesneau merged 1 commit into
release/world-chain-2.4.xfrom
fix/firehose-genesis-block-wc

Conversation

@sduchesneau

@sduchesneau sduchesneau commented Aug 17, 2026

Copy link
Copy Markdown

Bumps reth-firehose to op-rs-aef8d3e-fh-1 (streamingfast/reth#25), which emits the genesis block (with full alloc) via the new emit_genesis_block_on_empty_chain helper and drops the block-1 "genesis marker" hack. Wires the emission from on_node_started in both launch paths (genesis only exists in the DB after launch init) and traces block 1 through the normal path.

Compile-verified (op-reth bin builds against the tag) and smoke-tested: fireeth-wrapped standalone op-reth on an empty chain emits FIRE BLOCK 0 with 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-firehose in isolation fails with pre-existing OpTxEnvelope: Compact errors — a per-package feature-resolution quirk (the subgraph enables reth-primitives-traits/reth-codec without reth-optimism-primitives/reth-codec), present on the base branch too; the full binary graph is unaffected.

🤖 Generated with Claude Code

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>
@sduchesneau
sduchesneau merged commit d76b847 into release/world-chain-2.4.x Aug 18, 2026
3 of 4 checks passed
@sduchesneau
sduchesneau deleted the fix/firehose-genesis-block-wc branch August 20, 2026 17:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants