-
Notifications
You must be signed in to change notification settings - Fork 65
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
37 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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` |