Skip to content

Commit

Permalink
Merge pull request #168 from irisnet/sheldon/v1.4.0
Browse files Browse the repository at this point in the history
update upgrade doc for v1.4.0
  • Loading branch information
zhangyelong authored Nov 29, 2022
2 parents e489787 + b42834d commit a526d61
Showing 1 changed file with 57 additions and 0 deletions.
57 changes: 57 additions & 0 deletions upgrade/v1.4.1.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
# IRIS Hub Upgrade v1.4.1

**NOTE: The tag version of v1.4.0 is obsolete, please use 1.4.1**

## Upgrade Proposal

We are prepared to upgrade the IRIS Hub based upon

- Version: `v1.4.1`
- Commit hash: `fe112a5a39127852b29a1a7e7dce553585e0b585`;
- Chain Halt at Block Height: `17685953`;

## Upgrade Process

### 1. Vote

```bash
iris tx gov vote <proposal-id> <yes|no|no_with_veto|abstain> --chain-id irishub-1 --fees 0.3iris --from <MyWallet>
```

### 2. Upgrade Nodes

**Note:**⚠️ This upgrade involves data migration, and the hardware configuration of the node needs to be temporarily increased:
1. CPU: >= 4C
2. Memory: >= 12G

If the **Upgrade Proposal** successfully passes, the IRIS Hub will be halted automatically at around UTC `2022-12-05 05:30:00Z`, so we can upgrade all of the irishub nodes right away.

**Note: All nodes have to be upgraded, whether it is a validator node, a seed node or a full node.**

The specific steps are as follows:

```bash
# 1. Compile and install the new version, go 1.18+ is required
git clone https://github.com/irisnet/irishub
cd irishub && git checkout v1.4.1
make install

# 2. Check the version number
iris version --long
name: iris
server_name: iris
version: 1.4.1
commit:
build_tags: netgo,ledger
go: go version go1.18 darwin/amd64

# 3. Close the old software
kill -9 <iris-pid>

# 4. Restart
iris start --home=<path-to-your-home>
```

### 3. Wait for Blocks

When the voting power of validators that have completed the upgrade exceeds 67%, irishub can resume producing blocks, and the upgrade is completed.

0 comments on commit a526d61

Please sign in to comment.