mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
chore: add missing trace targets (#6739)
Co-authored-by: Oliver Nordbjerg <onbjerg@users.noreply.github.com>
This commit is contained in:
@ -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),
|
||||
|
||||
Reference in New Issue
Block a user