Comments (6)
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.
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.
We use high fixed values for the gas estimate and adjust the gas price to not cause mega high fees.
from cosmjs.
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.
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.
This is now tracked in #828
from cosmjs.
Related Issues (20)
- e2e cypress tests
- Upgrade to yarn 4 and drop Node.js 16 HOT 4
- Introduction of omitDefault in Cosmjs/Amino 0.31.2 breaks signing with undefined memo field HOT 3
- Rapidly sending multiple requests to the faucet can obtain multiple test coins HOT 3
- Remove unnecessary status call from connect method HOT 3
- cosmjs for mobile using expo HOT 2
- Failed to execute message; message index: 0: Invalid Sender: execute wasm contract failed
- rawLog is deprecated HOT 2
- Can cosmjs be used to send ics20 tokens for IBC swaps to Osmosis ?
- Allow simulation of messages without private key access
- Uncaught (in promise) Error: Broadcasting transaction failed with code 18 (codespace: sdk). Log: must contain at least one message: invalid request HOT 4
- @cosmjs/encoding/build/utf8.d.ts:1:1 - error TS1490: File appears to be binary. HOT 3
- SyntaxError: Unexpected token '.' while deploying faucet service
- How to vote with cosmosjs HOT 1
- I canβt write a script for the evm-cosmos network (for example Evmos) HOT 1
- Broadcasting transaction failed with code 7 HOT 3
- Failed to get block time HOT 2
- feature request: add support for comparsion operator to SearchPair
- DirectSecp256k1HdWallet.fromMnemonic error HOT 1
- React Native Expo build error
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cosmjs.