Rework telemetry to replace the use of tracing with an object we pass around (#8143)

polkadot companion: paritytech/polkadot#2535
This commit is contained in:
Cecile Tonglet
2021-03-11 11:05:45 +01:00
committed by GitHub
parent 7aaba0c154
commit 8031b6eacb
55 changed files with 1028 additions and 838 deletions
@@ -247,9 +247,6 @@ where
.map_err(|_| ClientError::JustificationDecode)?;
justification.verify(current_set_id, &current_authorities)?;
use sc_telemetry::{telemetry, CONSENSUS_INFO};
telemetry!(CONSENSUS_INFO; "afg.finality_proof_ok";
"finalized_header_hash" => ?proof.block);
Ok(proof)
}