You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am currently experiencing an issue with the estimateGas function when it is used in a context where the user does not have enough Ethereum (ETH) for the gas fee.
Specifically, when there are insufficient funds for the transaction, the estimateGas function crashes. Unfortunately, the error message provided (when using Infura) does not contain any information to clarify if the crash is related to gas constraints or not.
Does anyone have suggestions on how to enhance our error handling for the estimateGas calls, particularly in the context of insufficient ETH for gas fees?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I am currently experiencing an issue with the
estimateGas
function when it is used in a context where the user does not have enough Ethereum (ETH) for the gas fee.Specifically, when there are insufficient funds for the transaction, the
estimateGas
function crashes. Unfortunately, the error message provided (when using Infura) does not contain any information to clarify if the crash is related to gas constraints or not.Does anyone have suggestions on how to enhance our error handling for the estimateGas calls, particularly in the context of insufficient ETH for gas fees?
Beta Was this translation helpful? Give feedback.
All reactions