From 402043fb18a650b21e6774926df4b74e7eee9dc5 Mon Sep 17 00:00:00 2001 From: Andrei Navoichyk Date: Fri, 19 May 2023 11:00:02 +0200 Subject: [PATCH 1/2] updated the README for runtimes --- README.md | 23 ++++++++++++++--------- 1 file changed, 14 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index d12781ef1..c622d8a1a 100644 --- a/README.md +++ b/README.md @@ -72,23 +72,28 @@ $ ls ./my-chain-state/chains/dev db keystore network ``` -### Custom Chain Spec +### Runtimes The node supports 2 runtimes. #### Runtime `cere` -Runtime `cere` uses by default in Cere Mainnet/Testnet/QAnet. You can start the node with it by running the command: -```bash -./target/release/cere --chain=./target/release/customSpecRaw.json -``` +Runtime `cere` uses by default in Cere Mainnet/Testnet/QAnet. You can start the node with it by: +1. Running the node connected to [Cere Mainnet](#mainnet), [Cere Testnet](#testnet) or [Cere QAnet](#qanet) +2. Running the node with a custom spec. Be sure that [id](https://github.com/Cerebellum-Network/blockchain-node/blob/dev-cere/node/service/src/chain_spec.rs#L265) **does not** start with `cere-dev` + ```bash + ./target/release/cere --chain=./target/release/customSpecRaw.json + ``` #### Runtime `cere-dev` -Runtime `cere-dev` uses by default in Cere Devnet. You can start the node with it by running the command: -```bash -./target/release/cere --chain=./target/release/customSpecRaw.json --force-cere-dev -``` +Runtime `cere-dev` uses by default in Cere Devnet. You can start the node with it by: +1. Running the node connected to [Cere Devnet](#Devnet) +1. Running the [Single-Node Development Chain](#Single-Node-Development-Chain) +1. Running the node with a custom spec. Be sure that [id](https://github.com/Cerebellum-Network/blockchain-node/blob/dev-cere/node/service/src/chain_spec.rs#L265) **starts** with `cere-dev` and you pass `--force-cere-dev` parameter + ```bash + ./target/release/cere --chain=./target/release/customSpecRaw.json --force-cere-dev + ``` ### Connect to Cere Networks From a87af5c169db86ae8258f1c088ae904b21f5c957 Mon Sep 17 00:00:00 2001 From: Andrei Navoichyk Date: Fri, 19 May 2023 12:41:41 +0200 Subject: [PATCH 2/2] fixed type --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index c622d8a1a..3d68694e7 100644 --- a/README.md +++ b/README.md @@ -80,7 +80,7 @@ The node supports 2 runtimes. Runtime `cere` uses by default in Cere Mainnet/Testnet/QAnet. You can start the node with it by: 1. Running the node connected to [Cere Mainnet](#mainnet), [Cere Testnet](#testnet) or [Cere QAnet](#qanet) -2. Running the node with a custom spec. Be sure that [id](https://github.com/Cerebellum-Network/blockchain-node/blob/dev-cere/node/service/src/chain_spec.rs#L265) **does not** start with `cere-dev` +2. Running the node with a custom spec. Be sure that [id](https://github.com/Cerebellum-Network/blockchain-node/blob/dev-cere/node/service/src/chain_spec.rs#L265) **does not** start with `cere_dev` ```bash ./target/release/cere --chain=./target/release/customSpecRaw.json ``` @@ -90,7 +90,7 @@ Runtime `cere` uses by default in Cere Mainnet/Testnet/QAnet. You can start the Runtime `cere-dev` uses by default in Cere Devnet. You can start the node with it by: 1. Running the node connected to [Cere Devnet](#Devnet) 1. Running the [Single-Node Development Chain](#Single-Node-Development-Chain) -1. Running the node with a custom spec. Be sure that [id](https://github.com/Cerebellum-Network/blockchain-node/blob/dev-cere/node/service/src/chain_spec.rs#L265) **starts** with `cere-dev` and you pass `--force-cere-dev` parameter +1. Running the node with a custom spec. Be sure that [id](https://github.com/Cerebellum-Network/blockchain-node/blob/dev-cere/node/service/src/chain_spec.rs#L265) **starts** with `cere_dev` and you pass `--force-cere-dev` parameter ```bash ./target/release/cere --chain=./target/release/customSpecRaw.json --force-cere-dev ```