From 082bdd74fca1d5d4b2fabd0d5ebf2d30b763463f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bastian=20K=C3=B6cher?= Date: Fri, 14 Feb 2020 22:03:11 +0100 Subject: [PATCH] Update README to fix the startup (#61) * Update README to fix the startup * Add missing `=` * Apply suggestions from code review --- cumulus/README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/cumulus/README.md b/cumulus/README.md index 48c88c21ca..ec95af7abd 100644 --- a/cumulus/README.md +++ b/cumulus/README.md @@ -36,10 +36,11 @@ A planned Polkadot collator for the parachain. 4. Run the collator: - `cargo run --release -p cumulus-test-parachain-collator -- --base-path cumulus_collator_path --bootnodes /ip4/127.0.0.1/tcp/30333/p2p/PEER_ID --bootnodes /ip4/127.0.0.1/tcp/50666/p2p/PEER_ID` + `cargo run --release -p cumulus-test-parachain-collator -- --base-path cumulus_collator_path -- --bootnodes=/ip4/127.0.0.1/tcp/30333/p2p/PEER_ID_${NAME} --bootnodes=/ip4/127.0.0.1/tcp/50666/p2p/PEER_ID_${NAME}` `PEER_ID_${NAME}` needs to be replaced with the peer id of the polkadot validator that uses `${NAME}` - as authority. + as authority. The `--` after `--base-path cumulus_collator_path` is important, it tells the CLI to pass these arguments + to the relay chain node that is running inside of the collator. 5. Open `https://polkadot.js.org/apps/#/sudo` and register the parachain by calling `Registrar > RegisterPara`