Derive Encode/Decode for BlockId
@@ -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))]
