Skip to content

Commit

Permalink
enable depencdency check for testnet
Browse files Browse the repository at this point in the history
  • Loading branch information
janezpodhostnik committed May 14, 2024
1 parent c999af0 commit e149129
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions cmd/scaffold.go
Original file line number Diff line number Diff line change
Expand Up @@ -1547,6 +1547,13 @@ func (fnb *FlowNodeBuilder) initFvmOptions() {
fvm.WithContractDeploymentRestricted(false),
)
}
// temporarily enable dependency check for testnet
if fnb.RootChainID == flow.Testnet {
vmOpts = append(vmOpts,
fvm.WithDependencyCheckEnabled(true),
)
}

fnb.FvmOptions = vmOpts
}

Expand Down

0 comments on commit e149129

Please sign in to comment.