Skip to content

Commit

Permalink
chore(target_chains/cosmwasm): add rol_testnet network (#1419)
Browse files Browse the repository at this point in the history
  • Loading branch information
ali-bahjati authored Apr 4, 2024
1 parent 80b4dd9 commit 2398afe
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 2 deletions.
8 changes: 8 additions & 0 deletions contract_manager/store/chains/CosmWasmChains.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -66,3 +66,11 @@
prefix: juno
feeDenom: ujunox
type: CosmWasmChain
- endpoint: http://18.199.53.161:26657
id: rol_testnet
wormholeChainName: rol_testnet
mainnet: false
gasPrice: "0.025"
prefix: rol
feeDenom: urax
type: CosmWasmChain
Original file line number Diff line number Diff line change
Expand Up @@ -40,3 +40,6 @@
- chain: neutron_testnet_pion_1
address: neutron16zwrmx3zgggmxhzau86xfycm42cr4sj888hdvzsxya3qarp6zhhqzhlkvz
type: CosmWasmPriceFeedContract
- chain: rol_testnet
address: rol1pvrwmjuusn9wh34j7y520g8gumuy9xtl3gvprlljfdpwju3x7ucszdyfs8
type: CosmWasmPriceFeedContract
1 change: 1 addition & 0 deletions governance/xc_admin/packages/xc_admin_common/src/chains.ts
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,7 @@ export const RECEIVER_CHAINS = {
parallel_testnet: 50062,
polynomial_testnet: 50063,
linea_sepolia: 50064,
rol_testnet: 50065,
};

// If there is any overlapping value the receiver chain will replace the wormhole
Expand Down
5 changes: 3 additions & 2 deletions target_chains/cosmwasm/deploy-scripts/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
2. If the wormhole contract is not deployed on the target chain run the following command:

```
npm run instantiate-wormhole -- --private-key <YOUR_PRIVATE_KEY_HEX> --deploy <stable or edge> --chain <chain id>
npm run instantiate-wormhole -- --private-key <YOUR_PRIVATE_KEY_HEX> --deploy <stable or edge> --chain <chain>
```

You can re-build the wormhole contract using the scripts given in `wormhole-stub`.
Expand All @@ -13,7 +13,8 @@
3. Deploy the pyth contract:

```
npm run instantiate-pyth --contract-version <X.Y.Z> --private-key <YOUR_PRIVATE_KEY_HEX> --deploy <stable or edge>
npm run instantiate-pyth --contract-version <X.Y.Z> --private-key <YOUR_PRIVATE_KEY_HEX> \
--deploy <stable or edge> --wormhole <WORMHOLE_CONTRACT_ADDRESS> --chain <chain>
```

4. You can test the new contract via contract manager scripts like this:
Expand Down

0 comments on commit 2398afe

Please sign in to comment.