Skip to content

Commit

Permalink
Merge pull request #35 from ethstorage/v0116
Browse files Browse the repository at this point in the history
Pump version
  • Loading branch information
syntrust authored Oct 31, 2024
2 parents fb50cf7 + 998c8c6 commit eca263e
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 22 deletions.
2 changes: 1 addition & 1 deletion information/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

* Layer 1: Sepolia testnet
* storage-contracts-v1: v0.1.0
* es-node: v0.1.15
* es-node: v0.1.16

## Public Testnet 1 Deployment

Expand Down
26 changes: 13 additions & 13 deletions storage-provider-guide/storage-provider-faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -112,8 +112,8 @@ docker run --name es -d \
-p 9222:9222 \
-p 30305:30305/udp \
--entrypoint /es-node/run.sh \
ghcr.io/ethstorage/es-node:v0.1.15 \
--p2p.request.size 1048576
ghcr.io/ethstorage/es-node:v0.1.16 \
--p2p.max.request.size 1048576
```

### Why does the "missing trie node" error occur?
Expand Down Expand Up @@ -171,17 +171,17 @@ Firstly, you can [review the changes between releases](https://github.com/ethsto

1. "Ctrl C" to stop the es-node process.

2. Download new version (e.g., `es-node.v0.1.15`) of the pre-built package suitable for your platform using commands [here](/storage-provider-guide/tutorials.md#from-pre-built-executables).
2. Download new version (e.g., `es-node.v0.1.16`) of the pre-built package suitable for your platform using commands [here](/storage-provider-guide/tutorials.md#from-pre-built-executables).

3. Some files including data folder need to be moved from the directory of old build (e.g., `es-node.v0.1.14`) to the new one:
3. Some files including data folder need to be moved from the directory of old build (e.g., `es-node.v0.1.15`) to the new one:

```sh
# replace v0.1.15 to your target version
cd es-node.v0.1.15
# replace v0.1.16 to your target version
cd es-node.v0.1.16

# replace v0.1.14 to the version you have
mv ../es-node.v0.1.14/es-data .
mv ../es-node.v0.1.14/esnode_* .
# replace v0.1.15 to the version you have
mv ../es-node.v0.1.15/es-data .
mv ../es-node.v0.1.15/esnode_* .
```
4. Launch es-node using the same command as the one previously used.

Expand All @@ -206,7 +206,7 @@ docker run --name es -d \
-p 9222:9222 \
-p 30305:30305/udp \
--entrypoint /es-node/run.sh \
ghcr.io/ethstorage/es-node:v0.1.15 \
ghcr.io/ethstorage/es-node:v0.1.16 \
--l1.rpc <el_rpc> \
--l1.beacon <cl_rpc>
```
Expand All @@ -215,16 +215,16 @@ docker run --name es -d \

1. "Ctrl C" to stop the es-node process.

2. Switch to the correct branch of the source code (e.g., you want to move to `v0.1.15`):
2. Switch to the correct branch of the source code (e.g., you want to move to `v0.1.16`):

```sh
cd es-node

# fetch new branches
git fetch

# replace 'v0.1.15' to your target version
git checkout v0.1.15
# replace 'v0.1.16' to your target version
git checkout v0.1.16
```
3. build and launch es-node

Expand Down
16 changes: 8 additions & 8 deletions storage-provider-guide/tutorials.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ This guide provides practical steps for the storage providers to start an es-nod

* MacOS Version 14+, Ubuntu 20.04+, or Windows with WSL (Windows Subsystem for Linux) version 2
* (Optional) Docker 24.0.5+ (would simplify the process)
* (Optional) Go 1.20+ and Node.js 16+ (can be installed following the [steps](tutorials.md#install-dependencies))
* (Optional) Go 1.21+ and Node.js 16+ (can be installed following the [steps](tutorials.md#install-dependencies))

> ℹ️ **_Note:_** The steps assume the use of the root user for all command line operations. If using a non-root user, you may need to prepend some commands with "sudo".
Expand Down Expand Up @@ -92,22 +92,22 @@ Download the pre-built package suitable for your platform:
- Linux x86-64 or WSL:

```sh
curl -L https://github.com/ethstorage/es-node/releases/download/v0.1.15/es-node.v0.1.15.linux-amd64.tar.gz | tar -xz
curl -L https://github.com/ethstorage/es-node/releases/download/v0.1.16/es-node.v0.1.16.linux-amd64.tar.gz | tar -xz
```

- MacOS x86-64:

```sh
curl -L https://github.com/ethstorage/es-node/releases/download/v0.1.15/es-node.v0.1.15.darwin-amd64.tar.gz | tar -xz
curl -L https://github.com/ethstorage/es-node/releases/download/v0.1.16/es-node.v0.1.16.darwin-amd64.tar.gz | tar -xz
```

- MacOS ARM64:

```sh
curl -L https://github.com/ethstorage/es-node/releases/download/v0.1.15/es-node.v0.1.15.darwin-arm64.tar.gz | tar -xz
curl -L https://github.com/ethstorage/es-node/releases/download/v0.1.16/es-node.v0.1.16.darwin-arm64.tar.gz | tar -xz
```

In folder `es-node.v0.1.15`, init es-node by running:
In folder `es-node.v0.1.16`, init es-node by running:

```
env ES_NODE_STORAGE_MINER=<miner> ./init.sh --l1.rpc <el_rpc>
Expand All @@ -129,7 +129,7 @@ docker run --rm \
-v ./zkey:/es-node/build/bin/snark_lib/zkey \
-e ES_NODE_STORAGE_MINER=<miner> \
--entrypoint /es-node/init.sh \
ghcr.io/ethstorage/es-node:v0.1.15 \
ghcr.io/ethstorage/es-node:v0.1.16 \
--l1.rpc <el_rpc>
```

Expand All @@ -145,7 +145,7 @@ docker run --name es -d \
-p 9222:9222 \
-p 30305:30305/udp \
--entrypoint /es-node/run.sh \
ghcr.io/ethstorage/es-node:v0.1.15 \
ghcr.io/ethstorage/es-node:v0.1.16 \
--l1.rpc <el_rpc> \
--l1.beacon <cl_rpc>
```
Expand Down Expand Up @@ -181,7 +181,7 @@ Now download source code and switch to the latest release branch:
```sh
git clone https://github.com/ethstorage/es-node.git
cd es-node
git checkout v0.1.15
git checkout v0.1.16
```

Build es-node:
Expand Down

0 comments on commit eca263e

Please sign in to comment.