Metamask-extension: Gas price always display 0 when doing a transaction with smart contract

Created on 29 Jun 2019  Â·  7Comments  Â·  Source: MetaMask/metamask-extension

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

Most helpful comment

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?

All 7 comments

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

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

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?

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

俺也一样

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

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:
https://github.com/MetaMask/metamask-extension/pull/6786#issuecomment-508225062

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.

Was this page helpful?
0 / 5 - 0 ratings