Skip to content

Commit

Permalink
Turn on storage limiting for mainnet (#751)
Browse files Browse the repository at this point in the history
  • Loading branch information
janezpodhostnik authored May 25, 2021
1 parent fef8381 commit 2d81520
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/scaffold.go
Original file line number Diff line number Diff line change
Expand Up @@ -564,12 +564,12 @@ func (fnb *FlowNodeBuilder) initFvmOptions() {
vmOpts := []fvm.Option{
fvm.WithChain(fnb.RootChainID.Chain()),
fvm.WithBlocks(blockFinder),
fvm.WithAccountStorageLimit(true),
}
if fnb.RootChainID == flow.Testnet {
vmOpts = append(vmOpts,
fvm.WithRestrictedAccountCreation(false),
fvm.WithRestrictedDeployment(false),
fvm.WithAccountStorageLimit(true),
fvm.WithTransactionFeesEnabled(true),
)
}
Expand Down

0 comments on commit 2d81520

Please sign in to comment.