Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve error message on eth.Contract #2872

Closed
ilanolkies opened this issue Jun 4, 2019 · 1 comment
Closed

Improve error message on eth.Contract #2872

ilanolkies opened this issue Jun 4, 2019 · 1 comment
Labels
2.x 2.0 related issues Enhancement Includes improvements or optimizations Stale Has not received enough activity

Comments

@ilanolkies
Copy link

Description

Instance new web3.eth.Contract with a wrong address, and calling a method throws

insufficuent data for address type (arg="", coderType="address", value="0x00", version=4.0.29)

Expected 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

@nivida nivida added the Enhancement Includes improvements or optimizations label Jun 5, 2019
@nivida nivida added the 2.x 2.0 related issues label Jun 20, 2019
@github-actions
Copy link

github-actions bot commented Jul 3, 2020

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment, otherwise this issue will be closed in 7 days

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2.x 2.0 related issues Enhancement Includes improvements or optimizations Stale Has not received enough activity
Projects
None yet
Development

No branches or pull requests

2 participants