File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -4,8 +4,8 @@ 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 2 ; echo $$? )
8- CONSENSUS = 1
7+ VALID_COLLECTION := $(shell test $(COLLECTION ) -ge 6 ; echo $$? )
8+ VALID_CONSENSUS := $( shell test $( CONSENSUS ) -ge 2; echo $$? )
99EXECUTION = 2
1010VALID_EXECUTION := $(shell test $(EXECUTION ) -ge 2; echo $$? )
1111VERIFICATION = 1
@@ -14,8 +14,10 @@ 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+ else ifeq ($(strip $(VALID_CONSENSUS)), 1)
18+ $(error Number of Consensus nodes should be no less than 2)
1719else ifeq ($(strip $(VALID_COLLECTION)), 1)
18- $(error Number of Collection nodes should be no less than 2 )
20+ $(error Number of Collection nodes should be no less than 6 )
1921else ifeq ($(strip $(NETWORK_ID)),)
2022 $(error NETWORK_ID cannot be empty)
2123else ifeq ($(strip $(NAMESPACE)),)
You can’t perform that action at this time.
0 commit comments