Files
pezkuwi-sdk/pezkuwi/teyrchain/test-teyrchains/adder/collator
pezkuwichain 4c8f281051 style: Migrate to stable-only rustfmt configuration
- Remove nightly-only features from .rustfmt.toml and vendor/ss58-registry/rustfmt.toml
- Removed features: imports_granularity, wrap_comments, comment_width,
  reorder_impl_items, spaces_around_ranges, binop_separator,
  match_arm_blocks, trailing_semicolon, trailing_comma
- Format all 898 affected files with stable rustfmt
- Ensures long-term reliability without nightly toolchain dependency
2025-12-23 09:37:11 +03:00
..

How to run this collator

First, build PezkuwiChain:

cargo build --release

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

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

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

cargo run --release -p test-teyrchain-adder-collator -- --tmp --chain pezkuwichain-local --port 50553

The last step is to register the teyrchain using pezkuwi-js. The teyrchain 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.