Skip to content
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

AsyncIPCProvider Cleanup #3244

Closed
kclowes opened this issue Feb 22, 2024 · 0 comments
Closed

AsyncIPCProvider Cleanup #3244

kclowes opened this issue Feb 22, 2024 · 0 comments

Comments

@kclowes
Copy link
Collaborator

kclowes commented Feb 22, 2024

I may decide to split these out into separate issues but wanted to get these written down before I forgot.

  • I don't think kwarg passing is working correctly
  • Better error message when someone tries to instantiate with sync IPCProvider style:
>>> w3 = AsyncWeb3(AsyncIPCProvider('path/to/ipc'))
>>> w3.is_connected()
ProviderConnectionError: Problem connecting to provider with error: <class 'web3.exceptions.ProviderConnectionError'>: Connection to ipc socket has not been initiated for the provider.
  • This pattern doesn't work in IPC-land yet:
async for w3 in AsyncWeb3.persistent_websocket(
    AsyncIPCProvider('/tmp/geth.ipc')
):
...
@pacrob pacrob closed this as completed May 20, 2024
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

No branches or pull requests

2 participants