Commit Graph
3239 Commits
Author SHA1 Message Date
moudyellaz a6aa5ff358 chore: regenerate artifacts and the prebuilt sequencer fixture 2026-08-16 23:41:00 +02:00
moudyellaz 073c9baa2d perf(lez)!: borrow account data in the guests instead of cloning
BREAKING CHANGE: six guest image ids move.
2026-08-16 23:41:00 +02:00
moudyellaz c3a40b299f chore: regenerate artifacts and the prebuilt sequencer fixture 2026-08-12 16:14:26 +02:00
moudyellaz 44acb4ba73 feat(cross-zone)!: let the authority act through a configured governance program
BREAKING CHANGE: WrappedTokenConfig and ReceiverConfig gain a governance field and CrossZoneConfig gains source_governance, so the config layouts change and every program image id moves.
2026-08-12 15:44:29 +02:00
moudyellaz 23cd084bdb fix(cross-zone)!: claim the source authority, and guard its precondition
BREAKING CHANGE: the targets claim the authority account on their first use of it, so both target image ids move.
2026-08-12 14:55:23 +02:00
moudyellaz b1681b854f feat(cross-zone)!: let a target's peer sources be updated by a named authority
BREAKING CHANGE: WrappedTokenConfig and ReceiverConfig gain an authority field and CrossZoneConfig gains source_authority, so the config layouts change and every program image id moves.
2026-08-12 14:10:24 +02:00
moudyellaz 869a130eec chore: regenerate artifacts and the prebuilt sequencer fixture
Every guest moved, not only the ones whose source changed: adding real
dependencies (borsh to two cores, cross_zone_inbox_core to two targets) changes
the build graph, and with it the metadata hash of every crate in the guest build.
Piece A moved only three because it added a dev-dependency, which the guest build
never sees.
2026-08-10 15:01:26 +02:00
moudyellaz f26193eedc fix(cross-zone)!: drop the inbox route allowlist now targets authorize themselves
BREAKING CHANGE: InboxConfig is just self_zone; allowed_routes, InboxConfig::permits
and routes_permit are gone, and build_inbox_init_config_tx no longer takes the
cross-zone config. The operator's per-peer routes still configure the same thing,
fanned out at genesis into each target's own config instead. The watcher keeps
only a hygiene filter refusing a peer that names a sequencer-only program, kept
host-side so it cannot make the verifier disagree.
2026-08-10 14:15:57 +02:00
moudyellaz 6a15eaec93 feat(cross-zone)!: have ping_receiver authorize its own peer sources
BREAKING CHANGE: ping_receiver gains a config PDA holding the deliverer and the
peer sources it accepts, ReceiverInstruction gains InitConfig, and Record takes
[source marker, config, record] instead of the record alone. Every emitter aimed
at ping_receiver must name its config account in target_accounts. The
ping_receiver and ping_sender image ids move, and a fresh genesis is required.
2026-08-10 13:30:28 +02:00
moudyellaz 03033f0f41 feat(cross-zone)!: have wrapped_token authorize its own peer sources
BREAKING CHANGE: the wrapped-token config PDA holds a borsh WrappedTokenConfig
(minter plus authorized source pairs) rather than a bare minter id, and
Instruction::InitConfig takes it as a single field. Mint now refuses a source the
token has not authorized, checked against the inbox's source marker. The
wrapped_token image id moves, and bridge_lock's with it, since it links
wrapped_token_core.
2026-08-10 11:59:00 +02:00
moudyellaz cc7192a2d9 feat(cross-zone)!: carry the peer source to the target as a marker account
BREAKING CHANGE: an inbox dispatch now declares [config, seen shard, source
marker, ...target accounts], and a target's chained call receives the marker at
position 0, so wrapped_token::Mint and ping_receiver::Record each take one more
leading account. The inbox, wrapped_token and ping_receiver image ids move,
relocating their PDAs and requiring a fresh genesis.
2026-08-10 11:11:05 +02:00
moudyellaz cd4027593c chore: regenerate artifacts and the prebuilt sequencer fixture 2026-08-09 19:47:47 +02:00
moudyellaz 421e76b946 feat(cross-zone)!: pin bridge_lock's outbox, mint target, and mint accounts
BREAKING CHANGE: Instruction::Lock drops outbox_program_id and takes the
bridge-lock config PDA as its first account, changing both the instruction
encoding and the account list. bridge_lock's image id moves, relocating its
escrow and config PDAs and requiring a fresh genesis. Sequencer, indexer and
every peer zone must upgrade together: a stale decoder re-derives a different
dispatch and reports Forged.
2026-08-09 19:02:28 +02:00
moudyellaz a04b3eeaa9 feat(cross-zone)!: pin ping_sender's outbox to a genesis-seeded config
BREAKING CHANGE: SenderInstruction::Send drops outbox_program_id and takes the
sender config PDA as its first account, changing both the instruction encoding
and the account list. ping_sender's image id moves, relocating its PDAs and
requiring a fresh genesis. Sequencer, indexer and every peer zone must upgrade
together: a stale decoder re-derives a different dispatch and reports Forged.
2026-08-09 18:01:38 +02:00
moudyellaz 7a324f2825 chore: regenerate artifacts and the prebuilt sequencer fixture 2026-08-09 02:21:14 +02:00
moudyellaz 09c68eca86 fix(cross-zone-chat): start outbox ordinals from a free slot 2026-08-09 01:21:07 +02:00
moudyellaz 41936b658b feat(cross-zone)!: make an outbox slot a write-once log entry keyed by its emitter
Closes #675.

