Skip to content
This repository has been archived by the owner on Sep 14, 2023. It is now read-only.

chore: constants & RPC factory cleanup #124

Merged
merged 6 commits into from
Jun 19, 2022
Merged

Conversation

harrysolovay
Copy link
Contributor

@harrysolovay harrysolovay commented Jun 19, 2022

This PR introduces 3 main changes:

  • Moving chain-specific info and codegen-ed assets into known dir
  • Refactoring RPC such that provider-specific errors can be handled narrowly
  • An rpcClient factory, which wraps both the WebSocket and RPC providers

@harrysolovay harrysolovay marked this pull request as ready for review June 19, 2022 17:28
@harrysolovay harrysolovay merged commit eb1678d into main Jun 19, 2022
@harrysolovay harrysolovay deleted the constants-cleanup branch June 19, 2022 17:34
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant