fixup! Prune blobs before data availability breakpoint

This commit is contained in:
Emilia Hane
2023-01-08 17:45:08 +01:00
parent fe0c911402
commit 2a41f25d68
3 changed files with 14 additions and 19 deletions

View File

@@ -3029,7 +3029,7 @@ impl<T: BeaconChainTypes> BeaconChain<T> {
blob_info.last_pruned_epoch + *MIN_EPOCHS_FOR_BLOBS_SIDECARS_REQUESTS;
if current_epoch > next_epoch_to_prune {
blob_info.availability_breakpoint = block_root;
blob_info.data_availability_breakpoint = block_root;
self.store.compare_and_set_blob_info_with_write(
self.store.get_blob_info(),
Some(blob_info),