-
Notifications
You must be signed in to change notification settings - Fork 0
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
ActionGroup-based serialization format for Orchard v6 #86
Conversation
fb9e0a4
to
1e87dcf
Compare
This PR updates the orchard dependency used in librustzcash to a later version of our orchard repository fork
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added some comments
) | ||
.unwrap(); | ||
|
||
let binding = builder.mock_build_no_fee(OsRng).unwrap().into_transaction(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can you brifly explain why we mock here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just so we don't create a real Prover to save computational resources, because we don't test prover here, only builder
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I see. All the mock code is used explicitly in tests so it should be under #[test] tag somwhere. Please move it into #[test]
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, this is the case already, all tests are under the test tag
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approved with pending comments
) | ||
.unwrap(); | ||
|
||
let binding = builder.mock_build_no_fee(OsRng).unwrap().into_transaction(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I see. All the mock code is used explicitly in tests so it should be under #[test] tag somwhere. Please move it into #[test]
ActionGroup-based serialization format is implemented for Orchard v6