-
Notifications
You must be signed in to change notification settings - Fork 20
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
Add RHP4 client wrapper #1630
Add RHP4 client wrapper #1630
Conversation
643895b
to
57d2675
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.
Can we add one basic test that fetches the Settings
.
I was holding off on that for the PR that upgrades host scanning to v4 since we aren't using this client yet. Because there we get it implicitly by running the tests against a block height > require height. |
Merging #1630 which uses the `rhp4` branch of `hostd` broke web, cluster, and benchmark. This is the bare-minimum to get everything aligned on actually merged code again.
This PR adds a
rhp4Client
to bothworker
andbus
. The client is similar to the existing ones we have.NOTE: The client doesn't implement any RPCs yet except for the settings one as an example. The corresponding PRs will implement those RPCs and make any chances to the signatures if needed.