From 58421fefd44ec164aba13d056aab29bc79d657e3 Mon Sep 17 00:00:00 2001
From: karlo <93879680+karloinv@users.noreply.github.com>
Date: Tue, 21 May 2024 15:59:33 +0300
Subject: [PATCH] initia updated snapshots (#104)
* initia updated snapshots
* initia updated sync
---
docs/initia/sync/snapshot.md | 21 ++++++---------------
1 file changed, 6 insertions(+), 15 deletions(-)
diff --git a/docs/initia/sync/snapshot.md b/docs/initia/sync/snapshot.md
index 4338519b..6f530604 100644
--- a/docs/initia/sync/snapshot.md
+++ b/docs/initia/sync/snapshot.md
@@ -17,29 +17,20 @@ Snapshots are taken every 6 hours.
```bash
+# download a snapshot
+curl | tar -Ilz4 -xf - -C $HOME/
+
sudo systemctl stop initiad
# make a backup
cp $HOME/.initia/data/priv_validator_state.json $HOME/.initia/priv_validator_state.json.backup
-# reset your node and download a snapshot
-initiad tendermint unsafe-reset-all --home $HOME/.initia --keep-addr-book
-wget | lz4 -dc - | tar -xf - -C $HOME/.initia
+# reset your node and move a snapshot
+rm -rf $HOME/.initia/data
+mv extra/home/node_initia/.initia/data $HOME/.initia/
# replace the priv_validator_state.json you have backed up
mv $HOME/.initia/priv_validator_state.json.backup $HOME/.initia/data/priv_validator_state.json
sudo systemctl restart initiad && sudo journalctl -u initiad -f -o cat
```
-
-You can also use other snapshots:
-
-#### Trusted Point:
-```bash
-https://rpc-initia-testnet.trusted-point.com/latest_snapshot.tar.lz4
-```
-
-#### kjnodes:
-```bash
-https://snapshots.kjnodes.com/initia-testnet/snapshot_latest.tar.lz4
-```
\ No newline at end of file