-
Notifications
You must be signed in to change notification settings - Fork 344
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
Use rest server simulation query to estimate gas #56
Comments
From my experience, the gas simulation doesn't work and usually needs a high factor to not cause some txs to run out of gas. |
Thank you for sharing. What's Lunie's strategy to set gas values? |
We use high fixed values for the gas estimate and adjust the gas price to not cause mega high fees. |
Thanks for chiming in @faboweb This is indeed the experience with many other apps. Simulate doesn't really simulate it all too well :( I made this comment, hoping to improve the case for launchpad cosmos/cosmos-sdk#6522 (comment) but it looks like it was tentatively rejected cosmos/cosmos-sdk#6522 (comment) That said, they did decide to make launchpad 0.39, so maybe there is the chance to get the improved simulation estimate inside the launchpad release so it makes sense |
This seems a key issue that would lead to better estimates: cosmos/cosmos-sdk#4938
🤞 Anyone else want to nudge on the issue? |
This is now tracked in #828 |
There is some way for a query to do a dry run and return expected gas needed. This is used by the wasmdcli
Not high priority but it would be a nice feature
The text was updated successfully, but these errors were encountered: