From 5a1b5a9a574e3e61a997d98e4e826abb41bbf661 Mon Sep 17 00:00:00 2001 From: Pavel Zbitskiy Date: Thu, 2 Mar 2023 15:15:42 -0500 Subject: [PATCH 1/2] deploy templates: increase default npn number for mmnet-model --- .../generate-recipe/generate_network_tpl.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/testdata/deployednettemplates/generate-recipe/generate_network_tpl.py b/test/testdata/deployednettemplates/generate-recipe/generate_network_tpl.py index 74083f35bd..98853a92f5 100644 --- a/test/testdata/deployednettemplates/generate-recipe/generate_network_tpl.py +++ b/test/testdata/deployednettemplates/generate-recipe/generate_network_tpl.py @@ -18,7 +18,7 @@ import math DEFAULT_NUM_N = 5 -DEFAULT_NUM_NPN = 5 +DEFAULT_NUM_NPN = 10 DEFAULT_REGION = 'us-west-1' def main(): From 84c55517ad5c21d023a73a965c20ce07f051bcd5 Mon Sep 17 00:00:00 2001 From: Pavel Zbitskiy Date: Thu, 2 Mar 2023 15:34:23 -0500 Subject: [PATCH 2/2] set wallets to num part nodes --- .../generate-recipe/generate_network_tpl.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/testdata/deployednettemplates/generate-recipe/generate_network_tpl.py b/test/testdata/deployednettemplates/generate-recipe/generate_network_tpl.py index 98853a92f5..bbb6cbb1fc 100644 --- a/test/testdata/deployednettemplates/generate-recipe/generate_network_tpl.py +++ b/test/testdata/deployednettemplates/generate-recipe/generate_network_tpl.py @@ -176,7 +176,8 @@ def gen_network_tpl_from_rules_v2(path): network = { 'relays': num_relays, 'nodes': num_n, - 'npn': num_npn + 'npn': num_npn, + 'wallets': num_n, } instances = {