mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 17:31:03 +00:00
bb71fccdc1
* Fix adder collator README * Add trivial logging to show that collator collates * Update parachain/test-parachains/adder/collator/src/lib.rs Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com> Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com>
16 lines
687 B
Markdown
16 lines
687 B
Markdown
# How to run this collator
|
|
|
|
First start two validators that will run for the relay chain:
|
|
```sh
|
|
cargo run --features=real-overseer --release -- -d alice --chain rococo-local --validator --alice --port 50551
|
|
cargo run --features=real-overseer --release -- -d bob --chain rococo-local --validator --bob --port 50552
|
|
```
|
|
|
|
Next start the collator that will collate for the adder parachain:
|
|
```sh
|
|
cargo run --features=real-overseer --release -p test-parachain-adder-collator -- --tmp --chain rococo-local --port 50553
|
|
```
|
|
|
|
The last step is to register the parachain using polkadot-js. The parachain id is
|
|
100. The genesis state and the validation code are printed at startup by the collator.
|