3061 Commits

Author SHA1 Message Date
erhant
0985df9059 chore: typo fix ChainConsistency [skip ci] 2026-07-10 18:35:00 +03:00
erhant
16888478dd refactor(indexer): tend to several reviews by @schouhy 2026-07-10 18:35:00 +03:00
erhant
82a16f1ab7 fix(indexer): use better error types, tend to few @Arjentix PR review 2026-07-10 18:35:00 +03:00
erhant
f94a63d8cf fix(indexer)!: address several reviews, use better return types with conversions, some docfixes
BREAKING CHANGE: dropping the serde rename attrs changes the FFI
`query_status` JSON: `state` values are now variant-cased
(`caught_up` -> `CaughtUp`) and fields snake_case
(`indexedBlockId` -> `indexed_block_id`, `lastError` -> `last_error`).
Consumers (lez-indexer-module, lez-explorer-ui) must update their parsing.
2026-07-10 18:35:00 +03:00
erhant
da95e86083 chore: very small comment about future fix [skip ci] 2026-07-10 18:35:00 +03:00
erhant
b5ed8548d5 fix(indexer): catch the edge case of re-using the last valid tip on restart 2026-07-10 18:35:00 +03:00
erhant
255a94c8ed fix(indexer): attend to copilot comments, rm Store error from a park case 2026-07-10 18:35:00 +03:00
erhant
aceb863ff2 chore: rm redundant unit test [skip ci] 2026-07-10 18:35:00 +03:00
erhant
db48877ca6 fix(indexer): run the chain-identity check even when the store is parked 2026-07-10 18:35:00 +03:00
erhant
2b5379a0c7 fix(indexer): run the chain-identity check even when the store is parked 2026-07-10 18:35:00 +03:00
erhant
66434256da fix(indexer): detect chain reset via anchor block, **not** deterministic genesis
test `RISC0_DEV_MODE=1 RISC0_SKIP_BUILD=1 cargo test -p indexer_core`
2026-07-10 18:35:00 +03:00
erhant
b989974f90 chore: greatly increase timeout 2026-07-10 18:35:00 +03:00
erhant
06ec24540a feat(indexer): run genesis-consistency check at service and FFI startup 2026-07-10 18:35:00 +03:00
erhant
aa46b69b79 feat(indexer): add startup genesis-consistency check
test `RISC0_DEV_MODE=1 RISC0_SKIP_BUILD=1 cargo test -p indexer_core`
2026-07-10 18:35:00 +03:00
erhant
a583c1f21a test(indexer): cover stall recovery and full StallReason roundtrip
test `RISC0_DEV_MODE=1 RISC0_SKIP_BUILD=1 cargo test -p indexer_core`
2026-07-10 18:35:00 +03:00
erhant
eaf2e2d07f feat(indexer): expose status over RPC and add integration coverage
test `RUST_LOG=info RISC0_DEV_MODE=1 cargo test -p integration_tests --test bridge --indexer_status_rpc_reports_caught_up_with_no_stall --exact --nocapture --include-ignored`
2026-07-10 18:35:00 +03:00
erhant
b71b01f94b chore: fix linter 2026-07-10 18:35:00 +03:00
erhant
de55d2699b feat(indexer): park ingest loop on bad blocks instead of skipping
`RISC0_DEV_MODE=1 RISC0_SKIP_BUILD=1 cargo test -p indexer_core`
2026-07-10 18:35:00 +03:00
erhant
c49cc7bc29 refactor(indexer): use "stall reason" instead of "chain breaker" 2026-07-10 18:35:00 +03:00
erhant
e28cceffab feat(indexer): add Stalled status and chain breaker snapshot
test `RISC0_DEV_MODE=1 RISC0_SKIP_BUILD=1 cargo test -p indexer_core --lib status`
2026-07-10 18:35:00 +03:00
erhant
6ab6455482 feat(indexer): add accept_block with chain-linkage check and atomic apply
test `RISC0_DEV_MODE=1 RISC0_SKIP_BUILD=1 cargo test -p indexer_core --lib accept_tests`
2026-07-10 18:35:00 +03:00
erhant
5b2c387fe9 feat(indexer): persist ChainBreaker in RocksDB meta
test `RISC0_DEV_MODE=1 RISC0_SKIP_BUILD=1 cargo test -p storage -p indexer_core --lib chain_breaker`
2026-07-10 18:35:00 +03:00
erhant
60265ed438 feat(indexer): add BlockIngestError enum, fix linting 2026-07-10 18:35:00 +03:00
erhant
1a304e0e60 feat(common): add block hash recomputation helper
test:  `RISC0_DEV_MODE=1 RISC0_SKIP_BUILD=1 cargo test -p common --lib block::tests`
2026-07-10 18:35:00 +03:00
erhant
03f92abbcf refactor(indexer): rename execute_on_state and drop indexer-side tx checks
test with:
RISC0_DEV_MODE=1 RISC0_SKIP_BUILD=1 cargo test -p common -p storage -p indexer_core
2026-07-10 18:35:00 +03:00
Pravdyvy
675e845237 fix(wallet_ffi): wallet_ffi fix 2026-07-10 16:21:03 +03:00
Daniil Polyakov
e645614946
Merge pull request #590 from logos-blockchain/arjentix/speed-up-integration-tests
feat(test_fixtures): use prebuilt sequencer dp to speed up integration tests
2026-07-10 16:01:48 +03:00
Pravdyvy
562696929c Merge branch 'dev' into Pravdyvy/multi-sequencer-client 2026-07-10 13:02:17 +03:00
Daniil Polyakov
89d2486970 feat(test_fixtures): apply zstd compression 2026-07-09 17:15:29 +03:00
Daniil Polyakov
d0aaddbec1 feat(test_fixtures): use prebuilt sequencer dp to speed up integration tests 2026-07-09 17:15:29 +03:00
Daniil Polyakov
2921438e93
Merge pull request #587 from logos-blockchain/arjentix/wallet-wait-for-tx-committed
feat!(wallet): wait for deploy tx inclusion in block
2026-07-09 17:03:15 +03:00
Daniil Polyakov
c062fab781 chore(lock): bump crossbeam-epoch to satisfy cargo deny 2026-07-09 16:19:24 +03:00
Pravdyvy
d832559cc3 feat(wallet): leader choosing algorithm 2026-07-09 15:58:29 +03:00
agureev
a3593e36b7 refactor: change sync function name 2026-07-09 14:15:39 +04:00
Daniil Polyakov
7408955f08 feat!(wallet): wait for deploy tx inclusion in block
Breaking:
  1. Now a lot of wallet commands return `TransactionExecuted`, instead of `Empty`.
  2. Sequencer's `getTransaction()` RPC response changed from `tx` to `(tx, block_id)`
