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

Add vector generation for bundle commitments. #39

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

nuttycom
Copy link
Contributor

This is a bit awkward, because the test vectors it generates are not
complete; it merely generates anchors for the bundle commitments
from https://github.com/zcash/zcash/pull/5233/files?file-filters%5B%5D=.cpp&file-filters%5B%5D=.h&file-filters%5B%5D=.hpp#diff-38ff85a72cad7fe2516912a84c7deedb725cc444d230a6d1accfc1258ecff005

The serialized bundle values there were generated in a non-reproducible
fashion from the librustzcash property tests, then the note commitments
were extracted so as to be able to generate just the anchors.

@nuttycom nuttycom requested a review from str4d June 23, 2021 22:47
@nuttycom nuttycom added this to the Core Sprint 2021-24 milestone Jun 23, 2021
@therealyingtong
Copy link
Contributor

This is currently conflicting with master.

def main():
args = render_args()

bundle_commitments = [
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should not be in this file (this is where #36 will go). These should go into a separate script file (they aren't really what this repo is for, but there isn't any better place to put them).

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Document how these were generated, in case they need to be regenerated.

@nuttycom
Copy link
Contributor Author

Once #74 is complete, this should be closed without merging.

@daira daira added this to the Release 5.0.0 milestone Mar 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants