16 Commits

Author SHA1 Message Date
buray
462aecb735
Merge 934c333f472ff43a0b285901d45d7b4a307b47a4 into 7473c2f7a9ab8da65870442f0b90c96293982446 2026-04-08 22:48:36 +00:00
Sergio Chouhy
f627910468 fmt 2026-03-31 13:51:12 +02:00
Sergio Chouhy
8bfaf9ef4a remove blockid from common 2026-03-31 13:50:47 +02:00
ygd58
934c333f47
feat: add meaningful is_healthy check to sequencer healthcheck
is_healthy is now true only if the block store is accessible and
has produced at least the genesis block.

Clients should poll chain_height twice with a delay to verify
the sequencer is making progress.

Refs #244
2026-03-28 19:59:19 +01:00
ygd58
4be96ef087
feat: improve sequencer healthcheck with HealthStatus response
Previously check_health() always returned Ok(()) - completely useless.

Now returns HealthStatus { chain_height, is_healthy } so clients can:
1. Call check_health() once to get current chain_height
2. Wait a few seconds
3. Call again - if chain_height increased, sequencer is healthy

Refs #244
2026-03-28 19:55:06 +01:00
ygd58
c1924e1ccc
feat: improve sequencer healthcheck to return chain height
Previously check_health() always returned Ok(()) without checking
anything meaningful. A sequencer could be stuck and still pass.

Now check_health() returns the current chain height (BlockId).
Clients can call this twice with a delay to verify the chain is
progressing.

Refs #244
2026-03-28 19:49:00 +01: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
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