Penumbra Node Snapshot

Chain ID: penumbra-1 | Current Node Version: v1.4.0

Latest
Block Height
Size
Timestamp
Download
4734511 105 GB 5 hours ago penumbra_4734511.tar.lz4

Our Penumbra Snapshot Server Setup

We take one node snapshot every day. We then delete all the previous snapshots to free up the space on the file server.

How To Process Penumbra Snapshot

Install lz4 if needed

sudo apt install lz4

Download the snapshot

wget -O penumbra_4734511.tar.lz4 https://snapshots.polkachu.com/snapshots/penumbra/penumbra_4734511.tar.lz4 --inet4-only

Stop your node

sudo service pd stop
sudo service cometbft stop

Reset your node. This will erase your node database. If you are already running validator, be sure you backed up your priv_validator_key.json prior to running the the command. The command does not wipe the file. However, you should have a backup of it already in a safe location.

WARNING: If you use this snapshot on a validator node during a chain halt, make sure you back up priv_validator_state.json and then replace it after the snapshot is extracted but before you start the node process. This is very important in order to avoid double-sign. When in doubt, reach out to the project team.

# Back up priv_validator_state.json if needed
cp ~/.penumbra/network_data/node0/cometbft/data/priv_validator_state.json  ~/.penumbra/network_data/node0/cometbft/priv_validator_state.json

# Reset cometbft data
cometbft unsafe-reset-all --home $HOME/.penumbra/network_data/node0/cometbft --keep-addr-book

# Reset pd data
rm ~/.penumbra/network_data/node0/pd/rocksdb -rf

Decompress the snapshot to your database root location. You database location will be something to the effect of ~/.penumbra/network_data/node0/ depending on your node implementation.

lz4 -c -d penumbra_4734511.tar.lz4  | tar -x -C ~/.penumbra/network_data/node0/

If everything is good, now restart your node

sudo service pd start
sudo service cometbft start

Remove downloaded snapshot to free up space

rm -v penumbra_4734511.tar.lz4

Make sure that your node is running

sudo service pd status
sudo service cometbft status
sudo journalctl -u pd -f
sudo journalctl -u cometbft -f