Skip to content

Commit

Permalink
Release 1.29.2 (sora-xor#1321)
Browse files Browse the repository at this point in the history
* Revert "Temporary disable Kusama network (sora-xor#1318)"

This reverts commit ad1a42e.

* Update package.json

---------

Co-authored-by: Stefan Popov <[email protected]>
  • Loading branch information
stefashkaa and stefashkaa authored Feb 19, 2024
1 parent ad1a42e commit 331ea43
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.2",
"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 331ea43

Please sign in to comment.