From 597f79424cc42b92d6a0061f16338472ff8ab6cd Mon Sep 17 00:00:00 2001 From: wanwiset25 Date: Fri, 15 Dec 2023 17:14:33 +0400 Subject: [PATCH] fix index --- subnet/deployment-generator/script/gen_compose.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/subnet/deployment-generator/script/gen_compose.js b/subnet/deployment-generator/script/gen_compose.js index c64c32b..1b0046d 100644 --- a/subnet/deployment-generator/script/gen_compose.js +++ b/subnet/deployment-generator/script/gen_compose.js @@ -20,9 +20,9 @@ function genSubnetNodes(machine_id, num, start_num=1) { volume='./xdcchain'+i.toString()+':/work/xdcchain' var config_path='${SUBNET_CONFIG_PATH}/subnet'+i.toString()+'.env' compose_profile='machine'+machine_id.toString() - port = 20303+i-1 - rpcport = 8545+i-1 - wsport= 9555+i-1 + port = 20302+i + rpcport = 8544+i + wsport= 9554+i subnet_nodes[node_name] = { 'image': `xinfinorg/xdcsubnets:${config.version.subnet}`, 'volumes': [volume, '${SUBNET_CONFIG_PATH}/genesis.json:/work/genesis.json'],