Add Altair + types (#6367)

* Add Altair + types

* fix lint
This commit is contained in:
Miguel Hervas 2021-10-21 14:00:12 -07:00 committed by GitHub
parent 895cf95fb3
commit 9b761e52bc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 37 additions and 0 deletions

View File

@ -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<Hash>'
},
ProxyType: {
_enum: [
'Any',
'NonTransfer',
'Governance',
'_Staking',
'NonProxy'
]
},
RelayChainAccountId: 'AccountId',
RootHashOf: 'Hash'
}
}
]
};
export default definitions;

View File

@ -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<string, OverrideBundleDefinition> = {
VLN: vln,
'VLN-PC': vlnrococo,
...acala,
altair,
apron,
'ares-gladios': aresGladios,
'ares-parachain': aresParachain,