mirror of
https://github.com/sigp/lighthouse.git
synced 2026-05-08 01:05:47 +00:00
fix: serde rename camle case for execution payload body (#5846)
This commit is contained in:
@@ -720,6 +720,7 @@ impl From<ForkchoiceUpdatedResponse> for JsonForkchoiceUpdatedV1Response {
|
|||||||
|
|
||||||
#[derive(Clone, Debug, Serialize, Deserialize)]
|
#[derive(Clone, Debug, Serialize, Deserialize)]
|
||||||
#[serde(bound = "E: EthSpec")]
|
#[serde(bound = "E: EthSpec")]
|
||||||
|
#[serde(rename_all = "camelCase")]
|
||||||
pub struct JsonExecutionPayloadBodyV1<E: EthSpec> {
|
pub struct JsonExecutionPayloadBodyV1<E: EthSpec> {
|
||||||
#[serde(with = "ssz_types::serde_utils::list_of_hex_var_list")]
|
#[serde(with = "ssz_types::serde_utils::list_of_hex_var_list")]
|
||||||
pub transactions: Transactions<E>,
|
pub transactions: Transactions<E>,
|
||||||
|
|||||||
Reference in New Issue
Block a user