diff --git a/packages/extension/src/index.tsx b/packages/extension/src/index.tsx index 5944ae81a3..c14a6714ec 100644 --- a/packages/extension/src/index.tsx +++ b/packages/extension/src/index.tsx @@ -222,9 +222,11 @@ const RoutesAfterReady: FunctionComponent = observer(() => { ibcCurrencyRegistrar.isInitialized, priceStore.isInitialized, uiConfigStore.isInitialized, + uiConfigStore.isDeveloper, gravityBridgeCurrencyRegistrar.isInitialized, axelarEVMBridgeCurrencyRegistrar.isInitialized, accountStore, + ibcChannelStore.isInitialized, ]); const isReady: boolean = (() => { diff --git a/packages/stores/src/ibc/channel.ts b/packages/stores/src/ibc/channel.ts index 4477eb99b9..eb607b0f9d 100644 --- a/packages/stores/src/ibc/channel.ts +++ b/packages/stores/src/ibc/channel.ts @@ -57,8 +57,13 @@ export class IBCChannelStore { } const innerMap = migrationData.get(chainIdentifier.identifier)!; - const channel = map[channelId] as Channel; - innerMap.set(`${channel.portId}/${channel.channelId}`, channel); + const channel = map[channelId]; + if (channel) { + innerMap.set( + `${channel.portId}/${channel.channelId}`, + channel + ); + } } } } @@ -124,6 +129,7 @@ export class IBCChannelStore { } }); + console.log("IBC channel store initialized"); runInAction(() => { this.isInitialized = true; });