This bounty is no longer available
Web3 DAO | Optimism Logo

op-service: RPC client cleanup

Organization

Optimism

Deadline

N/A

Status

ENDED


INSTRUCTIONS

  • [ ] extend RPC transport options
    • We could support:
      • websocket RPC, like geth
      • IPC RPC, like geth
      • attaching in-process: this can make tests faster, by not depending on http requests/servers.
  • [ ] move op-node client package and base sources utils into op-service
    • [ ] op-node/client contains generic RPC client utils/wrappers that should be available to all services. Move all package contents.
    • [ ] op-node/sources contains EthClient and RPC batching/types utils that should be part of the op-service client package instead.
    • [ ] op-node/testutils contains mock bindings for the RPC interfaces, move this over too.