Use MultiAddress as the default type (#3123)

* Use MultiAddress as the default type

* Update tests

* Update tests
This commit is contained in:
Jaco Greeff
2021-01-31 11:02:54 +01:00
committed by GitHub
parent 859679ce09
commit 23b5601eeb
13 changed files with 76 additions and 67 deletions
+1 -9
View File
@@ -8,21 +8,13 @@ import type { OverrideVersionedType } from '@polkadot/types/types';
// these are override types for Polkadot
const versioned: OverrideVersionedType[] = [
{
minmax: [0, 259],
minmax: [0, 260],
types: {
AccountInfo: 'AccountInfoWithRefCount',
Address: 'LookupSource',
LookupSource: 'IndicesLookupSource'
}
},
{
minmax: [260, 260],
types: {
AccountInfo: 'AccountInfoWithRefCount',
Address: 'MultiAddress',
LookupSource: 'MultiAddress'
}
},
{
minmax: [261, undefined],
types: {