add blob info

This commit is contained in:
realbigsean 2022-11-28 11:36:48 -05:00
parent 0027cdcd3a
commit 6d7235f2c8
No known key found for this signature in database
GPG Key ID: B372B64D866BF8CC
2 changed files with 2 additions and 2 deletions

View File

@ -68,7 +68,7 @@ impl<T: BeaconChainTypes> BeaconChain<T> {
// Take all blocks with slots less than the oldest block slot.
let num_relevant =
blocks.partition_point(|block| block.slot() < anchor_info.oldest_block_slot);
blocks.partition_point(|block| block.slot() < acompare_and_set_anchor_infonchor_info.oldest_block_slot);
let blocks_to_import = &blocks
.get(..num_relevant)
.ok_or(HistoricalBlockError::IndexOutOfBounds)?;

View File

@ -130,7 +130,7 @@ pub struct BlobInfo {
pub latest_blob_slot: Slot,
}
impl StoreItem for AnchorInfo {
impl StoreItem for BlobInfo {
fn db_column() -> DBColumn {
DBColumn::BeaconMeta
}