diff --git a/web3.js/bin/localnet.sh b/web3.js/bin/localnet.sh index e525e6fcc9..d2a0e58a86 100755 --- a/web3.js/bin/localnet.sh +++ b/web3.js/bin/localnet.sh @@ -75,6 +75,13 @@ up) --env RUST_LOG="$RUST_LOG" \ 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)