mirror of https://github.com/vacp2p/wakurtosis.git
Added missing "_" separators into system variables
This commit is contained in:
parent
41d5f67b20
commit
2b52e68873
|
@ -18,7 +18,7 @@ def get_nomos_peer_id(plan, service_name, port_id):
|
|||
|
||||
def create_node_multiaddress(node_id, node_information):
|
||||
ip = node_information[vars.IP_KEY]
|
||||
port = node_information[vars.PORTS_KEY][vars.NOMOS_LIBP2P_PORT_ID + "_" + node_id][0]
|
||||
port = node_information[vars.PORTS_KEY][vars.NOMOS_LIBP2P_PORT_ID + vars.ID_STR_SEPARATOR + node_id][0]
|
||||
nomos_node_id = node_information[vars.PEER_ID_KEY]
|
||||
|
||||
return '"/ip4/' + str(ip) + '/tcp/' + str(port) + '/p2p/' + nomos_node_id + '"'
|
||||
|
|
|
@ -51,7 +51,7 @@ def make_service_wait(plan, service_name, time):
|
|||
|
||||
def get_waku_peers(plan, waku_service_container, node_name):
|
||||
extract = {"peers": '.result | length'}
|
||||
port_name = vars.RPC_PORT_ID +"_" + node_name
|
||||
port_name = vars.RPC_PORT_ID + vars.ID_STR_SEPARATOR + node_name
|
||||
|
||||
response = call_protocols.send_json_rpc(plan, waku_service_container, port_name,
|
||||
vars.GET_PEERS_METHOD, "", extract)
|
||||
|
|
Loading…
Reference in New Issue