diff --git a/stdlib/tests/crypto/fri/verifier_fri_e2f4.rs b/stdlib/tests/crypto/fri/verifier_fri_e2f4.rs index 147b5e6c4..ca4acb420 100644 --- a/stdlib/tests/crypto/fri/verifier_fri_e2f4.rs +++ b/stdlib/tests/crypto/fri/verifier_fri_e2f4.rs @@ -412,7 +412,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 a417da17c..0ae32bcdf 100644 --- a/stdlib/tests/crypto/stark/verifier_recursive/channel.rs +++ b/stdlib/tests/crypto/stark/verifier_recursive/channel.rs @@ -430,7 +430,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();