Remove Efinity providers (#9561)
This commit is contained in:
parent
e6549c5211
commit
12cde37562
@ -5,7 +5,4 @@ import type { OverrideBundleDefinition } from '@polkadot/types/types';
|
||||
|
||||
import pkg from '@edgeware/node-types';
|
||||
|
||||
// There is no separate types bundle for testnet at this time
|
||||
const beresheet = (pkg.spec.typesBundle as { spec: { edgeware: OverrideBundleDefinition } }).spec.edgeware;
|
||||
|
||||
export default beresheet;
|
||||
export default (pkg.spec.typesBundle as { spec: { edgeware: OverrideBundleDefinition } }).spec.edgeware;
|
||||
|
||||
@ -4,8 +4,6 @@
|
||||
import type { OverrideBundleDefinition } from '@polkadot/types/types';
|
||||
|
||||
// @ts-expect-error No definitions provided in package
|
||||
import pkg from '@docknetwork/node-types';
|
||||
import { spec } from '@docknetwork/node-types';
|
||||
|
||||
const definitions = (pkg as { spec: { 'dock-main-runtime': OverrideBundleDefinition } }).spec['dock-main-runtime'];
|
||||
|
||||
export default definitions;
|
||||
export default (spec as { 'dock-main-runtime': OverrideBundleDefinition })['dock-main-runtime'];
|
||||
|
||||
@ -4,9 +4,6 @@
|
||||
import type { OverrideBundleDefinition } from '@polkadot/types/types';
|
||||
|
||||
// @ts-expect-error No definitions provided in package
|
||||
import types from '@docknetwork/node-types';
|
||||
import { spec } from '@docknetwork/node-types';
|
||||
|
||||
// eslint-disable-next-line @typescript-eslint/no-unsafe-member-access
|
||||
const definitions = (types as { spec: { 'dock-test-runtime': OverrideBundleDefinition } }).spec['dock-test-runtime'];
|
||||
|
||||
export default definitions;
|
||||
export default (spec as { 'dock-test-runtime': OverrideBundleDefinition })['dock-test-runtime'];
|
||||
|
||||
@ -5,6 +5,4 @@ import type { OverrideBundleDefinition } from '@polkadot/types/types';
|
||||
|
||||
import pkg from '@edgeware/node-types';
|
||||
|
||||
const edgeware = (pkg.spec.typesBundle as { spec: { edgeware: OverrideBundleDefinition }}).spec.edgeware;
|
||||
|
||||
export default edgeware;
|
||||
export default (pkg.spec.typesBundle as { spec: { edgeware: OverrideBundleDefinition } }).spec.edgeware;
|
||||
|
||||
@ -211,9 +211,13 @@ export const prodParasPolkadot: Omit<EndpointOption, 'teleport'>[] = [
|
||||
info: 'efinity',
|
||||
paraId: 2021,
|
||||
providers: {
|
||||
Dwellir: 'wss://efinity-rpc.dwellir.com',
|
||||
Efinity: 'wss://rpc.efinity.io',
|
||||
OnFinality: 'wss://efinity.api.onfinality.io/public-ws'
|
||||
// NOTE We don't support connections to this parachain at all.
|
||||
//
|
||||
// 1. The chain is migrated away from the parachain with all balances
|
||||
// 2. There is a forked relay-involved which we don't support
|
||||
//
|
||||
// Additional details in orginal removal at
|
||||
// https://github.com/polkadot-js/apps/pull/9555/files#r1225095086
|
||||
},
|
||||
text: 'Efinity',
|
||||
ui: {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user