Skip to content

Commit 602bd9a

Browse files
chore(remote_executor): fogo mainnet deploy (#3253)
* chore(remote_executor): add fogo mainnet * chore(remote_executor): restore pythnet default
1 parent 02bf512 commit 602bd9a

File tree

4 files changed

+7
-0
lines changed

4 files changed

+7
-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
@@ -31,6 +31,7 @@ atlas_testnet = []
3131
mantis_mainnet = []
3232
sonic_mainnet = []
3333
fogo_testnet = []
34+
fogo_mainnet = []
3435

3536

3637
[dependencies]

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
@@ -20,6 +20,7 @@ pub const CHAIN_ID_ARRAY: &[(&str, u16)] = &[
2020
("mantis_mainnet", 40008),
2121
("sonic_mainnet", 40009),
2222
("fogo_testnet", 40010),
23+
("fogo_mainnet", 40011),
2324
];
2425

2526
#[cfg(any(feature = "pythnet", feature = "pythtest"))]
@@ -55,6 +56,9 @@ pub const CHAIN_ID: u16 = 40009;
5556
#[cfg(feature = "fogo_testnet")]
5657
pub const CHAIN_ID: u16 = 40010;
5758

59+
#[cfg(feature = "fogo_mainnet")]
60+
pub const CHAIN_ID: u16 = 40011;
61+
5862
#[derive(AnchorDeserialize, AnchorSerialize, Debug, PartialEq, Eq)]
5963
pub struct ExecutorPayload {
6064
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
@@ -27,6 +27,7 @@ impl Owner for AnchorVaa {
2727
feature = "mantis_mainnet",
2828
feature = "sonic_mainnet",
2929
feature = "fogo_testnet",
30+
feature = "fogo_mainnet",
3031
))]
3132
fn owner() -> Pubkey {
3233
Pubkey::from_str("HDwcJBJXjL9FpJ7UBsYBtaDjsBUhuLCUYoz3zr8SWWaQ").unwrap()

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ export const RECEIVER_CHAINS = {
3434
mantis_mainnet: 40008,
3535
sonic_mainnet: 40009,
3636
fogo_testnet: 40010,
37+
fogo_mainnet: 40011,
3738

3839
cronos: 60001,
3940
kcc: 60002,

0 commit comments

Comments
 (0)