From c7ae4efc62860e67103cf278ad8c6dab61963ee4 Mon Sep 17 00:00:00 2001 From: Matthias Seitz Date: Thu, 22 Feb 2024 17:30:36 +0100 Subject: [PATCH] chore: add missing trace targets (#6739) Co-authored-by: Oliver Nordbjerg --- crates/transaction-pool/src/pool/txpool.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/crates/transaction-pool/src/pool/txpool.rs b/crates/transaction-pool/src/pool/txpool.rs index 46c105296ff..2c0ee3e0200 100644 --- a/crates/transaction-pool/src/pool/txpool.rs +++ b/crates/transaction-pool/src/pool/txpool.rs @@ -793,6 +793,7 @@ impl TxPool { while $this.$pool.exceeds(&$this.config.$limit) { trace!( + target: "txpool", "discarding transactions from {}, limit: {:?}, curr size: {}, curr len: {}", stringify!($pool), $this.config.$limit, @@ -804,6 +805,7 @@ impl TxPool { let removed_from_subpool = $this.$pool.truncate_pool($this.config.$limit.clone()); trace!( + target: "txpool", "removed {} transactions from {}, limit: {:?}, curr size: {}, curr len: {}", removed_from_subpool.len(), stringify!($pool),