mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-12 02:14:10 +00:00
Keep PendingComponents in da_checker during import_block (#5845)
* Ensure lookup sync checks caches correctly * Simplify BlockProcessStatus * Keep PendingComponents in da_checker during import_block * Merge branch 'unstable' of https://github.com/sigp/lighthouse into time_in_da_checker * Fix tests with DA checker new eviction policy (#34)
This commit is contained in:
@@ -164,6 +164,11 @@ impl<T: BeaconChainTypes> DataAvailabilityChecker<T> {
|
||||
.put_pending_executed_block(executed_block)
|
||||
}
|
||||
|
||||
pub fn remove_pending_components(&self, block_root: Hash256) {
|
||||
self.availability_cache
|
||||
.remove_pending_components(block_root)
|
||||
}
|
||||
|
||||
/// Verifies kzg commitments for an RpcBlock, returns a `MaybeAvailableBlock` that may
|
||||
/// include the fully available block.
|
||||
///
|
||||
|
||||
Reference in New Issue
Block a user