Skip to content

Commit 2f63240

Browse files
authored
Merge pull request #280 from iotexproject/20rc1
pre-release v2.0.0-rc1 for testnet
2 parents b834998 + 771f1e0 commit 2f63240

File tree

3 files changed

+17
-14
lines changed

3 files changed

+17
-14
lines changed

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-
- 测试网:v1.14.2
20+
- 测试网:v2.0.0-rc1
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:v1.14.2
32+
docker pull iotex/iotex-core:v2.0.0-rc1
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/v1.14.2/config_testnet.yaml > $IOTEX_HOME/etc/config.yaml
48-
curl https://raw.githubusercontent.com/iotexproject/iotex-bootstrap/v1.14.2/genesis_testnet.yaml > $IOTEX_HOME/etc/genesis.yaml
47+
curl https://raw.githubusercontent.com/iotexproject/iotex-bootstrap/master/config_testnet.yaml > $IOTEX_HOME/etc/config.yaml
48+
curl https://raw.githubusercontent.com/iotexproject/iotex-bootstrap/master/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:v1.14.2 \
85+
iotex/iotex-core:v2.0.0-rc1 \
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:v1.14.2 \
103+
iotex/iotex-core:v2.0.0-rc1 \
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 v1.14.2
123+
git checkout v2.0.0-rc1
124124
125125
// optional
126126
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: v1.14.2
21+
- TestNet: v2.0.0-rc1
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:v1.14.2
32+
docker pull iotex/iotex-core:v2.0.0-rc1
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/v1.14.2/config_testnet.yaml > $IOTEX_HOME/etc/config.yaml
48-
curl https://raw.githubusercontent.com/iotexproject/iotex-bootstrap/v1.14.2/genesis_testnet.yaml > $IOTEX_HOME/etc/genesis.yaml
47+
curl https://raw.githubusercontent.com/iotexproject/iotex-bootstrap/master/config_testnet.yaml > $IOTEX_HOME/etc/config.yaml
48+
curl https://raw.githubusercontent.com/iotexproject/iotex-bootstrap/master/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:v1.14.2 \
88+
iotex/iotex-core:v2.0.0-rc1 \
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:v1.14.2 \
108+
iotex/iotex-core:v2.0.0-rc1 \
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 v1.14.2
129+
git checkout v2.0.0-rc1
130130
131131
// optional
132132
export GOPROXY=https://goproxy.io

genesis_testnet.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ blockchain:
3232
redseaHeight: 22919041
3333
sumatraHeight: 24527521
3434
tsunamiHeight: 25226641
35+
upernavikHeight: 26984161
3536
numCandidateDelegates: 36
3637
numDelegates: 24
3738
numSubEpochs: 15
@@ -54,6 +55,8 @@ poll:
5455
systemStakingContractHeight: 20645456
5556
systemSGDContractAddress: io1d82m3ywplzfcw9fxlh497jve5ljsud2rg4gute
5657
systemSGDContractHeight: 20315706
58+
systemStakingContractV2Address: io1l45vd72wykrxkculmh4m9ekudqrml0jles7mkm
59+
systemStakingContractV2Height: 26978830
5760
staking:
5861
withdrawWaitingPeriod: "336h"
5962
rewarding:

0 commit comments

Comments
 (0)