Remove unused stuff

This commit is contained in:
Emilia Hane 2023-01-24 10:40:53 +01:00
parent 6dff69bde9
commit 9ee9b6df76
No known key found for this signature in database
GPG Key ID: E73394F9C09206FA

View File

@ -81,7 +81,6 @@ pub enum HotColdDBError {
target_version: SchemaVersion, target_version: SchemaVersion,
current_version: SchemaVersion, current_version: SchemaVersion,
}, },
UnsupportedDataAvailabilityBoundary,
/// Recoverable error indicating that the database freeze point couldn't be updated /// Recoverable error indicating that the database freeze point couldn't be updated
/// due to the finalized block not lying on an epoch boundary (should be infrequent). /// due to the finalized block not lying on an epoch boundary (should be infrequent).
FreezeSlotUnaligned(Slot), FreezeSlotUnaligned(Slot),
@ -1775,8 +1774,6 @@ impl<E: EthSpec, Hot: ItemStore<E>, Cold: ItemStore<E>> HotColdDB<E, Hot, Cold>
} }
}(); }();
// todo(emhane): Should we add a marginal for how old blobs we import? If so needs to be
// reflected here when choosing which oldest slot to prune from.
let oldest_blob_slot = blob_info.oldest_blob_slot; let oldest_blob_slot = blob_info.oldest_blob_slot;
// The last entirely pruned epoch, blobs sidecar pruning may have stopped early in the // The last entirely pruned epoch, blobs sidecar pruning may have stopped early in the
// middle of an epoch otherwise the oldest blob slot is a start slot. // middle of an epoch otherwise the oldest blob slot is a start slot.