diff --git a/packages/apps-config/src/api/spec/index.ts b/packages/apps-config/src/api/spec/index.ts index e51c07a2d5..7848af66ee 100644 --- a/packages/apps-config/src/api/spec/index.ts +++ b/packages/apps-config/src/api/spec/index.ts @@ -71,7 +71,6 @@ import parallel from './parallel'; import parami from './parami'; import phoenix from './phoenix'; import plasm from './plasm'; -import plasmParachain from './plasm-parachain'; import polkadex from './polkadex'; import polkafoundry from './polkafoundry'; import polymesh from './polymesh'; @@ -80,6 +79,7 @@ import prism from './prism'; import realis from './realis'; import riochain from './riochain'; import robonomics from './robonomics'; +import shiden from './shiden'; import snowbridge from './snowbridge'; import soraSubstrate from './soraSubstrate'; import spanner from './spanner'; @@ -198,13 +198,13 @@ const spec: Record = { 'phoenix-node': phoenix, 'phoenix-parachain': phoenix, plasm, - 'plasm-parachain': plasmParachain, polymesh, 'pontem-node': pontem, prism, realis, 'riochain-runtime': riochain, robonomics, + shiden, snowbridge, 'sora-substrate': soraSubstrate, spanner, diff --git a/packages/apps-config/src/api/spec/plasm-parachain.ts b/packages/apps-config/src/api/spec/plasm-parachain.ts deleted file mode 100644 index 10be348627..0000000000 --- a/packages/apps-config/src/api/spec/plasm-parachain.ts +++ /dev/null @@ -1,43 +0,0 @@ -// Copyright 2017-2021 @polkadot/apps-config authors & contributors -// SPDX-License-Identifier: Apache-2.0 - -import type { OverrideBundleDefinition } from '@polkadot/types/types'; - -// structs need to be in order -/* eslint-disable sort-keys */ - -const definitions: OverrideBundleDefinition = { - types: [ - { - // on all versions - minmax: [0, undefined], - types: { - Address: 'AccountId', - LookupSource: 'AccountId', - ChainId: { - _enum: { - RelayChain: null, - Parachain: 'ParaId' - } - }, - XCurrencyId: { - chain_id: 'ChainId', - currency_id: 'Bytes' - }, - CurrencyIdOf: 'CurrencyId', - CurrencyId: { - _enum: { - Token: 'TokenSymbol' - } - }, - TokenSymbol: { - _enum: ['ACA', 'AUSD', 'DOT', 'XBTC', 'LDOT', 'RENBTC', 'SDN', 'PLM'] - }, - AmountOf: 'Amount', - Amount: 'i128' - } - } - ] -}; - -export default definitions; diff --git a/packages/apps-config/src/api/spec/shiden.ts b/packages/apps-config/src/api/spec/shiden.ts new file mode 100644 index 0000000000..8f0ddc88dc --- /dev/null +++ b/packages/apps-config/src/api/spec/shiden.ts @@ -0,0 +1,21 @@ +// Copyright 2017-2021 @polkadot/apps-config authors & contributors +// SPDX-License-Identifier: Apache-2.0 + +import type { OverrideBundleDefinition } from '@polkadot/types/types'; + +// structs need to be in order +/* eslint-disable sort-keys */ + +const definitions: OverrideBundleDefinition = { + types: [ + { + // on all versions + minmax: [0, undefined], + types: { + Keys: 'AccountId' + } + } + ] +}; + +export default definitions;