Centrifuge update RC6 (#2637)
* update to rc6 types * prep rc6 * fix lint
This commit is contained in:
@@ -10,6 +10,8 @@ const sharedTypes = {
|
||||
docRoot: 'H256',
|
||||
id: 'H256'
|
||||
},
|
||||
ChainId: 'u8',
|
||||
DepositNonce: 'u64',
|
||||
Fee: {
|
||||
key: 'Hash',
|
||||
price: 'Balance'
|
||||
@@ -30,20 +32,25 @@ const sharedTypes = {
|
||||
leafHash: 'H256',
|
||||
sortedHashes: 'H256'
|
||||
},
|
||||
ReferendumInfo: 'ReferendumInfoTo239',
|
||||
StakingLedger: 'StakingLedgerTo240',
|
||||
Weight: 'u32'
|
||||
ResourceId: '[u8; 32]',
|
||||
'chainbridge::ChainId': 'u8'
|
||||
};
|
||||
|
||||
const versioned: OverrideVersionedType[] = [
|
||||
{
|
||||
minmax: [229, undefined],
|
||||
minmax: [229, 334],
|
||||
types: {
|
||||
...sharedTypes,
|
||||
ChainId: 'u8',
|
||||
DepositNonce: 'u64',
|
||||
ResourceId: '[u8; 32]',
|
||||
'chainbridge::ChainId': 'u8'
|
||||
ReferendumInfo: 'ReferendumInfoTo239',
|
||||
StakingLedger: 'StakingLedgerTo240',
|
||||
Weight: 'u32'
|
||||
}
|
||||
},
|
||||
{
|
||||
minmax: [235, undefined],
|
||||
types: {
|
||||
...sharedTypes,
|
||||
Weight: 'u64'
|
||||
}
|
||||
}
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user