Skip to content
Snippets Groups Projects
Unverified Commit 2ac23d24 authored by Gonçalo Pestana's avatar Gonçalo Pestana Committed by GitHub
Browse files

Fixes cumulus README instructions (#2442)

README instructions fixes to be compatible with the `polkadot-prepare`
and `polkadot-execute` binary split.
parent db290997
Branches
No related merge requests found
Pipeline #419163 canceled with stages
in 8 minutes and 26 seconds
......@@ -142,8 +142,8 @@ zombienet --provider native spawn ./zombienet/examples/small_network.toml
# Clone
git clone https://github.com/paritytech/polkadot-sdk
# Compile Polkadot
cargo build --release --bin polkadot
# Compile Polkadot's required binaries
cargo build --release -p polkadot
# Generate a raw chain spec
./target/release/polkadot build-spec --chain rococo-local --disable-default-bootnode --raw > rococo-local-cfde.json
......@@ -158,11 +158,8 @@ cargo build --release --bin polkadot
#### Launch the Parachain
```bash
# Clone
git clone https://github.com/paritytech/polkadot-sdk
# Compile
cargo build --release --bin polkadot-parachain
cargo build --release -p polkadot-parachain-bin
# Export genesis state
./target/release/polkadot-parachain export-genesis-state > genesis-state
......@@ -172,15 +169,15 @@ cargo build --release --bin polkadot-parachain
# Collator1
./target/release/polkadot-parachain --collator --alice --force-authoring \
--tmp --port 40335 --rpc-port 9946 -- --chain ../polkadot/rococo-local-cfde.json --port 30335
--tmp --port 40335 --rpc-port 9946 -- --chain rococo-local-cfde.json --port 30335
# Collator2
./target/release/polkadot-parachain --collator --bob --force-authoring \
--tmp --port 40336 --rpc-port 9947 -- --chain ../polkadot/rococo-local-cfde.json --port 30336
--tmp --port 40336 --rpc-port 9947 -- --chain rococo-local-cfde.json --port 30336
# Parachain Full Node 1
./target/release/polkadot-parachain --tmp --port 40337 --rpc-port 9948 -- \
--chain ../polkadot/rococo-local-cfde.json --port 30337
--chain rococo-local-cfde.json --port 30337
```
#### Register the parachain
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment