Update DispatchError for Kusama (#1686)

This commit is contained in:
Jaco Greeff
2019-12-20 10:57:37 +01:00
committed by GitHub
parent 1a2ca8ea38
commit bd2e690261
+7 -1
View File
@@ -19,11 +19,17 @@ interface VersionedType {
// definition as applicable. (4 keys in substrate vs 5 in Polkadot/CC3). // definition as applicable. (4 keys in substrate vs 5 in Polkadot/CC3).
const TYPES_POLKADOT_VERSIONED: VersionedType[] = [ const TYPES_POLKADOT_VERSIONED: VersionedType[] = [
{ {
minmax: [1019, undefined], // CC3 minmax: [1019, 1031], // CC3, from launch
types: { types: {
DispatchError: 'DispatchErrorTo198', DispatchError: 'DispatchErrorTo198',
Keys: 'SessionKeys5' Keys: 'SessionKeys5'
} }
},
{
minmax: [1032, undefined], // CC3, with DispatchError
types: {
Keys: 'SessionKeys5'
}
} }
]; ];