Skip to content

Commit

Permalink
Derive MaxEncodedLen on cumulus_pallet_xcm::Origin (#1360)
Browse files Browse the repository at this point in the history
  • Loading branch information
KiChjang authored Jun 14, 2022
1 parent 635821b commit 7b87e86
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pallets/xcm/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 7b87e86

Please sign in to comment.