From 2c2b1f1423c6f465d81d84aa23cf53b43ec497f3 Mon Sep 17 00:00:00 2001 From: yukang Date: Tue, 20 Aug 2024 11:43:05 +0800 Subject: [PATCH] add verify log for monitor --- tx-pool/src/process.rs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/tx-pool/src/process.rs b/tx-pool/src/process.rs index b249be78d7..4ca169c2c1 100644 --- a/tx-pool/src/process.rs +++ b/tx-pool/src/process.rs @@ -448,7 +448,7 @@ impl TxPoolService { self.process_orphan_tx(&tx).await; } Err(reject) => { - debug!( + info!( "after_process {} {} remote reject: {} ", tx_hash, peer, reject ); @@ -686,6 +686,10 @@ impl TxPoolService { if let Some(declared) = declared_cycles { if declared != verified.cycles { + info!( + "process_tx declared cycles not match verified cycles, declared: {:?} verified: {:?}, tx: {:?}", + declared, verified.cycles, tx + ); return Some(( Err(Reject::DeclaredWrongCycles(declared, verified.cycles)), snapshot,