Skip to content

Commit 0349da4

Browse files
authored
update mantis_mainnet deployment (#2135)
1 parent 93418aa commit 0349da4

File tree

4 files changed

+8
-0
lines changed

4 files changed

+8
-0
lines changed

governance/remote_executor/programs/remote-executor/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ mantis_testnet = []
2828
sonic_devnet = []
2929
sonic_testnet = []
3030
atlas_testnet = []
31+
mantis_mainnet = []
3132

3233
[dependencies]
3334
anchor-lang = {version = "0.25.0", features = ["init-if-needed"]}

governance/remote_executor/programs/remote-executor/src/state/governance_payload.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ pub const CHAIN_ID_ARRAY: &[(&str, u16)] = &[
1717
("sonic_devnet", 40005),
1818
("sonic_testnet", 40006),
1919
("atlas_testnet", 40007),
20+
("mantis_mainnet", 40008),
2021
];
2122

2223
#[cfg(any(feature = "pythnet", feature = "pythtest"))]
@@ -43,6 +44,9 @@ pub const CHAIN_ID: u16 = 40006;
4344
#[cfg(feature = "atlas_testnet")]
4445
pub const CHAIN_ID: u16 = 40007;
4546

47+
#[cfg(feature = "mantis_mainnet")]
48+
pub const CHAIN_ID: u16 = 40008;
49+
4650
#[derive(AnchorDeserialize, AnchorSerialize, Debug, PartialEq, Eq)]
4751
pub struct ExecutorPayload {
4852
pub header: GovernanceHeader,

governance/remote_executor/programs/remote-executor/src/state/posted_vaa.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ impl Owner for AnchorVaa {
2424
feature = "sonic_devnet",
2525
feature = "sonic_testnet",
2626
feature = "atlas_testnet",
27+
feature = "mantis_mainnet",
2728
))]
2829
fn owner() -> Pubkey {
2930
Pubkey::from_str("HDwcJBJXjL9FpJ7UBsYBtaDjsBUhuLCUYoz3zr8SWWaQ").unwrap()

governance/xc_admin/packages/xc_admin_common/src/chains.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@ export const RECEIVER_CHAINS = {
3030
mantis_testnet: 40004,
3131
sonic_devnet: 40005,
3232
sonic_testnet: 40006,
33+
atlas_testnet: 40007,
34+
mantis_mainnet: 40008,
3335

3436
cronos: 60001,
3537
kcc: 60002,

0 commit comments

Comments
 (0)