From 29d1647ff0adce7632e2ecceceadd9ef07a25d5a Mon Sep 17 00:00:00 2001 From: mrekucci Date: Thu, 23 Nov 2023 06:08:26 +0400 Subject: [PATCH] feat: batchstore cleanup for sepolia migration (#4470) --- pkg/statestore/leveldb/migration.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkg/statestore/leveldb/migration.go b/pkg/statestore/leveldb/migration.go index 9eda1a4efa2..9fb57e9e27e 100644 --- a/pkg/statestore/leveldb/migration.go +++ b/pkg/statestore/leveldb/migration.go @@ -48,10 +48,11 @@ const ( dBSchemaInterval = "interval" dBSchemaClearAddressBook = "address-book" dBSResetInterval = "interval-reset" + dBSchemaBatchStoreV5 = "batchstoreV5" ) var ( - dbSchemaCurrent = dBSResetInterval + dbSchemaCurrent = dBSchemaBatchStoreV5 ) type migration struct { @@ -76,6 +77,7 @@ var schemaMigrations = []migration{ {name: dBSchemaInterval, fn: noOpMigration}, {name: dBSchemaClearAddressBook, fn: clearAddressBook}, {name: dBSResetInterval, fn: clearIntervals}, + {name: dBSchemaBatchStoreV5, fn: migrateBatchstore}, } func migrateFB(s *Store) error {