13 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
Daniil Polyakov
fb083ce91e
Merge pull request #402 from logos-blockchain/arjentix/fix-docker-permissions
Use docker volumes and cache docker Rust builds
2026-03-23 16:59:58 +03:00
Daniil Polyakov
f9071d492c feat: cache rust builds in docker to speed up subsequent builds 2026-03-20 18:39:58 +03:00
Daniil Polyakov
c5950bd08a feat: use docker volumes instend of mounts for runtime data directories 2026-03-20 17:40:59 +03: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
05c2c3a56d fix: encode transactions with borsh in sequencer rpc 2026-03-20 00:48:04 +03:00
Daniil Polyakov
7b20a83379 fix: fixes after rebase & address comments 2026-03-20 00:48:04 +03:00
Daniil Polyakov
325960d696 feat: remove override_rust_log from wallet config 2026-03-20 00:48:04 +03:00
Daniil Polyakov
b631ef02c6 fix: final fixes & polishing 2026-03-20 00:47:37 +03: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