diff --git a/README.md b/README.md index 9cef2eb..9b30b68 100644 --- a/README.md +++ b/README.md @@ -56,3 +56,5 @@ It is configured using [`wakusim.env`](./wakusim.env) file, and new changes to t The docker images used are updated using [Watchtower](https://github.com/containrrr/watchtower) as well. For details on how it works please read the [Ansible role readme file](https://github.com/status-im/infra-misc/blob/master/ansible/roles/waku-simulator/). The original deployment issue can be found [here](https://github.com/status-im/infra-nim-waku/issues/79). + +The deployed branch is [deploy-wakusim](https://github.com/waku-org/waku-simulator/tree/deploy-wakusim). diff --git a/run_gowaku.sh b/run_gowaku.sh index a6fd0fe..ee3fee8 100755 --- a/run_gowaku.sh +++ b/run_gowaku.sh @@ -7,7 +7,7 @@ echo "I am a gowaku node" RETRIES=${RETRIES:=10} while [ -z "${BOOTSTRAP_ENR}" ] && [ ${RETRIES} -ge 0 ]; do - BOOTSTRAP_ENR=$(wget -O - --post-data='{"jsonrpc":"2.0","method":"get_waku_v2_debug_v1_info","params":[],"id":1}' --header='Content-Type:application/json' http://bootstrap:8545/ 2> /dev/null | sed 's/.*"enrUri":"\([^"]*\)".*/\1/'); + BOOTSTRAP_ENR=$(wget -qO- http://bootstrap:8645/debug/v1/info --header='Content-Type:application/json' 2> /dev/null | sed 's/.*"enrUri":"\([^"]*\)".*/\1/'); echo "Bootstrap node not ready, retrying (retries left: ${RETRIES})" sleep 1 RETRIES=$(( $RETRIES - 1 )) diff --git a/run_nwaku.sh b/run_nwaku.sh index a9e6b00..8dc15c8 100755 --- a/run_nwaku.sh +++ b/run_nwaku.sh @@ -87,7 +87,7 @@ exec /usr/bin/wakunode\ --dns-discovery=true\ --discv5-discovery=true\ --discv5-enr-auto-update=True\ - --log-level=DEBUG\ + --log-level=INFO\ --metrics-server=True\ --metrics-server-address=0.0.0.0\ --discv5-bootstrap-node=${BOOTSTRAP_ENR}\