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_client_sqlite: Run single-shielded-pool tests on Orchard #1250

Merged
merged 5 commits into from
Mar 10, 2024

Conversation

str4d
Copy link
Contributor

@str4d str4d commented Mar 9, 2024

Almost all of these tests currently fail, as expected.

This PR also makes some fixes and improvements to the test harness, that arose from debugging the new Orchard code.

@str4d str4d added this to the Librustzcash Zashi 1.0 milestone Mar 9, 2024
str4d added 2 commits March 10, 2024 01:10
This enables us to activate Sapling and NU5 at the same height, to
simplify reuse of test logic between Sapling and Orchard.

As a side-effect, `zcash_extensions` is removed from the workspace
because it enables the `zfuture` feature flag unconditionally, which
breaks workspace-level builds because this causes the `zfuture` feature
flag on `zcash_protocol` to be enabled without the corresponding feature
flag on `zcash_client_sqlite` being enabled. We will fix this by moving
from feature flags to config flags for unstable features.
This makes individual instances of `TestState` deterministic, which
helps with debugging.
@str4d str4d force-pushed the zcs-orchard-testing branch from e9745d1 to 75c5f31 Compare March 10, 2024 01:13
Copy link

codecov bot commented Mar 10, 2024

Codecov Report

Attention: Patch coverage is 83.33333% with 3 lines in your changes are missing coverage. Please review.

Project coverage is 63.53%. Comparing base (58f46e4) to head (10e1bb6).

Files Patch % Lines
zcash_client_sqlite/src/testing.rs 83.33% 3 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1250      +/-   ##
==========================================
- Coverage   64.91%   63.53%   -1.39%     
==========================================
  Files         117      117              
  Lines       12818    12645     -173     
==========================================
- Hits         8321     8034     -287     
- Misses       4497     4611     +114     

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

Copy link
Contributor

@nuttycom nuttycom left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

utACK

@nuttycom nuttycom merged commit 0d4a730 into main Mar 10, 2024
21 of 25 checks passed
@nuttycom nuttycom deleted the zcs-orchard-testing branch March 10, 2024 14:16
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.

2 participants