diff --git a/governance/remote_executor/programs/remote-executor/Cargo.toml b/governance/remote_executor/programs/remote-executor/Cargo.toml index 08b338a3bf..81b7cb31e9 100644 --- a/governance/remote_executor/programs/remote-executor/Cargo.toml +++ b/governance/remote_executor/programs/remote-executor/Cargo.toml @@ -28,6 +28,7 @@ mantis_testnet = [] sonic_devnet = [] sonic_testnet = [] atlas_testnet = [] +mantis_mainnet = [] [dependencies] anchor-lang = {version = "0.25.0", features = ["init-if-needed"]} diff --git a/governance/remote_executor/programs/remote-executor/src/state/governance_payload.rs b/governance/remote_executor/programs/remote-executor/src/state/governance_payload.rs index ddf670f607..fa2167c0f1 100644 --- a/governance/remote_executor/programs/remote-executor/src/state/governance_payload.rs +++ b/governance/remote_executor/programs/remote-executor/src/state/governance_payload.rs @@ -17,6 +17,7 @@ pub const CHAIN_ID_ARRAY: &[(&str, u16)] = &[ ("sonic_devnet", 40005), ("sonic_testnet", 40006), ("atlas_testnet", 40007), + ("mantis_mainnet", 40008), ]; #[cfg(any(feature = "pythnet", feature = "pythtest"))] @@ -43,6 +44,9 @@ pub const CHAIN_ID: u16 = 40006; #[cfg(feature = "atlas_testnet")] pub const CHAIN_ID: u16 = 40007; +#[cfg(feature = "mantis_mainnet")] +pub const CHAIN_ID: u16 = 40008; + #[derive(AnchorDeserialize, AnchorSerialize, Debug, PartialEq, Eq)] pub struct ExecutorPayload { pub header: GovernanceHeader, diff --git a/governance/remote_executor/programs/remote-executor/src/state/posted_vaa.rs b/governance/remote_executor/programs/remote-executor/src/state/posted_vaa.rs index f17fec6833..e410f582ae 100644 --- a/governance/remote_executor/programs/remote-executor/src/state/posted_vaa.rs +++ b/governance/remote_executor/programs/remote-executor/src/state/posted_vaa.rs @@ -24,6 +24,7 @@ impl Owner for AnchorVaa { feature = "sonic_devnet", feature = "sonic_testnet", feature = "atlas_testnet", + feature = "mantis_mainnet", ))] fn owner() -> Pubkey { Pubkey::from_str("HDwcJBJXjL9FpJ7UBsYBtaDjsBUhuLCUYoz3zr8SWWaQ").unwrap() diff --git a/governance/xc_admin/packages/xc_admin_common/src/chains.ts b/governance/xc_admin/packages/xc_admin_common/src/chains.ts index 5d9dfd9ad5..988af22b23 100644 --- a/governance/xc_admin/packages/xc_admin_common/src/chains.ts +++ b/governance/xc_admin/packages/xc_admin_common/src/chains.ts @@ -30,6 +30,8 @@ export const RECEIVER_CHAINS = { mantis_testnet: 40004, sonic_devnet: 40005, sonic_testnet: 40006, + atlas_testnet: 40007, + mantis_mainnet: 40008, cronos: 60001, kcc: 60002,