Rococo types (detected, now explicit) (#3339)

* Rococo types (detected, now explicit)

* Bumps
This commit is contained in:
Jaco Greeff
2021-03-20 08:59:57 +01:00
committed by GitHub
parent 1b393c7b67
commit 48bda0bdea
3 changed files with 15 additions and 10 deletions
+9 -4
View File
@@ -9,10 +9,7 @@ import type { OverrideVersionedType } from '@polkadot/types/types';
/* eslint-disable sort-keys */
const sharedTypes = {
AccountInfo: 'AccountInfoWithDualRefCount',
Address: 'MultiAddress',
FullIdentification: '()', // No staking, only session (as per config)
LookupSource: 'MultiAddress',
Keys: 'SessionKeys6'
};
@@ -21,12 +18,20 @@ const versioned: OverrideVersionedType[] = [
minmax: [0, 200],
types: {
...sharedTypes,
AccountInfo: 'AccountInfoWithDualRefCount',
Address: 'AccountId',
LookupSource: 'AccountId'
}
},
{
minmax: [201, undefined],
minmax: [201, 214],
types: {
...sharedTypes,
AccountInfo: 'AccountInfoWithDualRefCount'
}
},
{
minmax: [215, undefined],
types: {
...sharedTypes
}