Skip to content

Commit 4f7c5a9

Browse files
authored
release v2.1.2 (#296)
1 parent 329e149 commit 4f7c5a9

File tree

5 files changed

+72
-30
lines changed

5 files changed

+72
-30
lines changed

README.md

+8-8
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.0
22+
- MainNet: v2.1.2
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)
@@ -30,7 +30,7 @@ This is the recommended way to start an IoTeX node
3030
1. Pull the docker image:
3131

3232
```
33-
docker pull iotex/iotex-core:v2.1.0
33+
docker pull iotex/iotex-core:v2.1.2
3434
```
3535

3636
2. Set the environment with the following commands:
@@ -45,9 +45,9 @@ mkdir -p $IOTEX_HOME/data
4545
mkdir -p $IOTEX_HOME/log
4646
mkdir -p $IOTEX_HOME/etc
4747
48-
curl https://raw.githubusercontent.com/iotexproject/iotex-bootstrap/v2.1.0/config_mainnet.yaml > $IOTEX_HOME/etc/config.yaml
49-
curl https://raw.githubusercontent.com/iotexproject/iotex-bootstrap/v2.1.0/genesis_mainnet.yaml > $IOTEX_HOME/etc/genesis.yaml
50-
curl https://raw.githubusercontent.com/iotexproject/iotex-bootstrap/v2.1.0/trie.db.patch > $IOTEX_HOME/data/trie.db.patch
48+
curl https://raw.githubusercontent.com/iotexproject/iotex-bootstrap/v2.1.2/config_mainnet.yaml > $IOTEX_HOME/etc/config.yaml
49+
curl https://raw.githubusercontent.com/iotexproject/iotex-bootstrap/v2.1.2/genesis_mainnet.yaml > $IOTEX_HOME/etc/genesis.yaml
50+
curl https://raw.githubusercontent.com/iotexproject/iotex-bootstrap/v2.1.2/trie.db.patch > $IOTEX_HOME/data/trie.db.patch
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.
@@ -87,7 +87,7 @@ docker run -d --restart on-failure --name iotex \
8787
-v=$IOTEX_HOME/log:/var/log:rw \
8888
-v=$IOTEX_HOME/etc/config.yaml:/etc/iotex/config_override.yaml:ro \
8989
-v=$IOTEX_HOME/etc/genesis.yaml:/etc/iotex/genesis.yaml:ro \
90-
iotex/iotex-core:v2.1.0 \
90+
iotex/iotex-core:v2.1.2 \
9191
iotex-server \
9292
-config-path=/etc/iotex/config_override.yaml \
9393
-genesis-path=/etc/iotex/genesis.yaml
@@ -107,7 +107,7 @@ docker run -d --restart on-failure --name iotex \
107107
-v=$IOTEX_HOME/log:/var/log:rw \
108108
-v=$IOTEX_HOME/etc/config.yaml:/etc/iotex/config_override.yaml:ro \
109109
-v=$IOTEX_HOME/etc/genesis.yaml:/etc/iotex/genesis.yaml:ro \
110-
iotex/iotex-core:v2.1.0 \
110+
iotex/iotex-core:v2.1.2 \
111111
iotex-server \
112112
-config-path=/etc/iotex/config_override.yaml \
113113
-genesis-path=/etc/iotex/genesis.yaml \
@@ -128,7 +128,7 @@ Same as [Join MainNet](#mainnet) step 2
128128
```
129129
git clone https://github.com/iotexproject/iotex-core.git
130130
cd iotex-core
131-
git checkout v2.1.0
131+
git checkout v2.1.2
132132
133133
// optional
134134
export GOPROXY=https://goproxy.io

README_CN.md

+8-8
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818

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

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

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

3232
```
33-
docker pull iotex/iotex-core:v2.1.0
33+
docker pull iotex/iotex-core:v2.1.2
3434
```
3535

3636
2. 使用以下命令设置运行环境
@@ -45,9 +45,9 @@ mkdir -p $IOTEX_HOME/data
4545
mkdir -p $IOTEX_HOME/log
4646
mkdir -p $IOTEX_HOME/etc
4747
48-
curl https://raw.githubusercontent.com/iotexproject/iotex-bootstrap/v2.1.0/config_mainnet.yaml > $IOTEX_HOME/etc/config.yaml
49-
curl https://raw.githubusercontent.com/iotexproject/iotex-bootstrap/v2.1.0/genesis_mainnet.yaml > $IOTEX_HOME/etc/genesis.yaml
50-
curl https://raw.githubusercontent.com/iotexproject/iotex-bootstrap/v2.1.0/trie.db.patch > $IOTEX_HOME/data/trie.db.patch
48+
curl https://raw.githubusercontent.com/iotexproject/iotex-bootstrap/v2.1.2/config_mainnet.yaml > $IOTEX_HOME/etc/config.yaml
49+
curl https://raw.githubusercontent.com/iotexproject/iotex-bootstrap/v2.1.2/genesis_mainnet.yaml > $IOTEX_HOME/etc/genesis.yaml
50+
curl https://raw.githubusercontent.com/iotexproject/iotex-bootstrap/v2.1.2/trie.db.patch > $IOTEX_HOME/data/trie.db.patch
5151
```
5252

5353
3. 编辑 `$IOTEX_HOME/etc/config.yaml`, 查找 `externalHost``producerPrivKey`, 取消注释行并填写您的外部 IP 和私钥。如果`producerPrivKey`放空,你的节点将被分配一个随机密钥。
@@ -84,7 +84,7 @@ docker run -d --restart on-failure --name iotex \
8484
-v=$IOTEX_HOME/log:/var/log:rw \
8585
-v=$IOTEX_HOME/etc/config.yaml:/etc/iotex/config_override.yaml:ro \
8686
-v=$IOTEX_HOME/etc/genesis.yaml:/etc/iotex/genesis.yaml:ro \
87-
iotex/iotex-core:v2.1.0 \
87+
iotex/iotex-core:v2.1.2 \
8888
iotex-server \
8989
-config-path=/etc/iotex/config_override.yaml \
9090
-genesis-path=/etc/iotex/genesis.yaml
@@ -102,7 +102,7 @@ docker run -d --restart on-failure --name iotex \
102102
-v=$IOTEX_HOME/log:/var/log:rw \
103103
-v=$IOTEX_HOME/etc/config.yaml:/etc/iotex/config_override.yaml:ro \
104104
-v=$IOTEX_HOME/etc/genesis.yaml:/etc/iotex/genesis.yaml:ro \
105-
iotex/iotex-core:v2.1.0 \
105+
iotex/iotex-core:v2.1.2 \
106106
iotex-server \
107107
-config-path=/etc/iotex/config_override.yaml \
108108
-genesis-path=/etc/iotex/genesis.yaml \
@@ -122,7 +122,7 @@ docker run -d --restart on-failure --name iotex \
122122
```
123123
git clone https://github.com/iotexproject/iotex-core.git
124124
cd iotex-core
125-
git checkout v2.1.0
125+
git checkout v2.1.2
126126
127127
// optional
128128
export GOPROXY=https://goproxy.io

README_CN_testnet.md

+7-7
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

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

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

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

3131
```
32-
docker pull iotex/iotex-core:v2.1.0
32+
docker pull iotex/iotex-core:v2.1.2
3333
```
3434

3535
2. 使用以下命令设置运行环境
@@ -44,8 +44,8 @@ mkdir -p $IOTEX_HOME/data
4444
mkdir -p $IOTEX_HOME/log
4545
mkdir -p $IOTEX_HOME/etc
4646
47-
curl https://raw.githubusercontent.com/iotexproject/iotex-bootstrap/v2.1.0/config_testnet.yaml > $IOTEX_HOME/etc/config.yaml
48-
curl https://raw.githubusercontent.com/iotexproject/iotex-bootstrap/v2.1.0/genesis_testnet.yaml > $IOTEX_HOME/etc/genesis.yaml
47+
curl https://raw.githubusercontent.com/iotexproject/iotex-bootstrap/v2.1.2/config_testnet.yaml > $IOTEX_HOME/etc/config.yaml
48+
curl https://raw.githubusercontent.com/iotexproject/iotex-bootstrap/v2.1.2/genesis_testnet.yaml > $IOTEX_HOME/etc/genesis.yaml
4949
```
5050

5151
3. 编辑 `$IOTEX_HOME/etc/config.yaml`, 查找 `externalHost``producerPrivKey`, 取消注释行并填写您的外部 IP 和私钥。如果`producerPrivKey`放空,你的节点将被分配一个随机密钥。
@@ -82,7 +82,7 @@ docker run -d --restart on-failure --name iotex \
8282
-v=$IOTEX_HOME/log:/var/log:rw \
8383
-v=$IOTEX_HOME/etc/config.yaml:/etc/iotex/config_override.yaml:ro \
8484
-v=$IOTEX_HOME/etc/genesis.yaml:/etc/iotex/genesis.yaml:ro \
85-
iotex/iotex-core:v2.1.0 \
85+
iotex/iotex-core:v2.1.2 \
8686
iotex-server \
8787
-config-path=/etc/iotex/config_override.yaml \
8888
-genesis-path=/etc/iotex/genesis.yaml
@@ -100,7 +100,7 @@ docker run -d --restart on-failure --name iotex \
100100
-v=$IOTEX_HOME/log:/var/log:rw \
101101
-v=$IOTEX_HOME/etc/config.yaml:/etc/iotex/config_override.yaml:ro \
102102
-v=$IOTEX_HOME/etc/genesis.yaml:/etc/iotex/genesis.yaml:ro \
103-
iotex/iotex-core:v2.1.0 \
103+
iotex/iotex-core:v2.1.2 \
104104
iotex-server \
105105
-config-path=/etc/iotex/config_override.yaml \
106106
-genesis-path=/etc/iotex/genesis.yaml \
@@ -120,7 +120,7 @@ docker run -d --restart on-failure --name iotex \
120120
```
121121
git clone https://github.com/iotexproject/iotex-core.git
122122
cd iotex-core
123-
git checkout v2.1.0
123+
git checkout v2.1.2
124124
125125
// optional
126126
export GOPROXY=https://goproxy.io

README_testnet.md

+7-7
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.0
21+
- TestNet: v2.1.2
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)
@@ -29,7 +29,7 @@ This is the recommended way to start an IoTeX node
2929
1. Pull the docker image:
3030

3131
```
32-
docker pull iotex/iotex-core:v2.1.0
32+
docker pull iotex/iotex-core:v2.1.2
3333
```
3434

3535
2. Set the environment with the following commands:
@@ -44,8 +44,8 @@ mkdir -p $IOTEX_HOME/data
4444
mkdir -p $IOTEX_HOME/log
4545
mkdir -p $IOTEX_HOME/etc
4646
47-
curl https://raw.githubusercontent.com/iotexproject/iotex-bootstrap/v2.1.0/config_testnet.yaml > $IOTEX_HOME/etc/config.yaml
48-
curl https://raw.githubusercontent.com/iotexproject/iotex-bootstrap/v2.1.0/genesis_testnet.yaml > $IOTEX_HOME/etc/genesis.yaml
47+
curl https://raw.githubusercontent.com/iotexproject/iotex-bootstrap/v2.1.2/config_testnet.yaml > $IOTEX_HOME/etc/config.yaml
48+
curl https://raw.githubusercontent.com/iotexproject/iotex-bootstrap/v2.1.2/genesis_testnet.yaml > $IOTEX_HOME/etc/genesis.yaml
4949
```
5050

5151
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.
@@ -85,7 +85,7 @@ docker run -d --restart on-failure --name iotex \
8585
-v=$IOTEX_HOME/log:/var/log:rw \
8686
-v=$IOTEX_HOME/etc/config.yaml:/etc/iotex/config_override.yaml:ro \
8787
-v=$IOTEX_HOME/etc/genesis.yaml:/etc/iotex/genesis.yaml:ro \
88-
iotex/iotex-core:v2.1.0 \
88+
iotex/iotex-core:v2.1.2 \
8989
iotex-server \
9090
-config-path=/etc/iotex/config_override.yaml \
9191
-genesis-path=/etc/iotex/genesis.yaml
@@ -105,7 +105,7 @@ docker run -d --restart on-failure --name iotex \
105105
-v=$IOTEX_HOME/log:/var/log:rw \
106106
-v=$IOTEX_HOME/etc/config.yaml:/etc/iotex/config_override.yaml:ro \
107107
-v=$IOTEX_HOME/etc/genesis.yaml:/etc/iotex/genesis.yaml:ro \
108-
iotex/iotex-core:v2.1.0 \
108+
iotex/iotex-core:v2.1.2 \
109109
iotex-server \
110110
-config-path=/etc/iotex/config_override.yaml \
111111
-genesis-path=/etc/iotex/genesis.yaml \
@@ -126,7 +126,7 @@ Same as [Join TestNet](#testnet) step 2
126126
```
127127
git clone https://github.com/iotexproject/iotex-core.git
128128
cd iotex-core
129-
git checkout v2.1.0
129+
git checkout v2.1.2
130130
131131
// optional
132132
export GOPROXY=https://goproxy.io

changelog/v2.1.2-release-note.md

+42
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
# v2.1.2 Release Note
2+
3+
## Summary
4+
**v2.1.2 is a major maintenance release to improve IoTeX network stability and
5+
robustness, and expanding API support.**
6+
7+
All nodes are **strongly recommended** to upgrade to this release, to make sure
8+
the node is update-to-date with latest release and ensure smooth block producing.
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.1.2 image.
13+
14+
This release introduces key enhancements to improve p2p network robustness, expand
15+
Ethereum API compatibility, and refine API service readiness for better system
16+
reliability.
17+
18+
## Key Features and Enhancements
19+
20+
1. p2p robustness enhancement: add a rate-limit mechanism at p2p netowrk level.
21+
This helps to regulate network traffic effectively, mitigate potential congestion,
22+
and enhance security by reducing the risk of malicious attacks.
23+
2. implementation of 2 new Ethereum-Compatible APIs:
24+
`eth_blobBaseFee`: returns the base fee per gas for blob transactions (EIP-4844).
25+
`eth_feeHistory`: provides historical gas fee data for improved fee estimation.
26+
3. API service readiness refinement: during the start-up, the API will wait all
27+
necessary internal components are fully initialized and ready before start accepting
28+
requests, reducing potential API error after service restart
29+
30+
## Upgrade Priority
31+
v2.1.2 comes with an important functional upgrade, all nodes are **strongly recommended**
32+
to upgrade in order to keep update-to-date with latest release and ensure smooth block
33+
producing.
34+
35+
| Node type | Action |
36+
| ---------- | ------------ |
37+
| Delegate | Recommended |
38+
| Fullnode | Recommended |
39+
| API node | Recommended |
40+
41+
## Commits
42+
https://github.com/iotexproject/iotex-core/compare/v2.1.0...v2.1.2

0 commit comments

Comments
 (0)