Minor ScProvider adjustments (#8722)

This commit is contained in:
Jaco 2023-01-07 14:51:31 +02:00 committed by GitHub
parent 0bd426539b
commit e1189e16da
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,7 +1,7 @@
// Copyright 2017-2023 @polkadot/react-api authors & contributors
// SPDX-License-Identifier: Apache-2.0
import { ScProvider } from '@polkadot/api';
import { WellKnownChain } from '@substrate/connect';
import { specs as kusama } from './kusama';
import { specs as polkadot } from './polkadot';
@ -20,8 +20,8 @@ export const lightSpecs: Record<string, Record<string, string>> =
}, {});
export const relaySpecs: Record<string, string> = {
kusama: ScProvider.WellKnownChain.ksmcc3,
polkadot: ScProvider.WellKnownChain.polkadot,
rococo: ScProvider.WellKnownChain.rococo_v2_2,
westend: ScProvider.WellKnownChain.westend2
kusama: WellKnownChain.ksmcc3,
polkadot: WellKnownChain.polkadot,
rococo: WellKnownChain.rococo_v2_2,
westend: WellKnownChain.westend2
};