Derive MaxEncodedLen on cumulus_pallet_xcm::Origin (#1360)

This commit is contained in:
Keith Yeung
2022-06-14 03:26:31 +02:00
committed by GitHub
parent ed06fbe375
commit 809a3e3a32
+1 -1
View File
@@ -77,7 +77,7 @@ pub mod pallet {
} }
/// Origin for the parachains module. /// Origin for the parachains module.
#[derive(PartialEq, Eq, Clone, Encode, Decode, TypeInfo, RuntimeDebug)] #[derive(PartialEq, Eq, Clone, Encode, Decode, TypeInfo, RuntimeDebug, MaxEncodedLen)]
#[pallet::origin] #[pallet::origin]
pub enum Origin { pub enum Origin {
/// It comes from the (parent) relay chain. /// It comes from the (parent) relay chain.