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
For fee delegated tx, user signs the tx including the gas limit. If the user has no balance, the user cannot properly estimate required gas, because the estimateGas API would return error (i.e., "insufficient funds .."). So the user has to arbitrarily pick a number for gas limit, or call estimateGas using another account with enough balance as from.
We should consider such cases (i.e., other types of tx) in estimateGas.
Allow zero-balance account to estimate gas for fee delegated tx
The text was updated successfully, but these errors were encountered:
For fee delegated tx, user signs the tx including the gas limit. If the user has no balance, the user cannot properly estimate required gas, because the
estimateGas
API would return error (i.e., "insufficient funds .."). So the user has to arbitrarily pick a number for gas limit, or callestimateGas
using another account with enough balance asfrom
.We should consider such cases (i.e., other types of tx) in
estimateGas
.The text was updated successfully, but these errors were encountered: