Module polkadot_runtime_parachains::origin
source · Expand description
Declaration of the parachain specific origin and a pallet that hosts it.
Re-exports
pub use pallet::*;Modules
There is no way to register an origin type in
construct_runtime without a pallet the origin
belongs to.Functions
Ensure that the origin
o represents a parachain.
Returns Ok with the parachain ID that effected the extrinsic or an Err otherwise.