Fallback for StakingLedger at 1050 (#5171)
* Fallback for StakingLedger at 1050 * CHANGELOG
This commit is contained in:
@@ -1,5 +1,12 @@
|
|||||||
# CHANGELOG
|
# CHANGELOG
|
||||||
|
|
||||||
|
## master
|
||||||
|
|
||||||
|
Changes:
|
||||||
|
|
||||||
|
- Adjust `StakingLedger` with fallback for Kusama 1050 (2 different structures on-chain)
|
||||||
|
|
||||||
|
|
||||||
## 9.2.2 Aug 16, 2022
|
## 9.2.2 Aug 16, 2022
|
||||||
|
|
||||||
Changes:
|
Changes:
|
||||||
|
|||||||
@@ -99,7 +99,7 @@ const versioned: OverrideVersionedType[] = [
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
minmax: [1046, 1050],
|
minmax: [1046, 1049],
|
||||||
types: objectSpread({}, sharedTypes, addrAccountIdTypes, {
|
types: objectSpread({}, sharedTypes, addrAccountIdTypes, {
|
||||||
CompactAssignments: 'CompactAssignmentsTo257',
|
CompactAssignments: 'CompactAssignmentsTo257',
|
||||||
DispatchInfo: 'DispatchInfoTo244',
|
DispatchInfo: 'DispatchInfoTo244',
|
||||||
@@ -113,7 +113,7 @@ const versioned: OverrideVersionedType[] = [
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
minmax: [1051, 1054],
|
minmax: [1050, 1054],
|
||||||
types: objectSpread({}, sharedTypes, addrAccountIdTypes, {
|
types: objectSpread({}, sharedTypes, addrAccountIdTypes, {
|
||||||
CompactAssignments: 'CompactAssignmentsTo257',
|
CompactAssignments: 'CompactAssignmentsTo257',
|
||||||
DispatchInfo: 'DispatchInfoTo244',
|
DispatchInfo: 'DispatchInfoTo244',
|
||||||
|
|||||||
@@ -256,6 +256,7 @@ export default {
|
|||||||
unlocking: 'Vec<UnlockChunk>'
|
unlocking: 'Vec<UnlockChunk>'
|
||||||
},
|
},
|
||||||
StakingLedgerTo240: {
|
StakingLedgerTo240: {
|
||||||
|
_fallback: 'StakingLedgerTo223',
|
||||||
stash: 'AccountId',
|
stash: 'AccountId',
|
||||||
total: 'Compact<Balance>',
|
total: 'Compact<Balance>',
|
||||||
active: 'Compact<Balance>',
|
active: 'Compact<Balance>',
|
||||||
|
|||||||
Reference in New Issue
Block a user