re-randomize srs #944
re-randomize srs #944
Clippy
5 errors
Details
Results
Message level | Amount |
---|---|
Internal compiler error | 0 |
Error | 5 |
Warning | 0 |
Note | 0 |
Help | 0 |
Versions
- rustc 1.68.0-nightly (dfe3fe710 2022-12-09)
- cargo 1.68.0-nightly (f6e737b1e 2022-12-02)
- clippy 0.1.67 (dfe3fe7 2022-12-09)
Annotations
Check failure on line 131 in prover/src/utils.rs
github-actions / Clippy
field `s_g2` of struct `halo2_proofs::poly::kzg::commitment::ParamsKZG` is private
error[E0616]: field `s_g2` of struct `halo2_proofs::poly::kzg::commitment::ParamsKZG` is private
--> prover/src/utils.rs:131:25
|
131 | param.s_g2 = (param.s_g2 * secret).into();
| ^^^^ private field
|
help: a method `s_g2` also exists, call it with parentheses
|
131 | param.s_g2 = (param.s_g2() * secret).into();
| ++
Check failure on line 131 in prover/src/utils.rs
github-actions / Clippy
field `s_g2` of struct `halo2_proofs::poly::kzg::commitment::ParamsKZG` is private
error[E0616]: field `s_g2` of struct `halo2_proofs::poly::kzg::commitment::ParamsKZG` is private
--> prover/src/utils.rs:131:11
|
131 | param.s_g2 = (param.s_g2 * secret).into();
| ^^^^ private field
Check failure on line 130 in prover/src/utils.rs
github-actions / Clippy
field `k` of struct `halo2_proofs::poly::kzg::commitment::ParamsKZG` is private
error[E0616]: field `k` of struct `halo2_proofs::poly::kzg::commitment::ParamsKZG` is private
--> prover/src/utils.rs:130:56
|
130 | param.g_lagrange = g_to_lagrange(new_g_proj, param.k);
| ^ private field
Check failure on line 122 in prover/src/utils.rs
github-actions / Clippy
field `g` of struct `halo2_proofs::poly::kzg::commitment::ParamsKZG` is private
error[E0616]: field `g` of struct `halo2_proofs::poly::kzg::commitment::ParamsKZG` is private
--> prover/src/utils.rs:122:11
|
122 | param.g = {
| ^ private field
Check failure on line 114 in prover/src/utils.rs
github-actions / Clippy
field `g` of struct `halo2_proofs::poly::kzg::commitment::ParamsKZG` is private
error[E0616]: field `g` of struct `halo2_proofs::poly::kzg::commitment::ParamsKZG` is private
--> prover/src/utils.rs:114:10
|
114 | .g
| ^ private field