From 41e24c7af124608f95e12d7934227263dbd97142 Mon Sep 17 00:00:00 2001 From: Trinity Stake Date: Tue, 30 Jul 2024 07:24:33 +0000 Subject: [PATCH 1/2] updated Dockerfile and docker-compose.yml --- Dockerfile | 2 +- docker-compose.yml | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 17bdc2b4..cba2d157 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # dev env -FROM node:18-buster +FROM node:20.15-buster RUN apt-get update && apt-get install -y python3 make g++ diff --git a/docker-compose.yml b/docker-compose.yml index 57a9d24d..ffdc082a 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,5 +1,3 @@ -version: "3.3" - services: app: build: . From 4ede3d94fefd4e30a65c8f974fac6350c7a01d63 Mon Sep 17 00:00:00 2001 From: Tom Beynon Date: Mon, 12 Aug 2024 13:47:41 +0100 Subject: [PATCH 2/2] Update Node to v20.x --- .nvmrc | 2 +- README.md | 10 +++++----- README_TURKISH.md | 8 ++++---- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.nvmrc b/.nvmrc index 3c032078..209e3ef4 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -18 +20 diff --git a/README.md b/README.md index 379355ec..b25cd813 100644 --- a/README.md +++ b/README.md @@ -22,7 +22,7 @@ A script is also provided which allows a validator to automatically search their - Authz is also not fully supported yet. Many chains are yet to update. The REStake UI will fall back to being a manual staking app with useful manual compounding features. - Currently REStake needs the browser extension version of Keplr, but WalletConnect and Keplr iOS functionality will be added ASAP. -- REStake requires Nodejs version 18.x or later, it will not work with earlier versions. +- REStake requires Nodejs version 20.x or later, it will not work with earlier versions. ## Become an operator @@ -88,18 +88,18 @@ cp .env.sample .env #### Instructions for NPM -##### Install nodejs@v18 +##### Install nodejs@v20 ```bash -curl -sL https://deb.nodesource.com/setup_18.x -o /tmp/nodesource_setup.sh +curl -sL https://deb.nodesource.com/setup_20.x -o /tmp/nodesource_setup.sh # read the script file and when you're sure it's safe run it chmod +x /tmp/nodesource_setup.sh /tmp/nodesource_setup.sh apt install nodejs -y node --version -> v18.15.0 +> v20.9.0 npm --version -> 9.5.0 +> 10.1.0 ``` ##### Clone the repository and build it diff --git a/README_TURKISH.md b/README_TURKISH.md index 2d8884bc..fb4bbab2 100644 --- a/README_TURKISH.md +++ b/README_TURKISH.md @@ -86,18 +86,18 @@ cp .env.sample .env #### NPM için Talimatlar -##### nodejs@v18 yükleme +##### nodejs@v20 yükleme ```bash -curl -sL https://deb.nodesource.com/setup_18.x -o /tmp/nodesource_setup.sh +curl -sL https://deb.nodesource.com/setup_20.x -o /tmp/nodesource_setup.sh # read the script file and when you're sure it's safe run it chmod +x /tmp/nodesource_setup.sh /tmp/nodesource_setup.sh apt install nodejs -y node --version -> v18.15.0 +> v20.9.0 npm --version -> 9.5.0 +> 10.1.0 ``` Depoyu klonlama ve yükleme