-
Notifications
You must be signed in to change notification settings - Fork 5k
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
Default gas set too low on chrome extension #8261
Comments
Our single source for gas price is ethgasstation which we save into local storage for about a minute before querying again. Could this be one of those times that the prices changed in that window and one client gets a different gas price? Can anyone else repro this reliably? |
@tmashuang I saw in the code that there is a constant for default gas (1 gwei), I guess it can be checked to see what situations this will happen. And ETH gas station integration seems to be working fine for me as I see the slow, average, fast with the graph fine. |
Your situation seems unrelated since OP states that this is more about discrepancies in client gas price. Edit: You mentioned seeing 1 gwei gas, but are you the number input like in OP screenshots? Or the Gas Tabs? Where precisely is the gas price showing up as 1 gwei? |
Actually @dpazdan raised this as a result of a chat we had about the issue i'm referring to. My localstorage doesn't contain Getting a confirmation dialog doesn't do any network calls for me, but clicking "edit" beside fee gives me one for Yes the same number input as the screenshot above. Here's my screenshot that demonstrates the problem. At this point in time, the low and average were at least 3 gwei. They were displayed as such when you go to "Edit" of fee so it wouldn't seem like ethgasstation was the issue. |
This is probably correct for the graph, not for the gas price. Can you navigate to the |
@tmashuang yes no problems in accessing the gasAPI url. |
At look into your logs and the screen capture you posted shows this is happening on external transactions, transaction made by a dapp. We do not use the ethgasstation api on these transactions, rather we use common gas prices in recent block data to present the gas price.
The block data, at the time, shows that 1gwei was a sufficient price for transactions to complete in this code context, so 1gwei was presented. |
I suspect this is fixed by #8575 |
I'll close this now, since it was likely fixed by #8575 |
Describe the bug
MetaMask extension on Chrome browser suggests default gwei that is lower than on Brave of Firefox for the same transaction, swap, etc. at the same time (same block).
To Reproduce (REQUIRED)
On Brave:
On Chrome:
Expected behavior
Gas should be estimated the same across browsers, and it should default to the higher option that Firefox and Brave is getting.
Browser details (please complete the following information):
The text was updated successfully, but these errors were encountered: