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

zcash_protocol: Add constants for the NU7 Network Upgrade #1718

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

nuttycom
Copy link
Contributor

No description provided.

Copy link

codecov bot commented Feb 26, 2025

Codecov Report

Attention: Patch coverage is 0% with 12 lines in your changes missing coverage. Please review.

Project coverage is 54.12%. Comparing base (90d186f) to head (0f00e24).

Files with missing lines Patch % Lines
components/zcash_protocol/src/consensus.rs 0.00% 8 Missing ⚠️
zcash_primitives/src/transaction/sighash.rs 0.00% 2 Missing ⚠️
pczt/src/roles/creator/mod.rs 0.00% 1 Missing ⚠️
zcash_primitives/src/transaction/mod.rs 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1718      +/-   ##
==========================================
- Coverage   54.15%   54.12%   -0.03%     
==========================================
  Files         176      176              
  Lines       20475    20486      +11     
==========================================
  Hits        11088    11088              
- Misses       9387     9398      +11     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

This eliminates duplication of these constants in the `pczt` module.
It introduces a non-optional dependency of `pczt` on `zcash_protocol`,
but as the `pczt` crate is almost not meaningfully useful without the
`zcash_protocol` dependency anyway, and `zcash_protocol` is very
lightweight, this is an acceptable tradeoff.
Access to the newly-added constants is guarded behind the
`zcash_unstable = "nu7"` config flag.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant