From e149129a8e0fd4f465bf8dd20ab5cada0eaac2c6 Mon Sep 17 00:00:00 2001 From: Janez Podhostnik Date: Tue, 14 May 2024 14:52:39 +0200 Subject: [PATCH] enable depencdency check for testnet --- cmd/scaffold.go | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/cmd/scaffold.go b/cmd/scaffold.go index 4e0e498f3cb..018605b811e 100644 --- a/cmd/scaffold.go +++ b/cmd/scaffold.go @@ -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 }