diff --git a/crates/proof-of-sql/src/base/commitment/commitment_evaluation_proof_test.rs b/crates/proof-of-sql/src/base/commitment/commitment_evaluation_proof_test.rs index d1579f975..89e4c2a15 100644 --- a/crates/proof-of-sql/src/base/commitment/commitment_evaluation_proof_test.rs +++ b/crates/proof-of-sql/src/base/commitment/commitment_evaluation_proof_test.rs @@ -20,7 +20,7 @@ pub fn test_simple_commitment_evaluation_proof( ); let commits = Vec::from_columns_with_offset( - &[Column::Scalar(&[ + [Column::Scalar(&[ CP::Scalar::one(), CP::Scalar::one() + CP::Scalar::one(), ])], @@ -50,7 +50,7 @@ pub fn test_commitment_evaluation_proof_with_length_1( let mut transcript = Transcript::new(b"evaluation_proof"); let proof = CP::new(&mut transcript, &a, &b_point, offset as u64, prover_setup); - let commits = Vec::from_columns_with_offset(&[Column::Scalar(&a)], offset, prover_setup); + let commits = Vec::from_columns_with_offset([Column::Scalar(&a)], offset, prover_setup); let mut b = vec![CP::Scalar::zero(); a.len()]; crate::base::polynomial::compute_evaluation_vector(&mut b, &b_point); diff --git a/crates/proof-of-sql/src/base/commitment/vec_commitment_ext.rs b/crates/proof-of-sql/src/base/commitment/vec_commitment_ext.rs index 167649625..f5c917fd3 100644 --- a/crates/proof-of-sql/src/base/commitment/vec_commitment_ext.rs +++ b/crates/proof-of-sql/src/base/commitment/vec_commitment_ext.rs @@ -189,7 +189,7 @@ mod tests { fn we_can_convert_from_columns() { // empty case let commitments = Vec::::from_columns_with_offset( - &Vec::>::new(), + Vec::>::new(), 0, &(), ); diff --git a/crates/proof-of-sql/src/proof_primitive/dory/dory_commitment.rs b/crates/proof-of-sql/src/proof_primitive/dory/dory_commitment.rs index fe8a8dfda..cc6a7ef34 100644 --- a/crates/proof-of-sql/src/proof_primitive/dory/dory_commitment.rs +++ b/crates/proof-of-sql/src/proof_primitive/dory/dory_commitment.rs @@ -121,7 +121,7 @@ mod tests { // empty case let commitments = Vec::::from_columns_with_offset( - &Vec::>::new(), + Vec::>::new(), 0, &setup, );