We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5e43c56 commit 93549f6Copy full SHA for 93549f6
crates/starknet_patricia_storage/src/rocksdb_storage.rs
@@ -119,6 +119,7 @@ impl RocksDbOptions {
119
pub struct RocksDbStorage {
120
db: Arc<DB>,
121
options: Arc<RocksDbOptions>,
122
+ _config: RocksDbStorageConfig,
123
}
124
125
/// Configuration for RocksDB storage.
@@ -259,7 +260,7 @@ impl RocksDbStorage {
259
260
pub fn new(path: &Path, config: RocksDbStorageConfig) -> PatriciaStorageResult<Self> {
261
let options = RocksDbOptions::from_config(&config);
262
let db = Arc::new(DB::open(&options.db_options, path)?);
- Ok(Self { db, options: Arc::new(options) })
263
+ Ok(Self { db, options: Arc::new(options), _config: config })
264
265
266
0 commit comments