From 1a98605ce667cdb3c198c0fc86bf12fb3f71bdf2 Mon Sep 17 00:00:00 2001 From: Georgios Konstantopoulos Date: Wed, 28 Jan 2026 14:41:42 -0800 Subject: [PATCH] chore(net): downgrade fork id mismatch log to trace (#21554) Co-authored-by: Amp --- crates/net/network/src/swarm.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/net/network/src/swarm.rs b/crates/net/network/src/swarm.rs index 229d149a2f..a1c4117400 100644 --- a/crates/net/network/src/swarm.rs +++ b/crates/net/network/src/swarm.rs @@ -20,7 +20,7 @@ use std::{ sync::Arc, task::{Context, Poll}, }; -use tracing::{debug, trace}; +use tracing::trace; #[cfg_attr(doc, aquamarine::aquamarine)] /// Contains the connectivity related state of the network. @@ -259,7 +259,7 @@ impl Swarm { if self.sessions.is_valid_fork_id(fork_id) { self.state_mut().peers_mut().set_discovered_fork_id(peer_id, fork_id); } else { - debug!(target: "net", ?peer_id, remote_fork_id=?fork_id, our_fork_id=?self.sessions.fork_id(), "fork id mismatch, removing peer"); + trace!(target: "net", ?peer_id, remote_fork_id=?fork_id, our_fork_id=?self.sessions.fork_id(), "fork id mismatch, removing peer"); self.state_mut().peers_mut().remove_peer(peer_id); } }