Giter Club home page Giter Club logo

Comments (6)

faboweb avatar faboweb commented on August 16, 2024 2

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.

from cosmjs.

webmaster128 avatar webmaster128 commented on August 16, 2024

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?

from cosmjs.

faboweb avatar faboweb commented on August 16, 2024

We use high fixed values for the gas estimate and adjust the gas price to not cause mega high fees.

from cosmjs.

ethanfrey avatar ethanfrey commented on August 16, 2024

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

from cosmjs.

ethanfrey avatar ethanfrey commented on August 16, 2024

This seems a key issue that would lead to better estimates: cosmos/cosmos-sdk#4938

at the very least we should explore if this is actually a feasible approach for 0.38. Being that this is pretty trivial to implement and becoming more of a huge burden for clients, I think we should get this in for 0.38.
(cosmos/cosmos-sdk#4938 (comment))

🀞

Anyone else want to nudge on the issue?

from cosmjs.

webmaster128 avatar webmaster128 commented on August 16, 2024

This is now tracked in #828

from cosmjs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.