Improve error message on eth.Contract #2872
Labels
2.x
2.0 related issues
Enhancement
Includes improvements or optimizations
Stale
Has not received enough activity
Description
Instance
new web3.eth.Contract
with a wrong address, and calling a method throwsExpected behavior
It should say something about the instance. Perhaps, if a wrong parameter error arrives, it should check the abi interface against the contract code and give a better error message.
Versions
The text was updated successfully, but these errors were encountered: