Skip to content

Commit

Permalink
Derive Encode/Decode for BlockId (paritytech#10063)
Browse files Browse the repository at this point in the history
  • Loading branch information
JayPavlina authored and grishasobol committed Mar 28, 2022
1 parent a45a4b9 commit 00db891
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion primitives/runtime/src/generic/block.rs
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ use sp_core::RuntimeDebug;
use sp_std::prelude::*;

/// Something to identify a block.
#[derive(PartialEq, Eq, Clone, RuntimeDebug)]
#[derive(PartialEq, Eq, Clone, Encode, Decode, RuntimeDebug)]
#[cfg_attr(feature = "std", derive(Serialize))]
#[cfg_attr(feature = "std", serde(rename_all = "camelCase"))]
#[cfg_attr(feature = "std", serde(deny_unknown_fields))]
Expand Down

0 comments on commit 00db891

Please sign in to comment.