Commit Graph
3380 Commits
Author SHA1 Message Date
Artem Gureev 3a718c32f5 Merge pull request #683 from logos-blockchain/artem/private-authorization-longevity
fix!(lee): scope private PDA authorization to the callee subtree
2026-08-18 17:31:14 +04:00
agureev 9b75c38a6d chore: update dep to fix deny 2026-08-18 15:11:03 +04:00
Moudy 3e1412ee6a Merge pull request #721 from logos-blockchain/moudy/cross-zone-shared-acceptance
fix(cross-zone): one peer-block acceptance policy for watcher and verifier
2026-08-18 00:33:09 +02:00
agureev 7b6b439eb2 chore: artifacts 2026-08-17 22:20:01 +04:00
Artem Gureev f83cf9b300 perf(lee): extend the caller set for the child authorization scope 2026-08-17 17:29:56 +00:00
Artem Gureev 49a8d00260 doc: correct globally_authorized scope description 2026-08-17 17:29:56 +00:00
Artem Gureev 05c72e2863 doc: fix stale function name in comment 2026-08-17 17:29:56 +00:00
agureev 1ff8336917 chore: regen artifacts 2026-08-17 17:29:56 +00:00
Artem Gureev f707d5e8fb refactor(lee): dedup test, function naming 2026-08-17 17:23:39 +00:00
Artem Gureev f828026df9 fix(lee): authorize caller-seeded public PDAs at first sight 2026-08-17 17:23:39 +00:00
agureev c77313b5ca fix(lee): check private PDA authorization on first sight 2026-08-17 17:23:39 +00:00
agureev 79c43dc5a0 fix!(lee): scope private PDA authorization to the callee subtree
BREAKING!

Before: authorized private PDAs remain authorized for the rest of the
calls after.

