Skip to content

op-node: Integrate PollingClient with op-node#3630

Merged
trianglesphere merged 1 commit intodevelopfrom
10-01-op-node_Integrate_PollingClient_with_op-node
Oct 3, 2022
Merged

op-node: Integrate PollingClient with op-node#3630
trianglesphere merged 1 commit intodevelopfrom
10-01-op-node_Integrate_PollingClient_with_op-node

Conversation

@mslipper
Copy link
Contributor

@mslipper mslipper commented Oct 1, 2022

Integrates the HTTP PollingClient with the op-node. To do this, I needed to change the RPC interface to return an ethereum.Subscription object rather than a concrete *rpc.ClientSubscription instance. I also introduced a new method to return the correct client.RPC implementation based on the user's chosen RPC URL.

Lastly, I added an additional CircleCI job to run all end-to-end tests against an HTTP-based RPC endpoint to prevent issues from arising in the future.

@changeset-bot
Copy link

changeset-bot bot commented Oct 1, 2022

⚠️ No Changeset found

Latest commit: fec43a7

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@mslipper
Copy link
Contributor Author

mslipper commented Oct 1, 2022

Current dependencies on/for this PR:

This comment was auto-generated by Graphite.

@mergify
Copy link
Contributor

mergify bot commented Oct 1, 2022

This PR changes implementation code, but doesn't include a changeset. Did you forget to add one?

@mslipper mslipper force-pushed the 10-01-op-node_Add_HTTP_wrapper_for_EthSubscribe branch from 3afabc6 to 0ce0c04 Compare October 1, 2022 08:38
@mergify
Copy link
Contributor

mergify bot commented Oct 1, 2022

Hey @mslipper! This PR has merge conflicts. Please fix them before continuing review.

@mergify mergify bot added the conflict label Oct 1, 2022
@mslipper mslipper force-pushed the 10-01-op-node_Integrate_PollingClient_with_op-node branch from ed881c5 to 877511c Compare October 1, 2022 08:40
@mergify mergify bot removed the conflict label Oct 1, 2022
@mslipper mslipper force-pushed the 10-01-op-node_Integrate_PollingClient_with_op-node branch 3 times, most recently from 8fec312 to 08b43c1 Compare October 1, 2022 08:47
@mslipper mslipper marked this pull request as draft October 1, 2022 08:48
@mslipper mslipper force-pushed the 10-01-op-node_Integrate_PollingClient_with_op-node branch from 08b43c1 to 9f97877 Compare October 1, 2022 08:51
Copy link
Contributor

@protolambda protolambda left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Lmk if I need to re-review, the base PR may still see some changes.

@mslipper mslipper force-pushed the 10-01-op-node_Add_HTTP_wrapper_for_EthSubscribe branch from 0ce0c04 to d0c1219 Compare October 3, 2022 14:29
@mslipper mslipper force-pushed the 10-01-op-node_Integrate_PollingClient_with_op-node branch from 9f97877 to ea6a36c Compare October 3, 2022 14:29
@mslipper mslipper marked this pull request as ready for review October 3, 2022 15:02
@mslipper mslipper force-pushed the 10-01-op-node_Integrate_PollingClient_with_op-node branch from ea6a36c to fa3c51f Compare October 3, 2022 15:10
@mslipper mslipper force-pushed the 10-01-op-node_Add_HTTP_wrapper_for_EthSubscribe branch from d0c1219 to ace8b36 Compare October 3, 2022 17:27
@mslipper mslipper force-pushed the 10-01-op-node_Integrate_PollingClient_with_op-node branch from fa3c51f to b12c34b Compare October 3, 2022 17:27
@mslipper mslipper force-pushed the 10-01-op-node_Add_HTTP_wrapper_for_EthSubscribe branch from ace8b36 to 492a1cd Compare October 3, 2022 18:18
@mslipper mslipper force-pushed the 10-01-op-node_Integrate_PollingClient_with_op-node branch 4 times, most recently from 2a0627f to c66be9c Compare October 3, 2022 18:49
Copy link
Contributor

trianglesphere commented Oct 3, 2022

Graphite Merge Job

Current status: ✅ Merged

This pull request was successfully merged as part of a stack.

This comment was auto-generated by Graphite.

Job Reference: djnQcRhFGqf86aZ5mLsM

Base automatically changed from 10-01-op-node_Add_HTTP_wrapper_for_EthSubscribe to develop October 3, 2022 19:48
@mergify
Copy link
Contributor

mergify bot commented Oct 3, 2022

Hey @mslipper! This PR has merge conflicts. Please fix them before continuing review.

@mergify mergify bot added the conflict label Oct 3, 2022
Integrates the HTTP PollingClient with the op-node. To do this, I needed to change the RPC interface to return an `ethereum.Subscription` object rather than a concrete *rpc.ClientSubscription instance. I also introduced a new method to return the correct `client.RPC` implementation based on the user's chosen RPC URL.

Lastly, I added an additional CircleCI job to run all end-to-end tests against an HTTP-based RPC endpoint to prevent issues from arising in the future.
@trianglesphere trianglesphere force-pushed the 10-01-op-node_Integrate_PollingClient_with_op-node branch from c66be9c to fec43a7 Compare October 3, 2022 19:50
@mergify mergify bot removed the conflict label Oct 3, 2022
@trianglesphere trianglesphere merged commit 3ae11e8 into develop Oct 3, 2022
@trianglesphere trianglesphere deleted the 10-01-op-node_Integrate_PollingClient_with_op-node branch October 3, 2022 20:03
mslipper added a commit that referenced this pull request Oct 11, 2022
Integrates the HTTP PollingClient with the op-node. To do this, I needed to change the RPC interface to return an `ethereum.Subscription` object rather than a concrete *rpc.ClientSubscription instance. I also introduced a new method to return the correct `client.RPC` implementation based on the user's chosen RPC URL.

Lastly, I added an additional CircleCI job to run all end-to-end tests against an HTTP-based RPC endpoint to prevent issues from arising in the future.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants