From b88d8881459d8e7cdd273f67a6c6f16d17ab489e Mon Sep 17 00:00:00 2001 From: Emilia Hane Date: Sun, 8 Jan 2023 20:34:50 +0100 Subject: [PATCH] fixup! Plug in pruning of blobs into app --- beacon_node/store/src/hot_cold_store.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/beacon_node/store/src/hot_cold_store.rs b/beacon_node/store/src/hot_cold_store.rs index 54e4132a4..510650579 100644 --- a/beacon_node/store/src/hot_cold_store.rs +++ b/beacon_node/store/src/hot_cold_store.rs @@ -212,6 +212,10 @@ impl HotColdDB, LevelDB> { ); } + if db.spec.eip4844_fork_epoch.is_some() { + *db.blob_info.write() = db.load_blob_info()?; + } + // Ensure that the schema version of the on-disk database matches the software. // If the version is mismatched, an automatic migration will be attempted. let db = Arc::new(db);