소스 검색

fix(contract_manager): Update some rpc urls + better error description (#1346)

* Better error message

* Replace faulty rpcs on cosmwasm
Amin Moghaddam 1 년 전
부모
커밋
ce614fa077
2개의 변경된 파일5개의 추가작업 그리고 4개의 파일을 삭제
  1. 2 1
      contract_manager/src/chains.ts
  2. 3 3
      contract_manager/store/chains/CosmWasmChains.yaml

+ 2 - 1
contract_manager/src/chains.ts

@@ -47,7 +47,8 @@ export abstract class Chain extends Storable {
     this.wormholeChainName = wormholeChainName as ChainName;
     if (toChainId(this.wormholeChainName) === undefined)
       throw new Error(
-        `Invalid chain name ${wormholeChainName}. Try rebuilding xc_admin_common package`
+        `Invalid chain name ${wormholeChainName}.
+        Try rebuilding xc_admin_common: npx lerna run build --scope xc_admin_common`
       );
   }
 

+ 3 - 3
contract_manager/store/chains/CosmWasmChains.yaml

@@ -1,4 +1,4 @@
-- endpoint: https://injective-rpc.quickapi.com:443
+- endpoint: https://sentry.tm.injective.network:443
   id: injective
   wormholeChainName: injective
   mainnet: true
@@ -20,7 +20,7 @@
   prefix: osmo
   feeDenom: uosmo
   type: CosmWasmChain
-- endpoint: https://k8s.testnet.tm.injective.network:443
+- endpoint: https://testnet.sentry.tm.injective.network:443
   id: injective_testnet
   wormholeChainName: injective_testnet
   mainnet: false
@@ -58,7 +58,7 @@
   prefix: neutron
   feeDenom: untrn
   type: CosmWasmChain
-- endpoint: https://rpc.uni.junonetwork.io/
+- endpoint: https://juno-testnet-rpc.polkachu.com/
   id: juno_testnet
   wormholeChainName: juno_testnet
   mainnet: false