mirror of
https://github.com/arnaucube/hyperplonk.git
synced 2026-01-10 16:11:29 +01:00
Update build
- Use default github rust version - Stop using clippy action, it has been unmaintained since 2020 - No longer enforce nightly fmt rules in CI (they can still be enforced in commit hooks or nix - No longer use cargo test unstable options - Run `cargo clippy --fix` to fix new errors
This commit is contained in:
@@ -106,11 +106,9 @@ impl<E: Pairing> PolynomialCommitmentScheme<E> for UnivariateKzgPCS<E> {
|
||||
let (num_leading_zeros, plain_coeffs) = skip_leading_zeros(poly);
|
||||
|
||||
let msm_time = start_timer!(|| "MSM to compute commitment to plaintext poly");
|
||||
let commitment = E::G1::msm_unchecked(
|
||||
&prover_param.powers_of_g[num_leading_zeros..],
|
||||
&plain_coeffs,
|
||||
)
|
||||
.into_affine();
|
||||
let commitment =
|
||||
E::G1::msm_unchecked(&prover_param.powers_of_g[num_leading_zeros..], plain_coeffs)
|
||||
.into_affine();
|
||||
end_timer!(msm_time);
|
||||
|
||||
end_timer!(commit_time);
|
||||
@@ -136,7 +134,7 @@ impl<E: Pairing> PolynomialCommitmentScheme<E> for UnivariateKzgPCS<E> {
|
||||
|
||||
let proof = E::G1::msm_unchecked(
|
||||
&prover_param.borrow().powers_of_g[num_leading_zeros..],
|
||||
&witness_coeffs,
|
||||
witness_coeffs,
|
||||
)
|
||||
.into_affine();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user