mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 15:11:02 +00:00
Adder collator improvements (#1896)
* Fixes bug that collator wasn't sending `Declare` message * Set authority discovery config * Fixes bug that collator wasn't sending `Declare` message * Adds real overseer feature and makes the wasm_validation fail with a proper error * Adds README * Remove debug stuff * Add feature * Make adder collator use the correct parent when building a new block
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
# 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 --alice --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.
|
||||
Reference in New Issue
Block a user