Skip to content

Commit

Permalink
Merge pull request #78 from Fairblock/chore/update-commit-hash
Browse files Browse the repository at this point in the history
update testnet readme commit hash
  • Loading branch information
p0p3yee authored Dec 29, 2023
2 parents cb2e08a + 8287df1 commit ad9beea
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 5 deletions.
10 changes: 5 additions & 5 deletions networks/testnets/fairytest-3/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ git clone [email protected]:FairBlock/fairyring.git
```shell
cd fairyring
git fetch --tags
git checkout v0.3.0
git checkout v0.3.1
```

- Install
Expand All @@ -112,7 +112,7 @@ or

## Node start and validator setup

### Upgrading from v0.2.1 to v0.3.0
### Upgrading from v0.2.1 to v0.3.1

### Prior to genesis creation and network launch

Expand Down Expand Up @@ -220,12 +220,12 @@ [email protected]:26656,525d605dc4cc1e92d6b1

## Version

This chain is currently running on fairyring [v0.3.0](https://github.com/FairBlock/fairyring/releases/tag/v0.3.0)
Commit Hash: [8e6f6deea6a04b260d190fcd5787bcc4ff85f149](https://github.com/FairBlock/fairyring/commit/8e6f6deea6a04b260d190fcd5787bcc4ff85f149)
This chain is currently running on fairyring [v0.3.1](https://github.com/FairBlock/fairyring/releases/tag/v0.3.1)
Commit Hash: [cb2e08a87bf7a9d75e2764d1b157a84c8e4fb775](https://github.com/FairBlock/fairyring/commit/cb2e08a87bf7a9d75e2764d1b157a84c8e4fb775)

## Binary

The binary can be downloaded from [here](https://github.com/FairBlock/fairyring/releases/tag/v0.3.0)
The binary can be downloaded from [here](https://github.com/FairBlock/fairyring/releases/tag/v0.3.1)

## Explorer

Expand Down
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.1

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

## Upgrading to fairyring v0.3.1

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

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

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 ad9beea

Please sign in to comment.