-
Notifications
You must be signed in to change notification settings - Fork 129
Lde/reinstate work queue #324
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
2dff4ba
1567739
c1a971b
fcf5cab
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -40,7 +40,8 @@ TYPED_TEST(BilinearAccumulationTest, single) | |
|
|
||
| auto prover_transcript = ProverTranscript<Fr>::init_empty(); | ||
|
|
||
| KZG::reduce_prove(this->ck(), opening_pair, witness, prover_transcript); | ||
| auto quotient_W = KZG::compute_opening_proof_polynomial(opening_pair, witness); | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Really prefer this because I don't have to think about what the name means.
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. You mean you prefer my change or the original? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yes, it requires much less thinking to what your code is doing IMO |
||
| prover_transcript.send_to_verifier("KZG:W", this->commit(quotient_W)); | ||
|
|
||
| auto verifier_transcript = VerifierTranscript<Fr>::init_empty(prover_transcript); | ||
| auto kzg_claim = KZG::reduce_verify(opening_claim, verifier_transcript); | ||
|
|
@@ -148,7 +149,8 @@ TYPED_TEST(BilinearAccumulationTest, GeminiShplonkKzgWithShift) | |
|
|
||
| // KZG prover: | ||
| // - Adds commitment [W] to transcript | ||
| KZG::reduce_prove(this->ck(), shplonk_opening_pair, shplonk_witness, prover_transcript); | ||
| auto quotient_W = KZG::compute_opening_proof_polynomial(shplonk_opening_pair, shplonk_witness); | ||
| prover_transcript.send_to_verifier("KZG:W", this->commit(quotient_W)); | ||
|
|
||
| // Run the full verifier PCS protocol with genuine opening claims (genuine commitment, genuine evaluation) | ||
|
|
||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
...becuase now the commitment key lives in the work queue ✔️