From 6b9b657e0d3f4250df2da7c34e42df9b36283cbf Mon Sep 17 00:00:00 2001 From: "tropibot[bot]" <285933081+tropibot[bot]@users.noreply.github.com> Date: Thu, 9 Jul 2026 14:24:20 +0000 Subject: [PATCH 1/3] chore: bump nearcore upstream to 2.13.0 --- dappnode_package.json | 61 +++++++++++++++++++++++-------------------- 1 file changed, 33 insertions(+), 28 deletions(-) diff --git a/dappnode_package.json b/dappnode_package.json index 6fca0fd..87673be 100644 --- a/dappnode_package.json +++ b/dappnode_package.json @@ -1,32 +1,8 @@ { - "name": "near.dnp.dappnode.eth", - "version": "0.1.17", - "upstreamVersion": "2.12.0", - "upstreamRepo": "near/nearcore", - "upstreamArg": "UPSTREAM_VERSION", - "shortDescription": "Reimagine your world.", - "description": "Through simple, secure, and scalable technology, NEAR empowers millions to invent and explore new experiences. Business, creativity, and community are being reimagined for a more sustainable and inclusive future.", - "type": "service", - "mainService": "near", - "author": "eduadiez (https://github.com/eduadiez)", - "contributors": [ - "mgarciate (https://github.com/mgarciate)", - "Voss (https://github.com/alexpeterson91)" + "architectures": [ + "linux/amd64" ], - "categories": ["Blockchain", "Developer tools"], - "architectures": ["linux/amd64"], - "links": { - "homepage": "https://near.org", - "api": "http://near.dappnode:3030", - "Wallet": "http://wallet.near.dappnode" - }, - "repository": { - "type": "git", - "url": "https://github.com/dappnode/DAppNodePackage-NEAR.git" - }, - "bugs": { - "url": "https://github.com/dappnode/DAppNodePackage-NEAR/issues" - }, + "author": "eduadiez (https://github.com/eduadiez)", "backup": [ { "name": "config", @@ -44,5 +20,34 @@ "service": "near" } ], - "license": "GPL-3.0" + "bugs": { + "url": "https://github.com/dappnode/DAppNodePackage-NEAR/issues" + }, + "categories": [ + "Blockchain", + "Developer tools" + ], + "contributors": [ + "mgarciate (https://github.com/mgarciate)", + "Voss (https://github.com/alexpeterson91)" + ], + "description": "Through simple, secure, and scalable technology, NEAR empowers millions to invent and explore new experiences. Business, creativity, and community are being reimagined for a more sustainable and inclusive future.", + "license": "GPL-3.0", + "links": { + "Wallet": "http://wallet.near.dappnode", + "api": "http://near.dappnode:3030", + "homepage": "https://near.org" + }, + "mainService": "near", + "name": "near.dnp.dappnode.eth", + "repository": { + "type": "git", + "url": "https://github.com/dappnode/DAppNodePackage-NEAR.git" + }, + "shortDescription": "Reimagine your world.", + "type": "service", + "upstreamArg": "UPSTREAM_VERSION", + "upstreamRepo": "near/nearcore", + "upstreamVersion": "2.13.0", + "version": "0.1.18" } From 5c5e282180fca5a08a738ad7fbc19c58128e32ec Mon Sep 17 00:00:00 2001 From: "tropibot[bot]" <285933081+tropibot[bot]@users.noreply.github.com> Date: Thu, 9 Jul 2026 14:24:21 +0000 Subject: [PATCH 2/3] chore: set UPSTREAM_VERSION to 2.13.0 --- docker-compose.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index 03bf19b..a0e6b26 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -5,7 +5,7 @@ services: build: context: neard_image args: - UPSTREAM_VERSION: 2.12.0 + UPSTREAM_VERSION: 2.13.0 volumes: - near:/srv/near restart: unless-stopped From 3cb1b4a9173d1296ba2ba90293491cb23b5c4d22 Mon Sep 17 00:00:00 2001 From: 3alpha <15694175+3alpha@users.noreply.github.com> Date: Fri, 10 Jul 2026 12:32:22 +0200 Subject: [PATCH 3/3] delete .state_sync.sync block --- neard_image/start_near.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/neard_image/start_near.sh b/neard_image/start_near.sh index 7ca37dc..9c41fa7 100755 --- a/neard_image/start_near.sh +++ b/neard_image/start_near.sh @@ -31,6 +31,12 @@ else fi +if [ -f "$NEAR_HOME/config.json" ]; then + echo "Removing state_sync.sync block from config.json" + jq 'del(.state_sync.sync)' "$NEAR_HOME/config.json" > "$NEAR_HOME/config.json.tmp" \ + && mv "$NEAR_HOME/config.json.tmp" "$NEAR_HOME/config.json" +fi + if [ "$FETCH_BOOT_NODES" = "true" ]; then BOOT_NODES=$(curl -X POST https://rpc.${CHAIN_ID}.near.org \ -H "Content-Type: application/json" \ -d '{