Skip to content

Commit

Permalink
[KEW-1450] Fix upgrade documentation (EOSIO#26)
Browse files Browse the repository at this point in the history
* [KEW-1450] Fix upgrade documentation
  • Loading branch information
porkchop authored Aug 8, 2019
1 parent 97d82b1 commit e2187f1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ IMPROVEMENTS:

BUG FIXES:
- [KEW-1450] Fix documentation
- [KEW-1450] Fix upgrade documentation

## wax-1.8.1-1.0.0

Expand Down
10 changes: 5 additions & 5 deletions UPGRADE_TO_1_8_1.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ The upgrade to 1.8.1 boils down to 3 key steps:
1. Upgrading your node's docker image to our 1.8.1-1.0.0 image, or replacing your nodeos binary with a self-compiled version from our 1.8.1-1.0.0 tag on Github.
2. Deleting (and optionally backing up) your old blockchain data.
3. Resyncing the blockchain

We explain these steps in some detail assuming that the node operator is using our ready to use docker images to run their node, similar to the setup explained here: [Mainnet full node example](https://github.com/worldwide-asset-exchange/wax-blockchain/tree/develop/samples/mainnet).
If you are running a self compiled version of the WAX node, the steps are similar, but you will be simply restarting your nodeos executable rather than restarting the docker image.

Expand Down Expand Up @@ -43,10 +44,9 @@ docker run -t --sig-proxy=true --name nodeos \
-v $HOST_WAX_HOME/data:$NODEOS_HOME/data \
-v $HOST_WAX_HOME/config.ini:$NODEOS_HOME/config/config.ini \
-v $HOST_WAX_HOME/genesis.json:$NODEOS_HOME/config/genesis.json \
-v $HOST_WAX_HOME/protocol_features:$NODEOS_HOME/config/protocol_features \
-p 127.0.0.1:8888:8888 \
-p 9876:9876 \
-t waxteam/production:wax-1.8.1-1.0.0 \
waxteam/production:wax-1.8.1-1.0.0 \
nodeos --genesis-json $NODEOS_HOME/config/genesis.json
```

Expand All @@ -64,22 +64,22 @@ bnet-no-trx
$ $HOST_WAX_HOME/nodeos.sh
```

#### 6. Validate the running version:
#### 6. Validate the running version
Validate that we are running the expected version.
```console
$ docker exec nodeos nodeos --version
# Output should be:
wax-1.8.1-1.0.0
```

#### 7. Review log:
#### 7. Review log
Check out logs to verify that everything is fine.
```console
$ docker logs nodeos
# Should see several “Received block” type lines with increasing block numbers
```

#### 8. Allow the node to complete the full sync:
#### 8. Allow the node to complete the full sync
It may take some time for your node to fully synchronize the full chain history.

### Upgrade Notes
Expand Down

0 comments on commit e2187f1

Please sign in to comment.