-
Notifications
You must be signed in to change notification settings - Fork 74
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #168 from irisnet/sheldon/v1.4.0
update upgrade doc for v1.4.0
- Loading branch information
Showing
1 changed file
with
57 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,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. |