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.
This commit is contained in:
moudyellaz
2026-08-12 15:44:29 +02:00
parent 23cd084bdb
commit 44acb4ba73
15 changed files with 941 additions and 536 deletions
+10
View File
@@ -21,6 +21,16 @@ pub const fn chain_caller() -> Program {
Program::new_unchecked(CHAIN_CALLER_ID, Cow::Borrowed(CHAIN_CALLER_ELF))
}
#[must_use]
#[inline]
pub const fn authority_proxy() -> Program {
use guests::{AUTHORITY_PROXY_ELF, AUTHORITY_PROXY_ID, AUTHORITY_PROXY_PATH};
let _unused = AUTHORITY_PROXY_PATH;
Program::new_unchecked(AUTHORITY_PROXY_ID, Cow::Borrowed(AUTHORITY_PROXY_ELF))
}
#[must_use]
#[inline]
pub const fn claimer() -> Program {