Skip to content

Commit

Permalink
add MaxEncodedLen to EthereumSignature type
Browse files Browse the repository at this point in the history
  • Loading branch information
koushiro committed Apr 20, 2024
1 parent 7f7d71a commit 9f81012
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion primitives/account/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,8 @@ impl From<AccountId32> for AccountId20 {
}
}

#[derive(Eq, PartialEq, Clone, RuntimeDebug, Encode, Decode, TypeInfo)]
#[derive(Clone, Eq, PartialEq)]
#[derive(RuntimeDebug, Encode, Decode, MaxEncodedLen, TypeInfo)]
#[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))]
pub struct EthereumSignature(ecdsa::Signature);

Expand Down

0 comments on commit 9f81012

Please sign in to comment.