Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes cumulus README instructions #2442

Merged
merged 3 commits into from
Nov 28, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 6 additions & 9 deletions cumulus/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down