Skip to content

Commit ff89f36

Browse files
author
Dev Kalra
authored
[cosmwasm] Add osmosis testnet config (#499)
* add osmosis testnet config * empty commit
1 parent e4963f4 commit ff89f36

File tree

3 files changed

+20
-0
lines changed

3 files changed

+20
-0
lines changed

target-chains/cosmwasm/tools/src/deployer/config.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,12 @@ export const CONFIG: Config = {
4141
network: Network.Testnet,
4242
},
4343
},
44+
[NETWORKS.OSMOSIS_TESTNET]: {
45+
type: CONFIG_TYPE.OSMOSIS,
46+
host: {
47+
endpoint: "https://rpc-test.osmosis.zone:443",
48+
},
49+
},
4450
[NETWORKS.OSMOSIS_LOCAL]: {
4551
type: CONFIG_TYPE.OSMOSIS,
4652
host: {

target-chains/cosmwasm/tools/src/network.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ export enum NETWORKS {
33
TERRA_TESTNET = "terra_testnet",
44
TERRA_LOCAL = "terra_local",
55
INJECTIVE_TESTNET = "injective_testnet",
6+
OSMOSIS_TESTNET = "osmosis_testnet",
67
OSMOSIS_LOCAL = "osmosis_local",
78
}
89

target-chains/cosmwasm/tools/src/pyth_config.ts

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,19 @@ export const CONFIG: Config = {
129129
},
130130
...PYTH_SOURCES_TESTNET,
131131
},
132+
[NETWORKS.OSMOSIS_TESTNET]: {
133+
wormhole_contract:
134+
"osmo1hggkxr0hpw83f8vuft7ruvmmamsxmwk2hzz6nytdkzyup9krt0dq27sgyx",
135+
governance_source_index: 0,
136+
governance_sequence_number: 0,
137+
chain_id: 20,
138+
valid_time_period_secs: 60,
139+
fee: {
140+
amount: "1",
141+
denom: "uosmo",
142+
},
143+
...PYTH_SOURCES_TESTNET,
144+
},
132145
// this details below are invalid and random
133146
// they are to be used only for for testing purposes
134147
[NETWORKS.OSMOSIS_LOCAL]: {

0 commit comments

Comments
 (0)