diff --git a/packages/apps-config/src/api/spec/altair.ts b/packages/apps-config/src/api/spec/altair.ts new file mode 100644 index 0000000000..316280dfb1 --- /dev/null +++ b/packages/apps-config/src/api/spec/altair.ts @@ -0,0 +1,35 @@ +// Copyright 2017-2021 @polkadot/apps-config authors & contributors +// SPDX-License-Identifier: Apache-2.0 + +import type { OverrideBundleDefinition } from '@polkadot/types/types'; + +/* eslint-disable sort-keys */ + +const definitions: OverrideBundleDefinition = { + types: [ + { + // on all versions + minmax: [0, undefined], + types: { + ParachainAccountIdOf: 'AccountId', + Proof: { + leafHash: 'Hash', + sortedHashes: 'Vec' + }, + ProxyType: { + _enum: [ + 'Any', + 'NonTransfer', + 'Governance', + '_Staking', + 'NonProxy' + ] + }, + RelayChainAccountId: 'AccountId', + RootHashOf: 'Hash' + } + } + ] +}; + +export default definitions; diff --git a/packages/apps-config/src/api/spec/index.ts b/packages/apps-config/src/api/spec/index.ts index 83030a9f03..e7d024a10b 100644 --- a/packages/apps-config/src/api/spec/index.ts +++ b/packages/apps-config/src/api/spec/index.ts @@ -4,6 +4,7 @@ import type { OverrideBundleDefinition } from '@polkadot/types/types'; import acala from './acala'; +import altair from './altair'; import apron from './apron'; import aresGladios from './ares-gladios'; import aresParachain from './ares-parachain'; @@ -123,6 +124,7 @@ const spec: Record = { VLN: vln, 'VLN-PC': vlnrococo, ...acala, + altair, apron, 'ares-gladios': aresGladios, 'ares-parachain': aresParachain,