Registrar v1 follow-ups (#1786)

* parachains: use the root origin for mock

* registrar: notify the router module about the cleanup

* add missing call to schedule_para_cleanup
This commit is contained in:
Sergei Shulepov
2020-10-06 13:07:52 +02:00
committed by GitHub
parent a4662104db
commit 96f6b5ae2d
4 changed files with 9 additions and 7 deletions
+2 -2
View File
@@ -30,7 +30,7 @@ use frame_support::{
weights::Weight, traits::Randomness as RandomnessT,
};
use crate::inclusion;
use crate::paras;
use crate as parachains;
/// A test runtime struct.
#[derive(Clone, Eq, PartialEq)]
@@ -38,7 +38,7 @@ pub struct Test;
impl_outer_origin! {
pub enum Origin for Test {
paras
parachains
}
}