From b2c2d9c730813ef079b3480c6b34af2abb10a729 Mon Sep 17 00:00:00 2001 From: wojciechos Date: Wed, 15 May 2024 13:27:52 +0200 Subject: [PATCH] Update DB snapshots (#1865) --- README.md | 4 +-- docs/docs/snapshots.md | 29 +++++++++---------- .../version-0.11.0/snapshots.md | 9 +++--- 3 files changed, 20 insertions(+), 22 deletions(-) diff --git a/README.md b/README.md index 81777b8c44..a1aaa7d87b 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/docs/docs/snapshots.md b/docs/docs/snapshots.md index 59c38dec77..1dffd37dbb 100644 --- a/docs/docs/snapshots.md +++ b/docs/docs/snapshots.md @@ -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 @@ -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** @@ -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** @@ -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. diff --git a/docs/versioned_docs/version-0.11.0/snapshots.md b/docs/versioned_docs/version-0.11.0/snapshots.md index 5faa15b2b0..1dffd37dbb 100644 --- a/docs/versioned_docs/version-0.11.0/snapshots.md +++ b/docs/versioned_docs/version-0.11.0/snapshots.md @@ -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 @@ -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**