fix(lee,lez): apply program dispatch/bijection unification to code added after rebase

Codebase-wide rename of the stale loader_core crate name to
program_loader_core (192 call sites, plus Cargo.toml dependency
declarations), needed after the loader crate's rename landed upstream.

ping_receiver/wrapped_token's UpdateSources handler, cross_zone_inbox's
inbox_source_marker_account_id (moved from the now-superseded
cross_zone_marker crate), and several test/genesis call sites still
referenced ProgramId-bijection addresses or pre-unification struct
shapes (CrossZoneMessage.src_program_id, WrappedTokenConfig/
ReceiverConfig field types, InboxInstruction::Dispatch's tuple form)
that this branch's own dispatch-address unification had already moved
past elsewhere.
This commit is contained in:
Marvin Jones
2026-08-22 21:14:29 -04:00
parent 85110c4ac6
commit 5d8882fa7b
26 changed files with 202 additions and 77 deletions
+5 -4
View File
@@ -125,10 +125,11 @@ pub fn immutable_deploy_account_id(image_id: ProgramId) -> AccountId {
deploy_header_account_id(loader_id, image_id, 0, AccountId::default())
}
/// Executes the `Deploy` instruction: verifies `bytecode` decodes as a valid RISC0 program
/// binary, derives its header and segment PDAs, and claims both. Called natively from
/// dispatch's `RESERVED_DEPLOYMENT_PROGRAM_ACCOUNT_ID` shortcut (see that constant's doc
/// comment in `lee_core::program`).
/// Executes the `Deploy` instruction.
///
/// Verifies `bytecode` decodes as a valid RISC0 program binary, derives its header and segment
/// PDAs, and claims both. Called natively from dispatch's `RESERVED_DEPLOYMENT_PROGRAM_ACCOUNT_ID`
/// shortcut, which runs this instead of interpreting a guest ELF.
#[must_use]
pub fn execute_deploy(
self_program_id: ProgramId,