derive Serialize/Deserialize for BeefyAuthoritySet (#12516)

This commit is contained in:
Serban Iorga
2022-10-18 13:15:40 +03:00
committed by GitHub
parent 738dc8460e
commit 2f341fcf15
3 changed files with 4 additions and 0 deletions
+1
View File
@@ -101,6 +101,7 @@ impl MmrLeafVersion {
/// Details of a BEEFY authority set.
#[derive(Debug, Default, PartialEq, Eq, Clone, Encode, Decode, TypeInfo, MaxEncodedLen)]
#[cfg_attr(feature = "std", derive(serde::Serialize, serde::Deserialize))]
pub struct BeefyAuthoritySet<MerkleRoot> {
/// Id of the set.
///