From 04c13cb880126a1597f56fe527cd6bd8a1a85a56 Mon Sep 17 00:00:00 2001 From: Simon Warta Date: Wed, 20 Oct 2021 15:14:06 +0200 Subject: [PATCH] Open GRPC port --- HACKING.md | 1 + scripts/simapp/start.sh | 3 +++ scripts/simapp44/start.sh | 3 +++ 3 files changed, 7 insertions(+) diff --git a/HACKING.md b/HACKING.md index ebead73d..3b29adbd 100644 --- a/HACKING.md +++ b/HACKING.md @@ -102,6 +102,7 @@ order to avoid conflicts. Here is an overview of the ports used: | 1319 | wasmd LCD API | Manual Stargate debugging | | 4444 | socketserver | @cosmjs/sockets tests | | 4445 | socketserver slow | @cosmjs/sockets tests | +| 9090 | simapp gRPC | Manual Stargate debugging | | 11133 | Tendermint 0.33 RPC | @cosmjs/tendermint-rpc tests | | 11134 | Tendermint 0.34 RPC | @cosmjs/tendermint-rpc tests | | 26658 | simapp Tendermint RPC | Stargate client tests | diff --git a/scripts/simapp/start.sh b/scripts/simapp/start.sh index 73d2ed02..5c1791cd 100755 --- a/scripts/simapp/start.sh +++ b/scripts/simapp/start.sh @@ -7,6 +7,8 @@ TENDERMINT_PORT_GUEST="26657" TENDERMINT_PORT_HOST="26658" API_PORT_GUEST="1317" API_PORT_HOST="1318" +GRPC_PORT_GUEST="9090" +GRPC_PORT_HOST="9090" SCRIPT_DIR="$(realpath "$(dirname "$0")")" # shellcheck source=./env @@ -25,6 +27,7 @@ docker run --rm \ --name "$CONTAINER_NAME" \ -p "$TENDERMINT_PORT_HOST":"$TENDERMINT_PORT_GUEST" \ -p "$API_PORT_HOST":"$API_PORT_GUEST" \ + -p "$GRPC_PORT_HOST":"$GRPC_PORT_GUEST" \ --mount type=bind,source="$SCRIPT_DIR/template",target=/template \ --mount type=volume,source=simapp_data,target=/root \ "$REPOSITORY:$VERSION" \ diff --git a/scripts/simapp44/start.sh b/scripts/simapp44/start.sh index 73d2ed02..5c1791cd 100755 --- a/scripts/simapp44/start.sh +++ b/scripts/simapp44/start.sh @@ -7,6 +7,8 @@ TENDERMINT_PORT_GUEST="26657" TENDERMINT_PORT_HOST="26658" API_PORT_GUEST="1317" API_PORT_HOST="1318" +GRPC_PORT_GUEST="9090" +GRPC_PORT_HOST="9090" SCRIPT_DIR="$(realpath "$(dirname "$0")")" # shellcheck source=./env @@ -25,6 +27,7 @@ docker run --rm \ --name "$CONTAINER_NAME" \ -p "$TENDERMINT_PORT_HOST":"$TENDERMINT_PORT_GUEST" \ -p "$API_PORT_HOST":"$API_PORT_GUEST" \ + -p "$GRPC_PORT_HOST":"$GRPC_PORT_GUEST" \ --mount type=bind,source="$SCRIPT_DIR/template",target=/template \ --mount type=volume,source=simapp_data,target=/root \ "$REPOSITORY:$VERSION" \