mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 09:21:04 +00:00
1d28f59e19
* update futures to 0.3.9
* companion changes for generic error types
* improve errors, keep error sources
* command compile fix
* use the correct Error type, add annotation
* avoid async { fut.await.map_err(E::Variant) } with TryFuture
* fix cargo lock, bump futures to 0.3.10
futures 0.3.9 got yanked
* chore cargo update -p sp-io
* minor quirk
* make rustc 1.48 happy by bouning the error more tightly
* be more explicit
* cargo lock futures
How to run this collator
First start two validators that will run for the relay chain:
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:
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.
To do this automatically, run scripts/adder-collator.sh.