mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-19 22:51:03 +00:00
improve approval tracing (#3846)
* improve approval tracing * Update node/core/approval-voting/src/import.rs * Update node/core/approval-voting/src/import.rs Co-authored-by: Andronik Ordian <write@reusable.software>
This commit is contained in:
committed by
GitHub
parent
13906d62f0
commit
f43acd6c15
@@ -1063,7 +1063,7 @@ async fn handle_from_overseer(
|
|||||||
Ok(block_imported_candidates) => {
|
Ok(block_imported_candidates) => {
|
||||||
// Schedule wakeups for all imported candidates.
|
// Schedule wakeups for all imported candidates.
|
||||||
for block_batch in block_imported_candidates {
|
for block_batch in block_imported_candidates {
|
||||||
tracing::debug!(
|
tracing::trace!(
|
||||||
target: LOG_TARGET,
|
target: LOG_TARGET,
|
||||||
block_hash = ?block_batch.block_hash,
|
block_hash = ?block_batch.block_hash,
|
||||||
num_candidates = block_batch.imported_candidates.len(),
|
num_candidates = block_batch.imported_candidates.len(),
|
||||||
@@ -2410,7 +2410,7 @@ async fn issue_approval(
|
|||||||
)
|
)
|
||||||
.expect("Statement just signed; should pass checks; qed");
|
.expect("Statement just signed; should pass checks; qed");
|
||||||
|
|
||||||
tracing::debug!(
|
tracing::trace!(
|
||||||
target: LOG_TARGET,
|
target: LOG_TARGET,
|
||||||
?candidate_hash,
|
?candidate_hash,
|
||||||
?block_hash,
|
?block_hash,
|
||||||
|
|||||||
Reference in New Issue
Block a user