Skip to content

Commit

Permalink
Merge pull request #788 from eco-stake/update-node-v20
Browse files Browse the repository at this point in the history
Update node v20
  • Loading branch information
tombeynon committed Aug 12, 2024
2 parents 8c5719a + 4ede3d9 commit 3c00273
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
18
20
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -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++

Expand Down
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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
Expand Down
8 changes: 4 additions & 4 deletions README_TURKISH.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 0 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
version: "3.3"

services:
app:
build: .
Expand Down

0 comments on commit 3c00273

Please sign in to comment.