Skip to main content

Questions tagged [gas]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
2 answers
97 views

While executing contracts functions getting out of gas error

I have deployed a wasm smart contract on chain using version polkadot-v0.9.36, after deploying the contract when I tried to execute its function i got error out of gas as shown below. When I tried ...
Shubham Gupta's user avatar
10 votes
2 answers
2k views

Are weights really neccessary?

During block authorship, the execution time of each transaction is measured, rather than weights right? Doesn't that mean as a runtime developer, you only need weights for pricing your extrinsics, but ...
Web3 Philosopher's user avatar
8 votes
1 answer
400 views

How to estimate gas for ink contracts transactions for Weights V2?

For ink contracts with weight v2 it requires refTime and proofSize. For this we are first querying(dry run) the transaction method, getting gasRequired from query result and sending it to transaction. ...
Nikhil Ranjan's user avatar
2 votes
1 answer
93 views

How do set the appropriate refTime and proofSize when create asMulti?

We had a big problem after upgrading weight -> weight v2. I understood that weight v2 uses refTime and proofSize. However, I wonder if there is a way to properly look up these two values. We are ...
hs1228's user avatar
  • 45