From 88b785ef35e4161bee0021d0f01c88d8e0d38c25 Mon Sep 17 00:00:00 2001 From: yihuang Date: Wed, 14 Apr 2021 15:31:35 +0800 Subject: [PATCH 1/2] update musselnet's chain id --- packages/cw20-wallet/src/config.ts | 2 +- packages/name-service/src/config.ts | 2 +- packages/native-staking/src/config.ts | 2 +- packages/staking-service/src/config.ts | 2 +- packages/wallet/src/config.ts | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/packages/cw20-wallet/src/config.ts b/packages/cw20-wallet/src/config.ts index 3d169298..6d90fd6c 100644 --- a/packages/cw20-wallet/src/config.ts +++ b/packages/cw20-wallet/src/config.ts @@ -18,7 +18,7 @@ const local: AppConfig = { }; const musselnet: AppConfig = { - chainId: "musselnet-2", + chainId: "musselnet-4", chainName: "Musselnet", addressPrefix: "wasm", rpcUrl: "https://rpc.musselnet.cosmwasm.com", diff --git a/packages/name-service/src/config.ts b/packages/name-service/src/config.ts index 07448174..65a7ff83 100644 --- a/packages/name-service/src/config.ts +++ b/packages/name-service/src/config.ts @@ -19,7 +19,7 @@ const local: AppConfig = { }; const musselnet: AppConfig = { - chainId: "musselnet-2", + chainId: "musselnet-4", chainName: "Musselnet", addressPrefix: "wasm", rpcUrl: "https://rpc.musselnet.cosmwasm.com", diff --git a/packages/native-staking/src/config.ts b/packages/native-staking/src/config.ts index 2844f0eb..4cf605cf 100644 --- a/packages/native-staking/src/config.ts +++ b/packages/native-staking/src/config.ts @@ -19,7 +19,7 @@ const local: AppConfig = { }; const musselnet: AppConfig = { - chainId: "musselnet-2", + chainId: "musselnet-4", chainName: "Musselnet", addressPrefix: "wasm", rpcUrl: "https://rpc.musselnet.cosmwasm.com", diff --git a/packages/staking-service/src/config.ts b/packages/staking-service/src/config.ts index 2844f0eb..4cf605cf 100644 --- a/packages/staking-service/src/config.ts +++ b/packages/staking-service/src/config.ts @@ -19,7 +19,7 @@ const local: AppConfig = { }; const musselnet: AppConfig = { - chainId: "musselnet-2", + chainId: "musselnet-4", chainName: "Musselnet", addressPrefix: "wasm", rpcUrl: "https://rpc.musselnet.cosmwasm.com", diff --git a/packages/wallet/src/config.ts b/packages/wallet/src/config.ts index e6afa49c..3ac05a56 100644 --- a/packages/wallet/src/config.ts +++ b/packages/wallet/src/config.ts @@ -17,7 +17,7 @@ const local: AppConfig = { }; const musselnet: AppConfig = { - chainId: "musselnet-2", + chainId: "musselnet-4", chainName: "Musselnet", addressPrefix: "wasm", rpcUrl: "https://rpc.musselnet.cosmwasm.com", From 5f92ce7418b783fbdb92db4f96c13bf6805655f1 Mon Sep 17 00:00:00 2001 From: yihuang Date: Wed, 14 Apr 2021 15:32:07 +0800 Subject: [PATCH 2/2] add cosmwasm features to keplr config --- packages/logic/src/config.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/logic/src/config.ts b/packages/logic/src/config.ts index 4ef6473a..a673a459 100644 --- a/packages/logic/src/config.ts +++ b/packages/logic/src/config.ts @@ -27,6 +27,7 @@ export interface KeplrConfig { readonly average: number; readonly high: number; }; + readonly features?: string[]; readonly bip44: { readonly coinType: number }; readonly coinType: number; } @@ -105,6 +106,7 @@ export function configKeplr(config: AppConfig): KeplrConfig { average: config.gasPrice, high: config.gasPrice * 2, }, + features: ["cosmwasm"], bip44: { coinType: 118 }, coinType: 118, };