Skip to content

Commit

Permalink
Improve update guide (#20)
Browse files Browse the repository at this point in the history
  • Loading branch information
lander86 authored Mar 25, 2024
1 parent ca49b64 commit 78d420f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,12 @@ This repository contains all the resources for deploying a forger or rpc EVM sid

## Upgrade

1. If your project structure is 1.2.* follow the instructions here: [Migration from 1.2.* to 1.3.0](./docs/MIGRATION.md)
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 :
```
docker exec evmapp gosu user curl -X POST "http://127.0.0.1:9545/node/info" -H "accept: application/json" | grep nodeVersion
```

---

1 change: 1 addition & 0 deletions docs/MIGRATION.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,5 @@ If you are using version 1.2.* of this project, you will need to follow these st
5. When requested by the script provide the already generated SCNODE_WALLET_SEED available in the old .env file.
6. Review the new .env file and update the values if necessary. For instance RPC or REST passwords, or node names.
7. Run the `docker compose up -d` command to start the new containers. See the [README](../README.md) for more information.
8. Go back to [README](../README.md) and execute the second step, regarding the [upgrade.sh](./scripts/upgrade.sh) script.
The nodes should start and use the old volumes and data, so there should be no need to resync the nodes.

0 comments on commit 78d420f

Please sign in to comment.