BREAKING CHANGE: an outbox message PDA is now derived from the emitting program
as well as the destination zone and ordinal, and the seed domain moves to
/00001/, so every outbox record address changes. `OutboxRecord` gains `emitter`
and `ordinal`, changing its borsh layout, so records written by earlier code are
orphaned at their old addresses and no longer decode. A second `Emit` at the same
(emitter, target_zone, ordinal) now fails the transaction instead of silently
overwriting the record, so a caller must choose an ordinal the chain does not
already hold rather than counting from zero. A fresh genesis is required.
2026-08-09 00:18:14 +02:00
moudyellaz e0d5747b19 Merge branch 'dev' 2026-08-07 22:48:27 +02:00
moudyellaz abc1a57e14 chore: regenerate artifacts and the prebuilt sequencer fixture 2026-08-07 22:23:59 +02:00
moudyellaz bb54bd0581 docs: simplify comments 2026-08-07 18:30:14 +02:00
moudyellaz 69a5aa7899 fix(cross-zone)!: cap a single wrapped-token mint
Closes #678.

BREAKING CHANGE: `wrapped_token` and `bridge_lock` image ids move, relocating the
wrapped-token config and every holding PDA. A lock above the cap is now refused
at the source rather than escrowing balance the destination will not mint.
2026-08-07 14:56:55 +02:00
moudyellaz 5cbd821261 fix(cross-zone)!: shard the inbox seen-set per peer block, keyed by tx index
Closes #676.

