fixup! Plug in pruning of blobs into app

This commit is contained in:
Emilia Hane 2023-01-08 20:34:50 +01:00
parent 2a41f25d68
commit b88d888145
No known key found for this signature in database
GPG Key ID: E73394F9C09206FA

View File

@ -212,6 +212,10 @@ impl<E: EthSpec> HotColdDB<E, LevelDB<E>, LevelDB<E>> {
);
}
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);