Skip to content

Commit

Permalink
fix logging in checker
Browse files Browse the repository at this point in the history
  • Loading branch information
carlomazzaferro committed Sep 24, 2024
1 parent 029fa1b commit 710b5f1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions iris-mpc-upgrade/src/bin/checker.rs
Original file line number Diff line number Diff line change
Expand Up @@ -275,8 +275,8 @@ async fn main() -> eyre::Result<()> {
args.num_elements
);
let (new_code, new_mask) = new_left_db.get(&idx).expect("old id is present in new db");
assert_eq!(code, *new_code);
assert_eq!(mask, *new_mask);
assert_eq!(code, *new_code, "Code for id {} left does not match", idx);
assert_eq!(mask, *new_mask, "Mask for id {} left does not match", idx);
}
for (idx, (code, mask)) in old_right_db {
tracing::info!(
Expand All @@ -285,8 +285,8 @@ async fn main() -> eyre::Result<()> {
args.num_elements
);
let (new_code, new_mask) = new_right_db.get(&idx).expect("old id is present in new db");
assert_eq!(code, *new_code);
assert_eq!(mask, *new_mask);
assert_eq!(code, *new_code, "Code for id {} right does not match", idx);
assert_eq!(mask, *new_mask, "Mask for id {} right does not match", idx);
}

Ok(())
Expand Down

0 comments on commit 710b5f1

Please sign in to comment.