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

Add automated tests to verify strict NU5 consensus equivalence for subsidy. #8

Open
nathan-at-least opened this issue Jun 5, 2022 · 0 comments

Comments

@nathan-at-least
Copy link
Owner

While there are some unit tests that the Subsidy::NU5 calculations match NU5 (current Zcash Mainnet), it would be better to have input->output equivalent test validation from zcashd.

There are a few ways to approach this, but I think my current preferred approach is:

  • Tweak zcashd to generate issuance values into a test vector file.
  • Add zcashd regression test against that vector.
  • Test against that vector here.
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

No branches or pull requests

1 participant