Skip to content

Commit 0fca73a

Browse files
authored
v1.6 release note (#204)
1 parent 2cc84c1 commit 0fca73a

File tree

4 files changed

+40
-22
lines changed

4 files changed

+40
-22
lines changed

README.md

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -19,16 +19,16 @@
1919

2020
Here are the software versions we use:
2121

22-
- MainNet: v1.5.0
23-
- TestNet: v1.5.0
22+
- MainNet: v1.6.0
23+
- TestNet: v1.6.0
2424

2525
## <a name="mainnet"/>Join MainNet
2626
This is the recommended way to start an IoTeX node
2727

2828
1. Pull the docker image:
2929

3030
```
31-
docker pull iotex/iotex-core:v1.5.0
31+
docker pull iotex/iotex-core:v1.6.0
3232
```
3333

3434
2. Set the environment with the following commands:
@@ -43,8 +43,9 @@ mkdir -p $IOTEX_HOME/data
4343
mkdir -p $IOTEX_HOME/log
4444
mkdir -p $IOTEX_HOME/etc
4545
46-
curl https://raw.githubusercontent.com/iotexproject/iotex-bootstrap/v1.5.0/config_mainnet.yaml > $IOTEX_HOME/etc/config.yaml
47-
curl https://raw.githubusercontent.com/iotexproject/iotex-bootstrap/v1.5.0/genesis_mainnet.yaml > $IOTEX_HOME/etc/genesis.yaml
46+
curl https://raw.githubusercontent.com/iotexproject/iotex-bootstrap/v1.6.0/config_mainnet.yaml > $IOTEX_HOME/etc/config.yaml
47+
curl https://raw.githubusercontent.com/iotexproject/iotex-bootstrap/v1.6.0/genesis_mainnet.yaml > $IOTEX_HOME/etc/genesis.yaml
48+
curl https://raw.githubusercontent.com/iotexproject/iotex-bootstrap/v1.6.0/trie.db.patch > $IOTEX_HOME/data/trie.db.patch
4849
```
4950

5051
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.
@@ -84,7 +85,7 @@ docker run -d --restart on-failure --name iotex \
8485
-v=$IOTEX_HOME/log:/var/log:rw \
8586
-v=$IOTEX_HOME/etc/config.yaml:/etc/iotex/config_override.yaml:ro \
8687
-v=$IOTEX_HOME/etc/genesis.yaml:/etc/iotex/genesis.yaml:ro \
87-
iotex/iotex-core:v1.5.0 \
88+
iotex/iotex-core:v1.6.0 \
8889
iotex-server \
8990
-config-path=/etc/iotex/config_override.yaml \
9091
-genesis-path=/etc/iotex/genesis.yaml
@@ -103,7 +104,7 @@ docker run -d --restart on-failure --name iotex \
103104
-v=$IOTEX_HOME/log:/var/log:rw \
104105
-v=$IOTEX_HOME/etc/config.yaml:/etc/iotex/config_override.yaml:ro \
105106
-v=$IOTEX_HOME/etc/genesis.yaml:/etc/iotex/genesis.yaml:ro \
106-
iotex/iotex-core:v1.5.0 \
107+
iotex/iotex-core:v1.6.0 \
107108
iotex-server \
108109
-config-path=/etc/iotex/config_override.yaml \
109110
-genesis-path=/etc/iotex/genesis.yaml \
@@ -124,7 +125,7 @@ Same as [Join MainNet](#mainnet) step 2
124125
```
125126
git clone https://github.com/iotexproject/iotex-core.git
126127
cd iotex-core
127-
git checkout checkout v1.5.0
128+
git checkout checkout v1.6.0
128129
129130
// optional
130131
export GOPROXY=https://goproxy.io
@@ -167,8 +168,8 @@ nohup $IOTEX_HOME/iotex-server \
167168
There's almost no difference to join TestNet, but in step 2, you need to use the config and genesis files for TestNet:
168169

169170
```
170-
curl https://raw.githubusercontent.com/iotexproject/iotex-bootstrap/v1.5.0/config_testnet.yaml > $IOTEX_HOME/etc/config.yaml
171-
curl https://raw.githubusercontent.com/iotexproject/iotex-bootstrap/v1.5.0/genesis_testnet.yaml > $IOTEX_HOME/etc/genesis.yaml
171+
curl https://raw.githubusercontent.com/iotexproject/iotex-bootstrap/v1.6.0/config_testnet.yaml > $IOTEX_HOME/etc/config.yaml
172+
curl https://raw.githubusercontent.com/iotexproject/iotex-bootstrap/v1.6.0/genesis_testnet.yaml > $IOTEX_HOME/etc/genesis.yaml
172173
```
173174

174175
In step 4, you need to use the snapshot for TestNet: https://t.iotex.me/testnet-data-latest and https://t.iotex.me/testnet-data-with-idx-latest. If you need legacy delegate election data(poll.db) for TestNet, you can download it here: https://storage.googleapis.com/blockchain-golden/poll.testnet.tar.gz

README_CN.md

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

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

22-
- 主网:v1.5.0
23-
- 测试网:v1.5.0
22+
- 主网:v1.6.0
23+
- 测试网:v1.6.0
2424

2525
## <a name="mainnet"/>加入主网
2626

@@ -29,7 +29,7 @@
2929
1. 提取(pull) docker镜像
3030

3131
```
32-
docker pull iotex/iotex-core:v1.5.0
32+
docker pull iotex/iotex-core:v1.6.0
3333
```
3434

3535
2. 使用以下命令设置运行环境
@@ -44,8 +44,9 @@ 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/v1.5.0/config_mainnet.yaml > $IOTEX_HOME/etc/config.yaml
48-
curl https://raw.githubusercontent.com/iotexproject/iotex-bootstrap/v1.5.0/genesis_mainnet.yaml > $IOTEX_HOME/etc/genesis.yaml
47+
curl https://raw.githubusercontent.com/iotexproject/iotex-bootstrap/v1.6.0/config_mainnet.yaml > $IOTEX_HOME/etc/config.yaml
48+
curl https://raw.githubusercontent.com/iotexproject/iotex-bootstrap/v1.6.0/genesis_mainnet.yaml > $IOTEX_HOME/etc/genesis.yaml
49+
curl https://raw.githubusercontent.com/iotexproject/iotex-bootstrap/v1.6.0/trie.db.patch > $IOTEX_HOME/data/trie.db.patch
4950
```
5051

5152
3. 编辑 `$IOTEX_HOME/etc/config.yaml`, 查找 `externalHost``producerPrivKey`, 取消注释行并填写您的外部 IP 和私钥。如果`producerPrivKey`放空,你的节点将被分配一个随机密钥。
@@ -82,7 +83,7 @@ docker run -d --restart on-failure --name iotex \
8283
-v=$IOTEX_HOME/log:/var/log:rw \
8384
-v=$IOTEX_HOME/etc/config.yaml:/etc/iotex/config_override.yaml:ro \
8485
-v=$IOTEX_HOME/etc/genesis.yaml:/etc/iotex/genesis.yaml:ro \
85-
iotex/iotex-core:v1.5.0 \
86+
iotex/iotex-core:v1.6.0 \
8687
iotex-server \
8788
-config-path=/etc/iotex/config_override.yaml \
8889
-genesis-path=/etc/iotex/genesis.yaml
@@ -100,7 +101,7 @@ docker run -d --restart on-failure --name iotex \
100101
-v=$IOTEX_HOME/log:/var/log:rw \
101102
-v=$IOTEX_HOME/etc/config.yaml:/etc/iotex/config_override.yaml:ro \
102103
-v=$IOTEX_HOME/etc/genesis.yaml:/etc/iotex/genesis.yaml:ro \
103-
iotex/iotex-core:v1.5.0 \
104+
iotex/iotex-core:v1.6.0 \
104105
iotex-server \
105106
-config-path=/etc/iotex/config_override.yaml \
106107
-genesis-path=/etc/iotex/genesis.yaml \
@@ -120,7 +121,7 @@ docker run -d --restart on-failure --name iotex \
120121
```
121122
git clone https://github.com/iotexproject/iotex-core.git
122123
cd iotex-core
123-
git checkout checkout v1.5.0
124+
git checkout checkout v1.6.0
124125
125126
// optional
126127
export GOPROXY=https://goproxy.io
@@ -157,13 +158,13 @@ nohup $IOTEX_HOME/iotex-server \
157158

158159
加入测试网络基本没有什么不同,只是在第二步,您需要使用以下的源文件:
159160
```
160-
curl https://raw.githubusercontent.com/iotexproject/iotex-bootstrap/v1.5.0/config_testnet.yaml > $IOTEX_HOME/etc/config.yaml
161-
curl https://raw.githubusercontent.com/iotexproject/iotex-bootstrap/v1.5.0/genesis_testnet.yaml > $IOTEX_HOME/etc/genesis.yaml
161+
curl https://raw.githubusercontent.com/iotexproject/iotex-bootstrap/v1.6.0/config_testnet.yaml > $IOTEX_HOME/etc/config.yaml
162+
curl https://raw.githubusercontent.com/iotexproject/iotex-bootstrap/v1.6.0/genesis_testnet.yaml > $IOTEX_HOME/etc/genesis.yaml
162163
```
163164

164165
在步骤四中,您需要使用针对于测试网络的数据快照: https://t.iotex.me/testnet-data-latesthttps://t.iotex.me/testnet-data-with-idx-latest (如果节点启用了网关). 如果您需要使用测试网中旧的节点代表数据(poll.db),可以在此处下载: https://storage.googleapis.com/blockchain-golden/poll.testnet.tar.gz
165166

166-
在步骤五,您需要将docker镜像的标签替换成``v1.5.0``
167+
在步骤五,您需要将docker镜像的标签替换成``v1.6.0``
167168

168169

169170
## <a name="ioctl"/>与区块链交互

changelog/v1.6-release-note.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# v1.6 Release Note
2+
3+
## v1.6.0 Release Note
4+
**Note that v1.6.0 has a hardfork, which will be activated at block height
5+
13,979,161 (ETA is 10/28/2021 around 11pm UTC) on IoTeX mainnet.**
6+
1. Added API tracing functionality, which enables measuring and visualizing the
7+
break-down of API call timing. We'll work on API performance improvement based
8+
on the observability this tool provides in future releases
9+
2. Exposed gRPC health check point in the API server
10+
3. Fixed contract read issue for certain smart contracts we've seen earlier
11+
4. ioctl tool can export private key from HDWallet now

scripts/setup_fullnode.sh

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,12 @@ function downloadConfig() {
217217
echo "download new config"
218218
curl -Ss https://raw.githubusercontent.com/iotexproject/iotex-bootstrap/${version}/config_${env}.yaml > $IOTEX_HOME/etc/config.yaml
219219
curl -Ss https://raw.githubusercontent.com/iotexproject/iotex-bootstrap/${version}/genesis_${env}.yaml > $IOTEX_HOME/etc/genesis.yaml
220-
# https://raw.githubusercontent.com/iotexproject/iotex-bootstrap/v0.9.2/config_mainnet.yaml
220+
221+
#Download patch file
222+
if [ "${_ENV_}X" = "mainnetX" ];then
223+
echo -e "Downloading the patch file"
224+
curl https://raw.githubusercontent.com/iotexproject/iotex-bootstrap/${version}/trie.db.patch > $IOTEX_HOME/data/trie.db.patch
225+
fi
221226

222227
SED_IS_GNU=0
223228
sedCheck

0 commit comments

Comments
 (0)