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

Get unit tests working (passing) again #398

Merged
merged 1 commit into from
Jun 12, 2022

Conversation

LarryRuane
Copy link
Collaborator

Now "go test ./..." passes, it had broken due to the V5 transaction
(NU5) changes in #392. I didn't have time to fix the tests at the time.
Also, this fixes a few lint problems.

The main change in #392 is that lightwalletd needs to call getblock twice for each call to gRPC GetBlock. (We'll fix this later.) This is to store the correct txid in the compact block. This affected the unit tests because the mock zcashd rpc handlers assumed that each GetBlock would map to a single getblock.

Now "go test ./..." passes, it had broken due to the V5 transaction
(NU5) changes in zcash#392. I didn't have time to fix the tests at the time.
Also, this fixes a few lint problems.
@LarryRuane LarryRuane added bug Something isn't working testing labels Jun 12, 2022
@LarryRuane LarryRuane merged commit 0d00588 into zcash:master Jun 12, 2022
@LarryRuane LarryRuane deleted the 2022-06-fix-unittests branch June 5, 2023 21:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working testing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant