Marvin Jones
d110fc6ce8
fix(tests): align integration tests with PrivateForeignInit and regenerate fixture
...
prove_init_with_commitment_root (private.rs) and build_privacy_transaction
(tps.rs) still built PrivateForeignInit recipients with is_authorized: false,
same stale-semantics bug fixed earlier in the lee crate's own tests.
The prebuilt sequencer DB dump embeds program IDs derived from guest ELF
bytes, which shifted once the PrivateForeignInit rename changed lee_core
(compiled into every guest program). The stale dump caused widespread
"Unknown program" failures across integration test suites that exercise
deployed programs (wallet_ffi, auth_transfer, bridge, amm, token, pinata,
ata, indexer state-consistency checks). Regenerated via
`just regenerate-test-fixture`.
2026-07-15 12:33:00 -04:00
Marvin Jones
2079cd5fde
chore: rebuild guest artifacts
...
Reproducible across repeated local builds; likely toolchain drift since
the prior artifact commit rather than a source change, since no
guest-relevant source or Cargo.lock changed in between.
2026-07-15 11:14:55 -04:00
Marvin Jones
1091f53db6
test: align is_authorized with PrivateForeignInit's flipped semantics
...
Recipient pre-states built for PrivateForeignInit now need is_authorized:
true to match the assertion in output.rs. Also rewrites the boundary test
that checked the old invalid case to check the new one, and updates
stale "unauthorized" wording left over from the PrivateUnauthorized name.
2026-07-15 11:14:49 -04:00
Marvin Jones
2ee75815e5
Merge remote-tracking branch 'origin/dev' into marvin/refactor-privateunauthorized
...
# Conflicts:
# artifacts/lee/privacy_preserving_circuit/privacy_preserving_circuit.bin
# artifacts/lez/programs/amm.bin
# artifacts/lez/programs/associated_token_account.bin
# artifacts/lez/programs/authenticated_transfer.bin
# artifacts/lez/programs/bridge.bin
# artifacts/lez/programs/bridge_lock.bin
# artifacts/lez/programs/cross_zone_inbox.bin
# artifacts/lez/programs/cross_zone_outbox.bin
# artifacts/lez/programs/faucet.bin
# artifacts/lez/programs/pinata.bin
# artifacts/lez/programs/pinata_token.bin
# artifacts/lez/programs/ping_receiver.bin
# artifacts/lez/programs/ping_sender.bin
# artifacts/lez/programs/token.bin
# artifacts/lez/programs/vault.bin
# artifacts/lez/programs/wrapped_token.bin
2026-07-15 10:10:51 -04:00
Marvin Jones
80091626cf
chore: rebuild guest artifacts and bump spin to clear yanked advisory
...
Regenerate ELF artifacts after the PrivateForeignInit rename in lee_core
(compiled into every guest program), and update spin 0.9.8 -> 0.9.9 since
0.9.8 was yanked from crates.io, per cargo deny check advisories.
2026-07-15 10:00:22 -04:00
Marvin Jones
000176c205
refactor: rename PrivateUnauthorized to PrivateForeignInit
...
The account_identity's is_authorized flag no longer determines
authorization for this variant, so keep the name tied to what
actually distinguishes it: no nsk, only npk (a foreign account init).
2026-07-15 09:23:21 -04:00
Pravdyvy
ea41d5a738
Merge pull request #582 from logos-blockchain/Pravdyvy/pda-account-id-generation
...
feat(wallet_ffi): pda account id generation in FFI
2026-07-15 16:18:23 +03:00
Pravdyvy
7cc094f3a4
fix(ci): fixtures and artifacts
2026-07-15 15:01:47 +03:00
Pravdyvy
7d0a2832d9
fix(deny): deny fix
2026-07-15 14:35:13 +03:00
Pravdyvy
651229c454
fix(wallet_ffi): merge upfix
2026-07-15 13:35:53 +03:00
Pravdyvy
e4fd9b2397
Merge branch 'dev' into Pravdyvy/pda-account-id-generation
2026-07-15 12:57:16 +03:00
Artem Gureev
2dd472217f
Merge pull request #598 from logos-blockchain/artem/batched-merkle-proofs
...
feat!: batched merkle proof fetching
2026-07-15 10:04:39 +04:00
Artem Gureev
40595604a4
Merge pull request #585 from logos-blockchain/artem/change-wallet-balance-fetch
...
feat(wallet): change wallet synchronization flow
2026-07-14 12:43:34 +04:00
Artem Gureev
e408c05297
feat(wallet): validate batched proofs against the root
2026-07-13 13:34:03 +00:00
Artem Gureev
8545ff1466
feat!(sequencer): serve proofs and root in one getProofsAndRoot RPC
...
BREAKING:
Before: An endpoint exposing getting a single proof for a commitment
existed.
After: There is one endpoint where you give a vector of commitments
and a vector of Maybe proofs back alongside the shared root.
Mitigation: Use the new rpc endpoint with the appopriate vector.
2026-07-13 13:34:03 +00:00
agureev
027ab5a0d9
chore: regenerate test fixtures
2026-07-13 15:51:17 +04:00
agureev
ae391612bd
Merge remote-tracking branch 'origin/dev' into artem/change-wallet-balance-fetch
2026-07-13 15:19:06 +04:00
Moudy
cac4921581
Merge pull request #542 from logos-blockchain/moudy/feat-cross-zone-messaging
...
feat!(cross-zone): async LEZ to LEZ cross-zone messaging
2026-07-11 02:24:34 +02:00
moudyellaz
eff31df9ce
Merge origin/dev
2026-07-11 01:12:00 +02:00
moudyellaz
c9b6df2be9
chore(cross-zone): remove stale old-style program_methods guest bins
2026-07-10 19:02:23 +02:00
erhant
5e53c34e80
Merge pull request #581 from logos-blockchain/erhant/indexer-recoverable-invalid-blocks
...
feat(indexer): recoverable invalid blocks
2026-07-10 18:58:10 +03:00
erhant
ce37428e1e
fix(indexer): handle park_undeserializable errors properly
2026-07-10 18:35:01 +03:00
erhant
1560b27d02
refactor(indexer): auto-cancel token on Drop
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
4d0be72973
chore(indexer): comment
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
587836e47c
fix(indexer): stop ingest loop cooperatively on shutdown
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
c297ad31d2
fix(indexer): seed breakpoint meta only on fresh store
...
`RISC0_DEV_MODE=1 RISC0_SKIP_BUILD=1 cargo test -p storage -p indexer_core`
2026-07-10 18:35:01 +03:00
erhant
e706211631
fix(indexer): walk down to nearest breakpoint
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
f188dbdb97
test(indexer): rename test, move to more suitable file
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