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

Gas estimation is inconsistent #867

Open
zale144 opened this issue May 1, 2024 · 0 comments
Open

Gas estimation is inconsistent #867

zale144 opened this issue May 1, 2024 · 0 comments

Comments

@zale144
Copy link
Contributor

zale144 commented May 1, 2024

When using the cosmosclient to broadcast transactions, the gas is estimated by first running a simulated broadcast of the same transaction, and then the GasUsed from that transaction response is used as the base for the actual transaction's gas calculation. The gas limit was also in place, but whether it did anything to prevent gas overestimation is inconclusive.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant