flashbots / web3-flashbots

Web3.py plugin for using Flashbots' bundle APIs
https://pypi.org/project/flashbots/
MIT License
405 stars 213 forks source link

Update package to use web3.py >=6.0.0, <7 #87

Closed vile closed 3 months ago

vile commented 8 months ago

This PR aims to support web3.py versions >=6.0.0, <7.

According to the web3.py v6 migration guide, only a few breaking changes apply to this project:

Outside of the v6 migration guide, there is one other breaking change:

This PR does not add async methods (see: Web3 class split into Web3 and AsyncWeb3).

In addition to the above changes, Poetry packages were locked using the latest web3.py version (6.15.1) and the .vscode/settings.json file was changed to properly format using Black on-save. /example/simple.py has also been updated to use web3.py >=6.0.0.

odysseus0 commented 3 months ago

LFG. Rebase working clean af. v6 is here.

zeroXbrock commented 3 months ago

thanks @vile! Nicely done