Skip to content

Commit 99be611

Browse files
authored
[stacks] Add constants for Stacks (#1158)
* add constants for stacks * di
1 parent ae7610b commit 99be611

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ export const RECEIVER_CHAINS = {
5454
astar: 60035,
5555
coredao: 60036,
5656
tomochain: 60037,
57+
stacks: 60038,
5758

5859
// Testnets as a separate chain ids (to use stable data sources and governance for them)
5960
injective_testnet: 60013,
@@ -101,6 +102,7 @@ export const RECEIVER_CHAINS = {
101102
astar_testnet: 50036,
102103
coredao_testnet: 50037,
103104
tomochain_testnet: 50038,
105+
stacks_testnet: 50039,
104106
};
105107

106108
// If there is any overlapping value the receiver chain will replace the wormhole

target_chains/ethereum/contracts/contracts/pyth/PythGovernanceInstructions.sol

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,9 @@ contract PythGovernanceInstructions {
2020
enum GovernanceModule {
2121
Executor, // 0
2222
Target, // 1
23-
EvmExecutor // 2
23+
EvmExecutor, // 2
24+
// The stacks target chain contract has custom governance instructions and needs its own module.
25+
StacksTarget // 3
2426
}
2527

2628
GovernanceModule constant MODULE = GovernanceModule.Target;

0 commit comments

Comments
 (0)