Skip to content

Commit 4686921

Browse files
authored
Merge pull request 0xPolygon#577 from 0xPolygon/pos-snapshot-cli-amoy-option-fix
PoS: snapshot CLI network option
2 parents 147c2be + 6ec9f11 commit 4686921

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

docs/pos/how-to/snapshots.md

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,13 @@ When setting up a new sentry, validator, or full node server, it is recommended
66

77
## Community snapshots
88

9-
With the [deprecation of the Mumbai testnet](https://forum.polygon.technology/t/pos-tooling-after-mumbai-deprecation-no-action-required/13740), Polygon PoS is shifting to a community-driven model for snapshots. Active validators such as Vault Staking, Stakepool, StakeCraft, and Girnaar Nodes will now provide snapshots. For future community snapshots on the Sepolia-anchored Amoy testnet, visit [All4nodes.io](https://all4nodes.io/Polygon), an aggregator for Polygon community snapshots.
9+
### Amoy and beyond
1010

11-
!!! tip "Older snapshots"
11+
With the [deprecation of the Mumbai testnet](https://forum.polygon.technology/t/pos-tooling-after-mumbai-deprecation-no-action-required/13740), Polygon PoS is transitioning to a community-driven model for snapshots. Active validators such as Vault Staking, Stakepool, StakeCraft, and Girnaar Nodes will now provide these snapshots. For future community snapshots on the Sepolia-anchored Amoy testnet, visit [All4nodes.io](https://all4nodes.io/Polygon), an aggregator for Polygon community snapshots.
1212

13-
If you're looking for older snapshots, please visit [Polygon Chains Snapshots](https://snapshot.polygon.technology/).
13+
### Legacy snapshots
14+
15+
If you're looking for older snapshots, please visit [Polygon Chains Snapshots](https://snapshot.polygon.technology/).
1416

1517
!!! note
1618

@@ -25,7 +27,7 @@ With the [deprecation of the Mumbai testnet](https://forum.polygon.technology/t/
2527
To begin, ensure that your node environment meets the **prerequisites** outlined [here](../how-to/full-node/full-node-binaries.md). Before starting any services, execute the shell script provided below. This script will download and extract the snapshot data, which allows for faster bootstrapping. This example uses an Ubuntu Linux m5d.4xlarge machine with an 8TB block device attached.
2628
To transfer the correct chain data to your disk, follow these steps:
2729

28-
- Specify the network (`mainnet` or `amoy`) and client type (`heimdall` or `bor` or `erigon`) of your desired snapshot and run the following command:
30+
- Specify the network (`mainnet` or `mumbai`) and client type (`heimdall` or `bor` or `erigon`) of your desired snapshot and run the following command:
2931

3032

3133
```bash
@@ -53,8 +55,8 @@ curl -L https://snapshot-download.polygon.technology/snapdown.sh | bash -s -- --
5355
#!/bin/bash
5456

5557
function validate_network() {
56-
if [[ "$1" != "mainnet" && "$1" != "amoy" ]]; then
57-
echo "Invalid network input. Please enter 'mainnet' or 'amoy'."
58+
if [[ "$1" != "mainnet" && "$1" != "mumbai" ]]; then
59+
echo "Invalid network input. Please enter 'mainnet' or 'mumbai'."
5860
exit 1
5961
fi
6062
}
@@ -109,7 +111,7 @@ curl -L https://snapshot-download.polygon.technology/snapdown.sh | bash -s -- --
109111
done
110112

111113
# Set default values if not provided through command-line arguments
112-
network=${network:-amoy}
114+
network=${network:-mumbai}
113115
client=${client:-heimdall}
114116
extract_dir=${extract_dir:-"${client}_extract"}
115117
checksum=${checksum:-false}

0 commit comments

Comments
 (0)