Skip to content
Snippets Groups Projects
Commit 1660bc8c authored by Jay Pavlina's avatar Jay Pavlina Committed by GitHub
Browse files

Derive Encode/Decode for BlockId (#10063)

parent 8e5b4e38
No related merge requests found
......@@ -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))]
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment