Skip to content

Commit

Permalink
restrict fees to mainnet testnet and canary
Browse files Browse the repository at this point in the history
  • Loading branch information
janezpodhostnik committed Sep 29, 2021
1 parent 49ae7de commit db05d67
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion cmd/scaffold.go
Original file line number Diff line number Diff line change
Expand Up @@ -671,7 +671,9 @@ func (fnb *FlowNodeBuilder) initFvmOptions() {
fvm.WithChain(fnb.RootChainID.Chain()),
fvm.WithBlocks(blockFinder),
fvm.WithAccountStorageLimit(true),
fvm.WithTransactionFeesEnabled(true),
}
if fnb.RootChainID == flow.Testnet || fnb.RootChainID == flow.Canary || fnb.RootChainID == flow.Mainnet {
fvm.WithTransactionFeesEnabled(true)
}
if fnb.RootChainID == flow.Testnet || fnb.RootChainID == flow.Canary {
vmOpts = append(vmOpts,
Expand Down

0 comments on commit db05d67

Please sign in to comment.