From 3ac81b7085f37de45f04f16dc14d1337a172f284 Mon Sep 17 00:00:00 2001 From: bizk Date: Wed, 10 Jan 2024 14:40:29 -0300 Subject: [PATCH] debug --- Makefile | 2 +- scripts/simapp-start-node.sh | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 274dbe5..62f6a13 100644 --- a/Makefile +++ b/Makefile @@ -15,7 +15,7 @@ test: go test -mod=readonly -timeout 30m -coverprofile=coverage.out -covermode=atomic ./... test-rosetta-ci: - sh ./scripts/simapp-start-node.sh & + sh ./scripts/simapp-start-node.sh sleep 120 make build && make plugin ./rosetta --blockchain "cosmos" --network "cosmos" --tendermint "tcp://localhost:26657" --addr "localhost:8080" --grpc "localhost:9090" & diff --git a/scripts/simapp-start-node.sh b/scripts/simapp-start-node.sh index 30a706a..6205f97 100644 --- a/scripts/simapp-start-node.sh +++ b/scripts/simapp-start-node.sh @@ -5,7 +5,6 @@ make build export SIMD_BIN=./build/simd make init-simapp --dry-run $SIMD_BIN start -until curl --output /dev/null --silent --head --fail http://localhost:26657/health; do - echo "trying" +until curl --silent --head --fail http://localhost:26657/health; do sleep 1 done \ No newline at end of file