fixup! Clarify hybrid blob prune solution and fix error handling

This commit is contained in:
Emilia Hane 2023-01-18 20:29:00 +01:00
parent 83a9520761
commit 54699f808c
No known key found for this signature in database
GPG Key ID: E73394F9C09206FA

View File

@ -1711,7 +1711,7 @@ impl<E: EthSpec, Hot: ItemStore<E>, Cold: ItemStore<E>> HotColdDB<E, Hot, Cold>
Ok(())
}
//
/// Try to prune blobs approximating data availability boundary when it is not at hand.
pub fn try_prune_most_blobs(&self, force: bool) -> Result<(), Error> {
let eip4844_fork = match self.spec.eip4844_fork_epoch {
Some(epoch) => epoch,