Skip to content
This repository was archived by the owner on Mar 18, 2025. It is now read-only.

Commit 109d27b

Browse files
will pankiewiczwill pankiewicz
authored andcommitted
update number of eras to query era points for
1 parent 5a205c6 commit 109d27b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/common/src/scorekeeper/jobs/specificJobs/EraPointsJob.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ export const eraPointsJob = async (
6767
const totalEras = activeEra;
6868
let processedEras = 0;
6969

70-
for (let i = activeEra - 1; i >= 0; i--) {
70+
for (let i = activeEra - 1; i >= activeEra - 85; i--) {
7171
await individualEraPointsJob(chaindata, i);
7272

7373
// Calculate progress percentage

0 commit comments

Comments
 (0)