chore: handle deprecations in winterfell 0.8.3 release

This commit is contained in:
Paul Schoenfelder
2024-03-16 00:31:12 -04:00
committed by Paul Schoenfelder
parent 4bc4bea0db
commit 999a64fca6
36 changed files with 93 additions and 84 deletions

View File

@@ -74,7 +74,7 @@ pub fn insertion(tree: &mut Smt, size: u64) -> Result<(), MerkleError> {
println!(
"An average insertion time measured by 20 inserts into a SMT with {} key-value pairs is {:.3} milliseconds\n",
size,
// calculate the average by dividing by 20 and convert to milliseconds by multiplying by
// calculate the average by dividing by 20 and convert to milliseconds by multiplying by
// 1000. As a result, we can only multiply by 50
insertion_times.iter().sum::<f32>() * 50f32,
);