Derive Encode/Decode for BlockId (#10063)

This commit is contained in:
Jay Pavlina
2021-10-19 17:30:46 -05:00
committed by GitHub
parent 8e5b4e3826
commit 1660bc8cf2
@@ -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))]