Add node-template to known types (#2780)

This commit is contained in:
Jaco Greeff
2020-10-25 14:34:43 +01:00
committed by GitHub
parent 7038045bc8
commit 2c735fbc53
4 changed files with 29 additions and 11 deletions
+2
View File
@@ -5,6 +5,7 @@ import { OverrideVersionedType } from '@polkadot/types/types';
import centrifugeChain from './centrifuge-chain';
import kusama from './kusama';
import nodeTemplate from './node-template';
import polkadot from './polkadot';
import rococo from './rococo';
import westend from './westend';
@@ -13,6 +14,7 @@ import westend from './westend';
const typesSpec: Record<string, OverrideVersionedType[]> = {
'centrifuge-chain': centrifugeChain,
kusama,
'node-template': nodeTemplate,
polkadot,
rococo,
westend
@@ -0,0 +1,16 @@
// Copyright 2017-2020 @polkadot/types-known authors & contributors
// SPDX-License-Identifier: Apache-2.0
import { OverrideVersionedType } from '@polkadot/types/types';
const versioned: OverrideVersionedType[] = [
{
minmax: [0, undefined],
types: {
Address: 'AccountId',
LookupSource: 'AccountId'
}
}
];
export default versioned;