Skip to content

Commit

Permalink
chore: add more prefixes to preserve
Browse files Browse the repository at this point in the history
  • Loading branch information
nugaon committed Jun 12, 2024
1 parent 266d5cb commit 504b385
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pkg/statestore/storeadapter/storeadapter.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 504b385

Please sign in to comment.