Skip to content

Commit 8468937

Browse files
committed
Merge branch 'electra-engine-api' into beacon-api-electra
2 parents c680164 + 7f54906 commit 8468937

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

beacon_node/execution_layer/src/engine_api/json_structures.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -838,10 +838,10 @@ impl TryFrom<JsonClientVersionV1> for ClientVersionV1 {
838838
pub struct JsonDepositRequest {
839839
pub pubkey: PublicKeyBytes,
840840
pub withdrawal_credentials: Hash256,
841-
#[serde(with = "serde_utils::quoted_u64")]
841+
#[serde(with = "serde_utils::u64_hex_be")]
842842
pub amount: u64,
843843
pub signature: Signature,
844-
#[serde(with = "serde_utils::quoted_u64")]
844+
#[serde(with = "serde_utils::u64_hex_be")]
845845
pub index: u64,
846846
}
847847

@@ -874,7 +874,7 @@ impl From<JsonDepositRequest> for DepositReceipt {
874874
pub struct JsonWithdrawalRequest {
875875
pub source_address: Address,
876876
pub validator_public_key: PublicKeyBytes,
877-
#[serde(with = "serde_utils::quoted_u64")]
877+
#[serde(with = "serde_utils::u64_hex_be")]
878878
pub amount: u64,
879879
}
880880

0 commit comments

Comments
 (0)