Skip to content

Commit

Permalink
fix: init app earliest version correctly after state sync
Browse files Browse the repository at this point in the history
  • Loading branch information
blindchaser committed Aug 16, 2024
1 parent ed1e9a4 commit a8b3f2a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions storev2/rootmulti/store.go
Original file line number Diff line number Diff line change
Expand Up @@ -765,6 +765,10 @@ loop:
if ssImporter != nil {
close(ssImporter)
}
// initialize the earliest version for SS store
if rs.ssStore != nil {
rs.ssStore.SetEarliestVersion(height)
}

Check warning on line 771 in storev2/rootmulti/store.go

View check run for this annotation

Codecov / codecov/patch

storev2/rootmulti/store.go#L769-L771

Added lines #L769 - L771 were not covered by tests

return snapshotItem, restoreErr
}
Expand Down

0 comments on commit a8b3f2a

Please sign in to comment.