-
Notifications
You must be signed in to change notification settings - Fork 296
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
crypto: testnet parameter setup tooling #1885
Conversation
13b26e9
to
d8e7d40
Compare
e1f8bfc
to
935a3be
Compare
95882f8
to
68e98de
Compare
68e98de
to
1b1f6dc
Compare
1b1f6dc
to
b138bd8
Compare
b138bd8
to
34b3e6e
Compare
I'm linking out as the link has detailed instructions for each platform which it seems silly to reproduce in our docs.
Committing the .gitattributes file is recommended for collaborating on repositories with Git LFS [0]. In that file we're currently saying that files ending in *.bin should always be tracked using Git LFS. [0] https://docs.github.com/en/repositories/working-with-files/managing-large-files/configuring-git-large-file-storage
34b3e6e
to
5e9e818
Compare
@redshiftzero I enabled ad-hoc runs of the container build story in 01ca799. Can you rebase this PR and try kicking off a run of that workflow on this branch? |
Dope, tis running now: https://github.com/penumbra-zone/penumbra/actions/runs/4068809157 |
Build succeeded! Looks like the lfs knobs you enabled in the workflow are indeed sufficient for the container story. I haven't pulled down that container and inspected it, but will take a look at preview once this lands. |
Closes #711
This adds two crates:
tools/parameter-setup
that lets one generate (or regenerate) the parameters for the existing circuits. These parameters are then serialized to files inproof-params/src/gen/*.bin
.penumbra-proof-params
that loads those parameters and deserializes them. This is the crate that would be a dependency added anywhere where we wish to create and verify proofs.Note to the interested observer: this code and the generated parameters will only be used for development and testnet purposes. A different procedure will be used for mainnet (tracked in #712).