Skip to content

Commit 3405291

Browse files
committed
Use simplified logs for certificates & epoch settings in e2e tests
This makes the output much more readable, no more huge wall of encoded keys.
1 parent 3b6854d commit 3405291

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

mithril-test-lab/mithril-end-to-end/src/assertions/check.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ pub async fn assert_is_creating_certificate_with_enough_signers(
178178
}
179179
}) {
180180
AttemptResult::Ok(certificate) => {
181-
info!("Aggregator produced a certificate"; "certificate" => #?certificate);
181+
info!("Aggregator produced a certificate"; "certificate" => ?certificate);
182182
if certificate.metadata.signers.len() == total_signers_expected {
183183
info!(
184184
"Certificate is signed by expected number of signers: {} >= {} ",

mithril-test-lab/mithril-end-to-end/src/assertions/wait.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ pub async fn wait_for_epoch_settings(
5050
.json::<EpochSettingsMessage>()
5151
.await
5252
.map_err(|e| format!("Invalid EpochSettings body : {e}"))?;
53-
info!("Aggregator ready"; "epoch_settings" => #?epoch_settings);
53+
info!("Aggregator ready"; "epoch_settings" => ?epoch_settings);
5454
Ok(Some(epoch_settings))
5555
}
5656
s if s.is_server_error() => {

0 commit comments

Comments
 (0)