Skip to content

Commit

Permalink
Always prune cache and track error in metrics
Browse files Browse the repository at this point in the history
  • Loading branch information
nflaig committed Feb 15, 2024
1 parent 3b8e189 commit 5c99bbb
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/beacon-node/src/network/processor/gossipHandlers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -263,9 +263,8 @@ 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});
return;
break;
}
// 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 5c99bbb

Please sign in to comment.