diff --git a/prover/benches/proof_of_liabilities.rs b/prover/benches/proof_of_liabilities.rs index b60fe012..b47d2075 100644 --- a/prover/benches/proof_of_liabilities.rs +++ b/prover/benches/proof_of_liabilities.rs @@ -28,7 +28,7 @@ fn bench_summa() let halo2_circuit = SummaHyperplonk::::init(entries.to_vec()); let circuit = Halo2Circuit::>::new::( - 17, + K as usize, halo2_circuit.clone(), ); @@ -54,7 +54,7 @@ fn bench_summa() b.iter_batched( || { Halo2Circuit::>::new::( - 17, + K as usize, halo2_circuit.clone(), ) }, diff --git a/prover/src/circuits/summa_circuit.rs b/prover/src/circuits/summa_circuit.rs index 2263e342..2fd17cae 100644 --- a/prover/src/circuits/summa_circuit.rs +++ b/prover/src/circuits/summa_circuit.rs @@ -202,7 +202,7 @@ pub mod summa_hyperplonk { assigned_balances.push(assigned_balances_row); } - Ok((assigned_balances, last_assigned_running_sums.clone())) + Ok((assigned_balances, last_assigned_running_sums)) }, ) .unwrap();