Skip to content

Commit

Permalink
Merge pull request #272 from iotexproject/140rc0
Browse files Browse the repository at this point in the history
pre-release v1.14.0-rc0 for testnet
  • Loading branch information
millken authored Mar 19, 2024
2 parents d73913d + 65c4c78 commit a22ddfb
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 14 deletions.
14 changes: 7 additions & 7 deletions README_CN_testnet.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

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

- 测试网:v1.13.1
- 测试网:v1.14.0-rc0

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

```
docker pull iotex/iotex-core:v1.13.1
docker pull iotex/iotex-core:v1.14.0-rc0
```

2. 使用以下命令设置运行环境
Expand All @@ -44,8 +44,8 @@ mkdir -p $IOTEX_HOME/data
mkdir -p $IOTEX_HOME/log
mkdir -p $IOTEX_HOME/etc
curl https://raw.githubusercontent.com/iotexproject/iotex-bootstrap/v1.13.1/config_testnet.yaml > $IOTEX_HOME/etc/config.yaml
curl https://raw.githubusercontent.com/iotexproject/iotex-bootstrap/v1.13.1/genesis_testnet.yaml > $IOTEX_HOME/etc/genesis.yaml
curl https://raw.githubusercontent.com/iotexproject/iotex-bootstrap/master/config_testnet.yaml > $IOTEX_HOME/etc/config.yaml
curl https://raw.githubusercontent.com/iotexproject/iotex-bootstrap/master/genesis_testnet.yaml > $IOTEX_HOME/etc/genesis.yaml
```

3. 编辑 `$IOTEX_HOME/etc/config.yaml`, 查找 `externalHost``producerPrivKey`, 取消注释行并填写您的外部 IP 和私钥。如果`producerPrivKey`放空,你的节点将被分配一个随机密钥。
Expand Down Expand Up @@ -82,7 +82,7 @@ docker run -d --restart on-failure --name iotex \
-v=$IOTEX_HOME/log:/var/log:rw \
-v=$IOTEX_HOME/etc/config.yaml:/etc/iotex/config_override.yaml:ro \
-v=$IOTEX_HOME/etc/genesis.yaml:/etc/iotex/genesis.yaml:ro \
iotex/iotex-core:v1.13.1 \
iotex/iotex-core:v1.14.0-rc0 \
iotex-server \
-config-path=/etc/iotex/config_override.yaml \
-genesis-path=/etc/iotex/genesis.yaml
Expand All @@ -100,7 +100,7 @@ docker run -d --restart on-failure --name iotex \
-v=$IOTEX_HOME/log:/var/log:rw \
-v=$IOTEX_HOME/etc/config.yaml:/etc/iotex/config_override.yaml:ro \
-v=$IOTEX_HOME/etc/genesis.yaml:/etc/iotex/genesis.yaml:ro \
iotex/iotex-core:v1.13.1 \
iotex/iotex-core:v1.14.0-rc0 \
iotex-server \
-config-path=/etc/iotex/config_override.yaml \
-genesis-path=/etc/iotex/genesis.yaml \
Expand All @@ -120,7 +120,7 @@ docker run -d --restart on-failure --name iotex \
```
git clone https://github.com/iotexproject/iotex-core.git
cd iotex-core
git checkout v1.13.1
git checkout v1.14.0-rc0
// optional
export GOPROXY=https://goproxy.io
Expand Down
14 changes: 7 additions & 7 deletions README_testnet.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

Here are the software versions we use:

- TestNet: v1.13.1
- TestNet: v1.14.0-rc0

**Note**
To start and run a mainnet node, please click [**Join Mainnet**](https://github.com/iotexproject/iotex-bootstrap/blob/master/README.md)
Expand All @@ -29,7 +29,7 @@ This is the recommended way to start an IoTeX node
1. Pull the docker image:

```
docker pull iotex/iotex-core:v1.13.1
docker pull iotex/iotex-core:v1.14.0-rc0
```

2. Set the environment with the following commands:
Expand All @@ -44,8 +44,8 @@ mkdir -p $IOTEX_HOME/data
mkdir -p $IOTEX_HOME/log
mkdir -p $IOTEX_HOME/etc
curl https://raw.githubusercontent.com/iotexproject/iotex-bootstrap/v1.13.1/config_testnet.yaml > $IOTEX_HOME/etc/config.yaml
curl https://raw.githubusercontent.com/iotexproject/iotex-bootstrap/v1.13.1/genesis_testnet.yaml > $IOTEX_HOME/etc/genesis.yaml
curl https://raw.githubusercontent.com/iotexproject/iotex-bootstrap/master/config_testnet.yaml > $IOTEX_HOME/etc/config.yaml
curl https://raw.githubusercontent.com/iotexproject/iotex-bootstrap/master/genesis_testnet.yaml > $IOTEX_HOME/etc/genesis.yaml
```

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.
Expand Down Expand Up @@ -85,7 +85,7 @@ docker run -d --restart on-failure --name iotex \
-v=$IOTEX_HOME/log:/var/log:rw \
-v=$IOTEX_HOME/etc/config.yaml:/etc/iotex/config_override.yaml:ro \
-v=$IOTEX_HOME/etc/genesis.yaml:/etc/iotex/genesis.yaml:ro \
iotex/iotex-core:v1.13.1 \
iotex/iotex-core:v1.14.0-rc0 \
iotex-server \
-config-path=/etc/iotex/config_override.yaml \
-genesis-path=/etc/iotex/genesis.yaml
Expand All @@ -105,7 +105,7 @@ docker run -d --restart on-failure --name iotex \
-v=$IOTEX_HOME/log:/var/log:rw \
-v=$IOTEX_HOME/etc/config.yaml:/etc/iotex/config_override.yaml:ro \
-v=$IOTEX_HOME/etc/genesis.yaml:/etc/iotex/genesis.yaml:ro \
iotex/iotex-core:v1.13.1 \
iotex/iotex-core:v1.14.0-rc0 \
iotex-server \
-config-path=/etc/iotex/config_override.yaml \
-genesis-path=/etc/iotex/genesis.yaml \
Expand All @@ -126,7 +126,7 @@ Same as [Join TestNet](#testnet) step 2
```
git clone https://github.com/iotexproject/iotex-core.git
cd iotex-core
git checkout v1.13.1
git checkout v1.14.0-rc0
// optional
export GOPROXY=https://goproxy.io
Expand Down
1 change: 1 addition & 0 deletions genesis_testnet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ blockchain:
quebecHeight: 20562481
redseaHeight: 22919041
sumatraHeight: 24527521
tsunamiHeight: 25226641
numCandidateDelegates: 36
numDelegates: 24
numSubEpochs: 15
Expand Down

0 comments on commit a22ddfb

Please sign in to comment.