fix: allow grpc server enabled even when api off (#14890)

This commit is contained in:
Julien Robert
2023-02-02 20:34:46 +01:00
committed by GitHub
parent 79f51403a9
commit 12394c8b99
4 changed files with 14 additions and 2 deletions
+1 -1
View File
@@ -33,7 +33,7 @@ sed -i 's/127.0.0.1/0.0.0.0/g' /root/.simapp/config/config.toml
# start simd
echo starting simd...
simd start --pruning=nothing --api.enable true &
simd start --pruning=nothing &
pid=$!
echo simd started with PID $pid
+1 -1
View File
@@ -3,7 +3,7 @@ version: "3"
services:
cosmos:
image: rosetta-ci:latest
command: ["simd", "start", "--pruning", "nothing", "--grpc.enable", "true", "--grpc.address", "0.0.0.0:9090", "--grpc-web.enable", "true", "--api.enable", "true"]
command: ["simd", "start", "--pruning", "nothing", "--grpc.enable", "true", "--grpc.address", "0.0.0.0:9090", "--grpc-web.enable", "true"]
ports:
- 9090:9090
- 26657:26657