Skip to content
This repository was archived by the owner on Jan 24, 2022. It is now read-only.

Conversation

@spalladino
Copy link
Contributor

Calls to estimateGas on geth fail if a gas parameter is provided which is lower than the required gas to execute the tx (but higher than the minimum of 21k). See ethereum/go-ethereum#18973 for more info. Removing the gas parameter fixes this issue, and works on geth, parity, and ganache. Note that using a very low or very high gas value also works on geth and parity, but not on ganache.

Copy link
Contributor

@facuspagnuolo facuspagnuolo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@facuspagnuolo facuspagnuolo merged commit 84ea1a4 into master Jan 31, 2019
@facuspagnuolo facuspagnuolo deleted the fix/estimate-gas branch January 31, 2019 14:58
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants