-
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,21 +12,6 @@ jobs: | |
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
- 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 | ||
- name: Cache Zcash parameters | ||
id: cache-params | ||
uses: actions/[email protected] | ||
with: | ||
path: ${{ env.ZCASH_PARAMS }} | ||
key: ${{ runner.os }}-params | ||
- 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 commentThe reason will be displayed to describe this comment to others. Learn more. We can delete the There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. git grep shows no usage of download-params in the zebrad repo. |
||
|
||
- name: Run tests | ||
run: cargo test --all-features --verbose --release --all | ||
- name: Run slow tests | ||
|
@@ -121,21 +106,6 @@ jobs: | |
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
- 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 | ||
- name: Cache Zcash parameters | ||
id: cache-params | ||
uses: actions/[email protected] | ||
with: | ||
path: ${{ env.ZCASH_PARAMS }} | ||
key: ${{ runner.os }}-params | ||
- 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 | ||
|
||
- name: Generate coverage report | ||
run: cargo tarpaulin --engine llvm --all-features --release --timeout 600 --out xml | ||
- name: Upload coverage to Codecov | ||
|
This file was deleted.
This file was deleted.
This file was deleted.
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 ofget-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.