Update go-pbs after v1 changes (#7830)

This commit is contained in:
Preston Van Loon
2020-11-16 13:14:04 -08:00
committed by GitHub
parent 71c6164c42
commit d85cf028ef
5 changed files with 2473 additions and 1397 deletions

View File

@@ -36,7 +36,7 @@ type BeaconState struct {
StateRoots [][]byte `protobuf:"bytes,2003,rep,name=state_roots,json=stateRoots,proto3" json:"state_roots,omitempty" ssz-size:"8192,32"`
HistoricalRoots [][]byte `protobuf:"bytes,2004,rep,name=historical_roots,json=historicalRoots,proto3" json:"historical_roots,omitempty" ssz-size:"?,32" ssz-max:"16777216"`
Eth1Data *v1alpha1.Eth1Data `protobuf:"bytes,3001,opt,name=eth1_data,json=eth1Data,proto3" json:"eth1_data,omitempty"`
Eth1DataVotes []*v1alpha1.Eth1Data `protobuf:"bytes,3002,rep,name=eth1_data_votes,json=eth1DataVotes,proto3" json:"eth1_data_votes,omitempty" ssz-max:"1024"`
Eth1DataVotes []*v1alpha1.Eth1Data `protobuf:"bytes,3002,rep,name=eth1_data_votes,json=eth1DataVotes,proto3" json:"eth1_data_votes,omitempty" ssz-max:"2048"`
Eth1DepositIndex uint64 `protobuf:"varint,3003,opt,name=eth1_deposit_index,json=eth1DepositIndex,proto3" json:"eth1_deposit_index,omitempty"`
Validators []*v1alpha1.Validator `protobuf:"bytes,4001,rep,name=validators,proto3" json:"validators,omitempty" ssz-max:"1099511627776"`
Balances []uint64 `protobuf:"varint,4002,rep,packed,name=balances,proto3" json:"balances,omitempty" ssz-max:"1099511627776"`
@@ -681,84 +681,84 @@ func init() { proto.RegisterFile("proto/beacon/p2p/v1/types.proto", fileDescript
var fileDescriptor_e719e7d82cfa7b0d = []byte{
// 1247 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x56, 0xcb, 0x8f, 0xdb, 0x44,
0x18, 0x97, 0x77, 0xd3, 0x76, 0x3b, 0xc9, 0x6e, 0xb6, 0xb3, 0xa5, 0xe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, 0xfd, 0xc4,
0x08, 0x4f, 0x82, 0xa5, 0xa8, 0x67, 0x5b, 0x07, 0x78, 0xc0, 0xd4, 0x92, 0x48, 0xae, 0x79, 0x24,
0xea, 0xd9, 0xaf, 0xe0, 0x01, 0x83, 0xdb, 0xe9, 0xdc, 0x76, 0x68, 0xde, 0xb1, 0xad, 0x5d, 0xf9,
0xe6, 0xc9, 0x86, 0xf2, 0xed, 0x93, 0x0d, 0xe5, 0xe7, 0x27, 0x1b, 0x8a, 0x7d, 0x58, 0xce, 0xa4,
0x97, 0xff, 0x0c, 0x00, 0x00, 0xff, 0xff, 0x8a, 0x78, 0x6d, 0x45, 0x5c, 0x0b, 0x00, 0x00,
}
func (m *BeaconState) Marshal() (dAtA []byte, err error) {

View File

@@ -1,7 +1,7 @@
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.25.0
// protoc v3.11.4
// protoc v3.13.0
// source: proto/beacon/rpc/v1/debug.proto
package ethereum_beacon_rpc_v1

View File

@@ -1,190 +1,318 @@
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.25.0
// protoc v3.13.0
// source: proto/cluster/services.proto
package prysm_internal_cluster
import (
context "context"
fmt "fmt"
math "math"
reflect "reflect"
sync "sync"
proto "github.com/golang/protobuf/proto"
grpc "google.golang.org/grpc"
codes "google.golang.org/grpc/codes"
status "google.golang.org/grpc/status"
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
)
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
const (
// Verify that this generated code is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
// Verify that runtime/protoimpl is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)
// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
// This is a compile-time assertion that a sufficiently up-to-date version
// of the legacy proto package is being used.
const _ = proto.ProtoPackageIsVersion4
type PrivateKeyRequest struct {
PodName string `protobuf:"bytes,1,opt,name=pod_name,json=podName,proto3" json:"pod_name,omitempty"`
NumberOfKeys uint64 `protobuf:"varint,2,opt,name=number_of_keys,json=numberOfKeys,proto3" json:"number_of_keys,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
PodName string `protobuf:"bytes,1,opt,name=pod_name,json=podName,proto3" json:"pod_name,omitempty"`
NumberOfKeys uint64 `protobuf:"varint,2,opt,name=number_of_keys,json=numberOfKeys,proto3" json:"number_of_keys,omitempty"`
}
func (m *PrivateKeyRequest) Reset() { *m = PrivateKeyRequest{} }
func (m *PrivateKeyRequest) String() string { return proto.CompactTextString(m) }
func (*PrivateKeyRequest) ProtoMessage() {}
func (x *PrivateKeyRequest) Reset() {
*x = PrivateKeyRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_proto_cluster_services_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *PrivateKeyRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*PrivateKeyRequest) ProtoMessage() {}
func (x *PrivateKeyRequest) ProtoReflect() protoreflect.Message {
mi := &file_proto_cluster_services_proto_msgTypes[0]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use PrivateKeyRequest.ProtoReflect.Descriptor instead.
func (*PrivateKeyRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_f118b0fcaa41cfbe, []int{0}
return file_proto_cluster_services_proto_rawDescGZIP(), []int{0}
}
func (m *PrivateKeyRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_PrivateKeyRequest.Unmarshal(m, b)
}
func (m *PrivateKeyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_PrivateKeyRequest.Marshal(b, m, deterministic)
}
func (m *PrivateKeyRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_PrivateKeyRequest.Merge(m, src)
}
func (m *PrivateKeyRequest) XXX_Size() int {
return xxx_messageInfo_PrivateKeyRequest.Size(m)
}
func (m *PrivateKeyRequest) XXX_DiscardUnknown() {
xxx_messageInfo_PrivateKeyRequest.DiscardUnknown(m)
}
var xxx_messageInfo_PrivateKeyRequest proto.InternalMessageInfo
func (m *PrivateKeyRequest) GetPodName() string {
if m != nil {
return m.PodName
func (x *PrivateKeyRequest) GetPodName() string {
if x != nil {
return x.PodName
}
return ""
}
func (m *PrivateKeyRequest) GetNumberOfKeys() uint64 {
if m != nil {
return m.NumberOfKeys
func (x *PrivateKeyRequest) GetNumberOfKeys() uint64 {
if x != nil {
return x.NumberOfKeys
}
return 0
}
type PrivateKeyResponse struct {
PrivateKey []byte `protobuf:"bytes,1,opt,name=private_key,json=privateKey,proto3" json:"private_key,omitempty"` // Deprecated: Do not use.
PrivateKeys *PrivateKeys `protobuf:"bytes,2,opt,name=private_keys,json=privateKeys,proto3" json:"private_keys,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// Deprecated: Do not use.
PrivateKey []byte `protobuf:"bytes,1,opt,name=private_key,json=privateKey,proto3" json:"private_key,omitempty"`
PrivateKeys *PrivateKeys `protobuf:"bytes,2,opt,name=private_keys,json=privateKeys,proto3" json:"private_keys,omitempty"`
}
func (m *PrivateKeyResponse) Reset() { *m = PrivateKeyResponse{} }
func (m *PrivateKeyResponse) String() string { return proto.CompactTextString(m) }
func (*PrivateKeyResponse) ProtoMessage() {}
func (x *PrivateKeyResponse) Reset() {
*x = PrivateKeyResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_proto_cluster_services_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *PrivateKeyResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*PrivateKeyResponse) ProtoMessage() {}
func (x *PrivateKeyResponse) ProtoReflect() protoreflect.Message {
mi := &file_proto_cluster_services_proto_msgTypes[1]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use PrivateKeyResponse.ProtoReflect.Descriptor instead.
func (*PrivateKeyResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_f118b0fcaa41cfbe, []int{1}
return file_proto_cluster_services_proto_rawDescGZIP(), []int{1}
}
func (m *PrivateKeyResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_PrivateKeyResponse.Unmarshal(m, b)
}
func (m *PrivateKeyResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_PrivateKeyResponse.Marshal(b, m, deterministic)
}
func (m *PrivateKeyResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_PrivateKeyResponse.Merge(m, src)
}
func (m *PrivateKeyResponse) XXX_Size() int {
return xxx_messageInfo_PrivateKeyResponse.Size(m)
}
func (m *PrivateKeyResponse) XXX_DiscardUnknown() {
xxx_messageInfo_PrivateKeyResponse.DiscardUnknown(m)
}
var xxx_messageInfo_PrivateKeyResponse proto.InternalMessageInfo
// Deprecated: Do not use.
func (m *PrivateKeyResponse) GetPrivateKey() []byte {
if m != nil {
return m.PrivateKey
func (x *PrivateKeyResponse) GetPrivateKey() []byte {
if x != nil {
return x.PrivateKey
}
return nil
}
func (m *PrivateKeyResponse) GetPrivateKeys() *PrivateKeys {
if m != nil {
return m.PrivateKeys
func (x *PrivateKeyResponse) GetPrivateKeys() *PrivateKeys {
if x != nil {
return x.PrivateKeys
}
return nil
}
type PrivateKeys struct {
PrivateKeys [][]byte `protobuf:"bytes,1,rep,name=private_keys,json=privateKeys,proto3" json:"private_keys,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
PrivateKeys [][]byte `protobuf:"bytes,1,rep,name=private_keys,json=privateKeys,proto3" json:"private_keys,omitempty"`
}
func (m *PrivateKeys) Reset() { *m = PrivateKeys{} }
func (m *PrivateKeys) String() string { return proto.CompactTextString(m) }
func (*PrivateKeys) ProtoMessage() {}
func (x *PrivateKeys) Reset() {
*x = PrivateKeys{}
if protoimpl.UnsafeEnabled {
mi := &file_proto_cluster_services_proto_msgTypes[2]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *PrivateKeys) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*PrivateKeys) ProtoMessage() {}
func (x *PrivateKeys) ProtoReflect() protoreflect.Message {
mi := &file_proto_cluster_services_proto_msgTypes[2]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use PrivateKeys.ProtoReflect.Descriptor instead.
func (*PrivateKeys) Descriptor() ([]byte, []int) {
return fileDescriptor_f118b0fcaa41cfbe, []int{2}
return file_proto_cluster_services_proto_rawDescGZIP(), []int{2}
}
func (m *PrivateKeys) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_PrivateKeys.Unmarshal(m, b)
}
func (m *PrivateKeys) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_PrivateKeys.Marshal(b, m, deterministic)
}
func (m *PrivateKeys) XXX_Merge(src proto.Message) {
xxx_messageInfo_PrivateKeys.Merge(m, src)
}
func (m *PrivateKeys) XXX_Size() int {
return xxx_messageInfo_PrivateKeys.Size(m)
}
func (m *PrivateKeys) XXX_DiscardUnknown() {
xxx_messageInfo_PrivateKeys.DiscardUnknown(m)
}
var xxx_messageInfo_PrivateKeys proto.InternalMessageInfo
func (m *PrivateKeys) GetPrivateKeys() [][]byte {
if m != nil {
return m.PrivateKeys
func (x *PrivateKeys) GetPrivateKeys() [][]byte {
if x != nil {
return x.PrivateKeys
}
return nil
}
func init() {
proto.RegisterType((*PrivateKeyRequest)(nil), "prysm.internal.cluster.PrivateKeyRequest")
proto.RegisterType((*PrivateKeyResponse)(nil), "prysm.internal.cluster.PrivateKeyResponse")
proto.RegisterType((*PrivateKeys)(nil), "prysm.internal.cluster.PrivateKeys")
var File_proto_cluster_services_proto protoreflect.FileDescriptor
var file_proto_cluster_services_proto_rawDesc = []byte{
0x0a, 0x1c, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x2f,
0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x16,
0x70, 0x72, 0x79, 0x73, 0x6d, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2e, 0x63,
0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x22, 0x54, 0x0a, 0x11, 0x50, 0x72, 0x69, 0x76, 0x61, 0x74,
0x65, 0x4b, 0x65, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x70,
0x6f, 0x64, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x70,
0x6f, 0x64, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x24, 0x0a, 0x0e, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72,
0x5f, 0x6f, 0x66, 0x5f, 0x6b, 0x65, 0x79, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0c,
0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x4f, 0x66, 0x4b, 0x65, 0x79, 0x73, 0x22, 0x81, 0x01, 0x0a,
0x12, 0x50, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x4b, 0x65, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f,
0x6e, 0x73, 0x65, 0x12, 0x23, 0x0a, 0x0b, 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x5f, 0x6b,
0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x42, 0x02, 0x18, 0x01, 0x52, 0x0a, 0x70, 0x72,
0x69, 0x76, 0x61, 0x74, 0x65, 0x4b, 0x65, 0x79, 0x12, 0x46, 0x0a, 0x0c, 0x70, 0x72, 0x69, 0x76,
0x61, 0x74, 0x65, 0x5f, 0x6b, 0x65, 0x79, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23,
0x2e, 0x70, 0x72, 0x79, 0x73, 0x6d, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2e,
0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x2e, 0x50, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x4b,
0x65, 0x79, 0x73, 0x52, 0x0b, 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x4b, 0x65, 0x79, 0x73,
0x22, 0x30, 0x0a, 0x0b, 0x50, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x4b, 0x65, 0x79, 0x73, 0x12,
0x21, 0x0a, 0x0c, 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x5f, 0x6b, 0x65, 0x79, 0x73, 0x18,
0x01, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x0b, 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x4b, 0x65,
0x79, 0x73, 0x32, 0x75, 0x0a, 0x11, 0x50, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x4b, 0x65, 0x79,
0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x60, 0x0a, 0x07, 0x52, 0x65, 0x71, 0x75, 0x65,
0x73, 0x74, 0x12, 0x29, 0x2e, 0x70, 0x72, 0x79, 0x73, 0x6d, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72,
0x6e, 0x61, 0x6c, 0x2e, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x2e, 0x50, 0x72, 0x69, 0x76,
0x61, 0x74, 0x65, 0x4b, 0x65, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2a, 0x2e,
0x70, 0x72, 0x79, 0x73, 0x6d, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2e, 0x63,
0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x2e, 0x50, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x4b, 0x65,
0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f,
0x33,
}
func init() { proto.RegisterFile("proto/cluster/services.proto", fileDescriptor_f118b0fcaa41cfbe) }
var (
file_proto_cluster_services_proto_rawDescOnce sync.Once
file_proto_cluster_services_proto_rawDescData = file_proto_cluster_services_proto_rawDesc
)
var fileDescriptor_f118b0fcaa41cfbe = []byte{
// 256 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x91, 0x41, 0x4b, 0xc3, 0x30,
0x14, 0xc7, 0xc9, 0x14, 0xa7, 0xaf, 0x45, 0x30, 0x07, 0xa9, 0xe2, 0xa1, 0x76, 0x1e, 0xaa, 0x87,
0x4c, 0xe6, 0x37, 0xf0, 0xe0, 0x65, 0xa0, 0x12, 0xbd, 0xd7, 0x6e, 0x7b, 0x83, 0xe2, 0x9a, 0xc4,
0xbc, 0x74, 0xd0, 0xa3, 0xdf, 0x5c, 0x6c, 0xa6, 0x8d, 0x22, 0xb8, 0xeb, 0x3f, 0xbf, 0xf7, 0x4b,
0xf2, 0x7f, 0x70, 0x66, 0xac, 0x76, 0x7a, 0x3c, 0x5f, 0x35, 0xe4, 0xd0, 0x8e, 0x09, 0xed, 0xba,
0x9a, 0x23, 0x89, 0x2e, 0xe6, 0xc7, 0xc6, 0xb6, 0x54, 0x8b, 0x4a, 0x39, 0xb4, 0xaa, 0x5c, 0x89,
0x0d, 0x96, 0x3d, 0xc3, 0xd1, 0xa3, 0xad, 0xd6, 0xa5, 0xc3, 0x29, 0xb6, 0x12, 0xdf, 0x1a, 0x24,
0xc7, 0x4f, 0x60, 0xdf, 0xe8, 0x45, 0xa1, 0xca, 0x1a, 0x13, 0x96, 0xb2, 0xfc, 0x40, 0x0e, 0x8d,
0x5e, 0xdc, 0x97, 0x35, 0xf2, 0x0b, 0x38, 0x54, 0x4d, 0x3d, 0x43, 0x5b, 0xe8, 0x65, 0xf1, 0x8a,
0x2d, 0x25, 0x83, 0x94, 0xe5, 0xbb, 0x32, 0xf6, 0xe9, 0xc3, 0x72, 0x8a, 0x2d, 0x65, 0xef, 0x0c,
0x78, 0xa8, 0x25, 0xa3, 0x15, 0x21, 0x1f, 0x41, 0x64, 0x7c, 0xfa, 0x39, 0xda, 0xa9, 0xe3, 0xdb,
0x41, 0xc2, 0x24, 0x98, 0x6f, 0x98, 0xdf, 0x41, 0x1c, 0x40, 0xde, 0x1f, 0x4d, 0x46, 0xe2, 0xef,
0x0f, 0x88, 0xfe, 0x1a, 0x92, 0x51, 0xaf, 0xa1, 0xec, 0x1a, 0xa2, 0xe0, 0x8c, 0x9f, 0xff, 0xd2,
0xb2, 0x74, 0x27, 0x8f, 0x7f, 0x4c, 0x4c, 0x9a, 0xb0, 0x8b, 0x27, 0xdf, 0x1f, 0x7f, 0x81, 0xe1,
0x57, 0x2d, 0x97, 0xff, 0xbf, 0x61, 0x83, 0x9e, 0x5e, 0x6d, 0x83, 0xfa, 0x56, 0x66, 0x7b, 0xdd,
0x86, 0x6e, 0x3e, 0x02, 0x00, 0x00, 0xff, 0xff, 0x28, 0x1a, 0xa8, 0xa6, 0xc1, 0x01, 0x00, 0x00,
func file_proto_cluster_services_proto_rawDescGZIP() []byte {
file_proto_cluster_services_proto_rawDescOnce.Do(func() {
file_proto_cluster_services_proto_rawDescData = protoimpl.X.CompressGZIP(file_proto_cluster_services_proto_rawDescData)
})
return file_proto_cluster_services_proto_rawDescData
}
var file_proto_cluster_services_proto_msgTypes = make([]protoimpl.MessageInfo, 3)
var file_proto_cluster_services_proto_goTypes = []interface{}{
(*PrivateKeyRequest)(nil), // 0: prysm.internal.cluster.PrivateKeyRequest
(*PrivateKeyResponse)(nil), // 1: prysm.internal.cluster.PrivateKeyResponse
(*PrivateKeys)(nil), // 2: prysm.internal.cluster.PrivateKeys
}
var file_proto_cluster_services_proto_depIdxs = []int32{
2, // 0: prysm.internal.cluster.PrivateKeyResponse.private_keys:type_name -> prysm.internal.cluster.PrivateKeys
0, // 1: prysm.internal.cluster.PrivateKeyService.Request:input_type -> prysm.internal.cluster.PrivateKeyRequest
1, // 2: prysm.internal.cluster.PrivateKeyService.Request:output_type -> prysm.internal.cluster.PrivateKeyResponse
2, // [2:3] is the sub-list for method output_type
1, // [1:2] is the sub-list for method input_type
1, // [1:1] is the sub-list for extension type_name
1, // [1:1] is the sub-list for extension extendee
0, // [0:1] is the sub-list for field type_name
}
func init() { file_proto_cluster_services_proto_init() }
func file_proto_cluster_services_proto_init() {
if File_proto_cluster_services_proto != nil {
return
}
if !protoimpl.UnsafeEnabled {
file_proto_cluster_services_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*PrivateKeyRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_proto_cluster_services_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*PrivateKeyResponse); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_proto_cluster_services_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*PrivateKeys); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
}
type x struct{}
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: file_proto_cluster_services_proto_rawDesc,
NumEnums: 0,
NumMessages: 3,
NumExtensions: 0,
NumServices: 1,
},
GoTypes: file_proto_cluster_services_proto_goTypes,
DependencyIndexes: file_proto_cluster_services_proto_depIdxs,
MessageInfos: file_proto_cluster_services_proto_msgTypes,
}.Build()
File_proto_cluster_services_proto = out.File
file_proto_cluster_services_proto_rawDesc = nil
file_proto_cluster_services_proto_goTypes = nil
file_proto_cluster_services_proto_depIdxs = nil
}
// Reference imports to suppress errors if they are not otherwise used.
@@ -228,7 +356,7 @@ type PrivateKeyServiceServer interface {
type UnimplementedPrivateKeyServiceServer struct {
}
func (*UnimplementedPrivateKeyServiceServer) Request(ctx context.Context, req *PrivateKeyRequest) (*PrivateKeyResponse, error) {
func (*UnimplementedPrivateKeyServiceServer) Request(context.Context, *PrivateKeyRequest) (*PrivateKeyResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method Request not implemented")
}

View File

@@ -1,12 +1,15 @@
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.25.0
// protoc v3.13.0
// source: proto/validator/accounts/v2/keymanager.proto
package ethereum_validator_accounts_v2
import (
context "context"
fmt "fmt"
math "math"
reflect "reflect"
sync "sync"
proto "github.com/golang/protobuf/proto"
empty "github.com/golang/protobuf/ptypes/empty"
@@ -15,18 +18,20 @@ import (
grpc "google.golang.org/grpc"
codes "google.golang.org/grpc/codes"
status "google.golang.org/grpc/status"
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
)
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
const (
// Verify that this generated code is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
// Verify that runtime/protoimpl is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)
// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
// This is a compile-time assertion that a sufficiently up-to-date version
// of the legacy proto package is being used.
const _ = proto.ProtoPackageIsVersion4
type SignResponse_Status int32
@@ -37,130 +42,216 @@ const (
SignResponse_FAILED SignResponse_Status = 3
)
var SignResponse_Status_name = map[int32]string{
0: "UNKNOWN",
1: "SUCCEEDED",
2: "DENIED",
3: "FAILED",
}
// Enum value maps for SignResponse_Status.
var (
SignResponse_Status_name = map[int32]string{
0: "UNKNOWN",
1: "SUCCEEDED",
2: "DENIED",
3: "FAILED",
}
SignResponse_Status_value = map[string]int32{
"UNKNOWN": 0,
"SUCCEEDED": 1,
"DENIED": 2,
"FAILED": 3,
}
)
var SignResponse_Status_value = map[string]int32{
"UNKNOWN": 0,
"SUCCEEDED": 1,
"DENIED": 2,
"FAILED": 3,
func (x SignResponse_Status) Enum() *SignResponse_Status {
p := new(SignResponse_Status)
*p = x
return p
}
func (x SignResponse_Status) String() string {
return proto.EnumName(SignResponse_Status_name, int32(x))
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (SignResponse_Status) Descriptor() protoreflect.EnumDescriptor {
return file_proto_validator_accounts_v2_keymanager_proto_enumTypes[0].Descriptor()
}
func (SignResponse_Status) Type() protoreflect.EnumType {
return &file_proto_validator_accounts_v2_keymanager_proto_enumTypes[0]
}
func (x SignResponse_Status) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Use SignResponse_Status.Descriptor instead.
func (SignResponse_Status) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_795e98bd0a473d79, []int{2, 0}
return file_proto_validator_accounts_v2_keymanager_proto_rawDescGZIP(), []int{2, 0}
}
type ListPublicKeysResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
ValidatingPublicKeys [][]byte `protobuf:"bytes,2,rep,name=validating_public_keys,json=validatingPublicKeys,proto3" json:"validating_public_keys,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ListPublicKeysResponse) Reset() { *m = ListPublicKeysResponse{} }
func (m *ListPublicKeysResponse) String() string { return proto.CompactTextString(m) }
func (*ListPublicKeysResponse) ProtoMessage() {}
func (x *ListPublicKeysResponse) Reset() {
*x = ListPublicKeysResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_proto_validator_accounts_v2_keymanager_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *ListPublicKeysResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ListPublicKeysResponse) ProtoMessage() {}
func (x *ListPublicKeysResponse) ProtoReflect() protoreflect.Message {
mi := &file_proto_validator_accounts_v2_keymanager_proto_msgTypes[0]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use ListPublicKeysResponse.ProtoReflect.Descriptor instead.
func (*ListPublicKeysResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_795e98bd0a473d79, []int{0}
return file_proto_validator_accounts_v2_keymanager_proto_rawDescGZIP(), []int{0}
}
func (m *ListPublicKeysResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ListPublicKeysResponse.Unmarshal(m, b)
}
func (m *ListPublicKeysResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ListPublicKeysResponse.Marshal(b, m, deterministic)
}
func (m *ListPublicKeysResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_ListPublicKeysResponse.Merge(m, src)
}
func (m *ListPublicKeysResponse) XXX_Size() int {
return xxx_messageInfo_ListPublicKeysResponse.Size(m)
}
func (m *ListPublicKeysResponse) XXX_DiscardUnknown() {
xxx_messageInfo_ListPublicKeysResponse.DiscardUnknown(m)
}
var xxx_messageInfo_ListPublicKeysResponse proto.InternalMessageInfo
func (m *ListPublicKeysResponse) GetValidatingPublicKeys() [][]byte {
if m != nil {
return m.ValidatingPublicKeys
func (x *ListPublicKeysResponse) GetValidatingPublicKeys() [][]byte {
if x != nil {
return x.ValidatingPublicKeys
}
return nil
}
type SignRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
PublicKey []byte `protobuf:"bytes,1,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"`
SigningRoot []byte `protobuf:"bytes,2,opt,name=signing_root,json=signingRoot,proto3" json:"signing_root,omitempty"`
SignatureDomain []byte `protobuf:"bytes,3,opt,name=signature_domain,json=signatureDomain,proto3" json:"signature_domain,omitempty"`
// Types that are valid to be assigned to Object:
// Types that are assignable to Object:
// *SignRequest_Block
// *SignRequest_AttestationData
// *SignRequest_AggregateAttestationAndProof
// *SignRequest_Exit
// *SignRequest_Slot
// *SignRequest_Epoch
Object isSignRequest_Object `protobuf_oneof:"object"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
Object isSignRequest_Object `protobuf_oneof:"object"`
}
func (m *SignRequest) Reset() { *m = SignRequest{} }
func (m *SignRequest) String() string { return proto.CompactTextString(m) }
func (*SignRequest) ProtoMessage() {}
func (x *SignRequest) Reset() {
*x = SignRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_proto_validator_accounts_v2_keymanager_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *SignRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*SignRequest) ProtoMessage() {}
func (x *SignRequest) ProtoReflect() protoreflect.Message {
mi := &file_proto_validator_accounts_v2_keymanager_proto_msgTypes[1]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use SignRequest.ProtoReflect.Descriptor instead.
func (*SignRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_795e98bd0a473d79, []int{1}
return file_proto_validator_accounts_v2_keymanager_proto_rawDescGZIP(), []int{1}
}
func (m *SignRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_SignRequest.Unmarshal(m, b)
}
func (m *SignRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_SignRequest.Marshal(b, m, deterministic)
}
func (m *SignRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_SignRequest.Merge(m, src)
}
func (m *SignRequest) XXX_Size() int {
return xxx_messageInfo_SignRequest.Size(m)
}
func (m *SignRequest) XXX_DiscardUnknown() {
xxx_messageInfo_SignRequest.DiscardUnknown(m)
}
var xxx_messageInfo_SignRequest proto.InternalMessageInfo
func (m *SignRequest) GetPublicKey() []byte {
if m != nil {
return m.PublicKey
func (x *SignRequest) GetPublicKey() []byte {
if x != nil {
return x.PublicKey
}
return nil
}
func (m *SignRequest) GetSigningRoot() []byte {
if m != nil {
return m.SigningRoot
func (x *SignRequest) GetSigningRoot() []byte {
if x != nil {
return x.SigningRoot
}
return nil
}
func (m *SignRequest) GetSignatureDomain() []byte {
if m != nil {
return m.SignatureDomain
func (x *SignRequest) GetSignatureDomain() []byte {
if x != nil {
return x.SignatureDomain
}
return nil
}
func (m *SignRequest) GetObject() isSignRequest_Object {
if m != nil {
return m.Object
}
return nil
}
func (x *SignRequest) GetBlock() *v1alpha1.BeaconBlock {
if x, ok := x.GetObject().(*SignRequest_Block); ok {
return x.Block
}
return nil
}
func (x *SignRequest) GetAttestationData() *v1alpha1.AttestationData {
if x, ok := x.GetObject().(*SignRequest_AttestationData); ok {
return x.AttestationData
}
return nil
}
func (x *SignRequest) GetAggregateAttestationAndProof() *v1alpha1.AggregateAttestationAndProof {
if x, ok := x.GetObject().(*SignRequest_AggregateAttestationAndProof); ok {
return x.AggregateAttestationAndProof
}
return nil
}
func (x *SignRequest) GetExit() *v1alpha1.VoluntaryExit {
if x, ok := x.GetObject().(*SignRequest_Exit); ok {
return x.Exit
}
return nil
}
func (x *SignRequest) GetSlot() uint64 {
if x, ok := x.GetObject().(*SignRequest_Slot); ok {
return x.Slot
}
return 0
}
func (x *SignRequest) GetEpoch() uint64 {
if x, ok := x.GetObject().(*SignRequest_Epoch); ok {
return x.Epoch
}
return 0
}
type isSignRequest_Object interface {
isSignRequest_Object()
}
@@ -201,58 +292,233 @@ func (*SignRequest_Slot) isSignRequest_Object() {}
func (*SignRequest_Epoch) isSignRequest_Object() {}
func (m *SignRequest) GetObject() isSignRequest_Object {
if m != nil {
return m.Object
type SignResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Signature []byte `protobuf:"bytes,1,opt,name=signature,proto3" json:"signature,omitempty"`
Status SignResponse_Status `protobuf:"varint,2,opt,name=status,proto3,enum=ethereum.validator.accounts.v2.SignResponse_Status" json:"status,omitempty"`
}
func (x *SignResponse) Reset() {
*x = SignResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_proto_validator_accounts_v2_keymanager_proto_msgTypes[2]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *SignResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*SignResponse) ProtoMessage() {}
func (x *SignResponse) ProtoReflect() protoreflect.Message {
mi := &file_proto_validator_accounts_v2_keymanager_proto_msgTypes[2]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use SignResponse.ProtoReflect.Descriptor instead.
func (*SignResponse) Descriptor() ([]byte, []int) {
return file_proto_validator_accounts_v2_keymanager_proto_rawDescGZIP(), []int{2}
}
func (x *SignResponse) GetSignature() []byte {
if x != nil {
return x.Signature
}
return nil
}
func (m *SignRequest) GetBlock() *v1alpha1.BeaconBlock {
if x, ok := m.GetObject().(*SignRequest_Block); ok {
return x.Block
func (x *SignResponse) GetStatus() SignResponse_Status {
if x != nil {
return x.Status
}
return nil
return SignResponse_UNKNOWN
}
func (m *SignRequest) GetAttestationData() *v1alpha1.AttestationData {
if x, ok := m.GetObject().(*SignRequest_AttestationData); ok {
return x.AttestationData
}
return nil
var File_proto_validator_accounts_v2_keymanager_proto protoreflect.FileDescriptor
var file_proto_validator_accounts_v2_keymanager_proto_rawDesc = []byte{
0x0a, 0x2c, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f,
0x72, 0x2f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2f, 0x76, 0x32, 0x2f, 0x6b, 0x65,
0x79, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1e,
0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74,
0x6f, 0x72, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x32, 0x1a, 0x1e,
0x65, 0x74, 0x68, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2f, 0x61, 0x74, 0x74,
0x65, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f,
0x65, 0x74, 0x68, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2f, 0x62, 0x65, 0x61,
0x63, 0x6f, 0x6e, 0x5f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a,
0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f,
0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1b, 0x67,
0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x65,
0x6d, 0x70, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x4e, 0x0a, 0x16, 0x4c, 0x69,
0x73, 0x74, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4b, 0x65, 0x79, 0x73, 0x52, 0x65, 0x73, 0x70,
0x6f, 0x6e, 0x73, 0x65, 0x12, 0x34, 0x0a, 0x16, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x69,
0x6e, 0x67, 0x5f, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x5f, 0x6b, 0x65, 0x79, 0x73, 0x18, 0x02,
0x20, 0x03, 0x28, 0x0c, 0x52, 0x14, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x69, 0x6e, 0x67,
0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4b, 0x65, 0x79, 0x73, 0x22, 0xfd, 0x03, 0x0a, 0x0b, 0x53,
0x69, 0x67, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x75,
0x62, 0x6c, 0x69, 0x63, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09,
0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4b, 0x65, 0x79, 0x12, 0x21, 0x0a, 0x0c, 0x73, 0x69, 0x67,
0x6e, 0x69, 0x6e, 0x67, 0x5f, 0x72, 0x6f, 0x6f, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52,
0x0b, 0x73, 0x69, 0x67, 0x6e, 0x69, 0x6e, 0x67, 0x52, 0x6f, 0x6f, 0x74, 0x12, 0x29, 0x0a, 0x10,
0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x5f, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e,
0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0f, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72,
0x65, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x12, 0x3a, 0x0a, 0x05, 0x62, 0x6c, 0x6f, 0x63, 0x6b,
0x18, 0x65, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75,
0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x42,
0x65, 0x61, 0x63, 0x6f, 0x6e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x00, 0x52, 0x05, 0x62, 0x6c,
0x6f, 0x63, 0x6b, 0x12, 0x53, 0x0a, 0x10, 0x61, 0x74, 0x74, 0x65, 0x73, 0x74, 0x61, 0x74, 0x69,
0x6f, 0x6e, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x18, 0x66, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e,
0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x61,
0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x41, 0x74, 0x74, 0x65, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f,
0x6e, 0x44, 0x61, 0x74, 0x61, 0x48, 0x00, 0x52, 0x0f, 0x61, 0x74, 0x74, 0x65, 0x73, 0x74, 0x61,
0x74, 0x69, 0x6f, 0x6e, 0x44, 0x61, 0x74, 0x61, 0x12, 0x7c, 0x0a, 0x1f, 0x61, 0x67, 0x67, 0x72,
0x65, 0x67, 0x61, 0x74, 0x65, 0x5f, 0x61, 0x74, 0x74, 0x65, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f,
0x6e, 0x5f, 0x61, 0x6e, 0x64, 0x5f, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x18, 0x67, 0x20, 0x01, 0x28,
0x0b, 0x32, 0x33, 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68,
0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x41, 0x67, 0x67, 0x72, 0x65, 0x67,
0x61, 0x74, 0x65, 0x41, 0x74, 0x74, 0x65, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x41, 0x6e,
0x64, 0x50, 0x72, 0x6f, 0x6f, 0x66, 0x48, 0x00, 0x52, 0x1c, 0x61, 0x67, 0x67, 0x72, 0x65, 0x67,
0x61, 0x74, 0x65, 0x41, 0x74, 0x74, 0x65, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x41, 0x6e,
0x64, 0x50, 0x72, 0x6f, 0x6f, 0x66, 0x12, 0x3a, 0x0a, 0x04, 0x65, 0x78, 0x69, 0x74, 0x18, 0x68,
0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e,
0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x56, 0x6f, 0x6c,
0x75, 0x6e, 0x74, 0x61, 0x72, 0x79, 0x45, 0x78, 0x69, 0x74, 0x48, 0x00, 0x52, 0x04, 0x65, 0x78,
0x69, 0x74, 0x12, 0x14, 0x0a, 0x04, 0x73, 0x6c, 0x6f, 0x74, 0x18, 0x69, 0x20, 0x01, 0x28, 0x04,
0x48, 0x00, 0x52, 0x04, 0x73, 0x6c, 0x6f, 0x74, 0x12, 0x16, 0x0a, 0x05, 0x65, 0x70, 0x6f, 0x63,
0x68, 0x18, 0x6a, 0x20, 0x01, 0x28, 0x04, 0x48, 0x00, 0x52, 0x05, 0x65, 0x70, 0x6f, 0x63, 0x68,
0x42, 0x08, 0x0a, 0x06, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x22, 0xb7, 0x01, 0x0a, 0x0c, 0x53,
0x69, 0x67, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x73,
0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09,
0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x12, 0x4b, 0x0a, 0x06, 0x73, 0x74, 0x61,
0x74, 0x75, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x33, 0x2e, 0x65, 0x74, 0x68, 0x65,
0x72, 0x65, 0x75, 0x6d, 0x2e, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x2e, 0x61,
0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x53, 0x69, 0x67, 0x6e, 0x52,
0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06,
0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x22, 0x3c, 0x0a, 0x06, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73,
0x12, 0x0b, 0x0a, 0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x0d, 0x0a,
0x09, 0x53, 0x55, 0x43, 0x43, 0x45, 0x45, 0x44, 0x45, 0x44, 0x10, 0x01, 0x12, 0x0a, 0x0a, 0x06,
0x44, 0x45, 0x4e, 0x49, 0x45, 0x44, 0x10, 0x02, 0x12, 0x0a, 0x0a, 0x06, 0x46, 0x41, 0x49, 0x4c,
0x45, 0x44, 0x10, 0x03, 0x32, 0xa7, 0x02, 0x0a, 0x0c, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x53,
0x69, 0x67, 0x6e, 0x65, 0x72, 0x12, 0x90, 0x01, 0x0a, 0x18, 0x4c, 0x69, 0x73, 0x74, 0x56, 0x61,
0x6c, 0x69, 0x64, 0x61, 0x74, 0x69, 0x6e, 0x67, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4b, 0x65,
0x79, 0x73, 0x12, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74,
0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x36, 0x2e, 0x65, 0x74, 0x68,
0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x2e,
0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x4c, 0x69, 0x73, 0x74,
0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4b, 0x65, 0x79, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
0x73, 0x65, 0x22, 0x24, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1e, 0x12, 0x1c, 0x2f, 0x61, 0x63, 0x63,
0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2f, 0x76, 0x32, 0x2f, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x2f,
0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x12, 0x83, 0x01, 0x0a, 0x04, 0x53, 0x69, 0x67,
0x6e, 0x12, 0x2b, 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x76, 0x61, 0x6c,
0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e,
0x76, 0x32, 0x2e, 0x53, 0x69, 0x67, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2c,
0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61,
0x74, 0x6f, 0x72, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x32, 0x2e,
0x53, 0x69, 0x67, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x20, 0x82, 0xd3,
0xe4, 0x93, 0x02, 0x1a, 0x22, 0x18, 0x2f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2f,
0x76, 0x32, 0x2f, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x2f, 0x73, 0x69, 0x67, 0x6e, 0x62, 0x06,
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}
func (m *SignRequest) GetAggregateAttestationAndProof() *v1alpha1.AggregateAttestationAndProof {
if x, ok := m.GetObject().(*SignRequest_AggregateAttestationAndProof); ok {
return x.AggregateAttestationAndProof
}
return nil
var (
file_proto_validator_accounts_v2_keymanager_proto_rawDescOnce sync.Once
file_proto_validator_accounts_v2_keymanager_proto_rawDescData = file_proto_validator_accounts_v2_keymanager_proto_rawDesc
)
func file_proto_validator_accounts_v2_keymanager_proto_rawDescGZIP() []byte {
file_proto_validator_accounts_v2_keymanager_proto_rawDescOnce.Do(func() {
file_proto_validator_accounts_v2_keymanager_proto_rawDescData = protoimpl.X.CompressGZIP(file_proto_validator_accounts_v2_keymanager_proto_rawDescData)
})
return file_proto_validator_accounts_v2_keymanager_proto_rawDescData
}
func (m *SignRequest) GetExit() *v1alpha1.VoluntaryExit {
if x, ok := m.GetObject().(*SignRequest_Exit); ok {
return x.Exit
}
return nil
var file_proto_validator_accounts_v2_keymanager_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
var file_proto_validator_accounts_v2_keymanager_proto_msgTypes = make([]protoimpl.MessageInfo, 3)
var file_proto_validator_accounts_v2_keymanager_proto_goTypes = []interface{}{
(SignResponse_Status)(0), // 0: ethereum.validator.accounts.v2.SignResponse.Status
(*ListPublicKeysResponse)(nil), // 1: ethereum.validator.accounts.v2.ListPublicKeysResponse
(*SignRequest)(nil), // 2: ethereum.validator.accounts.v2.SignRequest
(*SignResponse)(nil), // 3: ethereum.validator.accounts.v2.SignResponse
(*v1alpha1.BeaconBlock)(nil), // 4: ethereum.eth.v1alpha1.BeaconBlock
(*v1alpha1.AttestationData)(nil), // 5: ethereum.eth.v1alpha1.AttestationData
(*v1alpha1.AggregateAttestationAndProof)(nil), // 6: ethereum.eth.v1alpha1.AggregateAttestationAndProof
(*v1alpha1.VoluntaryExit)(nil), // 7: ethereum.eth.v1alpha1.VoluntaryExit
(*empty.Empty)(nil), // 8: google.protobuf.Empty
}
var file_proto_validator_accounts_v2_keymanager_proto_depIdxs = []int32{
4, // 0: ethereum.validator.accounts.v2.SignRequest.block:type_name -> ethereum.eth.v1alpha1.BeaconBlock
5, // 1: ethereum.validator.accounts.v2.SignRequest.attestation_data:type_name -> ethereum.eth.v1alpha1.AttestationData
6, // 2: ethereum.validator.accounts.v2.SignRequest.aggregate_attestation_and_proof:type_name -> ethereum.eth.v1alpha1.AggregateAttestationAndProof
7, // 3: ethereum.validator.accounts.v2.SignRequest.exit:type_name -> ethereum.eth.v1alpha1.VoluntaryExit
0, // 4: ethereum.validator.accounts.v2.SignResponse.status:type_name -> ethereum.validator.accounts.v2.SignResponse.Status
8, // 5: ethereum.validator.accounts.v2.RemoteSigner.ListValidatingPublicKeys:input_type -> google.protobuf.Empty
2, // 6: ethereum.validator.accounts.v2.RemoteSigner.Sign:input_type -> ethereum.validator.accounts.v2.SignRequest
1, // 7: ethereum.validator.accounts.v2.RemoteSigner.ListValidatingPublicKeys:output_type -> ethereum.validator.accounts.v2.ListPublicKeysResponse
3, // 8: ethereum.validator.accounts.v2.RemoteSigner.Sign:output_type -> ethereum.validator.accounts.v2.SignResponse
7, // [7:9] is the sub-list for method output_type
5, // [5:7] is the sub-list for method input_type
5, // [5:5] is the sub-list for extension type_name
5, // [5:5] is the sub-list for extension extendee
0, // [0:5] is the sub-list for field type_name
}
func (m *SignRequest) GetSlot() uint64 {
if x, ok := m.GetObject().(*SignRequest_Slot); ok {
return x.Slot
func init() { file_proto_validator_accounts_v2_keymanager_proto_init() }
func file_proto_validator_accounts_v2_keymanager_proto_init() {
if File_proto_validator_accounts_v2_keymanager_proto != nil {
return
}
return 0
}
func (m *SignRequest) GetEpoch() uint64 {
if x, ok := m.GetObject().(*SignRequest_Epoch); ok {
return x.Epoch
if !protoimpl.UnsafeEnabled {
file_proto_validator_accounts_v2_keymanager_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ListPublicKeysResponse); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_proto_validator_accounts_v2_keymanager_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*SignRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_proto_validator_accounts_v2_keymanager_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*SignResponse); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
}
return 0
}
// XXX_OneofWrappers is for the internal use of the proto package.
func (*SignRequest) XXX_OneofWrappers() []interface{} {
return []interface{}{
file_proto_validator_accounts_v2_keymanager_proto_msgTypes[1].OneofWrappers = []interface{}{
(*SignRequest_Block)(nil),
(*SignRequest_AttestationData)(nil),
(*SignRequest_AggregateAttestationAndProof)(nil),
@@ -260,109 +526,25 @@ func (*SignRequest) XXX_OneofWrappers() []interface{} {
(*SignRequest_Slot)(nil),
(*SignRequest_Epoch)(nil),
}
}
type SignResponse struct {
Signature []byte `protobuf:"bytes,1,opt,name=signature,proto3" json:"signature,omitempty"`
Status SignResponse_Status `protobuf:"varint,2,opt,name=status,proto3,enum=ethereum.validator.accounts.v2.SignResponse_Status" json:"status,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *SignResponse) Reset() { *m = SignResponse{} }
func (m *SignResponse) String() string { return proto.CompactTextString(m) }
func (*SignResponse) ProtoMessage() {}
func (*SignResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_795e98bd0a473d79, []int{2}
}
func (m *SignResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_SignResponse.Unmarshal(m, b)
}
func (m *SignResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_SignResponse.Marshal(b, m, deterministic)
}
func (m *SignResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_SignResponse.Merge(m, src)
}
func (m *SignResponse) XXX_Size() int {
return xxx_messageInfo_SignResponse.Size(m)
}
func (m *SignResponse) XXX_DiscardUnknown() {
xxx_messageInfo_SignResponse.DiscardUnknown(m)
}
var xxx_messageInfo_SignResponse proto.InternalMessageInfo
func (m *SignResponse) GetSignature() []byte {
if m != nil {
return m.Signature
}
return nil
}
func (m *SignResponse) GetStatus() SignResponse_Status {
if m != nil {
return m.Status
}
return SignResponse_UNKNOWN
}
func init() {
proto.RegisterEnum("ethereum.validator.accounts.v2.SignResponse_Status", SignResponse_Status_name, SignResponse_Status_value)
proto.RegisterType((*ListPublicKeysResponse)(nil), "ethereum.validator.accounts.v2.ListPublicKeysResponse")
proto.RegisterType((*SignRequest)(nil), "ethereum.validator.accounts.v2.SignRequest")
proto.RegisterType((*SignResponse)(nil), "ethereum.validator.accounts.v2.SignResponse")
}
func init() {
proto.RegisterFile("proto/validator/accounts/v2/keymanager.proto", fileDescriptor_795e98bd0a473d79)
}
var fileDescriptor_795e98bd0a473d79 = []byte{
// 653 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x54, 0x5d, 0x6e, 0xd3, 0x40,
0x10, 0x8e, 0x93, 0x34, 0xd0, 0x4d, 0xa0, 0xd1, 0xaa, 0x8a, 0xac, 0x10, 0xda, 0x60, 0x55, 0x28,
0x88, 0xca, 0x56, 0x53, 0xc4, 0x43, 0xc5, 0x4b, 0x5b, 0x1b, 0xa5, 0x6a, 0x15, 0x2a, 0x47, 0x2d,
0x8f, 0xd6, 0xc6, 0x99, 0x3a, 0x6e, 0x9d, 0x5d, 0x63, 0xaf, 0xa3, 0x46, 0xe2, 0x09, 0x2e, 0x80,
0xc4, 0x21, 0x38, 0x02, 0x07, 0xe1, 0x0a, 0x5c, 0x03, 0x09, 0xed, 0xda, 0x71, 0x52, 0x29, 0xe5,
0xe7, 0x2d, 0xf3, 0xcd, 0xf7, 0xcd, 0x8c, 0xbf, 0xd9, 0x09, 0xda, 0x0d, 0x23, 0xc6, 0x99, 0x31,
0x25, 0x81, 0x3f, 0x22, 0x9c, 0x45, 0x06, 0x71, 0x5d, 0x96, 0x50, 0x1e, 0x1b, 0xd3, 0xae, 0x71,
0x03, 0xb3, 0x09, 0xa1, 0xc4, 0x83, 0x48, 0x97, 0x34, 0xbc, 0x05, 0x7c, 0x0c, 0x11, 0x24, 0x13,
0x3d, 0x17, 0xe8, 0x73, 0x81, 0x3e, 0xed, 0x36, 0x45, 0xde, 0x98, 0xee, 0x91, 0x20, 0x1c, 0x93,
0x3d, 0x83, 0x70, 0x0e, 0x31, 0x27, 0xdc, 0x67, 0x34, 0xd5, 0x37, 0xb7, 0xef, 0xe4, 0x87, 0x40,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, 0x96,
0x69, 0x99, 0x75, 0x05, 0x23, 0x54, 0x31, 0xad, 0xfe, 0x89, 0x65, 0xd6, 0x8b, 0xe2, 0xf7, 0xdb,
0xc3, 0x93, 0x33, 0xcb, 0xac, 0x97, 0xba, 0xdf, 0x8a, 0xa8, 0x66, 0xc3, 0x84, 0x71, 0x10, 0x3d,
0x20, 0xc2, 0x5f, 0x14, 0xa4, 0x8a, 0xdb, 0xb8, 0x5c, 0xf1, 0xce, 0x71, 0x43, 0x4f, 0xaf, 0x4a,
0x9f, 0x5f, 0x95, 0x6e, 0x89, 0xab, 0x6a, 0xbe, 0xfe, 0xdb, 0x07, 0xac, 0xbe, 0x36, 0x6d, 0xe7,
0xd3, 0x8f, 0x9f, 0x5f, 0x8b, 0x5b, 0xb8, 0x75, 0xe7, 0xaf, 0x24, 0x92, 0xf3, 0xe4, 0x10, 0xfe,
0xac, 0xa0, 0xb2, 0x98, 0x0e, 0xbf, 0xfc, 0x37, 0x9f, 0xe4, 0x0d, 0x36, 0x77, 0xff, 0xc7, 0x54,
0xad, 0x2d, 0x27, 0x69, 0x6a, 0xea, 0xaa, 0x49, 0xc4, 0xe6, 0x86, 0x15, 0xf9, 0xcd, 0xfb, 0xbf,
0x03, 0x00, 0x00, 0xff, 0xff, 0x2d, 0x82, 0x15, 0x16, 0x06, 0x05, 0x00, 0x00,
type x struct{}
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: file_proto_validator_accounts_v2_keymanager_proto_rawDesc,
NumEnums: 1,
NumMessages: 3,
NumExtensions: 0,
NumServices: 1,
},
GoTypes: file_proto_validator_accounts_v2_keymanager_proto_goTypes,
DependencyIndexes: file_proto_validator_accounts_v2_keymanager_proto_depIdxs,
EnumInfos: file_proto_validator_accounts_v2_keymanager_proto_enumTypes,
MessageInfos: file_proto_validator_accounts_v2_keymanager_proto_msgTypes,
}.Build()
File_proto_validator_accounts_v2_keymanager_proto = out.File
file_proto_validator_accounts_v2_keymanager_proto_rawDesc = nil
file_proto_validator_accounts_v2_keymanager_proto_goTypes = nil
file_proto_validator_accounts_v2_keymanager_proto_depIdxs = nil
}
// Reference imports to suppress errors if they are not otherwise used.
@@ -417,10 +599,10 @@ type RemoteSignerServer interface {
type UnimplementedRemoteSignerServer struct {
}
func (*UnimplementedRemoteSignerServer) ListValidatingPublicKeys(ctx context.Context, req *empty.Empty) (*ListPublicKeysResponse, error) {
func (*UnimplementedRemoteSignerServer) ListValidatingPublicKeys(context.Context, *empty.Empty) (*ListPublicKeysResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method ListValidatingPublicKeys not implemented")
}
func (*UnimplementedRemoteSignerServer) Sign(ctx context.Context, req *SignRequest) (*SignResponse, error) {
func (*UnimplementedRemoteSignerServer) Sign(context.Context, *SignRequest) (*SignResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method Sign not implemented")
}

File diff suppressed because it is too large Load Diff