Skip to content

Commit

Permalink
fix: printout
Browse files Browse the repository at this point in the history
  • Loading branch information
atanmarko committed Sep 18, 2024
1 parent 19e50a8 commit 4950c14
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions zero/src/bin/trie_diff.rs
Original file line number Diff line number Diff line change
Expand Up @@ -114,11 +114,10 @@ async fn main() -> Result<()> {
let block_number: u64 = cap[1].parse()?;
let batch_index: usize = cap[2].parse()?;

info!("Loading tries from the batch error file...");
let prover_tries =
zero::debug_utils::load_tries_from_disk(block_number, batch_index)?;

info!("Performing trie diff...");
info!("Performing trie comparison for block {block_number} batch {batch_index}...");
zero::trie_diff::compare_tries(
&block_prover_input,
batch_index,
Expand All @@ -142,7 +141,7 @@ async fn main() -> Result<()> {
&prover_tries.tries,
)?;

info!("Trie comparison finished");
info!("Trie comparison finished for block {block_number} batch {batch_index}");
return Ok(());
} else {
error!(
Expand Down

0 comments on commit 4950c14

Please sign in to comment.