mirror of
https://github.com/sigp/lighthouse.git
synced 2026-05-08 01:05:47 +00:00
Merge branch 'beacon-api-electra' into p2p-electra
This commit is contained in:
@@ -838,10 +838,10 @@ impl TryFrom<JsonClientVersionV1> for ClientVersionV1 {
|
|||||||
pub struct JsonDepositRequest {
|
pub struct JsonDepositRequest {
|
||||||
pub pubkey: PublicKeyBytes,
|
pub pubkey: PublicKeyBytes,
|
||||||
pub withdrawal_credentials: Hash256,
|
pub withdrawal_credentials: Hash256,
|
||||||
#[serde(with = "serde_utils::quoted_u64")]
|
#[serde(with = "serde_utils::u64_hex_be")]
|
||||||
pub amount: u64,
|
pub amount: u64,
|
||||||
pub signature: Signature,
|
pub signature: Signature,
|
||||||
#[serde(with = "serde_utils::quoted_u64")]
|
#[serde(with = "serde_utils::u64_hex_be")]
|
||||||
pub index: u64,
|
pub index: u64,
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -874,7 +874,7 @@ impl From<JsonDepositRequest> for DepositReceipt {
|
|||||||
pub struct JsonWithdrawalRequest {
|
pub struct JsonWithdrawalRequest {
|
||||||
pub source_address: Address,
|
pub source_address: Address,
|
||||||
pub validator_public_key: PublicKeyBytes,
|
pub validator_public_key: PublicKeyBytes,
|
||||||
#[serde(with = "serde_utils::quoted_u64")]
|
#[serde(with = "serde_utils::u64_hex_be")]
|
||||||
pub amount: u64,
|
pub amount: u64,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user