fixing HTTP address

This commit is contained in:
Yohan9206 2025-07-14 00:16:56 +03:00
parent df11b502ab
commit 4e5fdf6475

View file

@ -40,7 +40,7 @@ jobs:
run: |
echo "Waiting for Geth RPC to be ready..."
for i in {1..30}; do
if docker exec $CONTAINER_NAME curl -s http://localhost:8545 > /dev/null; then
if docker exec $CONTAINER_NAME curl -s http://127.0.0.1:8545 > /dev/null; then
echo "Geth RPC is up!"
break
fi
@ -48,7 +48,7 @@ jobs:
sleep 2
done
if ! docker exec $CONTAINER_NAME curl -s http://localhost:8545 > /dev/null; then
if ! docker exec $CONTAINER_NAME curl -s http://127.0.0.1:8545 > /dev/null; then
echo "❌ Geth RPC did not start within 60 seconds."
echo "--- Container logs ---"
docker logs $CONTAINER_NAME