From 5e893a83693a65cbd7965162006b4bd6915b5051 Mon Sep 17 00:00:00 2001 From: Taariq Lewis Date: Fri, 29 Jul 2022 13:07:01 +0200 Subject: [PATCH] Move the addrbook and genesis get after unsafe-reset (#369) Thanks to the community of pigeons for letting us know! --- README.md | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index d990a7cb..06a266ff 100644 --- a/README.md +++ b/README.md @@ -55,14 +55,17 @@ If you're upgrading to the most recent version, you will need to stop `palomad` **If you're upgrading from v0.3.0 to v0.4.0 do the following:** +1. Stop paloma 0.3.0 and get 0.4.0 ``` service palomad stop wget -O - https://github.com/palomachain/paloma/releases/download/v0.4.0-alpha/paloma_0.4.0-alpha_Linux_x86_64.tar.gz | tar -C /usr/local/bin -xvzf - palomad -wget -O ~/.paloma/config/genesis.json https://raw.githubusercontent.com/palomachain/testnet/master/paloma-testnet-6/genesis.json -wget -O ~/.paloma/config/addrbook.json https://raw.githubusercontent.com/palomachain/testnet/master/paloma-testnet-6/addrbook.json +``` -#delete the old database +2. Delete the old database and get the snapshot genesis and the updated addrbook. Start paloma 0.4.0 +``` palomad tendermint unsafe-reset-all --home $HOME/.paloma +wget -O ~/.paloma/config/addrbook.json https://raw.githubusercontent.com/palomachain/testnet/master/paloma-testnet-6/addrbook.json +wget -O ~/.paloma/config/genesis.json https://raw.githubusercontent.com/palomachain/testnet/master/paloma-testnet-6/genesis.json service palomad start ```