Add ParasSudoWrapper to test-runtime and bring back register_parachain to test-service (#1811)

* Make register/deregister parachain dispatchables

This makes `register_parachain` and `deregister_parachain` of
`Registrar` dispatchables.

Besides that it brings back the functionality of the test node to
register a parachain.

* Fix tests

* PR review comments
This commit is contained in:
Bastian Köcher authored and GitHub committed 2020-10-16 09:45:03 +02:00
1 parent 3687c5df11
commit a7e9aedbc5
6 files changed
+52 -20

No files matched your search

-1
View File
@@ -176,7 +176,6 @@ pub struct ParaGenesisArgs {
pub parachain: bool,
}
decl_storage! {
trait Store for Module<T: Trait> as Paras {
/// All parachains. Ordered ascending by ParaId. Parathreads are not included.