From 7b87e86562119d76b5d1db6663bd9052ece7edb7 Mon Sep 17 00:00:00 2001 From: Keith Yeung Date: Tue, 14 Jun 2022 03:26:31 +0200 Subject: [PATCH] Derive MaxEncodedLen on cumulus_pallet_xcm::Origin (#1360) --- pallets/xcm/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.