camelcase structs returned over RPC (#1507)

This commit is contained in:
Tomasz Drwięga
2019-01-21 19:25:58 +01:00
committed by Gav Wood
parent 8ec759d32e
commit e48291acd0
7 changed files with 81 additions and 2 deletions
+1
View File
@@ -32,6 +32,7 @@ pub struct StorageData(#[cfg_attr(feature = "std", serde(with="bytes"))] pub Vec
/// Storage change set
#[cfg_attr(feature = "std", derive(Serialize, Deserialize, Debug, PartialEq, Eq))]
#[cfg_attr(feature = "std", serde(rename_all = "camelCase"))]
pub struct StorageChangeSet<Hash> {
/// Block hash
pub block: Hash,