Skip to content

Commit fb4ad3d

Browse files
committed
remove BootstrapExecutionDatabase for badgerdb
1 parent f41bb30 commit fb4ad3d

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

cmd/execution_builder.go

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,6 @@ import (
9494
storageerr "github.com/onflow/flow-go/storage"
9595
storage "github.com/onflow/flow-go/storage/badger"
9696
"github.com/onflow/flow-go/storage/operation"
97-
"github.com/onflow/flow-go/storage/operation/badgerimpl"
9897
"github.com/onflow/flow-go/storage/operation/pebbleimpl"
9998
storagepebble "github.com/onflow/flow-go/storage/pebble"
10099
"github.com/onflow/flow-go/storage/store"
@@ -1409,11 +1408,6 @@ func (exeNode *ExecutionNode) LoadBootstrapper(node *NodeConfig) error {
14091408
return fmt.Errorf("could not load bootstrap state from checkpoint file: %w", err)
14101409
}
14111410

1412-
err = bootstrapper.BootstrapExecutionDatabase(node.StorageLockMgr, badgerimpl.ToDB(node.DB), node.RootSeal)
1413-
if err != nil {
1414-
return fmt.Errorf("could not bootstrap execution database: %w", err)
1415-
}
1416-
14171411
err = bootstrapper.BootstrapExecutionDatabase(node.StorageLockMgr, pebbleimpl.ToDB(node.PebbleDB), node.RootSeal)
14181412
if err != nil {
14191413
return fmt.Errorf("could not bootstrap execution database: %w", err)

0 commit comments

Comments
 (0)