Skip to content

Commit 3bc5f1f

Browse files
authored
Validator Registration ssz support (#7081)
N/A Derive ssz::Encode and Decode on the `SignedValidatorRegistrationData` type to use in the builder
1 parent 1235d44 commit 3bc5f1f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

consensus/types/src/validator_registration_data.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ use ssz_derive::{Decode, Encode};
44
use tree_hash_derive::TreeHash;
55

66
/// Validator registration, for use in interacting with servers implementing the builder API.
7-
#[derive(PartialEq, Debug, Serialize, Deserialize, Clone)]
7+
#[derive(PartialEq, Debug, Serialize, Deserialize, Clone, Encode, Decode)]
88
pub struct SignedValidatorRegistrationData {
99
pub message: ValidatorRegistrationData,
1010
pub signature: Signature,

0 commit comments

Comments
 (0)