From 3a5a40d6cc81e17998003b318b6816174e256d4d Mon Sep 17 00:00:00 2001 From: Clockwork Date: Fri, 8 Dec 2023 22:17:08 +0200 Subject: [PATCH] fix: Minor keplr type-checking bug (#3825) * fix: Minor keplr type-checking bug * chore: Add changelog --------- Co-authored-by: Danilo Pantani --- changelog.md | 4 ++++ ignite/pkg/cosmosgen/templates/root/client.ts.tpl | 3 --- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/changelog.md b/changelog.md index b1b3b574cd..3a5900afce 100644 --- a/changelog.md +++ b/changelog.md @@ -2,6 +2,10 @@ ## Unreleased +### Fixes + +- [#3825](https://github.com/ignite/cli/pull/3825) Fix a minor Keplr type-checking bug in TS client + ### Features - [#3830](https://github.com/ignite/cli/pull/3830) Remove gRPC info from Ignite Apps errors diff --git a/ignite/pkg/cosmosgen/templates/root/client.ts.tpl b/ignite/pkg/cosmosgen/templates/root/client.ts.tpl index a9088ce67b..4b635ef80f 100644 --- a/ignite/pkg/cosmosgen/templates/root/client.ts.tpl +++ b/ignite/pkg/cosmosgen/templates/root/client.ts.tpl @@ -135,8 +135,6 @@ export class IgniteClient extends EventEmitter { return y; }) ?? []; - let coinType = 118; - if (chainId) { const suggestOptions: ChainInfo = { chainId, @@ -148,7 +146,6 @@ export class IgniteClient extends EventEmitter { bech32Config, currencies, feeCurrencies, - coinType, ...keplrChainInfo, }; await window.keplr.experimentalSuggestChain(suggestOptions);