Skip to content

Commit d9e7cbe

Browse files
committed
feat(index): index history of total stake amount
1 parent feafcc6 commit d9e7cbe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/indexer/cl_total_stake.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ func (c *CLTotalStakeIndexer) init() error {
133133
func (c *CLTotalStakeIndexer) index(from, to int64) error {
134134
start := from
135135
for start <= to {
136-
end := min(start+1000, to)
136+
end := min(start+100, to)
137137

138138
if err := c.applyStakeChanges(start, end); err != nil {
139139
return err

0 commit comments

Comments
 (0)