ValidatorPrefs with commission: Perbill (#1618)

* ValidatorPrefs with commission: Perbill

* Update naming for old interfaces

* Compact commission
This commit is contained in:
Jaco Greeff
2019-11-28 17:24:00 +01:00
committed by GitHub
parent c227c6625c
commit eade586044
6 changed files with 31 additions and 18 deletions
+4 -3
View File
@@ -21,7 +21,8 @@ const TYPES_POLKADOT_VERSIONED: VersionedType[] = [
{
minmax: [0, 1018], // CC2
types: {
Keys: 'SessionKeys4'
Keys: 'SessionKeys4',
ValidatorPrefs: 'ValidatorPrefsTo196'
}
},
{
@@ -46,8 +47,8 @@ const TYPES_META: VersionedType[] = [
types: {
BlockNumber: 'u64',
Index: 'u64',
EventRecord: 'EventRecord0to76',
ValidatorPrefs: 'ValidatorPrefs0to145'
EventRecord: 'EventRecordTo76',
ValidatorPrefs: 'ValidatorPrefsTo145'
}
}
];