-
Notifications
You must be signed in to change notification settings - Fork 20.4k
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
ethclient/gethclient: RPC client wrapper for geth-specific API #22977
Conversation
This commit adds the package gethclient which is similar to the ethclient and implements some geth specific functionality. Big shoutout to @fxfactorial and @p4u for implementing the functionality in ethclient which I now ported to gethclient.
6288c63
to
ecdb7f5
Compare
The gethclient package should be moved to the ethclient directory, i.e. import path "github.com/ethereum/go-ethereum/ethclient/gethclient". The reason being that we have enough top-level directories already, don't want to add more unless there is a very good reason for it. |
In general, we should avoid exposing |
nice job! |
This PR adds the
gethclient
package which implements geth specific rpc callsHuge shoutout to @fxfactorial and @p4u for their work that I used here.
TODO:
closes #22299
closes #21143