upgrade logs from warn to crit when we receive incorrect response in range

This commit is contained in:
realbigsean
2023-06-02 08:28:52 -04:00
parent e617486bdd
commit 844920c052

View File

@@ -1056,10 +1056,10 @@ impl<T: BeaconChainTypes> SyncManager<T> {
&mut self.network,
),
RequestId::BackFillBlocks { id: _ } => {
warn!(self.log, "Blob received during backfill block request"; "peer_id" => %peer_id );
crit!(self.log, "Blob received during backfill block request"; "peer_id" => %peer_id );
}
RequestId::RangeBlocks { id: _ } => {
warn!(self.log, "Blob received during range block request"; "peer_id" => %peer_id );
crit!(self.log, "Blob received during range block request"; "peer_id" => %peer_id );
}
RequestId::BackFillBlockAndBlobs { id } => {
self.backfill_block_and_blobs_response(id, peer_id, blob.into())