Skip to content

Commit

Permalink
Merge pull request #23 from HorizenOfficial/release-1-3-0+3
Browse files Browse the repository at this point in the history
Upgrade zend to version 5.0.2 for forgers
  • Loading branch information
otoumas authored Apr 17, 2024
2 parents 7c0d262 + 2cf136d commit b610884
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 7 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Changelog

**1.3.0+3**
* ZEND version: 5.0.2.

**1.3.0+2**
* SCNODE_FORGER_REWARD_ADDRESS implemented in EON version **1.3.0** added to the compose project as well as to the setup forger process.

Expand Down
18 changes: 15 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,24 @@ This repository contains all the resources for deploying a forger or rpc EVM sid

## Upgrade

1. If your project structure is 1.2.* , first follow the instructions here: [Migration from 1.2.* to 1.3.0](./docs/MIGRATION.md)
2. Run the [upgrade.sh](./scripts/upgrade.sh) script to upgrade the project to the new version. Should the script prompt you to update some of the values in .env file, it is reccomended to accept all the changes unless you know what you are doing.
3. Check that you're running the updated version with the following command :
1. Run the [upgrade.sh](./scripts/upgrade.sh) script to upgrade the project to the new version. Should the script prompt you to update some of the values in .env file, it is recommended to accept all the changes unless you know what you are doing.
2. Check that you're running the updated versions with the following commands:
```
# check that the containers are running the correct versions
docker ps
# check the EVMAPP version
docker exec evmapp gosu user curl -X POST "http://127.0.0.1:9545/node/info" -H "accept: application/json" | grep nodeVersion
# check the ZEND version
docker exec zend gosu user zen-cli getinfo | grep version
```

# Migration from version 1.2.0

(Only for projects that are using version 1.2.0 or earlier)

1. If your project structure is 1.2.* , first follow the instructions here: [Migration from 1.2.* to 1.3.0](./docs/MIGRATION.md)

---

4 changes: 2 additions & 2 deletions env/.env.forger.eon.template
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
COMPOSE_PROJECT_NAME=evmapp-mainnet-eon
COMPOSE_PROJECT_DATA_DIR=""
INTERNAL_NETWORK_SUBNET='10.10.50.0/24'
ZEND_TAG=v5.0.1
ZEND_TAG=v5.0.2
ZEND_CONTAINER_NAME=zend
ZEND_IP_ADDRESS='10.10.50.10'
EVMAPP_TAG=1.3.0
Expand All @@ -17,7 +17,7 @@ ZEN_RPC_PORT=8231
ZEN_WS_PORT=8888
ZEN_RPC_ALLOWIP_PRESET=SUBNET
ZEN_EXTERNAL_IP=DETECT
ZEN_OPTS="-websocket=1 -wsaddress=0.0.0.0 -wsport=8888 -disablewallet=1 -logips=1 -logtimestamps=1 -disabledeprecation=5.0.1 -debug=ws"
ZEN_OPTS="-websocket=1 -wsaddress=0.0.0.0 -wsport=8888 -disablewallet=1 -logips=1 -logtimestamps=1 -disabledeprecation=5.0.2 -debug=ws"
ZEN_CUSTOM_SCRIPT=/usr/local/bin/seed.sh
ZEN_SEED_TAR_GZ_URL="https://downloads.horizen.io/file/InfraPublic/mainchain_mainnet_seed_noindex_2023-06-27.tgz"
ZEN_FORCE_RESEED=false
Expand Down
4 changes: 2 additions & 2 deletions env/.env.forger.gobi.template
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
COMPOSE_PROJECT_NAME=evmapp-testnet-gobi
COMPOSE_PROJECT_DATA_DIR=""
INTERNAL_NETWORK_SUBNET='10.10.51.0/24'
ZEND_TAG=v5.0.1
ZEND_TAG=v5.0.2
ZEND_CONTAINER_NAME=zend-testnet
ZEND_IP_ADDRESS='10.10.51.10'
EVMAPP_TAG=1.3.0
Expand All @@ -18,7 +18,7 @@ ZEN_RPC_PORT=18231
ZEN_WS_PORT=18888
ZEN_RPC_ALLOWIP_PRESET=SUBNET
ZEN_EXTERNAL_IP=DETECT
ZEN_OPTS="-websocket=1 -wsaddress=0.0.0.0 -wsport=18888 -disablewallet=1 -logips=1 -logtimestamps=1 -testnet=1 -disabledeprecation=5.0.1 -debug=ws"
ZEN_OPTS="-websocket=1 -wsaddress=0.0.0.0 -wsport=18888 -disablewallet=1 -logips=1 -logtimestamps=1 -testnet=1 -disabledeprecation=5.0.2 -debug=ws"
ZEN_CUSTOM_SCRIPT=/usr/local/bin/seed.sh
ZEN_SEED_TAR_GZ_URL="https://downloads.horizen.io/file/InfraPublic/mainchain_testnet_seed_noindex_2023-06-27.tgz"
ZEN_FORCE_RESEED=false
Expand Down

0 comments on commit b610884

Please sign in to comment.