mirror of
https://github.com/sigp/lighthouse.git
synced 2026-06-01 05:37:05 +00:00
starting to cell-ize
This commit is contained in:
@@ -39,6 +39,7 @@ impl<T: BeaconChainTypes> FetchBlobsBeaconAdapter<T> {
|
||||
pub(crate) fn partial_assembler(&self) -> Option<Arc<PartialDataColumnAssembler<T::EthSpec>>> {
|
||||
self.chain
|
||||
.data_availability_checker
|
||||
.pending_block_cache()
|
||||
.partial_assembler()
|
||||
.cloned()
|
||||
}
|
||||
|
||||
@@ -445,7 +445,7 @@ async fn compute_custody_columns_to_import<T: BeaconChainTypes>(
|
||||
|
||||
// Only consider columns that are not already known to data availability.
|
||||
if let Some(known_columns) =
|
||||
chain_adapter_cloned.cached_data_column_indexes(block.slot(), &block_root)
|
||||
chain_adapter_cloned.cached_data_column_indexes(header.slot(), &block_root)
|
||||
{
|
||||
custody_columns.retain(|col| !known_columns.contains(&col.index()));
|
||||
if custody_columns.is_empty() {
|
||||
|
||||
Reference in New Issue
Block a user