Skip to content

Commit 92217f8

Browse files
authored
Merge pull request #303 from envestcc/r221
release 2.2.1
2 parents 4ff0f39 + d4e80d5 commit 92217f8

File tree

5 files changed

+85
-30
lines changed

5 files changed

+85
-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.2.0
22+
- MainNet: v2.2.1
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.2.0
35+
docker pull iotex/iotex-core:v2.2.1
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.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
50+
curl https://raw.githubusercontent.com/iotexproject/iotex-bootstrap/v2.2.1/config_mainnet.yaml > $IOTEX_HOME/etc/config.yaml
51+
curl https://raw.githubusercontent.com/iotexproject/iotex-bootstrap/v2.2.1/genesis_mainnet.yaml > $IOTEX_HOME/etc/genesis.yaml
52+
curl https://raw.githubusercontent.com/iotexproject/iotex-bootstrap/v2.2.1/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.2.0 \
124+
iotex/iotex-core:v2.2.1 \
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.2.0 \
145+
iotex/iotex-core:v2.2.1 \
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.2.0
169+
git checkout v2.2.1
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.2.0
21+
- 主网:v2.2.1
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.2.0
35+
docker pull iotex/iotex-core:v2.2.1
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.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
50+
curl https://raw.githubusercontent.com/iotexproject/iotex-bootstrap/v2.2.1/config_mainnet.yaml > $IOTEX_HOME/etc/config.yaml
51+
curl https://raw.githubusercontent.com/iotexproject/iotex-bootstrap/v2.2.1/genesis_mainnet.yaml > $IOTEX_HOME/etc/genesis.yaml
52+
curl https://raw.githubusercontent.com/iotexproject/iotex-bootstrap/v2.2.1/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.2.0 \
113+
iotex/iotex-core:v2.2.1 \
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.2.0 \
131+
iotex/iotex-core:v2.2.1 \
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.2.0
151+
git checkout v2.2.1
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.2.0
20+
- 测试网:v2.2.1
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.2.0
34+
docker pull iotex/iotex-core:v2.2.1
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.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
49+
curl https://raw.githubusercontent.com/iotexproject/iotex-bootstrap/v2.2.1/config_testnet.yaml > $IOTEX_HOME/etc/config.yaml
50+
curl https://raw.githubusercontent.com/iotexproject/iotex-bootstrap/v2.2.1/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.2.0 \
113+
iotex/iotex-core:v2.2.1 \
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.2.0 \
131+
iotex/iotex-core:v2.2.1 \
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.2.0
151+
git checkout v2.2.1
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.2.0-rc8
21+
- TestNet: v2.2.1
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.2.0-rc8
34+
docker pull iotex/iotex-core:v2.2.1
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.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
49+
curl https://raw.githubusercontent.com/iotexproject/iotex-bootstrap/v2.2.1/config_testnet.yaml > $IOTEX_HOME/etc/config.yaml
50+
curl https://raw.githubusercontent.com/iotexproject/iotex-bootstrap/v2.2.1/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.2.0-rc8 \
124+
iotex/iotex-core:v2.2.1 \
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.2.0-rc8 \
144+
iotex/iotex-core:v2.2.1 \
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.2.0-rc8
165+
git checkout v2.2.1
166166
167167
// optional
168168
export GOPROXY=https://goproxy.io

changelog/v2.2.1-release-note.md

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
# v2.2.1 Release Note
2+
3+
## Summary
4+
**v2.2.1 is a performance and compatibility enhancement release that optimizes
5+
node operations and expands API capabilities.**
6+
7+
All nodes are **strongly recommended** to upgrade to this release, especially
8+
API nodes operating under high TPS conditions, to benefit from significant
9+
performance improvements and enhanced compatibility features.
10+
11+
**Note:**
12+
There's no change to the mainnet config.yaml and genesis.yaml. You only need to
13+
restart your node with the new v2.2.1 image.
14+
15+
This release focuses on optimizing staking view operations through deferred
16+
replication, expanding Ethereum API compatibility with EIP-1898 support, and
17+
introducing enhanced administrative controls for blockchain operations.
18+
19+
## Key Features and Enhancements
20+
21+
1. **Staking View Performance Optimization**: Implemented deferred replication
22+
for staking view copying, significantly improving node performance, especially
23+
for API nodes under high TPS conditions. This optimization reduces computational
24+
overhead during view operations and enhances overall network responsiveness.
25+
26+
2. **EIP-1898 Support**: Added full support for EIP-1898, enabling API nodes
27+
to handle requests with both `blockHash` and `blockNumber` parameters. This
28+
enhancement improves Ethereum compatibility and provides more flexible block
29+
querying capabilities for developers.
30+
31+
3. **Admin Interface Enhancements**: Added new administrative interfaces that
32+
support pausing and resuming blockchain operations, providing operators with
33+
better control over node behavior during maintenance or emergency situations.
34+
35+
## Bug Fix and Performance Improvements
36+
37+
1. **Dependency Management Fix**: Resolved compilation issues where dependency
38+
libraries were incorrectly being removed, ensuring stable build processes.
39+
40+
2. **Performance Optimization**: Enhanced overall system performance through
41+
optimized staking view operations and reduced memory overhead.
42+
43+
## Upgrade Priority
44+
v2.2.1 provides significant performance improvements and enhanced functionality.
45+
All nodes are **strongly recommended** to upgrade, with API nodes receiving
46+
the most substantial benefits.
47+
48+
| Node type | Action |
49+
| ---------- | ------------ |
50+
| Delegate | Recommended |
51+
| Fullnode | Recommended |
52+
| API node | Highly Recommended |
53+
54+
## Commits
55+
https://github.com/iotexproject/iotex-core/compare/v2.2.0...v2.2.1

0 commit comments

Comments
 (0)