Introduce System Parachains into Registrar (#2858)

* initial stuff

* adjust deposit

* remove unused

* weight stuff

* Update integration_tests.rs

* Update paras_registrar.rs

* Update paras_registrar.rs

* add test

* Update paras_registrar.rs

Co-authored-by: parity-processbot <>
This commit is contained in:
Shawn Tabrizi
2021-04-09 21:07:49 +02:00
committed by GitHub
parent c9102c11a4
commit 9babb09900
4 changed files with 241 additions and 208 deletions
-5
View File
@@ -131,11 +131,6 @@ impl Id {
pub const fn new(id: u32) -> Self {
Self(id)
}
/// Returns `true` if this parachain runs with system-level privileges.
/// Use IsSystem instead.
#[deprecated]
pub fn is_system(&self) -> bool { self.0 < USER_INDEX_START }
}
pub trait IsSystem {