mirror of
https://github.com/logos-blockchain/logos-execution-zone.git
synced 2026-08-26 20:01:16 +00:00
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:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user