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
2020-10-16 09:45:03 +02:00
committed by GitHub
parent 3687c5df11
commit a7e9aedbc5
6 changed files with 52 additions and 20 deletions
+1
View File
@@ -19,6 +19,7 @@ polkadot-rpc = { path = "../../rpc" }
polkadot-runtime-common = { path = "../../runtime/common" }
polkadot-service = { path = "../service" }
polkadot-test-runtime = { path = "../../runtime/test-runtime" }
polkadot-runtime-parachains = { path = "../../runtime/parachains" }
# Substrate dependencies
authority-discovery = { package = "sc-authority-discovery", git = "https://github.com/paritytech/substrate", branch = "master" }