File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ DOCKER_REGISTRY := us-west1-docker.pkg.dev/dl-flow-benchnet-automation/benchnet
44# default values that callers can override when calling target
55ACCESS = 1
66COLLECTION = 1
7- VALID_COLLECTION := $(shell test $(COLLECTION ) -ge 1 ; echo $$? )
7+ VALID_COLLECTION := $(shell test $(COLLECTION ) -ge 2 ; echo $$? )
88CONSENSUS = 1
99EXECUTION = 2
1010VALID_EXECUTION := $(shell test $(EXECUTION ) -ge 2; echo $$? )
@@ -14,6 +14,8 @@ validate:
1414ifeq ($(strip $(VALID_EXECUTION ) ) , 1)
1515 # multiple execution nodes are required to prevent seals being generated in case of execution forking.
1616 $(error Number of Execution nodes should be no less than 2)
17+ ifeq ($(strip $(VALID_COLLECTION ) ) , 1)
18+ $(error Number of Collection nodes should be no less than 2)
1719else ifeq ($(strip $(NETWORK_ID)),)
1820 $(error NETWORK_ID cannot be empty)
1921else ifeq ($(strip $(NAMESPACE)),)
You can’t perform that action at this time.
0 commit comments