fix: block until the JSON RPC API is available
This commit is contained in:
parent
f871b0410a
commit
ce6e840e03
|
@ -75,6 +75,13 @@ up)
|
||||||
--env RUST_LOG="$RUST_LOG" \
|
--env RUST_LOG="$RUST_LOG" \
|
||||||
solanalabs/solana:"$channel"
|
solanalabs/solana:"$channel"
|
||||||
|
|
||||||
|
curl \
|
||||||
|
--retry 10 \
|
||||||
|
--retry-connrefused \
|
||||||
|
-X POST \
|
||||||
|
-H "Content-Type: application/json" \
|
||||||
|
-d '{"jsonrpc":"2.0","id":1, "method":"getTransactionCount"}' \
|
||||||
|
http://localhost:8899
|
||||||
)
|
)
|
||||||
;;
|
;;
|
||||||
down)
|
down)
|
||||||
|
|
Loading…
Reference in New Issue