-
Notifications
You must be signed in to change notification settings - Fork 1.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
populateTransaction()
of hardhat-ethers
not effective
#5514
Comments
Hi @txhsl, thanks for reaching out. I tried to reproduce the issue but I did not manage to (I am not using your privnet, so the environment is not exactly the same). Could you tell me which version of @nomicfoundation/hardhat-ethers you are running? Most likely, this problem has already been fixed in the latest release. Could you try to reproduce using the latest release and see if it is still happening? Thanks. |
@ChristopherDedominici Thanks for your feedback! I just imported through
I may have updated the dependencies, so I'm trying to reproduce the issue again if it is still there. |
Yes, it is still there. Only the
And the transaction is still underpriced.
|
Hi @txhsl , thanks for the quick response. I'll take a look and come back to you asap |
We think our next step is to investigate whether we are diverging from ethers in our implementation of |
Version of Hardhat
2.22.3
What happened?
When I'm using
const hre = require("hardhat");
to send a transfer transaction on my privnet, the transaction didn't get populated throughpopulateTransaction
, and hit anunderpriced
error due to incorrect price settings.Minimal reproduction steps
ethers v6.13.1
withconst ethers = require("ethers");
, I run the following codes.I get the following output, the transaction succeeds.
hardhat v2.22.3
withconst hre = require("hardhat");
, I run the following codes.I get the following output, the RPC request fails.
The
baseFee
of my privet is a fixed number30 Gwei
.Search terms
ethers, populateTransaction, underpriced
The text was updated successfully, but these errors were encountered: