erhant
ce37428e1e
fix(indexer): handle park_undeserializable errors properly
2026-07-10 18:35:01 +03:00
erhant
d22f8b540b
refactor(indexer): make put_block own the breakpoint schedule
...
`RISC0_DEV_MODE=1 RISC0_SKIP_BUILD=1 cargo test -p storage -p indexer_core`
2026-07-10 18:35:01 +03:00
erhant
280885532b
refactor(indexer): rename AcceptOutcome::ApplyFailed to RetryableFailure
2026-07-10 18:35:01 +03:00
erhant
9587cf96be
refactor(indexer): remove now-redundant last_breakpoint_id meta cell
2026-07-10 18:35:01 +03:00
erhant
2e49cdfd9c
fix(indexer): harden stall durability and breakpoint guards w.r.t. Copilot review
2026-07-10 18:35:01 +03:00
erhant
ff6d40f4df
fix(indexer): retry apply failures before parking
2026-07-10 18:35:01 +03:00
erhant
07eaf1021a
fix(indexer): do not park immediately on possibly-transient apply failures
2026-07-10 18:35:01 +03:00
erhant
ed6a3f56dd
fix(indexer): snapshot breakpoint state from the validated scratch state
2026-07-10 18:35:01 +03:00
erhant
93c311be3b
fix(indexer): initial prep for breakpoint fix
2026-07-10 18:35:01 +03:00
erhant
88736d7421
fix(indexer): keep track of L1 slot of last inscription for correct tracking
2026-07-10 18:35:01 +03:00
erhant
f99d7fef59
chore: clippy docfix + bump crossbeam-epoch (RUSTSEC-2026-0204)
2026-07-10 18:35:01 +03:00
erhant
025105b570
fix(indexer): allow recovery from parked-and-stalled store (w.r.t Copilot review)
...
refactor(indexer): move chain-consistency code within a dedicated file
2026-07-10 18:35:01 +03:00
erhant
1ca3de47b9
chore: docfix w.r.t Copilot
2026-07-10 18:35:00 +03:00
erhant
2c395b95a6
chore: fix typos, enable ignored test
2026-07-10 18:35:00 +03:00
erhant
f563f675ac
fix(indexer): tend to @schouhy reviews, allow re-applied old blocks
2026-07-10 18:35:00 +03:00
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
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
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
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
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
Sergio Chouhy
ae0705995f
fix: solve merging conflicts with main
2026-07-03 15:07:35 -03:00
agureev
49d3823a75
chore: remove unused deps
2026-07-02 20:43:34 +04:00
jonesmarvin8
f786aca73e
refactor(lez): clean up long functions ( #541 )
...
* add helper functions
* CI fixes
* additional refactors
* fix: clarify doc comment on apply_mempool_transaction
* chore: apply nightly fmt
* fix: import missing ML_KEM_768_CIPHERTEXT_LEN in auth_transfer private test
2026-07-01 10:23:21 -04:00
erhant
c7336c3216
fix(indexer): tiny comment link fix [skip ci]
2026-06-23 15:57:33 +03:00
erhant
735235efa1
fix(indexer)!: address @Arjentix comments on IndexerStatus
2026-06-23 15:57:33 +03:00
erhant
c57bf16d15
feat: added status reporter for indexer (for UI)
2026-06-23 15:57:33 +03:00
erhant
c0fbaaf08e
refactor: use channel id for rocksdb filename [skip ci]
2026-06-23 15:57:33 +03:00
erhant
1c1e80f646
feat(indexer)!: make storage location caller-driven, not config-driven
...
The indexer's storage location was the `home` field of IndexerConfig, used only to derive the RocksDB dir. Defaulting to "." meant it landed in the process CWD — fine for the standalone service, but wrong when the indexer runs embedded in a logos_host subprocess (RocksDB ended up in an arbitrary/unwritable dir). Storage location is an operational concern the host should own, not something baked into a user-editable config.
Remove `home` from IndexerConfig and pass the storage directory explicitly:
- core: `IndexerCore::new(config, storage_dir)` derives `<storage_dir>/rocksdb`.
- ffi: `start_indexer(runtime, config_path, storage_dir)`; null/empty storage_dir falls back to ".". Lets a host (e.g. a Logos module's instance persistence path) own where state lives.
- service: `run_server(config, storage_dir, port)` + a `--data-dir` flag (default ".") on the binary, preserving current behaviour.
- drop `home` from the committed indexer config JSONs and the test fixtures.
BREAKING CHANGE: `start_indexer` gains a `storage_dir` parameter and IndexerConfig no longer has a `home` field.
2026-06-23 15:57:33 +03:00
erhant
dac429a94a
Merge pull request #520 from logos-blockchain/erhant/hotfix-indexer-accepts-sequencer-deposit-txs-with-bypass
...
fix(indexer): bypass system account guards
2026-06-12 21:19:07 +03:00
erhant
4076de05c0
rename execute_unchecked_on_state to execute_without_system_accounts_check_on_state
2026-06-11 12:44:16 +03:00
erhant
e6fa92dd1e
initial hotfixes to bypass system account guards to allow deposit txes
2026-06-10 14:51:01 +03:00
erhant
85284562b4
removed bedrock_parent_id as well
2026-06-10 11:08:14 +03:00