fix
This commit is contained in:
@@ -95,7 +95,8 @@ while IFS= read -r url; do
|
||||
export TEST_URL="$RPC_URL"
|
||||
export WS_URL=$(echo "$url" | sed -e 's|^http://|ws://|' -e 's|^https://|wss://|')
|
||||
export PROVIDER=$(echo "$url" | sed -e 's|^https\?://||' -e 's|/|-|g' -e 's|\.|-|g')
|
||||
|
||||
export ID=$PROVIDER
|
||||
|
||||
response_file=$(mktemp)
|
||||
|
||||
http_status_code=$(curl --ipv4 -m 5 -s -o "$response_file" -w "%{http_code}" -X POST -H "Content-Type: application/json" --data '{"jsonrpc":"2.0","method":"eth_chainId","params":[],"id":1}' $TEST_URL)
|
||||
|
||||
Reference in New Issue
Block a user