You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For future gas usage optimization, it needs to be measured first.
In @ton/test-utils there is totalFees parameter of transaction structure. I believe we could rely on this value for measuring gas usage. Or maybe some research is needed here to find out how to count it.
I suggest add to tests gas usage variable with predefined measured value. And substract totalFees from it (or anything else more correct if we find it)
After that issue we could start to somehow optimize gas usage.
The text was updated successfully, but these errors were encountered:
For future gas usage optimization, it needs to be measured first.
In
@ton/test-utils
there istotalFees
parameter of transaction structure. I believe we could rely on this value for measuring gas usage. Or maybe some research is needed here to find out how to count it.I suggest add to tests gas usage variable with predefined measured value. And substract
totalFees
from it (or anything else more correct if we find it)After that issue we could start to somehow optimize gas usage.
The text was updated successfully, but these errors were encountered: