From 8cecf3d1922e523e073d7051d71615524f616c3d Mon Sep 17 00:00:00 2001 From: Ardit Marku Date: Tue, 1 Aug 2023 21:39:23 +0300 Subject: [PATCH] Bring back comment for variable transaction fees --- emulator/blockchain.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/emulator/blockchain.go b/emulator/blockchain.go index 9bf63019..231b9e0c 100644 --- a/emulator/blockchain.go +++ b/emulator/blockchain.go @@ -715,6 +715,9 @@ func configureBootstrapProcedure(conf config, flowAccountKey flowgo.AccountPubli options = append(options, fvm.WithInitialTokenSupply(supply), fvm.WithRestrictedAccountCreationEnabled(false), + // This enables variable transaction fees AND execution effort metering + // as described in Variable Transaction Fees: + // Execution Effort FLIP: https://github.com/onflow/flow/pull/753) fvm.WithTransactionFee(fvm.DefaultTransactionFees), fvm.WithExecutionMemoryLimit(math.MaxUint32), fvm.WithExecutionMemoryWeights(meter.DefaultMemoryWeights),