2026-07-09 00:32:53 +03:00
agureev
24faedd686 feat: relax the mask length requirement 2026-07-09 00:48:27 +04:00
agureev
bf86d0c05b Merge remote-tracking branch 'origin/dev' into artem/change-wallet-balance-fetch 2026-07-08 22:55:15 +04:00
Artem Gureev
1b4d8fbcf4
Merge pull request #550 from logos-blockchain/artem/viewing-key-binding
feat!: viewing key and ciphertext binding
2026-07-08 20:17:37 +04:00
Artem Gureev
b31aecd2c0 feat(wallet): reject length-mismatched privacy transactions 2026-07-08 18:45:27 +04:00
agureev
1bd396006b docs: fix typos 2026-07-08 16:36:05 +04:00
Pravdyvy
897562b0cf fix(deny): deny fix 2026-07-08 14:40:13 +03:00
Pravdyvy
e61306e498 fix(wallet_ffi): suggestions 2 2026-07-08 14:33:32 +03:00
Pravdyvy
40fe9ff209 feat(wallet): metrics fetching and callibration 2026-07-08 14:18:52 +03:00
Pravdyvy
10c9d89ec8 feat(wallet): multi-sequencer client stub added 2026-07-07 15:14:49 +03:00
Pravdyvy
91e310b8a0 fix(wallet_ffi): suggestiion 1 2026-07-06 09:14:34 +03:00
moudyellaz
e4da11c7b7 Merge origin/dev
Syncs dev (which merged main via #593) and reconciles the indexer testnet-state fix with the cross-zone genesis seed in block_store.rs open_db.
2026-07-04 08:57:02 +02:00
Sergio Chouhy
a0ba6008c3
Merge pull request #593 from logos-blockchain/schouhy/main-dev-merging-conflicts
fix: solve merging conflicts with main
2026-07-03 23:45:00 -03:00
moudyellaz
9f7db3fa38 Merge origin/dev 2026-07-04 00:48:40 +02:00
moudyellaz
71c9351727 feat(cross-zone): add interactive two-zone chat demo app 2026-07-04 00:47:20 +02:00
moudyellaz
4f75e29a3c Merge origin/main
Integrates origin/main (per-program-crate refactor) and re-homes the cross-zone messaging feature onto it.

BREAKING CHANGE: Genesis state root changes. This registers six builtin programs
(cross_zone_outbox, cross_zone_inbox, ping_sender, ping_receiver, bridge_lock,
wrapped_token) and seeds their genesis accounts (the wrapped_token authorized
minter config, the per-zone inbox config, and optional bridge-lock holdings).
Building the new cores alongside the existing builtins also enables serde/alloc
for the shared programs build, regenerating every builtin program image id. All
nodes must upgrade together.
2026-07-04 00:47:20 +02:00