Skip to content

Commit 99d0c37

Browse files
authored
Merge pull request #308 from iotexproject/mn_r23
v2.3.0 release
2 parents 9b9eeb1 + e670714 commit 99d0c37

File tree

6 files changed

+67
-30
lines changed

6 files changed

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

changelog/v2.3.0-release-node.md

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
# v2.3.0 Release Note
2+
3+
## Summary
4+
**v2.3.0 has a hardfork, which will be activated at block height 41648761
5+
(ETA is around Nov-04-2025 03:45:07 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.3.0 image.
13+
14+
This release enables [IIP-50](https://github.com/iotexproject/iips/blob/master/iip-50.md), which introduces slashing mechanisms for unproductive delegates. This enhancement significantly improves network security and delegate accountability by applying penalties to the self-stake of delegates who fail to meet productivity requirements.
15+
16+
Additionally, this release enhances candidate registration capabilities by supporting BLS PublicKey registration and updates, laying the foundation for future BLS signature aggregation improvements outlined in [IIP-52](https://github.com/iotexproject/iips/blob/master/iip-52.md).
17+
18+
## Key Features and Enhancements
19+
20+
1. **IIP-50 Slash Candidates**: Implement slashing mechanism that applies penalties to self-stake of unproductive delegates, enhancing network security and delegate accountability.
21+
2. **Enhanced Candidate Registration**: Add support for BLS PublicKey registration and updates in CandidateRegister and CandidateUpdate transactions, preparing the groundwork for IIP-52 BLS signature aggregation.
22+
23+
24+
## Upgrade Priority
25+
v2.3.0 comes with a hardfork, so all nodes **must** upgrade in order to keep
26+
syncing with the IoTeX blockchain
27+
28+
| Node type | Action |
29+
| ---------- | ------------ |
30+
| Delegate | Must upgrade |
31+
| Fullnode | Must upgrade |
32+
| API node | Must upgrade |
33+
34+
## Commits
35+
https://github.com/iotexproject/iotex-core/compare/v2.2.2...v2.3.0

genesis_testnet.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,8 @@ blockchain:
3636
upernavikHeight: 26984161
3737
vanuatuHeight: 28820881
3838
wakeHeight: 31943521
39+
xinguHeight: 36619201
40+
xinguBetaHeight: 36826561
3941
numCandidateDelegates: 36
4042
numDelegates: 24
4143
numSubEpochs: 15

0 commit comments

Comments
 (0)