-
Notifications
You must be signed in to change notification settings - Fork 22
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
base: master
Are you sure you want to change the base?
Conversation
This is currently conflicting with |
f4d7564
to
8d8fca7
Compare
def main(): | ||
args = render_args() | ||
|
||
bundle_commitments = [ |
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.
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).
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.
Document how these were generated, in case they need to be regenerated.
Once #74 is complete, this should be closed without merging. |
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.