From 3bc5f1f2a58b1df9454884672c8100fd5f79ba8b Mon Sep 17 00:00:00 2001 From: Pawan Dhananjay Date: Wed, 5 Mar 2025 19:21:10 -0800 Subject: [PATCH] Validator Registration ssz support (#7081) N/A Derive ssz::Encode and Decode on the `SignedValidatorRegistrationData` type to use in the builder --- consensus/types/src/validator_registration_data.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/consensus/types/src/validator_registration_data.rs b/consensus/types/src/validator_registration_data.rs index cdafd355e7..345771074c 100644 --- a/consensus/types/src/validator_registration_data.rs +++ b/consensus/types/src/validator_registration_data.rs @@ -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,