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

Want to use infura websocket filter to search for new blocks #54

Open
ankitchiplunkar opened this issue Aug 30, 2018 · 2 comments
Open
Projects

Comments

@ankitchiplunkar
Copy link
Contributor

Is your feature request related to a problem? Please describe.
Since the new_block_filter is not enabled in general Infura API we need to rely on websocket API to use this filter. Unfortunately this is not working with the web3.py websocket or Infura has an issue on their end.

  1. websocket provider not working ethereum/web3.py#1009
  2. Websocket for Rinkeby up, Ropsten/MainNet down (+ status.infura.io) INFURA/infura#134 (comment)

Describe the solution you'd like
Once the issue gets resolved:

  1. We should provide the method to follow the ethereum chain using infura node as well
  2. Use a websocket with the Parity node as well to get the blocks

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
The current master implementation does not provide this option for the Ingura node.

@voith
Copy link

voith commented Aug 30, 2018

@ankitchiplunkar I reached this issue through ethereum/web3.py#1009.

Unfortunately this is not working with the web3.py websocket or Infura has an issue on their end.

Can you test it again? I just tested this a few hours back. Infura has fixed this on their end. WebsocketProvider in web3.py should work without any changes.

If you're still facing issues, then please report them on the web3.py issue.

@ankitchiplunkar
Copy link
Contributor Author

@voith checked this on my end as well works fine. Thanks for reaching out :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Ether_sql
  
To do
Development

No branches or pull requests

2 participants