From 844d4a66725fb49311cdbd3c5acf8ee8b8e42fa2 Mon Sep 17 00:00:00 2001 From: sayyed-kamran Date: Tue, 28 Mar 2023 01:34:37 +0500 Subject: [PATCH] Rename chain specs files --- README.md | 8 +++++--- ...parachain.raw.1.config => peaq-dev-parachain-raw.json} | 0 ...hain.raw.2.config => rococo-local-relaychain-raw.json} | 0 3 files changed, 5 insertions(+), 3 deletions(-) rename node/src/chain-specs/{parachain.raw.1.config => peaq-dev-parachain-raw.json} (100%) rename node/src/chain-specs/{relaychain.raw.2.config => rococo-local-relaychain-raw.json} (100%) diff --git a/README.md b/README.md index 887c24fd..967610e9 100644 --- a/README.md +++ b/README.md @@ -192,24 +192,26 @@ cd peaq-network-node 2. Checkout the appropriate branch: ```bash -git checkout run_parachain_with_docker_commands +git checkout run_peaq_dev_parachain_with_docker_commands ``` 3. Create the following folder: ```bash mkdir ./.local ``` + The folder .local is needed because that is where data such as session keys are stored for validators. Also we bind mount from the container folder /root/.local to the host machine project root folder ./.local. + Now run the following script to start a peaq-network-node parachain that will connect to the polkadot relay chain running in peaq development envoirnment: ```bash ./scripts/docker_run.sh ./target/release/peaq-node \ ---chain ./node/src/chain-specs/parachain.raw.1.config \ +--chain ./node/src/chain-specs/peaq-dev-parachain-raw.json \ --base-path /tmp/parachain/alice \ --port 40333 \ --ws-port 8844 \ -- \ --execution wasm \ ---chain ./node/src/chain-specs/relaychain.raw.2.config \ +--chain ./node/src/chain-specs/rococo-local-relaychain-raw.json \ --port 30343 \ --ws-port 9977 ``` diff --git a/node/src/chain-specs/parachain.raw.1.config b/node/src/chain-specs/peaq-dev-parachain-raw.json similarity index 100% rename from node/src/chain-specs/parachain.raw.1.config rename to node/src/chain-specs/peaq-dev-parachain-raw.json diff --git a/node/src/chain-specs/relaychain.raw.2.config b/node/src/chain-specs/rococo-local-relaychain-raw.json similarity index 100% rename from node/src/chain-specs/relaychain.raw.2.config rename to node/src/chain-specs/rococo-local-relaychain-raw.json