-
Notifications
You must be signed in to change notification settings - Fork 96
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
fix(getblocktemplate): change error format in proposals #6044
Conversation
zebra-rpc/src/methods/get_block_template_rpcs/types/get_block_template/proposal.rs
Outdated
Show resolved
Hide resolved
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## main #6044 +/- ##
==========================================
+ Coverage 78.03% 78.21% +0.17%
==========================================
Files 312 312
Lines 39036 39417 +381
==========================================
+ Hits 30463 30830 +367
- Misses 8573 8587 +14 |
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.
This looks great, thank you!
zebra-rpc/src/methods/get_block_template_rpcs/types/get_block_template/proposal.rs
Show resolved
Hide resolved
zebra-rpc/src/methods/get_block_template_rpcs/types/get_block_template/proposal.rs
Outdated
Show resolved
Hide resolved
zebra-rpc/src/methods/get_block_template_rpcs/types/get_block_template/proposal.rs
Outdated
Show resolved
Hide resolved
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 think all the changes we've suggested are optional.
zebra-rpc/src/methods/get_block_template_rpcs/types/get_block_template/proposal.rs
Show resolved
Hide resolved
zebra-rpc/src/methods/get_block_template_rpcs/types/get_block_template/proposal.rs
Show resolved
Hide resolved
zebra-rpc/src/methods/get_block_template_rpcs/types/get_block_template/proposal.rs
Outdated
Show resolved
Hide resolved
zebra-rpc/src/methods/get_block_template_rpcs/types/get_block_template/proposal.rs
Outdated
Show resolved
Hide resolved
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.
Thanks!
There is an error in the CI but i think is unrelated to this PR so i am retrying. Error is for macos only in the |
This seems to be bug #5823, which is unrelated. |
Motivation
We want to match zcashd error format in getblocktemplate proposal mode responses.
Close #5981
Solution
Create
kabeb-case
errors forProposalResponse
from zebra json.Review
Anyone can review.
Reviewer Checklist