Validator Registration ssz support (#7081)

N/A


  Derive ssz::Encode and Decode on the `SignedValidatorRegistrationData` type to use in the builder
This commit is contained in:
Pawan Dhananjay
2025-03-05 19:21:10 -08:00
committed by GitHub
parent 1235d44802
commit 3bc5f1f2a5

View File

@@ -4,7 +4,7 @@ use ssz_derive::{Decode, Encode};
use tree_hash_derive::TreeHash;
/// Validator registration, for use in interacting with servers implementing the builder API.
#[derive(PartialEq, Debug, Serialize, Deserialize, Clone)]
#[derive(PartialEq, Debug, Serialize, Deserialize, Clone, Encode, Decode)]
pub struct SignedValidatorRegistrationData {
pub message: ValidatorRegistrationData,
pub signature: Signature,