Skip to content

Commit

Permalink
Only log to debug if blobs are unavailable
Browse files Browse the repository at this point in the history
  • Loading branch information
nflaig committed Feb 15, 2024
1 parent e7c34e2 commit 3b8e189
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/beacon-node/src/network/processor/gossipHandlers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -263,8 +263,9 @@ function getDefaultHandlers(modules: ValidatorFnsModules, options: GossipHandler
const forkTypes = config.getForkTypes(slot);
const rootHex = toHexString(forkTypes.BeaconBlock.hashTreeRoot(signedBlock.message));

logger.debug("Blobs are unavailable within cutoff time", {slot, root: rootHex, peer: peerIdStr});
events.emit(NetworkEvent.unknownBlock, {rootHex, peer: peerIdStr});
break;
return;
}
// ALREADY_KNOWN should not happen with ignoreIfKnown=true above
// PARENT_UNKNOWN should not happen, we handled this in validateBeaconBlock() function above
Expand Down

0 comments on commit 3b8e189

Please sign in to comment.