Skip to content

Commit

Permalink
Fix code review findings
Browse files Browse the repository at this point in the history
  • Loading branch information
alxkzmn committed Apr 19, 2024
1 parent 65400d2 commit de30a4d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions prover/benches/proof_of_liabilities.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ fn bench_summa<const K: u32, const N_USERS: usize, const N_CURRENCIES: usize>()
let halo2_circuit = SummaHyperplonk::<N_USERS, N_CURRENCIES>::init(entries.to_vec());

let circuit = Halo2Circuit::<Fp, SummaHyperplonk<N_USERS, N_CURRENCIES>>::new::<Pb>(
17,
K as usize,
halo2_circuit.clone(),
);

Expand All @@ -54,7 +54,7 @@ fn bench_summa<const K: u32, const N_USERS: usize, const N_CURRENCIES: usize>()
b.iter_batched(
|| {
Halo2Circuit::<Fp, SummaHyperplonk<N_USERS, N_CURRENCIES>>::new::<Pb>(
17,
K as usize,
halo2_circuit.clone(),
)
},
Expand Down
2 changes: 1 addition & 1 deletion prover/src/circuits/summa_circuit.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit de30a4d

Please sign in to comment.