From a8b3f2a0d4f5cafdbd1ec749877e65efaf150bcf Mon Sep 17 00:00:00 2001 From: blindchaser Date: Fri, 16 Aug 2024 10:11:45 -0400 Subject: [PATCH] fix: init app earliest version correctly after state sync --- storev2/rootmulti/store.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/storev2/rootmulti/store.go b/storev2/rootmulti/store.go index e4abfbf25..fc8da4561 100644 --- a/storev2/rootmulti/store.go +++ b/storev2/rootmulti/store.go @@ -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) + } return snapshotItem, restoreErr }