func (v *Validator) ToProto() *pb.Validator {
	return &pb.Validator{
		Pubkey:                  v.Pubkey[:],
		WithdrawalCredentials:   v.WithdrawalCredentials[:],
		LastPoCChangeSlot:       v.LastPoCChangeSlot,
		SecondLastPoCChangeSlot: v.SecondLastPoCChangeSlot,
		Status:                  v.Status,
		LatestStatusChangeSlot:  v.LatestStatusChangeSlot,
		ExitCount:               v.ExitCount}
}
// ToProto creates a ProtoBuf ValidatorResponse from a Validator
ToProto creates a ProtoBuf ValidatorResponse from a Validator
// ToProto creates a ProtoBuf ValidatorResponse from a Validator
func (v *Validator) ToProto() *pb.Validator {
	return &pb.Validator{
		Pubkey:                  v.Pubkey[:],
		WithdrawalCredentials:   v.WithdrawalCredentials[:],
		LastPoCChangeSlot:       v.LastPoCChangeSlot,
		SecondLastPoCChangeSlot: v.SecondLastPoCChangeSlot,
		Status:                  v.Status,
		LatestStatusChangeSlot:  v.LatestStatusChangeSlot,
		ExitCount:               v.ExitCount}
}
func ( v * Validator ) ToProto ( ) * pb . Validator { return & pb . Validator { Pubkey : v . Pubkey [ : ] , WithdrawalCredentials : v . WithdrawalCredentials [ : ] , LastPoCChangeSlot : v . LastPoCChangeSlot , SecondLastPoCChangeSlot : v . SecondLastPoCChangeSlot , Status : v . Status , LatestStatusChangeSlot : v . LatestStatusChangeSlot , ExitCount : v . ExitCount } }
ToProto creates a ProtoBuf ValidatorResponse from a Validator
ToProto creates a ProtoBuf ValidatorResponse from a Validator