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

contract.methods.myMethod().test() #2696

Closed
1 task
nivida opened this issue Apr 16, 2019 · 1 comment
Closed
1 task

contract.methods.myMethod().test() #2696

nivida opened this issue Apr 16, 2019 · 1 comment
Labels
2.x 2.0 related issues Feature Request Stale Has not received enough activity

Comments

@nivida
Copy link
Contributor

nivida commented Apr 16, 2019

Description

The idea behind this is to pre-run a contract method without actually sending a request. This will help to detect potential errors already on the client.
This could be partially achieved with https://github.com/armaniferrante/pure-evm or the ethereumjs-vm.

Expected behavior

contract.methods.myMethod('0x0').test()

This call should return true on success or the error of the pre-run.

ToDo:

Versions

  • web3.js: latest
@nivida nivida added the 2.x 2.0 related issues label Jun 20, 2019
@github-actions
Copy link

github-actions bot commented Jul 4, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 7 days if no further activity occurs. Thank you for your contributions

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 Feature Request Stale Has not received enough activity
Projects
None yet
Development

No branches or pull requests

1 participant