Skip to content
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

Account tx types in estimateGas #1957

Open
1 task
2dvorak opened this issue Sep 6, 2023 · 1 comment
Open
1 task

Account tx types in estimateGas #1957

2dvorak opened this issue Sep 6, 2023 · 1 comment
Labels
issue/bug Issues with the code-level bugs.

Comments

@2dvorak
Copy link
Collaborator

2dvorak commented Sep 6, 2023

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
@exalate-issue-sync
Copy link

Exalate commented: Issue Created by: 2dvorak

@jiseongnoh jiseongnoh pinned this issue Sep 13, 2023
@jiseongnoh jiseongnoh unpinned this issue Sep 13, 2023
@sjnam sjnam added issue/bug Issues with the code-level bugs. and removed Github labels Sep 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
issue/bug Issues with the code-level bugs.
Projects
None yet
Development

No branches or pull requests

2 participants