0g-chain/docs/upgrade.md

28 lines
566 B
Markdown
Raw Normal View History

2018-10-03 22:07:26 +00:00
# Validator Upgrade
These are some guidelines to upgrade to a new testnet if you where validating on a previous one.
2018-10-03 22:57:48 +00:00
1. Stop the current validator.
2018-10-05 18:42:03 +00:00
1. Remove the old config.
rm -r $HOME/.kvd
rm -r $HOME/.kvcli
2018-10-03 22:07:26 +00:00
1. Get the latest code.
cd $GOPATH/src/github.com/kava-labs/kava
git pull
2018-10-05 18:42:03 +00:00
1. Get the latest dependencies.
2018-10-03 22:07:26 +00:00
dep ensure -vendor-only
2018-10-05 18:42:03 +00:00
1. Install.
2018-10-03 22:07:26 +00:00
go install ./cmd/kvd
go install ./cmd/kvcli
2018-10-05 18:42:03 +00:00
1. Follow the installation instructions for running a full node and becoming a validator.