-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: simplify
EthRpcClient
(#278)
Follow-up on #275 to simplify `EthRpcClient`: 1. simplify instantiation by removing intermediate methods between `CandidRpcClient::new` (the caller) and `EthRpcClient::new` 2. Change the field `EthRpcClient::providers` to be non-optional, since any instantiation of the client checks that the given providers are not empty. 3. Remove the trait `RpcTransport` and the dependency on `async-trait`, since a single implementation was used --------- Co-authored-by: rvanasa <ryan.vandersmith@dfinity.org>
- Loading branch information
1 parent
48b8f3d
commit 557cd56
Showing
8 changed files
with
163 additions
and
261 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.