From 558b9e5713f552d551a22944935f077840689b53 Mon Sep 17 00:00:00 2001 From: Matteo Muraca Date: Thu, 18 Apr 2024 16:45:16 +0200 Subject: [PATCH] added MaxEncodedLen to EthereumSignature Signed-off-by: Matteo Muraca --- primitives/account/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/primitives/account/src/lib.rs b/primitives/account/src/lib.rs index fee99b0e0b..c0bb20a7bf 100644 --- a/primitives/account/src/lib.rs +++ b/primitives/account/src/lib.rs @@ -167,7 +167,7 @@ impl From for AccountId20 { } } -#[derive(Eq, PartialEq, Clone, RuntimeDebug, Encode, Decode, TypeInfo)] +#[derive(Eq, PartialEq, Clone, RuntimeDebug, Encode, Decode, MaxEncodedLen, TypeInfo)] #[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))] pub struct EthereumSignature(ecdsa::Signature);