A message from our CEO about the future of Stack Overflow and Stack Exchange. Read now.

Questions tagged [gas]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
0answers
23 views

Relative gas cost of map vs bigmap

Does there exist a realistic performance benchmark between map/bigmap? I am looking for a tipping point where it would make more sense to use a big map for gas cost optimization
4
votes
0answers
37 views

Error too big to serialize within the provided gas bounds. Increasing the gas bounds does not help

I am developing a fairly large set of contracts that interact with each other. I wanted to reorganize and optimized the code and I've added lots of PUSH string "..."; FAILWITH to help me debug. I am ...
3
votes
0answers
21 views

Contract : opcodes FAILWITH / FAIL - gas usage

If a contract gets to the point where it fails. What is the process in terms of gas usage? Storage gas (new storage until failure) : reverted Gas usage (used until failure) : reverted Gas fee : paid ...
3
votes
1answer
32 views

Michelson contract files - spaces, new lines and comments

I wanted to check that when a Michelson contract file is created. Do file spaces, new lines and comments increase the gas cost when deployed?
5
votes
1answer
130 views

Gas consumption in a chain of internal transfers

I am trying to perform a chain of contract calls with internal transfers. I think my current contracts are very simple, but I run out of gas after only 4 internal transfers: A script or one of its ...
7
votes
1answer
298 views

What is gas on the Tezos network?

This question is related to the fact that I have no understanding for what reason need to increase the gas limit, what will the increase affect and why it is impossible to leave the limit as it is? I ...
7
votes
2answers
170 views

What is the difference between fee and gaslimit?

With Ethereum, max fee is gas multiplied by the gas price. But with Tezos, when i construct an operation, the fee is personally set, why is it not computed by gas_limit?
5
votes
2answers
249 views

Fees in proto 003?

Fees have been updated from proto 002 to proto 003. Is there a reference document available somewhere that is indicating fee information for tezos proto 003 ?
18
votes
2answers
244 views

How to calculate gas and storage for an operation?

In protocol 003_PsddFKi3, how can the gas and storage usage be calculated without doing a dry-run in a node?
7
votes
1answer
65 views

How do baking node choose the transactions from the mempool

Could someone describe how the full node chooses transactions from the mempool that make it into a block. I suppose there must be some logic that makes a compromise between fees and gas cost but it ...