diff --git a/account_manager/src/validator/slashing_protection.rs b/account_manager/src/validator/slashing_protection.rs index bcd860a484..57d532d0ae 100644 --- a/account_manager/src/validator/slashing_protection.rs +++ b/account_manager/src/validator/slashing_protection.rs @@ -90,7 +90,7 @@ pub fn cli_run( let slashing_protection_database = SlashingDatabase::open_or_create(&slashing_protection_db_path).map_err(|e| { format!( - "Unable to open database at {}: {:?}", + "Unable to open slashing protection database at {}: {:?}", slashing_protection_db_path.display(), e ) @@ -198,7 +198,7 @@ pub fn cli_run( let slashing_protection_database = SlashingDatabase::open(&slashing_protection_db_path) .map_err(|e| { format!( - "Unable to open database at {}: {:?}", + "Unable to open slashing protection database at {}: {:?}", slashing_protection_db_path.display(), e ) diff --git a/beacon_node/store/src/hot_cold_store.rs b/beacon_node/store/src/hot_cold_store.rs index d5427ec8ee..ea35e98ae7 100644 --- a/beacon_node/store/src/hot_cold_store.rs +++ b/beacon_node/store/src/hot_cold_store.rs @@ -254,6 +254,7 @@ impl HotColdDB, LevelDB> { spec: Arc, log: Logger, ) -> Result, Error> { + debug!(log, "Opening HotColdDB"); config.verify::()?; let hierarchy = config.hierarchy_config.to_moduli()?; @@ -261,8 +262,10 @@ impl HotColdDB, LevelDB> { // TODO(hdiff): Use different exponents let hierarchy_hot = config.hierarchy_config.to_moduli()?; + debug!(log, "Opening LevelDB"; "hot_path" => ?hot_path); let hot_db = LevelDB::open(hot_path)?; let anchor_info = RwLock::new(Self::load_anchor_info(&hot_db)?); + debug!(log, "Loaded anchor info"; "anchor_info" => ?anchor_info); let db = HotColdDB { split: RwLock::new(Split::default()), @@ -307,6 +310,7 @@ impl HotColdDB, LevelDB> { // Open separate blobs directory if configured and same configuration was used on previous // run. let blob_info = db.load_blob_info()?; + debug!(db.log, "Loaded blob info"; "blob_info" => ?blob_info); let deneb_fork_slot = db .spec .deneb_fork_epoch @@ -337,6 +341,7 @@ impl HotColdDB, LevelDB> { db.compare_and_set_blob_info_with_write(<_>::default(), new_blob_info.clone())?; let data_column_info = db.load_data_column_info()?; + debug!(db.log, "Loaded data column info"; "data_column_info" => ?data_column_info); let eip7594_fork_slot = db .spec .eip7594_fork_epoch