Skip to content

Commit

Permalink
DEL: Database::StateKeeper
Browse files Browse the repository at this point in the history
  • Loading branch information
hongyuanyang-uu committed Jan 10, 2024
1 parent 21328a9 commit 45ece78
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions core/src/storage/db.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ pub struct RocksDB {
#[derive(Debug)]
pub enum Database {
MerkleTree,
StateKeeper,
Sequencer,
}

Expand Down Expand Up @@ -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))
Expand Down

0 comments on commit 45ece78

Please sign in to comment.