diff --git a/src/running-a-node.md b/src/running-a-node.md index 6bf1f308..8ac53adc 100644 --- a/src/running-a-node.md +++ b/src/running-a-node.md @@ -78,10 +78,10 @@ If something went wrong, please visit the [Docker documentation](https://docs.do ## Get the latest SORA Node version number -Users should use version **4.6.0** for the time being. We will update this article with the latest version after every update. +Users should use version **4.7.0** for the time being. We will update this article with the latest version after every update. You should use the latest SORA Node version in order to run a -node. You can see the latest build number here, and find the last +node. You can see the latest build number [here](https://hub.docker.com/r/sora2/substrate/tags), and find the last version with the`x.y.z` format. ![](/.gitbook/assets/running-node-version-tag.png) @@ -95,7 +95,7 @@ Use this version number for further `docker` commands in this guide. The number 1. Pull the docker image from the docker repository: ```bash - docker pull sora2/substrate:4.6.0 + docker pull sora2/substrate:4.7.0 ``` 2. Create a folder for the node configuration: @@ -123,7 +123,7 @@ Use this version number for further `docker` commands in this guide. The number 4. Run the docker image (don’t forget to insert your version below!) ```bash - docker run --rm -p 127.0.0.1:9933:9933 -p 127.0.0.1:9944:9944 -v `pwd`:/chain sora2/substrate:4.6.0 --name sora2-node --chain main --base-path /chain --unsafe-ws-external --unsafe-rpc-external --wasm-execution compiled + docker run --rm -p 127.0.0.1:9933:9933 -p 127.0.0.1:9944:9944 -v `pwd`:/chain sora2/substrate:4.7.0 --name sora2-node --chain main --base-path /chain --unsafe-ws-external --unsafe-rpc-external --wasm-execution compiled ``` ### On Windows @@ -131,7 +131,7 @@ Use this version number for further `docker` commands in this guide. The number 1. Pull the docker image from the docker repository: ```bash - docker pull sora2/substrate:4.6.0 + docker pull sora2/substrate:4.7.0 ``` 2. Create a folder for the node configuration: @@ -151,7 +151,7 @@ Use this version number for further `docker` commands in this guide. The number 4. Run the docker command: ```bash - docker run --rm -p 127.0.0.1:9933:9933 -p 127.0.0.1:9944:9944 -v sora2-node:/chain -u 0 sora2/substrate:4.6.0 --name sora2-node --chain main --base-path /chain --unsafe-ws-external --unsafe-rpc-external --wasm-execution compiled + docker run --rm -p 127.0.0.1:9933:9933 -p 127.0.0.1:9944:9944 -v sora2-node:/chain -u 0 sora2/substrate:4.7.0 --name sora2-node --chain main --base-path /chain --unsafe-ws-external --unsafe-rpc-external --wasm-execution compiled ``` 5. Now you can connect to your node with [polkadot.js apps](https://polkadot.js.org/apps/#/explorer). Select Local node and click Switch. @@ -167,7 +167,7 @@ Now your node should sync! 1. Pull the docker image from the docker repository: ```bash - docker pull sora2/substrate:4.6.0 + docker pull sora2/substrate:4.7.0 ``` 2. Create a folder for the node configuration @@ -195,7 +195,7 @@ Now your node should sync! 4. Run the Docker command: ``` - docker run --rm -p 127.0.0.1:9933:9933 -p 127.0.0.1:9944:9944 -v `pwd`:/chain sora2/substrate:4.6.0 --name sora2-node --chain main --base-path /chain --validator --rpc-methods Unsafe --rpc-cors all --execution Wasm --wasm-execution compiled + docker run --rm -p 127.0.0.1:9933:9933 -p 127.0.0.1:9944:9944 -v `pwd`:/chain sora2/substrate:4.7.0 --name sora2-node --chain main --base-path /chain --validator --rpc-methods Unsafe --rpc-cors all --execution Wasm --wasm-execution compiled ``` You can add the following flag to enable [Telemetry](https://telemetry.polkadot.io/#list/SORA) for your node @@ -207,7 +207,7 @@ Now your node should sync! 1. Pull the docker image from the docker repository ``` - docker pull sora2/substrate:4.6.0 + docker pull sora2/substrate:4.7.0 ``` 2. Create a folder for the node configuration @@ -227,7 +227,7 @@ Now your node should sync! 4. Run the Docker command ``` - docker run --rm -p 127.0.0.1:9933:9933 -p 127.0.0.1:9944:9944 -v `pwd`:/chain sora2/substrate:4.6.0 --name sora2-node --chain main --base-path /chain --validator --rpc-methods Unsafe --rpc-cors all --execution Wasm --wasm-execution compiled + docker run --rm -p 127.0.0.1:9933:9933 -p 127.0.0.1:9944:9944 -v `pwd`:/chain sora2/substrate:4.7.0 --name sora2-node --chain main --base-path /chain --validator --rpc-methods Unsafe --rpc-cors all --execution Wasm --wasm-execution compiled ``` ## Get session keys @@ -345,7 +345,7 @@ You can change the name of your node by editing the parameter value of: 1. Pull the docker image from the docker repository ```bash - docker pull sora2/substrate:4.6.0 + docker pull sora2/substrate:4.7.0 ``` 2. Create a folder for the node configuration @@ -373,7 +373,7 @@ You can change the name of your node by editing the parameter value of: 4. Run the Docker command ```bash - docker run --rm -p 127.0.0.1:9933:9933 -p 127.0.0.1:9944:9944 -v `pwd`:/chain sora2/substrate:4.6.0 --name sora2-my-node --chain main --base-path /chain --unsafe-ws-external --pruning archive --unsafe-rpc-external --wasm-execution compiled + docker run --rm -p 127.0.0.1:9933:9933 -p 127.0.0.1:9944:9944 -v `pwd`:/chain sora2/substrate:4.7.0 --name sora2-my-node --chain main --base-path /chain --unsafe-ws-external --pruning archive --unsafe-rpc-external --wasm-execution compiled ``` ### On Windows @@ -381,7 +381,7 @@ You can change the name of your node by editing the parameter value of: 1. Pull the docker image from the docker repository ```bash - docker pull sora2/substrate:3.2.2 + docker pull sora2/substrate:4.7.0 ``` 2. Create a folder for the node configuration: @@ -401,7 +401,7 @@ You can change the name of your node by editing the parameter value of: 4. Run the Docker command: ```bash - docker run --rm -p 127.0.0.1:9933:9933 -p 127.0.0.1:9944:9944 -v sora2-node:/chain -u 0 sora2/substrate:4.6.0 --name sora2-my-node --chain main --base-path /chain --unsafe-ws-external --pruning archive --unsafe-rpc-external --wasm-execution compiled + docker run --rm -p 127.0.0.1:9933:9933 -p 127.0.0.1:9944:9944 -v sora2-node:/chain -u 0 sora2/substrate:4.7.0 --name sora2-my-node --chain main --base-path /chain --unsafe-ws-external --pruning archive --unsafe-rpc-external --wasm-execution compiled ``` The node will take some time to sync. The output in logs should look like this: