Skip to content

Commit

Permalink
Update DB snapshots (NethermindEth#1865)
Browse files Browse the repository at this point in the history
  • Loading branch information
wojciechos authored May 15, 2024
1 parent 264eb96 commit b2c2d9c
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 22 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -109,13 +109,13 @@ Use the provided snapshots to quickly sync your Juno node with the current state
| Version | Size | Block | Download Link |
| ------- | ---- | ----- | ------------- |
| **>=v0.9.2** | **156 GB** | **519634** | [**juno_mainnet.tar**](https://juno-snapshots.nethermind.dev/mainnet/juno_mainnet_v0.9.3_519634.tar) |
| **>=v0.9.2** | **182 GB** | **640855** | [**juno_mainnet.tar**](https://juno-snapshots.nethermind.dev/mainnet/juno_mainnet_v0.11.7_640855.tar) |
#### Sepolia
| Version | Size | Block | Download Link |
| ------- | ---- | ----- | ------------- |
| **>=v0.9.2** | **2.9 GB** | **55984** | [**juno_sepolia.tar**](https://juno-snapshots.nethermind.dev/sepolia/juno_sepolia_v0.11.4_55984.tar) |
| **>=v0.9.2** | **5 GB** | **66477** | [**juno_sepolia.tar**](https://juno-snapshots.nethermind.dev/sepolia/juno_sepolia_v0.11.7_66477.tar) |
### Run Juno Using Snapshot
Expand Down
29 changes: 13 additions & 16 deletions docs/docs/snapshots.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,19 +11,14 @@ After downloading a snapshot and starting a Juno node, only recent blocks must b

| Version | Size | Block | Download Link |
| ------- | ---- | ----- | ------------- |
| **>=v0.6.0** | **76 GB** | **247401** | [**juno_mainnet_247401.tar**](https://juno-snapshots.nethermind.dev/mainnet/juno_mainnet_v0.6.3_247401.tar) |
| **>=v0.9.2** | **182 GB** | **640855** | [**juno_mainnet.tar**](https://juno-snapshots.nethermind.dev/mainnet/juno_mainnet_v0.11.7_640855.tar) |

### Sepolia

| Version | Size | Block | Download Link |
| ------- | ---- | ----- | ------------- |
| **>=v0.9.2** | **2.9 GB** | **55984** | [**juno_sepolia.tar**](https://juno-snapshots.nethermind.dev/sepolia/juno_sepolia_v0.11.4_55984.tar) |

## Goerli2
## Sepolia

| Version | Size | Block | Download Link |
| ------- | ---- | ----- | ------------- |
| **>=v0.6.0** | **4.6 GB** | **139043** | [**juno_goerli2_135973.tar**](https://juno-snapshots.nethermind.dev/goerli2/juno_goerli2_v0.6.0_139043.tar) |
| **>=v0.9.2** | **5 GB** | **66477** | [**juno_sepolia.tar**](https://juno-snapshots.nethermind.dev/sepolia/juno_sepolia_v0.11.7_66477.tar) |

## Run Juno Using Snapshot

Expand All @@ -32,7 +27,7 @@ After downloading a snapshot and starting a Juno node, only recent blocks must b
Fetch a snapshot from one of the provided URLs:

```bash
curl -o juno_mainnet_247401.tar https://juno-snapshots.nethermind.dev/mainnet/juno_mainnet_v0.6.3_247401.tar
wget -O juno_mainnet.tar https://juno-snapshots.nethermind.dev/mainnet/juno_mainnet_v0.11.7_640855.tar
```

2. **Prepare Directory**
Expand All @@ -48,7 +43,7 @@ After downloading a snapshot and starting a Juno node, only recent blocks must b
Extract the contents of the `.tar` file:

```bash
tar -xvf juno_mainnet_247401.tar -C $HOME/snapshots
tar -xvf juno_mainnet.tar -C $HOME/snapshots
```

4. **Run Juno**
Expand All @@ -57,12 +52,14 @@ After downloading a snapshot and starting a Juno node, only recent blocks must b

```bash
docker run -d \
--name juno \
-p 6060:6060 \
-v $HOME/snapshots/juno_mainnet:/var/lib/juno \
nethermind/juno \
--http \
--db-path /var/lib/juno
--name juno \
-p 6060:6060 \
-v $HOME/snapshots/juno_mainnet:/var/lib/juno \
nethermind/juno \
--http \
--http-port 6060 \
--http-host 0.0.0.0 \
--db-path /var/lib/juno
```

After following these steps, Juno should be up and running on your machine, utilizing the provided snapshot.
9 changes: 5 additions & 4 deletions docs/versioned_docs/version-0.11.0/snapshots.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,14 @@ After downloading a snapshot and starting a Juno node, only recent blocks must b

| Version | Size | Block | Download Link |
| ------- | ---- | ----- | ------------- |
| **>=v0.9.2** | **156 GB** | **519634** | [**juno_mainnet.tar**](https://juno-snapshots.nethermind.dev/mainnet/juno_mainnet_v0.9.3_519634.tar) |
| **>=v0.9.2** | **182 GB** | **640855** | [**juno_mainnet.tar**](https://juno-snapshots.nethermind.dev/mainnet/juno_mainnet_v0.11.7_640855.tar) |

### Sepolia

## Sepolia

| Version | Size | Block | Download Link |
| ------- | ---- | ----- | ------------- |
| **>=v0.9.2** | **2.9 GB** | **55984** | [**juno_sepolia.tar**](https://juno-snapshots.nethermind.dev/sepolia/juno_sepolia_v0.11.4_55984.tar) |
| **>=v0.9.2** | **5 GB** | **66477** | [**juno_sepolia.tar**](https://juno-snapshots.nethermind.dev/sepolia/juno_sepolia_v0.11.7_66477.tar) |

## Run Juno Using Snapshot

Expand All @@ -26,7 +27,7 @@ After downloading a snapshot and starting a Juno node, only recent blocks must b
Fetch a snapshot from one of the provided URLs:

```bash
wget -O juno_mainnet.tar https://juno-snapshots.nethermind.dev/mainnet/juno_mainnet_v0.9.3_519634.tar
wget -O juno_mainnet.tar https://juno-snapshots.nethermind.dev/mainnet/juno_mainnet_v0.11.7_640855.tar
```

2. **Prepare Directory**
Expand Down

0 comments on commit b2c2d9c

Please sign in to comment.