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

Add block_identifier to Contract.estimateGas #1591

Closed
wants to merge 4 commits into from

Conversation

realjohnward
Copy link
Contributor

What was wrong?

There was no block_identifier parameter in the web3.Contract object's estimateGas method.
Related to Issue #1588

How was it fixed?

Added the parameter to the method itself and the call to the web3.eth.estimateGas method at the end of the function.

Todo:

Cute Animal Picture

Put a link to a cute animal picture inside the parenthesis-->

@kclowes
Copy link
Collaborator

kclowes commented Mar 2, 2020

Thank you! Do you mind adding some tests and adding block_identifier to the estimateGas docs?

@realjohnward
Copy link
Contributor Author

I created docs and working on tests but am closing this PR so I can reopen a PR w/ a non-master branch

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants