Fix tests

This commit is contained in:
dapplion
2026-05-27 21:59:06 -06:00
parent 6f89fdad11
commit 4c80d82948
4 changed files with 70 additions and 20 deletions

View File

@@ -34,7 +34,7 @@
//! search for the block and subsequently search for parents if needed.
use super::backfill_sync::{BackFillSync, ProcessResult, SyncStart};
use super::block_lookups::BlockLookups;
use super::block_lookups::{BlockLookups, NewLookupTrigger};
use super::network_context::{
CustodyByRootResult, RangeBlockComponent, RangeRequestId, RpcEvent, SyncNetworkContext,
};
@@ -1038,6 +1038,7 @@ impl<T: BeaconChainTypes> SyncManager<T> {
block_component,
awaiting_parent,
peer_id,
NewLookupTrigger::NetworkMessage,
&mut self.network,
) {
// Lookup created. No need to log here it's logged in `new_current_lookup`
@@ -1066,6 +1067,7 @@ impl<T: BeaconChainTypes> SyncManager<T> {
if self.block_lookups.search_unknown_block(
block_root,
&[peer_id],
NewLookupTrigger::NetworkMessage,
&mut self.network,
) {
// Lookup created. No need to log here it's logged in `new_current_lookup`