diff --git a/package.json b/package.json index fc37a7e6f..82aa3af2e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "polkaswap-exchange-web", - "version": "1.29.0", + "version": "1.29.1", "repository": { "type": "git", "url": "https://github.com/sora-xor/polkaswap-exchange-web.git" diff --git a/src/store/web3/getters.ts b/src/store/web3/getters.ts index f3a9f01a6..ac8ed22cb 100644 --- a/src/store/web3/getters.ts +++ b/src/store/web3/getters.ts @@ -1,4 +1,5 @@ import { BridgeNetworkType } from '@sora-substrate/util/build/bridgeProxy/consts'; +import { SubNetworkId } from '@sora-substrate/util/build/bridgeProxy/sub/consts'; import { defineGetters } from 'direct-vuex'; import { EVM_NETWORKS } from '@/consts/evm'; @@ -49,7 +50,11 @@ const getters = defineGetters()({ data.endpointUrls.push(address); data.blockExplorerUrls.push(address); - const disabled = !state.supportedApps?.[BridgeNetworkType.Sub]?.includes(id as SubNetwork); + let disabled = !state.supportedApps?.[BridgeNetworkType.Sub]?.includes(id as SubNetwork); + + if ([SubNetworkId.Kusama, SubNetworkId.KusamaSora].includes(id as SubNetworkId)) { + disabled = true; // Kusama issue: https://github.com/paritytech/polkadot-sdk/issues/3345 + } buffer[id] = { disabled,