UnhandledPromiseRejectionWarning for gas limit #1945
Unanswered
tobyjaguar
asked this question in
Q&A
Replies: 3 comments
-
I need at least a code snippet to go off of. :p |
Beta Was this translation helpful? Give feedback.
0 replies
-
ha, fair! I am actually getting a lot of there Unhandled promise rejections, not sure if they are coming from ethers, but they seem to hit when I am making a transaction. I think the call that is doing it is:
with some errors:
|
Beta Was this translation helpful? Give feedback.
0 replies
-
The error indicates you were exceeding the block gas limit. You need to reduce the gas you are passing along. :) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
ran into this one, and I don't think it is me as this call is wrapped in a try/catch.
UnhandledPromiseRejectionWarning: Error: cannot estimate gas; transaction may fail or may require manual gas limit...
not sure how pesky this is, if it will take down the process as I get this at the end of the trace:
DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
Beta Was this translation helpful? Give feedback.
All reactions