From c451cf273003c883065c7a4ac9f17174caf38357 Mon Sep 17 00:00:00 2001
From: Philip Offtermatt
Date: Mon, 16 Oct 2023 08:52:03 +0200
Subject: [PATCH] Use CometMock address for rpc.laddr
---
e2e-tests/local-testnet-debug.sh | 4 ++--
e2e-tests/local-testnet-singlechain-cometbft.sh | 2 +-
e2e-tests/local-testnet-singlechain.sh | 2 +-
e2e-tests/local-testnet.sh | 4 ++--
4 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/e2e-tests/local-testnet-debug.sh b/e2e-tests/local-testnet-debug.sh
index 060359e..9215d59 100755
--- a/e2e-tests/local-testnet-debug.sh
+++ b/e2e-tests/local-testnet-debug.sh
@@ -188,7 +188,7 @@ do
--home ${PROV_NODE_DIR} \
--transport=grpc --with-tendermint=false \
--p2p.persistent_peers ${PERSISTENT_PEERS} \
- --rpc.laddr tcp://${NODE_IP}:${RPC_LADDR_PORT} \
+ --rpc.laddr ${PROVIDER_COMETMOCK_ADDR} \
--grpc.address ${NODE_IP}:${GRPC_LADDR_PORT} \
--address tcp://${NODE_IP}:${NODE_ADDRESS_PORT} \
--p2p.laddr tcp://${NODE_IP}:${P2P_LADDR_PORT} \
@@ -388,7 +388,7 @@ do
--home ${CONS_NODE_DIR} \
--transport=grpc --with-tendermint=false \
--p2p.persistent_peers ${PERSISTENT_PEERS} \
- --rpc.laddr tcp://${NODE_IP}:${RPC_LADDR_PORT} \
+ --rpc.laddr ${CONSUMER_COMETMOCK_ADDR} \
--grpc.address ${NODE_IP}:${GRPC_LADDR_PORT} \
--address tcp://${NODE_IP}:${NODE_ADDRESS_PORT} \
--p2p.laddr tcp://${NODE_IP}:${P2P_LADDR_PORT} \
diff --git a/e2e-tests/local-testnet-singlechain-cometbft.sh b/e2e-tests/local-testnet-singlechain-cometbft.sh
index 1c3970c..e21d60f 100755
--- a/e2e-tests/local-testnet-singlechain-cometbft.sh
+++ b/e2e-tests/local-testnet-singlechain-cometbft.sh
@@ -192,7 +192,7 @@ do
$BINARY_NAME start \
--home ${PROV_NODE_DIR} \
--p2p.persistent_peers ${PERSISTENT_PEERS} \
- --rpc.laddr tcp://${NODE_IP}:${RPC_LADDR_PORT} \
+ --rpc.laddr ${PROVIDER_COMETMOCK_ADDR} \
--grpc.address ${NODE_IP}:${GRPC_LADDR_PORT} \
--address tcp://${NODE_IP}:${NODE_ADDRESS_PORT} \
--p2p.laddr tcp://${NODE_IP}:${P2P_LADDR_PORT} \
diff --git a/e2e-tests/local-testnet-singlechain.sh b/e2e-tests/local-testnet-singlechain.sh
index a2a6bd3..b3b4b4b 100755
--- a/e2e-tests/local-testnet-singlechain.sh
+++ b/e2e-tests/local-testnet-singlechain.sh
@@ -193,7 +193,7 @@ do
--home ${PROV_NODE_DIR} \
--transport=grpc --with-tendermint=false \
--p2p.persistent_peers ${PERSISTENT_PEERS} \
- --rpc.laddr tcp://${NODE_IP}:${RPC_LADDR_PORT} \
+ --rpc.laddr $PROVIDER_COMETMOCK_ADDR \
--grpc.address ${NODE_IP}:${GRPC_LADDR_PORT} \
--address tcp://${NODE_IP}:${NODE_ADDRESS_PORT} \
--p2p.laddr tcp://${NODE_IP}:${P2P_LADDR_PORT} \
diff --git a/e2e-tests/local-testnet.sh b/e2e-tests/local-testnet.sh
index 57908c2..0632686 100755
--- a/e2e-tests/local-testnet.sh
+++ b/e2e-tests/local-testnet.sh
@@ -187,7 +187,7 @@ do
--home ${PROV_NODE_DIR} \
--transport=grpc --with-tendermint=false \
--p2p.persistent_peers ${PERSISTENT_PEERS} \
- --rpc.laddr tcp://${NODE_IP}:${RPC_LADDR_PORT} \
+ --rpc.laddr ${PROVIDER_COMETMOCK_ADDR} \
--grpc.address ${NODE_IP}:${GRPC_LADDR_PORT} \
--address tcp://${NODE_IP}:${NODE_ADDRESS_PORT} \
--p2p.laddr tcp://${NODE_IP}:${P2P_LADDR_PORT} \
@@ -384,7 +384,7 @@ do
--home ${CONS_NODE_DIR} \
--transport=grpc --with-tendermint=false \
--p2p.persistent_peers ${PERSISTENT_PEERS} \
- --rpc.laddr tcp://${NODE_IP}:${RPC_LADDR_PORT} \
+ --rpc.laddr ${CONSUMER_COMETMOCK_ADDR} \
--grpc.address ${NODE_IP}:${GRPC_LADDR_PORT} \
--address tcp://${NODE_IP}:${NODE_ADDRESS_PORT} \
--p2p.laddr tcp://${NODE_IP}:${P2P_LADDR_PORT} \