diff --git a/pallets/xcm/src/lib.rs b/pallets/xcm/src/lib.rs index 649bb5ad693..9659e65b7ff 100644 --- a/pallets/xcm/src/lib.rs +++ b/pallets/xcm/src/lib.rs @@ -77,7 +77,7 @@ pub mod pallet { } /// Origin for the parachains module. - #[derive(PartialEq, Eq, Clone, Encode, Decode, TypeInfo, RuntimeDebug)] + #[derive(PartialEq, Eq, Clone, Encode, Decode, TypeInfo, RuntimeDebug, MaxEncodedLen)] #[pallet::origin] pub enum Origin { /// It comes from the (parent) relay chain.