mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-13 23:21:06 +00:00
use RuntimeDebug (#1306)
This commit is contained in:
@@ -27,7 +27,7 @@ use cumulus_primitives_core::{
|
|||||||
use frame_support::dispatch::Weight;
|
use frame_support::dispatch::Weight;
|
||||||
pub use pallet::*;
|
pub use pallet::*;
|
||||||
use scale_info::TypeInfo;
|
use scale_info::TypeInfo;
|
||||||
use sp_runtime::traits::BadOrigin;
|
use sp_runtime::{traits::BadOrigin, RuntimeDebug};
|
||||||
use sp_std::{convert::TryFrom, prelude::*};
|
use sp_std::{convert::TryFrom, prelude::*};
|
||||||
use xcm::{
|
use xcm::{
|
||||||
latest::{ExecuteXcm, Outcome, Parent, Xcm},
|
latest::{ExecuteXcm, Outcome, Parent, Xcm},
|
||||||
@@ -77,8 +77,7 @@ pub mod pallet {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// Origin for the parachains module.
|
/// Origin for the parachains module.
|
||||||
#[derive(PartialEq, Eq, Clone, Encode, Decode, TypeInfo)]
|
#[derive(PartialEq, Eq, Clone, Encode, Decode, TypeInfo, RuntimeDebug)]
|
||||||
#[cfg_attr(feature = "std", derive(Debug))]
|
|
||||||
#[pallet::origin]
|
#[pallet::origin]
|
||||||
pub enum Origin {
|
pub enum Origin {
|
||||||
/// It comes from the (parent) relay chain.
|
/// It comes from the (parent) relay chain.
|
||||||
|
|||||||
Reference in New Issue
Block a user