mirror of
https://github.com/logos-blockchain/logos-execution-zone.git
synced 2026-05-14 12:09:35 +00:00
The sequencer created the genesis block's inscribe transaction but discarded it (`_tx`), never posting it to Bedrock. The indexer's `search_for_channel_start` scans backward through L1 blocks looking for an L2 block with `block_id == 1` to locate the channel start. Since genesis was never on L1, the search looped indefinitely, clearing its buffer on every cycle, and `current_state` was never updated past genesis. On a fresh DB start, submit the genesis block to Bedrock immediately after creating it, mirroring what `produce_new_block` does for all subsequent blocks. On restart the genesis block is already on Bedrock from the initial run, so submission is skipped. Fixes the `indexer_state_consistency` integration test.