diff --git a/stdlib/tests/crypto/fri/verifier_fri_e2f4.rs b/stdlib/tests/crypto/fri/verifier_fri_e2f4.rs index 85a73faf7..a16d6b0f6 100644 --- a/stdlib/tests/crypto/fri/verifier_fri_e2f4.rs +++ b/stdlib/tests/crypto/fri/verifier_fri_e2f4.rs @@ -413,7 +413,7 @@ impl UnBatch for MidenFriVerifierChannel(&query); + let x = group_slice_elements::(query); let leaves: Vec = x.iter().map(|row| MidenHasher::hash_elements(row)).collect(); let unbatched_proof = layer_proof.into_openings(&leaves, &folded_positions).unwrap(); diff --git a/stdlib/tests/crypto/stark/verifier_recursive/channel.rs b/stdlib/tests/crypto/stark/verifier_recursive/channel.rs index 45b74cf9c..74e712b32 100644 --- a/stdlib/tests/crypto/stark/verifier_recursive/channel.rs +++ b/stdlib/tests/crypto/stark/verifier_recursive/channel.rs @@ -247,7 +247,7 @@ impl VerifierChannel { let layer_proof = layer_proofs.remove(0); - let x = group_slice_elements::(&query); + let x = group_slice_elements::(query); let leaves: Vec = x.iter().map(|row| Rpo256::hash_elements(row)).collect(); let unbatched_proof = layer_proof.into_openings(&leaves, &folded_positions).unwrap(); @@ -431,7 +431,7 @@ pub fn unbatch_to_partial_mt( queries: Vec>, proof: BatchMerkleProof, ) -> (PartialMerkleTree, Vec<(RpoDigest, Vec)>) { - let leaves: Vec = queries.iter().map(|row| Rpo256::hash_elements(&row)).collect(); + let leaves: Vec = queries.iter().map(|row| Rpo256::hash_elements(row)).collect(); let unbatched_proof = proof.into_openings(&leaves, &positions).unwrap(); let mut adv_key_map = Vec::new();