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

Unable to get gas fees on metamask #4597

Closed
ishansathe opened this issue Nov 17, 2023 · 2 comments
Closed

Unable to get gas fees on metamask #4597

ishansathe opened this issue Nov 17, 2023 · 2 comments
Assignees
Labels
status:needs-more-info There's not enough information to start working on this issue

Comments

@ishansathe
Copy link

ishansathe commented Nov 17, 2023

Version of Hardhat

2.18.3

What happened?

Unable to get gas estimates or confirm transaction using metamask

I ran the npx hardhat node command
I connected metamask to the RPC provider of hardhat
While I was able to connect to the network seamlessly before, it gave me errors in between
After switching networks and back, the error went away. So I tried to test it out.
I tried sending the fake ETH to one of the test addresses. However, the gas fees are not shown on metamask. Also, on the terminal where I started the node, it showed me a red marked message 'eth_estimateGas'
Below it was a hint that brought me here

Here are the screenshots
This is me attempting to send the ether
image

This is the message I see on terminal
image

Minimal reproduction steps

Run npx hardhat node
Connect Metamask to your local hardhat node
Then try sending ether from 1 address to another

Search terms

No response

@ishansathe
Copy link
Author

Furthermore, I noticed that even though we cannot calculate the gas fees, It is possible to enter a value more than what is available in the account. For example :
image

And when we click on 'Next'
image

We are forced to reject.
While it is reasonable for that to happen. It is just another bug that I noticed (and is related to the issue I posted earlier)

@fvictorio
Copy link
Member

@ishansathe is it possible that this is a duplicate of #3474?

@fvictorio fvictorio added status:needs-more-info There's not enough information to start working on this issue and removed status:triaging labels Nov 20, 2023
@fvictorio fvictorio closed this as not planned Won't fix, can't repro, duplicate, stale Dec 8, 2023
@github-project-automation github-project-automation bot moved this from Backlog to Done in Hardhat Dec 8, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 9, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
status:needs-more-info There's not enough information to start working on this issue
Projects
Archived in project
Development

No branches or pull requests

3 participants