Bump dev (incl. lint fixes) (#2126)
* Bump dev (incl. lint fixes) * Fix call encoding (stepped into that one) * Event struct order * Update with missing tuple type (getTypeDef type)
This commit is contained in:
@@ -21,9 +21,9 @@ export function _referendumInfo (api: ApiInterfaceRx): (index: BN, info: Option<
|
||||
return status
|
||||
? api.query.democracy.preimages(status.proposalHash).pipe(
|
||||
map((preimage): DeriveReferendum => ({
|
||||
index: api.registry.createType('ReferendumIndex', index),
|
||||
image: parseImage(api, preimage),
|
||||
imageHash: status.proposalHash,
|
||||
index: api.registry.createType('ReferendumIndex', index),
|
||||
status
|
||||
}))
|
||||
)
|
||||
|
||||
@@ -27,9 +27,9 @@ export function dispatchQueue (api: ApiInterfaceRx): () => Observable<DeriveDisp
|
||||
map(([dispatches, images]) =>
|
||||
dispatches.map(([at, imageHash, index], dispatchIndex): DeriveDispatch => ({
|
||||
at,
|
||||
index,
|
||||
image: images[dispatchIndex],
|
||||
imageHash
|
||||
imageHash,
|
||||
index
|
||||
}))
|
||||
)
|
||||
)
|
||||
|
||||
@@ -26,9 +26,9 @@ function parse ([proposals, images, depositors]: [Proposals, (DeriveProposalImag
|
||||
|
||||
return {
|
||||
balance,
|
||||
index,
|
||||
image: images[proposalIndex],
|
||||
imageHash,
|
||||
index,
|
||||
proposer,
|
||||
seconds
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user