6 Commits

Author SHA1 Message Date
r4bbit
3c66bbdadb
fix(sequencer): submit genesis block to Bedrock on fresh start
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.
2026-03-26 09:16:48 +01:00
jonesmarvin8
6f77c75b9c
Issue 257 - update ds and add ds to commitment (#397)
* initialize branch

* minor errors

* update artifacts and lint

* lint fix
2026-03-20 10:39:04 -04:00
Daniil Polyakov
9d87e3b046 fix: fix lints 2026-03-20 00:41:05 +03:00
Daniil Polyakov
b254ebb185 feat: refactor sequencer RPC client-side 2026-03-20 00:41:05 +03:00
Daniil Polyakov
be94e133fa feat: refactor sequencer RPC server-side 2026-03-20 00:41:05 +03:00
Daniil Polyakov
bffc711470 refactor: move sequencer_ directories into sequencer 2026-03-20 00:36:07 +03:00