Fix conflicts from rebasing eip4844

This commit is contained in:
Emilia Hane
2023-02-09 08:20:08 +01:00
parent 290e1d2ff7
commit 1300fb7ffa
3 changed files with 4 additions and 3 deletions

View File

@@ -1977,11 +1977,12 @@ impl<E: EthSpec, Hot: ItemStore<E>, Cold: ItemStore<E>> HotColdDB<E, Hot, Cold>
blob_info,
BlobInfo {
oldest_blob_slot: Some(end_slot + 1),
blobs_db: blob_info.blobs_db,
},
)?;
ops.push(StoreOp::KeyValueOp(update_blob_info));
self.do_atomically(ops)?;
self.do_atomically_with_block_and_blobs_cache(ops)?;
info!(
self.log,
"Blobs sidecar pruning complete";

View File

@@ -126,8 +126,6 @@ pub struct BlobInfo {
pub oldest_blob_slot: Option<Slot>,
/// A separate blobs database is in use.
pub blobs_db: bool,
/// The slot after which blobs are available (>=).
pub oldest_blob_slot: Option<Slot>,
}
impl StoreItem for BlobInfo {