Fallback for StakingLedger at 1050 (#5171)

* Fallback for StakingLedger at 1050

* CHANGELOG
This commit is contained in:
Jaco
2022-08-19 12:00:17 +03:00
committed by GitHub
parent 0acb0ab226
commit 64360b3598
3 changed files with 10 additions and 2 deletions
+7
View File
@@ -1,5 +1,12 @@
# CHANGELOG
## master
Changes:
- Adjust `StakingLedger` with fallback for Kusama 1050 (2 different structures on-chain)
## 9.2.2 Aug 16, 2022
Changes:
+2 -2
View File
@@ -99,7 +99,7 @@ const versioned: OverrideVersionedType[] = [
})
},
{
minmax: [1046, 1050],
minmax: [1046, 1049],
types: objectSpread({}, sharedTypes, addrAccountIdTypes, {
CompactAssignments: 'CompactAssignmentsTo257',
DispatchInfo: 'DispatchInfoTo244',
@@ -113,7 +113,7 @@ const versioned: OverrideVersionedType[] = [
})
},
{
minmax: [1051, 1054],
minmax: [1050, 1054],
types: objectSpread({}, sharedTypes, addrAccountIdTypes, {
CompactAssignments: 'CompactAssignmentsTo257',
DispatchInfo: 'DispatchInfoTo244',
@@ -256,6 +256,7 @@ export default {
unlocking: 'Vec<UnlockChunk>'
},
StakingLedgerTo240: {
_fallback: 'StakingLedgerTo223',
stash: 'AccountId',
total: 'Compact<Balance>',
active: 'Compact<Balance>',