diff --git a/uni-stark/src/prover.rs b/uni-stark/src/prover.rs index 5875a14c9..fb5a13cc2 100644 --- a/uni-stark/src/prover.rs +++ b/uni-stark/src/prover.rs @@ -40,7 +40,7 @@ pub fn prove< air: &A, challenger: &mut SC::Challenger, main_trace: RowMajorMatrix>, - public_values: &[Val], + public_values: &Vec>, ) -> Proof where SC: StarkGenericConfig, @@ -72,7 +72,9 @@ pub fn prove_with_key< challenger: &mut SC::Challenger, stage_0_trace: RowMajorMatrix>, next_stage_trace_callback: &C, - stage_0_public_values: &[Val], + #[allow(clippy::ptr_arg)] + // we do not use `&[Val]` in order to keep the same API + stage_0_public_values: &Vec>, ) -> Proof where SC: StarkGenericConfig,