Add retries to RPC API probe
This commit is contained in:
@ -93,8 +93,8 @@ esac
|
||||
echo "--- RPC API: getTransactionCount"
|
||||
(
|
||||
set -x
|
||||
curl -X POST \
|
||||
-H 'Content-Type: application/json' \
|
||||
curl --retry 5 --retry-delay 2 --retry-connrefused \
|
||||
-X POST -H 'Content-Type: application/json' \
|
||||
-d '{"jsonrpc":"2.0","id":1, "method":"getTransactionCount"}' \
|
||||
http://"$entrypointIp":8899
|
||||
)
|
||||
|
Reference in New Issue
Block a user