Adjust types for node/node-template (#3509)

This commit is contained in:
Jaco
2021-05-09 09:27:23 +02:00
committed by GitHub
parent fcf9b86b87
commit 80c18c2201
2 changed files with 3 additions and 15 deletions
@@ -9,8 +9,7 @@ const versioned: OverrideVersionedType[] = [
{
minmax: [0, undefined],
types: {
Address: 'MultiAddress',
LookupSource: 'MultiAddress'
// nothing, API tracks master
}
}
];
+2 -13
View File
@@ -5,22 +5,11 @@
import type { OverrideVersionedType } from '@polkadot/types/types';
// these are override types for Polkadot
const versioned: OverrideVersionedType[] = [
{
minmax: [0, 260],
minmax: [0, undefined],
types: {
AccountInfo: 'AccountInfoWithRefCount',
Address: 'LookupSource',
LookupSource: 'IndicesLookupSource'
}
},
{
minmax: [261, undefined],
types: {
AccountInfo: 'AccountInfoWithDualRefCount',
Address: 'MultiAddress',
LookupSource: 'MultiAddress'
// nothing, API tracks master
}
}
];