From 504b38582e1161bc60c4431aa5c1040a52eac7d3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Viktor=20Levente=20T=C3=B3th?= Date: Wed, 12 Jun 2024 14:46:37 +0200 Subject: [PATCH] chore: add more prefixes to preserve --- pkg/statestore/storeadapter/storeadapter.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkg/statestore/storeadapter/storeadapter.go b/pkg/statestore/storeadapter/storeadapter.go index c7c478db8dd..0b7205d0726 100644 --- a/pkg/statestore/storeadapter/storeadapter.go +++ b/pkg/statestore/storeadapter/storeadapter.go @@ -201,7 +201,9 @@ func (s *StateStorerAdapter) Nuke() error { func (s *StateStorerAdapter) ClearForHopping() error { var ( prefixesToPreserve = []string{ - "swap_chequebook", + "swap_chequebook", // to not redeploy chequebook contract + "batchstore", // avoid unnecessary syncing + "transaction", // to not resync blockchain transactions } keys []string err error