onflow / flow-go

A fast, secure, and developer-friendly blockchain built to support the next generation of games, apps, and the digital assets that power them.
GNU Affero General Public License v3.0
532 stars 175 forks source link

[Documentation FVM] Computing fees #3946

Open sideninja opened 1 year ago

sideninja commented 1 year ago

It’s unclear how you can compute the fees used in transactions following the docs here: https://developers.flow.com/learn/concepts/variable-transaction-fees#understanding-execution-effort

In the case of using the emulator, it says to note the computationUsed you gonna use it in the next step, but then in the next step there’s no mention about how to use it, the same for the testent case with executionEffort there’s no explanation how you use it in the script mentioned.

Preferably the instructions should be more verbose or better yet give an example on how you can calculate the fees.

github-actions[bot] commented 2 weeks ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.