Added a few fixes from merge

This commit is contained in:
Jimmy Chen
2023-06-27 17:48:50 +10:00
parent cc03ba430c
commit 56caccbac0
5 changed files with 24 additions and 12 deletions

View File

@@ -340,7 +340,10 @@ impl OldBlocksByRangeRequest {
}
/// Request a number of beacon block bodies from a peer.
#[superstruct(variants(V1, V2), variant_attributes(derive(Clone, Debug, PartialEq)))]
#[superstruct(
variants(V1, V2),
variant_attributes(derive(Encode, Decode, Clone, Debug, PartialEq))
)]
#[derive(Clone, Debug, PartialEq)]
pub struct BlocksByRootRequest {
/// The list of beacon block bodies being requested.