chore: add missing trace targets (#6739)

Co-authored-by: Oliver Nordbjerg <onbjerg@users.noreply.github.com>
This commit is contained in:
Matthias Seitz
2024-02-22 17:30:36 +01:00
committed by GitHub
parent 755ce9efc2
commit c7ae4efc62

View File

@ -793,6 +793,7 @@ impl<T: TransactionOrdering> TxPool<T> {
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<T: TransactionOrdering> TxPool<T> {
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),