diff --git a/dappnode_package.json b/dappnode_package.json index d877a7b..420ba0e 100644 --- a/dappnode_package.json +++ b/dappnode_package.json @@ -1,7 +1,7 @@ { "name": "near.dnp.dappnode.eth", "version": "0.1.9", - "upstreamVersion": "2.10.0", + "upstreamVersion": "2.10.1", "upstreamRepo": "near/nearcore", "upstreamArg": "UPSTREAM_VERSION", "shortDescription": "Reimagine your world.", @@ -45,4 +45,4 @@ } ], "license": "GPL-3.0" -} +} \ No newline at end of file diff --git a/docker-compose.yml b/docker-compose.yml index 82b1b95..3baeeb2 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -5,7 +5,7 @@ services: build: context: neard_image args: - UPSTREAM_VERSION: 2.10.0 + UPSTREAM_VERSION: 2.10.1 volumes: - near:/srv/near restart: unless-stopped diff --git a/neard_image/start_near.sh b/neard_image/start_near.sh index 7ca37dc..e5df7cb 100755 --- a/neard_image/start_near.sh +++ b/neard_image/start_near.sh @@ -30,9 +30,9 @@ else fi fi - if [ "$FETCH_BOOT_NODES" = "true" ]; then -BOOT_NODES=$(curl -X POST https://rpc.${CHAIN_ID}.near.org \ -H "Content-Type: application/json" \ +BOOT_NODES=$(curl -X POST https://rpc.${CHAIN_ID}.near.org \ + -H "Content-Type: application/json" \ -d '{ "jsonrpc": "2.0", "method": "network_info", @@ -52,6 +52,6 @@ ulimit -c unlimited echo "Telemetry: ${TELEMETRY_URL}" echo "Bootnodes: ${BOOT_NODES}" -exec timeout -s SIGINT 900 neard ping --chain-id ${CHAIN_ID} --peer ed25519:E53qRwScBwN3WH9Pc5rVyZxDVHt3KcF9fMD1q6YjMtNQ@144.76.111.43:24567 --protocol-version 76 --latencies-csv-file $NEAR_HOME/latencieslogs.csv & +timeout -s SIGINT 900 neard ping --chain-id ${CHAIN_ID} --peer ed25519:E53qRwScBwN3WH9Pc5rVyZxDVHt3KcF9fMD1q6YjMtNQ@144.76.111.43:24567 --protocol-version 82 --latencies-csv-file $NEAR_HOME/latencieslogs.csv & -exec neard "$NEARD_FLAGS" run ${TELEMETRY_URL:+--telemetry-url="$TELEMETRY_URL"} ${BOOT_NODES:+--boot-nodes="$BOOT_NODES"} "$@" \ No newline at end of file +exec neard "$NEARD_FLAGS" run ${TELEMETRY_URL:+--telemetry-url="$TELEMETRY_URL"} ${BOOT_NODES:+--boot-nodes="$BOOT_NODES"} "$@"