Set Rococo Keys to 6 (#3040)

This commit is contained in:
Jaco Greeff
2021-01-11 16:36:32 +01:00
committed by GitHub
parent e3f16e6066
commit a04400170c
+12 -4
View File
@@ -11,8 +11,8 @@ import type { OverrideVersionedType } from '@polkadot/types/types';
const sharedTypes = { const sharedTypes = {
AccountInfo: 'AccountInfoWithRefCount', AccountInfo: 'AccountInfoWithRefCount',
Address: 'AccountId', Address: 'AccountId',
Keys: 'SessionKeys5', LookupSource: 'AccountId',
LookupSource: 'AccountId' Keys: 'SessionKeys6'
}; };
const versioned: OverrideVersionedType[] = [ const versioned: OverrideVersionedType[] = [
@@ -22,11 +22,19 @@ const versioned: OverrideVersionedType[] = [
...sharedTypes, ...sharedTypes,
CompactAssignments: 'CompactAssignmentsTo257', CompactAssignments: 'CompactAssignmentsTo257',
RefCount: 'RefCountTo259', RefCount: 'RefCountTo259',
RewardDestination: 'RewardDestinationTo257' RewardDestination: 'RewardDestinationTo257',
Keys: 'SessionKeys5'
} }
}, },
{ {
minmax: [10, undefined], minmax: [10, 12],
types: {
...sharedTypes,
Keys: 'SessionKeys5'
}
},
{
minmax: [13, undefined],
types: { types: {
...sharedTypes ...sharedTypes
} }