fix: serde rename camle case for execution payload body (#5846)

This commit is contained in:
Matthias Seitz
2024-05-28 14:06:33 +02:00
committed by GitHub
parent 1aa410cd8a
commit aed25c49e3

View File

@@ -720,6 +720,7 @@ impl From<ForkchoiceUpdatedResponse> for JsonForkchoiceUpdatedV1Response {
#[derive(Clone, Debug, Serialize, Deserialize)]
#[serde(bound = "E: EthSpec")]
#[serde(rename_all = "camelCase")]
pub struct JsonExecutionPayloadBodyV1<E: EthSpec> {
#[serde(with = "ssz_types::serde_utils::list_of_hex_var_list")]
pub transactions: Transactions<E>,