Skip to content

Commit

Permalink
Revert "Temporary disable Kusama network (#1318)"
Browse files Browse the repository at this point in the history
This reverts commit ad1a42e.
  • Loading branch information
stefashkaa committed Feb 19, 2024
1 parent ad1a42e commit b29f18f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "polkaswap-exchange-web",
"version": "1.29.1",
"version": "1.29.0",
"repository": {
"type": "git",
"url": "https://github.com/sora-xor/polkaswap-exchange-web.git"
Expand Down
7 changes: 1 addition & 6 deletions src/store/web3/getters.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
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';
Expand Down Expand Up @@ -50,11 +49,7 @@ const getters = defineGetters<Web3State>()({
data.endpointUrls.push(address);
data.blockExplorerUrls.push(address);

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
}
const disabled = !state.supportedApps?.[BridgeNetworkType.Sub]?.includes(id as SubNetwork);

buffer[id] = {
disabled,
Expand Down

0 comments on commit b29f18f

Please sign in to comment.