From 45ece78192c930940c8520dd13c75cef5d0ebe0a Mon Sep 17 00:00:00 2001 From: Pierre Hong Date: Wed, 10 Jan 2024 15:02:16 +0800 Subject: [PATCH] DEL: Database::StateKeeper --- core/src/storage/db.rs | 7 ------- 1 file changed, 7 deletions(-) diff --git a/core/src/storage/db.rs b/core/src/storage/db.rs index 10ce9db3..efe22b61 100644 --- a/core/src/storage/db.rs +++ b/core/src/storage/db.rs @@ -24,7 +24,6 @@ pub struct RocksDB { #[derive(Debug)] pub enum Database { MerkleTree, - StateKeeper, Sequencer, } @@ -126,12 +125,6 @@ impl RocksDB { }); DB::open_cf_descriptors(&options, path, cfs).expect("failed to init rocksdb") } - Database::StateKeeper => { - let cfs = StateKeeperColumnFamily::all().iter().map(|cf| { - ColumnFamilyDescriptor::new(cf.to_string(), Self::rocksdb_options(tune_options)) - }); - DB::open_cf_descriptors(&options, path, cfs).expect("failed to init rocksdb") - } Database::Sequencer => { let cfs = SequencerColumnFamily::all().iter().map(|cf| { ColumnFamilyDescriptor::new(cf.to_string(), Self::rocksdb_options(tune_options))