Adjust spec types (starting versions) (#2189)

This commit is contained in:
Jaco Greeff
2020-04-17 07:55:53 +02:00
committed by GitHub
parent 96d7d9ff5a
commit 5c16b8e8a1
3 changed files with 20 additions and 4 deletions
+2 -2
View File
@@ -73,12 +73,12 @@ const versioned: OverrideVersionedType[] = [
}
},
{
// actual upgrade at 1058
minmax: [1057, undefined],
types: {
Address: 'AccountId',
Keys: 'SessionKeys5',
LookupSource: 'AccountId',
Weight: 'u32'
LookupSource: 'AccountId'
}
}
];
+9 -1
View File
@@ -44,13 +44,21 @@ const versioned: OverrideVersionedType[] = [
}
},
{
minmax: [1006, undefined],
minmax: [1006, 1006],
types: {
Address: 'AccountId',
Keys: 'SessionKeys5',
LookupSource: 'AccountId',
Weight: 'u32'
}
},
{
minmax: [1007, undefined],
types: {
Address: 'AccountId',
Keys: 'SessionKeys5',
LookupSource: 'AccountId'
}
}
];
+9 -1
View File
@@ -6,13 +6,21 @@ import { OverrideVersionedType } from '@polkadot/types/types';
const versioned: OverrideVersionedType[] = [
{
minmax: [1, undefined],
minmax: [1, 2],
types: {
Address: 'AccountId',
Keys: 'SessionKeys5',
LookupSource: 'AccountId',
Weight: 'u32'
}
},
{
minmax: [3, undefined],
types: {
Address: 'AccountId',
Keys: 'SessionKeys5',
LookupSource: 'AccountId'
}
}
];