After: the authorized preivate PDAs remain authorized for the rest of
the callee subtree.
2026-08-17 17:23:39 +00:00
jonesmarvin8andClaude Sonnet 5 2a7a586a59 refactor(key-protocol)!: introduce constitent domain separators for key protocol (#717)
* feat(key_protocol): version-independent domain separators for normal keys

Introduce a /LEE-Keys/v1/... namespace for account key derivation
(private and public), distinct from LEE protocol versioning
(/LEE/v0.3/...). This lets the key derivation protocol evolve
independently of the transaction/message format version, so a LEE
version bump doesn't silently rotate or orphan user keys.

Covers master/child private and public key derivation, authorization
and viewing secret keys, and nullifier secret/public key derivation
(the latter also used by the privacy-preserving guest circuit).
Pinned regression tests updated to match the new derivation outputs.

* chore(artifacts): rebuild guest ELFs and test fixture for key protocol change

Regenerated via just build-artifacts after the /LEE-Keys/v1/... domain
separator migration touched lee_core::nullifier, which every guest
program links against, and changed derived account IDs embedded in
the prebuilt sequencer fixture.

* test(testnet_initial_state): update pinned private-account values for new key domain separators

initial_priv_accounts_private_keys() derives from fixed SSK roots
through the key_protocol chain the /LEE-Keys/v1/... migration changed,
so the derived viewing secret keys and account addresses shifted even
though the SSK roots themselves didn't. Public account addresses are
unaffected since they sign with a raw PrivateKey outside this chain.

* chore(artifacts): rebuild guest ELFs and test fixture after dev rebase

The rebase onto dev conflicted on these binaries (dev had independently
rebuilt them since this branch diverged). Conflicts were resolved
provisionally during the rebase and are now replaced with a fresh
build-artifacts run against the fully merged tree.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Sonnet 5 <noreply@anthropic.com>
2026-08-17 10:08:12 -04:00
Pravdyvy 89815f19fb Merge pull request #703 from logos-blockchain/Pravdyvy/cli-extension
feat(wallet): CLI extension
2026-08-17 09:52:04 +03:00
Pravdyvy 56dc5eeb4e Merge branch 'dev' into Pravdyvy/cli-extension 2026-08-17 07:50:30 +03:00
Sergio Chouhy a9b79c3ea2 Merge pull request #653 from logos-blockchain/schouhy/lez-sequencer-self-join
feat!: lez sequencer self join
2026-08-14 11:43:33 -03:00
Sergio Chouhy 990353e55e fix(test_fixtures): only use provided bedrock signing key when prebuilt dump is not used 2026-08-14 00:58:31 -03:00
Sergio Chouhy 219fd3aa3e chore: bump libp2p to 0.56 to match the bedrock dependency
The gossip code pins libp2p 0.55, whose libp2p-swarm-derive requirement
(=0.35.0) is unsatisfiable alongside the 0.56 tree pulled in by bedrock.
2026-08-13 19:36:59 -03:00
Sergio Chouhy 0332c84ee6 refactor(sequencer): rename produce_new_block to run_production_turn 2026-08-13 18:48:27 -03:00
Sergio Chouhy 6c60012dd9 refactor(sequencer)!: move the stake signing key to a file 2026-08-13 18:47:50 -03:00
Sergio Chouhy 96832310d1 refactor(sequencer_stake)!: use a sequencer key type that verifies correctness on deserialization 2026-08-13 18:47:50 -03:00
Sergio Chouhy 0633c17c5c refactor(lez/sequencer): config submission cooldown is expressed in bedrock slots instead of time 2026-08-13 18:47:50 -03:00
Sergio Chouhy fa3720ee56 refactor(sequencer_stake)use the vacant/occupied pattern in the stake function 2026-08-13 18:47:50 -03:00
Sergio Chouhy b1eb69322c fix(integration_tests): multi sequencer now builds the state with two accredited keys from channel creation 2026-08-13 18:47:50 -03:00
Sergio Chouhy 9c9e18b80d fix(test_fixtures): pin bedrock key for prebuilt dump 2026-08-13 18:47:50 -03:00
Sergio Chouhy be81184028 fix(lez): sequencer refuses to submit a channel config update with empty accredited_keys 2026-08-13 18:47:50 -03:00
Sergio Chouhy 818bcb066d refactor(lez): sequencer retries on startup when bedrock is unreachable 2026-08-13 18:47:50 -03:00
Sergio Chouhy 5304b94479 docs(lez): add a TODO to proplerly set the genesis minimum stake 2026-08-13 18:47:50 -03:00
Sergio Chouhy 3d04499d86 refactor: use type alias for slots 2026-08-13 18:47:50 -03:00
Sergio Chouhy 0ec811b0fc chore: add lints to sequencer_stake 2026-08-13 18:47:50 -03:00
Sergio Chouhy 17b49f5a94 fix: verify l1 key in-guest 2026-08-13 18:47:50 -03:00
Sergio Chouhy 05f481ddb6 fix(lez): bump bedrock and remove hotfix for zone-sdk signing channel config bug 2026-08-13 18:47:50 -03:00
Sergio Chouhy 1fd81a7889 fix(lez)!: first sequencer stake ownership account on genesis block 2026-08-13 18:47:50 -03:00
Sergio Chouhy 39d19151ba add sequencer script to join/leave 2026-08-13 18:47:50 -03:00
Sergio Chouhy cf875398ef fix(lez): bootstrapping behavior depends on Bedrock channel existance 2026-08-13 18:47:23 -03:00
erhant a99112aa8f feat(lez): implement self-join/leave mechanism 2026-08-13 18:47:23 -03:00
moudyellaz b672f6b663 fix(cross-zone): judge peer blocks in the verifier with the shared policy 2026-08-13 21:46:19 +02:00
moudyellaz 5b87891230 feat(cross-zone): extract one peer-block acceptance policy and adopt it in the watcher 2026-08-13 21:46:19 +02:00
erhant e59ba8360a Merge pull request #662 from logos-blockchain/erhant/sequencer-gossip
feat(sequencer): gossip module
2026-08-13 21:43:19 +03:00
erhant 5171a30552 chore(sequencer): add FIXME comment about unsecured key to bytes [skip ci] 2026-08-13 21:42:27 +03:00
erhant 0203b8c55f test(sequencer): gossip end-to-end integration test 2026-08-13 21:02:07 +03:00
erhant bc2302b19b fix(sequencer): retry gossip bootstrap and requeue failed publishes 2026-08-13 19:33:45 +03:00
erhantandClaude Fable 5 ebe4123386 Merge remote-tracking branch 'origin/dev' into erhant/sequencer-gossip
Resolves the actors-refactor (#691) collision: gossip now starts in
sequencer_service::run() after ExecutorActor construction (which exposes
its mempool handle), and the RPC-side publish hook threads through
RpcServerActor::new into the actor's Service.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-08-13 19:04:09 +03:00
Moudy 7699cd3ab3 Merge pull request #697 from logos-blockchain/moudy/cross-zone-outbox-log
fix(cross-zone)!: make an outbox slot a write-once log entry keyed by its emitter
2026-08-13 13:18:05 +02:00
moudyellaz b9173e675f Merge remote-tracking branch 'origin/dev' into moudy/cross-zone-outbox-log
# Conflicts:
#	test_fixtures/fixtures/prebuilt_sequencer_db.dump
#	tools/cross_zone_chat/src/main.rs
2026-08-13 09:35:37 +02:00
Pravdyvy 18da5dfe93 feat(wallet): sequencers removal added as well 2026-08-13 06:53:01 +03:00
Pravdyvy e2534dd03b Merge branch 'dev' into Pravdyvy/cli-extension 2026-08-13 06:45:06 +03:00
Pravdyvy 4f9993149c Merge pull request #643 from logos-blockchain/Pravdyvy/multi-sequencer-integration-tests
feat(integration_tests): adding multi-sequencer support for integration tests
2026-08-13 06:42:50 +03:00
Pravdyvy f0861d2497 Merge branch 'dev' into Pravdyvy/multi-sequencer-integration-tests 2026-08-13 04:10:13 +03:00
Pravdyvy 3fc1001ade fix(ci): fixtures rebuild 2026-08-13 03:47:09 +03:00