Skip to content

Commit 55837bd

Browse files
chore: update echo in configure_keyper.sh for better debugging
1 parent 70a1a02 commit 55837bd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

shutter/scripts/configure_keyper.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ function test_ethereum_url() {
1717
# 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.
1818
# Git Issue: https://github.com/dappnode/staker-package-scripts/issues/11
1919
export SHUTTER_NETWORK_NODE_ETHEREUMURL=${ETHEREUM_WS:-ws://execution.${NETWORK}.dncore.dappnode:8546}
20-
echo "[DEBUG | configure] SHUTTER_NETWORK_NODE_ETHEREUMURL is ${SHUTTER_NETWORK_NODE_ETHEREUMURL}"
2120
RESULT=$(wscat -c "$SHUTTER_NETWORK_NODE_ETHEREUMURL" -x '{"jsonrpc": "2.0", "method": "eth_syncing", "params": [], "id": 1}')
2221
if [[ $RESULT =~ '"id":1' ]]; then return 0; else
2322
export SHUTTER_NETWORK_NODE_ETHEREUMURL=ws://execution.${NETWORK}.dncore.dappnode:8545
@@ -28,6 +27,7 @@ function test_ethereum_url() {
2827
exit 1
2928
fi
3029
fi
30+
echo "[DEBUG | configure] SHUTTER_NETWORK_NODE_ETHEREUMURL is ${SHUTTER_NETWORK_NODE_ETHEREUMURL}"
3131
}
3232

3333
echo "[INFO | configure] Calculating keyper configuration values..."

0 commit comments

Comments
 (0)