Skip to content

Commit 2fd48bf

Browse files
chore: revert debug logs
1 parent ad7ce2c commit 2fd48bf

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

shutter/scripts/configure_keyper.sh

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,16 +14,11 @@ NODE_PATH=$NODE_HOME/lib/node_modules
1414
PATH=$NODE_HOME/bin:$PATH
1515

1616
function test_ethereum_url() {
17-
# FIXME: This is a workaround for the issue with the staker-scripts@v0.1.1 not setting get_execution_ws_url_from_global_env correctly in the environment variables.
18-
# Git Issue: https://github.com/dappnode/staker-package-scripts/issues/11
1917
export SHUTTER_NETWORK_NODE_ETHEREUMURL=${ETHEREUM_WS:-$(get_execution_ws_url_from_global_env ${NETWORK})}
20-
echo "[DEBUG | configure] SHUTTER_NETWORK_NODE_ETHEREUMURL is ${SHUTTER_NETWORK_NODE_ETHEREUMURL}"
2118
RESULT=$(wscat -c "$SHUTTER_NETWORK_NODE_ETHEREUMURL" -x '{"jsonrpc": "2.0", "method": "eth_syncing", "params": [], "id": 1}')
22-
echo "[DEBUG | configure] RESULT is ${RESULT}"
2319
if [[ $RESULT =~ '"id":1' ]]; then return 0; else
24-
export SHUTTER_NETWORK_NODE_ETHEREUMURL=ws://execution.${NETWORK}.dncore.dappnode:8546
20+
export SHUTTER_NETWORK_NODE_ETHEREUMURL=ws://execution.${NETWORK}.dncore.dappnode:8545 #letting it default to the old URL, incase the node running on the dappnode is not updated to the new version
2521
RESULT=$(wscat -c "$SHUTTER_NETWORK_NODE_ETHEREUMURL" -x '{"jsonrpc": "2.0", "method": "eth_syncing", "params": [], "id": 1}')
26-
echo "[DEBUG | configure] RESULT is ${RESULT}"
2722
if [[ $RESULT =~ '"id":1' ]]; then return 0; else
2823
echo "Could not find DAppNode RPC/WS url for this package!"
2924
echo "Please configure 'ETHEREUM_WS' to point to an applicable websocket RPC service."

0 commit comments

Comments
 (0)