Files
pezkuwi-subxt/polkadot/parachain/test-parachains/adder/collator
dependabot[bot] 8aff3cb81b Bump clap from 3.0.14 to 3.1.1 (#4968)
* Bump clap from 3.0.14 to 3.1.1

Bumps [clap](https://github.com/clap-rs/clap) from 3.0.14 to 3.1.1.
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/clap-rs/clap/compare/v3.0.14...v3.1.1)

---
updated-dependencies:
- dependency-name: clap
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* avoid deprecated AppSettings::Hidden

* avoid another deprecated instance

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Bernhard Schuster <bernhard@ahoi.io>
2022-02-23 08:31:42 +00:00
..
2021-04-09 00:09:56 +02:00
2022-01-10 11:00:46 +00:00
2021-09-27 20:18:59 +02:00

How to run this collator

First start two validators that will run for the relay chain:

cargo run --release -- -d alice --chain rococo-local --validator --alice --port 50551
cargo run --release -- -d bob --chain rococo-local --validator --bob --port 50552

Next start the collator that will collate for the adder parachain:

cargo run --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.

To do this automatically, run scripts/adder-collator.sh.