Minor ScProvider adjustments (#8722)
This commit is contained in:
parent
0bd426539b
commit
e1189e16da
@ -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
|
||||
};
|
||||
|
||||
Loading…
Reference in New Issue
Block a user