Questions tagged [gas]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
4
votes
0answers
30 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
20 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
27 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
106 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 ...
6
votes
1answer
196 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
111 views

what 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
203 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
184 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
58 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 ...