mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-20 05:14:35 +00:00
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:
@@ -4,7 +4,7 @@ use ssz_derive::{Decode, Encode};
|
|||||||
use tree_hash_derive::TreeHash;
|
use tree_hash_derive::TreeHash;
|
||||||
|
|
||||||
/// Validator registration, for use in interacting with servers implementing the builder API.
|
/// 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 struct SignedValidatorRegistrationData {
|
||||||
pub message: ValidatorRegistrationData,
|
pub message: ValidatorRegistrationData,
|
||||||
pub signature: Signature,
|
pub signature: Signature,
|
||||||
|
|||||||
Reference in New Issue
Block a user