fixup! Store blobs in separate freezer or historical state freezer

This commit is contained in:
Emilia Hane 2023-01-11 00:27:30 +01:00
parent f9737628fc
commit e0b1a0841c
No known key found for this signature in database
GPG Key ID: E73394F9C09206FA

View File

@ -64,12 +64,7 @@ impl<E: EthSpec> ProductionBeaconNode<E> {
let _datadir = client_config.create_data_dir()?; let _datadir = client_config.create_data_dir()?;
let db_path = client_config.create_db_path()?; let db_path = client_config.create_db_path()?;
let freezer_db_path = client_config.create_freezer_db_path()?; let freezer_db_path = client_config.create_freezer_db_path()?;
let blobs_freezer_db_path = let blobs_freezer_db_path = client_config.create_blobs_freezer_db_path()?;
if let Some(path) = client_config.create_blobs_freezer_db_path()? {
Some(*path.as_path().clone())
} else {
None
};
let executor = context.executor.clone(); let executor = context.executor.clone();
if let Some(legacy_dir) = client_config.get_existing_legacy_data_dir() { if let Some(legacy_dir) = client_config.get_existing_legacy_data_dir() {