Skip to content

Commit

Permalink
Merge pull request #457 from m-Peter/add-comment-for-transaction-fees
Browse files Browse the repository at this point in the history
  • Loading branch information
turbolent authored Aug 1, 2023
2 parents 74bc558 + 8cecf3d commit d770012
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions emulator/blockchain.go
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down

0 comments on commit d770012

Please sign in to comment.