mirror of
https://github.com/pezkuwichain/pezkuwi-subquery.git
synced 2026-06-19 18:11:02 +00:00
Add codegen step to security workflow and fix prettier formatting
This commit is contained in:
@@ -70,12 +70,14 @@ async function processEraStakersPaged(
|
||||
const pageNumber = (pageId as any).toNumber();
|
||||
const validatorIdString = validatorId.toString();
|
||||
|
||||
const others: IndividualExposure[] = exposure.others.map(({ who, value }: any) => {
|
||||
return {
|
||||
who: who.toString(),
|
||||
value: value.toString(),
|
||||
} as IndividualExposure;
|
||||
});
|
||||
const others: IndividualExposure[] = exposure.others.map(
|
||||
({ who, value }: any) => {
|
||||
return {
|
||||
who: who.toString(),
|
||||
value: value.toString(),
|
||||
} as IndividualExposure;
|
||||
},
|
||||
);
|
||||
|
||||
(accumulator[validatorIdString] = accumulator[validatorIdString] || {})[
|
||||
pageNumber
|
||||
|
||||
Reference in New Issue
Block a user