mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 10:31:03 +00:00
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:
@@ -22,8 +22,7 @@ use primitives::v1::Id as ParaId;
|
||||
use codec::{Decode, Encode};
|
||||
|
||||
/// Origin for the parachains.
|
||||
#[derive(PartialEq, Eq, Clone, Encode, Decode)]
|
||||
#[cfg_attr(feature = "std", derive(Debug))]
|
||||
#[derive(PartialEq, Eq, Clone, Encode, Decode, sp_core::RuntimeDebug)]
|
||||
pub enum Origin {
|
||||
/// It comes from a parachain.
|
||||
Parachain(ParaId),
|
||||
|
||||
Reference in New Issue
Block a user