Add ReferendumInfo type overrides (#2433)
This commit is contained in:
parent
d726cf5929
commit
6ec479add2
@ -3,6 +3,8 @@
|
||||
// of the Apache-2.0 license. See the LICENSE file for details.
|
||||
|
||||
export default {
|
||||
// previous substrate versions
|
||||
BalanceLock: 'BalanceLockTo212',
|
||||
ReferendumInfo: 'ReferendumInfoTo239',
|
||||
StakingLedger: 'StakingLedgerTo223'
|
||||
};
|
||||
|
||||
@ -4,7 +4,9 @@
|
||||
|
||||
export default {
|
||||
Address: 'GenericAddress',
|
||||
BalanceLock: 'BalanceLockTo212',
|
||||
Keys: 'SessionKeys5',
|
||||
// previous substrate versions
|
||||
BalanceLock: 'BalanceLockTo212',
|
||||
ReferendumInfo: 'ReferendumInfoTo239',
|
||||
StakingLedger: 'StakingLedgerTo223'
|
||||
};
|
||||
|
||||
@ -24,5 +24,7 @@ export default {
|
||||
},
|
||||
// Overwrites to Substrate types
|
||||
Address: 'AccountId',
|
||||
LookupSource: 'AccountId'
|
||||
LookupSource: 'AccountId',
|
||||
// previous substrate versions
|
||||
ReferendumInfo: 'ReferendumInfoTo239'
|
||||
};
|
||||
|
||||
@ -8,5 +8,7 @@ export default {
|
||||
...EdgewareTypes,
|
||||
Address: 'GenericAddress',
|
||||
Keys: 'SessionKeys4',
|
||||
// previous substrate versions
|
||||
ReferendumInfo: 'ReferendumInfoTo239',
|
||||
StakingLedger: 'StakingLedgerTo223'
|
||||
};
|
||||
|
||||
@ -4,17 +4,19 @@
|
||||
|
||||
export default {
|
||||
Address: 'GenericAddress',
|
||||
BalanceLock: 'BalanceLockTo212',
|
||||
Difficulty: 'U256',
|
||||
DifficultyAndTimestamp: {
|
||||
difficulty: 'Difficulty',
|
||||
timestamp: 'Moment'
|
||||
},
|
||||
// previous substrate versions
|
||||
BalanceLock: 'BalanceLockTo212',
|
||||
DispatchError: 'DispatchErrorTo198',
|
||||
DispatchResult: 'DispatchResultTo198',
|
||||
DispatchInfo: {
|
||||
weight: 'Weight',
|
||||
class: 'DispatchClass'
|
||||
},
|
||||
ReferendumInfo: 'ReferendumInfoTo239',
|
||||
StakingLedger: 'StakingLedgerTo223'
|
||||
};
|
||||
|
||||
Loading…
Reference in New Issue
Block a user