Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
polkadot-sdk
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
parity
Mirrored projects
polkadot-sdk
Commits
8a98067d
Commit
8a98067d
authored
3 years ago
by
Chris Sosnin
Committed by
GitHub
3 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Remove unused cli param (#941)
parent
d793334b
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
cumulus/README.md
+5
-6
5 additions, 6 deletions
cumulus/README.md
cumulus/polkadot-parachains/src/cli.rs
+0
-6
0 additions, 6 deletions
cumulus/polkadot-parachains/src/cli.rs
with
5 additions
and
12 deletions
cumulus/README.md
+
5
−
6
View file @
8a98067d
...
@@ -129,20 +129,19 @@ git clone https://github.com/paritytech/cumulus
...
@@ -129,20 +129,19 @@ git clone https://github.com/paritytech/cumulus
cargo build
--release
cargo build
--release
# Export genesis state
# Export genesis state
# --parachain-id 200 as an example that can be chosen freely. Make sure to everywhere use the same parachain id
./target/release/polkadot-collator export-genesis-state
>
genesis-state
./target/release/polkadot-collator export-genesis-state
--parachain-id
200
>
genesis-state
# Export genesis wasm
# Export genesis wasm
./target/release/polkadot-collator export-genesis-wasm
>
genesis-wasm
./target/release/polkadot-collator export-genesis-wasm
>
genesis-wasm
# Collator1
# Collator1
./target/release/polkadot-collator
--collator
--alice
--force-authoring
--tmp
--parachain-id
<parachain_id_u32_type_range>
--port
40335
--ws-port
9946
--
--execution
wasm
--chain
../polkadot/rococo-local-cfde.json
--port
30335
./target/release/polkadot-collator
--collator
--alice
--force-authoring
--tmp
--port
40335
--ws-port
9946
--
--execution
wasm
--chain
../polkadot/rococo-local-cfde.json
--port
30335
# Collator2
# Collator2
./target/release/polkadot-collator
--collator
--bob
--force-authoring
--tmp
--parachain-id
<parachain_id_u32_type_range>
--port
40336
--ws-port
9947
--
--execution
wasm
--chain
../polkadot/rococo-local-cfde.json
--port
30336
./target/release/polkadot-collator
--collator
--bob
--force-authoring
--tmp
--port
40336
--ws-port
9947
--
--execution
wasm
--chain
../polkadot/rococo-local-cfde.json
--port
30336
# Parachain Full Node 1
# Parachain Full Node 1
./target/release/polkadot-collator
--tmp
--parachain-id
<parachain_id_u32_type_range>
--port
40337
--ws-port
9948
--
--execution
wasm
--chain
../polkadot/rococo-local-cfde.json
--port
30337
./target/release/polkadot-collator
--tmp
--port
40337
--ws-port
9948
--
--execution
wasm
--chain
../polkadot/rococo-local-cfde.json
--port
30337
```
```
### Register the parachain
### Register the parachain
...
@@ -166,5 +165,5 @@ docker build --tag $OWNER/$IMAGE_NAME --file ./docker/polkadot-collator_builder.
...
@@ -166,5 +165,5 @@ docker build --tag $OWNER/$IMAGE_NAME --file ./docker/polkadot-collator_builder.
You may
then
run your new container:
You may
then
run your new container:
```
bash
```
bash
docker run --rm -it $OWNER/$IMAGE_NAME --collator --tmp
--parachain-id 1000
--execution wasm --chain /specs/westmint.json
docker run --rm -it $OWNER/$IMAGE_NAME --collator --tmp --execution wasm --chain /specs/westmint.json
```
```
This diff is collapsed.
Click to expand it.
cumulus/polkadot-parachains/src/cli.rs
+
0
−
6
View file @
8a98067d
...
@@ -70,12 +70,6 @@ pub struct ExportGenesisStateCommand {
...
@@ -70,12 +70,6 @@ pub struct ExportGenesisStateCommand {
#[clap(parse(from_os_str))]
#[clap(parse(from_os_str))]
pub
output
:
Option
<
PathBuf
>
,
pub
output
:
Option
<
PathBuf
>
,
/// Id of the parachain this state is for.
///
/// Default: 100
#[clap(long)]
pub
parachain_id
:
Option
<
u32
>
,
/// Write output in binary. Default is to write in hex.
/// Write output in binary. Default is to write in hex.
#[clap(short,
long)]
#[clap(short,
long)]
pub
raw
:
bool
,
pub
raw
:
bool
,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment