Open anton-trunov opened 4 months ago
By gas you mean specifically computation fees, like in TON Docs here and there?
One thing we may try to do, is calculate how much gas each function in standard library costs (except for purely compile-time ones) and outline it right in their descriptions. Maybe we could do the same with the statements as well, although it might back us into a corner with the inability to temporarily increase gas usage of some of them in Tact 2.0, hmm
By gas you mean specifically computation fees
We need to have an example-based explanation how to design your gas strategy. Of course, we cannot have a universally applicable comprehensive explanation in the docs, but one or two concrete examples should convey the idea. For instance, how to avoid contract balance drainage, how to account for storage fees and so on.
This is a highly non-trivial topic for TON blockchain