web3-flashbots icon indicating copy to clipboard operation
web3-flashbots copied to clipboard

flashbots 1.1.1 requires web3<6,>=5.22.0, but you have web3 6.13.0 which is incompatible

Open francestu96 opened this issue 2 years ago • 2 comments

I'm using the last stable version of web3 (v6.13.0) but flashbots is incompatible with it and I receive the error: (AttributeError("'Flashbots' object has no attribute 'web3'"))

While installing flashbots it with pip I receive the error: ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. flashbots 1.1.1 requires web3<6,>=5.22.0, but you have web3 6.13.0 which is incompatible.

francestu96 avatar Dec 21 '23 16:12 francestu96

go into flashbots.py, and modify all "self.web3" to "self.w3"

UselessXiaoYao avatar Jan 11 '24 08:01 UselessXiaoYao

I just want to bump this as official web3 v6+ support would be INCREDIBLY helpful for those who appreciate less janky solutions. Thanks a ton

godofbeans avatar Jan 27 '24 14:01 godofbeans

Gonna push all the changes to support v6 early next week. Thank you guys for the patience.

odysseus0 avatar Jul 20 '24 19:07 odysseus0

Gonna push all the changes to support v6 early next week. Thank you guys for the patience.

Thanks so much, v6 support will be really helpful!

mapping77 avatar Jul 22 '24 17:07 mapping77

https://github.com/flashbots/web3-flashbots/pull/87#issuecomment-2245800543

odysseus0 avatar Jul 23 '24 17:07 odysseus0