forked from ghostchain/ghost-node
add hoodi network for the rpc-tester
Signed-off-by: Uncle Stretch <uncle.stretch@ghostchain.io>
This commit is contained in:
parent
4c4374c812
commit
6419d4ba16
@ -17,15 +17,21 @@ MORDOR_RPC=(
|
|||||||
"https://rpc.mordor.etccooperative.org"
|
"https://rpc.mordor.etccooperative.org"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
HOODI_RPC=(
|
||||||
|
"https://rpc.hoodi.ethpandaops.io"
|
||||||
|
"https://0xrpc.io/hoodi"
|
||||||
|
"https://ethereum-hoodi.gateway.tatum.io"
|
||||||
|
"https://rpc.sentio.xyz/hoodi"
|
||||||
|
)
|
||||||
|
|
||||||
show_help() {
|
show_help() {
|
||||||
cat << EOF
|
cat << EOF
|
||||||
Usage: $(basename "$0") [OPTIONS]
|
Usage: $(basename "$0") [OPTIONS]
|
||||||
|
|
||||||
Options:
|
Options:
|
||||||
--chain <name> Specify network: 'sepolia' or 'mordor'. If omitted, checks both.
|
--chain <name> Specify network: 'sepolia', 'hoodi' or 'mordor'. If omitted, checks all.
|
||||||
--output <dir> Base directory to save results. Creates a subfolder with Unix Timestamp.
|
--output <dir> Base directory to save results. Creates a subfolder with Unix Timestamp.
|
||||||
--rpcs <urls> Comma-separated list of custom RPC endpoints.
|
--rpcs <urls> Comma-separated list of custom RPC endpoints. Disables default networks lists.
|
||||||
Disables default Sepolia/Mordor lists.
|
|
||||||
--help Show this help message.
|
--help Show this help message.
|
||||||
|
|
||||||
Example:
|
Example:
|
||||||
@ -129,8 +135,11 @@ else
|
|||||||
check_network "Sepolia" "${SEPOLIA_RPC[@]}"
|
check_network "Sepolia" "${SEPOLIA_RPC[@]}"
|
||||||
elif [ "$CHOSEN_CHAIN" == "mordor" ]; then
|
elif [ "$CHOSEN_CHAIN" == "mordor" ]; then
|
||||||
check_network "Mordor" "${MORDOR_RPC[@]}"
|
check_network "Mordor" "${MORDOR_RPC[@]}"
|
||||||
|
elif [ "$CHOSEN_CHAIN" == "hoodi" ]; then
|
||||||
|
check_network "Hoodi" "${HOODI_RPC[@]}"
|
||||||
else
|
else
|
||||||
check_network "Sepolia" "${SEPOLIA_RPC[@]}"
|
check_network "Sepolia" "${SEPOLIA_RPC[@]}"
|
||||||
check_network "Mordor" "${MORDOR_RPC[@]}"
|
check_network "Mordor" "${MORDOR_RPC[@]}"
|
||||||
|
check_network "Hoodi" "${HOODI_RPC[@]}"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user