Closed davidnevadoc closed 3 months ago
I've addressed the comments and updated the PR description with the changes. Can you give this another pass, pls? @ed255
Attention: Patch coverage is 64.05229%
with 55 lines
in your changes are missing coverage. Please review.
Project coverage is 80.86%. Comparing base (
0513fb4
) to head (61f55e6
).
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
This is a small refactor around the PCS parameters, proposed as an alternative to this PR : #301
Changes
Add new struct:
ParamsVerifierKZG
. This struct only containss_g2
and the domain sizek
. Since it does not contain the SRS the verifier that uses these params is not able to commit to the public inputs. Commitment to the public inputs is currently disabled for both kzg-based versions of the verifier gwc and shplonk). In case the verifier wants to commit to the PI it should use the originalParamsKZG
, which remain unchanged.Params
toParamsVerifier
andParamsProver
respectively. Some structs and traits no longer contain the parameters and as a result, no longer need the explicit'params
lifetime.Closes #280