diff --git a/cumulus/pallets/xcm/src/lib.rs b/cumulus/pallets/xcm/src/lib.rs index 649bb5ad693c8c72f22626df13242de4ce312c52..9659e65b7ff8c3ca4fb9e5cd4dc5cb93dcb62539 100644 --- a/cumulus/pallets/xcm/src/lib.rs +++ b/cumulus/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.