-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Having "Insufficient funds" in require message causing "insufficient funds for intrinsic transaction cost" unrelated error to be thrown #2489
Comments
Hi, I'm also getting this unusual error! Seems that if the reason string contains |
Any news on this? |
It's possible that this is caused by the latest version(s) of ethers. Anyone running into this: can you try downgrading ethers and trying again? Thanks. |
Hmm, it is caused by ethers but it's not a recent change: Sadly I can't think of a workaround right now. |
This issue was marked as stale because it didn't have any activity in the last 30 days. If you think it's still relevant, please leave a comment indicating so. Otherwise, it will be closed in 7 days. |
I believe this is a problem in ethers, so I submitted an issue there: ethers-io/ethers.js#2954. Closing this one for now. |
Insufficient balance |
I just ran into this myself:
|
Reproduce steps
run (on hardhat network)
and receive
Error: insufficient funds for intrinsic transaction cost
instead of
Insufficient funds
For some reason, if the require message contains "insufficient funds", the "insufficient funds for intrinsic transaction cost" pops.
The text was updated successfully, but these errors were encountered: