Skip to content

Commit c0ece10

Browse files
committed
WS 8545 nethermind xdai
1 parent d8e3331 commit c0ece10

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

scripts/dvt_lsd_tools.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
#!/bin/sh
2+
3+
# TODO: Remove this function in favour of http://execution.${NETWORK}.dncore.dappnode:8545
24
# Returns the execution RPC API URL based on the network and supported networks
35
#
46
# Arguments:
@@ -17,6 +19,7 @@ get_execution_rpc_api_url_from_global_env() {
1719
echo "$execution_rpc_api_url"
1820
}
1921

22+
# TODO: Remove this function in favour of ws://execution.${NETWORK}.dncore.dappnode:8546 (ONLY when all clients expose WS on 8546)
2023
get_execution_ws_url_from_global_env() {
2124
network=$1
2225
supported_networks=$2
@@ -25,7 +28,7 @@ get_execution_ws_url_from_global_env() {
2528
execution_dnp=$(get_value_from_global_env "EXECUTION_CLIENT" "$network")
2629

2730
# TODO: Set all execution clients WS port to 8546
28-
if [ "$execution_dnp" = "holesky-erigon.dnp.dappnode.eth" ] || [ "$execution_dnp" = "nethermind.public.dappnode.eth" ]; then
31+
if [ "$execution_dnp" = "holesky-erigon.dnp.dappnode.eth" ] || [ "$execution_dnp" = "nethermind.public.dappnode.eth" ] || [ "$execution_dnp" = "nethermind-xdai.dnp.dappnode.eth" ]; then
2932
port=8545
3033
fi
3134

@@ -38,6 +41,7 @@ get_execution_ws_url_from_global_env() {
3841
echo "$execution_ws_url"
3942
}
4043

44+
# TODO: Remove this function in favour of http://beacon-chain.holesky.dncore.dappnode:3500 (ONLY when nimbus client has been published with 2 services)
4145
# Returns the beacon API URL based on the network and supported networks
4246
#
4347
# Arguments:

0 commit comments

Comments
 (0)