File tree Expand file tree Collapse file tree 2 files changed +9
-9
lines changed Expand file tree Collapse file tree 2 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -31,19 +31,19 @@ dependencies = [
3131 " aiohttp>=3.8.3" ,
3232 " aioresponses>=0.7.6" ,
3333 " aleph-message>=1" ,
34- " aleph-superfluid>=0.2.1 " ,
35- " base58==2.1.1" , # Needed now as default with _load_account changement
36- " coincurve; python_version< '3.11'" ,
34+ " aleph-superfluid @ git+https://github.com/aleph-im/superfluid.py@andres-feature-update_dependencies " ,
35+ " base58==2.1.1" , # Needed now as default with _load_account changement
36+ " coincurve; python_version>= '3.11'" ,
3737 " coincurve>=19; python_version>='3.11'" ,
38- " eth-abi>=4 ; python_version>='3.11'" ,
39- " eth-typing==4.3 .1" ,
38+ " eth-abi>=5.0.1 ; python_version>='3.11'" ,
39+ " eth-typing>=5.0 .1" ,
4040 " jwcrypto==1.5.6" ,
4141 " pydantic>=2,<3" ,
4242 " pydantic-settings>=2" ,
43- " pynacl==1.5" , # Needed now as default with _load_account changement
43+ " pynacl==1.5" , # Needed now as default with _load_account changement
4444 " python-magic" ,
4545 " typing-extensions" ,
46- " web3==6.3 " ,
46+ " web3>=7.10 " ,
4747]
4848
4949optional-dependencies.all = [
Original file line number Diff line number Diff line change 1111from eth_keys .exceptions import BadSignature as EthBadSignatureError
1212from superfluid import Web3FlowInfo
1313from web3 import Web3
14- from web3 .middleware import geth_poa_middleware
14+ from web3 .middleware import ExtraDataToPOAMiddleware
1515from web3 .types import TxParams , TxReceipt
1616
1717from aleph .sdk .exceptions import InsufficientFundsError
@@ -104,7 +104,7 @@ def connect_chain(self, chain: Optional[Chain] = None):
104104 self ._provider = Web3 (Web3 .HTTPProvider (self .rpc ))
105105 if chain == Chain .BSC :
106106 self ._provider .middleware_onion .inject (
107- geth_poa_middleware , "geth_poa" , layer = 0
107+ ExtraDataToPOAMiddleware , "geth_poa" , layer = 0
108108 )
109109 else :
110110 self .chain_id = None
You can’t perform that action at this time.
0 commit comments