Skip to content
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

v1.16: [zk-token-sdk] Refactor ciphertext validity sigma proof and rename ValidityProof to GroupedCiphertextValidityProof (backport of #32040) #32096

Merged
merged 1 commit into from
Jun 13, 2023

Conversation

mergify[bot]
Copy link
Contributor

@mergify mergify bot commented Jun 13, 2023

This is an automatic backport of pull request #32040 done by Mergify.


Mergify commands and options

More conditions and actions can be found in the documentation.

You can also trigger Mergify actions by commenting on this pull request:

  • @Mergifyio refresh will re-evaluate the rules
  • @Mergifyio rebase will rebase this PR on its base branch
  • @Mergifyio update will merge the base branch into this PR
  • @Mergifyio backport <destination> will backport this PR on <destination> branch

Additionally, on Mergify dashboard you can:

  • look at your merge queues
  • generate the Mergify configuration with the config editor.

Finally, you can contact us on https://mergify.com

…alidityProof` to `GroupedCiphertextValidityProof` (#32040)

* rename `CiphertextValidityProof` to `GroupedCiphertext2HandlesValidityProof`

* rename `AggregatedValidityProof` to `BatchedGroupedCiphertext2HandlesValidityProof`

* refactor `validity_proof` module into separate modules

* update test names

* update `aggregated` variable names

* update transcript function names

* Update zk-token-sdk/src/sigma_proofs/batched_grouped_ciphertext_validity_proof.rs

Co-authored-by: Tyera <[email protected]>

* Update zk-token-sdk/src/sigma_proofs/grouped_ciphertext_validity_proof.rs

Co-authored-by: Tyera <[email protected]>

* Reword constructor docs

---------

Co-authored-by: Tyera <[email protected]>
(cherry picked from commit 84e28c2)
@codecov
Copy link

codecov bot commented Jun 13, 2023

Codecov Report

Merging #32096 (dcb01f1) into v1.16 (c69fdef) will increase coverage by 0.0%.
The diff coverage is 98.7%.

@@           Coverage Diff           @@
##            v1.16   #32096   +/-   ##
=======================================
  Coverage    81.8%    81.9%           
=======================================
  Files         759      760    +1     
  Lines      207442   207442           
=======================================
+ Hits       169872   169914   +42     
+ Misses      37570    37528   -42     

@samkim-crypto samkim-crypto merged commit def781a into v1.16 Jun 13, 2023
@samkim-crypto samkim-crypto deleted the mergify/bp/v1.16/pr-32040 branch June 13, 2023 05:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants