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

Gas price always display 0 when doing a transaction with smart contract #6772

Closed
FtkGuy opened this issue Jun 29, 2019 · 7 comments
Closed

Comments

@FtkGuy
Copy link

FtkGuy commented Jun 29, 2019

Using windows 7, chrome Version 74.0.3729.169 (Official Build) (64-bit) , Metamask version 6.7.1
Steps :
Interact with a smart contract to initiate a transaction, the gas price is not set and everything 0, there is no way to submit the transaction except by magically guessing how much gas and price are necessary in the advanced tab (see screenshot attached)
metamask-bug

@elliotolds
Copy link

elliotolds commented Jun 30, 2019

I've been experiencing the same issue over the last few days. I'm running Linux Mint 18, Chrome version 74.0.3729.131 (Official Build) (64-bit). Metamask version 6.7.1.

I also verified this on a different Linux Mint 18 laptop running Chrome 75.0.3770.100 (Official Build) (64-bit). Also Metamask 6.7.1.

This doesn't occur when using Firefox 67.0.4 (64-bit) (also with Metamask 6.7.1).

I've seen this on Kovan, Rinkeby, and Mainnet.

When going to the 'advanced' gas tab, I see Metamask estimating a gas price but the gas limit is blank. See screenshot. My coworker and I have also seen Metamask wildly overestimate the gas limit intermittently over the past several days, for instance estimating a 7.5 million gas limit when I'm calling a function that takes at most 50,000 gas. (And when I actually send the transaction, it does end up taking less than 50,000 gas).

Metamask will have a blank gas limit about 80% of the time. The other 20% Metamask is able to somehow figure out a gas limit.

image

@superduck35
Copy link

superduck35 commented Jul 1, 2019

Experiencing the same issue with MM 6.7.1 on Firefox,Chrome and Brave.

@danfinlay
Copy link
Contributor

Thanks for the reports, we've been investigating this, and we were unable to reproduce the issue once we tested on our latest develop build.

This build includes an improvement to how we validate and normalize transaction parameters, and it seems it may have fixed this issue.

Could someone experiencing this problem please try downloading one of our automated builds of this new release candidate, and see if you still experience the issue?

@382303784
Copy link

Using windows 7, chrome Version 74.0.3729.169 (Official Build) (64-bit) , Metamask version 6.7.1
Steps :
Interact with a smart contract to initiate a transaction, the gas price is not set and everything 0, there is no way to submit the transaction except by magically guessing how much gas and price are necessary in the advanced tab (see screenshot attached)
metamask-bug

俺也一样

@thelostone-mc
Copy link

From the Gitcoin team here !
same issue here
Gas price is set to 0 cause transactions to fail

metamask : 6.7.1
Network : rinkeby
OS : mac
browser : brave / chrome

Will leave an update after trying out with 6.7.2

@danfinlay
Copy link
Contributor

We have a new build that we're more confident fixes this issue, we'll be deploying it soon, anyone who'd like to check if they can repeat the issue can try it here:
#6786 (comment)

@danfinlay
Copy link
Contributor

Should be fixed in 6.7.2, which is rolling out via auto-update to all Chrome and Firefox users now. Let us know if you still experience the issue after version 6.7.2.

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

No branches or pull requests

6 participants