-
Notifications
You must be signed in to change notification settings - Fork 107
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
feature(rpc): Migrate from deprecated jsonrpc_*
crates to jsonrpsee
#9059
Conversation
581022a
to
01dde31
Compare
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 is looking excellent so far, thank you for minimizing non-essential changes.
One of the snapshots needs to be updated (the fields were re-ordered), and I'm not sure why the getblocktemplate test is failing yet, but I've reviewed most of the changes now and the only important suggestion I have so far is to return when the queue channel is closed.
zebra-rpc/src/methods/get_block_template_rpcs/get_block_template.rs
Outdated
Show resolved
Hide resolved
"Migrate from deprecated |
jsonrpsee
crate for our RPC interfacejsonrpc_*
crates to jsonrpsee
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 is still looking good, none of these suggestions are blockers and I think they should be addressed in a follow-up PR. I'm reviewing one last file (the vectors tests).
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 for these changes.
Co-authored-by: Arya <[email protected]>
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.
🎉
Motivation
Close #8682
Solution
Upgrade zebra to use jsonrpsee.
Tests
Follow-up Work
PR Author's Checklist
PR Reviewer's Checklist