File tree 1 file changed +2
-6
lines changed
1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -1536,6 +1536,8 @@ func (fnb *FlowNodeBuilder) initFvmOptions() {
1536
1536
fvm .WithChain (fnb .RootChainID .Chain ()),
1537
1537
fvm .WithBlocks (blockFinder ),
1538
1538
fvm .WithAccountStorageLimit (true ),
1539
+ // temporarily enable dependency check for all networks
1540
+ fvm .WithDependencyCheckEnabled (true ),
1539
1541
}
1540
1542
if fnb .RootChainID == flow .Testnet || fnb .RootChainID == flow .Sandboxnet || fnb .RootChainID == flow .Mainnet {
1541
1543
vmOpts = append (vmOpts ,
@@ -1547,12 +1549,6 @@ func (fnb *FlowNodeBuilder) initFvmOptions() {
1547
1549
fvm .WithContractDeploymentRestricted (false ),
1548
1550
)
1549
1551
}
1550
- // temporarily enable dependency check for testnet
1551
- if fnb .RootChainID == flow .Testnet {
1552
- vmOpts = append (vmOpts ,
1553
- fvm .WithDependencyCheckEnabled (true ),
1554
- )
1555
- }
1556
1552
1557
1553
fnb .FvmOptions = vmOpts
1558
1554
}
You can’t perform that action at this time.
0 commit comments