Add codegen step to security workflow and fix prettier formatting

This commit is contained in:
2026-02-13 01:51:37 +03:00
parent 62550b442b
commit 0b0519bff8
6 changed files with 44 additions and 26 deletions
+8 -6
View File
@@ -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