From 1141b2031cb8857e4c74dd13f072a22e0f3867a9 Mon Sep 17 00:00:00 2001 From: Yaroslav Bolyukin Date: Thu, 17 Feb 2022 07:33:03 +0000 Subject: [PATCH] fix: impl MaxEncodedLen for SponsoringRateLimit --- --- a/primitives/data-structs/src/lib.rs +++ b/primitives/data-structs/src/lib.rs @@ -378,7 +378,7 @@ } } -#[derive(Encode, Decode, Debug, Clone, Copy, PartialEq, TypeInfo)] +#[derive(Encode, Decode, Debug, Clone, Copy, PartialEq, TypeInfo, MaxEncodedLen)] #[cfg_attr(feature = "serde1", derive(Serialize, Deserialize))] pub enum SponsoringRateLimit { SponsoringDisabled, -- gitstuff