-
Notifications
You must be signed in to change notification settings - Fork 254
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
Test with bundled prover instead of local prover. #1017
Conversation
6a45221
to
3cdb005
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
... and 2 files with indirect coverage changes 📢 Thoughts on this report? Let us know!. |
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.
ACK 3cdb005
- name: Fetch path to Zcash parameters | ||
working-directory: ./zcash_proofs | ||
shell: bash | ||
run: echo "ZCASH_PARAMS=$(cargo run --release --example get-params-path --features directories)" >> $GITHUB_ENV |
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.
We can delete the get-params-path
example now; it was only added for use in our CI. (However, we should verify that zebrad's CI isn't also using it; I think they might have been at one stage.)
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.
git grep
shows no usage of get-params-path
in the zebrad repo.
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.
Aha, what they actually did is copied those files into their CI. They removed their copies in ZcashFoundation/zebra#7800.
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.
So yes, we can just remove zcash_proofs/examples/
entirely (I don't think we need to offer Sprout parameter downloading examples either).
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.
Removed.
- name: Fetch Zcash parameters | ||
if: steps.cache-params.outputs.cache-hit != 'true' | ||
working-directory: ./zcash_proofs | ||
run: cargo run --release --example download-params --features download-params |
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.
We can delete the download-params
example now; it was only added for use in our CI. (However, we should verify that zebrad's CI isn't also using it; I think they might have been at one stage.)
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.
git grep shows no usage of download-params in the zebrad repo.
…default. `fetch_params.sh` is now deprecated and the bundled proving parameters from `wagyu-zcash-parameters` are used everywhere, so the tests should follow suit. Fixes zcash#1016
Now that the tests use the bundled prover, we no longer need them to download the zcash parameters files.
Since we now use the bundled prover everywhere, we no longer need utilities to download Zcash parameters, which was the only purpose that these examples were serving.
3cdb005
to
c0a0ef1
Compare
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.
utACK c0a0ef1.
No description provided.