delvtech / pypechain

Static Python bindings for Ethereum smart contracts.
Apache License 2.0
9 stars 2 forks source link

Fix function overloading in pypechain to adhere to function overloading in web3py v7.6.0 #150

Open slundqui opened 13 hours ago

slundqui commented 13 hours ago

Function overloading is broken with update v7.6.0 in web3py, due to abi validation when calling contract function factories without arguments. We likely can fix when the option to turn off abi validation gets implemented.

v7.6.0 does fix https://github.com/delvtech/pypechain/issues/149 in the case where there are no event overloading (which pypechain currently doesn't support).

slundqui commented 12 hours ago

We can sidestep once this gets implemented: https://github.com/ethereum/web3.py/issues/3536