erhant
56acab3a16
feat(sequencer): now keep orphaned in mempool + use with_state to avoid clone for method calls to V03State
2026-07-10 15:54:37 +03:00
erhant
9544f8a2c9
feat(sequencer): store adopted and finalized blocks on disk within on_follow
2026-07-10 14:46:34 +03:00
erhant
de67ef7b6e
chore: formatting
2026-07-10 13:32:07 +03:00
erhant
7b670b3721
feat!(sequencer): derive state from ChainState via state() method, remove the state attribute
2026-07-10 13:31:12 +03:00
erhant
029dc42058
fix(sequencer): apply the own-published block immediately to the head & dedup it later if received
2026-07-10 12:10:47 +03:00
erhant
7491134994
feat(sequencer): read channel_update and respect adopted/orphaned blocks
2026-07-10 11:08:26 +03:00
erhant
d90dbd83b2
feat!(sequencer): add is_our_turn
2026-07-09 18:06:08 +03:00
erhant
1fa5cb795c
feat(chain_state): implement two-tip ChainState struct
2026-07-09 17:47:48 +03:00
erhant
75f2ab00ca
refactor!(indexer): migr to chain_state
2026-07-08 18:35:10 +03:00
erhant
fbaf50ed1e
chore(chain_state): doc fix
2026-07-08 17:49:21 +03:00
erhant
80e0af241b
feat(chain_state): initial preps, one more design fix
2026-07-08 17:40:20 +03:00
erhant
8ab13de775
chore(chain_state): update DESIGN.md
2026-07-08 17:00:06 +03:00
erhant
4db615e0e3
feat(chain_state): initial design doc
2026-07-08 16:33:58 +03:00
erhant
9b2b4a3d8c
fix(indexer): keep track of L1 slot of last inscription for correct tracking
2026-07-08 14:29:57 +03:00
erhant
4d60a1c59c
test(indexer): rename test, move to more suitable file
2026-07-08 12:04:23 +03:00
erhant
e87bad71ab
chore: clippy docfix + bump crossbeam-epoch (RUSTSEC-2026-0204)
2026-07-08 12:04:23 +03:00
erhant
97720fc35d
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-08 12:04:23 +03:00
erhant
98af8e33f7
chore: docfix w.r.t Copilot
2026-07-08 12:04:23 +03:00
erhant
4287e64673
chore: fix typos, enable ignored test
2026-07-08 12:04:23 +03:00
erhant
b2f7fae972
fix(indexer): tend to @schouhy reviews, allow re-applied old blocks
2026-07-08 12:04:23 +03:00
erhant
2fa6793349
chore: typo fix ChainConsistency [skip ci]
2026-07-08 12:04:23 +03:00
erhant
416eddc733
refactor(indexer): tend to several reviews by @schouhy
2026-07-08 12:04:23 +03:00
erhant
39c19912c5
fix(indexer): use better error types, tend to few @Arjentix PR review
2026-07-08 12:04:23 +03:00
erhant
1547a51fa6
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-08 12:04:23 +03:00
erhant
357c92f947
chore: very small comment about future fix [skip ci]
2026-07-07 16:40:33 +03:00
erhant
15ebccb11e
fix(indexer): catch the edge case of re-using the last valid tip on restart
2026-07-07 16:40:33 +03:00
erhant
d24e25fea3
fix(indexer): attend to copilot comments, rm Store error from a park case
2026-07-07 16:40:33 +03:00
erhant
022a456bc5
chore: rm redundant unit test [skip ci]
2026-07-07 16:40:33 +03:00
erhant
375e76df48
fix(indexer): run the chain-identity check even when the store is parked
2026-07-07 16:40:33 +03:00
erhant
2cdda18b88
fix(indexer): run the chain-identity check even when the store is parked
2026-07-07 16:40:33 +03:00
erhant
64497526fd
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-07 16:40:33 +03:00
erhant
50bdeefc84
chore: greatly increase timeout
2026-07-07 16:40:33 +03:00
erhant
8d0c2f4422
feat(indexer): run genesis-consistency check at service and FFI startup
2026-07-07 16:40:33 +03:00
erhant
406b6ab011
feat(indexer): add startup genesis-consistency check
...
test `RISC0_DEV_MODE=1 RISC0_SKIP_BUILD=1 cargo test -p indexer_core`
2026-07-07 16:40:33 +03:00
erhant
02eb338a6a
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-07 16:40:33 +03:00
erhant
206f3de524
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-07 16:40:33 +03:00
erhant
5f6f26d012
chore: fix linter
2026-07-07 16:40:33 +03:00
erhant
2b3fd9b5da
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-07 16:40:33 +03:00
erhant
30aa168651
refactor(indexer): use "stall reason" instead of "chain breaker"
2026-07-07 16:31:40 +03:00
erhant
46732698b7
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-07 16:31:40 +03:00
erhant
7916efb5c6
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-07 16:31:40 +03:00
erhant
0899eb3547
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-07 16:31:40 +03:00
erhant
8394597fd5
feat(indexer): add BlockIngestError enum, fix linting
2026-07-07 16:31:40 +03:00
erhant
308d75ab37
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-07 16:31:40 +03:00
erhant
ab0fd355ea
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-07 16:31:40 +03: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
Sergio Chouhy
ae0705995f
fix: solve merging conflicts with main
2026-07-03 15:07:35 -03:00
jonesmarvin8
571f35b384
refactor(integration_tests): cleaning up long functions ( #533 )
...
* refactoring integration_tests::keys
* refactor integration_tests: extract new_account/send/restored_private_account helpers
Move repeated account-creation and transfer boilerplate into four public
helpers in integration_tests/src/lib.rs (new_account, send,
restored_private_account, assert_public_account_restored), then apply them
across keys.rs, ata.rs, auth_transfer/public.rs, auth_transfer/private.rs,
token.rs, and amm.rs. Net result: -816 lines of boilerplate.
* Additional refactors
* refactor(integration_tests): apply shared helpers to remaining test files
Use account_balance, get_account, new_account, send, and sync_private
helpers in public.rs, pinata.rs, private_pda.rs, program_deployment.rs,
and token.rs to reduce boilerplate and improve consistency.
2026-07-01 12:13:51 -04:00
jonesmarvin8
072ea3b066
refactor(lee::state_machine): clean up long functions and files ( #535 )
...
* refactor(lee): split large modules into directories and extract tests
Split state.rs, program.rs, circuit.rs, validated_state_diff.rs,
merkle_tree, and core/program.rs into module directories with separate
test files. State tests are further split into themed files (genesis,
authenticated_transfer, circuit, claiming, etc.). Extract
authenticate_public_transaction_signers helper in validated_state_diff
to remove duplicated authentication logic.
* chore: rebuild artifacts
2026-07-01 11:11:08 -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