Skip to content

Commit

Permalink
Fix more Soroban->Stellar RPC renames
Browse files Browse the repository at this point in the history
  • Loading branch information
2opremio committed Dec 16, 2024
1 parent 8202195 commit 3dbbd78
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions start
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ function main() {
print_screen_output "starting target stack on $TARGET_NETWORK with following server versions:"
print_screen_output " CORE VERSION=$(stellar-core version 2>/dev/null || echo "n/a")"
print_screen_output " HORIZON VERSION=$(stellar-horizon version 2>/dev/null || echo "n/a")"
print_screen_output " SOROBAN RPC VERSION=$(stellar-soroban-rpc version 2>/dev/null || echo "n/a")"
print_screen_output " STELLAR RPC VERSION=$(stellar-rpc version 2>/dev/null || echo "n/a")"

if [ "$TARGET_NETWORK" = "futurenet" ]; then
TARGET_NETWORK_PASSPHRASE="Test SDF Future Network ; October 2022"
Expand Down Expand Up @@ -212,18 +212,18 @@ function stellar_rpc_status () {
}' | jq --exit-status '.result.status == "healthy"' 2>/dev/null | grep -o true || echo false );
do
if [ $(expr $COUNTER % 12) -eq 0 ]; then
print_screen_output "waited $(expr $COUNTER / 12) minutes for soroban rpc to report ready state..."
print_screen_output "waited $(expr $COUNTER / 12) minutes for Stellar RPC to report ready state..."
fi
COUNTER=$[$COUNTER +1]

if [ $COUNTER -gt 900 ]; then
echo "Waited longer than 15 minutes for rpc, cancelling and exit."
echo "Waited longer than 15 minutes for Stellar RPC, cancelling and exit."
exit 1
fi

sleep 5
done
print_screen_output "soroban rpc reported ready status, the service can be used by tools/cli now ..."
print_screen_output "Stellar RPC reported ready status, the service can be used by tools/cli now ..."
}

main "$@"

0 comments on commit 3dbbd78

Please sign in to comment.