Skip to content
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

Merged
merged 6 commits into from
Oct 31, 2024
Merged

Add RHP4 client wrapper #1630

merged 6 commits into from
Oct 31, 2024

Conversation

ChrisSchinnerl
Copy link
Member

@ChrisSchinnerl ChrisSchinnerl commented Oct 28, 2024

This PR adds a rhp4Client to both worker and bus. 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.

@ChrisSchinnerl ChrisSchinnerl self-assigned this Oct 28, 2024
@ChrisSchinnerl ChrisSchinnerl marked this pull request as ready for review October 30, 2024 12:09
Copy link
Member

@peterjan peterjan left a 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.

@ChrisSchinnerl
Copy link
Member Author

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.

@ChrisSchinnerl ChrisSchinnerl merged commit 45abf51 into dev Oct 31, 2024
9 checks passed
@ChrisSchinnerl ChrisSchinnerl deleted the chris/rhp4 branch October 31, 2024 12:45
n8maninger added a commit that referenced this pull request Nov 1, 2024
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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants