We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d8dfbae commit 555ad7dCopy full SHA for 555ad7d
src/package_io/input_parser.star
@@ -483,6 +483,14 @@ def parse_network_params(input_args):
483
484
total_participant_count += participant["count"]
485
486
+
487
+ if total_participant_count == 1:
488
+ for index, participant in enumerate(result["participants"]):
489
+ # If there is only one participant, we run lodestar as a single node mode
490
+ if participant["cl_type"] == constants.CL_TYPE.lodestar:
491
+ participant["cl_extra_params"].append("--sync.isSingleNode")
492
+ participant["cl_extra_params"].append("--network.allowPublishToZeroPeers")
493
494
if result["network_params"]["network_id"].strip() == "":
495
fail("network_id is empty or spaces it needs to be of non zero length")
496
0 commit comments