Skip to content

Commit

Permalink
Create chain-upgrade.md
Browse files Browse the repository at this point in the history
  • Loading branch information
p0p3yee authored Dec 29, 2023
1 parent 7f8b8a0 commit 28bcbdd
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions networks/testnets/fairytest-3/chain-upgrade.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
# Chain Reset and Upgrade to fairyring v0.3.0

This is the instruction for performing chain reset and then upgrading the chain from v0.2.1 to v0.3.0

## Upgrading to fairyring v0.3.0

1. Move to your fairyring folder, then pull the latest version

```bash
cd fairyring
git pull
git checkout v0.3.0
```

2. Install the new version

make sure you have go version 1.21 installed

`make install`

## Resetting the chain

1. Resetting the chain

`fairyringd tendermint unsafe-reset-all

**If your .fairyring directory is not the default one, please add --home [path] flag

2. Update Genesis file

Replace the `.fairyring/config/genesis.json` with the [new one](https://github.com/Fairblock/fairyring/blob/main/networks/testnets/fairytest-3/genesis.json)

## Start the chain

fairyringd start

**If your .fairyring directory is not the default one, please add --home [path] flag`

0 comments on commit 28bcbdd

Please sign in to comment.