What's changed
- Introduced new transaction fee calculation. This doesn't change the transaction fees yet, it just prepares the appropriate framework to make the change later.
Full Changelog: lib/go/templates/v0.10.1...lib/go/templates/v0.11.0
⚠️ Breaking change
Fee deduction no longer emits a FlowFees.TokensDeposited
, but instead emits a FlowFees.FeesDeducted
. FlowFees.FeesDeducted
contains inclusionEffort and executionEffort info in addition to the final fee value.
The FlowToken.TokensDeposited
event for the FlowFees contract address has no change, and is still emitted.
This breaking change will come into effect after a spork switches the fee deduction from FlowServiceAccount.deductTransactionFee
to FlowFees.deductTransactionFee
.