BREAKING CHANGE: the seen-shard PDA address and its data layout both change, so
every message delivered under the old layout becomes deliverable again at the new
address, and the old shards are orphaned. A fresh genesis is required.
2026-08-07 11:48:56 +02:00
moudyellaz af2a025b8f feat(cross-zone)!: bind a delivery to the peer block hash it came from
BREAKING CHANGE: `CrossZoneMessage` gains `src_block_hash`, changing the risc0
encoding of `cross_zone_inbox::Instruction::Dispatch` and the inbox image id,
and with it the inbox config and seen-shard PDA addresses. A pending dispatch
record written by earlier code no longer names a registered program, so it fails
production and is dead-lettered rather than delivered. Drain the pending list
before upgrading, or accept that in-flight deliveries are lost.
2026-08-07 11:01:16 +02:00
moudyellaz e274a4b29d feat(sequencer): count and expose the cross-zone deliveries given up on 2026-08-07 10:13:30 +02:00
Artem Gureev cbd10c5bba Merge pull request #660 from logos-blockchain/artem/private-kinds-refactor
refactor(lee): refactor private kinds
2026-08-07 11:46:56 +04:00
moudyellaz c245434f09 feat(sequencer): dead-letter the cross-zone deliveries this node gives up on 2026-08-07 02:57:34 +02:00
Sergio Chouhy cdabad7760 Merge pull request #689 from logos-blockchain/schouhy/bump-zone-sdk-version
chore(workspace): bump zone sdk version
2026-08-06 19:23:54 -03:00
Sergio Chouhy 245c63d190 chore(workspace): bump bedrock rev 2026-08-06 16:41:06 -03:00
Sergio Chouhy 3d5f083e78 fix(lez): duplicated lines 2026-08-06 16:40:39 -03:00
Moudy 751c6bf8ec Merge pull request #686 from logos-blockchain/moudy/cross-zone-content-bound-key
fix(lez): deliver only from peer blocks on the peer's verified chain
2026-08-06 21:00:07 +02:00
Moudy cfc7942c3c Merge branch 'dev' into moudy/cross-zone-content-bound-key 2026-08-06 20:59:46 +02:00
erhant da1f12cf2c Merge pull request #687 from logos-blockchain/erhant/fix-sequencer-reorg-problems-testnet-0.2.1
fix(sequencer): properly adopt / orphan blocks in false-pos from L1
2026-08-06 21:12:23 +03:00
erhant 80a56be5aa fix(sequencer): properly adopt / orphan blocks in false-pos from L1 2026-08-06 20:44:48 +03:00
moudyellaz c7739733db fix(indexer): deliver only from peer blocks inside the verified run 2026-08-06 10:17:12 +02:00
moudyellaz 5c28c4cc0c fix(sequencer): deliver only from a peer block on its verified chain 2026-08-05 20:49:41 +02:00
moudyellaz e4dcc39277 feat(storage): add a durable per-peer cross-zone chain tip 2026-08-05 19:27:06 +02:00
Artem Gureev ca23f12f7a refactor(lee): keep the authorization precondition match wildcard-free 2026-08-05 11:43:02 +04:00
Moudy 82d692bf4c Merge pull request #670 from logos-blockchain/moudy/peer-cache-validation
fix(indexer): validate peer blocks before caching them
2026-08-05 06:09:55 +02:00
Pravdyvy acd269649a Merge pull request #671 from logos-blockchain/Pravdyvy/builtin-programs-integration-tests-removal
ci(integration_tests): Tests removal + Simple retry on fixtures
2026-08-04 17:52:34 +03:00
Pravdyvy 7b9e323dd2 fix: suggestion fix 1 2026-08-04 15:43:52 +03:00
Daniil Polyakov ebea32cbe3 Merge pull request #680 from logos-blockchain/arjentix/priority_fee_config
feat(sequencer): expose zone_sdk priority_fee in config
2026-08-04 15:27:06 +03:00
agureev d05035eb9e refactor(lee): refactor private kinds 2026-08-04 15:55:09 +04:00
Daniil Polyakov 409ebb48cc feat(sequencer): expose zone_sdk priority_fee in config 2026-08-04 14:07:06 +03:00
Artem Gureev 57d45f14fa Merge pull request #604 from logos-blockchain/artem/bundle-actions
refactor!: bundle private/public i/o into action structs
2026-08-04 15:06:39 +04:00
agureev ccb426960f Merge remote-tracking branch 'origin/dev' into artem/bundle-actions 2026-08-04 14:21:00 +04:00
Pravdyvy 8f0a3032cb fix(ci): machete fix 2026-08-04 07:54:29 +03:00
Pravdyvy 9a82a0cfcb feat(integration_tests): tests removal + simple retry on fixtures 2026-08-04 07:40:21 +03:00
moudyellaz 2b5096aa2e fix(indexer): validate peer blocks before caching them 2026-08-04 03:06:46 +02:00
Daniil Polyakov cfac4d5b0b Merge pull request #651 from logos-blockchain/arjentix/metrics
feat(metrics): add sequencer metrics & grafana dashboard generation tool
2026-08-04 00:57:09 +03:00
Daniil Polyakov cd835bd0c9 feat(sequencer): add possibility to disable metrics 2026-08-03 23:46:35 +03:00