-
Notifications
You must be signed in to change notification settings - Fork 0
Corrections to V7 transaction format and using updated test vectors #66
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
Changes from all commits
200a5a6
50b9210
45ac6a7
22885b1
fdd85a6
324c152
c4b8b0f
bf8bfa7
362e113
396bd74
e132156
9b67da5
481ae8f
caf3107
eae142f
49085e0
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Large diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -236,7 +236,12 @@ fn zip_0244() { | |
| fn to_test_txdata( | ||
| tv: &self::data::zip_0244::TestVector, | ||
| ) -> (TransactionData<TestUnauthorized>, TxDigests<Blake2bHash>) { | ||
| let tx = Transaction::read(&tv.tx[..], BranchId::Nu5).unwrap(); | ||
| let tx = Transaction::read( | ||
| &tv.tx[..], | ||
| #[cfg(not(zcash_unstable = "nu6"))] /* TODO nu7 */ BranchId::Nu5, | ||
|
Collaborator
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. new line after
Author
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.
Author
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. I confirmed that this is the case for all lines where the newline is not used. |
||
| #[cfg(zcash_unstable = "nu6")] /* TODO nu7 */ BranchId::Nu7, | ||
| ) | ||
| .unwrap(); | ||
|
|
||
| assert_eq!(tx.txid.as_ref(), &tv.txid); | ||
| assert_eq!(tx.auth_commitment().as_ref(), &tv.auth_digest); | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.