From fd4742369cf4a0c42547b31f53981975bca446b4 Mon Sep 17 00:00:00 2001 From: Sayan De <139789017+Sayan7388@users.noreply.github.com> Date: Sat, 15 Jun 2024 01:20:02 +0530 Subject: [PATCH] Update prove.rs In Rust, string interpolation is done using curly braces {} to indicate where the values should be inserted into the string. In this code, we are attempting to interpolate the value of chunk_num into the log message. Here's the incorrect line: log::info!("Prove batch BEGIN: chunk_num = {chunk_num}"); And the correct line is : log::info!("Prove batch BEGIN: chunk_num = {}", chunk_num); --- integration/src/test_util/prove.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/integration/src/test_util/prove.rs b/integration/src/test_util/prove.rs index beee6971..b3d71781 100644 --- a/integration/src/test_util/prove.rs +++ b/integration/src/test_util/prove.rs @@ -59,5 +59,5 @@ pub fn prove_and_verify_batch( assert!(verifier.verify_agg_evm_proof(batch_proof)); log::info!("Verified batch proof"); - log::info!("Prove batch END: chunk_num = {chunk_num}"); + log::info!("Prove batch BEGIN: chunk_num = {}", chunk_num); }