diff --git a/beacon_node/store/src/hot_cold_store.rs b/beacon_node/store/src/hot_cold_store.rs index eaef8550e..6226f6f03 100644 --- a/beacon_node/store/src/hot_cold_store.rs +++ b/beacon_node/store/src/hot_cold_store.rs @@ -59,7 +59,7 @@ pub struct HotColdDB, Cold: ItemStore> { pub(crate) config: StoreConfig, /// Cold database containing compact historical data. pub cold_db: Cold, - /// Database containing blobs. + /// Database containing blobs. If None, store falls back to use `cold_db`. pub blobs_db: Option, /// Hot database containing duplicated but quick-to-access recent data. /// @@ -541,6 +541,7 @@ impl, Cold: ItemStore> HotColdDB .key_delete(DBColumn::BeaconBlock.into(), block_root.as_bytes())?; self.hot_db .key_delete(DBColumn::ExecPayload.into(), block_root.as_bytes()) + // todo(emhane): do we want to delete the corresponding blobs here too? } pub fn put_blobs(&self, block_root: &Hash256, blobs: BlobsSidecar) -> Result<(), Error> {