ethereum / web3.py

A python interface for interacting with the Ethereum blockchain and ecosystem.
http://web3py.readthedocs.io
MIT License
4.89k stars 1.67k forks source link

Remove filtering by pending blocks #3384

Open kclowes opened 2 months ago

kclowes commented 2 months ago

What feature should we add?

Geth has removed the ability to filter by pending blocks. Reasoning from Geth 1.14.0 release notes here:

We see next to no value in monitoring the logs of a random subset of transactions that might (but probably mostly will not) end up in the next block. Power users who wish to monitor the transaction pool for MEV (or similar) purposes, should hook into Geth directly and extract the exact data they need, rather than rely on insufficient API endpoints.

I think we can fairly safely remove it too. TBD if this needs to go in v7 before breaking changes are wrapped.