mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-13 14:01:06 +00:00
yet another set of logging improvements (#2638)
This commit is contained in:
committed by
GitHub
parent
04f04ea6db
commit
cd2b745b28
@@ -827,11 +827,27 @@ async fn handle_approved_ancestor(
|
||||
);
|
||||
}
|
||||
Some(a_entry) => {
|
||||
let our_assignment = a_entry.our_assignment();
|
||||
tracing::debug!(
|
||||
target: LOG_TARGET,
|
||||
?our_assignment,
|
||||
);
|
||||
match a_entry.our_assignment() {
|
||||
None => tracing::debug!(
|
||||
target: LOG_TARGET,
|
||||
?candidate_hash,
|
||||
?block_hash,
|
||||
"no assignment."
|
||||
),
|
||||
Some(a) => {
|
||||
let tranche = a.tranche();
|
||||
let triggered = a.triggered();
|
||||
|
||||
tracing::debug!(
|
||||
target: LOG_TARGET,
|
||||
?candidate_hash,
|
||||
?block_hash,
|
||||
tranche,
|
||||
triggered,
|
||||
"assigned"
|
||||
);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user