diff --git a/node/shared_types/src/lib.rs b/node/shared_types/src/lib.rs index 11340c5..904cf67 100644 --- a/node/shared_types/src/lib.rs +++ b/node/shared_types/src/lib.rs @@ -370,6 +370,7 @@ impl TryFrom for FlowProof { #[derive( DeriveEncode, DeriveDecode, Clone, Debug, Default, Eq, PartialEq, Serialize, Deserialize, )] +#[serde(rename_all = "camelCase")] pub struct NetworkIdentity { /// The chain id of the blockchain network. pub chain_id: u64, @@ -384,6 +385,7 @@ pub struct NetworkIdentity { #[derive( DeriveEncode, DeriveDecode, Clone, Debug, Default, PartialEq, Eq, Serialize, Deserialize, )] +#[serde(rename_all = "camelCase")] pub struct ProtocolVersion { pub major: u8, pub minor: u8,