Skip to content

Commit 54c6a93

Browse files
committed
add log
1 parent 37eb32a commit 54c6a93

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

test/src/specs/tx_pool/send_large_cycles_tx.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ impl Spec for SendLargeCyclesTxToRelay {
105105
info!("Generate large cycles tx");
106106

107107
let tx = build_tx(node1, &self.random_key.privkey, self.random_key.lock_arg());
108-
// send tx
108+
// send tx to node1
109109
let ret = node1.rpc_client().send_transaction_result(tx.data().into());
110110
assert!(ret.is_ok());
111111

tx-pool/src/verify_mgr.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,9 @@ impl Worker {
7676

7777
async fn process_inner(&mut self) {
7878
loop {
79+
eprintln!("Worker process_inner begin ....");
7980
if self.status != ChunkCommand::Resume {
80-
info!(
81+
eprintln!(
8182
"Worker is not in resume status, current status: {:?}",
8283
self.status
8384
);
@@ -88,6 +89,7 @@ impl Worker {
8889
}
8990
// cheap query to check queue is not empty
9091
if self.tasks.read().await.is_empty() {
92+
eprintln!("Worker queue is empty");
9193
return;
9294
}
9395

0 commit comments

Comments
 (0)