Skip to content

Commit 333e323

Browse files
authored
release to v2.2.0
2 parents f9f18c0 + 43d36d9 commit 333e323

File tree

6 files changed

+70
-30
lines changed

6 files changed

+70
-30
lines changed

README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919

2020
Here are the software versions we use:
2121

22-
- MainNet: v2.1.2
22+
- MainNet: v2.2.0
2323

2424
## <a name="testnet"/>Join TestNet
2525
To start and run a testnet node, please click [**Join Testnet**](https://github.com/iotexproject/iotex-bootstrap/blob/master/README_testnet.md)
@@ -32,7 +32,7 @@ This is the recommended way to start an IoTeX node
3232
1. Pull the docker image:
3333

3434
```
35-
docker pull iotex/iotex-core:v2.1.2
35+
docker pull iotex/iotex-core:v2.2.0
3636
```
3737

3838
2. Set the environment with the following commands:
@@ -47,9 +47,9 @@ mkdir -p $IOTEX_HOME/data
4747
mkdir -p $IOTEX_HOME/log
4848
mkdir -p $IOTEX_HOME/etc
4949
50-
curl https://raw.githubusercontent.com/iotexproject/iotex-bootstrap/v2.1.2/config_mainnet.yaml > $IOTEX_HOME/etc/config.yaml
51-
curl https://raw.githubusercontent.com/iotexproject/iotex-bootstrap/v2.1.2/genesis_mainnet.yaml > $IOTEX_HOME/etc/genesis.yaml
52-
curl https://raw.githubusercontent.com/iotexproject/iotex-bootstrap/v2.1.2/trie.db.patch > $IOTEX_HOME/data/trie.db.patch
50+
curl https://raw.githubusercontent.com/iotexproject/iotex-bootstrap/v2.2.0/config_mainnet.yaml > $IOTEX_HOME/etc/config.yaml
51+
curl https://raw.githubusercontent.com/iotexproject/iotex-bootstrap/v2.2.0/genesis_mainnet.yaml > $IOTEX_HOME/etc/genesis.yaml
52+
curl https://raw.githubusercontent.com/iotexproject/iotex-bootstrap/v2.2.0/trie.db.patch > $IOTEX_HOME/data/trie.db.patch
5353
```
5454

5555
3. Edit `$IOTEX_HOME/etc/config.yaml`, look for `externalHost` and `producerPrivKey`, uncomment the lines and fill in your external IP and private key. If you leave `producerPrivKey` empty, your node will be assgined with a random key.
@@ -121,7 +121,7 @@ docker run -d --restart on-failure --name iotex \
121121
-v=$IOTEX_HOME/log:/var/log:rw \
122122
-v=$IOTEX_HOME/etc/config.yaml:/etc/iotex/config_override.yaml:ro \
123123
-v=$IOTEX_HOME/etc/genesis.yaml:/etc/iotex/genesis.yaml:ro \
124-
iotex/iotex-core:v2.1.2 \
124+
iotex/iotex-core:v2.2.0 \
125125
iotex-server \
126126
-config-path=/etc/iotex/config_override.yaml \
127127
-genesis-path=/etc/iotex/genesis.yaml
@@ -142,7 +142,7 @@ docker run -d --restart on-failure --name iotex \
142142
-v=$IOTEX_HOME/log:/var/log:rw \
143143
-v=$IOTEX_HOME/etc/config.yaml:/etc/iotex/config_override.yaml:ro \
144144
-v=$IOTEX_HOME/etc/genesis.yaml:/etc/iotex/genesis.yaml:ro \
145-
iotex/iotex-core:v2.1.2 \
145+
iotex/iotex-core:v2.2.0 \
146146
iotex-server \
147147
-config-path=/etc/iotex/config_override.yaml \
148148
-genesis-path=/etc/iotex/genesis.yaml \
@@ -166,7 +166,7 @@ Same as [Join MainNet](#mainnet) step 2
166166
```
167167
git clone https://github.com/iotexproject/iotex-core.git
168168
cd iotex-core
169-
git checkout v2.1.2
169+
git checkout v2.2.0
170170
171171
// optional
172172
export GOPROXY=https://goproxy.io

README_CN.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818

1919
以下是当前我们使用的软件版本:
2020

21-
- 主网:v2.1.2
21+
- 主网:v2.2.0
2222

2323
## <a name="testnet"/>加入测试网
2424
如果你要启动节点加入测试网,请点击[**加入测试网**](https://github.com/iotexproject/iotex-bootstrap/blob/master/README_CN_testnet.md)
@@ -32,7 +32,7 @@
3232
1. 提取(pull) docker镜像
3333

3434
```
35-
docker pull iotex/iotex-core:v2.1.2
35+
docker pull iotex/iotex-core:v2.2.0
3636
```
3737

3838
2. 使用以下命令设置运行环境
@@ -47,9 +47,9 @@ mkdir -p $IOTEX_HOME/data
4747
mkdir -p $IOTEX_HOME/log
4848
mkdir -p $IOTEX_HOME/etc
4949
50-
curl https://raw.githubusercontent.com/iotexproject/iotex-bootstrap/v2.1.2/config_mainnet.yaml > $IOTEX_HOME/etc/config.yaml
51-
curl https://raw.githubusercontent.com/iotexproject/iotex-bootstrap/v2.1.2/genesis_mainnet.yaml > $IOTEX_HOME/etc/genesis.yaml
52-
curl https://raw.githubusercontent.com/iotexproject/iotex-bootstrap/v2.1.2/trie.db.patch > $IOTEX_HOME/data/trie.db.patch
50+
curl https://raw.githubusercontent.com/iotexproject/iotex-bootstrap/v2.2.0/config_mainnet.yaml > $IOTEX_HOME/etc/config.yaml
51+
curl https://raw.githubusercontent.com/iotexproject/iotex-bootstrap/v2.2.0/genesis_mainnet.yaml > $IOTEX_HOME/etc/genesis.yaml
52+
curl https://raw.githubusercontent.com/iotexproject/iotex-bootstrap/v2.2.0/trie.db.patch > $IOTEX_HOME/data/trie.db.patch
5353
```
5454

5555
3. 编辑 `$IOTEX_HOME/etc/config.yaml`, 查找 `externalHost``producerPrivKey`, 取消注释行并填写您的外部 IP 和私钥。如果`producerPrivKey`放空,你的节点将被分配一个随机密钥。
@@ -110,7 +110,7 @@ docker run -d --restart on-failure --name iotex \
110110
-v=$IOTEX_HOME/log:/var/log:rw \
111111
-v=$IOTEX_HOME/etc/config.yaml:/etc/iotex/config_override.yaml:ro \
112112
-v=$IOTEX_HOME/etc/genesis.yaml:/etc/iotex/genesis.yaml:ro \
113-
iotex/iotex-core:v2.1.2 \
113+
iotex/iotex-core:v2.2.0 \
114114
iotex-server \
115115
-config-path=/etc/iotex/config_override.yaml \
116116
-genesis-path=/etc/iotex/genesis.yaml
@@ -128,7 +128,7 @@ docker run -d --restart on-failure --name iotex \
128128
-v=$IOTEX_HOME/log:/var/log:rw \
129129
-v=$IOTEX_HOME/etc/config.yaml:/etc/iotex/config_override.yaml:ro \
130130
-v=$IOTEX_HOME/etc/genesis.yaml:/etc/iotex/genesis.yaml:ro \
131-
iotex/iotex-core:v2.1.2 \
131+
iotex/iotex-core:v2.2.0 \
132132
iotex-server \
133133
-config-path=/etc/iotex/config_override.yaml \
134134
-genesis-path=/etc/iotex/genesis.yaml \
@@ -148,7 +148,7 @@ docker run -d --restart on-failure --name iotex \
148148
```
149149
git clone https://github.com/iotexproject/iotex-core.git
150150
cd iotex-core
151-
git checkout v2.1.2
151+
git checkout v2.2.0
152152
153153
// optional
154154
export GOPROXY=https://goproxy.io

README_CN_testnet.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
以下是当前我们使用的软件版本:
1919

20-
- 测试网:v2.1.2
20+
- 测试网:v2.2.0
2121

2222
**Note**
2323
如果你要启动节点加入主网,请点击[**加入主网**](https://github.com/iotexproject/iotex-bootstrap/blob/master/README_CN.md)
@@ -31,7 +31,7 @@
3131
1. 提取(pull) docker镜像
3232

3333
```
34-
docker pull iotex/iotex-core:v2.1.2
34+
docker pull iotex/iotex-core:v2.2.0
3535
```
3636

3737
2. 使用以下命令设置运行环境
@@ -46,8 +46,8 @@ mkdir -p $IOTEX_HOME/data
4646
mkdir -p $IOTEX_HOME/log
4747
mkdir -p $IOTEX_HOME/etc
4848
49-
curl https://raw.githubusercontent.com/iotexproject/iotex-bootstrap/v2.1.2/config_testnet.yaml > $IOTEX_HOME/etc/config.yaml
50-
curl https://raw.githubusercontent.com/iotexproject/iotex-bootstrap/v2.1.2/genesis_testnet.yaml > $IOTEX_HOME/etc/genesis.yaml
49+
curl https://raw.githubusercontent.com/iotexproject/iotex-bootstrap/v2.2.0/config_testnet.yaml > $IOTEX_HOME/etc/config.yaml
50+
curl https://raw.githubusercontent.com/iotexproject/iotex-bootstrap/v2.2.0/genesis_testnet.yaml > $IOTEX_HOME/etc/genesis.yaml
5151
```
5252

5353
3. 编辑 `$IOTEX_HOME/etc/config.yaml`, 查找 `externalHost``producerPrivKey`, 取消注释行并填写您的外部 IP 和私钥。如果`producerPrivKey`放空,你的节点将被分配一个随机密钥。
@@ -110,7 +110,7 @@ docker run -d --restart on-failure --name iotex \
110110
-v=$IOTEX_HOME/log:/var/log:rw \
111111
-v=$IOTEX_HOME/etc/config.yaml:/etc/iotex/config_override.yaml:ro \
112112
-v=$IOTEX_HOME/etc/genesis.yaml:/etc/iotex/genesis.yaml:ro \
113-
iotex/iotex-core:v2.1.2 \
113+
iotex/iotex-core:v2.2.0 \
114114
iotex-server \
115115
-config-path=/etc/iotex/config_override.yaml \
116116
-genesis-path=/etc/iotex/genesis.yaml
@@ -128,7 +128,7 @@ docker run -d --restart on-failure --name iotex \
128128
-v=$IOTEX_HOME/log:/var/log:rw \
129129
-v=$IOTEX_HOME/etc/config.yaml:/etc/iotex/config_override.yaml:ro \
130130
-v=$IOTEX_HOME/etc/genesis.yaml:/etc/iotex/genesis.yaml:ro \
131-
iotex/iotex-core:v2.1.2 \
131+
iotex/iotex-core:v2.2.0 \
132132
iotex-server \
133133
-config-path=/etc/iotex/config_override.yaml \
134134
-genesis-path=/etc/iotex/genesis.yaml \
@@ -148,7 +148,7 @@ docker run -d --restart on-failure --name iotex \
148148
```
149149
git clone https://github.com/iotexproject/iotex-core.git
150150
cd iotex-core
151-
git checkout v2.1.2
151+
git checkout v2.2.0
152152
153153
// optional
154154
export GOPROXY=https://goproxy.io

README_testnet.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818

1919
Here are the software versions we use:
2020

21-
- TestNet: v2.1.2
21+
- TestNet: v2.2.0-rc8
2222

2323
**Note**
2424
To start and run a mainnet node, please click [**Join Mainnet**](https://github.com/iotexproject/iotex-bootstrap/blob/master/README.md)
@@ -31,7 +31,7 @@ This is the recommended way to start an IoTeX node
3131
1. Pull the docker image:
3232

3333
```
34-
docker pull iotex/iotex-core:v2.1.2
34+
docker pull iotex/iotex-core:v2.2.0-rc8
3535
```
3636

3737
2. Set the environment with the following commands:
@@ -46,8 +46,8 @@ mkdir -p $IOTEX_HOME/data
4646
mkdir -p $IOTEX_HOME/log
4747
mkdir -p $IOTEX_HOME/etc
4848
49-
curl https://raw.githubusercontent.com/iotexproject/iotex-bootstrap/v2.1.2/config_testnet.yaml > $IOTEX_HOME/etc/config.yaml
50-
curl https://raw.githubusercontent.com/iotexproject/iotex-bootstrap/v2.1.2/genesis_testnet.yaml > $IOTEX_HOME/etc/genesis.yaml
49+
curl https://raw.githubusercontent.com/iotexproject/iotex-bootstrap/v2.2.0-rc8/config_testnet.yaml > $IOTEX_HOME/etc/config.yaml
50+
curl https://raw.githubusercontent.com/iotexproject/iotex-bootstrap/v2.2.0-rc8/genesis_testnet.yaml > $IOTEX_HOME/etc/genesis.yaml
5151
```
5252

5353
3. Edit `$IOTEX_HOME/etc/config.yaml`, look for `externalHost` and `producerPrivKey`, uncomment the lines and fill in your external IP and private key. If you leave `producerPrivKey` empty, your node will be assgined with a random key.
@@ -121,7 +121,7 @@ docker run -d --restart on-failure --name iotex \
121121
-v=$IOTEX_HOME/log:/var/log:rw \
122122
-v=$IOTEX_HOME/etc/config.yaml:/etc/iotex/config_override.yaml:ro \
123123
-v=$IOTEX_HOME/etc/genesis.yaml:/etc/iotex/genesis.yaml:ro \
124-
iotex/iotex-core:v2.1.2 \
124+
iotex/iotex-core:v2.2.0-rc8 \
125125
iotex-server \
126126
-config-path=/etc/iotex/config_override.yaml \
127127
-genesis-path=/etc/iotex/genesis.yaml
@@ -141,7 +141,7 @@ docker run -d --restart on-failure --name iotex \
141141
-v=$IOTEX_HOME/log:/var/log:rw \
142142
-v=$IOTEX_HOME/etc/config.yaml:/etc/iotex/config_override.yaml:ro \
143143
-v=$IOTEX_HOME/etc/genesis.yaml:/etc/iotex/genesis.yaml:ro \
144-
iotex/iotex-core:v2.1.2 \
144+
iotex/iotex-core:v2.2.0-rc8 \
145145
iotex-server \
146146
-config-path=/etc/iotex/config_override.yaml \
147147
-genesis-path=/etc/iotex/genesis.yaml \
@@ -162,7 +162,7 @@ Same as [Join TestNet](#testnet) step 2
162162
```
163163
git clone https://github.com/iotexproject/iotex-core.git
164164
cd iotex-core
165-
git checkout v2.1.2
165+
git checkout v2.2.0-rc8
166166
167167
// optional
168168
export GOPROXY=https://goproxy.io

changelog/v2.2.0-release-note.md

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
# v2.2.0 Release Note
2+
3+
## Summary
4+
**v2.2.0 has a hardfork, which will be activated at block height 36,893,881
5+
(ETA is around 06/19/2025 01:28:35 AM +UTC) on IoTeX L1 mainnet.**
6+
7+
All nodes **must** upgrade to this release, otherwise the node runs the risk of
8+
not being able to sync with the IoTeX blockchain after other nodes have upgraded.
9+
10+
**Note:**
11+
There's no change to the mainnet config.yaml and genesis.yaml. You only need to
12+
restart your node with the new v2.2.0 image.
13+
14+
This release enables [IIP-42](https://github.com/iotexproject/iips/blob/master/iip-42.md). It reduces the block interval from 5 seconds to 2.5 seconds, effectively doubling the block production rate. This improvement enhances overall network responsiveness, and reduces transaction confirmation times. Users and developers can expect faster feedback for submitted transactions and more frequent block updates across the network. System Staking Contract Version 3 is introduced, which is optimized for the new 2.5-second block interval. It replaces Version 2, which is now deprecated. It will remain compatible even if the block interval changes again in the future.
15+
16+
## Key Features and Enhancements
17+
18+
1. Reduce block interval from 5 seconds to 2.5 seconds.
19+
2. Introduce system staking contract version 3 and deprecate system staking contract version 2.
20+
21+
## Bug Fix and Performance Improvements:
22+
1. Enhanced the P2P network by introducing stricter rate limit.
23+
2. Upgraded golang and some dependencies.
24+
3. Fixed minting and validation inconsistency.
25+
26+
## Upgrade Priority
27+
v2.2.0 comes with a hardfork, so all nodes **must** upgrade in order to keep
28+
syncing with the IoTeX blockchain
29+
30+
| Node type | Action |
31+
| ---------- | ------------ |
32+
| Delegate | Must upgrade |
33+
| Fullnode | Must upgrade |
34+
| API node | Must upgrade |
35+
36+
## Commits
37+
https://github.com/iotexproject/iotex-core/compare/v2.1.2...v2.2.0

genesis_testnet.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ blockchain:
3535
tsunamiHeight: 25226641
3636
upernavikHeight: 26984161
3737
vanuatuHeight: 28820881
38+
wakeHeight: 31943521
3839
numCandidateDelegates: 36
3940
numDelegates: 24
4041
numSubEpochs: 15
@@ -59,6 +60,8 @@ poll:
5960
systemSGDContractHeight: 20315706
6061
systemStakingContractV2Address: io1l45vd72wykrxkculmh4m9ekudqrml0jles7mkm
6162
systemStakingContractV2Height: 26978830
63+
systemStakingContractV3Address: io1phddfwuj6ht64lkvjyywqjc2e8t5ycez6c69d7
64+
systemStakingContractV3Height: 31939788
6265
staking:
6366
withdrawWaitingPeriod: "336h"
6467
rewarding:

0 commit comments

Comments
 (0)