diff --git a/.bazelversion b/.bazelversion index 944880fa..7c69a55d 100644 --- a/.bazelversion +++ b/.bazelversion @@ -1 +1 @@ -3.2.0 +3.7.0 diff --git a/WORKSPACE b/WORKSPACE index d2df39fa..1ac5eb48 100644 --- a/WORKSPACE +++ b/WORKSPACE @@ -8,19 +8,19 @@ load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") http_archive( name = "io_bazel_rules_go", - sha256 = "0c10738a488239750dbf35336be13252bad7c74348f867d30c3c3e0001906096", + sha256 = "7c10271940c6bce577d51a075ae77728964db285dac0a46614a7934dc34303e6", urls = [ - "https://mirror.bazel.build/github.com/bazelbuild/rules_go/releases/download/v0.23.2/rules_go-v0.23.2.tar.gz", - "https://github.com/bazelbuild/rules_go/releases/download/v0.23.2/rules_go-v0.23.2.tar.gz", + "https://mirror.bazel.build/github.com/bazelbuild/rules_go/releases/download/v0.26.0/rules_go-v0.26.0.tar.gz", + "https://github.com/bazelbuild/rules_go/releases/download/v0.26.0/rules_go-v0.26.0.tar.gz", ], ) http_archive( name = "bazel_gazelle", - sha256 = "cdb02a887a7187ea4d5a27452311a75ed8637379a1287d8eeb952138ea485f7d", + sha256 = "62ca106be173579c0a167deb23358fdfe71ffa1e4cfdddf5582af26520f1c66f", urls = [ - "https://mirror.bazel.build/github.com/bazelbuild/bazel-gazelle/releases/download/v0.21.1/bazel-gazelle-v0.21.1.tar.gz", - "https://github.com/bazelbuild/bazel-gazelle/releases/download/v0.21.1/bazel-gazelle-v0.21.1.tar.gz", + "https://mirror.bazel.build/github.com/bazelbuild/bazel-gazelle/releases/download/v0.23.0/bazel-gazelle-v0.23.0.tar.gz", + "https://github.com/bazelbuild/bazel-gazelle/releases/download/v0.23.0/bazel-gazelle-v0.23.0.tar.gz", ], ) @@ -28,7 +28,7 @@ load("@io_bazel_rules_go//go:deps.bzl", "go_rules_dependencies", "go_register_to go_rules_dependencies() -go_register_toolchains() +go_register_toolchains(go_version = "1.16.4") load("@bazel_gazelle//:deps.bzl", "gazelle_dependencies") @@ -36,11 +36,11 @@ gazelle_dependencies() load("@bazel_tools//tools/build_defs/repo:git.bzl", "git_repository") -git_repository( +http_archive( name = "com_google_protobuf", - commit = "4059c61f27eb1b06c4ee979546a238be792df0a4", - remote = "https://github.com/protocolbuffers/protobuf", - shallow_since = "1558721209 -0700", + sha256 = "65e020a42bdab44a66664d34421995829e9e79c60e5adaa08282fd14ca552f57", + strip_prefix = "protobuf-3.15.6", + urls = ["https://github.com/protocolbuffers/protobuf/archive/v3.15.6.tar.gz"], ) load("@com_google_protobuf//:protobuf_deps.bzl", "protobuf_deps") diff --git a/eth/ext/BUILD.bazel b/eth/ext/BUILD.bazel new file mode 100644 index 00000000..7c123fc0 --- /dev/null +++ b/eth/ext/BUILD.bazel @@ -0,0 +1,65 @@ +############################################################################## +# Common +############################################################################## + +load("@rules_proto//proto:defs.bzl", "proto_library") +load("@rules_java//java:defs.bzl", "java_proto_library") + +proto_library( + name = "proto", + srcs = [ + "options.proto", + ], + visibility = ["//visibility:public"], + deps = [ + "@com_google_protobuf//:descriptor_proto", + "@com_google_protobuf//:empty_proto", + ], +) + +############################################################################## +# Go +############################################################################## +load("@io_bazel_rules_go//go:def.bzl", "go_library") +load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library") +load("//tools:ssz.bzl", "SSZ_DEPS", "ssz_gen_marshal") + +go_proto_library( + name = "go_proto", + compilers = [ + "@com_github_prysmaticlabs_protoc_gen_go_cast//:go_cast", + ], + importpath = "github.com/prysmaticlabs/ethereumapis/eth/ext", + proto = ":proto", + visibility = ["//visibility:public"], + deps = [ + "@io_bazel_rules_go//proto/wkt:descriptor_go_proto", + "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_protobuf//types/descriptorpb:go_default_library", + "@go_googleapis//google/api:annotations_go_proto", + "@org_golang_google_protobuf//reflect/protoreflect:go_default_library", + "@org_golang_google_protobuf//runtime/protoimpl:go_default_library", + ], +) + +go_library( + name = "go_default_library", + embed = [":go_proto"], + importpath = "github.com/prysmaticlabs/ethereumapis/eth/ext", + visibility = ["//visibility:public"], + deps = SSZ_DEPS + [ + "@io_bazel_rules_go//proto/wkt:empty_go_proto", + "@io_bazel_rules_go//proto/wkt:descriptor_go_proto", + "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_protobuf//reflect/protoreflect:go_default_library", + "@org_golang_google_protobuf//runtime/protoimpl:go_default_library", + ], # keep +) + +############################################################################## +# Java +############################################################################## +java_proto_library( + name = "java_proto", + deps = [":proto"], +) diff --git a/eth/ext/options.pb.go b/eth/ext/options.pb.go new file mode 100644 index 00000000..fd9b025e --- /dev/null +++ b/eth/ext/options.pb.go @@ -0,0 +1,148 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.25.0 +// protoc v3.15.6 +// source: eth/ext/options.proto + +package ext + +import ( + reflect "reflect" + + proto "github.com/golang/protobuf/proto" + descriptor "github.com/golang/protobuf/protoc-gen-go/descriptor" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" +) + +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 that a sufficiently up-to-date version +// of the legacy proto package is being used. +const _ = proto.ProtoPackageIsVersion4 + +var file_eth_ext_options_proto_extTypes = []protoimpl.ExtensionInfo{ + { + ExtendedType: (*descriptor.FieldOptions)(nil), + ExtensionType: (*string)(nil), + Field: 50000, + Name: "ethereum.eth.ext.cast_type", + Tag: "bytes,50000,opt,name=cast_type", + Filename: "eth/ext/options.proto", + }, + { + ExtendedType: (*descriptor.FieldOptions)(nil), + ExtensionType: (*string)(nil), + Field: 50001, + Name: "ethereum.eth.ext.ssz_size", + Tag: "bytes,50001,opt,name=ssz_size", + Filename: "eth/ext/options.proto", + }, + { + ExtendedType: (*descriptor.FieldOptions)(nil), + ExtensionType: (*string)(nil), + Field: 50002, + Name: "ethereum.eth.ext.ssz_max", + Tag: "bytes,50002,opt,name=ssz_max", + Filename: "eth/ext/options.proto", + }, + { + ExtendedType: (*descriptor.FieldOptions)(nil), + ExtensionType: (*string)(nil), + Field: 50003, + Name: "ethereum.eth.ext.spec_name", + Tag: "bytes,50003,opt,name=spec_name", + Filename: "eth/ext/options.proto", + }, +} + +// Extension fields to descriptor.FieldOptions. +var ( + // optional string cast_type = 50000; + E_CastType = &file_eth_ext_options_proto_extTypes[0] + // optional string ssz_size = 50001; + E_SszSize = &file_eth_ext_options_proto_extTypes[1] + // optional string ssz_max = 50002; + E_SszMax = &file_eth_ext_options_proto_extTypes[2] + // optional string spec_name = 50003; + E_SpecName = &file_eth_ext_options_proto_extTypes[3] +) + +var File_eth_ext_options_proto protoreflect.FileDescriptor + +var file_eth_ext_options_proto_rawDesc = []byte{ + 0x0a, 0x15, 0x65, 0x74, 0x68, 0x2f, 0x65, 0x78, 0x74, 0x2f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, + 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x10, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, + 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x65, 0x78, 0x74, 0x1a, 0x20, 0x67, 0x6f, 0x6f, 0x67, 0x6c, + 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x64, 0x65, 0x73, 0x63, 0x72, + 0x69, 0x70, 0x74, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x3a, 0x3c, 0x0a, 0x09, 0x63, + 0x61, 0x73, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x12, 0x1d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, + 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, + 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0xd0, 0x86, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x08, 0x63, 0x61, 0x73, 0x74, 0x54, 0x79, 0x70, 0x65, 0x3a, 0x3a, 0x0a, 0x08, 0x73, 0x73, 0x7a, + 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x12, 0x1d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4f, 0x70, 0x74, + 0x69, 0x6f, 0x6e, 0x73, 0x18, 0xd1, 0x86, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x73, 0x73, + 0x7a, 0x53, 0x69, 0x7a, 0x65, 0x3a, 0x38, 0x0a, 0x07, 0x73, 0x73, 0x7a, 0x5f, 0x6d, 0x61, 0x78, + 0x12, 0x1d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, + 0xd2, 0x86, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x73, 0x7a, 0x4d, 0x61, 0x78, 0x3a, + 0x3c, 0x0a, 0x09, 0x73, 0x70, 0x65, 0x63, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1d, 0x2e, 0x67, + 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, + 0x69, 0x65, 0x6c, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0xd3, 0x86, 0x03, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x08, 0x73, 0x70, 0x65, 0x63, 0x4e, 0x61, 0x6d, 0x65, 0x42, 0x7b, 0x0a, + 0x14, 0x6f, 0x72, 0x67, 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, + 0x68, 0x2e, 0x65, 0x78, 0x74, 0x42, 0x0c, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x50, 0x72, + 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x2d, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, + 0x6d, 0x2f, 0x70, 0x72, 0x79, 0x73, 0x6d, 0x61, 0x74, 0x69, 0x63, 0x6c, 0x61, 0x62, 0x73, 0x2f, + 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x65, 0x74, 0x68, + 0x2f, 0x65, 0x78, 0x74, 0xaa, 0x02, 0x10, 0x45, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, + 0x45, 0x74, 0x68, 0x2e, 0x65, 0x78, 0x74, 0xca, 0x02, 0x10, 0x45, 0x74, 0x68, 0x65, 0x72, 0x65, + 0x75, 0x6d, 0x5c, 0x45, 0x74, 0x68, 0x5c, 0x65, 0x78, 0x74, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x33, +} + +var file_eth_ext_options_proto_goTypes = []interface{}{ + (*descriptor.FieldOptions)(nil), // 0: google.protobuf.FieldOptions +} +var file_eth_ext_options_proto_depIdxs = []int32{ + 0, // 0: ethereum.eth.ext.cast_type:extendee -> google.protobuf.FieldOptions + 0, // 1: ethereum.eth.ext.ssz_size:extendee -> google.protobuf.FieldOptions + 0, // 2: ethereum.eth.ext.ssz_max:extendee -> google.protobuf.FieldOptions + 0, // 3: ethereum.eth.ext.spec_name:extendee -> google.protobuf.FieldOptions + 4, // [4:4] is the sub-list for method output_type + 4, // [4:4] is the sub-list for method input_type + 4, // [4:4] is the sub-list for extension type_name + 0, // [0:4] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_eth_ext_options_proto_init() } +func file_eth_ext_options_proto_init() { + if File_eth_ext_options_proto != nil { + return + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_eth_ext_options_proto_rawDesc, + NumEnums: 0, + NumMessages: 0, + NumExtensions: 4, + NumServices: 0, + }, + GoTypes: file_eth_ext_options_proto_goTypes, + DependencyIndexes: file_eth_ext_options_proto_depIdxs, + ExtensionInfos: file_eth_ext_options_proto_extTypes, + }.Build() + File_eth_ext_options_proto = out.File + file_eth_ext_options_proto_rawDesc = nil + file_eth_ext_options_proto_goTypes = nil + file_eth_ext_options_proto_depIdxs = nil +} diff --git a/eth/ext/options.proto b/eth/ext/options.proto new file mode 100644 index 00000000..817677cb --- /dev/null +++ b/eth/ext/options.proto @@ -0,0 +1,32 @@ +// Copyright 2020 Prysmatic Labs. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +syntax = "proto3"; + +package ethereum.eth.ext; + +import "google/protobuf/descriptor.proto"; + +option csharp_namespace = "Ethereum.Eth.ext"; +option go_package = "github.com/prysmaticlabs/ethereumapis/eth/ext"; +option java_multiple_files = true; +option java_outer_classname = "OptionsProto"; +option java_package = "org.ethereum.eth.ext"; +option php_namespace = "Ethereum\\Eth\\ext"; + +extend google.protobuf.FieldOptions { + string cast_type = 50000; + string ssz_size = 50001; + string ssz_max = 50002; + string spec_name = 50003; +} \ No newline at end of file diff --git a/eth/v1/BUILD.bazel b/eth/v1/BUILD.bazel index a209beb0..4b66605b 100644 --- a/eth/v1/BUILD.bazel +++ b/eth/v1/BUILD.bazel @@ -1,11 +1,42 @@ +############################################################################## +# Common +############################################################################## + load("@rules_proto//proto:defs.bzl", "proto_library") +load("@rules_java//java:defs.bzl", "java_proto_library") + +proto_library( + name = "proto", + srcs = [ + "attestation.proto", + "beacon_block.proto", + "beacon_chain_service.proto", + "beacon_debug_service.proto", + "beacon_state.proto", + "node.proto", + "validator.proto", + "validator_service.proto", + ], + visibility = ["//visibility:public"], + deps = [ + "//eth/ext:proto", + "@com_google_protobuf//:descriptor_proto", + "@com_google_protobuf//:empty_proto", + "@com_google_protobuf//:timestamp_proto", + "@go_googleapis//google/api:annotations_proto", + ], +) + +############################################################################## +# Go +############################################################################## load("@io_bazel_rules_go//go:def.bzl", "go_library") load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library") load("//tools:ssz.bzl", "SSZ_DEPS", "ssz_gen_marshal") ssz_gen_marshal( name = "ssz_generated_files", - go_proto = ":v1_go_proto", + go_proto = ":go_proto", includes = [ "@com_github_prysmaticlabs_eth2_types//:go_default_library", ], @@ -20,6 +51,7 @@ ssz_gen_marshal( "BeaconBlockBodyV1", "Checkpoint", "Deposit", + "DepositData", "Eth1Data", "IndexedAttestation", "ProposerSlashing", @@ -33,38 +65,47 @@ ssz_gen_marshal( ], ) -proto_library( - name = "v1_proto", - srcs = [ - "attestation.proto", - "beacon_block.proto", - "beacon_chain_service.proto", - "beacon_debug_service.proto", - "beacon_state.proto", - "node.proto", - "validator.proto", - "validator_service.proto", +go_proto_library( + name = "go_proto", + compilers = [ + "@com_github_prysmaticlabs_protoc_gen_go_cast//:go_cast_grpc", ], + importpath = "github.com/prysmaticlabs/ethereumapis/eth/v1", + proto = ":proto", visibility = ["//visibility:public"], deps = [ - "@com_google_protobuf//:empty_proto", - "@com_google_protobuf//:timestamp_proto", - "@go_googleapis//google/api:annotations_proto", - "@gogo_special_proto//github.com/gogo/protobuf/gogoproto", # keep + "//eth/ext:go_default_library", + "@io_bazel_rules_go//proto/wkt:descriptor_go_proto", + "@com_github_golang_protobuf//proto:go_default_library", + "@io_bazel_rules_go//proto/wkt:empty_go_proto", + "@io_bazel_rules_go//proto/wkt:timestamp_go_proto", + "@com_github_prysmaticlabs_go_bitfield//:go_default_library", # keep + "@com_github_prysmaticlabs_eth2_types//:go_default_library", + "@go_googleapis//google/api:annotations_go_proto", + "@org_golang_google_protobuf//reflect/protoreflect:go_default_library", + "@org_golang_google_protobuf//runtime/protoimpl:go_default_library", + "@org_golang_google_protobuf//types/descriptorpb:go_default_library", + "@org_golang_google_protobuf//types/known/timestamppb:go_default_library", ], ) go_proto_library( - name = "v1_go_proto", - compilers = ["@io_bazel_rules_go//proto:gogofast_grpc"], + name = "go_grpc_gateway_library", + compilers = [ + "@com_github_grpc_ecosystem_grpc_gateway_v2//protoc-gen-grpc-gateway:go_gen_grpc_gateway", + ], + embed = [":go_proto"], importpath = "github.com/prysmaticlabs/ethereumapis/eth/v1", - proto = ":v1_proto", - visibility = ["//visibility:public"], + protos = [":proto"], + visibility = ["//visibility:private"], deps = [ - "@com_github_gogo_protobuf//gogoproto:go_default_library", # keep - "@com_github_prysmaticlabs_go_bitfield//:go_default_library", # keep + "//eth/ext:go_default_library", + "@io_bazel_rules_go//proto/wkt:empty_go_proto", + "@com_github_grpc_ecosystem_grpc_gateway_v2//protoc-gen-openapiv2/options:options_go_proto", + "@com_github_prysmaticlabs_go_bitfield//:go_default_library", "@go_googleapis//google/api:annotations_go_proto", - "@com_github_prysmaticlabs_eth2_types//:go_default_library", + "@io_bazel_rules_go//proto/wkt:timestamp_go_proto", + "@io_bazel_rules_go//proto/wkt:descriptor_go_proto", ], ) @@ -73,8 +114,36 @@ go_library( srcs = [ ":ssz_generated_files", # keep ], - embed = [":v1_go_proto"], + embed = [ + ":go_grpc_gateway_library", + ], importpath = "github.com/prysmaticlabs/ethereumapis/eth/v1", visibility = ["//visibility:public"], - deps = SSZ_DEPS, # keep + deps = SSZ_DEPS + [ + "//eth/ext:go_default_library", + "@com_github_grpc_ecosystem_grpc_gateway_v2//runtime:go_default_library", + "@com_github_grpc_ecosystem_grpc_gateway_v2//utilities:go_default_library", + "@io_bazel_rules_go//proto/wkt:empty_go_proto", + "@org_golang_google_grpc//:go_default_library", + "@org_golang_google_grpc//codes:go_default_library", + "@org_golang_google_grpc//grpclog:go_default_library", + "@org_golang_google_grpc//metadata:go_default_library", + "@org_golang_google_grpc//status:go_default_library", + "@io_bazel_rules_go//proto/wkt:descriptor_go_proto", + "@com_github_golang_protobuf//proto:go_default_library", + "@io_bazel_rules_go//proto/wkt:struct_go_proto", + "@io_bazel_rules_go//proto/wkt:timestamp_go_proto", + "@com_github_prysmaticlabs_go_bitfield//:go_default_library", # keep + "@go_googleapis//google/api:annotations_go_proto", + "@org_golang_google_protobuf//reflect/protoreflect:go_default_library", + "@org_golang_google_protobuf//runtime/protoimpl:go_default_library", + ], # keep +) + +############################################################################## +# Java +############################################################################## +java_proto_library( + name = "java_proto", + deps = [":proto"], ) diff --git a/eth/v1alpha1_gateway/README.md b/eth/v1/README.md similarity index 83% rename from eth/v1alpha1_gateway/README.md rename to eth/v1/README.md index 5a1953d5..af9cfcca 100644 --- a/eth/v1alpha1_gateway/README.md +++ b/eth/v1/README.md @@ -1,4 +1,4 @@ # gRPC Gateway -This package is contains generated files for applications that wish to use eth/v1alpha as a +This package is contains generated files for applications that wish to use eth/v1alpha as a [gRPC gateway](https://github.com/grpc-ecosystem/grpc-gateway). \ No newline at end of file diff --git a/eth/v1/attestation.pb.go b/eth/v1/attestation.pb.go index 53de0205..6cac9f82 100644 --- a/eth/v1/attestation.pb.go +++ b/eth/v1/attestation.pb.go @@ -1,1600 +1,552 @@ -// Code generated by protoc-gen-gogo. DO NOT EDIT. +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.25.0 +// protoc v3.15.6 // source: eth/v1/attestation.proto package v1 import ( - fmt "fmt" - io "io" - math "math" - math_bits "math/bits" + reflect "reflect" + sync "sync" - _ "github.com/gogo/protobuf/gogoproto" - proto "github.com/gogo/protobuf/proto" + proto "github.com/golang/protobuf/proto" + _ "github.com/golang/protobuf/protoc-gen-go/descriptor" github_com_prysmaticlabs_eth2_types "github.com/prysmaticlabs/eth2-types" + _ "github.com/prysmaticlabs/ethereumapis/eth/ext" github_com_prysmaticlabs_go_bitfield "github.com/prysmaticlabs/go-bitfield" + 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.GoGoProtoPackageIsVersion3 // 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 Attestation struct { - AggregationBits github_com_prysmaticlabs_go_bitfield.Bitlist `protobuf:"bytes,1,opt,name=aggregation_bits,json=aggregationBits,proto3,casttype=github.com/prysmaticlabs/go-bitfield.Bitlist" json:"aggregation_bits,omitempty" ssz-max:"2048"` - Data *AttestationData `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` - Signature []byte `protobuf:"bytes,3,opt,name=signature,proto3" json:"signature,omitempty" ssz-size:"96"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Attestation) Reset() { *m = Attestation{} } -func (m *Attestation) String() string { return proto.CompactTextString(m) } -func (*Attestation) ProtoMessage() {} -func (*Attestation) Descriptor() ([]byte, []int) { - return fileDescriptor_b424b17af5508fe0, []int{0} -} -func (m *Attestation) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *Attestation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_Attestation.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil - } -} -func (m *Attestation) XXX_Merge(src proto.Message) { - xxx_messageInfo_Attestation.Merge(m, src) -} -func (m *Attestation) XXX_Size() int { - return m.Size() -} -func (m *Attestation) XXX_DiscardUnknown() { - xxx_messageInfo_Attestation.DiscardUnknown(m) -} - -var xxx_messageInfo_Attestation proto.InternalMessageInfo + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *Attestation) GetAggregationBits() github_com_prysmaticlabs_go_bitfield.Bitlist { - if m != nil { - return m.AggregationBits - } - return nil + AggregationBits github_com_prysmaticlabs_go_bitfield.Bitlist `protobuf:"bytes,1,opt,name=aggregation_bits,json=aggregationBits,proto3" json:"aggregation_bits,omitempty" cast-type:"github.com/prysmaticlabs/go-bitfield.Bitlist" ssz-max:"2048"` + Data *AttestationData `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` + Signature []byte `protobuf:"bytes,3,opt,name=signature,proto3" json:"signature,omitempty" ssz-size:"96"` } -func (m *Attestation) GetData() *AttestationData { - if m != nil { - return m.Data +func (x *Attestation) Reset() { + *x = Attestation{} + if protoimpl.UnsafeEnabled { + mi := &file_eth_v1_attestation_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } - return nil } -func (m *Attestation) GetSignature() []byte { - if m != nil { - return m.Signature - } - return nil +func (x *Attestation) String() string { + return protoimpl.X.MessageStringOf(x) } -type AggregateAttestationAndProof struct { - AggregatorIndex github_com_prysmaticlabs_eth2_types.ValidatorIndex `protobuf:"varint,1,opt,name=aggregator_index,json=aggregatorIndex,proto3,casttype=github.com/prysmaticlabs/eth2-types.ValidatorIndex" json:"aggregator_index,omitempty"` - Aggregate *Attestation `protobuf:"bytes,3,opt,name=aggregate,proto3" json:"aggregate,omitempty"` - SelectionProof []byte `protobuf:"bytes,2,opt,name=selection_proof,json=selectionProof,proto3" json:"selection_proof,omitempty" ssz-size:"96"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} +func (*Attestation) ProtoMessage() {} -func (m *AggregateAttestationAndProof) Reset() { *m = AggregateAttestationAndProof{} } -func (m *AggregateAttestationAndProof) String() string { return proto.CompactTextString(m) } -func (*AggregateAttestationAndProof) ProtoMessage() {} -func (*AggregateAttestationAndProof) Descriptor() ([]byte, []int) { - return fileDescriptor_b424b17af5508fe0, []int{1} -} -func (m *AggregateAttestationAndProof) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *AggregateAttestationAndProof) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_AggregateAttestationAndProof.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err +func (x *Attestation) ProtoReflect() protoreflect.Message { + mi := &file_eth_v1_attestation_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - return b[:n], nil + return ms } -} -func (m *AggregateAttestationAndProof) XXX_Merge(src proto.Message) { - xxx_messageInfo_AggregateAttestationAndProof.Merge(m, src) -} -func (m *AggregateAttestationAndProof) XXX_Size() int { - return m.Size() -} -func (m *AggregateAttestationAndProof) XXX_DiscardUnknown() { - xxx_messageInfo_AggregateAttestationAndProof.DiscardUnknown(m) + return mi.MessageOf(x) } -var xxx_messageInfo_AggregateAttestationAndProof proto.InternalMessageInfo +// Deprecated: Use Attestation.ProtoReflect.Descriptor instead. +func (*Attestation) Descriptor() ([]byte, []int) { + return file_eth_v1_attestation_proto_rawDescGZIP(), []int{0} +} -func (m *AggregateAttestationAndProof) GetAggregatorIndex() github_com_prysmaticlabs_eth2_types.ValidatorIndex { - if m != nil { - return m.AggregatorIndex +func (x *Attestation) GetAggregationBits() github_com_prysmaticlabs_go_bitfield.Bitlist { + if x != nil { + return x.AggregationBits } - return 0 + return github_com_prysmaticlabs_go_bitfield.Bitlist(nil) } -func (m *AggregateAttestationAndProof) GetAggregate() *Attestation { - if m != nil { - return m.Aggregate +func (x *Attestation) GetData() *AttestationData { + if x != nil { + return x.Data } return nil } -func (m *AggregateAttestationAndProof) GetSelectionProof() []byte { - if m != nil { - return m.SelectionProof +func (x *Attestation) GetSignature() []byte { + if x != nil { + return x.Signature } return nil } -type SignedAggregateAttestationAndProof struct { - Message *AggregateAttestationAndProof `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"` - Signature []byte `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty" ssz-size:"96"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} +type AggregateAttestationAndProof struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *SignedAggregateAttestationAndProof) Reset() { *m = SignedAggregateAttestationAndProof{} } -func (m *SignedAggregateAttestationAndProof) String() string { return proto.CompactTextString(m) } -func (*SignedAggregateAttestationAndProof) ProtoMessage() {} -func (*SignedAggregateAttestationAndProof) Descriptor() ([]byte, []int) { - return fileDescriptor_b424b17af5508fe0, []int{2} -} -func (m *SignedAggregateAttestationAndProof) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *SignedAggregateAttestationAndProof) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_SignedAggregateAttestationAndProof.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil - } -} -func (m *SignedAggregateAttestationAndProof) XXX_Merge(src proto.Message) { - xxx_messageInfo_SignedAggregateAttestationAndProof.Merge(m, src) -} -func (m *SignedAggregateAttestationAndProof) XXX_Size() int { - return m.Size() -} -func (m *SignedAggregateAttestationAndProof) XXX_DiscardUnknown() { - xxx_messageInfo_SignedAggregateAttestationAndProof.DiscardUnknown(m) + AggregatorIndex github_com_prysmaticlabs_eth2_types.ValidatorIndex `protobuf:"varint,1,opt,name=aggregator_index,json=aggregatorIndex,proto3" json:"aggregator_index,omitempty" cast-type:"github.com/prysmaticlabs/eth2-types.ValidatorIndex"` + Aggregate *Attestation `protobuf:"bytes,3,opt,name=aggregate,proto3" json:"aggregate,omitempty"` + SelectionProof []byte `protobuf:"bytes,2,opt,name=selection_proof,json=selectionProof,proto3" json:"selection_proof,omitempty" ssz-size:"96"` } -var xxx_messageInfo_SignedAggregateAttestationAndProof proto.InternalMessageInfo - -func (m *SignedAggregateAttestationAndProof) GetMessage() *AggregateAttestationAndProof { - if m != nil { - return m.Message +func (x *AggregateAttestationAndProof) Reset() { + *x = AggregateAttestationAndProof{} + if protoimpl.UnsafeEnabled { + mi := &file_eth_v1_attestation_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } - return nil } -func (m *SignedAggregateAttestationAndProof) GetSignature() []byte { - if m != nil { - return m.Signature - } - return nil +func (x *AggregateAttestationAndProof) String() string { + return protoimpl.X.MessageStringOf(x) } -type AttestationData struct { - Slot github_com_prysmaticlabs_eth2_types.Slot `protobuf:"varint,1,opt,name=slot,proto3,casttype=github.com/prysmaticlabs/eth2-types.Slot" json:"slot,omitempty"` - CommitteeIndex github_com_prysmaticlabs_eth2_types.CommitteeIndex `protobuf:"varint,2,opt,name=committee_index,json=committeeIndex,proto3,casttype=github.com/prysmaticlabs/eth2-types.CommitteeIndex" json:"committee_index,omitempty"` - BeaconBlockRoot []byte `protobuf:"bytes,3,opt,name=beacon_block_root,json=beaconBlockRoot,proto3" json:"beacon_block_root,omitempty" ssz-size:"32"` - Source *Checkpoint `protobuf:"bytes,4,opt,name=source,proto3" json:"source,omitempty"` - Target *Checkpoint `protobuf:"bytes,5,opt,name=target,proto3" json:"target,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} +func (*AggregateAttestationAndProof) ProtoMessage() {} -func (m *AttestationData) Reset() { *m = AttestationData{} } -func (m *AttestationData) String() string { return proto.CompactTextString(m) } -func (*AttestationData) ProtoMessage() {} -func (*AttestationData) Descriptor() ([]byte, []int) { - return fileDescriptor_b424b17af5508fe0, []int{3} -} -func (m *AttestationData) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *AttestationData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_AttestationData.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err +func (x *AggregateAttestationAndProof) ProtoReflect() protoreflect.Message { + mi := &file_eth_v1_attestation_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - return b[:n], nil + return ms } + return mi.MessageOf(x) } -func (m *AttestationData) XXX_Merge(src proto.Message) { - xxx_messageInfo_AttestationData.Merge(m, src) -} -func (m *AttestationData) XXX_Size() int { - return m.Size() -} -func (m *AttestationData) XXX_DiscardUnknown() { - xxx_messageInfo_AttestationData.DiscardUnknown(m) -} - -var xxx_messageInfo_AttestationData proto.InternalMessageInfo -func (m *AttestationData) GetSlot() github_com_prysmaticlabs_eth2_types.Slot { - if m != nil { - return m.Slot - } - return 0 -} - -func (m *AttestationData) GetCommitteeIndex() github_com_prysmaticlabs_eth2_types.CommitteeIndex { - if m != nil { - return m.CommitteeIndex - } - return 0 +// Deprecated: Use AggregateAttestationAndProof.ProtoReflect.Descriptor instead. +func (*AggregateAttestationAndProof) Descriptor() ([]byte, []int) { + return file_eth_v1_attestation_proto_rawDescGZIP(), []int{1} } -func (m *AttestationData) GetBeaconBlockRoot() []byte { - if m != nil { - return m.BeaconBlockRoot +func (x *AggregateAttestationAndProof) GetAggregatorIndex() github_com_prysmaticlabs_eth2_types.ValidatorIndex { + if x != nil { + return x.AggregatorIndex } - return nil + return github_com_prysmaticlabs_eth2_types.ValidatorIndex(0) } -func (m *AttestationData) GetSource() *Checkpoint { - if m != nil { - return m.Source +func (x *AggregateAttestationAndProof) GetAggregate() *Attestation { + if x != nil { + return x.Aggregate } return nil } -func (m *AttestationData) GetTarget() *Checkpoint { - if m != nil { - return m.Target +func (x *AggregateAttestationAndProof) GetSelectionProof() []byte { + if x != nil { + return x.SelectionProof } return nil } -type Checkpoint struct { - Epoch github_com_prysmaticlabs_eth2_types.Epoch `protobuf:"varint,1,opt,name=epoch,proto3,casttype=github.com/prysmaticlabs/eth2-types.Epoch" json:"epoch,omitempty"` - Root []byte `protobuf:"bytes,2,opt,name=root,proto3" json:"root,omitempty" ssz-size:"32"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Checkpoint) Reset() { *m = Checkpoint{} } -func (m *Checkpoint) String() string { return proto.CompactTextString(m) } -func (*Checkpoint) ProtoMessage() {} -func (*Checkpoint) Descriptor() ([]byte, []int) { - return fileDescriptor_b424b17af5508fe0, []int{4} -} -func (m *Checkpoint) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *Checkpoint) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_Checkpoint.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil - } -} -func (m *Checkpoint) XXX_Merge(src proto.Message) { - xxx_messageInfo_Checkpoint.Merge(m, src) -} -func (m *Checkpoint) XXX_Size() int { - return m.Size() -} -func (m *Checkpoint) XXX_DiscardUnknown() { - xxx_messageInfo_Checkpoint.DiscardUnknown(m) -} - -var xxx_messageInfo_Checkpoint proto.InternalMessageInfo +type SignedAggregateAttestationAndProof struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *Checkpoint) GetEpoch() github_com_prysmaticlabs_eth2_types.Epoch { - if m != nil { - return m.Epoch - } - return 0 + Message *AggregateAttestationAndProof `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"` + Signature []byte `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty" ssz-size:"96"` } -func (m *Checkpoint) GetRoot() []byte { - if m != nil { - return m.Root +func (x *SignedAggregateAttestationAndProof) Reset() { + *x = SignedAggregateAttestationAndProof{} + if protoimpl.UnsafeEnabled { + mi := &file_eth_v1_attestation_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } - return nil } -func init() { - proto.RegisterType((*Attestation)(nil), "ethereum.eth.v1.Attestation") - proto.RegisterType((*AggregateAttestationAndProof)(nil), "ethereum.eth.v1.AggregateAttestationAndProof") - proto.RegisterType((*SignedAggregateAttestationAndProof)(nil), "ethereum.eth.v1.SignedAggregateAttestationAndProof") - proto.RegisterType((*AttestationData)(nil), "ethereum.eth.v1.AttestationData") - proto.RegisterType((*Checkpoint)(nil), "ethereum.eth.v1.Checkpoint") +func (x *SignedAggregateAttestationAndProof) String() string { + return protoimpl.X.MessageStringOf(x) } -func init() { proto.RegisterFile("eth/v1/attestation.proto", fileDescriptor_b424b17af5508fe0) } - -var fileDescriptor_b424b17af5508fe0 = []byte{ - // 622 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x54, 0x41, 0x6a, 0xdb, 0x40, - 0x14, 0x45, 0xae, 0x93, 0x92, 0x71, 0x1b, 0x25, 0xd3, 0x8d, 0x69, 0x43, 0x1c, 0x04, 0x85, 0x14, - 0x62, 0xa9, 0x56, 0x42, 0x68, 0x0d, 0x85, 0x46, 0xa9, 0x29, 0xdd, 0x05, 0x05, 0xba, 0x28, 0x01, - 0x33, 0x92, 0x7f, 0x46, 0x43, 0x24, 0x8f, 0xd0, 0x7c, 0x9b, 0x24, 0x17, 0xe8, 0x2d, 0x7a, 0x80, - 0x9e, 0xa4, 0x74, 0xd5, 0x0b, 0xd4, 0x94, 0xf4, 0x06, 0xd9, 0xd5, 0xab, 0xa2, 0xb1, 0x5d, 0x39, - 0x4e, 0x62, 0xdc, 0x9d, 0xfe, 0xd7, 0x7b, 0x7f, 0xde, 0xfb, 0x4f, 0x1a, 0x52, 0x05, 0x8c, 0x9c, - 0x7e, 0xc3, 0x61, 0x88, 0xa0, 0x90, 0xa1, 0x90, 0x5d, 0x3b, 0xcd, 0x24, 0x4a, 0x6a, 0x02, 0x46, - 0x90, 0x41, 0x2f, 0xb1, 0x01, 0x23, 0xbb, 0xdf, 0x78, 0x5a, 0xe7, 0x02, 0xa3, 0x5e, 0x60, 0x87, - 0x32, 0x71, 0xb8, 0xe4, 0xd2, 0xd1, 0xb8, 0xa0, 0x77, 0xaa, 0x2b, 0x5d, 0xe8, 0xa7, 0x11, 0xdf, - 0xfa, 0x6d, 0x90, 0xca, 0x41, 0x31, 0x95, 0x26, 0x64, 0x8d, 0x71, 0x9e, 0x01, 0xd7, 0x65, 0x3b, - 0x10, 0xa8, 0xaa, 0xc6, 0x96, 0xb1, 0xfd, 0xc8, 0xf3, 0xae, 0x07, 0xb5, 0x55, 0xa5, 0x2e, 0xeb, - 0x09, 0x3b, 0x6f, 0x5a, 0xee, 0xcb, 0xbd, 0x57, 0xd6, 0x70, 0x50, 0xdb, 0x99, 0x3a, 0x2e, 0xcd, - 0x2e, 0x54, 0xc2, 0x50, 0x84, 0x31, 0x0b, 0x94, 0xc3, 0x65, 0x3d, 0x10, 0x78, 0x2a, 0x20, 0xee, - 0xd8, 0x9e, 0xc0, 0x58, 0x28, 0xf4, 0xcd, 0xa9, 0xd9, 0x9e, 0x40, 0x45, 0xf7, 0x48, 0xb9, 0xc3, - 0x90, 0x55, 0x4b, 0x5b, 0xc6, 0x76, 0xc5, 0xdd, 0xb2, 0x67, 0xdc, 0xd8, 0x53, 0xd2, 0xde, 0x31, - 0x64, 0xbe, 0x46, 0x53, 0x87, 0xac, 0x28, 0xc1, 0xbb, 0x0c, 0x7b, 0x19, 0x54, 0x1f, 0x68, 0x75, - 0xeb, 0xd7, 0x83, 0xda, 0xe3, 0x5c, 0x9d, 0x12, 0x97, 0xd0, 0xb4, 0x5e, 0xef, 0x5b, 0x7e, 0x81, - 0xb1, 0xfe, 0x18, 0x64, 0xe3, 0x60, 0x7c, 0x34, 0x4c, 0xcd, 0x3c, 0xe8, 0x76, 0x8e, 0x32, 0x29, - 0x4f, 0x29, 0x2b, 0x6c, 0xcb, 0xac, 0x2d, 0xba, 0x1d, 0x38, 0xd7, 0xb6, 0xcb, 0xde, 0xfe, 0x70, - 0x50, 0x73, 0xef, 0x35, 0x09, 0x18, 0xb9, 0x75, 0xbc, 0x48, 0x41, 0xd9, 0x1f, 0x59, 0x2c, 0x3a, - 0x39, 0xfd, 0x43, 0xce, 0x2e, 0xac, 0x8e, 0x1b, 0xb4, 0x49, 0x56, 0x26, 0xad, 0x91, 0xe8, 0x8a, - 0xbb, 0x31, 0xcf, 0xaf, 0x5f, 0xc0, 0x69, 0x93, 0x98, 0x0a, 0x62, 0x08, 0x75, 0x26, 0x69, 0xae, - 0x58, 0x6f, 0xec, 0x4e, 0xdb, 0xab, 0xff, 0x90, 0xda, 0x9a, 0xf5, 0xc5, 0x20, 0xd6, 0xb1, 0xe0, - 0x5d, 0xe8, 0xcc, 0xdd, 0xc0, 0x7b, 0xf2, 0x30, 0x01, 0xa5, 0x18, 0x07, 0x6d, 0xbc, 0xe2, 0xd6, - 0x6f, 0x8b, 0x9b, 0xc3, 0xf7, 0x27, 0xec, 0x9b, 0xe1, 0x94, 0x16, 0x08, 0xe7, 0x67, 0x89, 0x98, - 0x33, 0x39, 0xd3, 0xb7, 0xa4, 0xac, 0x62, 0x89, 0xe3, 0x0c, 0x76, 0x86, 0x83, 0xda, 0xf6, 0x22, - 0x19, 0x1c, 0xc7, 0x12, 0x7d, 0xcd, 0xa4, 0x6d, 0x62, 0x86, 0x32, 0x49, 0x04, 0x22, 0xc0, 0x38, - 0xd0, 0xd2, 0xff, 0x05, 0x7a, 0x38, 0xa1, 0x8f, 0x02, 0x5d, 0x0d, 0x6f, 0xd4, 0xf4, 0x0d, 0x59, - 0x0f, 0x80, 0x85, 0xf9, 0x4f, 0x12, 0xcb, 0xf0, 0xac, 0x9d, 0x49, 0x89, 0x77, 0x7f, 0x8c, 0xbb, - 0xae, 0xe5, 0x9b, 0x23, 0xac, 0x97, 0x43, 0x7d, 0x29, 0x91, 0xee, 0x92, 0x65, 0x25, 0x7b, 0x59, - 0x08, 0xd5, 0xb2, 0x5e, 0xf7, 0xb3, 0x5b, 0xeb, 0x3e, 0x8c, 0x20, 0x3c, 0x4b, 0xa5, 0xe8, 0xa2, - 0x3f, 0x86, 0xe6, 0x24, 0x64, 0x19, 0x07, 0xac, 0x2e, 0x2d, 0x40, 0x1a, 0x41, 0xad, 0x73, 0x42, - 0x8a, 0x2e, 0x3d, 0x24, 0x4b, 0x90, 0xca, 0x30, 0x1a, 0xaf, 0xb6, 0x3e, 0x1c, 0xd4, 0x5e, 0x2c, - 0xb2, 0x8d, 0x56, 0x4e, 0xf2, 0x47, 0x5c, 0xfa, 0x9c, 0x94, 0xb5, 0xdd, 0xd2, 0x7d, 0x76, 0xf5, - 0x6b, 0xef, 0xb3, 0xf1, 0xed, 0x6a, 0xd3, 0xf8, 0x71, 0xb5, 0x69, 0xfc, 0xba, 0xda, 0x34, 0xc8, - 0x13, 0x99, 0xf1, 0x59, 0xc1, 0xde, 0xda, 0x54, 0xf4, 0x47, 0xf9, 0x95, 0x74, 0x64, 0x7c, 0xda, - 0x99, 0x27, 0x48, 0xb3, 0x59, 0x2a, 0x74, 0xe1, 0xf4, 0x1b, 0x5f, 0x4b, 0x66, 0x6b, 0x32, 0xb3, - 0xa5, 0x67, 0x7e, 0x2f, 0x3a, 0x27, 0x2d, 0x8c, 0x4e, 0xfa, 0x8d, 0x60, 0x59, 0xdf, 0x76, 0xbb, - 0x7f, 0x03, 0x00, 0x00, 0xff, 0xff, 0xa8, 0x79, 0x91, 0x7a, 0x49, 0x05, 0x00, 0x00, -} +func (*SignedAggregateAttestationAndProof) ProtoMessage() {} -func (m *Attestation) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err +func (x *SignedAggregateAttestationAndProof) ProtoReflect() protoreflect.Message { + mi := &file_eth_v1_attestation_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 dAtA[:n], nil + return mi.MessageOf(x) } -func (m *Attestation) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) +// Deprecated: Use SignedAggregateAttestationAndProof.ProtoReflect.Descriptor instead. +func (*SignedAggregateAttestationAndProof) Descriptor() ([]byte, []int) { + return file_eth_v1_attestation_proto_rawDescGZIP(), []int{2} } -func (m *Attestation) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if len(m.Signature) > 0 { - i -= len(m.Signature) - copy(dAtA[i:], m.Signature) - i = encodeVarintAttestation(dAtA, i, uint64(len(m.Signature))) - i-- - dAtA[i] = 0x1a - } - if m.Data != nil { - { - size, err := m.Data.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAttestation(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 +func (x *SignedAggregateAttestationAndProof) GetMessage() *AggregateAttestationAndProof { + if x != nil { + return x.Message } - if len(m.AggregationBits) > 0 { - i -= len(m.AggregationBits) - copy(dAtA[i:], m.AggregationBits) - i = encodeVarintAttestation(dAtA, i, uint64(len(m.AggregationBits))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil + return nil } -func (m *AggregateAttestationAndProof) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err +func (x *SignedAggregateAttestationAndProof) GetSignature() []byte { + if x != nil { + return x.Signature } - return dAtA[:n], nil + return nil } -func (m *AggregateAttestationAndProof) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} +type AttestationData struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *AggregateAttestationAndProof) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if m.Aggregate != nil { - { - size, err := m.Aggregate.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAttestation(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x1a - } - if len(m.SelectionProof) > 0 { - i -= len(m.SelectionProof) - copy(dAtA[i:], m.SelectionProof) - i = encodeVarintAttestation(dAtA, i, uint64(len(m.SelectionProof))) - i-- - dAtA[i] = 0x12 - } - if m.AggregatorIndex != 0 { - i = encodeVarintAttestation(dAtA, i, uint64(m.AggregatorIndex)) - i-- - dAtA[i] = 0x8 - } - return len(dAtA) - i, nil + Slot github_com_prysmaticlabs_eth2_types.Slot `protobuf:"varint,1,opt,name=slot,proto3" json:"slot,omitempty" cast-type:"github.com/prysmaticlabs/eth2-types.Slot"` + CommitteeIndex github_com_prysmaticlabs_eth2_types.CommitteeIndex `protobuf:"varint,2,opt,name=committee_index,json=committeeIndex,proto3" json:"committee_index,omitempty" cast-type:"github.com/prysmaticlabs/eth2-types.CommitteeIndex"` + BeaconBlockRoot []byte `protobuf:"bytes,3,opt,name=beacon_block_root,json=beaconBlockRoot,proto3" json:"beacon_block_root,omitempty" ssz-size:"32"` + Source *Checkpoint `protobuf:"bytes,4,opt,name=source,proto3" json:"source,omitempty"` + Target *Checkpoint `protobuf:"bytes,5,opt,name=target,proto3" json:"target,omitempty"` } -func (m *SignedAggregateAttestationAndProof) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err +func (x *AttestationData) Reset() { + *x = AttestationData{} + if protoimpl.UnsafeEnabled { + mi := &file_eth_v1_attestation_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } - return dAtA[:n], nil } -func (m *SignedAggregateAttestationAndProof) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) +func (x *AttestationData) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *SignedAggregateAttestationAndProof) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if len(m.Signature) > 0 { - i -= len(m.Signature) - copy(dAtA[i:], m.Signature) - i = encodeVarintAttestation(dAtA, i, uint64(len(m.Signature))) - i-- - dAtA[i] = 0x12 - } - if m.Message != nil { - { - size, err := m.Message.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAttestation(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} +func (*AttestationData) ProtoMessage() {} -func (m *AttestationData) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err +func (x *AttestationData) ProtoReflect() protoreflect.Message { + mi := &file_eth_v1_attestation_proto_msgTypes[3] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms } - return dAtA[:n], nil + return mi.MessageOf(x) } -func (m *AttestationData) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) +// Deprecated: Use AttestationData.ProtoReflect.Descriptor instead. +func (*AttestationData) Descriptor() ([]byte, []int) { + return file_eth_v1_attestation_proto_rawDescGZIP(), []int{3} } -func (m *AttestationData) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if m.Target != nil { - { - size, err := m.Target.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAttestation(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x2a - } - if m.Source != nil { - { - size, err := m.Source.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAttestation(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x22 +func (x *AttestationData) GetSlot() github_com_prysmaticlabs_eth2_types.Slot { + if x != nil { + return x.Slot } - if len(m.BeaconBlockRoot) > 0 { - i -= len(m.BeaconBlockRoot) - copy(dAtA[i:], m.BeaconBlockRoot) - i = encodeVarintAttestation(dAtA, i, uint64(len(m.BeaconBlockRoot))) - i-- - dAtA[i] = 0x1a - } - if m.CommitteeIndex != 0 { - i = encodeVarintAttestation(dAtA, i, uint64(m.CommitteeIndex)) - i-- - dAtA[i] = 0x10 - } - if m.Slot != 0 { - i = encodeVarintAttestation(dAtA, i, uint64(m.Slot)) - i-- - dAtA[i] = 0x8 - } - return len(dAtA) - i, nil + return github_com_prysmaticlabs_eth2_types.Slot(0) } -func (m *Checkpoint) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err +func (x *AttestationData) GetCommitteeIndex() github_com_prysmaticlabs_eth2_types.CommitteeIndex { + if x != nil { + return x.CommitteeIndex } - return dAtA[:n], nil -} - -func (m *Checkpoint) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) + return github_com_prysmaticlabs_eth2_types.CommitteeIndex(0) } -func (m *Checkpoint) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) +func (x *AttestationData) GetBeaconBlockRoot() []byte { + if x != nil { + return x.BeaconBlockRoot } - if len(m.Root) > 0 { - i -= len(m.Root) - copy(dAtA[i:], m.Root) - i = encodeVarintAttestation(dAtA, i, uint64(len(m.Root))) - i-- - dAtA[i] = 0x12 - } - if m.Epoch != 0 { - i = encodeVarintAttestation(dAtA, i, uint64(m.Epoch)) - i-- - dAtA[i] = 0x8 - } - return len(dAtA) - i, nil + return nil } -func encodeVarintAttestation(dAtA []byte, offset int, v uint64) int { - offset -= sovAttestation(v) - base := offset - for v >= 1<<7 { - dAtA[offset] = uint8(v&0x7f | 0x80) - v >>= 7 - offset++ +func (x *AttestationData) GetSource() *Checkpoint { + if x != nil { + return x.Source } - dAtA[offset] = uint8(v) - return base -} -func (m *Attestation) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.AggregationBits) - if l > 0 { - n += 1 + l + sovAttestation(uint64(l)) - } - if m.Data != nil { - l = m.Data.Size() - n += 1 + l + sovAttestation(uint64(l)) - } - l = len(m.Signature) - if l > 0 { - n += 1 + l + sovAttestation(uint64(l)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n + return nil } -func (m *AggregateAttestationAndProof) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.AggregatorIndex != 0 { - n += 1 + sovAttestation(uint64(m.AggregatorIndex)) - } - l = len(m.SelectionProof) - if l > 0 { - n += 1 + l + sovAttestation(uint64(l)) - } - if m.Aggregate != nil { - l = m.Aggregate.Size() - n += 1 + l + sovAttestation(uint64(l)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) +func (x *AttestationData) GetTarget() *Checkpoint { + if x != nil { + return x.Target } - return n + return nil } -func (m *SignedAggregateAttestationAndProof) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Message != nil { - l = m.Message.Size() - n += 1 + l + sovAttestation(uint64(l)) - } - l = len(m.Signature) - if l > 0 { - n += 1 + l + sovAttestation(uint64(l)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} +type Checkpoint struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *AttestationData) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Slot != 0 { - n += 1 + sovAttestation(uint64(m.Slot)) - } - if m.CommitteeIndex != 0 { - n += 1 + sovAttestation(uint64(m.CommitteeIndex)) - } - l = len(m.BeaconBlockRoot) - if l > 0 { - n += 1 + l + sovAttestation(uint64(l)) - } - if m.Source != nil { - l = m.Source.Size() - n += 1 + l + sovAttestation(uint64(l)) - } - if m.Target != nil { - l = m.Target.Size() - n += 1 + l + sovAttestation(uint64(l)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n + Epoch github_com_prysmaticlabs_eth2_types.Epoch `protobuf:"varint,1,opt,name=epoch,proto3" json:"epoch,omitempty" cast-type:"github.com/prysmaticlabs/eth2-types.Epoch"` + Root []byte `protobuf:"bytes,2,opt,name=root,proto3" json:"root,omitempty" ssz-size:"32"` } -func (m *Checkpoint) Size() (n int) { - if m == nil { - return 0 +func (x *Checkpoint) Reset() { + *x = Checkpoint{} + if protoimpl.UnsafeEnabled { + mi := &file_eth_v1_attestation_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } - var l int - _ = l - if m.Epoch != 0 { - n += 1 + sovAttestation(uint64(m.Epoch)) - } - l = len(m.Root) - if l > 0 { - n += 1 + l + sovAttestation(uint64(l)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n } -func sovAttestation(x uint64) (n int) { - return (math_bits.Len64(x|1) + 6) / 7 +func (x *Checkpoint) String() string { + return protoimpl.X.MessageStringOf(x) } -func sozAttestation(x uint64) (n int) { - return sovAttestation(uint64((x << 1) ^ uint64((int64(x) >> 63)))) -} -func (m *Attestation) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAttestation - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: Attestation: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: Attestation: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AggregationBits", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAttestation - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return ErrInvalidLengthAttestation - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthAttestation - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.AggregationBits = append(m.AggregationBits[:0], dAtA[iNdEx:postIndex]...) - if m.AggregationBits == nil { - m.AggregationBits = []byte{} - } - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Data", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAttestation - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAttestation - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAttestation - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Data == nil { - m.Data = &AttestationData{} - } - if err := m.Data.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Signature", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAttestation - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return ErrInvalidLengthAttestation - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthAttestation - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Signature = append(m.Signature[:0], dAtA[iNdEx:postIndex]...) - if m.Signature == nil { - m.Signature = []byte{} - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipAttestation(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthAttestation - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthAttestation - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *AggregateAttestationAndProof) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAttestation - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: AggregateAttestationAndProof: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: AggregateAttestationAndProof: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field AggregatorIndex", wireType) - } - m.AggregatorIndex = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAttestation - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.AggregatorIndex |= github_com_prysmaticlabs_eth2_types.ValidatorIndex(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field SelectionProof", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAttestation - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return ErrInvalidLengthAttestation - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthAttestation - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.SelectionProof = append(m.SelectionProof[:0], dAtA[iNdEx:postIndex]...) - if m.SelectionProof == nil { - m.SelectionProof = []byte{} - } - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Aggregate", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAttestation - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAttestation - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAttestation - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Aggregate == nil { - m.Aggregate = &Attestation{} - } - if err := m.Aggregate.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipAttestation(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthAttestation - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthAttestation - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } +func (*Checkpoint) ProtoMessage() {} - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *SignedAggregateAttestationAndProof) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAttestation - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: SignedAggregateAttestationAndProof: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: SignedAggregateAttestationAndProof: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Message", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAttestation - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAttestation - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAttestation - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Message == nil { - m.Message = &AggregateAttestationAndProof{} - } - if err := m.Message.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Signature", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAttestation - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return ErrInvalidLengthAttestation - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthAttestation - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Signature = append(m.Signature[:0], dAtA[iNdEx:postIndex]...) - if m.Signature == nil { - m.Signature = []byte{} - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipAttestation(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthAttestation - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthAttestation - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy +func (x *Checkpoint) ProtoReflect() protoreflect.Message { + mi := &file_eth_v1_attestation_proto_msgTypes[4] + 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) +} - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil +// Deprecated: Use Checkpoint.ProtoReflect.Descriptor instead. +func (*Checkpoint) Descriptor() ([]byte, []int) { + return file_eth_v1_attestation_proto_rawDescGZIP(), []int{4} } -func (m *AttestationData) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAttestation - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: AttestationData: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: AttestationData: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Slot", wireType) - } - m.Slot = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAttestation - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Slot |= github_com_prysmaticlabs_eth2_types.Slot(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 2: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field CommitteeIndex", wireType) - } - m.CommitteeIndex = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAttestation - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.CommitteeIndex |= github_com_prysmaticlabs_eth2_types.CommitteeIndex(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field BeaconBlockRoot", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAttestation - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return ErrInvalidLengthAttestation - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthAttestation - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.BeaconBlockRoot = append(m.BeaconBlockRoot[:0], dAtA[iNdEx:postIndex]...) - if m.BeaconBlockRoot == nil { - m.BeaconBlockRoot = []byte{} - } - iNdEx = postIndex - case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Source", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAttestation - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAttestation - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAttestation - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Source == nil { - m.Source = &Checkpoint{} - } - if err := m.Source.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 5: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Target", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAttestation - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAttestation - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAttestation - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Target == nil { - m.Target = &Checkpoint{} - } - if err := m.Target.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipAttestation(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthAttestation - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthAttestation - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - if iNdEx > l { - return io.ErrUnexpectedEOF +func (x *Checkpoint) GetEpoch() github_com_prysmaticlabs_eth2_types.Epoch { + if x != nil { + return x.Epoch } - return nil + return github_com_prysmaticlabs_eth2_types.Epoch(0) } -func (m *Checkpoint) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAttestation - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: Checkpoint: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: Checkpoint: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Epoch", wireType) - } - m.Epoch = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAttestation - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Epoch |= github_com_prysmaticlabs_eth2_types.Epoch(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Root", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAttestation - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return ErrInvalidLengthAttestation - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthAttestation - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Root = append(m.Root[:0], dAtA[iNdEx:postIndex]...) - if m.Root == nil { - m.Root = []byte{} - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipAttestation(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthAttestation - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthAttestation - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - if iNdEx > l { - return io.ErrUnexpectedEOF +func (x *Checkpoint) GetRoot() []byte { + if x != nil { + return x.Root } return nil } -func skipAttestation(dAtA []byte) (n int, err error) { - l := len(dAtA) - iNdEx := 0 - depth := 0 - for iNdEx < l { - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return 0, ErrIntOverflowAttestation - } - if iNdEx >= l { - return 0, io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= (uint64(b) & 0x7F) << shift - if b < 0x80 { - break - } - } - wireType := int(wire & 0x7) - switch wireType { - case 0: - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return 0, ErrIntOverflowAttestation - } - if iNdEx >= l { - return 0, io.ErrUnexpectedEOF - } - iNdEx++ - if dAtA[iNdEx-1] < 0x80 { - break - } - } - case 1: - iNdEx += 8 - case 2: - var length int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return 0, ErrIntOverflowAttestation - } - if iNdEx >= l { - return 0, io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - length |= (int(b) & 0x7F) << shift - if b < 0x80 { - break - } - } - if length < 0 { - return 0, ErrInvalidLengthAttestation - } - iNdEx += length - case 3: - depth++ - case 4: - if depth == 0 { - return 0, ErrUnexpectedEndOfGroupAttestation - } - depth-- - case 5: - iNdEx += 4 - default: - return 0, fmt.Errorf("proto: illegal wireType %d", wireType) - } - if iNdEx < 0 { - return 0, ErrInvalidLengthAttestation - } - if depth == 0 { - return iNdEx, nil - } - } - return 0, io.ErrUnexpectedEOF + +var File_eth_v1_attestation_proto protoreflect.FileDescriptor + +var file_eth_v1_attestation_proto_rawDesc = []byte{ + 0x0a, 0x18, 0x65, 0x74, 0x68, 0x2f, 0x76, 0x31, 0x2f, 0x61, 0x74, 0x74, 0x65, 0x73, 0x74, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0f, 0x65, 0x74, 0x68, 0x65, + 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x1a, 0x20, 0x67, 0x6f, 0x6f, + 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x64, 0x65, 0x73, + 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x15, 0x65, + 0x74, 0x68, 0x2f, 0x65, 0x78, 0x74, 0x2f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xce, 0x01, 0x0a, 0x0b, 0x41, 0x74, 0x74, 0x65, 0x73, 0x74, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x63, 0x0a, 0x10, 0x61, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x5f, 0x62, 0x69, 0x74, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x42, 0x38, + 0x92, 0xb5, 0x18, 0x04, 0x32, 0x30, 0x34, 0x38, 0x82, 0xb5, 0x18, 0x2c, 0x67, 0x69, 0x74, 0x68, + 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x72, 0x79, 0x73, 0x6d, 0x61, 0x74, 0x69, 0x63, + 0x6c, 0x61, 0x62, 0x73, 0x2f, 0x67, 0x6f, 0x2d, 0x62, 0x69, 0x74, 0x66, 0x69, 0x65, 0x6c, 0x64, + 0x2e, 0x42, 0x69, 0x74, 0x6c, 0x69, 0x73, 0x74, 0x52, 0x0f, 0x61, 0x67, 0x67, 0x72, 0x65, 0x67, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x69, 0x74, 0x73, 0x12, 0x34, 0x0a, 0x04, 0x64, 0x61, 0x74, + 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, + 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x74, 0x74, 0x65, 0x73, 0x74, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x61, 0x74, 0x61, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x12, + 0x24, 0x0a, 0x09, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x18, 0x03, 0x20, 0x01, + 0x28, 0x0c, 0x42, 0x06, 0x8a, 0xb5, 0x18, 0x02, 0x39, 0x36, 0x52, 0x09, 0x73, 0x69, 0x67, 0x6e, + 0x61, 0x74, 0x75, 0x72, 0x65, 0x22, 0xee, 0x01, 0x0a, 0x1c, 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, 0x12, 0x61, 0x0a, 0x10, 0x61, 0x67, 0x67, 0x72, 0x65, 0x67, + 0x61, 0x74, 0x6f, 0x72, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, + 0x42, 0x36, 0x82, 0xb5, 0x18, 0x32, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, + 0x2f, 0x70, 0x72, 0x79, 0x73, 0x6d, 0x61, 0x74, 0x69, 0x63, 0x6c, 0x61, 0x62, 0x73, 0x2f, 0x65, + 0x74, 0x68, 0x32, 0x2d, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, + 0x74, 0x6f, 0x72, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x52, 0x0f, 0x61, 0x67, 0x67, 0x72, 0x65, 0x67, + 0x61, 0x74, 0x6f, 0x72, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x3a, 0x0a, 0x09, 0x61, 0x67, 0x67, + 0x72, 0x65, 0x67, 0x61, 0x74, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x65, + 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x41, + 0x74, 0x74, 0x65, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x09, 0x61, 0x67, 0x67, 0x72, + 0x65, 0x67, 0x61, 0x74, 0x65, 0x12, 0x2f, 0x0a, 0x0f, 0x73, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x69, + 0x6f, 0x6e, 0x5f, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x42, 0x06, + 0x8a, 0xb5, 0x18, 0x02, 0x39, 0x36, 0x52, 0x0e, 0x73, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, + 0x6e, 0x50, 0x72, 0x6f, 0x6f, 0x66, 0x22, 0x93, 0x01, 0x0a, 0x22, 0x53, 0x69, 0x67, 0x6e, 0x65, + 0x64, 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, 0x12, 0x47, 0x0a, + 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2d, + 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 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, 0x52, 0x07, 0x6d, + 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x24, 0x0a, 0x09, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, + 0x75, 0x72, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x42, 0x06, 0x8a, 0xb5, 0x18, 0x02, 0x39, + 0x36, 0x52, 0x09, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x22, 0xd2, 0x02, 0x0a, + 0x0f, 0x41, 0x74, 0x74, 0x65, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x61, 0x74, 0x61, + 0x12, 0x40, 0x0a, 0x04, 0x73, 0x6c, 0x6f, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x42, 0x2c, + 0x82, 0xb5, 0x18, 0x28, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, + 0x72, 0x79, 0x73, 0x6d, 0x61, 0x74, 0x69, 0x63, 0x6c, 0x61, 0x62, 0x73, 0x2f, 0x65, 0x74, 0x68, + 0x32, 0x2d, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x53, 0x6c, 0x6f, 0x74, 0x52, 0x04, 0x73, 0x6c, + 0x6f, 0x74, 0x12, 0x5f, 0x0a, 0x0f, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x74, 0x65, 0x65, 0x5f, + 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x42, 0x36, 0x82, 0xb5, 0x18, + 0x32, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x72, 0x79, 0x73, + 0x6d, 0x61, 0x74, 0x69, 0x63, 0x6c, 0x61, 0x62, 0x73, 0x2f, 0x65, 0x74, 0x68, 0x32, 0x2d, 0x74, + 0x79, 0x70, 0x65, 0x73, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x74, 0x65, 0x65, 0x49, 0x6e, + 0x64, 0x65, 0x78, 0x52, 0x0e, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x74, 0x65, 0x65, 0x49, 0x6e, + 0x64, 0x65, 0x78, 0x12, 0x32, 0x0a, 0x11, 0x62, 0x65, 0x61, 0x63, 0x6f, 0x6e, 0x5f, 0x62, 0x6c, + 0x6f, 0x63, 0x6b, 0x5f, 0x72, 0x6f, 0x6f, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x42, 0x06, + 0x8a, 0xb5, 0x18, 0x02, 0x33, 0x32, 0x52, 0x0f, 0x62, 0x65, 0x61, 0x63, 0x6f, 0x6e, 0x42, 0x6c, + 0x6f, 0x63, 0x6b, 0x52, 0x6f, 0x6f, 0x74, 0x12, 0x33, 0x0a, 0x06, 0x73, 0x6f, 0x75, 0x72, 0x63, + 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, + 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x70, + 0x6f, 0x69, 0x6e, 0x74, 0x52, 0x06, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x33, 0x0a, 0x06, + 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x65, + 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x43, + 0x68, 0x65, 0x63, 0x6b, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x52, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, + 0x74, 0x22, 0x6d, 0x0a, 0x0a, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x12, + 0x43, 0x0a, 0x05, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x42, 0x2d, + 0x82, 0xb5, 0x18, 0x29, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, + 0x72, 0x79, 0x73, 0x6d, 0x61, 0x74, 0x69, 0x63, 0x6c, 0x61, 0x62, 0x73, 0x2f, 0x65, 0x74, 0x68, + 0x32, 0x2d, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x45, 0x70, 0x6f, 0x63, 0x68, 0x52, 0x05, 0x65, + 0x70, 0x6f, 0x63, 0x68, 0x12, 0x1a, 0x0a, 0x04, 0x72, 0x6f, 0x6f, 0x74, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x0c, 0x42, 0x06, 0x8a, 0xb5, 0x18, 0x02, 0x33, 0x32, 0x52, 0x04, 0x72, 0x6f, 0x6f, 0x74, + 0x42, 0x7b, 0x0a, 0x13, 0x6f, 0x72, 0x67, 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, + 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x42, 0x10, 0x41, 0x74, 0x74, 0x65, 0x73, 0x74, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x2c, 0x67, 0x69, 0x74, + 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x72, 0x79, 0x73, 0x6d, 0x61, 0x74, 0x69, + 0x63, 0x6c, 0x61, 0x62, 0x73, 0x2f, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x61, 0x70, + 0x69, 0x73, 0x2f, 0x65, 0x74, 0x68, 0x2f, 0x76, 0x31, 0xaa, 0x02, 0x0f, 0x45, 0x74, 0x68, 0x65, + 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x45, 0x74, 0x68, 0x2e, 0x76, 0x31, 0xca, 0x02, 0x0f, 0x45, 0x74, + 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x5c, 0x45, 0x74, 0x68, 0x5c, 0x76, 0x31, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( - ErrInvalidLengthAttestation = fmt.Errorf("proto: negative length found during unmarshaling") - ErrIntOverflowAttestation = fmt.Errorf("proto: integer overflow") - ErrUnexpectedEndOfGroupAttestation = fmt.Errorf("proto: unexpected end of group") + file_eth_v1_attestation_proto_rawDescOnce sync.Once + file_eth_v1_attestation_proto_rawDescData = file_eth_v1_attestation_proto_rawDesc ) + +func file_eth_v1_attestation_proto_rawDescGZIP() []byte { + file_eth_v1_attestation_proto_rawDescOnce.Do(func() { + file_eth_v1_attestation_proto_rawDescData = protoimpl.X.CompressGZIP(file_eth_v1_attestation_proto_rawDescData) + }) + return file_eth_v1_attestation_proto_rawDescData +} + +var file_eth_v1_attestation_proto_msgTypes = make([]protoimpl.MessageInfo, 5) +var file_eth_v1_attestation_proto_goTypes = []interface{}{ + (*Attestation)(nil), // 0: ethereum.eth.v1.Attestation + (*AggregateAttestationAndProof)(nil), // 1: ethereum.eth.v1.AggregateAttestationAndProof + (*SignedAggregateAttestationAndProof)(nil), // 2: ethereum.eth.v1.SignedAggregateAttestationAndProof + (*AttestationData)(nil), // 3: ethereum.eth.v1.AttestationData + (*Checkpoint)(nil), // 4: ethereum.eth.v1.Checkpoint +} +var file_eth_v1_attestation_proto_depIdxs = []int32{ + 3, // 0: ethereum.eth.v1.Attestation.data:type_name -> ethereum.eth.v1.AttestationData + 0, // 1: ethereum.eth.v1.AggregateAttestationAndProof.aggregate:type_name -> ethereum.eth.v1.Attestation + 1, // 2: ethereum.eth.v1.SignedAggregateAttestationAndProof.message:type_name -> ethereum.eth.v1.AggregateAttestationAndProof + 4, // 3: ethereum.eth.v1.AttestationData.source:type_name -> ethereum.eth.v1.Checkpoint + 4, // 4: ethereum.eth.v1.AttestationData.target:type_name -> ethereum.eth.v1.Checkpoint + 5, // [5:5] is the sub-list for method output_type + 5, // [5:5] 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 init() { file_eth_v1_attestation_proto_init() } +func file_eth_v1_attestation_proto_init() { + if File_eth_v1_attestation_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_eth_v1_attestation_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Attestation); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_eth_v1_attestation_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AggregateAttestationAndProof); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_eth_v1_attestation_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SignedAggregateAttestationAndProof); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_eth_v1_attestation_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AttestationData); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_eth_v1_attestation_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Checkpoint); 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_eth_v1_attestation_proto_rawDesc, + NumEnums: 0, + NumMessages: 5, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_eth_v1_attestation_proto_goTypes, + DependencyIndexes: file_eth_v1_attestation_proto_depIdxs, + MessageInfos: file_eth_v1_attestation_proto_msgTypes, + }.Build() + File_eth_v1_attestation_proto = out.File + file_eth_v1_attestation_proto_rawDesc = nil + file_eth_v1_attestation_proto_goTypes = nil + file_eth_v1_attestation_proto_depIdxs = nil +} diff --git a/eth/v1alpha1_gateway/attestation.pb.gw.go b/eth/v1/attestation.pb.gw.go old mode 100755 new mode 100644 similarity index 100% rename from eth/v1alpha1_gateway/attestation.pb.gw.go rename to eth/v1/attestation.pb.gw.go diff --git a/eth/v1/attestation.proto b/eth/v1/attestation.proto index c8cf4e52..da6661e1 100644 --- a/eth/v1/attestation.proto +++ b/eth/v1/attestation.proto @@ -15,7 +15,8 @@ syntax = "proto3"; package ethereum.eth.v1; -import "github.com/gogo/protobuf/gogoproto/gogo.proto"; +import "google/protobuf/descriptor.proto"; +import "eth/ext/options.proto"; option csharp_namespace = "Ethereum.Eth.v1"; option go_package = "github.com/prysmaticlabs/ethereumapis/eth/v1"; @@ -27,23 +28,23 @@ option php_namespace = "Ethereum\\Eth\\v1"; message Attestation { // A bitfield representation of validator indices that have voted exactly // the same vote and have been aggregated into this attestation. - bytes aggregation_bits = 1 [(gogoproto.moretags) = "ssz-max:\"2048\"", (gogoproto.casttype) = "github.com/prysmaticlabs/go-bitfield.Bitlist"]; + bytes aggregation_bits = 1 [(ethereum.eth.ext.ssz_max) = "2048", (ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/go-bitfield.Bitlist"]; AttestationData data = 2; // 96 byte BLS aggregate signature. - bytes signature = 3 [(gogoproto.moretags) = "ssz-size:\"96\""]; + bytes signature = 3 [(ethereum.eth.ext.ssz_size) = "96"]; } message AggregateAttestationAndProof { // The aggregator index that submitted this aggregated attestation and proof. - uint64 aggregator_index = 1 [(gogoproto.casttype) = "github.com/prysmaticlabs/eth2-types.ValidatorIndex"]; + uint64 aggregator_index = 1 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/eth2-types.ValidatorIndex"]; // The aggregated attestation that was submitted. Attestation aggregate = 3; // 96 byte selection proof signed by the aggregator, which is the signature of the slot to aggregate. - bytes selection_proof = 2 [(gogoproto.moretags) = "ssz-size:\"96\""]; + bytes selection_proof = 2 [(ethereum.eth.ext.ssz_size) = "96"]; } message SignedAggregateAttestationAndProof { @@ -51,7 +52,7 @@ message SignedAggregateAttestationAndProof { AggregateAttestationAndProof message = 1; // 96 byte BLS aggregate signature signed by the aggregator over the message. - bytes signature = 2 [(gogoproto.moretags) = "ssz-size:\"96\""]; + bytes signature = 2 [(ethereum.eth.ext.ssz_size) = "96"]; } message AttestationData { @@ -59,13 +60,13 @@ message AttestationData { // See: https://arxiv.org/pdf/1710.09437.pdf // Slot of the attestation attesting for. - uint64 slot = 1 [(gogoproto.casttype) = "github.com/prysmaticlabs/eth2-types.Slot"]; + uint64 slot = 1 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/eth2-types.Slot"]; // The committee index that submitted this attestation. - uint64 committee_index = 2 [(gogoproto.casttype) = "github.com/prysmaticlabs/eth2-types.CommitteeIndex"]; + uint64 committee_index = 2 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/eth2-types.CommitteeIndex"]; // 32 byte root of the LMD GHOST block vote. - bytes beacon_block_root = 3 [(gogoproto.moretags) = "ssz-size:\"32\""]; + bytes beacon_block_root = 3 [(ethereum.eth.ext.ssz_size) = "32"]; // The most recent justified checkpoint in the beacon state Checkpoint source = 4; @@ -79,8 +80,8 @@ message Checkpoint { // is to link the check points together for justification and finalization. // Epoch the checkpoint references. - uint64 epoch = 1 [(gogoproto.casttype) = "github.com/prysmaticlabs/eth2-types.Epoch"]; + uint64 epoch = 1 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/eth2-types.Epoch"]; // Block root of the checkpoint references. - bytes root = 2 [(gogoproto.moretags) = "ssz-size:\"32\""]; + bytes root = 2 [(ethereum.eth.ext.ssz_size) = "32"]; } diff --git a/eth/v1/beacon_block.pb.go b/eth/v1/beacon_block.pb.go index f8d71514..8e95e862 100644 --- a/eth/v1/beacon_block.pb.go +++ b/eth/v1/beacon_block.pb.go @@ -1,403 +1,411 @@ -// Code generated by protoc-gen-gogo. DO NOT EDIT. +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.25.0 +// protoc v3.15.6 // source: eth/v1/beacon_block.proto package v1 import ( - fmt "fmt" - io "io" - math "math" - math_bits "math/bits" + reflect "reflect" + sync "sync" - _ "github.com/gogo/protobuf/gogoproto" - proto "github.com/gogo/protobuf/proto" + proto "github.com/golang/protobuf/proto" + _ "github.com/golang/protobuf/protoc-gen-go/descriptor" github_com_prysmaticlabs_eth2_types "github.com/prysmaticlabs/eth2-types" + _ "github.com/prysmaticlabs/ethereumapis/eth/ext" github_com_prysmaticlabs_go_bitfield "github.com/prysmaticlabs/go-bitfield" + 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.GoGoProtoPackageIsVersion3 // 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 BeaconBlock struct { - Slot github_com_prysmaticlabs_eth2_types.Slot `protobuf:"varint,1,opt,name=slot,proto3,casttype=github.com/prysmaticlabs/eth2-types.Slot" json:"slot,omitempty"` - ProposerIndex github_com_prysmaticlabs_eth2_types.ValidatorIndex `protobuf:"varint,2,opt,name=proposer_index,json=proposerIndex,proto3,casttype=github.com/prysmaticlabs/eth2-types.ValidatorIndex" json:"proposer_index,omitempty"` - ParentRoot []byte `protobuf:"bytes,3,opt,name=parent_root,json=parentRoot,proto3" json:"parent_root,omitempty" ssz-size:"32"` - StateRoot []byte `protobuf:"bytes,4,opt,name=state_root,json=stateRoot,proto3" json:"state_root,omitempty" ssz-size:"32"` - Body *BeaconBlockBody `protobuf:"bytes,5,opt,name=body,proto3" json:"body,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *BeaconBlock) Reset() { *m = BeaconBlock{} } -func (m *BeaconBlock) String() string { return proto.CompactTextString(m) } -func (*BeaconBlock) ProtoMessage() {} -func (*BeaconBlock) Descriptor() ([]byte, []int) { - return fileDescriptor_b82dda2838684da4, []int{0} -} -func (m *BeaconBlock) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *BeaconBlock) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_BeaconBlock.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil - } + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Slot github_com_prysmaticlabs_eth2_types.Slot `protobuf:"varint,1,opt,name=slot,proto3" json:"slot,omitempty" cast-type:"github.com/prysmaticlabs/eth2-types.Slot"` + ProposerIndex github_com_prysmaticlabs_eth2_types.ValidatorIndex `protobuf:"varint,2,opt,name=proposer_index,json=proposerIndex,proto3" json:"proposer_index,omitempty" cast-type:"github.com/prysmaticlabs/eth2-types.ValidatorIndex"` + ParentRoot []byte `protobuf:"bytes,3,opt,name=parent_root,json=parentRoot,proto3" json:"parent_root,omitempty" ssz-size:"32"` + StateRoot []byte `protobuf:"bytes,4,opt,name=state_root,json=stateRoot,proto3" json:"state_root,omitempty" ssz-size:"32"` + Body *BeaconBlockBody `protobuf:"bytes,5,opt,name=body,proto3" json:"body,omitempty"` } -func (m *BeaconBlock) XXX_Merge(src proto.Message) { - xxx_messageInfo_BeaconBlock.Merge(m, src) + +func (x *BeaconBlock) Reset() { + *x = BeaconBlock{} + if protoimpl.UnsafeEnabled { + mi := &file_eth_v1_beacon_block_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *BeaconBlock) XXX_Size() int { - return m.Size() + +func (x *BeaconBlock) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *BeaconBlock) XXX_DiscardUnknown() { - xxx_messageInfo_BeaconBlock.DiscardUnknown(m) + +func (*BeaconBlock) ProtoMessage() {} + +func (x *BeaconBlock) ProtoReflect() protoreflect.Message { + mi := &file_eth_v1_beacon_block_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) } -var xxx_messageInfo_BeaconBlock proto.InternalMessageInfo +// Deprecated: Use BeaconBlock.ProtoReflect.Descriptor instead. +func (*BeaconBlock) Descriptor() ([]byte, []int) { + return file_eth_v1_beacon_block_proto_rawDescGZIP(), []int{0} +} -func (m *BeaconBlock) GetSlot() github_com_prysmaticlabs_eth2_types.Slot { - if m != nil { - return m.Slot +func (x *BeaconBlock) GetSlot() github_com_prysmaticlabs_eth2_types.Slot { + if x != nil { + return x.Slot } - return 0 + return github_com_prysmaticlabs_eth2_types.Slot(0) } -func (m *BeaconBlock) GetProposerIndex() github_com_prysmaticlabs_eth2_types.ValidatorIndex { - if m != nil { - return m.ProposerIndex +func (x *BeaconBlock) GetProposerIndex() github_com_prysmaticlabs_eth2_types.ValidatorIndex { + if x != nil { + return x.ProposerIndex } - return 0 + return github_com_prysmaticlabs_eth2_types.ValidatorIndex(0) } -func (m *BeaconBlock) GetParentRoot() []byte { - if m != nil { - return m.ParentRoot +func (x *BeaconBlock) GetParentRoot() []byte { + if x != nil { + return x.ParentRoot } return nil } -func (m *BeaconBlock) GetStateRoot() []byte { - if m != nil { - return m.StateRoot +func (x *BeaconBlock) GetStateRoot() []byte { + if x != nil { + return x.StateRoot } return nil } -func (m *BeaconBlock) GetBody() *BeaconBlockBody { - if m != nil { - return m.Body +func (x *BeaconBlock) GetBody() *BeaconBlockBody { + if x != nil { + return x.Body } return nil } type BeaconBlockV1 struct { - Slot github_com_prysmaticlabs_eth2_types.Slot `protobuf:"varint,1,opt,name=slot,proto3,casttype=github.com/prysmaticlabs/eth2-types.Slot" json:"slot,omitempty"` - ProposerIndex github_com_prysmaticlabs_eth2_types.ValidatorIndex `protobuf:"varint,2,opt,name=proposer_index,json=proposerIndex,proto3,casttype=github.com/prysmaticlabs/eth2-types.ValidatorIndex" json:"proposer_index,omitempty"` - ParentRoot []byte `protobuf:"bytes,3,opt,name=parent_root,json=parentRoot,proto3" json:"parent_root,omitempty" ssz-size:"32"` - StateRoot []byte `protobuf:"bytes,4,opt,name=state_root,json=stateRoot,proto3" json:"state_root,omitempty" ssz-size:"32"` - Body *BeaconBlockBodyV1 `protobuf:"bytes,5,opt,name=body,proto3" json:"body,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *BeaconBlockV1) Reset() { *m = BeaconBlockV1{} } -func (m *BeaconBlockV1) String() string { return proto.CompactTextString(m) } -func (*BeaconBlockV1) ProtoMessage() {} -func (*BeaconBlockV1) Descriptor() ([]byte, []int) { - return fileDescriptor_b82dda2838684da4, []int{1} -} -func (m *BeaconBlockV1) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *BeaconBlockV1) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_BeaconBlockV1.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil - } + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Slot github_com_prysmaticlabs_eth2_types.Slot `protobuf:"varint,1,opt,name=slot,proto3" json:"slot,omitempty" cast-type:"github.com/prysmaticlabs/eth2-types.Slot"` + ProposerIndex github_com_prysmaticlabs_eth2_types.ValidatorIndex `protobuf:"varint,2,opt,name=proposer_index,json=proposerIndex,proto3" json:"proposer_index,omitempty" cast-type:"github.com/prysmaticlabs/eth2-types.ValidatorIndex"` + ParentRoot []byte `protobuf:"bytes,3,opt,name=parent_root,json=parentRoot,proto3" json:"parent_root,omitempty" ssz-size:"32"` + StateRoot []byte `protobuf:"bytes,4,opt,name=state_root,json=stateRoot,proto3" json:"state_root,omitempty" ssz-size:"32"` + Body *BeaconBlockBodyV1 `protobuf:"bytes,5,opt,name=body,proto3" json:"body,omitempty"` } -func (m *BeaconBlockV1) XXX_Merge(src proto.Message) { - xxx_messageInfo_BeaconBlockV1.Merge(m, src) + +func (x *BeaconBlockV1) Reset() { + *x = BeaconBlockV1{} + if protoimpl.UnsafeEnabled { + mi := &file_eth_v1_beacon_block_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *BeaconBlockV1) XXX_Size() int { - return m.Size() + +func (x *BeaconBlockV1) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *BeaconBlockV1) XXX_DiscardUnknown() { - xxx_messageInfo_BeaconBlockV1.DiscardUnknown(m) + +func (*BeaconBlockV1) ProtoMessage() {} + +func (x *BeaconBlockV1) ProtoReflect() protoreflect.Message { + mi := &file_eth_v1_beacon_block_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) } -var xxx_messageInfo_BeaconBlockV1 proto.InternalMessageInfo +// Deprecated: Use BeaconBlockV1.ProtoReflect.Descriptor instead. +func (*BeaconBlockV1) Descriptor() ([]byte, []int) { + return file_eth_v1_beacon_block_proto_rawDescGZIP(), []int{1} +} -func (m *BeaconBlockV1) GetSlot() github_com_prysmaticlabs_eth2_types.Slot { - if m != nil { - return m.Slot +func (x *BeaconBlockV1) GetSlot() github_com_prysmaticlabs_eth2_types.Slot { + if x != nil { + return x.Slot } - return 0 + return github_com_prysmaticlabs_eth2_types.Slot(0) } -func (m *BeaconBlockV1) GetProposerIndex() github_com_prysmaticlabs_eth2_types.ValidatorIndex { - if m != nil { - return m.ProposerIndex +func (x *BeaconBlockV1) GetProposerIndex() github_com_prysmaticlabs_eth2_types.ValidatorIndex { + if x != nil { + return x.ProposerIndex } - return 0 + return github_com_prysmaticlabs_eth2_types.ValidatorIndex(0) } -func (m *BeaconBlockV1) GetParentRoot() []byte { - if m != nil { - return m.ParentRoot +func (x *BeaconBlockV1) GetParentRoot() []byte { + if x != nil { + return x.ParentRoot } return nil } -func (m *BeaconBlockV1) GetStateRoot() []byte { - if m != nil { - return m.StateRoot +func (x *BeaconBlockV1) GetStateRoot() []byte { + if x != nil { + return x.StateRoot } return nil } -func (m *BeaconBlockV1) GetBody() *BeaconBlockBodyV1 { - if m != nil { - return m.Body +func (x *BeaconBlockV1) GetBody() *BeaconBlockBodyV1 { + if x != nil { + return x.Body } return nil } type SignedBeaconBlock struct { - Block *BeaconBlock `protobuf:"bytes,1,opt,name=block,proto3" json:"block,omitempty"` - Signature []byte `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty" ssz-size:"96"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Block *BeaconBlock `protobuf:"bytes,1,opt,name=block,proto3" json:"block,omitempty"` + Signature []byte `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty" ssz-size:"96"` } -func (m *SignedBeaconBlock) Reset() { *m = SignedBeaconBlock{} } -func (m *SignedBeaconBlock) String() string { return proto.CompactTextString(m) } -func (*SignedBeaconBlock) ProtoMessage() {} -func (*SignedBeaconBlock) Descriptor() ([]byte, []int) { - return fileDescriptor_b82dda2838684da4, []int{2} -} -func (m *SignedBeaconBlock) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *SignedBeaconBlock) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_SignedBeaconBlock.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *SignedBeaconBlock) Reset() { + *x = SignedBeaconBlock{} + if protoimpl.UnsafeEnabled { + mi := &file_eth_v1_beacon_block_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *SignedBeaconBlock) XXX_Merge(src proto.Message) { - xxx_messageInfo_SignedBeaconBlock.Merge(m, src) -} -func (m *SignedBeaconBlock) XXX_Size() int { - return m.Size() + +func (x *SignedBeaconBlock) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *SignedBeaconBlock) XXX_DiscardUnknown() { - xxx_messageInfo_SignedBeaconBlock.DiscardUnknown(m) + +func (*SignedBeaconBlock) ProtoMessage() {} + +func (x *SignedBeaconBlock) ProtoReflect() protoreflect.Message { + mi := &file_eth_v1_beacon_block_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) } -var xxx_messageInfo_SignedBeaconBlock proto.InternalMessageInfo +// Deprecated: Use SignedBeaconBlock.ProtoReflect.Descriptor instead. +func (*SignedBeaconBlock) Descriptor() ([]byte, []int) { + return file_eth_v1_beacon_block_proto_rawDescGZIP(), []int{2} +} -func (m *SignedBeaconBlock) GetBlock() *BeaconBlock { - if m != nil { - return m.Block +func (x *SignedBeaconBlock) GetBlock() *BeaconBlock { + if x != nil { + return x.Block } return nil } -func (m *SignedBeaconBlock) GetSignature() []byte { - if m != nil { - return m.Signature +func (x *SignedBeaconBlock) GetSignature() []byte { + if x != nil { + return x.Signature } return nil } type SignedBeaconBlockV1 struct { - Block *BeaconBlockV1 `protobuf:"bytes,1,opt,name=block,proto3" json:"block,omitempty"` - Signature []byte `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty" ssz-size:"96"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Block *BeaconBlockV1 `protobuf:"bytes,1,opt,name=block,proto3" json:"block,omitempty"` + Signature []byte `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty" ssz-size:"96"` } -func (m *SignedBeaconBlockV1) Reset() { *m = SignedBeaconBlockV1{} } -func (m *SignedBeaconBlockV1) String() string { return proto.CompactTextString(m) } -func (*SignedBeaconBlockV1) ProtoMessage() {} -func (*SignedBeaconBlockV1) Descriptor() ([]byte, []int) { - return fileDescriptor_b82dda2838684da4, []int{3} -} -func (m *SignedBeaconBlockV1) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *SignedBeaconBlockV1) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_SignedBeaconBlockV1.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *SignedBeaconBlockV1) Reset() { + *x = SignedBeaconBlockV1{} + if protoimpl.UnsafeEnabled { + mi := &file_eth_v1_beacon_block_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *SignedBeaconBlockV1) XXX_Merge(src proto.Message) { - xxx_messageInfo_SignedBeaconBlockV1.Merge(m, src) -} -func (m *SignedBeaconBlockV1) XXX_Size() int { - return m.Size() + +func (x *SignedBeaconBlockV1) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *SignedBeaconBlockV1) XXX_DiscardUnknown() { - xxx_messageInfo_SignedBeaconBlockV1.DiscardUnknown(m) + +func (*SignedBeaconBlockV1) ProtoMessage() {} + +func (x *SignedBeaconBlockV1) ProtoReflect() protoreflect.Message { + mi := &file_eth_v1_beacon_block_proto_msgTypes[3] + 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) } -var xxx_messageInfo_SignedBeaconBlockV1 proto.InternalMessageInfo +// Deprecated: Use SignedBeaconBlockV1.ProtoReflect.Descriptor instead. +func (*SignedBeaconBlockV1) Descriptor() ([]byte, []int) { + return file_eth_v1_beacon_block_proto_rawDescGZIP(), []int{3} +} -func (m *SignedBeaconBlockV1) GetBlock() *BeaconBlockV1 { - if m != nil { - return m.Block +func (x *SignedBeaconBlockV1) GetBlock() *BeaconBlockV1 { + if x != nil { + return x.Block } return nil } -func (m *SignedBeaconBlockV1) GetSignature() []byte { - if m != nil { - return m.Signature +func (x *SignedBeaconBlockV1) GetSignature() []byte { + if x != nil { + return x.Signature } return nil } type BeaconBlockBody struct { - RandaoReveal []byte `protobuf:"bytes,1,opt,name=randao_reveal,json=randaoReveal,proto3" json:"randao_reveal,omitempty" ssz-size:"96"` - Eth1Data *Eth1Data `protobuf:"bytes,2,opt,name=eth1_data,json=eth1Data,proto3" json:"eth1_data,omitempty"` - Graffiti []byte `protobuf:"bytes,3,opt,name=graffiti,proto3" json:"graffiti,omitempty" ssz-size:"32"` - ProposerSlashings []*ProposerSlashing `protobuf:"bytes,4,rep,name=proposer_slashings,json=proposerSlashings,proto3" json:"proposer_slashings,omitempty" ssz-max:"16"` - AttesterSlashings []*AttesterSlashing `protobuf:"bytes,5,rep,name=attester_slashings,json=attesterSlashings,proto3" json:"attester_slashings,omitempty" ssz-max:"2"` - Attestations []*Attestation `protobuf:"bytes,6,rep,name=attestations,proto3" json:"attestations,omitempty" ssz-max:"128"` - Deposits []*Deposit `protobuf:"bytes,7,rep,name=deposits,proto3" json:"deposits,omitempty" ssz-max:"16"` - VoluntaryExits []*SignedVoluntaryExit `protobuf:"bytes,8,rep,name=voluntary_exits,json=voluntaryExits,proto3" json:"voluntary_exits,omitempty" ssz-max:"16"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *BeaconBlockBody) Reset() { *m = BeaconBlockBody{} } -func (m *BeaconBlockBody) String() string { return proto.CompactTextString(m) } -func (*BeaconBlockBody) ProtoMessage() {} -func (*BeaconBlockBody) Descriptor() ([]byte, []int) { - return fileDescriptor_b82dda2838684da4, []int{4} -} -func (m *BeaconBlockBody) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *BeaconBlockBody) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_BeaconBlockBody.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil - } + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + RandaoReveal []byte `protobuf:"bytes,1,opt,name=randao_reveal,json=randaoReveal,proto3" json:"randao_reveal,omitempty" ssz-size:"96"` + Eth1Data *Eth1Data `protobuf:"bytes,2,opt,name=eth1_data,json=eth1Data,proto3" json:"eth1_data,omitempty"` + Graffiti []byte `protobuf:"bytes,3,opt,name=graffiti,proto3" json:"graffiti,omitempty" ssz-size:"32"` + ProposerSlashings []*ProposerSlashing `protobuf:"bytes,4,rep,name=proposer_slashings,json=proposerSlashings,proto3" json:"proposer_slashings,omitempty" ssz-max:"16"` + AttesterSlashings []*AttesterSlashing `protobuf:"bytes,5,rep,name=attester_slashings,json=attesterSlashings,proto3" json:"attester_slashings,omitempty" ssz-max:"2"` + Attestations []*Attestation `protobuf:"bytes,6,rep,name=attestations,proto3" json:"attestations,omitempty" ssz-max:"128"` + Deposits []*Deposit `protobuf:"bytes,7,rep,name=deposits,proto3" json:"deposits,omitempty" ssz-max:"16"` + VoluntaryExits []*SignedVoluntaryExit `protobuf:"bytes,8,rep,name=voluntary_exits,json=voluntaryExits,proto3" json:"voluntary_exits,omitempty" ssz-max:"16"` } -func (m *BeaconBlockBody) XXX_Merge(src proto.Message) { - xxx_messageInfo_BeaconBlockBody.Merge(m, src) + +func (x *BeaconBlockBody) Reset() { + *x = BeaconBlockBody{} + if protoimpl.UnsafeEnabled { + mi := &file_eth_v1_beacon_block_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *BeaconBlockBody) XXX_Size() int { - return m.Size() + +func (x *BeaconBlockBody) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *BeaconBlockBody) XXX_DiscardUnknown() { - xxx_messageInfo_BeaconBlockBody.DiscardUnknown(m) + +func (*BeaconBlockBody) ProtoMessage() {} + +func (x *BeaconBlockBody) ProtoReflect() protoreflect.Message { + mi := &file_eth_v1_beacon_block_proto_msgTypes[4] + 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) } -var xxx_messageInfo_BeaconBlockBody proto.InternalMessageInfo +// Deprecated: Use BeaconBlockBody.ProtoReflect.Descriptor instead. +func (*BeaconBlockBody) Descriptor() ([]byte, []int) { + return file_eth_v1_beacon_block_proto_rawDescGZIP(), []int{4} +} -func (m *BeaconBlockBody) GetRandaoReveal() []byte { - if m != nil { - return m.RandaoReveal +func (x *BeaconBlockBody) GetRandaoReveal() []byte { + if x != nil { + return x.RandaoReveal } return nil } -func (m *BeaconBlockBody) GetEth1Data() *Eth1Data { - if m != nil { - return m.Eth1Data +func (x *BeaconBlockBody) GetEth1Data() *Eth1Data { + if x != nil { + return x.Eth1Data } return nil } -func (m *BeaconBlockBody) GetGraffiti() []byte { - if m != nil { - return m.Graffiti +func (x *BeaconBlockBody) GetGraffiti() []byte { + if x != nil { + return x.Graffiti } return nil } -func (m *BeaconBlockBody) GetProposerSlashings() []*ProposerSlashing { - if m != nil { - return m.ProposerSlashings +func (x *BeaconBlockBody) GetProposerSlashings() []*ProposerSlashing { + if x != nil { + return x.ProposerSlashings } return nil } -func (m *BeaconBlockBody) GetAttesterSlashings() []*AttesterSlashing { - if m != nil { - return m.AttesterSlashings +func (x *BeaconBlockBody) GetAttesterSlashings() []*AttesterSlashing { + if x != nil { + return x.AttesterSlashings } return nil } -func (m *BeaconBlockBody) GetAttestations() []*Attestation { - if m != nil { - return m.Attestations +func (x *BeaconBlockBody) GetAttestations() []*Attestation { + if x != nil { + return x.Attestations } return nil } -func (m *BeaconBlockBody) GetDeposits() []*Deposit { - if m != nil { - return m.Deposits +func (x *BeaconBlockBody) GetDeposits() []*Deposit { + if x != nil { + return x.Deposits } return nil } -func (m *BeaconBlockBody) GetVoluntaryExits() []*SignedVoluntaryExit { - if m != nil { - return m.VoluntaryExits +func (x *BeaconBlockBody) GetVoluntaryExits() []*SignedVoluntaryExit { + if x != nil { + return x.VoluntaryExits } return nil } type BeaconBlockBodyV1 struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + RandaoReveal []byte `protobuf:"bytes,1,opt,name=randao_reveal,json=randaoReveal,proto3" json:"randao_reveal,omitempty" ssz-size:"96"` Eth1Data *Eth1Data `protobuf:"bytes,2,opt,name=eth1_data,json=eth1Data,proto3" json:"eth1_data,omitempty"` Graffiti []byte `protobuf:"bytes,3,opt,name=graffiti,proto3" json:"graffiti,omitempty" ssz-size:"32"` @@ -406,5133 +414,1257 @@ type BeaconBlockBodyV1 struct { Attestations []*Attestation `protobuf:"bytes,6,rep,name=attestations,proto3" json:"attestations,omitempty" ssz-max:"128"` Deposits []*Deposit `protobuf:"bytes,7,rep,name=deposits,proto3" json:"deposits,omitempty" ssz-max:"16"` VoluntaryExits []*SignedVoluntaryExit `protobuf:"bytes,8,rep,name=voluntary_exits,json=voluntaryExits,proto3" json:"voluntary_exits,omitempty" ssz-max:"16"` - SyncCommitteeBits github_com_prysmaticlabs_go_bitfield.Bitvector1024 `protobuf:"bytes,10,opt,name=sync_committee_bits,json=syncCommitteeBits,proto3,casttype=github.com/prysmaticlabs/go-bitfield.Bitvector1024" json:"sync_committee_bits,omitempty" ssz-size:"1"` + SyncCommitteeBits github_com_prysmaticlabs_go_bitfield.Bitvector1024 `protobuf:"bytes,10,opt,name=sync_committee_bits,json=syncCommitteeBits,proto3" json:"sync_committee_bits,omitempty" cast-type:"github.com/prysmaticlabs/go-bitfield.Bitvector1024" ssz-size:"1"` SyncCommitteeSignature []byte `protobuf:"bytes,11,opt,name=sync_committee_signature,json=syncCommitteeSignature,proto3" json:"sync_committee_signature,omitempty" ssz-size:"96"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` } -func (m *BeaconBlockBodyV1) Reset() { *m = BeaconBlockBodyV1{} } -func (m *BeaconBlockBodyV1) String() string { return proto.CompactTextString(m) } -func (*BeaconBlockBodyV1) ProtoMessage() {} -func (*BeaconBlockBodyV1) Descriptor() ([]byte, []int) { - return fileDescriptor_b82dda2838684da4, []int{5} -} -func (m *BeaconBlockBodyV1) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *BeaconBlockBodyV1) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_BeaconBlockBodyV1.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *BeaconBlockBodyV1) Reset() { + *x = BeaconBlockBodyV1{} + if protoimpl.UnsafeEnabled { + mi := &file_eth_v1_beacon_block_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *BeaconBlockBodyV1) XXX_Merge(src proto.Message) { - xxx_messageInfo_BeaconBlockBodyV1.Merge(m, src) -} -func (m *BeaconBlockBodyV1) XXX_Size() int { - return m.Size() + +func (x *BeaconBlockBodyV1) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *BeaconBlockBodyV1) XXX_DiscardUnknown() { - xxx_messageInfo_BeaconBlockBodyV1.DiscardUnknown(m) + +func (*BeaconBlockBodyV1) ProtoMessage() {} + +func (x *BeaconBlockBodyV1) ProtoReflect() protoreflect.Message { + mi := &file_eth_v1_beacon_block_proto_msgTypes[5] + 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) } -var xxx_messageInfo_BeaconBlockBodyV1 proto.InternalMessageInfo +// Deprecated: Use BeaconBlockBodyV1.ProtoReflect.Descriptor instead. +func (*BeaconBlockBodyV1) Descriptor() ([]byte, []int) { + return file_eth_v1_beacon_block_proto_rawDescGZIP(), []int{5} +} -func (m *BeaconBlockBodyV1) GetRandaoReveal() []byte { - if m != nil { - return m.RandaoReveal +func (x *BeaconBlockBodyV1) GetRandaoReveal() []byte { + if x != nil { + return x.RandaoReveal } return nil } -func (m *BeaconBlockBodyV1) GetEth1Data() *Eth1Data { - if m != nil { - return m.Eth1Data +func (x *BeaconBlockBodyV1) GetEth1Data() *Eth1Data { + if x != nil { + return x.Eth1Data } return nil } -func (m *BeaconBlockBodyV1) GetGraffiti() []byte { - if m != nil { - return m.Graffiti +func (x *BeaconBlockBodyV1) GetGraffiti() []byte { + if x != nil { + return x.Graffiti } return nil } -func (m *BeaconBlockBodyV1) GetProposerSlashings() []*ProposerSlashing { - if m != nil { - return m.ProposerSlashings +func (x *BeaconBlockBodyV1) GetProposerSlashings() []*ProposerSlashing { + if x != nil { + return x.ProposerSlashings } return nil } -func (m *BeaconBlockBodyV1) GetAttesterSlashings() []*AttesterSlashing { - if m != nil { - return m.AttesterSlashings +func (x *BeaconBlockBodyV1) GetAttesterSlashings() []*AttesterSlashing { + if x != nil { + return x.AttesterSlashings } return nil } -func (m *BeaconBlockBodyV1) GetAttestations() []*Attestation { - if m != nil { - return m.Attestations +func (x *BeaconBlockBodyV1) GetAttestations() []*Attestation { + if x != nil { + return x.Attestations } return nil } -func (m *BeaconBlockBodyV1) GetDeposits() []*Deposit { - if m != nil { - return m.Deposits +func (x *BeaconBlockBodyV1) GetDeposits() []*Deposit { + if x != nil { + return x.Deposits } return nil } -func (m *BeaconBlockBodyV1) GetVoluntaryExits() []*SignedVoluntaryExit { - if m != nil { - return m.VoluntaryExits +func (x *BeaconBlockBodyV1) GetVoluntaryExits() []*SignedVoluntaryExit { + if x != nil { + return x.VoluntaryExits } return nil } -func (m *BeaconBlockBodyV1) GetSyncCommitteeBits() github_com_prysmaticlabs_go_bitfield.Bitvector1024 { - if m != nil { - return m.SyncCommitteeBits +func (x *BeaconBlockBodyV1) GetSyncCommitteeBits() github_com_prysmaticlabs_go_bitfield.Bitvector1024 { + if x != nil { + return x.SyncCommitteeBits } - return nil + return github_com_prysmaticlabs_go_bitfield.Bitvector1024(nil) } -func (m *BeaconBlockBodyV1) GetSyncCommitteeSignature() []byte { - if m != nil { - return m.SyncCommitteeSignature +func (x *BeaconBlockBodyV1) GetSyncCommitteeSignature() []byte { + if x != nil { + return x.SyncCommitteeSignature } return nil } type ProposerSlashing struct { - Header_1 *SignedBeaconBlockHeader `protobuf:"bytes,2,opt,name=header_1,json=header1,proto3" json:"header_1,omitempty"` - Header_2 *SignedBeaconBlockHeader `protobuf:"bytes,3,opt,name=header_2,json=header2,proto3" json:"header_2,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Header_1 *SignedBeaconBlockHeader `protobuf:"bytes,2,opt,name=header_1,json=header1,proto3" json:"header_1,omitempty"` + Header_2 *SignedBeaconBlockHeader `protobuf:"bytes,3,opt,name=header_2,json=header2,proto3" json:"header_2,omitempty"` } -func (m *ProposerSlashing) Reset() { *m = ProposerSlashing{} } -func (m *ProposerSlashing) String() string { return proto.CompactTextString(m) } -func (*ProposerSlashing) ProtoMessage() {} -func (*ProposerSlashing) Descriptor() ([]byte, []int) { - return fileDescriptor_b82dda2838684da4, []int{6} -} -func (m *ProposerSlashing) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *ProposerSlashing) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_ProposerSlashing.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *ProposerSlashing) Reset() { + *x = ProposerSlashing{} + if protoimpl.UnsafeEnabled { + mi := &file_eth_v1_beacon_block_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *ProposerSlashing) XXX_Merge(src proto.Message) { - xxx_messageInfo_ProposerSlashing.Merge(m, src) -} -func (m *ProposerSlashing) XXX_Size() int { - return m.Size() + +func (x *ProposerSlashing) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ProposerSlashing) XXX_DiscardUnknown() { - xxx_messageInfo_ProposerSlashing.DiscardUnknown(m) + +func (*ProposerSlashing) ProtoMessage() {} + +func (x *ProposerSlashing) ProtoReflect() protoreflect.Message { + mi := &file_eth_v1_beacon_block_proto_msgTypes[6] + 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) } -var xxx_messageInfo_ProposerSlashing proto.InternalMessageInfo +// Deprecated: Use ProposerSlashing.ProtoReflect.Descriptor instead. +func (*ProposerSlashing) Descriptor() ([]byte, []int) { + return file_eth_v1_beacon_block_proto_rawDescGZIP(), []int{6} +} -func (m *ProposerSlashing) GetHeader_1() *SignedBeaconBlockHeader { - if m != nil { - return m.Header_1 +func (x *ProposerSlashing) GetHeader_1() *SignedBeaconBlockHeader { + if x != nil { + return x.Header_1 } return nil } -func (m *ProposerSlashing) GetHeader_2() *SignedBeaconBlockHeader { - if m != nil { - return m.Header_2 +func (x *ProposerSlashing) GetHeader_2() *SignedBeaconBlockHeader { + if x != nil { + return x.Header_2 } return nil } type AttesterSlashing struct { - Attestation_1 *IndexedAttestation `protobuf:"bytes,1,opt,name=attestation_1,json=attestation1,proto3" json:"attestation_1,omitempty"` - Attestation_2 *IndexedAttestation `protobuf:"bytes,2,opt,name=attestation_2,json=attestation2,proto3" json:"attestation_2,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Attestation_1 *IndexedAttestation `protobuf:"bytes,1,opt,name=attestation_1,json=attestation1,proto3" json:"attestation_1,omitempty"` + Attestation_2 *IndexedAttestation `protobuf:"bytes,2,opt,name=attestation_2,json=attestation2,proto3" json:"attestation_2,omitempty"` } -func (m *AttesterSlashing) Reset() { *m = AttesterSlashing{} } -func (m *AttesterSlashing) String() string { return proto.CompactTextString(m) } -func (*AttesterSlashing) ProtoMessage() {} -func (*AttesterSlashing) Descriptor() ([]byte, []int) { - return fileDescriptor_b82dda2838684da4, []int{7} -} -func (m *AttesterSlashing) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *AttesterSlashing) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_AttesterSlashing.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *AttesterSlashing) Reset() { + *x = AttesterSlashing{} + if protoimpl.UnsafeEnabled { + mi := &file_eth_v1_beacon_block_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *AttesterSlashing) XXX_Merge(src proto.Message) { - xxx_messageInfo_AttesterSlashing.Merge(m, src) -} -func (m *AttesterSlashing) XXX_Size() int { - return m.Size() + +func (x *AttesterSlashing) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *AttesterSlashing) XXX_DiscardUnknown() { - xxx_messageInfo_AttesterSlashing.DiscardUnknown(m) + +func (*AttesterSlashing) ProtoMessage() {} + +func (x *AttesterSlashing) ProtoReflect() protoreflect.Message { + mi := &file_eth_v1_beacon_block_proto_msgTypes[7] + 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) } -var xxx_messageInfo_AttesterSlashing proto.InternalMessageInfo +// Deprecated: Use AttesterSlashing.ProtoReflect.Descriptor instead. +func (*AttesterSlashing) Descriptor() ([]byte, []int) { + return file_eth_v1_beacon_block_proto_rawDescGZIP(), []int{7} +} -func (m *AttesterSlashing) GetAttestation_1() *IndexedAttestation { - if m != nil { - return m.Attestation_1 +func (x *AttesterSlashing) GetAttestation_1() *IndexedAttestation { + if x != nil { + return x.Attestation_1 } return nil } -func (m *AttesterSlashing) GetAttestation_2() *IndexedAttestation { - if m != nil { - return m.Attestation_2 +func (x *AttesterSlashing) GetAttestation_2() *IndexedAttestation { + if x != nil { + return x.Attestation_2 } return nil } type Deposit struct { - Proof [][]byte `protobuf:"bytes,1,rep,name=proof,proto3" json:"proof,omitempty" ssz-size:"33,32"` - Data *Deposit_Data `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *Deposit) Reset() { *m = Deposit{} } -func (m *Deposit) String() string { return proto.CompactTextString(m) } -func (*Deposit) ProtoMessage() {} -func (*Deposit) Descriptor() ([]byte, []int) { - return fileDescriptor_b82dda2838684da4, []int{8} -} -func (m *Deposit) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *Deposit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_Deposit.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil - } + Proof [][]byte `protobuf:"bytes,1,rep,name=proof,proto3" json:"proof,omitempty" ssz-size:"33,32"` + Data *Deposit_Data `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` } -func (m *Deposit) XXX_Merge(src proto.Message) { - xxx_messageInfo_Deposit.Merge(m, src) -} -func (m *Deposit) XXX_Size() int { - return m.Size() -} -func (m *Deposit) XXX_DiscardUnknown() { - xxx_messageInfo_Deposit.DiscardUnknown(m) -} - -var xxx_messageInfo_Deposit proto.InternalMessageInfo -func (m *Deposit) GetProof() [][]byte { - if m != nil { - return m.Proof +func (x *Deposit) Reset() { + *x = Deposit{} + if protoimpl.UnsafeEnabled { + mi := &file_eth_v1_beacon_block_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } - return nil } -func (m *Deposit) GetData() *Deposit_Data { - if m != nil { - return m.Data - } - return nil +func (x *Deposit) String() string { + return protoimpl.X.MessageStringOf(x) } -type Deposit_Data struct { - PublicKey []byte `protobuf:"bytes,1,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty" ssz-size:"48" spec-name:"pubkey"` - WithdrawalCredentials []byte `protobuf:"bytes,2,opt,name=withdrawal_credentials,json=withdrawalCredentials,proto3" json:"withdrawal_credentials,omitempty" ssz-size:"32"` - Amount uint64 `protobuf:"varint,3,opt,name=amount,proto3" json:"amount,omitempty"` - Signature []byte `protobuf:"bytes,4,opt,name=signature,proto3" json:"signature,omitempty" ssz-size:"96"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Deposit_Data) Reset() { *m = Deposit_Data{} } -func (m *Deposit_Data) String() string { return proto.CompactTextString(m) } -func (*Deposit_Data) ProtoMessage() {} -func (*Deposit_Data) Descriptor() ([]byte, []int) { - return fileDescriptor_b82dda2838684da4, []int{8, 0} -} -func (m *Deposit_Data) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *Deposit_Data) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_Deposit_Data.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err +func (*Deposit) ProtoMessage() {} + +func (x *Deposit) ProtoReflect() protoreflect.Message { + mi := &file_eth_v1_beacon_block_proto_msgTypes[8] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - return b[:n], nil + return ms } -} -func (m *Deposit_Data) XXX_Merge(src proto.Message) { - xxx_messageInfo_Deposit_Data.Merge(m, src) -} -func (m *Deposit_Data) XXX_Size() int { - return m.Size() -} -func (m *Deposit_Data) XXX_DiscardUnknown() { - xxx_messageInfo_Deposit_Data.DiscardUnknown(m) + return mi.MessageOf(x) } -var xxx_messageInfo_Deposit_Data proto.InternalMessageInfo +// Deprecated: Use Deposit.ProtoReflect.Descriptor instead. +func (*Deposit) Descriptor() ([]byte, []int) { + return file_eth_v1_beacon_block_proto_rawDescGZIP(), []int{8} +} -func (m *Deposit_Data) GetPublicKey() []byte { - if m != nil { - return m.PublicKey +func (x *Deposit) GetProof() [][]byte { + if x != nil { + return x.Proof } return nil } -func (m *Deposit_Data) GetWithdrawalCredentials() []byte { - if m != nil { - return m.WithdrawalCredentials +func (x *Deposit) GetData() *Deposit_Data { + if x != nil { + return x.Data } return nil } -func (m *Deposit_Data) GetAmount() uint64 { - if m != nil { - return m.Amount - } - return 0 +type VoluntaryExit struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Epoch github_com_prysmaticlabs_eth2_types.Epoch `protobuf:"varint,1,opt,name=epoch,proto3" json:"epoch,omitempty" cast-type:"github.com/prysmaticlabs/eth2-types.Epoch"` + ValidatorIndex github_com_prysmaticlabs_eth2_types.ValidatorIndex `protobuf:"varint,2,opt,name=validator_index,json=validatorIndex,proto3" json:"validator_index,omitempty" cast-type:"github.com/prysmaticlabs/eth2-types.ValidatorIndex"` } -func (m *Deposit_Data) GetSignature() []byte { - if m != nil { - return m.Signature +func (x *VoluntaryExit) Reset() { + *x = VoluntaryExit{} + if protoimpl.UnsafeEnabled { + mi := &file_eth_v1_beacon_block_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } - return nil } -type VoluntaryExit struct { - Epoch github_com_prysmaticlabs_eth2_types.Epoch `protobuf:"varint,1,opt,name=epoch,proto3,casttype=github.com/prysmaticlabs/eth2-types.Epoch" json:"epoch,omitempty"` - ValidatorIndex github_com_prysmaticlabs_eth2_types.ValidatorIndex `protobuf:"varint,2,opt,name=validator_index,json=validatorIndex,proto3,casttype=github.com/prysmaticlabs/eth2-types.ValidatorIndex" json:"validator_index,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +func (x *VoluntaryExit) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *VoluntaryExit) Reset() { *m = VoluntaryExit{} } -func (m *VoluntaryExit) String() string { return proto.CompactTextString(m) } -func (*VoluntaryExit) ProtoMessage() {} -func (*VoluntaryExit) Descriptor() ([]byte, []int) { - return fileDescriptor_b82dda2838684da4, []int{9} -} -func (m *VoluntaryExit) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *VoluntaryExit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_VoluntaryExit.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err +func (*VoluntaryExit) ProtoMessage() {} + +func (x *VoluntaryExit) ProtoReflect() protoreflect.Message { + mi := &file_eth_v1_beacon_block_proto_msgTypes[9] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - return b[:n], nil + return ms } -} -func (m *VoluntaryExit) XXX_Merge(src proto.Message) { - xxx_messageInfo_VoluntaryExit.Merge(m, src) -} -func (m *VoluntaryExit) XXX_Size() int { - return m.Size() -} -func (m *VoluntaryExit) XXX_DiscardUnknown() { - xxx_messageInfo_VoluntaryExit.DiscardUnknown(m) + return mi.MessageOf(x) } -var xxx_messageInfo_VoluntaryExit proto.InternalMessageInfo +// Deprecated: Use VoluntaryExit.ProtoReflect.Descriptor instead. +func (*VoluntaryExit) Descriptor() ([]byte, []int) { + return file_eth_v1_beacon_block_proto_rawDescGZIP(), []int{9} +} -func (m *VoluntaryExit) GetEpoch() github_com_prysmaticlabs_eth2_types.Epoch { - if m != nil { - return m.Epoch +func (x *VoluntaryExit) GetEpoch() github_com_prysmaticlabs_eth2_types.Epoch { + if x != nil { + return x.Epoch } - return 0 + return github_com_prysmaticlabs_eth2_types.Epoch(0) } -func (m *VoluntaryExit) GetValidatorIndex() github_com_prysmaticlabs_eth2_types.ValidatorIndex { - if m != nil { - return m.ValidatorIndex +func (x *VoluntaryExit) GetValidatorIndex() github_com_prysmaticlabs_eth2_types.ValidatorIndex { + if x != nil { + return x.ValidatorIndex } - return 0 + return github_com_prysmaticlabs_eth2_types.ValidatorIndex(0) } type SignedVoluntaryExit struct { - Exit *VoluntaryExit `protobuf:"bytes,1,opt,name=exit,proto3" json:"exit,omitempty"` - Signature []byte `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty" ssz-size:"96"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Exit *VoluntaryExit `protobuf:"bytes,1,opt,name=exit,proto3" json:"exit,omitempty"` + Signature []byte `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty" ssz-size:"96"` } -func (m *SignedVoluntaryExit) Reset() { *m = SignedVoluntaryExit{} } -func (m *SignedVoluntaryExit) String() string { return proto.CompactTextString(m) } -func (*SignedVoluntaryExit) ProtoMessage() {} -func (*SignedVoluntaryExit) Descriptor() ([]byte, []int) { - return fileDescriptor_b82dda2838684da4, []int{10} -} -func (m *SignedVoluntaryExit) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *SignedVoluntaryExit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_SignedVoluntaryExit.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *SignedVoluntaryExit) Reset() { + *x = SignedVoluntaryExit{} + if protoimpl.UnsafeEnabled { + mi := &file_eth_v1_beacon_block_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *SignedVoluntaryExit) XXX_Merge(src proto.Message) { - xxx_messageInfo_SignedVoluntaryExit.Merge(m, src) -} -func (m *SignedVoluntaryExit) XXX_Size() int { - return m.Size() + +func (x *SignedVoluntaryExit) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *SignedVoluntaryExit) XXX_DiscardUnknown() { - xxx_messageInfo_SignedVoluntaryExit.DiscardUnknown(m) + +func (*SignedVoluntaryExit) ProtoMessage() {} + +func (x *SignedVoluntaryExit) ProtoReflect() protoreflect.Message { + mi := &file_eth_v1_beacon_block_proto_msgTypes[10] + 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) } -var xxx_messageInfo_SignedVoluntaryExit proto.InternalMessageInfo +// Deprecated: Use SignedVoluntaryExit.ProtoReflect.Descriptor instead. +func (*SignedVoluntaryExit) Descriptor() ([]byte, []int) { + return file_eth_v1_beacon_block_proto_rawDescGZIP(), []int{10} +} -func (m *SignedVoluntaryExit) GetExit() *VoluntaryExit { - if m != nil { - return m.Exit +func (x *SignedVoluntaryExit) GetExit() *VoluntaryExit { + if x != nil { + return x.Exit } return nil } -func (m *SignedVoluntaryExit) GetSignature() []byte { - if m != nil { - return m.Signature +func (x *SignedVoluntaryExit) GetSignature() []byte { + if x != nil { + return x.Signature } return nil } type Eth1Data struct { - DepositRoot []byte `protobuf:"bytes,1,opt,name=deposit_root,json=depositRoot,proto3" json:"deposit_root,omitempty" ssz-size:"32"` - DepositCount uint64 `protobuf:"varint,2,opt,name=deposit_count,json=depositCount,proto3" json:"deposit_count,omitempty"` - BlockHash []byte `protobuf:"bytes,3,opt,name=block_hash,json=blockHash,proto3" json:"block_hash,omitempty" ssz-size:"32"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + DepositRoot []byte `protobuf:"bytes,1,opt,name=deposit_root,json=depositRoot,proto3" json:"deposit_root,omitempty" ssz-size:"32"` + DepositCount uint64 `protobuf:"varint,2,opt,name=deposit_count,json=depositCount,proto3" json:"deposit_count,omitempty"` + BlockHash []byte `protobuf:"bytes,3,opt,name=block_hash,json=blockHash,proto3" json:"block_hash,omitempty" ssz-size:"32"` } -func (m *Eth1Data) Reset() { *m = Eth1Data{} } -func (m *Eth1Data) String() string { return proto.CompactTextString(m) } -func (*Eth1Data) ProtoMessage() {} -func (*Eth1Data) Descriptor() ([]byte, []int) { - return fileDescriptor_b82dda2838684da4, []int{11} -} -func (m *Eth1Data) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *Eth1Data) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_Eth1Data.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *Eth1Data) Reset() { + *x = Eth1Data{} + if protoimpl.UnsafeEnabled { + mi := &file_eth_v1_beacon_block_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *Eth1Data) XXX_Merge(src proto.Message) { - xxx_messageInfo_Eth1Data.Merge(m, src) -} -func (m *Eth1Data) XXX_Size() int { - return m.Size() + +func (x *Eth1Data) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *Eth1Data) XXX_DiscardUnknown() { - xxx_messageInfo_Eth1Data.DiscardUnknown(m) + +func (*Eth1Data) ProtoMessage() {} + +func (x *Eth1Data) ProtoReflect() protoreflect.Message { + mi := &file_eth_v1_beacon_block_proto_msgTypes[11] + 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) } -var xxx_messageInfo_Eth1Data proto.InternalMessageInfo +// Deprecated: Use Eth1Data.ProtoReflect.Descriptor instead. +func (*Eth1Data) Descriptor() ([]byte, []int) { + return file_eth_v1_beacon_block_proto_rawDescGZIP(), []int{11} +} -func (m *Eth1Data) GetDepositRoot() []byte { - if m != nil { - return m.DepositRoot +func (x *Eth1Data) GetDepositRoot() []byte { + if x != nil { + return x.DepositRoot } return nil } -func (m *Eth1Data) GetDepositCount() uint64 { - if m != nil { - return m.DepositCount +func (x *Eth1Data) GetDepositCount() uint64 { + if x != nil { + return x.DepositCount } return 0 } -func (m *Eth1Data) GetBlockHash() []byte { - if m != nil { - return m.BlockHash +func (x *Eth1Data) GetBlockHash() []byte { + if x != nil { + return x.BlockHash } return nil } type BeaconBlockHeader struct { - Slot github_com_prysmaticlabs_eth2_types.Slot `protobuf:"varint,1,opt,name=slot,proto3,casttype=github.com/prysmaticlabs/eth2-types.Slot" json:"slot,omitempty"` - ProposerIndex github_com_prysmaticlabs_eth2_types.ValidatorIndex `protobuf:"varint,2,opt,name=proposer_index,json=proposerIndex,proto3,casttype=github.com/prysmaticlabs/eth2-types.ValidatorIndex" json:"proposer_index,omitempty"` - ParentRoot []byte `protobuf:"bytes,3,opt,name=parent_root,json=parentRoot,proto3" json:"parent_root,omitempty" ssz-size:"32"` - StateRoot []byte `protobuf:"bytes,4,opt,name=state_root,json=stateRoot,proto3" json:"state_root,omitempty" ssz-size:"32"` - BodyRoot []byte `protobuf:"bytes,5,opt,name=body_root,json=bodyRoot,proto3" json:"body_root,omitempty" ssz-size:"32"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *BeaconBlockHeader) Reset() { *m = BeaconBlockHeader{} } -func (m *BeaconBlockHeader) String() string { return proto.CompactTextString(m) } -func (*BeaconBlockHeader) ProtoMessage() {} -func (*BeaconBlockHeader) Descriptor() ([]byte, []int) { - return fileDescriptor_b82dda2838684da4, []int{12} -} -func (m *BeaconBlockHeader) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *BeaconBlockHeader) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_BeaconBlockHeader.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil - } + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Slot github_com_prysmaticlabs_eth2_types.Slot `protobuf:"varint,1,opt,name=slot,proto3" json:"slot,omitempty" cast-type:"github.com/prysmaticlabs/eth2-types.Slot"` + ProposerIndex github_com_prysmaticlabs_eth2_types.ValidatorIndex `protobuf:"varint,2,opt,name=proposer_index,json=proposerIndex,proto3" json:"proposer_index,omitempty" cast-type:"github.com/prysmaticlabs/eth2-types.ValidatorIndex"` + ParentRoot []byte `protobuf:"bytes,3,opt,name=parent_root,json=parentRoot,proto3" json:"parent_root,omitempty" ssz-size:"32"` + StateRoot []byte `protobuf:"bytes,4,opt,name=state_root,json=stateRoot,proto3" json:"state_root,omitempty" ssz-size:"32"` + BodyRoot []byte `protobuf:"bytes,5,opt,name=body_root,json=bodyRoot,proto3" json:"body_root,omitempty" ssz-size:"32"` } -func (m *BeaconBlockHeader) XXX_Merge(src proto.Message) { - xxx_messageInfo_BeaconBlockHeader.Merge(m, src) + +func (x *BeaconBlockHeader) Reset() { + *x = BeaconBlockHeader{} + if protoimpl.UnsafeEnabled { + mi := &file_eth_v1_beacon_block_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *BeaconBlockHeader) XXX_Size() int { - return m.Size() + +func (x *BeaconBlockHeader) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *BeaconBlockHeader) XXX_DiscardUnknown() { - xxx_messageInfo_BeaconBlockHeader.DiscardUnknown(m) + +func (*BeaconBlockHeader) ProtoMessage() {} + +func (x *BeaconBlockHeader) ProtoReflect() protoreflect.Message { + mi := &file_eth_v1_beacon_block_proto_msgTypes[12] + 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) } -var xxx_messageInfo_BeaconBlockHeader proto.InternalMessageInfo +// Deprecated: Use BeaconBlockHeader.ProtoReflect.Descriptor instead. +func (*BeaconBlockHeader) Descriptor() ([]byte, []int) { + return file_eth_v1_beacon_block_proto_rawDescGZIP(), []int{12} +} -func (m *BeaconBlockHeader) GetSlot() github_com_prysmaticlabs_eth2_types.Slot { - if m != nil { - return m.Slot +func (x *BeaconBlockHeader) GetSlot() github_com_prysmaticlabs_eth2_types.Slot { + if x != nil { + return x.Slot } - return 0 + return github_com_prysmaticlabs_eth2_types.Slot(0) } -func (m *BeaconBlockHeader) GetProposerIndex() github_com_prysmaticlabs_eth2_types.ValidatorIndex { - if m != nil { - return m.ProposerIndex +func (x *BeaconBlockHeader) GetProposerIndex() github_com_prysmaticlabs_eth2_types.ValidatorIndex { + if x != nil { + return x.ProposerIndex } - return 0 + return github_com_prysmaticlabs_eth2_types.ValidatorIndex(0) } -func (m *BeaconBlockHeader) GetParentRoot() []byte { - if m != nil { - return m.ParentRoot +func (x *BeaconBlockHeader) GetParentRoot() []byte { + if x != nil { + return x.ParentRoot } return nil } -func (m *BeaconBlockHeader) GetStateRoot() []byte { - if m != nil { - return m.StateRoot +func (x *BeaconBlockHeader) GetStateRoot() []byte { + if x != nil { + return x.StateRoot } return nil } -func (m *BeaconBlockHeader) GetBodyRoot() []byte { - if m != nil { - return m.BodyRoot +func (x *BeaconBlockHeader) GetBodyRoot() []byte { + if x != nil { + return x.BodyRoot } return nil } type SignedBeaconBlockHeader struct { - Header *BeaconBlockHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"` - Signature []byte `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty" ssz-size:"96"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *SignedBeaconBlockHeader) Reset() { *m = SignedBeaconBlockHeader{} } -func (m *SignedBeaconBlockHeader) String() string { return proto.CompactTextString(m) } -func (*SignedBeaconBlockHeader) ProtoMessage() {} -func (*SignedBeaconBlockHeader) Descriptor() ([]byte, []int) { - return fileDescriptor_b82dda2838684da4, []int{13} -} -func (m *SignedBeaconBlockHeader) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *SignedBeaconBlockHeader) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_SignedBeaconBlockHeader.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil - } -} -func (m *SignedBeaconBlockHeader) XXX_Merge(src proto.Message) { - xxx_messageInfo_SignedBeaconBlockHeader.Merge(m, src) -} -func (m *SignedBeaconBlockHeader) XXX_Size() int { - return m.Size() -} -func (m *SignedBeaconBlockHeader) XXX_DiscardUnknown() { - xxx_messageInfo_SignedBeaconBlockHeader.DiscardUnknown(m) + Header *BeaconBlockHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"` + Signature []byte `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty" ssz-size:"96"` } -var xxx_messageInfo_SignedBeaconBlockHeader proto.InternalMessageInfo - -func (m *SignedBeaconBlockHeader) GetHeader() *BeaconBlockHeader { - if m != nil { - return m.Header +func (x *SignedBeaconBlockHeader) Reset() { + *x = SignedBeaconBlockHeader{} + if protoimpl.UnsafeEnabled { + mi := &file_eth_v1_beacon_block_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } - return nil } -func (m *SignedBeaconBlockHeader) GetSignature() []byte { - if m != nil { - return m.Signature - } - return nil +func (x *SignedBeaconBlockHeader) String() string { + return protoimpl.X.MessageStringOf(x) } -type IndexedAttestation struct { - AttestingIndices []uint64 `protobuf:"varint,1,rep,packed,name=attesting_indices,json=attestingIndices,proto3" json:"attesting_indices,omitempty" ssz-max:"2048"` - Data *AttestationData `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` - Signature []byte `protobuf:"bytes,3,opt,name=signature,proto3" json:"signature,omitempty" ssz-size:"96"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} +func (*SignedBeaconBlockHeader) ProtoMessage() {} -func (m *IndexedAttestation) Reset() { *m = IndexedAttestation{} } -func (m *IndexedAttestation) String() string { return proto.CompactTextString(m) } -func (*IndexedAttestation) ProtoMessage() {} -func (*IndexedAttestation) Descriptor() ([]byte, []int) { - return fileDescriptor_b82dda2838684da4, []int{14} -} -func (m *IndexedAttestation) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *IndexedAttestation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_IndexedAttestation.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err +func (x *SignedBeaconBlockHeader) ProtoReflect() protoreflect.Message { + mi := &file_eth_v1_beacon_block_proto_msgTypes[13] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - return b[:n], nil + return ms } -} -func (m *IndexedAttestation) XXX_Merge(src proto.Message) { - xxx_messageInfo_IndexedAttestation.Merge(m, src) -} -func (m *IndexedAttestation) XXX_Size() int { - return m.Size() -} -func (m *IndexedAttestation) XXX_DiscardUnknown() { - xxx_messageInfo_IndexedAttestation.DiscardUnknown(m) + return mi.MessageOf(x) } -var xxx_messageInfo_IndexedAttestation proto.InternalMessageInfo +// Deprecated: Use SignedBeaconBlockHeader.ProtoReflect.Descriptor instead. +func (*SignedBeaconBlockHeader) Descriptor() ([]byte, []int) { + return file_eth_v1_beacon_block_proto_rawDescGZIP(), []int{13} +} -func (m *IndexedAttestation) GetAttestingIndices() []uint64 { - if m != nil { - return m.AttestingIndices +func (x *SignedBeaconBlockHeader) GetHeader() *BeaconBlockHeader { + if x != nil { + return x.Header } return nil } -func (m *IndexedAttestation) GetData() *AttestationData { - if m != nil { - return m.Data +func (x *SignedBeaconBlockHeader) GetSignature() []byte { + if x != nil { + return x.Signature } return nil } -func (m *IndexedAttestation) GetSignature() []byte { - if m != nil { - return m.Signature - } - return nil +type IndexedAttestation struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + AttestingIndices []uint64 `protobuf:"varint,1,rep,packed,name=attesting_indices,json=attestingIndices,proto3" json:"attesting_indices,omitempty" ssz-max:"2048"` + Data *AttestationData `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` + Signature []byte `protobuf:"bytes,3,opt,name=signature,proto3" json:"signature,omitempty" ssz-size:"96"` } -func init() { - proto.RegisterType((*BeaconBlock)(nil), "ethereum.eth.v1.BeaconBlock") - proto.RegisterType((*BeaconBlockV1)(nil), "ethereum.eth.v1.BeaconBlockV1") - proto.RegisterType((*SignedBeaconBlock)(nil), "ethereum.eth.v1.SignedBeaconBlock") - proto.RegisterType((*SignedBeaconBlockV1)(nil), "ethereum.eth.v1.SignedBeaconBlockV1") - proto.RegisterType((*BeaconBlockBody)(nil), "ethereum.eth.v1.BeaconBlockBody") - proto.RegisterType((*BeaconBlockBodyV1)(nil), "ethereum.eth.v1.BeaconBlockBodyV1") - proto.RegisterType((*ProposerSlashing)(nil), "ethereum.eth.v1.ProposerSlashing") - proto.RegisterType((*AttesterSlashing)(nil), "ethereum.eth.v1.AttesterSlashing") - proto.RegisterType((*Deposit)(nil), "ethereum.eth.v1.Deposit") - proto.RegisterType((*Deposit_Data)(nil), "ethereum.eth.v1.Deposit.Data") - proto.RegisterType((*VoluntaryExit)(nil), "ethereum.eth.v1.VoluntaryExit") - proto.RegisterType((*SignedVoluntaryExit)(nil), "ethereum.eth.v1.SignedVoluntaryExit") - proto.RegisterType((*Eth1Data)(nil), "ethereum.eth.v1.Eth1Data") - proto.RegisterType((*BeaconBlockHeader)(nil), "ethereum.eth.v1.BeaconBlockHeader") - proto.RegisterType((*SignedBeaconBlockHeader)(nil), "ethereum.eth.v1.SignedBeaconBlockHeader") - proto.RegisterType((*IndexedAttestation)(nil), "ethereum.eth.v1.IndexedAttestation") -} - -func init() { proto.RegisterFile("eth/v1/beacon_block.proto", fileDescriptor_b82dda2838684da4) } - -var fileDescriptor_b82dda2838684da4 = []byte{ - // 1253 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x58, 0x31, 0x6f, 0xdb, 0x46, - 0x14, 0x06, 0x6d, 0xda, 0xb1, 0x9f, 0x2c, 0xdb, 0xba, 0xb4, 0xa9, 0x12, 0xa4, 0x96, 0xca, 0x64, - 0x50, 0x8b, 0x48, 0x32, 0x19, 0xc3, 0x48, 0xbd, 0xb4, 0xa5, 0xe3, 0xc0, 0x41, 0x96, 0x80, 0x06, - 0x3c, 0x14, 0x29, 0x88, 0x23, 0x79, 0x16, 0x89, 0x50, 0x3c, 0x82, 0x77, 0x52, 0xac, 0xa0, 0x73, - 0xfb, 0x13, 0xba, 0x74, 0xee, 0xd0, 0xbd, 0x5b, 0x7e, 0x40, 0x9b, 0xa1, 0xe8, 0x2f, 0x10, 0x8a, - 0xfc, 0x04, 0x01, 0x5d, 0x32, 0x15, 0x3c, 0x52, 0x12, 0x29, 0x99, 0x4a, 0x1c, 0xb4, 0x9b, 0x37, - 0x9d, 0xf5, 0xbd, 0xef, 0x7b, 0x7a, 0xf7, 0xee, 0xbb, 0x77, 0x86, 0x9b, 0x84, 0xbb, 0xed, 0xbe, - 0xda, 0xb6, 0x08, 0xb6, 0x69, 0x60, 0x5a, 0x3e, 0xb5, 0x9f, 0xb7, 0xc2, 0x88, 0x72, 0x8a, 0xb6, - 0x08, 0x77, 0x49, 0x44, 0x7a, 0xdd, 0x16, 0xe1, 0x6e, 0xab, 0xaf, 0xde, 0x6a, 0x76, 0x3c, 0xee, - 0xf6, 0xac, 0x96, 0x4d, 0xbb, 0xed, 0x0e, 0xed, 0xd0, 0xb6, 0xc0, 0x59, 0xbd, 0x33, 0xb1, 0x12, - 0x0b, 0xf1, 0x29, 0x89, 0xbf, 0x55, 0x4d, 0xa9, 0x31, 0xe7, 0x84, 0x71, 0xcc, 0x3d, 0x1a, 0x24, - 0xdf, 0x28, 0xaf, 0x97, 0xa0, 0xa4, 0x0b, 0x41, 0x3d, 0xd6, 0x43, 0x5f, 0x83, 0xcc, 0x7c, 0xca, - 0xab, 0x52, 0x5d, 0x6a, 0xc8, 0xfa, 0xbd, 0xb7, 0xc3, 0x5a, 0x23, 0x23, 0x15, 0x46, 0x03, 0xd6, - 0xc5, 0xdc, 0xb3, 0x7d, 0x6c, 0xb1, 0x36, 0xe1, 0xae, 0xd6, 0xe4, 0x83, 0x90, 0xb0, 0xd6, 0x89, - 0x4f, 0xb9, 0x21, 0x22, 0xd1, 0x77, 0xb0, 0x19, 0x46, 0x34, 0xa4, 0x8c, 0x44, 0xa6, 0x17, 0x38, - 0xe4, 0xbc, 0xba, 0x24, 0xb8, 0xf6, 0xdf, 0x0e, 0x6b, 0xda, 0xfb, 0x70, 0x9d, 0x62, 0xdf, 0x73, - 0x30, 0xa7, 0xd1, 0xe3, 0x38, 0xda, 0x28, 0x8f, 0xd9, 0xc4, 0x12, 0x69, 0x50, 0x0a, 0x71, 0x44, - 0x02, 0x6e, 0x46, 0x94, 0xf2, 0xea, 0x72, 0x5d, 0x6a, 0x6c, 0xe8, 0x95, 0xd1, 0xb0, 0x56, 0x66, - 0xec, 0x65, 0x93, 0x79, 0x2f, 0xc9, 0x81, 0x72, 0x5f, 0x53, 0x0c, 0x48, 0x50, 0x06, 0xa5, 0x1c, - 0xed, 0x02, 0xc4, 0xbf, 0x9a, 0x24, 0x21, 0x72, 0x51, 0xc8, 0xba, 0x00, 0x89, 0x88, 0x3d, 0x90, - 0x2d, 0xea, 0x0c, 0xaa, 0x2b, 0x75, 0xa9, 0x51, 0xd2, 0xea, 0xad, 0x99, 0xfa, 0xb7, 0x32, 0x25, - 0xd3, 0xa9, 0x33, 0x30, 0x04, 0x5a, 0xf9, 0x73, 0x09, 0xca, 0x99, 0x6f, 0x4e, 0xd5, 0xab, 0x72, - 0x26, 0xe5, 0xdc, 0xcf, 0x95, 0x53, 0x79, 0x57, 0x39, 0x4f, 0xd5, 0xb4, 0xa0, 0xe7, 0x50, 0x39, - 0xf1, 0x3a, 0x01, 0x71, 0xb2, 0x2d, 0xaa, 0xc1, 0x8a, 0x38, 0x1b, 0xa2, 0xa8, 0x25, 0xed, 0xf6, - 0x22, 0x36, 0x23, 0x81, 0xa2, 0x36, 0xac, 0x33, 0xaf, 0x13, 0x60, 0xde, 0x8b, 0x88, 0x28, 0xe0, - 0x5c, 0xc6, 0x5f, 0xee, 0xc7, 0x19, 0x8f, 0x31, 0xca, 0xf7, 0x70, 0x7d, 0x4e, 0xf9, 0x54, 0x45, - 0x7b, 0x79, 0xed, 0x9d, 0x45, 0xda, 0xa7, 0xea, 0x07, 0xab, 0xff, 0x23, 0xc3, 0xd6, 0x4c, 0x4d, - 0xd0, 0x3e, 0x94, 0x23, 0x1c, 0x38, 0x98, 0x9a, 0x11, 0xe9, 0x13, 0xec, 0x8b, 0x14, 0x2e, 0x24, - 0xda, 0x48, 0x70, 0x86, 0x80, 0xa1, 0x7d, 0x58, 0x27, 0xdc, 0x55, 0x4d, 0x07, 0x73, 0x2c, 0xc4, - 0x4b, 0xda, 0xcd, 0xb9, 0xb4, 0x8f, 0xb8, 0xab, 0x3e, 0xc4, 0x1c, 0x1b, 0x6b, 0x24, 0xfd, 0x84, - 0x9a, 0xb0, 0xd6, 0x89, 0xf0, 0xd9, 0x99, 0xc7, 0xbd, 0xe2, 0xb6, 0x98, 0x40, 0x90, 0x05, 0x68, - 0xd2, 0xa7, 0xcc, 0xc7, 0xcc, 0xf5, 0x82, 0x0e, 0xab, 0xca, 0xf5, 0xe5, 0x46, 0x49, 0xfb, 0x6c, - 0x4e, 0xef, 0x69, 0x0a, 0x3d, 0x49, 0x91, 0xfa, 0xf6, 0x68, 0x58, 0xdb, 0x88, 0xb9, 0xbb, 0xf8, - 0xfc, 0x40, 0x51, 0xf7, 0x15, 0xa3, 0x12, 0xce, 0x60, 0x18, 0xc2, 0x80, 0x12, 0x07, 0xcb, 0x69, - 0xac, 0x14, 0x68, 0x7c, 0x93, 0x42, 0x27, 0x1a, 0x5b, 0xa3, 0x61, 0xad, 0x34, 0xd1, 0xd0, 0x14, - 0xa3, 0x82, 0x67, 0x20, 0x0c, 0x9d, 0xc0, 0x46, 0xc6, 0x24, 0x59, 0x75, 0x55, 0x90, 0xdf, 0x2e, - 0x20, 0x17, 0xa0, 0x69, 0x5d, 0x92, 0xdc, 0xb5, 0x07, 0x8a, 0x91, 0x23, 0x41, 0x8f, 0x60, 0xcd, - 0x21, 0x21, 0x65, 0x1e, 0x67, 0xd5, 0x6b, 0x82, 0xb0, 0x3a, 0x47, 0xf8, 0x30, 0x01, 0x5c, 0x50, - 0x88, 0x49, 0x2c, 0x32, 0x61, 0xab, 0x4f, 0xfd, 0x5e, 0xc0, 0x71, 0x34, 0x30, 0xc9, 0x79, 0x4c, - 0xb7, 0x26, 0xe8, 0xee, 0xce, 0xd1, 0x25, 0xcd, 0x7b, 0x3a, 0x46, 0x1f, 0x9d, 0x5f, 0x48, 0xbd, - 0xd9, 0xcf, 0x02, 0x98, 0xf2, 0x6a, 0x15, 0x2a, 0x73, 0x67, 0xf1, 0xaa, 0xf3, 0xae, 0x3a, 0xef, - 0xff, 0xee, 0x3c, 0xd4, 0x87, 0xeb, 0x6c, 0x10, 0xd8, 0xa6, 0x4d, 0xbb, 0x5d, 0x8f, 0x73, 0x42, - 0x4c, 0x2b, 0x16, 0x01, 0xb1, 0xfd, 0x8f, 0xc6, 0xe1, 0xc9, 0xf6, 0xab, 0xca, 0xc2, 0xbb, 0xaf, - 0x43, 0x9b, 0x96, 0xc7, 0xcf, 0x3c, 0xe2, 0x3b, 0x2d, 0xdd, 0xe3, 0x7d, 0x62, 0x73, 0x1a, 0xa9, - 0xbb, 0xda, 0x9e, 0x51, 0x89, 0x25, 0x0e, 0xc7, 0x0a, 0x7a, 0xac, 0xfb, 0x04, 0xaa, 0x33, 0xba, - 0x53, 0xa7, 0x2e, 0x15, 0xb5, 0xf9, 0x8d, 0x1c, 0xcf, 0xc9, 0xc4, 0xb6, 0x7f, 0x96, 0x60, 0x7b, - 0xb6, 0xbf, 0xd0, 0x21, 0xac, 0xb9, 0x04, 0x3b, 0x24, 0x32, 0xd5, 0xf4, 0x10, 0x34, 0x0a, 0x6a, - 0x96, 0x39, 0x79, 0xc7, 0x22, 0xc2, 0xb8, 0x96, 0x44, 0xaa, 0x19, 0x12, 0x4d, 0x1c, 0x89, 0x0f, - 0x20, 0xd1, 0x94, 0x5f, 0x24, 0xd8, 0x9e, 0x6d, 0x4d, 0x74, 0x0c, 0xe5, 0x4c, 0xc7, 0x98, 0x6a, - 0x7a, 0xb3, 0xdd, 0x99, 0xa3, 0x17, 0xf3, 0x02, 0x71, 0x32, 0xed, 0x97, 0xeb, 0x35, 0x75, 0x96, - 0x49, 0x4b, 0x7f, 0xed, 0xa5, 0x99, 0x34, 0xe5, 0x8f, 0x25, 0xb8, 0x96, 0x76, 0x25, 0xfa, 0x02, - 0x56, 0xc2, 0x88, 0xd2, 0xb3, 0xaa, 0x54, 0x5f, 0x6e, 0x6c, 0xe8, 0x1f, 0x8d, 0x86, 0xb5, 0xed, - 0x8c, 0x13, 0xdc, 0xbf, 0x17, 0x9b, 0x41, 0x02, 0x41, 0x2a, 0xc8, 0x19, 0xaf, 0xf9, 0xb4, 0xa8, - 0xd3, 0x5b, 0xc2, 0x6f, 0x04, 0xf4, 0xd6, 0x50, 0x02, 0x59, 0x98, 0xce, 0x21, 0x40, 0xd8, 0xb3, - 0x7c, 0xcf, 0x36, 0x9f, 0x93, 0x41, 0xea, 0x70, 0x77, 0x47, 0xc3, 0x5a, 0x7d, 0x2a, 0xb6, 0xf7, - 0x40, 0xa9, 0xb3, 0x90, 0xd8, 0xcd, 0x00, 0x77, 0xc9, 0x81, 0x12, 0xf6, 0xac, 0xe7, 0x64, 0xa0, - 0x18, 0xeb, 0x49, 0xdc, 0x13, 0x32, 0x40, 0xc7, 0x70, 0xe3, 0x85, 0xc7, 0x5d, 0x27, 0xc2, 0x2f, - 0xb0, 0x6f, 0xda, 0x11, 0x71, 0x48, 0xc0, 0x3d, 0xec, 0xb3, 0x8b, 0x6f, 0xfd, 0x38, 0xf5, 0x8f, - 0xa7, 0x01, 0x87, 0x53, 0x3c, 0xba, 0x01, 0xab, 0xb8, 0x4b, 0x7b, 0x41, 0x32, 0x92, 0xc9, 0x46, - 0xba, 0xca, 0x8f, 0x12, 0xf2, 0x7b, 0x8c, 0x12, 0xbf, 0x49, 0x50, 0xce, 0x1d, 0x46, 0x74, 0x08, - 0x2b, 0x24, 0xa4, 0xb6, 0x9b, 0x0e, 0xa5, 0xcd, 0xb7, 0xc3, 0xda, 0xe7, 0xef, 0x33, 0x48, 0x1e, - 0xc5, 0x41, 0x46, 0x12, 0x2b, 0x0c, 0x61, 0x3c, 0x58, 0xfe, 0x27, 0x73, 0xe9, 0x66, 0x3f, 0xb7, - 0x56, 0x5e, 0x8e, 0x07, 0xb0, 0x7c, 0xf2, 0x1a, 0xc8, 0xb1, 0xfd, 0x14, 0xce, 0x5f, 0x39, 0xb4, - 0x21, 0xb0, 0x97, 0x1f, 0xbf, 0x7e, 0x92, 0x60, 0x6d, 0x7c, 0x2f, 0xa1, 0x3d, 0xd8, 0x48, 0x6d, - 0x30, 0x99, 0x77, 0xa5, 0xa2, 0x9d, 0x2c, 0xa5, 0x30, 0x31, 0xf1, 0xde, 0x81, 0xf2, 0x38, 0xca, - 0x16, 0xdb, 0x28, 0xaa, 0x63, 0x8c, 0xa9, 0x0e, 0xc5, 0x66, 0xee, 0x02, 0x88, 0x01, 0xd1, 0x74, - 0x31, 0x73, 0x8b, 0xaf, 0xba, 0x75, 0x01, 0x3a, 0xc6, 0xcc, 0x8d, 0x9f, 0x6b, 0x95, 0xb9, 0x13, - 0x7e, 0xf5, 0xca, 0x48, 0x5e, 0x19, 0x2d, 0x58, 0x8f, 0x5f, 0x0d, 0x49, 0xc0, 0x4a, 0xe1, 0xe0, - 0x10, 0x63, 0x62, 0xbc, 0xf2, 0x83, 0x04, 0x9f, 0x14, 0x98, 0x26, 0x3a, 0x80, 0xd5, 0xc4, 0x36, - 0xd3, 0x4e, 0x5b, 0xf8, 0x66, 0x49, 0x8d, 0x36, 0x8d, 0xb8, 0x7c, 0xbf, 0xbd, 0x92, 0x00, 0xcd, - 0x9b, 0x22, 0xfa, 0x0a, 0xd2, 0x31, 0xc1, 0x0b, 0x3a, 0xf1, 0xae, 0x78, 0x36, 0x61, 0xc2, 0x06, - 0x65, 0x1d, 0x8d, 0x86, 0xb5, 0xcd, 0xe9, 0x40, 0xb1, 0xbb, 0xf7, 0x40, 0x31, 0xb6, 0x27, 0xe0, - 0xc7, 0x09, 0x36, 0x7e, 0xc5, 0x66, 0xfc, 0xb0, 0xbe, 0x68, 0x94, 0x98, 0x5a, 0x62, 0x3e, 0xfd, - 0xe5, 0x77, 0xa7, 0xaf, 0xff, 0x28, 0xfd, 0xfe, 0x66, 0x47, 0xfa, 0xeb, 0xcd, 0x8e, 0xf4, 0xf7, - 0x9b, 0x1d, 0x09, 0xae, 0xd3, 0xa8, 0x33, 0x2b, 0xa5, 0x6f, 0x67, 0xca, 0xf5, 0x34, 0xa2, 0x9c, - 0x3e, 0x95, 0xbe, 0xbd, 0xb7, 0xa8, 0xb1, 0x44, 0x34, 0x0e, 0x3d, 0xb1, 0x68, 0xf7, 0xd5, 0x5f, - 0x97, 0xb6, 0x8e, 0xc6, 0x9c, 0x47, 0x82, 0xf3, 0xf5, 0xf4, 0x2f, 0xcf, 0x8e, 0xb8, 0xfb, 0xac, - 0xaf, 0x5a, 0xab, 0xe2, 0x9f, 0x1a, 0xf7, 0xff, 0x0d, 0x00, 0x00, 0xff, 0xff, 0xb6, 0x85, 0x2c, - 0xd2, 0x4b, 0x11, 0x00, 0x00, -} - -func (m *BeaconBlock) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err +func (x *IndexedAttestation) Reset() { + *x = IndexedAttestation{} + if protoimpl.UnsafeEnabled { + mi := &file_eth_v1_beacon_block_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } - return dAtA[:n], nil } -func (m *BeaconBlock) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) +func (x *IndexedAttestation) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *BeaconBlock) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if m.Body != nil { - { - size, err := m.Body.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintBeaconBlock(dAtA, i, uint64(size)) +func (*IndexedAttestation) ProtoMessage() {} + +func (x *IndexedAttestation) ProtoReflect() protoreflect.Message { + mi := &file_eth_v1_beacon_block_proto_msgTypes[14] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - i-- - dAtA[i] = 0x2a - } - if len(m.StateRoot) > 0 { - i -= len(m.StateRoot) - copy(dAtA[i:], m.StateRoot) - i = encodeVarintBeaconBlock(dAtA, i, uint64(len(m.StateRoot))) - i-- - dAtA[i] = 0x22 - } - if len(m.ParentRoot) > 0 { - i -= len(m.ParentRoot) - copy(dAtA[i:], m.ParentRoot) - i = encodeVarintBeaconBlock(dAtA, i, uint64(len(m.ParentRoot))) - i-- - dAtA[i] = 0x1a - } - if m.ProposerIndex != 0 { - i = encodeVarintBeaconBlock(dAtA, i, uint64(m.ProposerIndex)) - i-- - dAtA[i] = 0x10 + return ms } - if m.Slot != 0 { - i = encodeVarintBeaconBlock(dAtA, i, uint64(m.Slot)) - i-- - dAtA[i] = 0x8 - } - return len(dAtA) - i, nil + return mi.MessageOf(x) } -func (m *BeaconBlockV1) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil +// Deprecated: Use IndexedAttestation.ProtoReflect.Descriptor instead. +func (*IndexedAttestation) Descriptor() ([]byte, []int) { + return file_eth_v1_beacon_block_proto_rawDescGZIP(), []int{14} } -func (m *BeaconBlockV1) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) +func (x *IndexedAttestation) GetAttestingIndices() []uint64 { + if x != nil { + return x.AttestingIndices + } + return nil } -func (m *BeaconBlockV1) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if m.Body != nil { - { - size, err := m.Body.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintBeaconBlock(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x2a +func (x *IndexedAttestation) GetData() *AttestationData { + if x != nil { + return x.Data } - if len(m.StateRoot) > 0 { - i -= len(m.StateRoot) - copy(dAtA[i:], m.StateRoot) - i = encodeVarintBeaconBlock(dAtA, i, uint64(len(m.StateRoot))) - i-- - dAtA[i] = 0x22 - } - if len(m.ParentRoot) > 0 { - i -= len(m.ParentRoot) - copy(dAtA[i:], m.ParentRoot) - i = encodeVarintBeaconBlock(dAtA, i, uint64(len(m.ParentRoot))) - i-- - dAtA[i] = 0x1a - } - if m.ProposerIndex != 0 { - i = encodeVarintBeaconBlock(dAtA, i, uint64(m.ProposerIndex)) - i-- - dAtA[i] = 0x10 - } - if m.Slot != 0 { - i = encodeVarintBeaconBlock(dAtA, i, uint64(m.Slot)) - i-- - dAtA[i] = 0x8 - } - return len(dAtA) - i, nil + return nil } -func (m *SignedBeaconBlock) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err +func (x *IndexedAttestation) GetSignature() []byte { + if x != nil { + return x.Signature } - return dAtA[:n], nil + return nil } -func (m *SignedBeaconBlock) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} +type Deposit_Data struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *SignedBeaconBlock) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if len(m.Signature) > 0 { - i -= len(m.Signature) - copy(dAtA[i:], m.Signature) - i = encodeVarintBeaconBlock(dAtA, i, uint64(len(m.Signature))) - i-- - dAtA[i] = 0x12 - } - if m.Block != nil { - { - size, err := m.Block.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintBeaconBlock(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil + PublicKey []byte `protobuf:"bytes,1,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty" spec-name:"pubkey" ssz-size:"48"` + WithdrawalCredentials []byte `protobuf:"bytes,2,opt,name=withdrawal_credentials,json=withdrawalCredentials,proto3" json:"withdrawal_credentials,omitempty" ssz-size:"32"` + Amount uint64 `protobuf:"varint,3,opt,name=amount,proto3" json:"amount,omitempty"` + Signature []byte `protobuf:"bytes,4,opt,name=signature,proto3" json:"signature,omitempty" ssz-size:"96"` } -func (m *SignedBeaconBlockV1) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err +func (x *Deposit_Data) Reset() { + *x = Deposit_Data{} + if protoimpl.UnsafeEnabled { + mi := &file_eth_v1_beacon_block_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } - return dAtA[:n], nil } -func (m *SignedBeaconBlockV1) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) +func (x *Deposit_Data) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *SignedBeaconBlockV1) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if len(m.Signature) > 0 { - i -= len(m.Signature) - copy(dAtA[i:], m.Signature) - i = encodeVarintBeaconBlock(dAtA, i, uint64(len(m.Signature))) - i-- - dAtA[i] = 0x12 - } - if m.Block != nil { - { - size, err := m.Block.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintBeaconBlock(dAtA, i, uint64(size)) +func (*Deposit_Data) ProtoMessage() {} + +func (x *Deposit_Data) ProtoReflect() protoreflect.Message { + mi := &file_eth_v1_beacon_block_proto_msgTypes[15] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - i-- - dAtA[i] = 0xa + return ms } - return len(dAtA) - i, nil + return mi.MessageOf(x) } -func (m *BeaconBlockBody) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil +// Deprecated: Use Deposit_Data.ProtoReflect.Descriptor instead. +func (*Deposit_Data) Descriptor() ([]byte, []int) { + return file_eth_v1_beacon_block_proto_rawDescGZIP(), []int{8, 0} } -func (m *BeaconBlockBody) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) +func (x *Deposit_Data) GetPublicKey() []byte { + if x != nil { + return x.PublicKey + } + return nil } -func (m *BeaconBlockBody) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if len(m.VoluntaryExits) > 0 { - for iNdEx := len(m.VoluntaryExits) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.VoluntaryExits[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintBeaconBlock(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x42 - } - } - if len(m.Deposits) > 0 { - for iNdEx := len(m.Deposits) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Deposits[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintBeaconBlock(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x3a - } - } - if len(m.Attestations) > 0 { - for iNdEx := len(m.Attestations) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Attestations[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintBeaconBlock(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x32 - } - } - if len(m.AttesterSlashings) > 0 { - for iNdEx := len(m.AttesterSlashings) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.AttesterSlashings[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintBeaconBlock(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x2a - } - } - if len(m.ProposerSlashings) > 0 { - for iNdEx := len(m.ProposerSlashings) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.ProposerSlashings[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintBeaconBlock(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x22 - } - } - if len(m.Graffiti) > 0 { - i -= len(m.Graffiti) - copy(dAtA[i:], m.Graffiti) - i = encodeVarintBeaconBlock(dAtA, i, uint64(len(m.Graffiti))) - i-- - dAtA[i] = 0x1a - } - if m.Eth1Data != nil { - { - size, err := m.Eth1Data.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintBeaconBlock(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 +func (x *Deposit_Data) GetWithdrawalCredentials() []byte { + if x != nil { + return x.WithdrawalCredentials } - if len(m.RandaoReveal) > 0 { - i -= len(m.RandaoReveal) - copy(dAtA[i:], m.RandaoReveal) - i = encodeVarintBeaconBlock(dAtA, i, uint64(len(m.RandaoReveal))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil + return nil } -func (m *BeaconBlockBodyV1) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err +func (x *Deposit_Data) GetAmount() uint64 { + if x != nil { + return x.Amount } - return dAtA[:n], nil + return 0 } -func (m *BeaconBlockBodyV1) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *BeaconBlockBodyV1) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if len(m.SyncCommitteeSignature) > 0 { - i -= len(m.SyncCommitteeSignature) - copy(dAtA[i:], m.SyncCommitteeSignature) - i = encodeVarintBeaconBlock(dAtA, i, uint64(len(m.SyncCommitteeSignature))) - i-- - dAtA[i] = 0x5a - } - if len(m.SyncCommitteeBits) > 0 { - i -= len(m.SyncCommitteeBits) - copy(dAtA[i:], m.SyncCommitteeBits) - i = encodeVarintBeaconBlock(dAtA, i, uint64(len(m.SyncCommitteeBits))) - i-- - dAtA[i] = 0x52 - } - if len(m.VoluntaryExits) > 0 { - for iNdEx := len(m.VoluntaryExits) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.VoluntaryExits[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintBeaconBlock(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x42 - } - } - if len(m.Deposits) > 0 { - for iNdEx := len(m.Deposits) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Deposits[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintBeaconBlock(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x3a - } - } - if len(m.Attestations) > 0 { - for iNdEx := len(m.Attestations) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Attestations[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintBeaconBlock(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x32 - } - } - if len(m.AttesterSlashings) > 0 { - for iNdEx := len(m.AttesterSlashings) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.AttesterSlashings[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintBeaconBlock(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x2a - } - } - if len(m.ProposerSlashings) > 0 { - for iNdEx := len(m.ProposerSlashings) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.ProposerSlashings[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintBeaconBlock(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x22 - } - } - if len(m.Graffiti) > 0 { - i -= len(m.Graffiti) - copy(dAtA[i:], m.Graffiti) - i = encodeVarintBeaconBlock(dAtA, i, uint64(len(m.Graffiti))) - i-- - dAtA[i] = 0x1a - } - if m.Eth1Data != nil { - { - size, err := m.Eth1Data.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintBeaconBlock(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - } - if len(m.RandaoReveal) > 0 { - i -= len(m.RandaoReveal) - copy(dAtA[i:], m.RandaoReveal) - i = encodeVarintBeaconBlock(dAtA, i, uint64(len(m.RandaoReveal))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *ProposerSlashing) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *ProposerSlashing) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *ProposerSlashing) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if m.Header_2 != nil { - { - size, err := m.Header_2.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintBeaconBlock(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x1a - } - if m.Header_1 != nil { - { - size, err := m.Header_1.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintBeaconBlock(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - } - return len(dAtA) - i, nil -} - -func (m *AttesterSlashing) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *AttesterSlashing) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *AttesterSlashing) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if m.Attestation_2 != nil { - { - size, err := m.Attestation_2.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintBeaconBlock(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - } - if m.Attestation_1 != nil { - { - size, err := m.Attestation_1.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintBeaconBlock(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *Deposit) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *Deposit) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *Deposit) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if m.Data != nil { - { - size, err := m.Data.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintBeaconBlock(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - } - if len(m.Proof) > 0 { - for iNdEx := len(m.Proof) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.Proof[iNdEx]) - copy(dAtA[i:], m.Proof[iNdEx]) - i = encodeVarintBeaconBlock(dAtA, i, uint64(len(m.Proof[iNdEx]))) - i-- - dAtA[i] = 0xa - } - } - return len(dAtA) - i, nil -} - -func (m *Deposit_Data) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *Deposit_Data) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *Deposit_Data) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if len(m.Signature) > 0 { - i -= len(m.Signature) - copy(dAtA[i:], m.Signature) - i = encodeVarintBeaconBlock(dAtA, i, uint64(len(m.Signature))) - i-- - dAtA[i] = 0x22 - } - if m.Amount != 0 { - i = encodeVarintBeaconBlock(dAtA, i, uint64(m.Amount)) - i-- - dAtA[i] = 0x18 - } - if len(m.WithdrawalCredentials) > 0 { - i -= len(m.WithdrawalCredentials) - copy(dAtA[i:], m.WithdrawalCredentials) - i = encodeVarintBeaconBlock(dAtA, i, uint64(len(m.WithdrawalCredentials))) - i-- - dAtA[i] = 0x12 - } - if len(m.PublicKey) > 0 { - i -= len(m.PublicKey) - copy(dAtA[i:], m.PublicKey) - i = encodeVarintBeaconBlock(dAtA, i, uint64(len(m.PublicKey))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *VoluntaryExit) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *VoluntaryExit) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *VoluntaryExit) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if m.ValidatorIndex != 0 { - i = encodeVarintBeaconBlock(dAtA, i, uint64(m.ValidatorIndex)) - i-- - dAtA[i] = 0x10 - } - if m.Epoch != 0 { - i = encodeVarintBeaconBlock(dAtA, i, uint64(m.Epoch)) - i-- - dAtA[i] = 0x8 - } - return len(dAtA) - i, nil -} - -func (m *SignedVoluntaryExit) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *SignedVoluntaryExit) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *SignedVoluntaryExit) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if len(m.Signature) > 0 { - i -= len(m.Signature) - copy(dAtA[i:], m.Signature) - i = encodeVarintBeaconBlock(dAtA, i, uint64(len(m.Signature))) - i-- - dAtA[i] = 0x12 - } - if m.Exit != nil { - { - size, err := m.Exit.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintBeaconBlock(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *Eth1Data) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *Eth1Data) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *Eth1Data) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if len(m.BlockHash) > 0 { - i -= len(m.BlockHash) - copy(dAtA[i:], m.BlockHash) - i = encodeVarintBeaconBlock(dAtA, i, uint64(len(m.BlockHash))) - i-- - dAtA[i] = 0x1a - } - if m.DepositCount != 0 { - i = encodeVarintBeaconBlock(dAtA, i, uint64(m.DepositCount)) - i-- - dAtA[i] = 0x10 - } - if len(m.DepositRoot) > 0 { - i -= len(m.DepositRoot) - copy(dAtA[i:], m.DepositRoot) - i = encodeVarintBeaconBlock(dAtA, i, uint64(len(m.DepositRoot))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *BeaconBlockHeader) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *BeaconBlockHeader) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *BeaconBlockHeader) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if len(m.BodyRoot) > 0 { - i -= len(m.BodyRoot) - copy(dAtA[i:], m.BodyRoot) - i = encodeVarintBeaconBlock(dAtA, i, uint64(len(m.BodyRoot))) - i-- - dAtA[i] = 0x2a - } - if len(m.StateRoot) > 0 { - i -= len(m.StateRoot) - copy(dAtA[i:], m.StateRoot) - i = encodeVarintBeaconBlock(dAtA, i, uint64(len(m.StateRoot))) - i-- - dAtA[i] = 0x22 - } - if len(m.ParentRoot) > 0 { - i -= len(m.ParentRoot) - copy(dAtA[i:], m.ParentRoot) - i = encodeVarintBeaconBlock(dAtA, i, uint64(len(m.ParentRoot))) - i-- - dAtA[i] = 0x1a - } - if m.ProposerIndex != 0 { - i = encodeVarintBeaconBlock(dAtA, i, uint64(m.ProposerIndex)) - i-- - dAtA[i] = 0x10 - } - if m.Slot != 0 { - i = encodeVarintBeaconBlock(dAtA, i, uint64(m.Slot)) - i-- - dAtA[i] = 0x8 - } - return len(dAtA) - i, nil -} - -func (m *SignedBeaconBlockHeader) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *SignedBeaconBlockHeader) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *SignedBeaconBlockHeader) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if len(m.Signature) > 0 { - i -= len(m.Signature) - copy(dAtA[i:], m.Signature) - i = encodeVarintBeaconBlock(dAtA, i, uint64(len(m.Signature))) - i-- - dAtA[i] = 0x12 - } - if m.Header != nil { - { - size, err := m.Header.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintBeaconBlock(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *IndexedAttestation) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *IndexedAttestation) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *IndexedAttestation) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if len(m.Signature) > 0 { - i -= len(m.Signature) - copy(dAtA[i:], m.Signature) - i = encodeVarintBeaconBlock(dAtA, i, uint64(len(m.Signature))) - i-- - dAtA[i] = 0x1a - } - if m.Data != nil { - { - size, err := m.Data.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintBeaconBlock(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - } - if len(m.AttestingIndices) > 0 { - dAtA16 := make([]byte, len(m.AttestingIndices)*10) - var j15 int - for _, num := range m.AttestingIndices { - for num >= 1<<7 { - dAtA16[j15] = uint8(uint64(num)&0x7f | 0x80) - num >>= 7 - j15++ - } - dAtA16[j15] = uint8(num) - j15++ - } - i -= j15 - copy(dAtA[i:], dAtA16[:j15]) - i = encodeVarintBeaconBlock(dAtA, i, uint64(j15)) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func encodeVarintBeaconBlock(dAtA []byte, offset int, v uint64) int { - offset -= sovBeaconBlock(v) - base := offset - for v >= 1<<7 { - dAtA[offset] = uint8(v&0x7f | 0x80) - v >>= 7 - offset++ - } - dAtA[offset] = uint8(v) - return base -} -func (m *BeaconBlock) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Slot != 0 { - n += 1 + sovBeaconBlock(uint64(m.Slot)) - } - if m.ProposerIndex != 0 { - n += 1 + sovBeaconBlock(uint64(m.ProposerIndex)) - } - l = len(m.ParentRoot) - if l > 0 { - n += 1 + l + sovBeaconBlock(uint64(l)) - } - l = len(m.StateRoot) - if l > 0 { - n += 1 + l + sovBeaconBlock(uint64(l)) - } - if m.Body != nil { - l = m.Body.Size() - n += 1 + l + sovBeaconBlock(uint64(l)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *BeaconBlockV1) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Slot != 0 { - n += 1 + sovBeaconBlock(uint64(m.Slot)) - } - if m.ProposerIndex != 0 { - n += 1 + sovBeaconBlock(uint64(m.ProposerIndex)) - } - l = len(m.ParentRoot) - if l > 0 { - n += 1 + l + sovBeaconBlock(uint64(l)) - } - l = len(m.StateRoot) - if l > 0 { - n += 1 + l + sovBeaconBlock(uint64(l)) - } - if m.Body != nil { - l = m.Body.Size() - n += 1 + l + sovBeaconBlock(uint64(l)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *SignedBeaconBlock) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Block != nil { - l = m.Block.Size() - n += 1 + l + sovBeaconBlock(uint64(l)) - } - l = len(m.Signature) - if l > 0 { - n += 1 + l + sovBeaconBlock(uint64(l)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *SignedBeaconBlockV1) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Block != nil { - l = m.Block.Size() - n += 1 + l + sovBeaconBlock(uint64(l)) - } - l = len(m.Signature) - if l > 0 { - n += 1 + l + sovBeaconBlock(uint64(l)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *BeaconBlockBody) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.RandaoReveal) - if l > 0 { - n += 1 + l + sovBeaconBlock(uint64(l)) - } - if m.Eth1Data != nil { - l = m.Eth1Data.Size() - n += 1 + l + sovBeaconBlock(uint64(l)) - } - l = len(m.Graffiti) - if l > 0 { - n += 1 + l + sovBeaconBlock(uint64(l)) - } - if len(m.ProposerSlashings) > 0 { - for _, e := range m.ProposerSlashings { - l = e.Size() - n += 1 + l + sovBeaconBlock(uint64(l)) - } - } - if len(m.AttesterSlashings) > 0 { - for _, e := range m.AttesterSlashings { - l = e.Size() - n += 1 + l + sovBeaconBlock(uint64(l)) - } - } - if len(m.Attestations) > 0 { - for _, e := range m.Attestations { - l = e.Size() - n += 1 + l + sovBeaconBlock(uint64(l)) - } - } - if len(m.Deposits) > 0 { - for _, e := range m.Deposits { - l = e.Size() - n += 1 + l + sovBeaconBlock(uint64(l)) - } - } - if len(m.VoluntaryExits) > 0 { - for _, e := range m.VoluntaryExits { - l = e.Size() - n += 1 + l + sovBeaconBlock(uint64(l)) - } - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *BeaconBlockBodyV1) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.RandaoReveal) - if l > 0 { - n += 1 + l + sovBeaconBlock(uint64(l)) - } - if m.Eth1Data != nil { - l = m.Eth1Data.Size() - n += 1 + l + sovBeaconBlock(uint64(l)) - } - l = len(m.Graffiti) - if l > 0 { - n += 1 + l + sovBeaconBlock(uint64(l)) - } - if len(m.ProposerSlashings) > 0 { - for _, e := range m.ProposerSlashings { - l = e.Size() - n += 1 + l + sovBeaconBlock(uint64(l)) - } - } - if len(m.AttesterSlashings) > 0 { - for _, e := range m.AttesterSlashings { - l = e.Size() - n += 1 + l + sovBeaconBlock(uint64(l)) - } - } - if len(m.Attestations) > 0 { - for _, e := range m.Attestations { - l = e.Size() - n += 1 + l + sovBeaconBlock(uint64(l)) - } - } - if len(m.Deposits) > 0 { - for _, e := range m.Deposits { - l = e.Size() - n += 1 + l + sovBeaconBlock(uint64(l)) - } - } - if len(m.VoluntaryExits) > 0 { - for _, e := range m.VoluntaryExits { - l = e.Size() - n += 1 + l + sovBeaconBlock(uint64(l)) - } - } - l = len(m.SyncCommitteeBits) - if l > 0 { - n += 1 + l + sovBeaconBlock(uint64(l)) - } - l = len(m.SyncCommitteeSignature) - if l > 0 { - n += 1 + l + sovBeaconBlock(uint64(l)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *ProposerSlashing) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Header_1 != nil { - l = m.Header_1.Size() - n += 1 + l + sovBeaconBlock(uint64(l)) - } - if m.Header_2 != nil { - l = m.Header_2.Size() - n += 1 + l + sovBeaconBlock(uint64(l)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *AttesterSlashing) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Attestation_1 != nil { - l = m.Attestation_1.Size() - n += 1 + l + sovBeaconBlock(uint64(l)) - } - if m.Attestation_2 != nil { - l = m.Attestation_2.Size() - n += 1 + l + sovBeaconBlock(uint64(l)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *Deposit) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if len(m.Proof) > 0 { - for _, b := range m.Proof { - l = len(b) - n += 1 + l + sovBeaconBlock(uint64(l)) - } - } - if m.Data != nil { - l = m.Data.Size() - n += 1 + l + sovBeaconBlock(uint64(l)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *Deposit_Data) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.PublicKey) - if l > 0 { - n += 1 + l + sovBeaconBlock(uint64(l)) - } - l = len(m.WithdrawalCredentials) - if l > 0 { - n += 1 + l + sovBeaconBlock(uint64(l)) - } - if m.Amount != 0 { - n += 1 + sovBeaconBlock(uint64(m.Amount)) - } - l = len(m.Signature) - if l > 0 { - n += 1 + l + sovBeaconBlock(uint64(l)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *VoluntaryExit) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Epoch != 0 { - n += 1 + sovBeaconBlock(uint64(m.Epoch)) - } - if m.ValidatorIndex != 0 { - n += 1 + sovBeaconBlock(uint64(m.ValidatorIndex)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *SignedVoluntaryExit) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Exit != nil { - l = m.Exit.Size() - n += 1 + l + sovBeaconBlock(uint64(l)) - } - l = len(m.Signature) - if l > 0 { - n += 1 + l + sovBeaconBlock(uint64(l)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *Eth1Data) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.DepositRoot) - if l > 0 { - n += 1 + l + sovBeaconBlock(uint64(l)) - } - if m.DepositCount != 0 { - n += 1 + sovBeaconBlock(uint64(m.DepositCount)) - } - l = len(m.BlockHash) - if l > 0 { - n += 1 + l + sovBeaconBlock(uint64(l)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *BeaconBlockHeader) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Slot != 0 { - n += 1 + sovBeaconBlock(uint64(m.Slot)) - } - if m.ProposerIndex != 0 { - n += 1 + sovBeaconBlock(uint64(m.ProposerIndex)) - } - l = len(m.ParentRoot) - if l > 0 { - n += 1 + l + sovBeaconBlock(uint64(l)) - } - l = len(m.StateRoot) - if l > 0 { - n += 1 + l + sovBeaconBlock(uint64(l)) - } - l = len(m.BodyRoot) - if l > 0 { - n += 1 + l + sovBeaconBlock(uint64(l)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *SignedBeaconBlockHeader) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Header != nil { - l = m.Header.Size() - n += 1 + l + sovBeaconBlock(uint64(l)) - } - l = len(m.Signature) - if l > 0 { - n += 1 + l + sovBeaconBlock(uint64(l)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *IndexedAttestation) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if len(m.AttestingIndices) > 0 { - l = 0 - for _, e := range m.AttestingIndices { - l += sovBeaconBlock(uint64(e)) - } - n += 1 + sovBeaconBlock(uint64(l)) + l - } - if m.Data != nil { - l = m.Data.Size() - n += 1 + l + sovBeaconBlock(uint64(l)) - } - l = len(m.Signature) - if l > 0 { - n += 1 + l + sovBeaconBlock(uint64(l)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func sovBeaconBlock(x uint64) (n int) { - return (math_bits.Len64(x|1) + 6) / 7 -} -func sozBeaconBlock(x uint64) (n int) { - return sovBeaconBlock(uint64((x << 1) ^ uint64((int64(x) >> 63)))) -} -func (m *BeaconBlock) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconBlock - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: BeaconBlock: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: BeaconBlock: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Slot", wireType) - } - m.Slot = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconBlock - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Slot |= github_com_prysmaticlabs_eth2_types.Slot(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 2: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field ProposerIndex", wireType) - } - m.ProposerIndex = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconBlock - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.ProposerIndex |= github_com_prysmaticlabs_eth2_types.ValidatorIndex(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ParentRoot", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconBlock - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return ErrInvalidLengthBeaconBlock - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthBeaconBlock - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ParentRoot = append(m.ParentRoot[:0], dAtA[iNdEx:postIndex]...) - if m.ParentRoot == nil { - m.ParentRoot = []byte{} - } - iNdEx = postIndex - case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field StateRoot", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconBlock - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return ErrInvalidLengthBeaconBlock - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthBeaconBlock - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.StateRoot = append(m.StateRoot[:0], dAtA[iNdEx:postIndex]...) - if m.StateRoot == nil { - m.StateRoot = []byte{} - } - iNdEx = postIndex - case 5: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Body", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconBlock - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthBeaconBlock - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthBeaconBlock - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Body == nil { - m.Body = &BeaconBlockBody{} - } - if err := m.Body.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipBeaconBlock(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthBeaconBlock - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthBeaconBlock - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *BeaconBlockV1) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconBlock - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: BeaconBlockV1: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: BeaconBlockV1: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Slot", wireType) - } - m.Slot = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconBlock - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Slot |= github_com_prysmaticlabs_eth2_types.Slot(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 2: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field ProposerIndex", wireType) - } - m.ProposerIndex = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconBlock - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.ProposerIndex |= github_com_prysmaticlabs_eth2_types.ValidatorIndex(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ParentRoot", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconBlock - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return ErrInvalidLengthBeaconBlock - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthBeaconBlock - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ParentRoot = append(m.ParentRoot[:0], dAtA[iNdEx:postIndex]...) - if m.ParentRoot == nil { - m.ParentRoot = []byte{} - } - iNdEx = postIndex - case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field StateRoot", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconBlock - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return ErrInvalidLengthBeaconBlock - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthBeaconBlock - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.StateRoot = append(m.StateRoot[:0], dAtA[iNdEx:postIndex]...) - if m.StateRoot == nil { - m.StateRoot = []byte{} - } - iNdEx = postIndex - case 5: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Body", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconBlock - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthBeaconBlock - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthBeaconBlock - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Body == nil { - m.Body = &BeaconBlockBodyV1{} - } - if err := m.Body.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipBeaconBlock(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthBeaconBlock - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthBeaconBlock - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *SignedBeaconBlock) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconBlock - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: SignedBeaconBlock: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: SignedBeaconBlock: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Block", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconBlock - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthBeaconBlock - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthBeaconBlock - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Block == nil { - m.Block = &BeaconBlock{} - } - if err := m.Block.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Signature", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconBlock - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return ErrInvalidLengthBeaconBlock - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthBeaconBlock - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Signature = append(m.Signature[:0], dAtA[iNdEx:postIndex]...) - if m.Signature == nil { - m.Signature = []byte{} - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipBeaconBlock(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthBeaconBlock - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthBeaconBlock - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *SignedBeaconBlockV1) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconBlock - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: SignedBeaconBlockV1: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: SignedBeaconBlockV1: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Block", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconBlock - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthBeaconBlock - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthBeaconBlock - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Block == nil { - m.Block = &BeaconBlockV1{} - } - if err := m.Block.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Signature", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconBlock - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return ErrInvalidLengthBeaconBlock - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthBeaconBlock - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Signature = append(m.Signature[:0], dAtA[iNdEx:postIndex]...) - if m.Signature == nil { - m.Signature = []byte{} - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipBeaconBlock(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthBeaconBlock - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthBeaconBlock - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *BeaconBlockBody) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconBlock - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: BeaconBlockBody: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: BeaconBlockBody: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field RandaoReveal", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconBlock - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return ErrInvalidLengthBeaconBlock - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthBeaconBlock - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.RandaoReveal = append(m.RandaoReveal[:0], dAtA[iNdEx:postIndex]...) - if m.RandaoReveal == nil { - m.RandaoReveal = []byte{} - } - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Eth1Data", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconBlock - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthBeaconBlock - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthBeaconBlock - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Eth1Data == nil { - m.Eth1Data = &Eth1Data{} - } - if err := m.Eth1Data.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Graffiti", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconBlock - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return ErrInvalidLengthBeaconBlock - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthBeaconBlock - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Graffiti = append(m.Graffiti[:0], dAtA[iNdEx:postIndex]...) - if m.Graffiti == nil { - m.Graffiti = []byte{} - } - iNdEx = postIndex - case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ProposerSlashings", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconBlock - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthBeaconBlock - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthBeaconBlock - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ProposerSlashings = append(m.ProposerSlashings, &ProposerSlashing{}) - if err := m.ProposerSlashings[len(m.ProposerSlashings)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 5: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AttesterSlashings", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconBlock - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthBeaconBlock - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthBeaconBlock - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.AttesterSlashings = append(m.AttesterSlashings, &AttesterSlashing{}) - if err := m.AttesterSlashings[len(m.AttesterSlashings)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 6: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Attestations", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconBlock - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthBeaconBlock - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthBeaconBlock - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Attestations = append(m.Attestations, &Attestation{}) - if err := m.Attestations[len(m.Attestations)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 7: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Deposits", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconBlock - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthBeaconBlock - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthBeaconBlock - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Deposits = append(m.Deposits, &Deposit{}) - if err := m.Deposits[len(m.Deposits)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 8: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field VoluntaryExits", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconBlock - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthBeaconBlock - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthBeaconBlock - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.VoluntaryExits = append(m.VoluntaryExits, &SignedVoluntaryExit{}) - if err := m.VoluntaryExits[len(m.VoluntaryExits)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipBeaconBlock(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthBeaconBlock - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthBeaconBlock - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *BeaconBlockBodyV1) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconBlock - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: BeaconBlockBodyV1: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: BeaconBlockBodyV1: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field RandaoReveal", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconBlock - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return ErrInvalidLengthBeaconBlock - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthBeaconBlock - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.RandaoReveal = append(m.RandaoReveal[:0], dAtA[iNdEx:postIndex]...) - if m.RandaoReveal == nil { - m.RandaoReveal = []byte{} - } - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Eth1Data", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconBlock - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthBeaconBlock - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthBeaconBlock - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Eth1Data == nil { - m.Eth1Data = &Eth1Data{} - } - if err := m.Eth1Data.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Graffiti", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconBlock - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return ErrInvalidLengthBeaconBlock - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthBeaconBlock - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Graffiti = append(m.Graffiti[:0], dAtA[iNdEx:postIndex]...) - if m.Graffiti == nil { - m.Graffiti = []byte{} - } - iNdEx = postIndex - case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ProposerSlashings", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconBlock - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthBeaconBlock - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthBeaconBlock - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ProposerSlashings = append(m.ProposerSlashings, &ProposerSlashing{}) - if err := m.ProposerSlashings[len(m.ProposerSlashings)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 5: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AttesterSlashings", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconBlock - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthBeaconBlock - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthBeaconBlock - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.AttesterSlashings = append(m.AttesterSlashings, &AttesterSlashing{}) - if err := m.AttesterSlashings[len(m.AttesterSlashings)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 6: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Attestations", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconBlock - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthBeaconBlock - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthBeaconBlock - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Attestations = append(m.Attestations, &Attestation{}) - if err := m.Attestations[len(m.Attestations)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 7: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Deposits", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconBlock - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthBeaconBlock - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthBeaconBlock - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Deposits = append(m.Deposits, &Deposit{}) - if err := m.Deposits[len(m.Deposits)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 8: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field VoluntaryExits", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconBlock - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthBeaconBlock - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthBeaconBlock - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.VoluntaryExits = append(m.VoluntaryExits, &SignedVoluntaryExit{}) - if err := m.VoluntaryExits[len(m.VoluntaryExits)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 10: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field SyncCommitteeBits", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconBlock - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return ErrInvalidLengthBeaconBlock - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthBeaconBlock - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.SyncCommitteeBits = append(m.SyncCommitteeBits[:0], dAtA[iNdEx:postIndex]...) - if m.SyncCommitteeBits == nil { - m.SyncCommitteeBits = []byte{} - } - iNdEx = postIndex - case 11: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field SyncCommitteeSignature", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconBlock - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return ErrInvalidLengthBeaconBlock - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthBeaconBlock - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.SyncCommitteeSignature = append(m.SyncCommitteeSignature[:0], dAtA[iNdEx:postIndex]...) - if m.SyncCommitteeSignature == nil { - m.SyncCommitteeSignature = []byte{} - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipBeaconBlock(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthBeaconBlock - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthBeaconBlock - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *ProposerSlashing) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconBlock - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: ProposerSlashing: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: ProposerSlashing: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Header_1", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconBlock - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthBeaconBlock - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthBeaconBlock - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Header_1 == nil { - m.Header_1 = &SignedBeaconBlockHeader{} - } - if err := m.Header_1.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Header_2", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconBlock - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthBeaconBlock - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthBeaconBlock - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Header_2 == nil { - m.Header_2 = &SignedBeaconBlockHeader{} - } - if err := m.Header_2.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipBeaconBlock(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthBeaconBlock - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthBeaconBlock - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *AttesterSlashing) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconBlock - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: AttesterSlashing: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: AttesterSlashing: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Attestation_1", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconBlock - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthBeaconBlock - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthBeaconBlock - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Attestation_1 == nil { - m.Attestation_1 = &IndexedAttestation{} - } - if err := m.Attestation_1.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Attestation_2", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconBlock - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthBeaconBlock - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthBeaconBlock - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Attestation_2 == nil { - m.Attestation_2 = &IndexedAttestation{} - } - if err := m.Attestation_2.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipBeaconBlock(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthBeaconBlock - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthBeaconBlock - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *Deposit) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconBlock - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: Deposit: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: Deposit: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Proof", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconBlock - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return ErrInvalidLengthBeaconBlock - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthBeaconBlock - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Proof = append(m.Proof, make([]byte, postIndex-iNdEx)) - copy(m.Proof[len(m.Proof)-1], dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Data", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconBlock - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthBeaconBlock - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthBeaconBlock - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Data == nil { - m.Data = &Deposit_Data{} - } - if err := m.Data.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipBeaconBlock(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthBeaconBlock - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthBeaconBlock - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *Deposit_Data) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconBlock - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: Data: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: Data: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field PublicKey", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconBlock - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return ErrInvalidLengthBeaconBlock - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthBeaconBlock - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.PublicKey = append(m.PublicKey[:0], dAtA[iNdEx:postIndex]...) - if m.PublicKey == nil { - m.PublicKey = []byte{} - } - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field WithdrawalCredentials", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconBlock - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return ErrInvalidLengthBeaconBlock - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthBeaconBlock - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.WithdrawalCredentials = append(m.WithdrawalCredentials[:0], dAtA[iNdEx:postIndex]...) - if m.WithdrawalCredentials == nil { - m.WithdrawalCredentials = []byte{} - } - iNdEx = postIndex - case 3: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Amount", wireType) - } - m.Amount = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconBlock - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Amount |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Signature", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconBlock - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return ErrInvalidLengthBeaconBlock - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthBeaconBlock - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Signature = append(m.Signature[:0], dAtA[iNdEx:postIndex]...) - if m.Signature == nil { - m.Signature = []byte{} - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipBeaconBlock(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthBeaconBlock - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthBeaconBlock - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *VoluntaryExit) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconBlock - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: VoluntaryExit: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: VoluntaryExit: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Epoch", wireType) - } - m.Epoch = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconBlock - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Epoch |= github_com_prysmaticlabs_eth2_types.Epoch(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 2: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field ValidatorIndex", wireType) - } - m.ValidatorIndex = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconBlock - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.ValidatorIndex |= github_com_prysmaticlabs_eth2_types.ValidatorIndex(b&0x7F) << shift - if b < 0x80 { - break - } - } - default: - iNdEx = preIndex - skippy, err := skipBeaconBlock(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthBeaconBlock - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthBeaconBlock - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *SignedVoluntaryExit) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconBlock - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: SignedVoluntaryExit: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: SignedVoluntaryExit: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Exit", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconBlock - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthBeaconBlock - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthBeaconBlock - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Exit == nil { - m.Exit = &VoluntaryExit{} - } - if err := m.Exit.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Signature", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconBlock - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return ErrInvalidLengthBeaconBlock - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthBeaconBlock - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Signature = append(m.Signature[:0], dAtA[iNdEx:postIndex]...) - if m.Signature == nil { - m.Signature = []byte{} - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipBeaconBlock(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthBeaconBlock - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthBeaconBlock - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *Eth1Data) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconBlock - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: Eth1Data: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: Eth1Data: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field DepositRoot", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconBlock - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return ErrInvalidLengthBeaconBlock - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthBeaconBlock - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.DepositRoot = append(m.DepositRoot[:0], dAtA[iNdEx:postIndex]...) - if m.DepositRoot == nil { - m.DepositRoot = []byte{} - } - iNdEx = postIndex - case 2: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field DepositCount", wireType) - } - m.DepositCount = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconBlock - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.DepositCount |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field BlockHash", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconBlock - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return ErrInvalidLengthBeaconBlock - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthBeaconBlock - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.BlockHash = append(m.BlockHash[:0], dAtA[iNdEx:postIndex]...) - if m.BlockHash == nil { - m.BlockHash = []byte{} - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipBeaconBlock(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthBeaconBlock - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthBeaconBlock - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *BeaconBlockHeader) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconBlock - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: BeaconBlockHeader: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: BeaconBlockHeader: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Slot", wireType) - } - m.Slot = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconBlock - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Slot |= github_com_prysmaticlabs_eth2_types.Slot(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 2: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field ProposerIndex", wireType) - } - m.ProposerIndex = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconBlock - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.ProposerIndex |= github_com_prysmaticlabs_eth2_types.ValidatorIndex(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ParentRoot", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconBlock - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return ErrInvalidLengthBeaconBlock - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthBeaconBlock - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ParentRoot = append(m.ParentRoot[:0], dAtA[iNdEx:postIndex]...) - if m.ParentRoot == nil { - m.ParentRoot = []byte{} - } - iNdEx = postIndex - case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field StateRoot", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconBlock - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return ErrInvalidLengthBeaconBlock - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthBeaconBlock - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.StateRoot = append(m.StateRoot[:0], dAtA[iNdEx:postIndex]...) - if m.StateRoot == nil { - m.StateRoot = []byte{} - } - iNdEx = postIndex - case 5: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field BodyRoot", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconBlock - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return ErrInvalidLengthBeaconBlock - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthBeaconBlock - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.BodyRoot = append(m.BodyRoot[:0], dAtA[iNdEx:postIndex]...) - if m.BodyRoot == nil { - m.BodyRoot = []byte{} - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipBeaconBlock(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthBeaconBlock - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthBeaconBlock - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *SignedBeaconBlockHeader) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconBlock - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: SignedBeaconBlockHeader: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: SignedBeaconBlockHeader: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Header", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconBlock - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthBeaconBlock - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthBeaconBlock - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Header == nil { - m.Header = &BeaconBlockHeader{} - } - if err := m.Header.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Signature", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconBlock - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return ErrInvalidLengthBeaconBlock - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthBeaconBlock - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Signature = append(m.Signature[:0], dAtA[iNdEx:postIndex]...) - if m.Signature == nil { - m.Signature = []byte{} - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipBeaconBlock(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthBeaconBlock - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthBeaconBlock - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *IndexedAttestation) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconBlock - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: IndexedAttestation: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: IndexedAttestation: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType == 0 { - var v uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconBlock - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.AttestingIndices = append(m.AttestingIndices, v) - } else if wireType == 2 { - var packedLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconBlock - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - packedLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if packedLen < 0 { - return ErrInvalidLengthBeaconBlock - } - postIndex := iNdEx + packedLen - if postIndex < 0 { - return ErrInvalidLengthBeaconBlock - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - var elementCount int - var count int - for _, integer := range dAtA[iNdEx:postIndex] { - if integer < 128 { - count++ - } - } - elementCount = count - if elementCount != 0 && len(m.AttestingIndices) == 0 { - m.AttestingIndices = make([]uint64, 0, elementCount) - } - for iNdEx < postIndex { - var v uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconBlock - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.AttestingIndices = append(m.AttestingIndices, v) - } - } else { - return fmt.Errorf("proto: wrong wireType = %d for field AttestingIndices", wireType) - } - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Data", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconBlock - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthBeaconBlock - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthBeaconBlock - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Data == nil { - m.Data = &AttestationData{} - } - if err := m.Data.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Signature", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconBlock - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return ErrInvalidLengthBeaconBlock - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthBeaconBlock - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Signature = append(m.Signature[:0], dAtA[iNdEx:postIndex]...) - if m.Signature == nil { - m.Signature = []byte{} - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipBeaconBlock(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthBeaconBlock - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthBeaconBlock - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func skipBeaconBlock(dAtA []byte) (n int, err error) { - l := len(dAtA) - iNdEx := 0 - depth := 0 - for iNdEx < l { - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return 0, ErrIntOverflowBeaconBlock - } - if iNdEx >= l { - return 0, io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= (uint64(b) & 0x7F) << shift - if b < 0x80 { - break - } - } - wireType := int(wire & 0x7) - switch wireType { - case 0: - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return 0, ErrIntOverflowBeaconBlock - } - if iNdEx >= l { - return 0, io.ErrUnexpectedEOF - } - iNdEx++ - if dAtA[iNdEx-1] < 0x80 { - break - } - } - case 1: - iNdEx += 8 - case 2: - var length int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return 0, ErrIntOverflowBeaconBlock - } - if iNdEx >= l { - return 0, io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - length |= (int(b) & 0x7F) << shift - if b < 0x80 { - break - } - } - if length < 0 { - return 0, ErrInvalidLengthBeaconBlock - } - iNdEx += length - case 3: - depth++ - case 4: - if depth == 0 { - return 0, ErrUnexpectedEndOfGroupBeaconBlock - } - depth-- - case 5: - iNdEx += 4 - default: - return 0, fmt.Errorf("proto: illegal wireType %d", wireType) - } - if iNdEx < 0 { - return 0, ErrInvalidLengthBeaconBlock - } - if depth == 0 { - return iNdEx, nil - } - } - return 0, io.ErrUnexpectedEOF +func (x *Deposit_Data) GetSignature() []byte { + if x != nil { + return x.Signature + } + return nil +} + +var File_eth_v1_beacon_block_proto protoreflect.FileDescriptor + +var file_eth_v1_beacon_block_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x65, 0x74, 0x68, 0x2f, 0x76, 0x31, 0x2f, 0x62, 0x65, 0x61, 0x63, 0x6f, 0x6e, 0x5f, + 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0f, 0x65, 0x74, 0x68, + 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x1a, 0x20, 0x67, 0x6f, + 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x64, 0x65, + 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x15, + 0x65, 0x74, 0x68, 0x2f, 0x65, 0x78, 0x74, 0x2f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x18, 0x65, 0x74, 0x68, 0x2f, 0x76, 0x31, 0x2f, 0x61, 0x74, + 0x74, 0x65, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, + 0xb4, 0x02, 0x0a, 0x0b, 0x42, 0x65, 0x61, 0x63, 0x6f, 0x6e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x12, + 0x40, 0x0a, 0x04, 0x73, 0x6c, 0x6f, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x42, 0x2c, 0x82, + 0xb5, 0x18, 0x28, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x72, + 0x79, 0x73, 0x6d, 0x61, 0x74, 0x69, 0x63, 0x6c, 0x61, 0x62, 0x73, 0x2f, 0x65, 0x74, 0x68, 0x32, + 0x2d, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x53, 0x6c, 0x6f, 0x74, 0x52, 0x04, 0x73, 0x6c, 0x6f, + 0x74, 0x12, 0x5d, 0x0a, 0x0e, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x6e, + 0x64, 0x65, 0x78, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x42, 0x36, 0x82, 0xb5, 0x18, 0x32, 0x67, + 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x72, 0x79, 0x73, 0x6d, 0x61, + 0x74, 0x69, 0x63, 0x6c, 0x61, 0x62, 0x73, 0x2f, 0x65, 0x74, 0x68, 0x32, 0x2d, 0x74, 0x79, 0x70, + 0x65, 0x73, 0x2e, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x49, 0x6e, 0x64, 0x65, + 0x78, 0x52, 0x0d, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x65, 0x72, 0x49, 0x6e, 0x64, 0x65, 0x78, + 0x12, 0x27, 0x0a, 0x0b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x72, 0x6f, 0x6f, 0x74, 0x18, + 0x03, 0x20, 0x01, 0x28, 0x0c, 0x42, 0x06, 0x8a, 0xb5, 0x18, 0x02, 0x33, 0x32, 0x52, 0x0a, 0x70, + 0x61, 0x72, 0x65, 0x6e, 0x74, 0x52, 0x6f, 0x6f, 0x74, 0x12, 0x25, 0x0a, 0x0a, 0x73, 0x74, 0x61, + 0x74, 0x65, 0x5f, 0x72, 0x6f, 0x6f, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x42, 0x06, 0x8a, + 0xb5, 0x18, 0x02, 0x33, 0x32, 0x52, 0x09, 0x73, 0x74, 0x61, 0x74, 0x65, 0x52, 0x6f, 0x6f, 0x74, + 0x12, 0x34, 0x0a, 0x04, 0x62, 0x6f, 0x64, 0x79, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, + 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, + 0x2e, 0x42, 0x65, 0x61, 0x63, 0x6f, 0x6e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x42, 0x6f, 0x64, 0x79, + 0x52, 0x04, 0x62, 0x6f, 0x64, 0x79, 0x22, 0xb8, 0x02, 0x0a, 0x0d, 0x42, 0x65, 0x61, 0x63, 0x6f, + 0x6e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x56, 0x31, 0x12, 0x40, 0x0a, 0x04, 0x73, 0x6c, 0x6f, 0x74, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x42, 0x2c, 0x82, 0xb5, 0x18, 0x28, 0x67, 0x69, 0x74, 0x68, + 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x72, 0x79, 0x73, 0x6d, 0x61, 0x74, 0x69, 0x63, + 0x6c, 0x61, 0x62, 0x73, 0x2f, 0x65, 0x74, 0x68, 0x32, 0x2d, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, + 0x53, 0x6c, 0x6f, 0x74, 0x52, 0x04, 0x73, 0x6c, 0x6f, 0x74, 0x12, 0x5d, 0x0a, 0x0e, 0x70, 0x72, + 0x6f, 0x70, 0x6f, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x04, 0x42, 0x36, 0x82, 0xb5, 0x18, 0x32, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, + 0x6f, 0x6d, 0x2f, 0x70, 0x72, 0x79, 0x73, 0x6d, 0x61, 0x74, 0x69, 0x63, 0x6c, 0x61, 0x62, 0x73, + 0x2f, 0x65, 0x74, 0x68, 0x32, 0x2d, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x56, 0x61, 0x6c, 0x69, + 0x64, 0x61, 0x74, 0x6f, 0x72, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x52, 0x0d, 0x70, 0x72, 0x6f, 0x70, + 0x6f, 0x73, 0x65, 0x72, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x27, 0x0a, 0x0b, 0x70, 0x61, 0x72, + 0x65, 0x6e, 0x74, 0x5f, 0x72, 0x6f, 0x6f, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x42, 0x06, + 0x8a, 0xb5, 0x18, 0x02, 0x33, 0x32, 0x52, 0x0a, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x52, 0x6f, + 0x6f, 0x74, 0x12, 0x25, 0x0a, 0x0a, 0x73, 0x74, 0x61, 0x74, 0x65, 0x5f, 0x72, 0x6f, 0x6f, 0x74, + 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x42, 0x06, 0x8a, 0xb5, 0x18, 0x02, 0x33, 0x32, 0x52, 0x09, + 0x73, 0x74, 0x61, 0x74, 0x65, 0x52, 0x6f, 0x6f, 0x74, 0x12, 0x36, 0x0a, 0x04, 0x62, 0x6f, 0x64, + 0x79, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, + 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x65, 0x61, 0x63, 0x6f, 0x6e, + 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x42, 0x6f, 0x64, 0x79, 0x56, 0x31, 0x52, 0x04, 0x62, 0x6f, 0x64, + 0x79, 0x22, 0x6d, 0x0a, 0x11, 0x53, 0x69, 0x67, 0x6e, 0x65, 0x64, 0x42, 0x65, 0x61, 0x63, 0x6f, + 0x6e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x32, 0x0a, 0x05, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, + 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x65, 0x61, 0x63, 0x6f, 0x6e, 0x42, 0x6c, + 0x6f, 0x63, 0x6b, 0x52, 0x05, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x24, 0x0a, 0x09, 0x73, 0x69, + 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x42, 0x06, 0x8a, + 0xb5, 0x18, 0x02, 0x39, 0x36, 0x52, 0x09, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, + 0x22, 0x71, 0x0a, 0x13, 0x53, 0x69, 0x67, 0x6e, 0x65, 0x64, 0x42, 0x65, 0x61, 0x63, 0x6f, 0x6e, + 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x56, 0x31, 0x12, 0x34, 0x0a, 0x05, 0x62, 0x6c, 0x6f, 0x63, 0x6b, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, + 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x65, 0x61, 0x63, 0x6f, 0x6e, 0x42, + 0x6c, 0x6f, 0x63, 0x6b, 0x56, 0x31, 0x52, 0x05, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x24, 0x0a, + 0x09, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, + 0x42, 0x06, 0x8a, 0xb5, 0x18, 0x02, 0x39, 0x36, 0x52, 0x09, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, + 0x75, 0x72, 0x65, 0x22, 0xad, 0x04, 0x0a, 0x0f, 0x42, 0x65, 0x61, 0x63, 0x6f, 0x6e, 0x42, 0x6c, + 0x6f, 0x63, 0x6b, 0x42, 0x6f, 0x64, 0x79, 0x12, 0x2b, 0x0a, 0x0d, 0x72, 0x61, 0x6e, 0x64, 0x61, + 0x6f, 0x5f, 0x72, 0x65, 0x76, 0x65, 0x61, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x42, 0x06, + 0x8a, 0xb5, 0x18, 0x02, 0x39, 0x36, 0x52, 0x0c, 0x72, 0x61, 0x6e, 0x64, 0x61, 0x6f, 0x52, 0x65, + 0x76, 0x65, 0x61, 0x6c, 0x12, 0x36, 0x0a, 0x09, 0x65, 0x74, 0x68, 0x31, 0x5f, 0x64, 0x61, 0x74, + 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, + 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x74, 0x68, 0x31, 0x44, 0x61, + 0x74, 0x61, 0x52, 0x08, 0x65, 0x74, 0x68, 0x31, 0x44, 0x61, 0x74, 0x61, 0x12, 0x22, 0x0a, 0x08, + 0x67, 0x72, 0x61, 0x66, 0x66, 0x69, 0x74, 0x69, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x42, 0x06, + 0x8a, 0xb5, 0x18, 0x02, 0x33, 0x32, 0x52, 0x08, 0x67, 0x72, 0x61, 0x66, 0x66, 0x69, 0x74, 0x69, + 0x12, 0x58, 0x0a, 0x12, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x65, 0x72, 0x5f, 0x73, 0x6c, 0x61, + 0x73, 0x68, 0x69, 0x6e, 0x67, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x65, + 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x50, + 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x65, 0x72, 0x53, 0x6c, 0x61, 0x73, 0x68, 0x69, 0x6e, 0x67, 0x42, + 0x06, 0x92, 0xb5, 0x18, 0x02, 0x31, 0x36, 0x52, 0x11, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x65, + 0x72, 0x53, 0x6c, 0x61, 0x73, 0x68, 0x69, 0x6e, 0x67, 0x73, 0x12, 0x57, 0x0a, 0x12, 0x61, 0x74, + 0x74, 0x65, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x73, 0x6c, 0x61, 0x73, 0x68, 0x69, 0x6e, 0x67, 0x73, + 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, + 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x74, 0x74, 0x65, 0x73, 0x74, 0x65, + 0x72, 0x53, 0x6c, 0x61, 0x73, 0x68, 0x69, 0x6e, 0x67, 0x42, 0x05, 0x92, 0xb5, 0x18, 0x01, 0x32, + 0x52, 0x11, 0x61, 0x74, 0x74, 0x65, 0x73, 0x74, 0x65, 0x72, 0x53, 0x6c, 0x61, 0x73, 0x68, 0x69, + 0x6e, 0x67, 0x73, 0x12, 0x49, 0x0a, 0x0c, 0x61, 0x74, 0x74, 0x65, 0x73, 0x74, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x65, 0x74, 0x68, 0x65, + 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x74, 0x74, 0x65, + 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x07, 0x92, 0xb5, 0x18, 0x03, 0x31, 0x32, 0x38, + 0x52, 0x0c, 0x61, 0x74, 0x74, 0x65, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x3c, + 0x0a, 0x08, 0x64, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, + 0x32, 0x18, 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, + 0x76, 0x31, 0x2e, 0x44, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x42, 0x06, 0x92, 0xb5, 0x18, 0x02, + 0x31, 0x36, 0x52, 0x08, 0x64, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x73, 0x12, 0x55, 0x0a, 0x0f, + 0x76, 0x6f, 0x6c, 0x75, 0x6e, 0x74, 0x61, 0x72, 0x79, 0x5f, 0x65, 0x78, 0x69, 0x74, 0x73, 0x18, + 0x08, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, + 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x69, 0x67, 0x6e, 0x65, 0x64, 0x56, 0x6f, + 0x6c, 0x75, 0x6e, 0x74, 0x61, 0x72, 0x79, 0x45, 0x78, 0x69, 0x74, 0x42, 0x06, 0x92, 0xb5, 0x18, + 0x02, 0x31, 0x36, 0x52, 0x0e, 0x76, 0x6f, 0x6c, 0x75, 0x6e, 0x74, 0x61, 0x72, 0x79, 0x45, 0x78, + 0x69, 0x74, 0x73, 0x22, 0xde, 0x05, 0x0a, 0x11, 0x42, 0x65, 0x61, 0x63, 0x6f, 0x6e, 0x42, 0x6c, + 0x6f, 0x63, 0x6b, 0x42, 0x6f, 0x64, 0x79, 0x56, 0x31, 0x12, 0x2b, 0x0a, 0x0d, 0x72, 0x61, 0x6e, + 0x64, 0x61, 0x6f, 0x5f, 0x72, 0x65, 0x76, 0x65, 0x61, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, + 0x42, 0x06, 0x8a, 0xb5, 0x18, 0x02, 0x39, 0x36, 0x52, 0x0c, 0x72, 0x61, 0x6e, 0x64, 0x61, 0x6f, + 0x52, 0x65, 0x76, 0x65, 0x61, 0x6c, 0x12, 0x36, 0x0a, 0x09, 0x65, 0x74, 0x68, 0x31, 0x5f, 0x64, + 0x61, 0x74, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x65, 0x74, 0x68, 0x65, + 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x74, 0x68, 0x31, + 0x44, 0x61, 0x74, 0x61, 0x52, 0x08, 0x65, 0x74, 0x68, 0x31, 0x44, 0x61, 0x74, 0x61, 0x12, 0x22, + 0x0a, 0x08, 0x67, 0x72, 0x61, 0x66, 0x66, 0x69, 0x74, 0x69, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, + 0x42, 0x06, 0x8a, 0xb5, 0x18, 0x02, 0x33, 0x32, 0x52, 0x08, 0x67, 0x72, 0x61, 0x66, 0x66, 0x69, + 0x74, 0x69, 0x12, 0x58, 0x0a, 0x12, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x65, 0x72, 0x5f, 0x73, + 0x6c, 0x61, 0x73, 0x68, 0x69, 0x6e, 0x67, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, + 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, + 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x65, 0x72, 0x53, 0x6c, 0x61, 0x73, 0x68, 0x69, 0x6e, + 0x67, 0x42, 0x06, 0x92, 0xb5, 0x18, 0x02, 0x31, 0x36, 0x52, 0x11, 0x70, 0x72, 0x6f, 0x70, 0x6f, + 0x73, 0x65, 0x72, 0x53, 0x6c, 0x61, 0x73, 0x68, 0x69, 0x6e, 0x67, 0x73, 0x12, 0x57, 0x0a, 0x12, + 0x61, 0x74, 0x74, 0x65, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x73, 0x6c, 0x61, 0x73, 0x68, 0x69, 0x6e, + 0x67, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, + 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x74, 0x74, 0x65, 0x73, + 0x74, 0x65, 0x72, 0x53, 0x6c, 0x61, 0x73, 0x68, 0x69, 0x6e, 0x67, 0x42, 0x05, 0x92, 0xb5, 0x18, + 0x01, 0x32, 0x52, 0x11, 0x61, 0x74, 0x74, 0x65, 0x73, 0x74, 0x65, 0x72, 0x53, 0x6c, 0x61, 0x73, + 0x68, 0x69, 0x6e, 0x67, 0x73, 0x12, 0x49, 0x0a, 0x0c, 0x61, 0x74, 0x74, 0x65, 0x73, 0x74, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x65, 0x74, + 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x74, + 0x74, 0x65, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x07, 0x92, 0xb5, 0x18, 0x03, 0x31, + 0x32, 0x38, 0x52, 0x0c, 0x61, 0x74, 0x74, 0x65, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, + 0x12, 0x3c, 0x0a, 0x08, 0x64, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x73, 0x18, 0x07, 0x20, 0x03, + 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, + 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x42, 0x06, 0x92, 0xb5, + 0x18, 0x02, 0x31, 0x36, 0x52, 0x08, 0x64, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x73, 0x12, 0x55, + 0x0a, 0x0f, 0x76, 0x6f, 0x6c, 0x75, 0x6e, 0x74, 0x61, 0x72, 0x79, 0x5f, 0x65, 0x78, 0x69, 0x74, + 0x73, 0x18, 0x08, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, + 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x69, 0x67, 0x6e, 0x65, 0x64, + 0x56, 0x6f, 0x6c, 0x75, 0x6e, 0x74, 0x61, 0x72, 0x79, 0x45, 0x78, 0x69, 0x74, 0x42, 0x06, 0x92, + 0xb5, 0x18, 0x02, 0x31, 0x36, 0x52, 0x0e, 0x76, 0x6f, 0x6c, 0x75, 0x6e, 0x74, 0x61, 0x72, 0x79, + 0x45, 0x78, 0x69, 0x74, 0x73, 0x12, 0x6b, 0x0a, 0x13, 0x73, 0x79, 0x6e, 0x63, 0x5f, 0x63, 0x6f, + 0x6d, 0x6d, 0x69, 0x74, 0x74, 0x65, 0x65, 0x5f, 0x62, 0x69, 0x74, 0x73, 0x18, 0x0a, 0x20, 0x01, + 0x28, 0x0c, 0x42, 0x3b, 0x8a, 0xb5, 0x18, 0x01, 0x31, 0x82, 0xb5, 0x18, 0x32, 0x67, 0x69, 0x74, + 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x72, 0x79, 0x73, 0x6d, 0x61, 0x74, 0x69, + 0x63, 0x6c, 0x61, 0x62, 0x73, 0x2f, 0x67, 0x6f, 0x2d, 0x62, 0x69, 0x74, 0x66, 0x69, 0x65, 0x6c, + 0x64, 0x2e, 0x42, 0x69, 0x74, 0x76, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x31, 0x30, 0x32, 0x34, 0x52, + 0x11, 0x73, 0x79, 0x6e, 0x63, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x74, 0x65, 0x65, 0x42, 0x69, + 0x74, 0x73, 0x12, 0x40, 0x0a, 0x18, 0x73, 0x79, 0x6e, 0x63, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x69, + 0x74, 0x74, 0x65, 0x65, 0x5f, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x18, 0x0b, + 0x20, 0x01, 0x28, 0x0c, 0x42, 0x06, 0x8a, 0xb5, 0x18, 0x02, 0x39, 0x36, 0x52, 0x16, 0x73, 0x79, + 0x6e, 0x63, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x74, 0x65, 0x65, 0x53, 0x69, 0x67, 0x6e, 0x61, + 0x74, 0x75, 0x72, 0x65, 0x22, 0x9c, 0x01, 0x0a, 0x10, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x65, + 0x72, 0x53, 0x6c, 0x61, 0x73, 0x68, 0x69, 0x6e, 0x67, 0x12, 0x43, 0x0a, 0x08, 0x68, 0x65, 0x61, + 0x64, 0x65, 0x72, 0x5f, 0x31, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x65, 0x74, + 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x69, + 0x67, 0x6e, 0x65, 0x64, 0x42, 0x65, 0x61, 0x63, 0x6f, 0x6e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x48, + 0x65, 0x61, 0x64, 0x65, 0x72, 0x52, 0x07, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x31, 0x12, 0x43, + 0x0a, 0x08, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x5f, 0x32, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x28, 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, + 0x76, 0x31, 0x2e, 0x53, 0x69, 0x67, 0x6e, 0x65, 0x64, 0x42, 0x65, 0x61, 0x63, 0x6f, 0x6e, 0x42, + 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x52, 0x07, 0x68, 0x65, 0x61, 0x64, + 0x65, 0x72, 0x32, 0x22, 0xa6, 0x01, 0x0a, 0x10, 0x41, 0x74, 0x74, 0x65, 0x73, 0x74, 0x65, 0x72, + 0x53, 0x6c, 0x61, 0x73, 0x68, 0x69, 0x6e, 0x67, 0x12, 0x48, 0x0a, 0x0d, 0x61, 0x74, 0x74, 0x65, + 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x31, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x23, 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, + 0x31, 0x2e, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x65, 0x64, 0x41, 0x74, 0x74, 0x65, 0x73, 0x74, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0c, 0x61, 0x74, 0x74, 0x65, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x31, 0x12, 0x48, 0x0a, 0x0d, 0x61, 0x74, 0x74, 0x65, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x5f, 0x32, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x65, 0x74, 0x68, 0x65, + 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x6e, 0x64, 0x65, + 0x78, 0x65, 0x64, 0x41, 0x74, 0x74, 0x65, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0c, + 0x61, 0x74, 0x74, 0x65, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x32, 0x22, 0x94, 0x02, 0x0a, + 0x07, 0x44, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x12, 0x1f, 0x0a, 0x05, 0x70, 0x72, 0x6f, 0x6f, + 0x66, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0c, 0x42, 0x09, 0x8a, 0xb5, 0x18, 0x05, 0x33, 0x33, 0x2c, + 0x33, 0x32, 0x52, 0x05, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x12, 0x31, 0x0a, 0x04, 0x64, 0x61, 0x74, + 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, + 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x70, 0x6f, 0x73, 0x69, + 0x74, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x1a, 0xb4, 0x01, 0x0a, + 0x04, 0x44, 0x61, 0x74, 0x61, 0x12, 0x2f, 0x0a, 0x0a, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x5f, + 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x42, 0x10, 0x8a, 0xb5, 0x18, 0x02, 0x34, + 0x38, 0x9a, 0xb5, 0x18, 0x06, 0x70, 0x75, 0x62, 0x6b, 0x65, 0x79, 0x52, 0x09, 0x70, 0x75, 0x62, + 0x6c, 0x69, 0x63, 0x4b, 0x65, 0x79, 0x12, 0x3d, 0x0a, 0x16, 0x77, 0x69, 0x74, 0x68, 0x64, 0x72, + 0x61, 0x77, 0x61, 0x6c, 0x5f, 0x63, 0x72, 0x65, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x73, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x42, 0x06, 0x8a, 0xb5, 0x18, 0x02, 0x33, 0x32, 0x52, 0x15, + 0x77, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x61, 0x6c, 0x43, 0x72, 0x65, 0x64, 0x65, 0x6e, + 0x74, 0x69, 0x61, 0x6c, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, + 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x24, 0x0a, + 0x09, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, + 0x42, 0x06, 0x8a, 0xb5, 0x18, 0x02, 0x39, 0x36, 0x52, 0x09, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, + 0x75, 0x72, 0x65, 0x22, 0xb5, 0x01, 0x0a, 0x0d, 0x56, 0x6f, 0x6c, 0x75, 0x6e, 0x74, 0x61, 0x72, + 0x79, 0x45, 0x78, 0x69, 0x74, 0x12, 0x43, 0x0a, 0x05, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x04, 0x42, 0x2d, 0x82, 0xb5, 0x18, 0x29, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, + 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x72, 0x79, 0x73, 0x6d, 0x61, 0x74, 0x69, 0x63, 0x6c, 0x61, + 0x62, 0x73, 0x2f, 0x65, 0x74, 0x68, 0x32, 0x2d, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x45, 0x70, + 0x6f, 0x63, 0x68, 0x52, 0x05, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x12, 0x5f, 0x0a, 0x0f, 0x76, 0x61, + 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x04, 0x42, 0x36, 0x82, 0xb5, 0x18, 0x32, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, + 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x72, 0x79, 0x73, 0x6d, 0x61, 0x74, 0x69, 0x63, 0x6c, 0x61, 0x62, + 0x73, 0x2f, 0x65, 0x74, 0x68, 0x32, 0x2d, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x56, 0x61, 0x6c, + 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x52, 0x0e, 0x76, 0x61, 0x6c, + 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x22, 0x6f, 0x0a, 0x13, 0x53, + 0x69, 0x67, 0x6e, 0x65, 0x64, 0x56, 0x6f, 0x6c, 0x75, 0x6e, 0x74, 0x61, 0x72, 0x79, 0x45, 0x78, + 0x69, 0x74, 0x12, 0x32, 0x0a, 0x04, 0x65, 0x78, 0x69, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x1e, 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, + 0x76, 0x31, 0x2e, 0x56, 0x6f, 0x6c, 0x75, 0x6e, 0x74, 0x61, 0x72, 0x79, 0x45, 0x78, 0x69, 0x74, + 0x52, 0x04, 0x65, 0x78, 0x69, 0x74, 0x12, 0x24, 0x0a, 0x09, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, + 0x75, 0x72, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x42, 0x06, 0x8a, 0xb5, 0x18, 0x02, 0x39, + 0x36, 0x52, 0x09, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x22, 0x81, 0x01, 0x0a, + 0x08, 0x45, 0x74, 0x68, 0x31, 0x44, 0x61, 0x74, 0x61, 0x12, 0x29, 0x0a, 0x0c, 0x64, 0x65, 0x70, + 0x6f, 0x73, 0x69, 0x74, 0x5f, 0x72, 0x6f, 0x6f, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x42, + 0x06, 0x8a, 0xb5, 0x18, 0x02, 0x33, 0x32, 0x52, 0x0b, 0x64, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, + 0x52, 0x6f, 0x6f, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x64, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x5f, + 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0c, 0x64, 0x65, 0x70, + 0x6f, 0x73, 0x69, 0x74, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x25, 0x0a, 0x0a, 0x62, 0x6c, 0x6f, + 0x63, 0x6b, 0x5f, 0x68, 0x61, 0x73, 0x68, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x42, 0x06, 0x8a, + 0xb5, 0x18, 0x02, 0x33, 0x32, 0x52, 0x09, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x61, 0x73, 0x68, + 0x22, 0xa9, 0x02, 0x0a, 0x11, 0x42, 0x65, 0x61, 0x63, 0x6f, 0x6e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, + 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x12, 0x40, 0x0a, 0x04, 0x73, 0x6c, 0x6f, 0x74, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x04, 0x42, 0x2c, 0x82, 0xb5, 0x18, 0x28, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, + 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x72, 0x79, 0x73, 0x6d, 0x61, 0x74, 0x69, 0x63, 0x6c, 0x61, + 0x62, 0x73, 0x2f, 0x65, 0x74, 0x68, 0x32, 0x2d, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x53, 0x6c, + 0x6f, 0x74, 0x52, 0x04, 0x73, 0x6c, 0x6f, 0x74, 0x12, 0x5d, 0x0a, 0x0e, 0x70, 0x72, 0x6f, 0x70, + 0x6f, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, + 0x42, 0x36, 0x82, 0xb5, 0x18, 0x32, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, + 0x2f, 0x70, 0x72, 0x79, 0x73, 0x6d, 0x61, 0x74, 0x69, 0x63, 0x6c, 0x61, 0x62, 0x73, 0x2f, 0x65, + 0x74, 0x68, 0x32, 0x2d, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, + 0x74, 0x6f, 0x72, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x52, 0x0d, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, + 0x65, 0x72, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x27, 0x0a, 0x0b, 0x70, 0x61, 0x72, 0x65, 0x6e, + 0x74, 0x5f, 0x72, 0x6f, 0x6f, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x42, 0x06, 0x8a, 0xb5, + 0x18, 0x02, 0x33, 0x32, 0x52, 0x0a, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x52, 0x6f, 0x6f, 0x74, + 0x12, 0x25, 0x0a, 0x0a, 0x73, 0x74, 0x61, 0x74, 0x65, 0x5f, 0x72, 0x6f, 0x6f, 0x74, 0x18, 0x04, + 0x20, 0x01, 0x28, 0x0c, 0x42, 0x06, 0x8a, 0xb5, 0x18, 0x02, 0x33, 0x32, 0x52, 0x09, 0x73, 0x74, + 0x61, 0x74, 0x65, 0x52, 0x6f, 0x6f, 0x74, 0x12, 0x23, 0x0a, 0x09, 0x62, 0x6f, 0x64, 0x79, 0x5f, + 0x72, 0x6f, 0x6f, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0c, 0x42, 0x06, 0x8a, 0xb5, 0x18, 0x02, + 0x33, 0x32, 0x52, 0x08, 0x62, 0x6f, 0x64, 0x79, 0x52, 0x6f, 0x6f, 0x74, 0x22, 0x7b, 0x0a, 0x17, + 0x53, 0x69, 0x67, 0x6e, 0x65, 0x64, 0x42, 0x65, 0x61, 0x63, 0x6f, 0x6e, 0x42, 0x6c, 0x6f, 0x63, + 0x6b, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x12, 0x3a, 0x0a, 0x06, 0x68, 0x65, 0x61, 0x64, 0x65, + 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, + 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x65, 0x61, 0x63, 0x6f, 0x6e, + 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x52, 0x06, 0x68, 0x65, 0x61, + 0x64, 0x65, 0x72, 0x12, 0x24, 0x0a, 0x09, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x42, 0x06, 0x8a, 0xb5, 0x18, 0x02, 0x39, 0x36, 0x52, 0x09, + 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x22, 0xa7, 0x01, 0x0a, 0x12, 0x49, 0x6e, + 0x64, 0x65, 0x78, 0x65, 0x64, 0x41, 0x74, 0x74, 0x65, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x12, 0x35, 0x0a, 0x11, 0x61, 0x74, 0x74, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x5f, 0x69, 0x6e, + 0x64, 0x69, 0x63, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x04, 0x42, 0x08, 0x92, 0xb5, 0x18, + 0x04, 0x32, 0x30, 0x34, 0x38, 0x52, 0x10, 0x61, 0x74, 0x74, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x67, + 0x49, 0x6e, 0x64, 0x69, 0x63, 0x65, 0x73, 0x12, 0x34, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, + 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x74, 0x74, 0x65, 0x73, 0x74, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x44, 0x61, 0x74, 0x61, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x12, 0x24, 0x0a, + 0x09, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, + 0x42, 0x06, 0x8a, 0xb5, 0x18, 0x02, 0x39, 0x36, 0x52, 0x09, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, + 0x75, 0x72, 0x65, 0x42, 0x7b, 0x0a, 0x13, 0x6f, 0x72, 0x67, 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, + 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x42, 0x10, 0x42, 0x65, 0x61, 0x63, + 0x6f, 0x6e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x2c, + 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x72, 0x79, 0x73, 0x6d, + 0x61, 0x74, 0x69, 0x63, 0x6c, 0x61, 0x62, 0x73, 0x2f, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, + 0x6d, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x65, 0x74, 0x68, 0x2f, 0x76, 0x31, 0xaa, 0x02, 0x0f, 0x45, + 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x45, 0x74, 0x68, 0x2e, 0x76, 0x31, 0xca, 0x02, + 0x0f, 0x45, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x5c, 0x45, 0x74, 0x68, 0x5c, 0x76, 0x31, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( - ErrInvalidLengthBeaconBlock = fmt.Errorf("proto: negative length found during unmarshaling") - ErrIntOverflowBeaconBlock = fmt.Errorf("proto: integer overflow") - ErrUnexpectedEndOfGroupBeaconBlock = fmt.Errorf("proto: unexpected end of group") + file_eth_v1_beacon_block_proto_rawDescOnce sync.Once + file_eth_v1_beacon_block_proto_rawDescData = file_eth_v1_beacon_block_proto_rawDesc ) + +func file_eth_v1_beacon_block_proto_rawDescGZIP() []byte { + file_eth_v1_beacon_block_proto_rawDescOnce.Do(func() { + file_eth_v1_beacon_block_proto_rawDescData = protoimpl.X.CompressGZIP(file_eth_v1_beacon_block_proto_rawDescData) + }) + return file_eth_v1_beacon_block_proto_rawDescData +} + +var file_eth_v1_beacon_block_proto_msgTypes = make([]protoimpl.MessageInfo, 16) +var file_eth_v1_beacon_block_proto_goTypes = []interface{}{ + (*BeaconBlock)(nil), // 0: ethereum.eth.v1.BeaconBlock + (*BeaconBlockV1)(nil), // 1: ethereum.eth.v1.BeaconBlockV1 + (*SignedBeaconBlock)(nil), // 2: ethereum.eth.v1.SignedBeaconBlock + (*SignedBeaconBlockV1)(nil), // 3: ethereum.eth.v1.SignedBeaconBlockV1 + (*BeaconBlockBody)(nil), // 4: ethereum.eth.v1.BeaconBlockBody + (*BeaconBlockBodyV1)(nil), // 5: ethereum.eth.v1.BeaconBlockBodyV1 + (*ProposerSlashing)(nil), // 6: ethereum.eth.v1.ProposerSlashing + (*AttesterSlashing)(nil), // 7: ethereum.eth.v1.AttesterSlashing + (*Deposit)(nil), // 8: ethereum.eth.v1.Deposit + (*VoluntaryExit)(nil), // 9: ethereum.eth.v1.VoluntaryExit + (*SignedVoluntaryExit)(nil), // 10: ethereum.eth.v1.SignedVoluntaryExit + (*Eth1Data)(nil), // 11: ethereum.eth.v1.Eth1Data + (*BeaconBlockHeader)(nil), // 12: ethereum.eth.v1.BeaconBlockHeader + (*SignedBeaconBlockHeader)(nil), // 13: ethereum.eth.v1.SignedBeaconBlockHeader + (*IndexedAttestation)(nil), // 14: ethereum.eth.v1.IndexedAttestation + (*Deposit_Data)(nil), // 15: ethereum.eth.v1.Deposit.Data + (*Attestation)(nil), // 16: ethereum.eth.v1.Attestation + (*AttestationData)(nil), // 17: ethereum.eth.v1.AttestationData +} +var file_eth_v1_beacon_block_proto_depIdxs = []int32{ + 4, // 0: ethereum.eth.v1.BeaconBlock.body:type_name -> ethereum.eth.v1.BeaconBlockBody + 5, // 1: ethereum.eth.v1.BeaconBlockV1.body:type_name -> ethereum.eth.v1.BeaconBlockBodyV1 + 0, // 2: ethereum.eth.v1.SignedBeaconBlock.block:type_name -> ethereum.eth.v1.BeaconBlock + 1, // 3: ethereum.eth.v1.SignedBeaconBlockV1.block:type_name -> ethereum.eth.v1.BeaconBlockV1 + 11, // 4: ethereum.eth.v1.BeaconBlockBody.eth1_data:type_name -> ethereum.eth.v1.Eth1Data + 6, // 5: ethereum.eth.v1.BeaconBlockBody.proposer_slashings:type_name -> ethereum.eth.v1.ProposerSlashing + 7, // 6: ethereum.eth.v1.BeaconBlockBody.attester_slashings:type_name -> ethereum.eth.v1.AttesterSlashing + 16, // 7: ethereum.eth.v1.BeaconBlockBody.attestations:type_name -> ethereum.eth.v1.Attestation + 8, // 8: ethereum.eth.v1.BeaconBlockBody.deposits:type_name -> ethereum.eth.v1.Deposit + 10, // 9: ethereum.eth.v1.BeaconBlockBody.voluntary_exits:type_name -> ethereum.eth.v1.SignedVoluntaryExit + 11, // 10: ethereum.eth.v1.BeaconBlockBodyV1.eth1_data:type_name -> ethereum.eth.v1.Eth1Data + 6, // 11: ethereum.eth.v1.BeaconBlockBodyV1.proposer_slashings:type_name -> ethereum.eth.v1.ProposerSlashing + 7, // 12: ethereum.eth.v1.BeaconBlockBodyV1.attester_slashings:type_name -> ethereum.eth.v1.AttesterSlashing + 16, // 13: ethereum.eth.v1.BeaconBlockBodyV1.attestations:type_name -> ethereum.eth.v1.Attestation + 8, // 14: ethereum.eth.v1.BeaconBlockBodyV1.deposits:type_name -> ethereum.eth.v1.Deposit + 10, // 15: ethereum.eth.v1.BeaconBlockBodyV1.voluntary_exits:type_name -> ethereum.eth.v1.SignedVoluntaryExit + 13, // 16: ethereum.eth.v1.ProposerSlashing.header_1:type_name -> ethereum.eth.v1.SignedBeaconBlockHeader + 13, // 17: ethereum.eth.v1.ProposerSlashing.header_2:type_name -> ethereum.eth.v1.SignedBeaconBlockHeader + 14, // 18: ethereum.eth.v1.AttesterSlashing.attestation_1:type_name -> ethereum.eth.v1.IndexedAttestation + 14, // 19: ethereum.eth.v1.AttesterSlashing.attestation_2:type_name -> ethereum.eth.v1.IndexedAttestation + 15, // 20: ethereum.eth.v1.Deposit.data:type_name -> ethereum.eth.v1.Deposit.Data + 9, // 21: ethereum.eth.v1.SignedVoluntaryExit.exit:type_name -> ethereum.eth.v1.VoluntaryExit + 12, // 22: ethereum.eth.v1.SignedBeaconBlockHeader.header:type_name -> ethereum.eth.v1.BeaconBlockHeader + 17, // 23: ethereum.eth.v1.IndexedAttestation.data:type_name -> ethereum.eth.v1.AttestationData + 24, // [24:24] is the sub-list for method output_type + 24, // [24:24] is the sub-list for method input_type + 24, // [24:24] is the sub-list for extension type_name + 24, // [24:24] is the sub-list for extension extendee + 0, // [0:24] is the sub-list for field type_name +} + +func init() { file_eth_v1_beacon_block_proto_init() } +func file_eth_v1_beacon_block_proto_init() { + if File_eth_v1_beacon_block_proto != nil { + return + } + file_eth_v1_attestation_proto_init() + if !protoimpl.UnsafeEnabled { + file_eth_v1_beacon_block_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*BeaconBlock); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_eth_v1_beacon_block_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*BeaconBlockV1); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_eth_v1_beacon_block_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SignedBeaconBlock); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_eth_v1_beacon_block_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SignedBeaconBlockV1); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_eth_v1_beacon_block_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*BeaconBlockBody); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_eth_v1_beacon_block_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*BeaconBlockBodyV1); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_eth_v1_beacon_block_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ProposerSlashing); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_eth_v1_beacon_block_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AttesterSlashing); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_eth_v1_beacon_block_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Deposit); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_eth_v1_beacon_block_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*VoluntaryExit); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_eth_v1_beacon_block_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SignedVoluntaryExit); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_eth_v1_beacon_block_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Eth1Data); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_eth_v1_beacon_block_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*BeaconBlockHeader); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_eth_v1_beacon_block_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SignedBeaconBlockHeader); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_eth_v1_beacon_block_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*IndexedAttestation); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_eth_v1_beacon_block_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Deposit_Data); 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_eth_v1_beacon_block_proto_rawDesc, + NumEnums: 0, + NumMessages: 16, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_eth_v1_beacon_block_proto_goTypes, + DependencyIndexes: file_eth_v1_beacon_block_proto_depIdxs, + MessageInfos: file_eth_v1_beacon_block_proto_msgTypes, + }.Build() + File_eth_v1_beacon_block_proto = out.File + file_eth_v1_beacon_block_proto_rawDesc = nil + file_eth_v1_beacon_block_proto_goTypes = nil + file_eth_v1_beacon_block_proto_depIdxs = nil +} diff --git a/eth/v1alpha1_gateway/beacon_block.pb.gw.go b/eth/v1/beacon_block.pb.gw.go old mode 100755 new mode 100644 similarity index 100% rename from eth/v1alpha1_gateway/beacon_block.pb.gw.go rename to eth/v1/beacon_block.pb.gw.go diff --git a/eth/v1/beacon_block.proto b/eth/v1/beacon_block.proto index fa88a738..8ffcf04f 100644 --- a/eth/v1/beacon_block.proto +++ b/eth/v1/beacon_block.proto @@ -15,7 +15,8 @@ syntax = "proto3"; package ethereum.eth.v1; -import "github.com/gogo/protobuf/gogoproto/gogo.proto"; +import "google/protobuf/descriptor.proto"; +import "eth/ext/options.proto"; import "eth/v1/attestation.proto"; option csharp_namespace = "Ethereum.Eth.v1"; @@ -28,16 +29,16 @@ option php_namespace = "Ethereum\\Eth\\v1"; // The Ethereum 2.0 beacon block. The message does not contain a validator signature. message BeaconBlock { // Beacon chain slot that this block represents. - uint64 slot = 1 [(gogoproto.casttype) = "github.com/prysmaticlabs/eth2-types.Slot"]; + uint64 slot = 1 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/eth2-types.Slot"]; // Validator index of the validator that proposed the block header. - uint64 proposer_index = 2 [(gogoproto.casttype) = "github.com/prysmaticlabs/eth2-types.ValidatorIndex"]; + uint64 proposer_index = 2 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/eth2-types.ValidatorIndex"]; // 32 byte root of the parent block. - bytes parent_root = 3 [(gogoproto.moretags) = "ssz-size:\"32\""]; + bytes parent_root = 3 [(ethereum.eth.ext.ssz_size) = "32"]; // 32 byte root of the resulting state after processing this block. - bytes state_root = 4 [(gogoproto.moretags) = "ssz-size:\"32\""]; + bytes state_root = 4 [(ethereum.eth.ext.ssz_size) = "32"]; // The block body itself. BeaconBlockBody body = 5; @@ -46,16 +47,16 @@ message BeaconBlock { // The Ethereum 2.0 beacon block for Hard Fork 1. The message does not contain a validator signature. message BeaconBlockV1 { // Beacon chain slot that this block represents. - uint64 slot = 1 [(gogoproto.casttype) = "github.com/prysmaticlabs/eth2-types.Slot"]; + uint64 slot = 1 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/eth2-types.Slot"]; // Validator index of the validator that proposed the block header. - uint64 proposer_index = 2 [(gogoproto.casttype) = "github.com/prysmaticlabs/eth2-types.ValidatorIndex"]; + uint64 proposer_index = 2 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/eth2-types.ValidatorIndex"]; // 32 byte root of the parent block. - bytes parent_root = 3 [(gogoproto.moretags) = "ssz-size:\"32\""]; + bytes parent_root = 3 [(ethereum.eth.ext.ssz_size) = "32"]; // 32 byte root of the resulting state after processing this block. - bytes state_root = 4 [(gogoproto.moretags) = "ssz-size:\"32\""]; + bytes state_root = 4 [(ethereum.eth.ext.ssz_size) = "32"]; // The Hard Fork 1 block body itself. BeaconBlockBodyV1 body = 5; @@ -67,7 +68,7 @@ message SignedBeaconBlock { BeaconBlock block = 1; // 96 byte BLS signature from the validator that produced this block. - bytes signature = 2 [(gogoproto.moretags) = "ssz-size:\"96\""]; + bytes signature = 2 [(ethereum.eth.ext.ssz_size) = "96"]; } // The signed version of Hard Fork 1 beacon block. @@ -76,75 +77,75 @@ message SignedBeaconBlockV1 { BeaconBlockV1 block = 1; // 96 byte BLS signature from the validator that produced this block. - bytes signature = 2 [(gogoproto.moretags) = "ssz-size:\"96\""]; + bytes signature = 2 [(ethereum.eth.ext.ssz_size) = "96"]; } // The block body of an Ethereum 2.0 beacon block. message BeaconBlockBody { // The validators RANDAO reveal 96 byte value. - bytes randao_reveal = 1 [(gogoproto.moretags) = "ssz-size:\"96\""]; + bytes randao_reveal = 1 [(ethereum.eth.ext.ssz_size) = "96"]; // A reference to the Ethereum 1.x chain. Eth1Data eth1_data = 2; // 32 byte field of arbitrary data. This field may contain any data and // is not used for anything other than a fun message. - bytes graffiti = 3 [(gogoproto.moretags) = "ssz-size:\"32\""]; + bytes graffiti = 3 [(ethereum.eth.ext.ssz_size) = "32"]; // Block operations // Refer to spec constants at https://github.com/ethereum/eth2.0-specs/blob/dev/specs/core/0_beacon-chain.md#max-operations-per-block // At most MAX_PROPOSER_SLASHINGS. - repeated ProposerSlashing proposer_slashings = 4 [(gogoproto.moretags) = "ssz-max:\"16\""]; + repeated ProposerSlashing proposer_slashings = 4 [(ethereum.eth.ext.ssz_max) = "16"]; // At most MAX_ATTESTER_SLASHINGS. - repeated AttesterSlashing attester_slashings = 5 [(gogoproto.moretags) = "ssz-max:\"2\""]; + repeated AttesterSlashing attester_slashings = 5 [(ethereum.eth.ext.ssz_max) = "2"]; // At most MAX_ATTESTATIONS. - repeated Attestation attestations = 6 [(gogoproto.moretags) = "ssz-max:\"128\""]; + repeated Attestation attestations = 6 [(ethereum.eth.ext.ssz_max) = "128"]; // At most MAX_DEPOSITS. - repeated Deposit deposits = 7 [(gogoproto.moretags) = "ssz-max:\"16\""]; + repeated Deposit deposits = 7 [(ethereum.eth.ext.ssz_max) = "16"]; // At most MAX_VOLUNTARY_EXITS. - repeated SignedVoluntaryExit voluntary_exits = 8 [(gogoproto.moretags) = "ssz-max:\"16\""]; + repeated SignedVoluntaryExit voluntary_exits = 8 [(ethereum.eth.ext.ssz_max) = "16"]; } // The block body of an Ethereum 2.0 beacon block for Hard Fork 1. message BeaconBlockBodyV1 { // The validators RANDAO reveal 96 byte value. - bytes randao_reveal = 1 [(gogoproto.moretags) = "ssz-size:\"96\""]; + bytes randao_reveal = 1 [(ethereum.eth.ext.ssz_size) = "96"]; // A reference to the Ethereum 1.x chain. Eth1Data eth1_data = 2; // 32 byte field of arbitrary data. This field may contain any data and // is not used for anything other than a fun message. - bytes graffiti = 3 [(gogoproto.moretags) = "ssz-size:\"32\""]; + bytes graffiti = 3 [(ethereum.eth.ext.ssz_size) = "32"]; // Block operations // Refer to spec constants at https://github.com/ethereum/eth2.0-specs/blob/dev/specs/core/0_beacon-chain.md#max-operations-per-block // At most MAX_PROPOSER_SLASHINGS. - repeated ProposerSlashing proposer_slashings = 4 [(gogoproto.moretags) = "ssz-max:\"16\""]; + repeated ProposerSlashing proposer_slashings = 4 [(ethereum.eth.ext.ssz_max) = "16"]; // At most MAX_ATTESTER_SLASHINGS. - repeated AttesterSlashing attester_slashings = 5 [(gogoproto.moretags) = "ssz-max:\"2\""]; + repeated AttesterSlashing attester_slashings = 5 [(ethereum.eth.ext.ssz_max) = "2"]; // At most MAX_ATTESTATIONS. - repeated Attestation attestations = 6 [(gogoproto.moretags) = "ssz-max:\"128\""]; + repeated Attestation attestations = 6 [(ethereum.eth.ext.ssz_max) = "128"]; // At most MAX_DEPOSITS. - repeated Deposit deposits = 7 [(gogoproto.moretags) = "ssz-max:\"16\""]; + repeated Deposit deposits = 7 [(ethereum.eth.ext.ssz_max) = "16"]; // At most MAX_VOLUNTARY_EXITS. - repeated SignedVoluntaryExit voluntary_exits = 8 [(gogoproto.moretags) = "ssz-max:\"16\""]; + repeated SignedVoluntaryExit voluntary_exits = 8 [(ethereum.eth.ext.ssz_max) = "16"]; // Bitvector used to track sync committee voting bits. - bytes sync_committee_bits = 10 [(gogoproto.moretags) = "ssz-size:\"1\"", (gogoproto.casttype) = "github.com/prysmaticlabs/go-bitfield.Bitvector1024"]; + bytes sync_committee_bits = 10 [(ethereum.eth.ext.ssz_size) = "1", (ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/go-bitfield.Bitvector1024"]; // BLS aggregated signature of the sync committee for the ones that voted. - bytes sync_committee_signature = 11 [(gogoproto.moretags) = "ssz-size:\"96\""]; + bytes sync_committee_signature = 11 [(ethereum.eth.ext.ssz_size) = "96"]; } @@ -172,33 +173,34 @@ message AttesterSlashing { message Deposit { message Data { // 48 byte BLS public key of the validator. - bytes public_key = 1 [(gogoproto.moretags) = "ssz-size:\"48\" spec-name:\"pubkey\""]; + bytes public_key = 1 [(ethereum.eth.ext.ssz_size) = "48", (ethereum.eth.ext.spec_name) = "pubkey"]; // A 32 byte hash of the withdrawal address public key. - bytes withdrawal_credentials = 2 [(gogoproto.moretags) = "ssz-size:\"32\""]; + bytes withdrawal_credentials = 2 [(ethereum.eth.ext.ssz_size) = "32"]; // Deposit amount in gwei. uint64 amount = 3; // 96 byte signature from the validators public key. - bytes signature = 4 [(gogoproto.moretags) = "ssz-size:\"96\""]; + bytes signature = 4 [(ethereum.eth.ext.ssz_size) = "96"]; } // 32 byte roots in the deposit tree branch. - repeated bytes proof = 1 [(gogoproto.moretags) = "ssz-size:\"33,32\""]; + repeated bytes proof = 1 [(ethereum.eth.ext.ssz_size) = "33,32"]; Data data = 2; } + // A message that represents a validator signaling that they want to voluntarily // withdraw from the active validator set. The message does not contain a // validator signature. message VoluntaryExit { // The epoch on when exit request becomes valid. - uint64 epoch = 1 [(gogoproto.casttype) = "github.com/prysmaticlabs/eth2-types.Epoch"]; + uint64 epoch = 1 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/eth2-types.Epoch"]; // Index of the exiting validator. - uint64 validator_index = 2 [(gogoproto.casttype) = "github.com/prysmaticlabs/eth2-types.ValidatorIndex"]; + uint64 validator_index = 2 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/eth2-types.ValidatorIndex"]; } // The signed version of voluntary exit. @@ -207,14 +209,14 @@ message SignedVoluntaryExit { VoluntaryExit exit = 1; // Validator's 96 byte signature - bytes signature = 2 [(gogoproto.moretags) = "ssz-size:\"96\""]; + bytes signature = 2 [(ethereum.eth.ext.ssz_size) = "96"]; } // Eth1Data represents references to the Ethereum 1.x deposit contract. message Eth1Data { // The 32 byte deposit tree root for the last deposit included in this // block. - bytes deposit_root = 1 [(gogoproto.moretags) = "ssz-size:\"32\""]; + bytes deposit_root = 1 [(ethereum.eth.ext.ssz_size) = "32"]; // The total number of deposits included in the beacon chain since genesis // including the deposits in this block. @@ -222,7 +224,7 @@ message Eth1Data { // The 32 byte block hash of the Ethereum 1.x block considered for deposit // inclusion. - bytes block_hash = 3 [(gogoproto.moretags) = "ssz-size:\"32\""]; + bytes block_hash = 3 [(ethereum.eth.ext.ssz_size) = "32"]; } // A beacon block header is essentially a beacon block with only a reference to @@ -231,19 +233,19 @@ message Eth1Data { // a validator signature. message BeaconBlockHeader { // Beacon chain slot that this block represents. - uint64 slot = 1 [(gogoproto.casttype) = "github.com/prysmaticlabs/eth2-types.Slot"]; + uint64 slot = 1 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/eth2-types.Slot"]; // Validator index of the validator that proposed the block header. - uint64 proposer_index = 2 [(gogoproto.casttype) = "github.com/prysmaticlabs/eth2-types.ValidatorIndex"]; + uint64 proposer_index = 2 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/eth2-types.ValidatorIndex"]; // 32 byte merkle tree root of the parent ssz encoded block. - bytes parent_root = 3 [(gogoproto.moretags) = "ssz-size:\"32\""]; + bytes parent_root = 3 [(ethereum.eth.ext.ssz_size) = "32"]; // 32 byte merkle tree root of the resulting ssz encoded state after processing this block. - bytes state_root = 4 [(gogoproto.moretags) = "ssz-size:\"32\""]; + bytes state_root = 4 [(ethereum.eth.ext.ssz_size) = "32"]; // 32 byte merkle tree root of the ssz encoded block body. - bytes body_root = 5 [(gogoproto.moretags) = "ssz-size:\"32\""]; + bytes body_root = 5 [(ethereum.eth.ext.ssz_size) = "32"]; } message SignedBeaconBlockHeader { @@ -251,14 +253,14 @@ message SignedBeaconBlockHeader { BeaconBlockHeader header = 1; // 96 byte BLS signature from the validator that produced this block header. - bytes signature = 2 [(gogoproto.moretags) = "ssz-size:\"96\""]; + bytes signature = 2 [(ethereum.eth.ext.ssz_size) = "96"]; } message IndexedAttestation { - repeated uint64 attesting_indices = 1 [(gogoproto.moretags) = "ssz-max:\"2048\""]; + repeated uint64 attesting_indices = 1 [(ethereum.eth.ext.ssz_max) = "2048"]; AttestationData data = 2; // 96 bytes aggregate signature. - bytes signature = 3 [(gogoproto.moretags) = "ssz-size:\"96\""]; + bytes signature = 3 [(ethereum.eth.ext.ssz_size) = "96"]; } diff --git a/eth/v1/beacon_chain_service.pb.go b/eth/v1/beacon_chain_service.pb.go old mode 100755 new mode 100644 index f721d07c..538f0a4d --- a/eth/v1/beacon_chain_service.pb.go +++ b/eth/v1/beacon_chain_service.pb.go @@ -1,2204 +1,3166 @@ -// Code generated by protoc-gen-gogo. DO NOT EDIT. +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.25.0 +// protoc v3.15.6 // source: eth/v1/beacon_chain_service.proto package v1 import ( context "context" - fmt "fmt" - io "io" - math "math" - math_bits "math/bits" - - _ "github.com/gogo/protobuf/gogoproto" - proto "github.com/gogo/protobuf/proto" - types "github.com/gogo/protobuf/types" + reflect "reflect" + sync "sync" + + proto "github.com/golang/protobuf/proto" + _ "github.com/golang/protobuf/protoc-gen-go/descriptor" + empty "github.com/golang/protobuf/ptypes/empty" + timestamp "github.com/golang/protobuf/ptypes/timestamp" github_com_prysmaticlabs_eth2_types "github.com/prysmaticlabs/eth2-types" + _ "github.com/prysmaticlabs/ethereumapis/eth/ext" _ "google.golang.org/genproto/googleapis/api/annotations" 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.GoGoProtoPackageIsVersion3 // 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 GenesisResponse struct { - Data *GenesisResponse_Genesis `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *GenesisResponse) Reset() { *m = GenesisResponse{} } -func (m *GenesisResponse) String() string { return proto.CompactTextString(m) } -func (*GenesisResponse) ProtoMessage() {} -func (*GenesisResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_33987dc4bca2a2e7, []int{0} -} -func (m *GenesisResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *GenesisResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_GenesisResponse.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil - } + Data *GenesisResponse_Genesis `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` } -func (m *GenesisResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_GenesisResponse.Merge(m, src) -} -func (m *GenesisResponse) XXX_Size() int { - return m.Size() -} -func (m *GenesisResponse) XXX_DiscardUnknown() { - xxx_messageInfo_GenesisResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_GenesisResponse proto.InternalMessageInfo -func (m *GenesisResponse) GetData() *GenesisResponse_Genesis { - if m != nil { - return m.Data +func (x *GenesisResponse) Reset() { + *x = GenesisResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_eth_v1_beacon_chain_service_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } - return nil } -type GenesisResponse_Genesis struct { - GenesisTime *types.Timestamp `protobuf:"bytes,1,opt,name=genesis_time,json=genesisTime,proto3" json:"genesis_time,omitempty"` - GenesisValidatorsRoot []byte `protobuf:"bytes,2,opt,name=genesis_validators_root,json=genesisValidatorsRoot,proto3" json:"genesis_validators_root,omitempty" ssz-size:"32"` - GenesisForkVersion []byte `protobuf:"bytes,3,opt,name=genesis_fork_version,json=genesisForkVersion,proto3" json:"genesis_fork_version,omitempty" ssz-size:"4"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +func (x *GenesisResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GenesisResponse_Genesis) Reset() { *m = GenesisResponse_Genesis{} } -func (m *GenesisResponse_Genesis) String() string { return proto.CompactTextString(m) } -func (*GenesisResponse_Genesis) ProtoMessage() {} -func (*GenesisResponse_Genesis) Descriptor() ([]byte, []int) { - return fileDescriptor_33987dc4bca2a2e7, []int{0, 0} -} -func (m *GenesisResponse_Genesis) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *GenesisResponse_Genesis) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_GenesisResponse_Genesis.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err +func (*GenesisResponse) ProtoMessage() {} + +func (x *GenesisResponse) ProtoReflect() protoreflect.Message { + mi := &file_eth_v1_beacon_chain_service_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - return b[:n], nil + return ms } -} -func (m *GenesisResponse_Genesis) XXX_Merge(src proto.Message) { - xxx_messageInfo_GenesisResponse_Genesis.Merge(m, src) -} -func (m *GenesisResponse_Genesis) XXX_Size() int { - return m.Size() -} -func (m *GenesisResponse_Genesis) XXX_DiscardUnknown() { - xxx_messageInfo_GenesisResponse_Genesis.DiscardUnknown(m) + return mi.MessageOf(x) } -var xxx_messageInfo_GenesisResponse_Genesis proto.InternalMessageInfo +// Deprecated: Use GenesisResponse.ProtoReflect.Descriptor instead. +func (*GenesisResponse) Descriptor() ([]byte, []int) { + return file_eth_v1_beacon_chain_service_proto_rawDescGZIP(), []int{0} +} -func (m *GenesisResponse_Genesis) GetGenesisTime() *types.Timestamp { - if m != nil { - return m.GenesisTime +func (x *GenesisResponse) GetData() *GenesisResponse_Genesis { + if x != nil { + return x.Data } return nil } -func (m *GenesisResponse_Genesis) GetGenesisValidatorsRoot() []byte { - if m != nil { - return m.GenesisValidatorsRoot - } - return nil +type StateRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + StateId []byte `protobuf:"bytes,1,opt,name=state_id,json=stateId,proto3" json:"state_id,omitempty"` } -func (m *GenesisResponse_Genesis) GetGenesisForkVersion() []byte { - if m != nil { - return m.GenesisForkVersion +func (x *StateRequest) Reset() { + *x = StateRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_eth_v1_beacon_chain_service_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } - return nil } -type StateRequest struct { - StateId []byte `protobuf:"bytes,1,opt,name=state_id,json=stateId,proto3" json:"state_id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +func (x *StateRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *StateRequest) Reset() { *m = StateRequest{} } -func (m *StateRequest) String() string { return proto.CompactTextString(m) } -func (*StateRequest) ProtoMessage() {} -func (*StateRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_33987dc4bca2a2e7, []int{1} -} -func (m *StateRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *StateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_StateRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err +func (*StateRequest) ProtoMessage() {} + +func (x *StateRequest) ProtoReflect() protoreflect.Message { + mi := &file_eth_v1_beacon_chain_service_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - return b[:n], nil + return ms } -} -func (m *StateRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_StateRequest.Merge(m, src) -} -func (m *StateRequest) XXX_Size() int { - return m.Size() -} -func (m *StateRequest) XXX_DiscardUnknown() { - xxx_messageInfo_StateRequest.DiscardUnknown(m) + return mi.MessageOf(x) } -var xxx_messageInfo_StateRequest proto.InternalMessageInfo +// Deprecated: Use StateRequest.ProtoReflect.Descriptor instead. +func (*StateRequest) Descriptor() ([]byte, []int) { + return file_eth_v1_beacon_chain_service_proto_rawDescGZIP(), []int{1} +} -func (m *StateRequest) GetStateId() []byte { - if m != nil { - return m.StateId +func (x *StateRequest) GetStateId() []byte { + if x != nil { + return x.StateId } return nil } type StateRootResponse struct { - Data *StateRootResponse_StateRoot `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *StateRootResponse) Reset() { *m = StateRootResponse{} } -func (m *StateRootResponse) String() string { return proto.CompactTextString(m) } -func (*StateRootResponse) ProtoMessage() {} -func (*StateRootResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_33987dc4bca2a2e7, []int{2} -} -func (m *StateRootResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *StateRootResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_StateRootResponse.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil - } -} -func (m *StateRootResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_StateRootResponse.Merge(m, src) -} -func (m *StateRootResponse) XXX_Size() int { - return m.Size() + Data *StateRootResponse_StateRoot `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` } -func (m *StateRootResponse) XXX_DiscardUnknown() { - xxx_messageInfo_StateRootResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_StateRootResponse proto.InternalMessageInfo -func (m *StateRootResponse) GetData() *StateRootResponse_StateRoot { - if m != nil { - return m.Data +func (x *StateRootResponse) Reset() { + *x = StateRootResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_eth_v1_beacon_chain_service_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } - return nil } -type StateRootResponse_StateRoot struct { - StateRoot []byte `protobuf:"bytes,1,opt,name=state_root,json=stateRoot,proto3" json:"state_root,omitempty" ssz-size:"32"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +func (x *StateRootResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *StateRootResponse_StateRoot) Reset() { *m = StateRootResponse_StateRoot{} } -func (m *StateRootResponse_StateRoot) String() string { return proto.CompactTextString(m) } -func (*StateRootResponse_StateRoot) ProtoMessage() {} -func (*StateRootResponse_StateRoot) Descriptor() ([]byte, []int) { - return fileDescriptor_33987dc4bca2a2e7, []int{2, 0} -} -func (m *StateRootResponse_StateRoot) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *StateRootResponse_StateRoot) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_StateRootResponse_StateRoot.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err +func (*StateRootResponse) ProtoMessage() {} + +func (x *StateRootResponse) ProtoReflect() protoreflect.Message { + mi := &file_eth_v1_beacon_chain_service_proto_msgTypes[2] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - return b[:n], nil + return ms } -} -func (m *StateRootResponse_StateRoot) XXX_Merge(src proto.Message) { - xxx_messageInfo_StateRootResponse_StateRoot.Merge(m, src) -} -func (m *StateRootResponse_StateRoot) XXX_Size() int { - return m.Size() -} -func (m *StateRootResponse_StateRoot) XXX_DiscardUnknown() { - xxx_messageInfo_StateRootResponse_StateRoot.DiscardUnknown(m) + return mi.MessageOf(x) } -var xxx_messageInfo_StateRootResponse_StateRoot proto.InternalMessageInfo +// Deprecated: Use StateRootResponse.ProtoReflect.Descriptor instead. +func (*StateRootResponse) Descriptor() ([]byte, []int) { + return file_eth_v1_beacon_chain_service_proto_rawDescGZIP(), []int{2} +} -func (m *StateRootResponse_StateRoot) GetStateRoot() []byte { - if m != nil { - return m.StateRoot +func (x *StateRootResponse) GetData() *StateRootResponse_StateRoot { + if x != nil { + return x.Data } return nil } type StateForkResponse struct { - Data *Fork `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *StateForkResponse) Reset() { *m = StateForkResponse{} } -func (m *StateForkResponse) String() string { return proto.CompactTextString(m) } -func (*StateForkResponse) ProtoMessage() {} -func (*StateForkResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_33987dc4bca2a2e7, []int{3} -} -func (m *StateForkResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *StateForkResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_StateForkResponse.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil - } -} -func (m *StateForkResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_StateForkResponse.Merge(m, src) -} -func (m *StateForkResponse) XXX_Size() int { - return m.Size() -} -func (m *StateForkResponse) XXX_DiscardUnknown() { - xxx_messageInfo_StateForkResponse.DiscardUnknown(m) + Data *Fork `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` } -var xxx_messageInfo_StateForkResponse proto.InternalMessageInfo - -func (m *StateForkResponse) GetData() *Fork { - if m != nil { - return m.Data +func (x *StateForkResponse) Reset() { + *x = StateForkResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_eth_v1_beacon_chain_service_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } - return nil } -type StateFinalityCheckpointResponse struct { - Data *StateFinalityCheckpointResponse_StateFinalityCheckpoint `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +func (x *StateForkResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *StateFinalityCheckpointResponse) Reset() { *m = StateFinalityCheckpointResponse{} } -func (m *StateFinalityCheckpointResponse) String() string { return proto.CompactTextString(m) } -func (*StateFinalityCheckpointResponse) ProtoMessage() {} -func (*StateFinalityCheckpointResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_33987dc4bca2a2e7, []int{4} -} -func (m *StateFinalityCheckpointResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *StateFinalityCheckpointResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_StateFinalityCheckpointResponse.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err +func (*StateForkResponse) ProtoMessage() {} + +func (x *StateForkResponse) ProtoReflect() protoreflect.Message { + mi := &file_eth_v1_beacon_chain_service_proto_msgTypes[3] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - return b[:n], nil + return ms } -} -func (m *StateFinalityCheckpointResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_StateFinalityCheckpointResponse.Merge(m, src) -} -func (m *StateFinalityCheckpointResponse) XXX_Size() int { - return m.Size() -} -func (m *StateFinalityCheckpointResponse) XXX_DiscardUnknown() { - xxx_messageInfo_StateFinalityCheckpointResponse.DiscardUnknown(m) + return mi.MessageOf(x) } -var xxx_messageInfo_StateFinalityCheckpointResponse proto.InternalMessageInfo +// Deprecated: Use StateForkResponse.ProtoReflect.Descriptor instead. +func (*StateForkResponse) Descriptor() ([]byte, []int) { + return file_eth_v1_beacon_chain_service_proto_rawDescGZIP(), []int{3} +} -func (m *StateFinalityCheckpointResponse) GetData() *StateFinalityCheckpointResponse_StateFinalityCheckpoint { - if m != nil { - return m.Data +func (x *StateForkResponse) GetData() *Fork { + if x != nil { + return x.Data } return nil } -type StateFinalityCheckpointResponse_StateFinalityCheckpoint struct { - PreviousJustified *Checkpoint `protobuf:"bytes,1,opt,name=previous_justified,json=previousJustified,proto3" json:"previous_justified,omitempty"` - CurrentJustified *Checkpoint `protobuf:"bytes,2,opt,name=current_justified,json=currentJustified,proto3" json:"current_justified,omitempty"` - Finalized *Checkpoint `protobuf:"bytes,3,opt,name=finalized,proto3" json:"finalized,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} +type StateFinalityCheckpointResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *StateFinalityCheckpointResponse_StateFinalityCheckpoint) Reset() { - *m = StateFinalityCheckpointResponse_StateFinalityCheckpoint{} -} -func (m *StateFinalityCheckpointResponse_StateFinalityCheckpoint) String() string { - return proto.CompactTextString(m) + Data *StateFinalityCheckpointResponse_StateFinalityCheckpoint `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` } -func (*StateFinalityCheckpointResponse_StateFinalityCheckpoint) ProtoMessage() {} -func (*StateFinalityCheckpointResponse_StateFinalityCheckpoint) Descriptor() ([]byte, []int) { - return fileDescriptor_33987dc4bca2a2e7, []int{4, 0} -} -func (m *StateFinalityCheckpointResponse_StateFinalityCheckpoint) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *StateFinalityCheckpointResponse_StateFinalityCheckpoint) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_StateFinalityCheckpointResponse_StateFinalityCheckpoint.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil + +func (x *StateFinalityCheckpointResponse) Reset() { + *x = StateFinalityCheckpointResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_eth_v1_beacon_chain_service_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *StateFinalityCheckpointResponse_StateFinalityCheckpoint) XXX_Merge(src proto.Message) { - xxx_messageInfo_StateFinalityCheckpointResponse_StateFinalityCheckpoint.Merge(m, src) -} -func (m *StateFinalityCheckpointResponse_StateFinalityCheckpoint) XXX_Size() int { - return m.Size() -} -func (m *StateFinalityCheckpointResponse_StateFinalityCheckpoint) XXX_DiscardUnknown() { - xxx_messageInfo_StateFinalityCheckpointResponse_StateFinalityCheckpoint.DiscardUnknown(m) + +func (x *StateFinalityCheckpointResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -var xxx_messageInfo_StateFinalityCheckpointResponse_StateFinalityCheckpoint proto.InternalMessageInfo +func (*StateFinalityCheckpointResponse) ProtoMessage() {} -func (m *StateFinalityCheckpointResponse_StateFinalityCheckpoint) GetPreviousJustified() *Checkpoint { - if m != nil { - return m.PreviousJustified +func (x *StateFinalityCheckpointResponse) ProtoReflect() protoreflect.Message { + mi := &file_eth_v1_beacon_chain_service_proto_msgTypes[4] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms } - return nil + return mi.MessageOf(x) } -func (m *StateFinalityCheckpointResponse_StateFinalityCheckpoint) GetCurrentJustified() *Checkpoint { - if m != nil { - return m.CurrentJustified - } - return nil +// Deprecated: Use StateFinalityCheckpointResponse.ProtoReflect.Descriptor instead. +func (*StateFinalityCheckpointResponse) Descriptor() ([]byte, []int) { + return file_eth_v1_beacon_chain_service_proto_rawDescGZIP(), []int{4} } -func (m *StateFinalityCheckpointResponse_StateFinalityCheckpoint) GetFinalized() *Checkpoint { - if m != nil { - return m.Finalized +func (x *StateFinalityCheckpointResponse) GetData() *StateFinalityCheckpointResponse_StateFinalityCheckpoint { + if x != nil { + return x.Data } return nil } type StateValidatorsRequest struct { - StateId []byte `protobuf:"bytes,1,opt,name=state_id,json=stateId,proto3" json:"state_id,omitempty"` - Id [][]byte `protobuf:"bytes,2,rep,name=id,proto3" json:"id,omitempty"` - Status string `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + StateId []byte `protobuf:"bytes,1,opt,name=state_id,json=stateId,proto3" json:"state_id,omitempty"` + Id [][]byte `protobuf:"bytes,2,rep,name=id,proto3" json:"id,omitempty"` + Status []string `protobuf:"bytes,3,rep,name=status,proto3" json:"status,omitempty"` } -func (m *StateValidatorsRequest) Reset() { *m = StateValidatorsRequest{} } -func (m *StateValidatorsRequest) String() string { return proto.CompactTextString(m) } -func (*StateValidatorsRequest) ProtoMessage() {} -func (*StateValidatorsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_33987dc4bca2a2e7, []int{5} -} -func (m *StateValidatorsRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *StateValidatorsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_StateValidatorsRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *StateValidatorsRequest) Reset() { + *x = StateValidatorsRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_eth_v1_beacon_chain_service_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *StateValidatorsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_StateValidatorsRequest.Merge(m, src) -} -func (m *StateValidatorsRequest) XXX_Size() int { - return m.Size() + +func (x *StateValidatorsRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *StateValidatorsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_StateValidatorsRequest.DiscardUnknown(m) + +func (*StateValidatorsRequest) ProtoMessage() {} + +func (x *StateValidatorsRequest) ProtoReflect() protoreflect.Message { + mi := &file_eth_v1_beacon_chain_service_proto_msgTypes[5] + 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) } -var xxx_messageInfo_StateValidatorsRequest proto.InternalMessageInfo +// Deprecated: Use StateValidatorsRequest.ProtoReflect.Descriptor instead. +func (*StateValidatorsRequest) Descriptor() ([]byte, []int) { + return file_eth_v1_beacon_chain_service_proto_rawDescGZIP(), []int{5} +} -func (m *StateValidatorsRequest) GetStateId() []byte { - if m != nil { - return m.StateId +func (x *StateValidatorsRequest) GetStateId() []byte { + if x != nil { + return x.StateId } return nil } -func (m *StateValidatorsRequest) GetId() [][]byte { - if m != nil { - return m.Id +func (x *StateValidatorsRequest) GetId() [][]byte { + if x != nil { + return x.Id } return nil } -func (m *StateValidatorsRequest) GetStatus() string { - if m != nil { - return m.Status +func (x *StateValidatorsRequest) GetStatus() []string { + if x != nil { + return x.Status } - return "" + return nil } type ValidatorBalancesRequest struct { - StateId []byte `protobuf:"bytes,1,opt,name=state_id,json=stateId,proto3" json:"state_id,omitempty"` - Id []string `protobuf:"bytes,2,rep,name=id,proto3" json:"id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + StateId []byte `protobuf:"bytes,1,opt,name=state_id,json=stateId,proto3" json:"state_id,omitempty"` + Id [][]byte `protobuf:"bytes,2,rep,name=id,proto3" json:"id,omitempty"` } -func (m *ValidatorBalancesRequest) Reset() { *m = ValidatorBalancesRequest{} } -func (m *ValidatorBalancesRequest) String() string { return proto.CompactTextString(m) } -func (*ValidatorBalancesRequest) ProtoMessage() {} -func (*ValidatorBalancesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_33987dc4bca2a2e7, []int{6} -} -func (m *ValidatorBalancesRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *ValidatorBalancesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_ValidatorBalancesRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *ValidatorBalancesRequest) Reset() { + *x = ValidatorBalancesRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_eth_v1_beacon_chain_service_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *ValidatorBalancesRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ValidatorBalancesRequest.Merge(m, src) -} -func (m *ValidatorBalancesRequest) XXX_Size() int { - return m.Size() + +func (x *ValidatorBalancesRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ValidatorBalancesRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ValidatorBalancesRequest.DiscardUnknown(m) + +func (*ValidatorBalancesRequest) ProtoMessage() {} + +func (x *ValidatorBalancesRequest) ProtoReflect() protoreflect.Message { + mi := &file_eth_v1_beacon_chain_service_proto_msgTypes[6] + 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) } -var xxx_messageInfo_ValidatorBalancesRequest proto.InternalMessageInfo +// Deprecated: Use ValidatorBalancesRequest.ProtoReflect.Descriptor instead. +func (*ValidatorBalancesRequest) Descriptor() ([]byte, []int) { + return file_eth_v1_beacon_chain_service_proto_rawDescGZIP(), []int{6} +} -func (m *ValidatorBalancesRequest) GetStateId() []byte { - if m != nil { - return m.StateId +func (x *ValidatorBalancesRequest) GetStateId() []byte { + if x != nil { + return x.StateId } return nil } -func (m *ValidatorBalancesRequest) GetId() []string { - if m != nil { - return m.Id +func (x *ValidatorBalancesRequest) GetId() [][]byte { + if x != nil { + return x.Id } return nil } type StateValidatorsResponse struct { - Data []*ValidatorContainer `protobuf:"bytes,1,rep,name=data,proto3" json:"data,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Data []*ValidatorContainer `protobuf:"bytes,1,rep,name=data,proto3" json:"data,omitempty"` } -func (m *StateValidatorsResponse) Reset() { *m = StateValidatorsResponse{} } -func (m *StateValidatorsResponse) String() string { return proto.CompactTextString(m) } -func (*StateValidatorsResponse) ProtoMessage() {} -func (*StateValidatorsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_33987dc4bca2a2e7, []int{7} -} -func (m *StateValidatorsResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *StateValidatorsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_StateValidatorsResponse.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *StateValidatorsResponse) Reset() { + *x = StateValidatorsResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_eth_v1_beacon_chain_service_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *StateValidatorsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_StateValidatorsResponse.Merge(m, src) -} -func (m *StateValidatorsResponse) XXX_Size() int { - return m.Size() + +func (x *StateValidatorsResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *StateValidatorsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_StateValidatorsResponse.DiscardUnknown(m) + +func (*StateValidatorsResponse) ProtoMessage() {} + +func (x *StateValidatorsResponse) ProtoReflect() protoreflect.Message { + mi := &file_eth_v1_beacon_chain_service_proto_msgTypes[7] + 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) } -var xxx_messageInfo_StateValidatorsResponse proto.InternalMessageInfo +// Deprecated: Use StateValidatorsResponse.ProtoReflect.Descriptor instead. +func (*StateValidatorsResponse) Descriptor() ([]byte, []int) { + return file_eth_v1_beacon_chain_service_proto_rawDescGZIP(), []int{7} +} -func (m *StateValidatorsResponse) GetData() []*ValidatorContainer { - if m != nil { - return m.Data +func (x *StateValidatorsResponse) GetData() []*ValidatorContainer { + if x != nil { + return x.Data } return nil } type ValidatorBalancesResponse struct { - Data []*ValidatorBalance `protobuf:"bytes,1,rep,name=data,proto3" json:"data,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Data []*ValidatorBalance `protobuf:"bytes,1,rep,name=data,proto3" json:"data,omitempty"` } -func (m *ValidatorBalancesResponse) Reset() { *m = ValidatorBalancesResponse{} } -func (m *ValidatorBalancesResponse) String() string { return proto.CompactTextString(m) } -func (*ValidatorBalancesResponse) ProtoMessage() {} -func (*ValidatorBalancesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_33987dc4bca2a2e7, []int{8} -} -func (m *ValidatorBalancesResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *ValidatorBalancesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_ValidatorBalancesResponse.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *ValidatorBalancesResponse) Reset() { + *x = ValidatorBalancesResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_eth_v1_beacon_chain_service_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *ValidatorBalancesResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ValidatorBalancesResponse.Merge(m, src) -} -func (m *ValidatorBalancesResponse) XXX_Size() int { - return m.Size() + +func (x *ValidatorBalancesResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ValidatorBalancesResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ValidatorBalancesResponse.DiscardUnknown(m) + +func (*ValidatorBalancesResponse) ProtoMessage() {} + +func (x *ValidatorBalancesResponse) ProtoReflect() protoreflect.Message { + mi := &file_eth_v1_beacon_chain_service_proto_msgTypes[8] + 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) } -var xxx_messageInfo_ValidatorBalancesResponse proto.InternalMessageInfo +// Deprecated: Use ValidatorBalancesResponse.ProtoReflect.Descriptor instead. +func (*ValidatorBalancesResponse) Descriptor() ([]byte, []int) { + return file_eth_v1_beacon_chain_service_proto_rawDescGZIP(), []int{8} +} -func (m *ValidatorBalancesResponse) GetData() []*ValidatorBalance { - if m != nil { - return m.Data +func (x *ValidatorBalancesResponse) GetData() []*ValidatorBalance { + if x != nil { + return x.Data } return nil } type ValidatorBalance struct { - Index uint64 `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty"` - Balance uint64 `protobuf:"varint,2,opt,name=balance,proto3" json:"balance,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Index github_com_prysmaticlabs_eth2_types.ValidatorIndex `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty" cast-type:"github.com/prysmaticlabs/eth2-types.ValidatorIndex"` + Balance uint64 `protobuf:"varint,2,opt,name=balance,proto3" json:"balance,omitempty"` } -func (m *ValidatorBalance) Reset() { *m = ValidatorBalance{} } -func (m *ValidatorBalance) String() string { return proto.CompactTextString(m) } -func (*ValidatorBalance) ProtoMessage() {} -func (*ValidatorBalance) Descriptor() ([]byte, []int) { - return fileDescriptor_33987dc4bca2a2e7, []int{9} -} -func (m *ValidatorBalance) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *ValidatorBalance) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_ValidatorBalance.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *ValidatorBalance) Reset() { + *x = ValidatorBalance{} + if protoimpl.UnsafeEnabled { + mi := &file_eth_v1_beacon_chain_service_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *ValidatorBalance) XXX_Merge(src proto.Message) { - xxx_messageInfo_ValidatorBalance.Merge(m, src) -} -func (m *ValidatorBalance) XXX_Size() int { - return m.Size() + +func (x *ValidatorBalance) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ValidatorBalance) XXX_DiscardUnknown() { - xxx_messageInfo_ValidatorBalance.DiscardUnknown(m) + +func (*ValidatorBalance) ProtoMessage() {} + +func (x *ValidatorBalance) ProtoReflect() protoreflect.Message { + mi := &file_eth_v1_beacon_chain_service_proto_msgTypes[9] + 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) } -var xxx_messageInfo_ValidatorBalance proto.InternalMessageInfo +// Deprecated: Use ValidatorBalance.ProtoReflect.Descriptor instead. +func (*ValidatorBalance) Descriptor() ([]byte, []int) { + return file_eth_v1_beacon_chain_service_proto_rawDescGZIP(), []int{9} +} -func (m *ValidatorBalance) GetIndex() uint64 { - if m != nil { - return m.Index +func (x *ValidatorBalance) GetIndex() github_com_prysmaticlabs_eth2_types.ValidatorIndex { + if x != nil { + return x.Index } - return 0 + return github_com_prysmaticlabs_eth2_types.ValidatorIndex(0) } -func (m *ValidatorBalance) GetBalance() uint64 { - if m != nil { - return m.Balance +func (x *ValidatorBalance) GetBalance() uint64 { + if x != nil { + return x.Balance } return 0 } type StateValidatorRequest struct { - StateId []byte `protobuf:"bytes,1,opt,name=state_id,json=stateId,proto3" json:"state_id,omitempty"` - ValidatorId []byte `protobuf:"bytes,2,opt,name=validator_id,json=validatorId,proto3" json:"validator_id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + StateId []byte `protobuf:"bytes,1,opt,name=state_id,json=stateId,proto3" json:"state_id,omitempty"` + ValidatorId []byte `protobuf:"bytes,2,opt,name=validator_id,json=validatorId,proto3" json:"validator_id,omitempty"` } -func (m *StateValidatorRequest) Reset() { *m = StateValidatorRequest{} } -func (m *StateValidatorRequest) String() string { return proto.CompactTextString(m) } -func (*StateValidatorRequest) ProtoMessage() {} -func (*StateValidatorRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_33987dc4bca2a2e7, []int{10} -} -func (m *StateValidatorRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *StateValidatorRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_StateValidatorRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *StateValidatorRequest) Reset() { + *x = StateValidatorRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_eth_v1_beacon_chain_service_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *StateValidatorRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_StateValidatorRequest.Merge(m, src) -} -func (m *StateValidatorRequest) XXX_Size() int { - return m.Size() + +func (x *StateValidatorRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *StateValidatorRequest) XXX_DiscardUnknown() { - xxx_messageInfo_StateValidatorRequest.DiscardUnknown(m) + +func (*StateValidatorRequest) ProtoMessage() {} + +func (x *StateValidatorRequest) ProtoReflect() protoreflect.Message { + mi := &file_eth_v1_beacon_chain_service_proto_msgTypes[10] + 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) } -var xxx_messageInfo_StateValidatorRequest proto.InternalMessageInfo +// Deprecated: Use StateValidatorRequest.ProtoReflect.Descriptor instead. +func (*StateValidatorRequest) Descriptor() ([]byte, []int) { + return file_eth_v1_beacon_chain_service_proto_rawDescGZIP(), []int{10} +} -func (m *StateValidatorRequest) GetStateId() []byte { - if m != nil { - return m.StateId +func (x *StateValidatorRequest) GetStateId() []byte { + if x != nil { + return x.StateId } return nil } -func (m *StateValidatorRequest) GetValidatorId() []byte { - if m != nil { - return m.ValidatorId +func (x *StateValidatorRequest) GetValidatorId() []byte { + if x != nil { + return x.ValidatorId } return nil } type StateValidatorResponse struct { - Data *ValidatorContainer `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Data *ValidatorContainer `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` } -func (m *StateValidatorResponse) Reset() { *m = StateValidatorResponse{} } -func (m *StateValidatorResponse) String() string { return proto.CompactTextString(m) } -func (*StateValidatorResponse) ProtoMessage() {} -func (*StateValidatorResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_33987dc4bca2a2e7, []int{11} -} -func (m *StateValidatorResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *StateValidatorResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_StateValidatorResponse.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *StateValidatorResponse) Reset() { + *x = StateValidatorResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_eth_v1_beacon_chain_service_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *StateValidatorResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_StateValidatorResponse.Merge(m, src) -} -func (m *StateValidatorResponse) XXX_Size() int { - return m.Size() + +func (x *StateValidatorResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *StateValidatorResponse) XXX_DiscardUnknown() { - xxx_messageInfo_StateValidatorResponse.DiscardUnknown(m) + +func (*StateValidatorResponse) ProtoMessage() {} + +func (x *StateValidatorResponse) ProtoReflect() protoreflect.Message { + mi := &file_eth_v1_beacon_chain_service_proto_msgTypes[11] + 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) } -var xxx_messageInfo_StateValidatorResponse proto.InternalMessageInfo +// Deprecated: Use StateValidatorResponse.ProtoReflect.Descriptor instead. +func (*StateValidatorResponse) Descriptor() ([]byte, []int) { + return file_eth_v1_beacon_chain_service_proto_rawDescGZIP(), []int{11} +} -func (m *StateValidatorResponse) GetData() *ValidatorContainer { - if m != nil { - return m.Data +func (x *StateValidatorResponse) GetData() *ValidatorContainer { + if x != nil { + return x.Data } return nil } type StateCommitteesRequest struct { - StateId []byte `protobuf:"bytes,1,opt,name=state_id,json=stateId,proto3" json:"state_id,omitempty"` - Epoch github_com_prysmaticlabs_eth2_types.Epoch `protobuf:"varint,2,opt,name=epoch,proto3,casttype=github.com/prysmaticlabs/eth2-types.Epoch" json:"epoch,omitempty"` - Index uint64 `protobuf:"varint,3,opt,name=index,proto3" json:"index,omitempty"` - Slot github_com_prysmaticlabs_eth2_types.Slot `protobuf:"varint,4,opt,name=slot,proto3,casttype=github.com/prysmaticlabs/eth2-types.Slot" json:"slot,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *StateCommitteesRequest) Reset() { *m = StateCommitteesRequest{} } -func (m *StateCommitteesRequest) String() string { return proto.CompactTextString(m) } -func (*StateCommitteesRequest) ProtoMessage() {} -func (*StateCommitteesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_33987dc4bca2a2e7, []int{12} -} -func (m *StateCommitteesRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *StateCommitteesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_StateCommitteesRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil - } + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + StateId []byte `protobuf:"bytes,1,opt,name=state_id,json=stateId,proto3" json:"state_id,omitempty"` + Epoch *github_com_prysmaticlabs_eth2_types.Epoch `protobuf:"varint,2,opt,name=epoch,proto3,oneof" json:"epoch,omitempty" cast-type:"github.com/prysmaticlabs/eth2-types.Epoch"` + Index *github_com_prysmaticlabs_eth2_types.CommitteeIndex `protobuf:"varint,3,opt,name=index,proto3,oneof" json:"index,omitempty" cast-type:"github.com/prysmaticlabs/eth2-types.CommitteeIndex"` + Slot *github_com_prysmaticlabs_eth2_types.Slot `protobuf:"varint,4,opt,name=slot,proto3,oneof" json:"slot,omitempty" cast-type:"github.com/prysmaticlabs/eth2-types.Slot"` } -func (m *StateCommitteesRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_StateCommitteesRequest.Merge(m, src) + +func (x *StateCommitteesRequest) Reset() { + *x = StateCommitteesRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_eth_v1_beacon_chain_service_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *StateCommitteesRequest) XXX_Size() int { - return m.Size() + +func (x *StateCommitteesRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *StateCommitteesRequest) XXX_DiscardUnknown() { - xxx_messageInfo_StateCommitteesRequest.DiscardUnknown(m) + +func (*StateCommitteesRequest) ProtoMessage() {} + +func (x *StateCommitteesRequest) ProtoReflect() protoreflect.Message { + mi := &file_eth_v1_beacon_chain_service_proto_msgTypes[12] + 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) } -var xxx_messageInfo_StateCommitteesRequest proto.InternalMessageInfo +// Deprecated: Use StateCommitteesRequest.ProtoReflect.Descriptor instead. +func (*StateCommitteesRequest) Descriptor() ([]byte, []int) { + return file_eth_v1_beacon_chain_service_proto_rawDescGZIP(), []int{12} +} -func (m *StateCommitteesRequest) GetStateId() []byte { - if m != nil { - return m.StateId +func (x *StateCommitteesRequest) GetStateId() []byte { + if x != nil { + return x.StateId } return nil } -func (m *StateCommitteesRequest) GetEpoch() github_com_prysmaticlabs_eth2_types.Epoch { - if m != nil { - return m.Epoch +func (x *StateCommitteesRequest) GetEpoch() github_com_prysmaticlabs_eth2_types.Epoch { + if x != nil && x.Epoch != nil { + return *x.Epoch } - return 0 + return github_com_prysmaticlabs_eth2_types.Epoch(0) } -func (m *StateCommitteesRequest) GetIndex() uint64 { - if m != nil { - return m.Index +func (x *StateCommitteesRequest) GetIndex() github_com_prysmaticlabs_eth2_types.CommitteeIndex { + if x != nil && x.Index != nil { + return *x.Index } - return 0 + return github_com_prysmaticlabs_eth2_types.CommitteeIndex(0) } -func (m *StateCommitteesRequest) GetSlot() github_com_prysmaticlabs_eth2_types.Slot { - if m != nil { - return m.Slot +func (x *StateCommitteesRequest) GetSlot() github_com_prysmaticlabs_eth2_types.Slot { + if x != nil && x.Slot != nil { + return *x.Slot } - return 0 + return github_com_prysmaticlabs_eth2_types.Slot(0) } type StateCommitteesResponse struct { - Data []*Committee `protobuf:"bytes,1,rep,name=data,proto3" json:"data,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Data []*Committee `protobuf:"bytes,1,rep,name=data,proto3" json:"data,omitempty"` } -func (m *StateCommitteesResponse) Reset() { *m = StateCommitteesResponse{} } -func (m *StateCommitteesResponse) String() string { return proto.CompactTextString(m) } -func (*StateCommitteesResponse) ProtoMessage() {} -func (*StateCommitteesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_33987dc4bca2a2e7, []int{13} -} -func (m *StateCommitteesResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *StateCommitteesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_StateCommitteesResponse.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *StateCommitteesResponse) Reset() { + *x = StateCommitteesResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_eth_v1_beacon_chain_service_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *StateCommitteesResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_StateCommitteesResponse.Merge(m, src) -} -func (m *StateCommitteesResponse) XXX_Size() int { - return m.Size() + +func (x *StateCommitteesResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *StateCommitteesResponse) XXX_DiscardUnknown() { - xxx_messageInfo_StateCommitteesResponse.DiscardUnknown(m) + +func (*StateCommitteesResponse) ProtoMessage() {} + +func (x *StateCommitteesResponse) ProtoReflect() protoreflect.Message { + mi := &file_eth_v1_beacon_chain_service_proto_msgTypes[13] + 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) } -var xxx_messageInfo_StateCommitteesResponse proto.InternalMessageInfo +// Deprecated: Use StateCommitteesResponse.ProtoReflect.Descriptor instead. +func (*StateCommitteesResponse) Descriptor() ([]byte, []int) { + return file_eth_v1_beacon_chain_service_proto_rawDescGZIP(), []int{13} +} -func (m *StateCommitteesResponse) GetData() []*Committee { - if m != nil { - return m.Data +func (x *StateCommitteesResponse) GetData() []*Committee { + if x != nil { + return x.Data } return nil } type BlockAttestationsResponse struct { - Data []*Attestation `protobuf:"bytes,1,rep,name=data,proto3" json:"data,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Data []*Attestation `protobuf:"bytes,1,rep,name=data,proto3" json:"data,omitempty"` } -func (m *BlockAttestationsResponse) Reset() { *m = BlockAttestationsResponse{} } -func (m *BlockAttestationsResponse) String() string { return proto.CompactTextString(m) } -func (*BlockAttestationsResponse) ProtoMessage() {} -func (*BlockAttestationsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_33987dc4bca2a2e7, []int{14} -} -func (m *BlockAttestationsResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *BlockAttestationsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_BlockAttestationsResponse.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *BlockAttestationsResponse) Reset() { + *x = BlockAttestationsResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_eth_v1_beacon_chain_service_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *BlockAttestationsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_BlockAttestationsResponse.Merge(m, src) -} -func (m *BlockAttestationsResponse) XXX_Size() int { - return m.Size() + +func (x *BlockAttestationsResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *BlockAttestationsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_BlockAttestationsResponse.DiscardUnknown(m) + +func (*BlockAttestationsResponse) ProtoMessage() {} + +func (x *BlockAttestationsResponse) ProtoReflect() protoreflect.Message { + mi := &file_eth_v1_beacon_chain_service_proto_msgTypes[14] + 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) } -var xxx_messageInfo_BlockAttestationsResponse proto.InternalMessageInfo +// Deprecated: Use BlockAttestationsResponse.ProtoReflect.Descriptor instead. +func (*BlockAttestationsResponse) Descriptor() ([]byte, []int) { + return file_eth_v1_beacon_chain_service_proto_rawDescGZIP(), []int{14} +} -func (m *BlockAttestationsResponse) GetData() []*Attestation { - if m != nil { - return m.Data +func (x *BlockAttestationsResponse) GetData() []*Attestation { + if x != nil { + return x.Data } return nil } type BlockRootContainer struct { - Root []byte `protobuf:"bytes,1,opt,name=root,proto3" json:"root,omitempty" ssz-size:"32"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Root []byte `protobuf:"bytes,1,opt,name=root,proto3" json:"root,omitempty" ssz-size:"32"` } -func (m *BlockRootContainer) Reset() { *m = BlockRootContainer{} } -func (m *BlockRootContainer) String() string { return proto.CompactTextString(m) } -func (*BlockRootContainer) ProtoMessage() {} -func (*BlockRootContainer) Descriptor() ([]byte, []int) { - return fileDescriptor_33987dc4bca2a2e7, []int{15} -} -func (m *BlockRootContainer) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *BlockRootContainer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_BlockRootContainer.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *BlockRootContainer) Reset() { + *x = BlockRootContainer{} + if protoimpl.UnsafeEnabled { + mi := &file_eth_v1_beacon_chain_service_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *BlockRootContainer) XXX_Merge(src proto.Message) { - xxx_messageInfo_BlockRootContainer.Merge(m, src) -} -func (m *BlockRootContainer) XXX_Size() int { - return m.Size() + +func (x *BlockRootContainer) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *BlockRootContainer) XXX_DiscardUnknown() { - xxx_messageInfo_BlockRootContainer.DiscardUnknown(m) + +func (*BlockRootContainer) ProtoMessage() {} + +func (x *BlockRootContainer) ProtoReflect() protoreflect.Message { + mi := &file_eth_v1_beacon_chain_service_proto_msgTypes[15] + 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) } -var xxx_messageInfo_BlockRootContainer proto.InternalMessageInfo +// Deprecated: Use BlockRootContainer.ProtoReflect.Descriptor instead. +func (*BlockRootContainer) Descriptor() ([]byte, []int) { + return file_eth_v1_beacon_chain_service_proto_rawDescGZIP(), []int{15} +} -func (m *BlockRootContainer) GetRoot() []byte { - if m != nil { - return m.Root +func (x *BlockRootContainer) GetRoot() []byte { + if x != nil { + return x.Root } return nil } type BlockRootResponse struct { - Data *BlockRootContainer `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Data *BlockRootContainer `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` } -func (m *BlockRootResponse) Reset() { *m = BlockRootResponse{} } -func (m *BlockRootResponse) String() string { return proto.CompactTextString(m) } -func (*BlockRootResponse) ProtoMessage() {} -func (*BlockRootResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_33987dc4bca2a2e7, []int{16} -} -func (m *BlockRootResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *BlockRootResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_BlockRootResponse.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *BlockRootResponse) Reset() { + *x = BlockRootResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_eth_v1_beacon_chain_service_proto_msgTypes[16] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *BlockRootResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_BlockRootResponse.Merge(m, src) -} -func (m *BlockRootResponse) XXX_Size() int { - return m.Size() + +func (x *BlockRootResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *BlockRootResponse) XXX_DiscardUnknown() { - xxx_messageInfo_BlockRootResponse.DiscardUnknown(m) + +func (*BlockRootResponse) ProtoMessage() {} + +func (x *BlockRootResponse) ProtoReflect() protoreflect.Message { + mi := &file_eth_v1_beacon_chain_service_proto_msgTypes[16] + 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) } -var xxx_messageInfo_BlockRootResponse proto.InternalMessageInfo +// Deprecated: Use BlockRootResponse.ProtoReflect.Descriptor instead. +func (*BlockRootResponse) Descriptor() ([]byte, []int) { + return file_eth_v1_beacon_chain_service_proto_rawDescGZIP(), []int{16} +} -func (m *BlockRootResponse) GetData() *BlockRootContainer { - if m != nil { - return m.Data +func (x *BlockRootResponse) GetData() *BlockRootContainer { + if x != nil { + return x.Data } return nil } type BlockHeadersRequest struct { - Slot github_com_prysmaticlabs_eth2_types.Slot `protobuf:"varint,1,opt,name=slot,proto3,casttype=github.com/prysmaticlabs/eth2-types.Slot" json:"slot,omitempty"` - ParentRoot []byte `protobuf:"bytes,2,opt,name=parent_root,json=parentRoot,proto3" json:"parent_root,omitempty" ssz-size:"32"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Slot *github_com_prysmaticlabs_eth2_types.Slot `protobuf:"varint,1,opt,name=slot,proto3,oneof" json:"slot,omitempty" cast-type:"github.com/prysmaticlabs/eth2-types.Slot"` + ParentRoot []byte `protobuf:"bytes,2,opt,name=parent_root,json=parentRoot,proto3,oneof" json:"parent_root,omitempty" ssz-size:"32"` } -func (m *BlockHeadersRequest) Reset() { *m = BlockHeadersRequest{} } -func (m *BlockHeadersRequest) String() string { return proto.CompactTextString(m) } -func (*BlockHeadersRequest) ProtoMessage() {} -func (*BlockHeadersRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_33987dc4bca2a2e7, []int{17} -} -func (m *BlockHeadersRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *BlockHeadersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_BlockHeadersRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *BlockHeadersRequest) Reset() { + *x = BlockHeadersRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_eth_v1_beacon_chain_service_proto_msgTypes[17] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *BlockHeadersRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_BlockHeadersRequest.Merge(m, src) -} -func (m *BlockHeadersRequest) XXX_Size() int { - return m.Size() + +func (x *BlockHeadersRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *BlockHeadersRequest) XXX_DiscardUnknown() { - xxx_messageInfo_BlockHeadersRequest.DiscardUnknown(m) + +func (*BlockHeadersRequest) ProtoMessage() {} + +func (x *BlockHeadersRequest) ProtoReflect() protoreflect.Message { + mi := &file_eth_v1_beacon_chain_service_proto_msgTypes[17] + 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) } -var xxx_messageInfo_BlockHeadersRequest proto.InternalMessageInfo +// Deprecated: Use BlockHeadersRequest.ProtoReflect.Descriptor instead. +func (*BlockHeadersRequest) Descriptor() ([]byte, []int) { + return file_eth_v1_beacon_chain_service_proto_rawDescGZIP(), []int{17} +} -func (m *BlockHeadersRequest) GetSlot() github_com_prysmaticlabs_eth2_types.Slot { - if m != nil { - return m.Slot +func (x *BlockHeadersRequest) GetSlot() github_com_prysmaticlabs_eth2_types.Slot { + if x != nil && x.Slot != nil { + return *x.Slot } - return 0 + return github_com_prysmaticlabs_eth2_types.Slot(0) } -func (m *BlockHeadersRequest) GetParentRoot() []byte { - if m != nil { - return m.ParentRoot +func (x *BlockHeadersRequest) GetParentRoot() []byte { + if x != nil { + return x.ParentRoot } return nil } type BlockHeadersResponse struct { - Data []*BlockHeaderContainer `protobuf:"bytes,1,rep,name=data,proto3" json:"data,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Data []*BlockHeaderContainer `protobuf:"bytes,1,rep,name=data,proto3" json:"data,omitempty"` } -func (m *BlockHeadersResponse) Reset() { *m = BlockHeadersResponse{} } -func (m *BlockHeadersResponse) String() string { return proto.CompactTextString(m) } -func (*BlockHeadersResponse) ProtoMessage() {} -func (*BlockHeadersResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_33987dc4bca2a2e7, []int{18} -} -func (m *BlockHeadersResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *BlockHeadersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_BlockHeadersResponse.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *BlockHeadersResponse) Reset() { + *x = BlockHeadersResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_eth_v1_beacon_chain_service_proto_msgTypes[18] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *BlockHeadersResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_BlockHeadersResponse.Merge(m, src) -} -func (m *BlockHeadersResponse) XXX_Size() int { - return m.Size() + +func (x *BlockHeadersResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *BlockHeadersResponse) XXX_DiscardUnknown() { - xxx_messageInfo_BlockHeadersResponse.DiscardUnknown(m) + +func (*BlockHeadersResponse) ProtoMessage() {} + +func (x *BlockHeadersResponse) ProtoReflect() protoreflect.Message { + mi := &file_eth_v1_beacon_chain_service_proto_msgTypes[18] + 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) } -var xxx_messageInfo_BlockHeadersResponse proto.InternalMessageInfo +// Deprecated: Use BlockHeadersResponse.ProtoReflect.Descriptor instead. +func (*BlockHeadersResponse) Descriptor() ([]byte, []int) { + return file_eth_v1_beacon_chain_service_proto_rawDescGZIP(), []int{18} +} -func (m *BlockHeadersResponse) GetData() []*BlockHeaderContainer { - if m != nil { - return m.Data +func (x *BlockHeadersResponse) GetData() []*BlockHeaderContainer { + if x != nil { + return x.Data } return nil } type BlockRequest struct { - BlockId []byte `protobuf:"bytes,1,opt,name=block_id,json=blockId,proto3" json:"block_id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + BlockId []byte `protobuf:"bytes,1,opt,name=block_id,json=blockId,proto3" json:"block_id,omitempty"` } -func (m *BlockRequest) Reset() { *m = BlockRequest{} } -func (m *BlockRequest) String() string { return proto.CompactTextString(m) } -func (*BlockRequest) ProtoMessage() {} -func (*BlockRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_33987dc4bca2a2e7, []int{19} -} -func (m *BlockRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *BlockRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_BlockRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *BlockRequest) Reset() { + *x = BlockRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_eth_v1_beacon_chain_service_proto_msgTypes[19] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *BlockRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_BlockRequest.Merge(m, src) -} -func (m *BlockRequest) XXX_Size() int { - return m.Size() -} -func (m *BlockRequest) XXX_DiscardUnknown() { - xxx_messageInfo_BlockRequest.DiscardUnknown(m) + +func (x *BlockRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -var xxx_messageInfo_BlockRequest proto.InternalMessageInfo +func (*BlockRequest) ProtoMessage() {} -func (m *BlockRequest) GetBlockId() []byte { - if m != nil { - return m.BlockId +func (x *BlockRequest) ProtoReflect() protoreflect.Message { + mi := &file_eth_v1_beacon_chain_service_proto_msgTypes[19] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms } - return nil + return mi.MessageOf(x) } -type BlockHeaderResponse struct { - Data *BlockHeaderContainer `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +// Deprecated: Use BlockRequest.ProtoReflect.Descriptor instead. +func (*BlockRequest) Descriptor() ([]byte, []int) { + return file_eth_v1_beacon_chain_service_proto_rawDescGZIP(), []int{19} } -func (m *BlockHeaderResponse) Reset() { *m = BlockHeaderResponse{} } -func (m *BlockHeaderResponse) String() string { return proto.CompactTextString(m) } -func (*BlockHeaderResponse) ProtoMessage() {} -func (*BlockHeaderResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_33987dc4bca2a2e7, []int{20} -} -func (m *BlockHeaderResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *BlockHeaderResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_BlockHeaderResponse.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *BlockRequest) GetBlockId() []byte { + if x != nil { + return x.BlockId } + return nil +} + +type BlockHeaderResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Data *BlockHeaderContainer `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` } -func (m *BlockHeaderResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_BlockHeaderResponse.Merge(m, src) + +func (x *BlockHeaderResponse) Reset() { + *x = BlockHeaderResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_eth_v1_beacon_chain_service_proto_msgTypes[20] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *BlockHeaderResponse) XXX_Size() int { - return m.Size() + +func (x *BlockHeaderResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *BlockHeaderResponse) XXX_DiscardUnknown() { - xxx_messageInfo_BlockHeaderResponse.DiscardUnknown(m) + +func (*BlockHeaderResponse) ProtoMessage() {} + +func (x *BlockHeaderResponse) ProtoReflect() protoreflect.Message { + mi := &file_eth_v1_beacon_chain_service_proto_msgTypes[20] + 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) } -var xxx_messageInfo_BlockHeaderResponse proto.InternalMessageInfo +// Deprecated: Use BlockHeaderResponse.ProtoReflect.Descriptor instead. +func (*BlockHeaderResponse) Descriptor() ([]byte, []int) { + return file_eth_v1_beacon_chain_service_proto_rawDescGZIP(), []int{20} +} -func (m *BlockHeaderResponse) GetData() *BlockHeaderContainer { - if m != nil { - return m.Data +func (x *BlockHeaderResponse) GetData() *BlockHeaderContainer { + if x != nil { + return x.Data } return nil } type BlockHeaderContainer struct { - Root []byte `protobuf:"bytes,1,opt,name=root,proto3" json:"root,omitempty" ssz-size:"32"` - Canonical bool `protobuf:"varint,2,opt,name=canonical,proto3" json:"canonical,omitempty"` - Header *BeaconBlockHeaderContainer `protobuf:"bytes,3,opt,name=header,proto3" json:"header,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Root []byte `protobuf:"bytes,1,opt,name=root,proto3" json:"root,omitempty" ssz-size:"32"` + Canonical bool `protobuf:"varint,2,opt,name=canonical,proto3" json:"canonical,omitempty"` + Header *BeaconBlockHeaderContainer `protobuf:"bytes,3,opt,name=header,proto3" json:"header,omitempty"` } -func (m *BlockHeaderContainer) Reset() { *m = BlockHeaderContainer{} } -func (m *BlockHeaderContainer) String() string { return proto.CompactTextString(m) } -func (*BlockHeaderContainer) ProtoMessage() {} -func (*BlockHeaderContainer) Descriptor() ([]byte, []int) { - return fileDescriptor_33987dc4bca2a2e7, []int{21} -} -func (m *BlockHeaderContainer) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *BlockHeaderContainer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_BlockHeaderContainer.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *BlockHeaderContainer) Reset() { + *x = BlockHeaderContainer{} + if protoimpl.UnsafeEnabled { + mi := &file_eth_v1_beacon_chain_service_proto_msgTypes[21] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *BlockHeaderContainer) XXX_Merge(src proto.Message) { - xxx_messageInfo_BlockHeaderContainer.Merge(m, src) -} -func (m *BlockHeaderContainer) XXX_Size() int { - return m.Size() + +func (x *BlockHeaderContainer) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *BlockHeaderContainer) XXX_DiscardUnknown() { - xxx_messageInfo_BlockHeaderContainer.DiscardUnknown(m) + +func (*BlockHeaderContainer) ProtoMessage() {} + +func (x *BlockHeaderContainer) ProtoReflect() protoreflect.Message { + mi := &file_eth_v1_beacon_chain_service_proto_msgTypes[21] + 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) } -var xxx_messageInfo_BlockHeaderContainer proto.InternalMessageInfo +// Deprecated: Use BlockHeaderContainer.ProtoReflect.Descriptor instead. +func (*BlockHeaderContainer) Descriptor() ([]byte, []int) { + return file_eth_v1_beacon_chain_service_proto_rawDescGZIP(), []int{21} +} -func (m *BlockHeaderContainer) GetRoot() []byte { - if m != nil { - return m.Root +func (x *BlockHeaderContainer) GetRoot() []byte { + if x != nil { + return x.Root } return nil } -func (m *BlockHeaderContainer) GetCanonical() bool { - if m != nil { - return m.Canonical +func (x *BlockHeaderContainer) GetCanonical() bool { + if x != nil { + return x.Canonical } return false } -func (m *BlockHeaderContainer) GetHeader() *BeaconBlockHeaderContainer { - if m != nil { - return m.Header +func (x *BlockHeaderContainer) GetHeader() *BeaconBlockHeaderContainer { + if x != nil { + return x.Header } return nil } type BeaconBlockHeaderContainer struct { - Message *BeaconBlockHeader `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"` - Signature []byte `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty" ssz-size:"96"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Message *BeaconBlockHeader `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"` + Signature []byte `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty" ssz-size:"96"` } -func (m *BeaconBlockHeaderContainer) Reset() { *m = BeaconBlockHeaderContainer{} } -func (m *BeaconBlockHeaderContainer) String() string { return proto.CompactTextString(m) } -func (*BeaconBlockHeaderContainer) ProtoMessage() {} -func (*BeaconBlockHeaderContainer) Descriptor() ([]byte, []int) { - return fileDescriptor_33987dc4bca2a2e7, []int{22} -} -func (m *BeaconBlockHeaderContainer) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *BeaconBlockHeaderContainer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_BeaconBlockHeaderContainer.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *BeaconBlockHeaderContainer) Reset() { + *x = BeaconBlockHeaderContainer{} + if protoimpl.UnsafeEnabled { + mi := &file_eth_v1_beacon_chain_service_proto_msgTypes[22] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *BeaconBlockHeaderContainer) XXX_Merge(src proto.Message) { - xxx_messageInfo_BeaconBlockHeaderContainer.Merge(m, src) -} -func (m *BeaconBlockHeaderContainer) XXX_Size() int { - return m.Size() + +func (x *BeaconBlockHeaderContainer) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *BeaconBlockHeaderContainer) XXX_DiscardUnknown() { - xxx_messageInfo_BeaconBlockHeaderContainer.DiscardUnknown(m) + +func (*BeaconBlockHeaderContainer) ProtoMessage() {} + +func (x *BeaconBlockHeaderContainer) ProtoReflect() protoreflect.Message { + mi := &file_eth_v1_beacon_chain_service_proto_msgTypes[22] + 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) } -var xxx_messageInfo_BeaconBlockHeaderContainer proto.InternalMessageInfo +// Deprecated: Use BeaconBlockHeaderContainer.ProtoReflect.Descriptor instead. +func (*BeaconBlockHeaderContainer) Descriptor() ([]byte, []int) { + return file_eth_v1_beacon_chain_service_proto_rawDescGZIP(), []int{22} +} -func (m *BeaconBlockHeaderContainer) GetMessage() *BeaconBlockHeader { - if m != nil { - return m.Message +func (x *BeaconBlockHeaderContainer) GetMessage() *BeaconBlockHeader { + if x != nil { + return x.Message } return nil } -func (m *BeaconBlockHeaderContainer) GetSignature() []byte { - if m != nil { - return m.Signature +func (x *BeaconBlockHeaderContainer) GetSignature() []byte { + if x != nil { + return x.Signature } return nil } type BlockResponse struct { - Data *BeaconBlockContainer `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Data *BeaconBlockContainer `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` } -func (m *BlockResponse) Reset() { *m = BlockResponse{} } -func (m *BlockResponse) String() string { return proto.CompactTextString(m) } -func (*BlockResponse) ProtoMessage() {} -func (*BlockResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_33987dc4bca2a2e7, []int{23} -} -func (m *BlockResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *BlockResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_BlockResponse.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *BlockResponse) Reset() { + *x = BlockResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_eth_v1_beacon_chain_service_proto_msgTypes[23] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *BlockResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_BlockResponse.Merge(m, src) -} -func (m *BlockResponse) XXX_Size() int { - return m.Size() + +func (x *BlockResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *BlockResponse) XXX_DiscardUnknown() { - xxx_messageInfo_BlockResponse.DiscardUnknown(m) + +func (*BlockResponse) ProtoMessage() {} + +func (x *BlockResponse) ProtoReflect() protoreflect.Message { + mi := &file_eth_v1_beacon_chain_service_proto_msgTypes[23] + 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) } -var xxx_messageInfo_BlockResponse proto.InternalMessageInfo +// Deprecated: Use BlockResponse.ProtoReflect.Descriptor instead. +func (*BlockResponse) Descriptor() ([]byte, []int) { + return file_eth_v1_beacon_chain_service_proto_rawDescGZIP(), []int{23} +} -func (m *BlockResponse) GetData() *BeaconBlockContainer { - if m != nil { - return m.Data +func (x *BlockResponse) GetData() *BeaconBlockContainer { + if x != nil { + return x.Data } return nil } type BeaconBlockContainer struct { - Message *BeaconBlock `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"` - Signature []byte `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty" ssz-size:"96"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Message *BeaconBlock `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"` + Signature []byte `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty" ssz-size:"96"` } -func (m *BeaconBlockContainer) Reset() { *m = BeaconBlockContainer{} } -func (m *BeaconBlockContainer) String() string { return proto.CompactTextString(m) } -func (*BeaconBlockContainer) ProtoMessage() {} -func (*BeaconBlockContainer) Descriptor() ([]byte, []int) { - return fileDescriptor_33987dc4bca2a2e7, []int{24} -} -func (m *BeaconBlockContainer) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *BeaconBlockContainer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_BeaconBlockContainer.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *BeaconBlockContainer) Reset() { + *x = BeaconBlockContainer{} + if protoimpl.UnsafeEnabled { + mi := &file_eth_v1_beacon_chain_service_proto_msgTypes[24] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *BeaconBlockContainer) XXX_Merge(src proto.Message) { - xxx_messageInfo_BeaconBlockContainer.Merge(m, src) -} -func (m *BeaconBlockContainer) XXX_Size() int { - return m.Size() + +func (x *BeaconBlockContainer) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *BeaconBlockContainer) XXX_DiscardUnknown() { - xxx_messageInfo_BeaconBlockContainer.DiscardUnknown(m) + +func (*BeaconBlockContainer) ProtoMessage() {} + +func (x *BeaconBlockContainer) ProtoReflect() protoreflect.Message { + mi := &file_eth_v1_beacon_chain_service_proto_msgTypes[24] + 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) } -var xxx_messageInfo_BeaconBlockContainer proto.InternalMessageInfo +// Deprecated: Use BeaconBlockContainer.ProtoReflect.Descriptor instead. +func (*BeaconBlockContainer) Descriptor() ([]byte, []int) { + return file_eth_v1_beacon_chain_service_proto_rawDescGZIP(), []int{24} +} -func (m *BeaconBlockContainer) GetMessage() *BeaconBlock { - if m != nil { - return m.Message +func (x *BeaconBlockContainer) GetMessage() *BeaconBlock { + if x != nil { + return x.Message } return nil } -func (m *BeaconBlockContainer) GetSignature() []byte { - if m != nil { - return m.Signature +func (x *BeaconBlockContainer) GetSignature() []byte { + if x != nil { + return x.Signature } return nil } type AttestationsPoolRequest struct { - Slot github_com_prysmaticlabs_eth2_types.Slot `protobuf:"varint,1,opt,name=slot,proto3,casttype=github.com/prysmaticlabs/eth2-types.Slot" json:"slot,omitempty"` - CommitteeIndex github_com_prysmaticlabs_eth2_types.CommitteeIndex `protobuf:"varint,2,opt,name=committee_index,json=committeeIndex,proto3,casttype=github.com/prysmaticlabs/eth2-types.CommitteeIndex" json:"committee_index,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Slot *github_com_prysmaticlabs_eth2_types.Slot `protobuf:"varint,1,opt,name=slot,proto3,oneof" json:"slot,omitempty" cast-type:"github.com/prysmaticlabs/eth2-types.Slot"` + CommitteeIndex *github_com_prysmaticlabs_eth2_types.CommitteeIndex `protobuf:"varint,2,opt,name=committee_index,json=committeeIndex,proto3,oneof" json:"committee_index,omitempty" cast-type:"github.com/prysmaticlabs/eth2-types.CommitteeIndex"` } -func (m *AttestationsPoolRequest) Reset() { *m = AttestationsPoolRequest{} } -func (m *AttestationsPoolRequest) String() string { return proto.CompactTextString(m) } -func (*AttestationsPoolRequest) ProtoMessage() {} -func (*AttestationsPoolRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_33987dc4bca2a2e7, []int{25} -} -func (m *AttestationsPoolRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *AttestationsPoolRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_AttestationsPoolRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *AttestationsPoolRequest) Reset() { + *x = AttestationsPoolRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_eth_v1_beacon_chain_service_proto_msgTypes[25] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *AttestationsPoolRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_AttestationsPoolRequest.Merge(m, src) -} -func (m *AttestationsPoolRequest) XXX_Size() int { - return m.Size() + +func (x *AttestationsPoolRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *AttestationsPoolRequest) XXX_DiscardUnknown() { - xxx_messageInfo_AttestationsPoolRequest.DiscardUnknown(m) + +func (*AttestationsPoolRequest) ProtoMessage() {} + +func (x *AttestationsPoolRequest) ProtoReflect() protoreflect.Message { + mi := &file_eth_v1_beacon_chain_service_proto_msgTypes[25] + 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) } -var xxx_messageInfo_AttestationsPoolRequest proto.InternalMessageInfo +// Deprecated: Use AttestationsPoolRequest.ProtoReflect.Descriptor instead. +func (*AttestationsPoolRequest) Descriptor() ([]byte, []int) { + return file_eth_v1_beacon_chain_service_proto_rawDescGZIP(), []int{25} +} -func (m *AttestationsPoolRequest) GetSlot() github_com_prysmaticlabs_eth2_types.Slot { - if m != nil { - return m.Slot +func (x *AttestationsPoolRequest) GetSlot() github_com_prysmaticlabs_eth2_types.Slot { + if x != nil && x.Slot != nil { + return *x.Slot } - return 0 + return github_com_prysmaticlabs_eth2_types.Slot(0) } -func (m *AttestationsPoolRequest) GetCommitteeIndex() github_com_prysmaticlabs_eth2_types.CommitteeIndex { - if m != nil { - return m.CommitteeIndex +func (x *AttestationsPoolRequest) GetCommitteeIndex() github_com_prysmaticlabs_eth2_types.CommitteeIndex { + if x != nil && x.CommitteeIndex != nil { + return *x.CommitteeIndex } - return 0 + return github_com_prysmaticlabs_eth2_types.CommitteeIndex(0) } type SubmitAttestationsRequest struct { - Data []*Attestation `protobuf:"bytes,1,rep,name=data,proto3" json:"data,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Data []*Attestation `protobuf:"bytes,1,rep,name=data,proto3" json:"data,omitempty"` } -func (m *SubmitAttestationsRequest) Reset() { *m = SubmitAttestationsRequest{} } -func (m *SubmitAttestationsRequest) String() string { return proto.CompactTextString(m) } -func (*SubmitAttestationsRequest) ProtoMessage() {} -func (*SubmitAttestationsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_33987dc4bca2a2e7, []int{26} -} -func (m *SubmitAttestationsRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *SubmitAttestationsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_SubmitAttestationsRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *SubmitAttestationsRequest) Reset() { + *x = SubmitAttestationsRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_eth_v1_beacon_chain_service_proto_msgTypes[26] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *SubmitAttestationsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_SubmitAttestationsRequest.Merge(m, src) -} -func (m *SubmitAttestationsRequest) XXX_Size() int { - return m.Size() + +func (x *SubmitAttestationsRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *SubmitAttestationsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_SubmitAttestationsRequest.DiscardUnknown(m) + +func (*SubmitAttestationsRequest) ProtoMessage() {} + +func (x *SubmitAttestationsRequest) ProtoReflect() protoreflect.Message { + mi := &file_eth_v1_beacon_chain_service_proto_msgTypes[26] + 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) } -var xxx_messageInfo_SubmitAttestationsRequest proto.InternalMessageInfo +// Deprecated: Use SubmitAttestationsRequest.ProtoReflect.Descriptor instead. +func (*SubmitAttestationsRequest) Descriptor() ([]byte, []int) { + return file_eth_v1_beacon_chain_service_proto_rawDescGZIP(), []int{26} +} -func (m *SubmitAttestationsRequest) GetData() []*Attestation { - if m != nil { - return m.Data +func (x *SubmitAttestationsRequest) GetData() []*Attestation { + if x != nil { + return x.Data } return nil } type AttestationsPoolResponse struct { - Data []*Attestation `protobuf:"bytes,1,rep,name=data,proto3" json:"data,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Data []*Attestation `protobuf:"bytes,1,rep,name=data,proto3" json:"data,omitempty"` } -func (m *AttestationsPoolResponse) Reset() { *m = AttestationsPoolResponse{} } -func (m *AttestationsPoolResponse) String() string { return proto.CompactTextString(m) } -func (*AttestationsPoolResponse) ProtoMessage() {} -func (*AttestationsPoolResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_33987dc4bca2a2e7, []int{27} -} -func (m *AttestationsPoolResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *AttestationsPoolResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_AttestationsPoolResponse.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *AttestationsPoolResponse) Reset() { + *x = AttestationsPoolResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_eth_v1_beacon_chain_service_proto_msgTypes[27] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *AttestationsPoolResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_AttestationsPoolResponse.Merge(m, src) -} -func (m *AttestationsPoolResponse) XXX_Size() int { - return m.Size() + +func (x *AttestationsPoolResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *AttestationsPoolResponse) XXX_DiscardUnknown() { - xxx_messageInfo_AttestationsPoolResponse.DiscardUnknown(m) + +func (*AttestationsPoolResponse) ProtoMessage() {} + +func (x *AttestationsPoolResponse) ProtoReflect() protoreflect.Message { + mi := &file_eth_v1_beacon_chain_service_proto_msgTypes[27] + 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) } -var xxx_messageInfo_AttestationsPoolResponse proto.InternalMessageInfo +// Deprecated: Use AttestationsPoolResponse.ProtoReflect.Descriptor instead. +func (*AttestationsPoolResponse) Descriptor() ([]byte, []int) { + return file_eth_v1_beacon_chain_service_proto_rawDescGZIP(), []int{27} +} -func (m *AttestationsPoolResponse) GetData() []*Attestation { - if m != nil { - return m.Data +func (x *AttestationsPoolResponse) GetData() []*Attestation { + if x != nil { + return x.Data } return nil } type AttesterSlashingsPoolResponse struct { - Data []*AttesterSlashing `protobuf:"bytes,1,rep,name=data,proto3" json:"data,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Data []*AttesterSlashing `protobuf:"bytes,1,rep,name=data,proto3" json:"data,omitempty"` } -func (m *AttesterSlashingsPoolResponse) Reset() { *m = AttesterSlashingsPoolResponse{} } -func (m *AttesterSlashingsPoolResponse) String() string { return proto.CompactTextString(m) } -func (*AttesterSlashingsPoolResponse) ProtoMessage() {} -func (*AttesterSlashingsPoolResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_33987dc4bca2a2e7, []int{28} -} -func (m *AttesterSlashingsPoolResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *AttesterSlashingsPoolResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_AttesterSlashingsPoolResponse.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *AttesterSlashingsPoolResponse) Reset() { + *x = AttesterSlashingsPoolResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_eth_v1_beacon_chain_service_proto_msgTypes[28] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *AttesterSlashingsPoolResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_AttesterSlashingsPoolResponse.Merge(m, src) -} -func (m *AttesterSlashingsPoolResponse) XXX_Size() int { - return m.Size() + +func (x *AttesterSlashingsPoolResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *AttesterSlashingsPoolResponse) XXX_DiscardUnknown() { - xxx_messageInfo_AttesterSlashingsPoolResponse.DiscardUnknown(m) + +func (*AttesterSlashingsPoolResponse) ProtoMessage() {} + +func (x *AttesterSlashingsPoolResponse) ProtoReflect() protoreflect.Message { + mi := &file_eth_v1_beacon_chain_service_proto_msgTypes[28] + 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) } -var xxx_messageInfo_AttesterSlashingsPoolResponse proto.InternalMessageInfo +// Deprecated: Use AttesterSlashingsPoolResponse.ProtoReflect.Descriptor instead. +func (*AttesterSlashingsPoolResponse) Descriptor() ([]byte, []int) { + return file_eth_v1_beacon_chain_service_proto_rawDescGZIP(), []int{28} +} -func (m *AttesterSlashingsPoolResponse) GetData() []*AttesterSlashing { - if m != nil { - return m.Data +func (x *AttesterSlashingsPoolResponse) GetData() []*AttesterSlashing { + if x != nil { + return x.Data } return nil } type ProposerSlashingPoolResponse struct { - Data []*ProposerSlashing `protobuf:"bytes,1,rep,name=data,proto3" json:"data,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Data []*ProposerSlashing `protobuf:"bytes,1,rep,name=data,proto3" json:"data,omitempty"` } -func (m *ProposerSlashingPoolResponse) Reset() { *m = ProposerSlashingPoolResponse{} } -func (m *ProposerSlashingPoolResponse) String() string { return proto.CompactTextString(m) } -func (*ProposerSlashingPoolResponse) ProtoMessage() {} -func (*ProposerSlashingPoolResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_33987dc4bca2a2e7, []int{29} -} -func (m *ProposerSlashingPoolResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *ProposerSlashingPoolResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_ProposerSlashingPoolResponse.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *ProposerSlashingPoolResponse) Reset() { + *x = ProposerSlashingPoolResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_eth_v1_beacon_chain_service_proto_msgTypes[29] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *ProposerSlashingPoolResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ProposerSlashingPoolResponse.Merge(m, src) -} -func (m *ProposerSlashingPoolResponse) XXX_Size() int { - return m.Size() + +func (x *ProposerSlashingPoolResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ProposerSlashingPoolResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ProposerSlashingPoolResponse.DiscardUnknown(m) + +func (*ProposerSlashingPoolResponse) ProtoMessage() {} + +func (x *ProposerSlashingPoolResponse) ProtoReflect() protoreflect.Message { + mi := &file_eth_v1_beacon_chain_service_proto_msgTypes[29] + 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) } -var xxx_messageInfo_ProposerSlashingPoolResponse proto.InternalMessageInfo +// Deprecated: Use ProposerSlashingPoolResponse.ProtoReflect.Descriptor instead. +func (*ProposerSlashingPoolResponse) Descriptor() ([]byte, []int) { + return file_eth_v1_beacon_chain_service_proto_rawDescGZIP(), []int{29} +} -func (m *ProposerSlashingPoolResponse) GetData() []*ProposerSlashing { - if m != nil { - return m.Data +func (x *ProposerSlashingPoolResponse) GetData() []*ProposerSlashing { + if x != nil { + return x.Data } return nil } type VoluntaryExitsPoolResponse struct { - Data []*SignedVoluntaryExit `protobuf:"bytes,1,rep,name=data,proto3" json:"data,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Data []*SignedVoluntaryExit `protobuf:"bytes,1,rep,name=data,proto3" json:"data,omitempty"` } -func (m *VoluntaryExitsPoolResponse) Reset() { *m = VoluntaryExitsPoolResponse{} } -func (m *VoluntaryExitsPoolResponse) String() string { return proto.CompactTextString(m) } -func (*VoluntaryExitsPoolResponse) ProtoMessage() {} -func (*VoluntaryExitsPoolResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_33987dc4bca2a2e7, []int{30} -} -func (m *VoluntaryExitsPoolResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *VoluntaryExitsPoolResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_VoluntaryExitsPoolResponse.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *VoluntaryExitsPoolResponse) Reset() { + *x = VoluntaryExitsPoolResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_eth_v1_beacon_chain_service_proto_msgTypes[30] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *VoluntaryExitsPoolResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_VoluntaryExitsPoolResponse.Merge(m, src) -} -func (m *VoluntaryExitsPoolResponse) XXX_Size() int { - return m.Size() + +func (x *VoluntaryExitsPoolResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *VoluntaryExitsPoolResponse) XXX_DiscardUnknown() { - xxx_messageInfo_VoluntaryExitsPoolResponse.DiscardUnknown(m) + +func (*VoluntaryExitsPoolResponse) ProtoMessage() {} + +func (x *VoluntaryExitsPoolResponse) ProtoReflect() protoreflect.Message { + mi := &file_eth_v1_beacon_chain_service_proto_msgTypes[30] + 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) } -var xxx_messageInfo_VoluntaryExitsPoolResponse proto.InternalMessageInfo +// Deprecated: Use VoluntaryExitsPoolResponse.ProtoReflect.Descriptor instead. +func (*VoluntaryExitsPoolResponse) Descriptor() ([]byte, []int) { + return file_eth_v1_beacon_chain_service_proto_rawDescGZIP(), []int{30} +} -func (m *VoluntaryExitsPoolResponse) GetData() []*SignedVoluntaryExit { - if m != nil { - return m.Data +func (x *VoluntaryExitsPoolResponse) GetData() []*SignedVoluntaryExit { + if x != nil { + return x.Data } return nil } type ForkScheduleResponse struct { - Data []*Fork `protobuf:"bytes,1,rep,name=data,proto3" json:"data,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Data []*Fork `protobuf:"bytes,1,rep,name=data,proto3" json:"data,omitempty"` } -func (m *ForkScheduleResponse) Reset() { *m = ForkScheduleResponse{} } -func (m *ForkScheduleResponse) String() string { return proto.CompactTextString(m) } -func (*ForkScheduleResponse) ProtoMessage() {} -func (*ForkScheduleResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_33987dc4bca2a2e7, []int{31} -} -func (m *ForkScheduleResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *ForkScheduleResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_ForkScheduleResponse.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *ForkScheduleResponse) Reset() { + *x = ForkScheduleResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_eth_v1_beacon_chain_service_proto_msgTypes[31] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *ForkScheduleResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ForkScheduleResponse.Merge(m, src) -} -func (m *ForkScheduleResponse) XXX_Size() int { - return m.Size() + +func (x *ForkScheduleResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ForkScheduleResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ForkScheduleResponse.DiscardUnknown(m) + +func (*ForkScheduleResponse) ProtoMessage() {} + +func (x *ForkScheduleResponse) ProtoReflect() protoreflect.Message { + mi := &file_eth_v1_beacon_chain_service_proto_msgTypes[31] + 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) } -var xxx_messageInfo_ForkScheduleResponse proto.InternalMessageInfo +// Deprecated: Use ForkScheduleResponse.ProtoReflect.Descriptor instead. +func (*ForkScheduleResponse) Descriptor() ([]byte, []int) { + return file_eth_v1_beacon_chain_service_proto_rawDescGZIP(), []int{31} +} -func (m *ForkScheduleResponse) GetData() []*Fork { - if m != nil { - return m.Data +func (x *ForkScheduleResponse) GetData() []*Fork { + if x != nil { + return x.Data } return nil } type SpecResponse struct { - Data map[string]string `protobuf:"bytes,1,rep,name=data,proto3" json:"data,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Data map[string]string `protobuf:"bytes,1,rep,name=data,proto3" json:"data,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` } -func (m *SpecResponse) Reset() { *m = SpecResponse{} } -func (m *SpecResponse) String() string { return proto.CompactTextString(m) } -func (*SpecResponse) ProtoMessage() {} -func (*SpecResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_33987dc4bca2a2e7, []int{32} -} -func (m *SpecResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *SpecResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_SpecResponse.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *SpecResponse) Reset() { + *x = SpecResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_eth_v1_beacon_chain_service_proto_msgTypes[32] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *SpecResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_SpecResponse.Merge(m, src) -} -func (m *SpecResponse) XXX_Size() int { - return m.Size() + +func (x *SpecResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *SpecResponse) XXX_DiscardUnknown() { - xxx_messageInfo_SpecResponse.DiscardUnknown(m) + +func (*SpecResponse) ProtoMessage() {} + +func (x *SpecResponse) ProtoReflect() protoreflect.Message { + mi := &file_eth_v1_beacon_chain_service_proto_msgTypes[32] + 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) } -var xxx_messageInfo_SpecResponse proto.InternalMessageInfo +// Deprecated: Use SpecResponse.ProtoReflect.Descriptor instead. +func (*SpecResponse) Descriptor() ([]byte, []int) { + return file_eth_v1_beacon_chain_service_proto_rawDescGZIP(), []int{32} +} -func (m *SpecResponse) GetData() map[string]string { - if m != nil { - return m.Data +func (x *SpecResponse) GetData() map[string]string { + if x != nil { + return x.Data } return nil } type DepositContractResponse struct { - Data *DepositContract `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Data *DepositContract `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` } -func (m *DepositContractResponse) Reset() { *m = DepositContractResponse{} } -func (m *DepositContractResponse) String() string { return proto.CompactTextString(m) } -func (*DepositContractResponse) ProtoMessage() {} -func (*DepositContractResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_33987dc4bca2a2e7, []int{33} -} -func (m *DepositContractResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *DepositContractResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_DepositContractResponse.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *DepositContractResponse) Reset() { + *x = DepositContractResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_eth_v1_beacon_chain_service_proto_msgTypes[33] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *DepositContractResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_DepositContractResponse.Merge(m, src) -} -func (m *DepositContractResponse) XXX_Size() int { - return m.Size() + +func (x *DepositContractResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *DepositContractResponse) XXX_DiscardUnknown() { - xxx_messageInfo_DepositContractResponse.DiscardUnknown(m) + +func (*DepositContractResponse) ProtoMessage() {} + +func (x *DepositContractResponse) ProtoReflect() protoreflect.Message { + mi := &file_eth_v1_beacon_chain_service_proto_msgTypes[33] + 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) } -var xxx_messageInfo_DepositContractResponse proto.InternalMessageInfo +// Deprecated: Use DepositContractResponse.ProtoReflect.Descriptor instead. +func (*DepositContractResponse) Descriptor() ([]byte, []int) { + return file_eth_v1_beacon_chain_service_proto_rawDescGZIP(), []int{33} +} -func (m *DepositContractResponse) GetData() *DepositContract { - if m != nil { - return m.Data +func (x *DepositContractResponse) GetData() *DepositContract { + if x != nil { + return x.Data } return nil } type DepositContract struct { - ChainId uint64 `protobuf:"varint,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"` - Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ChainId uint64 `protobuf:"varint,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"` + Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"` +} + +func (x *DepositContract) Reset() { + *x = DepositContract{} + if protoimpl.UnsafeEnabled { + mi := &file_eth_v1_beacon_chain_service_proto_msgTypes[34] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DepositContract) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *DepositContract) Reset() { *m = DepositContract{} } -func (m *DepositContract) String() string { return proto.CompactTextString(m) } -func (*DepositContract) ProtoMessage() {} +func (*DepositContract) ProtoMessage() {} + +func (x *DepositContract) ProtoReflect() protoreflect.Message { + mi := &file_eth_v1_beacon_chain_service_proto_msgTypes[34] + 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 DepositContract.ProtoReflect.Descriptor instead. func (*DepositContract) Descriptor() ([]byte, []int) { - return fileDescriptor_33987dc4bca2a2e7, []int{34} -} -func (m *DepositContract) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *DepositContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_DepositContract.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err + return file_eth_v1_beacon_chain_service_proto_rawDescGZIP(), []int{34} +} + +func (x *DepositContract) GetChainId() uint64 { + if x != nil { + return x.ChainId + } + return 0 +} + +func (x *DepositContract) GetAddress() string { + if x != nil { + return x.Address + } + return "" +} + +type GenesisResponse_Genesis struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + GenesisTime *timestamp.Timestamp `protobuf:"bytes,1,opt,name=genesis_time,json=genesisTime,proto3" json:"genesis_time,omitempty"` + GenesisValidatorsRoot []byte `protobuf:"bytes,2,opt,name=genesis_validators_root,json=genesisValidatorsRoot,proto3" json:"genesis_validators_root,omitempty" ssz-size:"32"` + GenesisForkVersion []byte `protobuf:"bytes,3,opt,name=genesis_fork_version,json=genesisForkVersion,proto3" json:"genesis_fork_version,omitempty" ssz-size:"4"` +} + +func (x *GenesisResponse_Genesis) Reset() { + *x = GenesisResponse_Genesis{} + if protoimpl.UnsafeEnabled { + mi := &file_eth_v1_beacon_chain_service_proto_msgTypes[35] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GenesisResponse_Genesis) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GenesisResponse_Genesis) ProtoMessage() {} + +func (x *GenesisResponse_Genesis) ProtoReflect() protoreflect.Message { + mi := &file_eth_v1_beacon_chain_service_proto_msgTypes[35] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - return b[:n], nil + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GenesisResponse_Genesis.ProtoReflect.Descriptor instead. +func (*GenesisResponse_Genesis) Descriptor() ([]byte, []int) { + return file_eth_v1_beacon_chain_service_proto_rawDescGZIP(), []int{0, 0} +} + +func (x *GenesisResponse_Genesis) GetGenesisTime() *timestamp.Timestamp { + if x != nil { + return x.GenesisTime + } + return nil +} + +func (x *GenesisResponse_Genesis) GetGenesisValidatorsRoot() []byte { + if x != nil { + return x.GenesisValidatorsRoot + } + return nil +} + +func (x *GenesisResponse_Genesis) GetGenesisForkVersion() []byte { + if x != nil { + return x.GenesisForkVersion } + return nil } -func (m *DepositContract) XXX_Merge(src proto.Message) { - xxx_messageInfo_DepositContract.Merge(m, src) + +type StateRootResponse_StateRoot struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + StateRoot []byte `protobuf:"bytes,1,opt,name=state_root,json=stateRoot,proto3" json:"state_root,omitempty" ssz-size:"32"` } -func (m *DepositContract) XXX_Size() int { - return m.Size() + +func (x *StateRootResponse_StateRoot) Reset() { + *x = StateRootResponse_StateRoot{} + if protoimpl.UnsafeEnabled { + mi := &file_eth_v1_beacon_chain_service_proto_msgTypes[36] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *DepositContract) XXX_DiscardUnknown() { - xxx_messageInfo_DepositContract.DiscardUnknown(m) + +func (x *StateRootResponse_StateRoot) String() string { + return protoimpl.X.MessageStringOf(x) } -var xxx_messageInfo_DepositContract proto.InternalMessageInfo +func (*StateRootResponse_StateRoot) ProtoMessage() {} -func (m *DepositContract) GetChainId() uint64 { - if m != nil { - return m.ChainId +func (x *StateRootResponse_StateRoot) ProtoReflect() protoreflect.Message { + mi := &file_eth_v1_beacon_chain_service_proto_msgTypes[36] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms } - return 0 + return mi.MessageOf(x) } -func (m *DepositContract) GetAddress() string { - if m != nil { - return m.Address +// Deprecated: Use StateRootResponse_StateRoot.ProtoReflect.Descriptor instead. +func (*StateRootResponse_StateRoot) Descriptor() ([]byte, []int) { + return file_eth_v1_beacon_chain_service_proto_rawDescGZIP(), []int{2, 0} +} + +func (x *StateRootResponse_StateRoot) GetStateRoot() []byte { + if x != nil { + return x.StateRoot } - return "" + return nil +} + +type StateFinalityCheckpointResponse_StateFinalityCheckpoint struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + PreviousJustified *Checkpoint `protobuf:"bytes,1,opt,name=previous_justified,json=previousJustified,proto3" json:"previous_justified,omitempty"` + CurrentJustified *Checkpoint `protobuf:"bytes,2,opt,name=current_justified,json=currentJustified,proto3" json:"current_justified,omitempty"` + Finalized *Checkpoint `protobuf:"bytes,3,opt,name=finalized,proto3" json:"finalized,omitempty"` +} + +func (x *StateFinalityCheckpointResponse_StateFinalityCheckpoint) Reset() { + *x = StateFinalityCheckpointResponse_StateFinalityCheckpoint{} + if protoimpl.UnsafeEnabled { + mi := &file_eth_v1_beacon_chain_service_proto_msgTypes[37] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *StateFinalityCheckpointResponse_StateFinalityCheckpoint) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*StateFinalityCheckpointResponse_StateFinalityCheckpoint) ProtoMessage() {} + +func (x *StateFinalityCheckpointResponse_StateFinalityCheckpoint) ProtoReflect() protoreflect.Message { + mi := &file_eth_v1_beacon_chain_service_proto_msgTypes[37] + 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) } -func init() { - proto.RegisterType((*GenesisResponse)(nil), "ethereum.eth.v1.GenesisResponse") - proto.RegisterType((*GenesisResponse_Genesis)(nil), "ethereum.eth.v1.GenesisResponse.Genesis") - proto.RegisterType((*StateRequest)(nil), "ethereum.eth.v1.StateRequest") - proto.RegisterType((*StateRootResponse)(nil), "ethereum.eth.v1.StateRootResponse") - proto.RegisterType((*StateRootResponse_StateRoot)(nil), "ethereum.eth.v1.StateRootResponse.StateRoot") - proto.RegisterType((*StateForkResponse)(nil), "ethereum.eth.v1.StateForkResponse") - proto.RegisterType((*StateFinalityCheckpointResponse)(nil), "ethereum.eth.v1.StateFinalityCheckpointResponse") - proto.RegisterType((*StateFinalityCheckpointResponse_StateFinalityCheckpoint)(nil), "ethereum.eth.v1.StateFinalityCheckpointResponse.StateFinalityCheckpoint") - proto.RegisterType((*StateValidatorsRequest)(nil), "ethereum.eth.v1.StateValidatorsRequest") - proto.RegisterType((*ValidatorBalancesRequest)(nil), "ethereum.eth.v1.ValidatorBalancesRequest") - proto.RegisterType((*StateValidatorsResponse)(nil), "ethereum.eth.v1.StateValidatorsResponse") - proto.RegisterType((*ValidatorBalancesResponse)(nil), "ethereum.eth.v1.ValidatorBalancesResponse") - proto.RegisterType((*ValidatorBalance)(nil), "ethereum.eth.v1.ValidatorBalance") - proto.RegisterType((*StateValidatorRequest)(nil), "ethereum.eth.v1.StateValidatorRequest") - proto.RegisterType((*StateValidatorResponse)(nil), "ethereum.eth.v1.StateValidatorResponse") - proto.RegisterType((*StateCommitteesRequest)(nil), "ethereum.eth.v1.StateCommitteesRequest") - proto.RegisterType((*StateCommitteesResponse)(nil), "ethereum.eth.v1.StateCommitteesResponse") - proto.RegisterType((*BlockAttestationsResponse)(nil), "ethereum.eth.v1.BlockAttestationsResponse") - proto.RegisterType((*BlockRootContainer)(nil), "ethereum.eth.v1.BlockRootContainer") - proto.RegisterType((*BlockRootResponse)(nil), "ethereum.eth.v1.BlockRootResponse") - proto.RegisterType((*BlockHeadersRequest)(nil), "ethereum.eth.v1.BlockHeadersRequest") - proto.RegisterType((*BlockHeadersResponse)(nil), "ethereum.eth.v1.BlockHeadersResponse") - proto.RegisterType((*BlockRequest)(nil), "ethereum.eth.v1.BlockRequest") - proto.RegisterType((*BlockHeaderResponse)(nil), "ethereum.eth.v1.BlockHeaderResponse") - proto.RegisterType((*BlockHeaderContainer)(nil), "ethereum.eth.v1.BlockHeaderContainer") - proto.RegisterType((*BeaconBlockHeaderContainer)(nil), "ethereum.eth.v1.BeaconBlockHeaderContainer") - proto.RegisterType((*BlockResponse)(nil), "ethereum.eth.v1.BlockResponse") - proto.RegisterType((*BeaconBlockContainer)(nil), "ethereum.eth.v1.BeaconBlockContainer") - proto.RegisterType((*AttestationsPoolRequest)(nil), "ethereum.eth.v1.AttestationsPoolRequest") - proto.RegisterType((*SubmitAttestationsRequest)(nil), "ethereum.eth.v1.SubmitAttestationsRequest") - proto.RegisterType((*AttestationsPoolResponse)(nil), "ethereum.eth.v1.AttestationsPoolResponse") - proto.RegisterType((*AttesterSlashingsPoolResponse)(nil), "ethereum.eth.v1.AttesterSlashingsPoolResponse") - proto.RegisterType((*ProposerSlashingPoolResponse)(nil), "ethereum.eth.v1.ProposerSlashingPoolResponse") - proto.RegisterType((*VoluntaryExitsPoolResponse)(nil), "ethereum.eth.v1.VoluntaryExitsPoolResponse") - proto.RegisterType((*ForkScheduleResponse)(nil), "ethereum.eth.v1.ForkScheduleResponse") - proto.RegisterType((*SpecResponse)(nil), "ethereum.eth.v1.SpecResponse") - proto.RegisterMapType((map[string]string)(nil), "ethereum.eth.v1.SpecResponse.DataEntry") - proto.RegisterType((*DepositContractResponse)(nil), "ethereum.eth.v1.DepositContractResponse") - proto.RegisterType((*DepositContract)(nil), "ethereum.eth.v1.DepositContract") -} - -func init() { proto.RegisterFile("eth/v1/beacon_chain_service.proto", fileDescriptor_33987dc4bca2a2e7) } - -var fileDescriptor_33987dc4bca2a2e7 = []byte{ - // 2068 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x58, 0xcd, 0x6f, 0x1b, 0xc7, - 0x15, 0xc7, 0x4a, 0x8a, 0x65, 0x3e, 0x31, 0x96, 0x3c, 0xd6, 0x27, 0x2d, 0xeb, 0x63, 0x6d, 0xc5, - 0x54, 0x6c, 0x91, 0xb6, 0x1c, 0xdb, 0xf1, 0x57, 0x91, 0x50, 0x51, 0x64, 0x19, 0x2e, 0xaa, 0xac, - 0x1a, 0x1f, 0x5a, 0x17, 0xc4, 0x72, 0x39, 0x22, 0xb7, 0x22, 0x77, 0xb6, 0x3b, 0x43, 0x22, 0xb2, - 0x61, 0x38, 0x48, 0x0b, 0x14, 0x68, 0x6f, 0x4d, 0x0b, 0xb4, 0xb7, 0x00, 0xbd, 0xf4, 0xe3, 0x5f, - 0xe8, 0x1f, 0x50, 0xf4, 0x14, 0xa0, 0x87, 0xde, 0x84, 0xc2, 0xe8, 0xa9, 0xe8, 0x29, 0xb7, 0xfa, - 0x54, 0xcc, 0xec, 0xec, 0xf7, 0xae, 0x96, 0x74, 0x73, 0xe3, 0xec, 0xbc, 0xf7, 0x7b, 0xbf, 0xf7, - 0xdb, 0xd9, 0x37, 0xef, 0x11, 0x56, 0x31, 0x6b, 0x57, 0xfb, 0xd7, 0xab, 0x0d, 0xac, 0x1b, 0xc4, - 0xaa, 0x1b, 0x6d, 0xdd, 0xb4, 0xea, 0x14, 0x3b, 0x7d, 0xd3, 0xc0, 0x15, 0xdb, 0x21, 0x8c, 0xa0, - 0x49, 0xcc, 0xda, 0xd8, 0xc1, 0xbd, 0x6e, 0x05, 0xb3, 0x76, 0xa5, 0x7f, 0xbd, 0xb4, 0xd1, 0x32, - 0x59, 0xbb, 0xd7, 0xa8, 0x18, 0xa4, 0x5b, 0x6d, 0x91, 0x16, 0xa9, 0x0a, 0xbb, 0x46, 0xef, 0x40, - 0xac, 0xc4, 0x42, 0xfc, 0x72, 0xfd, 0x4b, 0x8b, 0x2d, 0x42, 0x5a, 0x1d, 0x5c, 0xd5, 0x6d, 0xb3, - 0xaa, 0x5b, 0x16, 0x61, 0x3a, 0x33, 0x89, 0x45, 0xe5, 0xee, 0x79, 0xb9, 0xeb, 0x63, 0xe0, 0xae, - 0xcd, 0x8e, 0xe4, 0xe6, 0x72, 0x7c, 0x93, 0x99, 0x5d, 0x4c, 0x99, 0xde, 0xb5, 0xa5, 0xc1, 0xbc, - 0xa4, 0xaf, 0x33, 0xc6, 0x9f, 0x73, 0x60, 0xb9, 0xb3, 0x10, 0x4d, 0xac, 0xd1, 0x21, 0xc6, 0x61, - 0xfa, 0x16, 0xf7, 0x93, 0xb9, 0x96, 0x66, 0xe5, 0x56, 0x5f, 0xef, 0x98, 0x4d, 0x9d, 0x11, 0xc7, - 0x7d, 0xae, 0xfe, 0x71, 0x04, 0x26, 0x77, 0xb0, 0x85, 0xa9, 0x49, 0x35, 0x4c, 0x6d, 0x62, 0x51, - 0x8c, 0xee, 0xc3, 0x58, 0x53, 0x67, 0xfa, 0xbc, 0xb2, 0xa2, 0x94, 0x27, 0x36, 0xcb, 0x95, 0x98, - 0x4c, 0x95, 0x98, 0xbd, 0xbf, 0x16, 0x5e, 0xa5, 0x7f, 0x28, 0x30, 0x2e, 0x9f, 0xa0, 0x07, 0x50, - 0x6c, 0xb9, 0x3f, 0xeb, 0x3c, 0x41, 0x89, 0x58, 0xaa, 0xb8, 0xd9, 0x57, 0xbc, 0xec, 0x2b, 0xdf, - 0xf7, 0xb2, 0xd7, 0x26, 0xa4, 0x3d, 0x7f, 0x82, 0x76, 0x61, 0xce, 0x73, 0xf7, 0x79, 0xd3, 0xba, - 0x43, 0x08, 0x9b, 0x1f, 0x59, 0x51, 0xca, 0xc5, 0xda, 0xd9, 0x6f, 0x8e, 0x97, 0xdf, 0xa6, 0xf4, - 0xd9, 0x06, 0x35, 0x9f, 0xe1, 0xbb, 0xea, 0x8d, 0x4d, 0x55, 0x9b, 0x91, 0x1e, 0x4f, 0x7c, 0x07, - 0x8d, 0x10, 0x86, 0x6a, 0x30, 0xed, 0x41, 0x1d, 0x10, 0xe7, 0xb0, 0xde, 0xc7, 0x0e, 0x35, 0x89, - 0x35, 0x3f, 0x2a, 0x70, 0xa6, 0xbe, 0x39, 0x5e, 0x2e, 0x06, 0x38, 0xef, 0xa9, 0x1a, 0x92, 0xd6, - 0x1f, 0x13, 0xe7, 0xf0, 0x89, 0x6b, 0xab, 0xae, 0x43, 0x71, 0x9f, 0x4b, 0xaa, 0xe1, 0x9f, 0xf4, - 0x30, 0x65, 0x68, 0x01, 0x4e, 0x0b, 0x89, 0xeb, 0x66, 0x53, 0x64, 0x56, 0xd4, 0xc6, 0xc5, 0x7a, - 0xb7, 0xa9, 0xfe, 0x5a, 0x81, 0xb3, 0xae, 0x2d, 0x21, 0xcc, 0x17, 0xf6, 0x83, 0x88, 0xb0, 0x57, - 0x13, 0xc2, 0x26, 0x3c, 0x42, 0x4f, 0x5c, 0x71, 0x1f, 0x40, 0xc1, 0x7f, 0x84, 0xae, 0x01, 0xb8, - 0xf1, 0x85, 0x22, 0x4a, 0x96, 0x22, 0x05, 0xea, 0x79, 0xa8, 0xdf, 0x91, 0xac, 0x78, 0x56, 0x3e, - 0xab, 0xf5, 0x08, 0xab, 0x99, 0x04, 0x2b, 0x61, 0x2c, 0x4c, 0xd4, 0xff, 0x8c, 0xc0, 0xb2, 0x0b, - 0x60, 0x5a, 0x7a, 0xc7, 0x64, 0x47, 0x5b, 0x6d, 0x6c, 0x1c, 0xda, 0xc4, 0xb4, 0x82, 0x24, 0x9f, - 0x46, 0xe0, 0x1e, 0xa6, 0x27, 0x99, 0xed, 0x9f, 0xb9, 0xef, 0x0a, 0xf0, 0x6f, 0x05, 0xe6, 0x32, - 0x2c, 0xd0, 0x23, 0x40, 0xb6, 0x83, 0xfb, 0x26, 0xe9, 0xd1, 0xfa, 0x8f, 0x7b, 0x94, 0x99, 0x07, - 0x26, 0x6e, 0x4a, 0x1e, 0xe7, 0x13, 0x3c, 0x42, 0xd0, 0x67, 0x3d, 0xb7, 0x47, 0x9e, 0x17, 0x7a, - 0x08, 0x67, 0x8d, 0x9e, 0xe3, 0x60, 0x8b, 0x85, 0xa0, 0x46, 0xf2, 0xa1, 0xa6, 0xa4, 0x57, 0x80, - 0x74, 0x07, 0x0a, 0x07, 0x82, 0xeb, 0x33, 0xdc, 0x14, 0xc7, 0x2d, 0x07, 0x21, 0xb0, 0x56, 0x7f, - 0x08, 0xb3, 0x22, 0xd7, 0xd0, 0x59, 0xce, 0x3d, 0x7a, 0xe8, 0x0c, 0x8c, 0x98, 0x9c, 0xea, 0x68, - 0xb9, 0xa8, 0x8d, 0x98, 0x4d, 0x34, 0x0b, 0xa7, 0xf8, 0x56, 0x8f, 0x8a, 0xe0, 0x05, 0x4d, 0xae, - 0xd4, 0x6d, 0x98, 0xf7, 0x71, 0x6b, 0x7a, 0x47, 0xb7, 0x0c, 0x3c, 0x1c, 0x7c, 0x81, 0xc3, 0xab, - 0x9a, 0x7c, 0x1f, 0x61, 0x8e, 0xf2, 0x24, 0xdc, 0xf6, 0x4f, 0xc2, 0x68, 0x79, 0x62, 0xf3, 0x62, - 0x22, 0x69, 0xdf, 0x65, 0x8b, 0x58, 0x4c, 0x37, 0x2d, 0xec, 0xc8, 0x63, 0xa6, 0xc1, 0x42, 0x0a, - 0x35, 0x89, 0x7a, 0x33, 0x82, 0xba, 0x9a, 0x8d, 0x2a, 0x3d, 0x25, 0x66, 0x0d, 0xa6, 0xe2, 0x3b, - 0x68, 0x1a, 0xde, 0x32, 0xad, 0x26, 0xfe, 0x4c, 0xe4, 0x38, 0xa6, 0xb9, 0x0b, 0x34, 0x0f, 0xe3, - 0x0d, 0xd7, 0x40, 0xbc, 0xf0, 0x31, 0xcd, 0x5b, 0xaa, 0x9f, 0xc2, 0x4c, 0x34, 0xd7, 0x01, 0xf4, - 0x5a, 0x85, 0xa2, 0x5f, 0xbb, 0xea, 0xa6, 0x7b, 0x86, 0x8a, 0xda, 0x84, 0xff, 0x6c, 0xb7, 0xa9, - 0x7e, 0x12, 0x7f, 0xcd, 0x29, 0x0a, 0x2a, 0xc3, 0x29, 0xf8, 0xb5, 0x22, 0x31, 0xb7, 0x48, 0xb7, - 0x6b, 0x32, 0x86, 0x07, 0x7a, 0xb7, 0x5b, 0xf0, 0x16, 0xb6, 0x89, 0xd1, 0x76, 0xf3, 0xae, 0x6d, - 0xbc, 0x3e, 0x5e, 0x5e, 0x0f, 0x5d, 0x89, 0xb6, 0x73, 0x44, 0xbb, 0x3a, 0x33, 0x8d, 0x8e, 0xde, - 0xa0, 0x55, 0xcc, 0xda, 0x9b, 0x1b, 0xec, 0xc8, 0xc6, 0xb4, 0xb2, 0xcd, 0x9d, 0x34, 0xd7, 0x37, - 0x10, 0x75, 0x34, 0x2c, 0xea, 0x07, 0x30, 0x46, 0x3b, 0x84, 0xcd, 0x8f, 0x09, 0xe4, 0xab, 0xaf, - 0x8f, 0x97, 0xcb, 0x83, 0x20, 0xef, 0x77, 0x78, 0xe9, 0xe3, 0x9e, 0xea, 0xae, 0x3c, 0x68, 0xe1, - 0x8c, 0xa4, 0x4c, 0x95, 0xc8, 0x91, 0x28, 0x25, 0xbf, 0x2e, 0xcf, 0x45, 0xaa, 0xf3, 0x5d, 0x58, - 0xa8, 0xf1, 0x6b, 0xf3, 0xc3, 0xe0, 0x72, 0x0d, 0xc0, 0xae, 0x45, 0xc0, 0x16, 0x13, 0x60, 0x21, - 0x27, 0x09, 0x77, 0x0f, 0x90, 0x80, 0xe3, 0x25, 0xd6, 0x7f, 0x11, 0x68, 0x0d, 0xc6, 0x4e, 0xae, - 0xcb, 0x62, 0x5b, 0x7d, 0x0c, 0x67, 0x7d, 0xe7, 0x81, 0xdf, 0x7b, 0x32, 0x9c, 0xa4, 0xf2, 0x4b, - 0x05, 0xce, 0x89, 0xcd, 0x87, 0x58, 0x6f, 0xe2, 0xa0, 0x5e, 0x78, 0xf2, 0x2b, 0x6f, 0x2a, 0x3f, - 0xda, 0x84, 0x09, 0x5b, 0x17, 0xf5, 0xf0, 0xe4, 0xfb, 0x17, 0x5c, 0x2b, 0x71, 0xdd, 0x7c, 0x02, - 0xd3, 0x51, 0x32, 0x32, 0xbd, 0x3b, 0x11, 0x89, 0xd7, 0xd2, 0xd3, 0x73, 0x9d, 0xe2, 0x09, 0xae, - 0x43, 0xd1, 0x4d, 0x3e, 0x38, 0xcd, 0xa2, 0x03, 0x0a, 0x9d, 0x66, 0xb1, 0xde, 0x6d, 0xaa, 0x7b, - 0x11, 0x29, 0x52, 0x82, 0x2b, 0xc3, 0x06, 0xff, 0x4a, 0x89, 0x24, 0x34, 0xec, 0xbb, 0x46, 0x8b, - 0x50, 0x30, 0x74, 0x8b, 0x58, 0xa6, 0xa1, 0x77, 0x84, 0x82, 0xa7, 0xb5, 0xe0, 0x01, 0xda, 0x82, - 0x53, 0x6d, 0x81, 0x2b, 0x6f, 0x89, 0x2b, 0x49, 0x6a, 0xa2, 0xaf, 0x4b, 0x25, 0x28, 0x5d, 0xf9, - 0x01, 0x28, 0x65, 0x9b, 0xa1, 0xfb, 0x30, 0xde, 0xc5, 0x94, 0xea, 0x2d, 0xaf, 0x17, 0x53, 0xf3, - 0x83, 0x68, 0x9e, 0x0b, 0xaa, 0x42, 0x81, 0x9a, 0x2d, 0x4b, 0x67, 0x3d, 0x07, 0xa7, 0x9f, 0x80, - 0x3b, 0xb7, 0x78, 0xbf, 0xe1, 0xd9, 0xa8, 0x8f, 0xe0, 0x6d, 0xf9, 0xb6, 0x06, 0x15, 0x3f, 0x08, - 0x1e, 0x17, 0xff, 0x25, 0x4c, 0xa7, 0xed, 0xa2, 0x5b, 0xf1, 0x94, 0x16, 0x4f, 0x42, 0xfd, 0x3f, - 0x92, 0xf9, 0x8b, 0x02, 0x73, 0xe1, 0x8a, 0xb1, 0x47, 0x48, 0xe7, 0xdb, 0xfb, 0xbe, 0xea, 0x30, - 0x69, 0x78, 0x65, 0xaa, 0xee, 0x16, 0x50, 0xb7, 0x0a, 0xdf, 0x7a, 0x7d, 0xbc, 0xbc, 0x39, 0x08, - 0x98, 0x5f, 0xe5, 0x76, 0xb9, 0xb7, 0x76, 0xc6, 0x88, 0xac, 0x79, 0xd1, 0xdb, 0xef, 0x35, 0xba, - 0x26, 0x8b, 0x56, 0x3d, 0x97, 0xff, 0xf0, 0x45, 0xef, 0x31, 0xcc, 0x27, 0xc5, 0x78, 0xe3, 0x12, - 0xfa, 0x04, 0x2e, 0xb8, 0x0f, 0xb1, 0xb3, 0xdf, 0xd1, 0x69, 0xdb, 0xb4, 0x5a, 0x51, 0xc8, 0xbc, - 0x5b, 0x3f, 0xee, 0x2d, 0x71, 0x3f, 0x85, 0xc5, 0x3d, 0x87, 0xd8, 0x84, 0x06, 0x3b, 0x43, 0xc1, - 0xc6, 0x9d, 0x7d, 0xba, 0xa5, 0x27, 0xa4, 0xd3, 0xb3, 0x98, 0xee, 0x1c, 0x6d, 0x7f, 0x66, 0xb2, - 0x28, 0xd7, 0xf7, 0x23, 0xa0, 0x97, 0x92, 0x1d, 0xb0, 0xd9, 0xb2, 0x70, 0x33, 0x02, 0x20, 0x71, - 0x3f, 0x84, 0x69, 0xde, 0x6d, 0xef, 0x1b, 0x6d, 0xdc, 0xec, 0x75, 0x70, 0x4a, 0x8b, 0x3e, 0x9a, - 0xd7, 0xa2, 0xff, 0x4c, 0x81, 0xe2, 0xbe, 0x8d, 0x0d, 0xdf, 0xf7, 0x5e, 0xc4, 0xf7, 0x72, 0x92, - 0x4d, 0xc8, 0xb8, 0xf2, 0x91, 0xce, 0xf4, 0x6d, 0x8b, 0x39, 0x47, 0xb2, 0xdd, 0xbe, 0x0d, 0x05, - 0xff, 0x11, 0x9a, 0x82, 0xd1, 0x43, 0x7c, 0x24, 0xce, 0x78, 0x41, 0xe3, 0x3f, 0xf9, 0x5d, 0xdf, - 0xd7, 0x3b, 0x3d, 0xf7, 0xfb, 0x29, 0x68, 0xee, 0xe2, 0xee, 0xc8, 0xfb, 0x8a, 0xfa, 0x3d, 0x98, - 0xfb, 0x08, 0xdb, 0x84, 0x9a, 0xe2, 0x8a, 0x72, 0x74, 0x23, 0xb8, 0xdc, 0xde, 0x8b, 0xd4, 0x80, - 0x95, 0x04, 0xa1, 0xb8, 0x9f, 0x9b, 0xd7, 0xc7, 0x30, 0x19, 0xdb, 0xe0, 0xb5, 0xdf, 0x1d, 0xeb, - 0x65, 0xed, 0x1f, 0xd3, 0xc6, 0xc5, 0x7a, 0xb7, 0xc9, 0x7b, 0x38, 0xbd, 0xd9, 0x74, 0x30, 0xa5, - 0x92, 0x9a, 0xb7, 0xdc, 0xfc, 0x6f, 0x09, 0x26, 0xdc, 0x7a, 0xb0, 0xc5, 0x6d, 0xd1, 0x01, 0xc0, - 0x0e, 0x66, 0xde, 0xc0, 0x3a, 0x9b, 0x18, 0x4d, 0xb7, 0xf9, 0xd4, 0x5e, 0x5a, 0xc9, 0x1b, 0x82, - 0xd5, 0xa5, 0x2f, 0xfe, 0xfe, 0xaf, 0x2f, 0x47, 0xe6, 0xd1, 0x6c, 0x35, 0x32, 0x84, 0x57, 0xe5, - 0x1c, 0x89, 0x3e, 0x57, 0xa0, 0xb8, 0x83, 0x59, 0x30, 0xbd, 0x5d, 0xc8, 0x18, 0xff, 0xdc, 0x2f, - 0xb2, 0xa4, 0xe6, 0x4f, 0x87, 0xea, 0x86, 0x88, 0x79, 0x19, 0xad, 0xc5, 0x62, 0x8a, 0x7e, 0x8e, - 0x56, 0x9f, 0x7b, 0x7d, 0xde, 0x8b, 0xaa, 0xb8, 0x7e, 0xc2, 0x14, 0xf8, 0x89, 0x79, 0x43, 0x0a, - 0xe1, 0xe1, 0x71, 0x08, 0x0a, 0x7c, 0xec, 0x46, 0x7f, 0x50, 0x60, 0x76, 0x07, 0xb3, 0xe4, 0xf0, - 0x46, 0xf3, 0xc8, 0x5c, 0x1b, 0x76, 0x90, 0x54, 0x1f, 0x08, 0x6a, 0xb7, 0xd1, 0xcd, 0x7c, 0x6a, - 0x12, 0xa4, 0x6e, 0x84, 0xf8, 0xfc, 0xde, 0x55, 0xcb, 0x6f, 0xb1, 0xd1, 0x3b, 0xe9, 0x0c, 0xe2, - 0xc3, 0x40, 0xe9, 0x72, 0xae, 0x9d, 0x24, 0x58, 0x13, 0x04, 0xef, 0xa3, 0xbb, 0xb9, 0x04, 0x83, - 0x7f, 0x3f, 0xaa, 0xcf, 0xc3, 0xd3, 0xc4, 0x0b, 0xf4, 0x5b, 0x05, 0xce, 0x3c, 0x36, 0x69, 0x40, - 0x93, 0xa2, 0xbc, 0xf8, 0x5e, 0xd1, 0x2f, 0x95, 0xf3, 0x0d, 0x25, 0xd3, 0x1b, 0x82, 0xe9, 0x06, - 0xba, 0x32, 0x04, 0x53, 0xf4, 0x67, 0x05, 0x66, 0x22, 0xd4, 0xbc, 0x51, 0x0e, 0xad, 0xe7, 0x0e, - 0x6d, 0x3e, 0xc7, 0x77, 0x07, 0x31, 0x95, 0x2c, 0xef, 0x09, 0x96, 0x37, 0xd1, 0x8d, 0xc1, 0x59, - 0xd6, 0x1b, 0x1e, 0xa7, 0xaf, 0xa4, 0x90, 0xc1, 0x78, 0x91, 0x25, 0x64, 0x62, 0xa4, 0xca, 0x12, - 0x32, 0x39, 0xa9, 0x0c, 0x41, 0xd1, 0xbf, 0xbd, 0x69, 0xf5, 0xb9, 0x18, 0xac, 0x5e, 0xf0, 0xef, - 0xf7, 0xcc, 0x0e, 0x66, 0xa1, 0xd6, 0x2c, 0xe5, 0xa3, 0x09, 0x77, 0xc7, 0xa5, 0x4b, 0x27, 0x75, - 0xb7, 0x3e, 0xa9, 0x75, 0x41, 0xea, 0x22, 0x5a, 0x8d, 0x91, 0x72, 0x5b, 0x4a, 0x5a, 0x7d, 0xee, - 0x75, 0xd8, 0x2f, 0xd0, 0x4b, 0x98, 0xe2, 0x22, 0x85, 0xbb, 0x7a, 0x74, 0x62, 0x10, 0x5f, 0xa3, - 0xb5, 0x1c, 0xab, 0x9c, 0x32, 0x2a, 0xb9, 0xa0, 0x43, 0x98, 0x70, 0xbb, 0x18, 0xe1, 0x8d, 0x06, - 0xeb, 0x20, 0x4b, 0x19, 0x65, 0x5d, 0xbd, 0x20, 0xa2, 0xcd, 0xa9, 0x33, 0xb1, 0x68, 0x22, 0x61, - 0x8a, 0x28, 0x9c, 0xf6, 0xf4, 0xce, 0x53, 0x7a, 0x29, 0x6b, 0x5b, 0xe6, 0x55, 0x16, 0x91, 0x54, - 0xb4, 0x92, 0x1a, 0x29, 0x2c, 0xb1, 0xac, 0xd2, 0xfe, 0x88, 0x97, 0x17, 0x59, 0xcd, 0x9e, 0x0e, - 0x73, 0xab, 0x74, 0x22, 0xba, 0x7b, 0x51, 0xfc, 0x4e, 0x7e, 0xb9, 0x89, 0x21, 0x39, 0x8f, 0xcb, - 0xbb, 0xe9, 0xdb, 0x69, 0x73, 0xb6, 0x7a, 0x53, 0x70, 0xaa, 0xa2, 0x8d, 0x5c, 0x4e, 0x7a, 0x98, - 0xc1, 0x6f, 0x14, 0x98, 0xe6, 0xdc, 0x78, 0xc7, 0x15, 0xa1, 0x56, 0x3e, 0xa9, 0xcd, 0x0c, 0x37, - 0xeb, 0xa5, 0xf5, 0x01, 0x2c, 0x73, 0x5e, 0x9b, 0x4d, 0x48, 0x27, 0xca, 0xeb, 0x0b, 0x05, 0x50, - 0xb2, 0xbf, 0x46, 0x49, 0x45, 0x32, 0x9b, 0xf0, 0xcc, 0x53, 0x2a, 0x49, 0xa8, 0xf9, 0x24, 0xbe, - 0x54, 0x60, 0x21, 0x2a, 0x4e, 0xa8, 0x9f, 0xce, 0x6c, 0x6e, 0x2a, 0xb9, 0xdd, 0x74, 0x54, 0x94, - 0x8a, 0xe0, 0x53, 0x46, 0xef, 0x64, 0xf3, 0xc1, 0x4e, 0x9d, 0xfa, 0x71, 0x7f, 0xaa, 0xc0, 0x6c, - 0x38, 0xeb, 0x00, 0x17, 0xe5, 0x37, 0xf2, 0x99, 0xaa, 0x48, 0x16, 0xea, 0xa0, 0x2c, 0x7e, 0x15, - 0xd2, 0x26, 0xde, 0xd6, 0x67, 0x6b, 0xb3, 0x91, 0x3b, 0x12, 0x0c, 0x2e, 0x8d, 0x2d, 0x3d, 0x53, - 0xa5, 0x89, 0xc3, 0xa2, 0xfc, 0x61, 0xe4, 0xcd, 0xa4, 0x49, 0x61, 0xf1, 0x0b, 0x05, 0x66, 0x3d, - 0x69, 0xa2, 0x73, 0x4d, 0xa6, 0x2e, 0xc9, 0x3f, 0x27, 0xb2, 0x07, 0x22, 0xf5, 0x8a, 0xe0, 0xb3, - 0x86, 0x2e, 0xa6, 0xf1, 0xe9, 0x7b, 0x7e, 0x75, 0x2c, 0x22, 0x7e, 0xae, 0xc0, 0x39, 0x57, 0x92, - 0x08, 0x22, 0x1a, 0x68, 0x8e, 0xca, 0x94, 0x44, 0x52, 0x50, 0x07, 0xa2, 0xd0, 0x87, 0x49, 0xde, - 0xa4, 0x86, 0x26, 0xb1, 0x4c, 0x1d, 0xd6, 0x52, 0x67, 0xb1, 0xf8, 0x00, 0xa7, 0x5e, 0x12, 0xe1, - 0x97, 0xd0, 0xa2, 0x17, 0xde, 0x20, 0xd6, 0x81, 0xd9, 0x12, 0x4d, 0x71, 0x9d, 0x7a, 0x41, 0x7e, - 0x04, 0xe3, 0xbc, 0x3f, 0xb7, 0xb1, 0x91, 0x19, 0xef, 0xc2, 0x89, 0xf3, 0x9b, 0x7a, 0x5e, 0xc4, - 0x99, 0x41, 0xe7, 0x62, 0x71, 0x28, 0xc7, 0x7c, 0x09, 0x68, 0x07, 0xb3, 0xf8, 0x14, 0x95, 0x15, - 0xa9, 0x9c, 0x3b, 0x98, 0x79, 0x41, 0x2f, 0x8b, 0xa0, 0xab, 0x68, 0x39, 0x16, 0xb4, 0xe9, 0xda, - 0xd7, 0x0d, 0xe9, 0x50, 0xfb, 0xb9, 0xf2, 0xd7, 0x57, 0x4b, 0xca, 0xd7, 0xaf, 0x96, 0x94, 0x7f, - 0xbe, 0x5a, 0x52, 0xe0, 0x1c, 0x71, 0x5a, 0xf1, 0x20, 0xb5, 0xa9, 0xd0, 0x70, 0xb6, 0xc7, 0x19, - 0xed, 0x29, 0x3f, 0xb8, 0x7a, 0xd2, 0xdf, 0x1f, 0xc2, 0x5b, 0xb7, 0x4d, 0x2a, 0xa3, 0xff, 0x69, - 0x64, 0x72, 0xdb, 0xc3, 0xdc, 0x16, 0x98, 0x7f, 0x0b, 0x9e, 0x3c, 0xdd, 0x66, 0xed, 0xa7, 0xfd, - 0xeb, 0x8d, 0x53, 0x22, 0xd9, 0x1b, 0xff, 0x0b, 0x00, 0x00, 0xff, 0xff, 0x74, 0x06, 0x3a, 0x78, - 0x26, 0x1e, 0x00, 0x00, +// Deprecated: Use StateFinalityCheckpointResponse_StateFinalityCheckpoint.ProtoReflect.Descriptor instead. +func (*StateFinalityCheckpointResponse_StateFinalityCheckpoint) Descriptor() ([]byte, []int) { + return file_eth_v1_beacon_chain_service_proto_rawDescGZIP(), []int{4, 0} +} + +func (x *StateFinalityCheckpointResponse_StateFinalityCheckpoint) GetPreviousJustified() *Checkpoint { + if x != nil { + return x.PreviousJustified + } + return nil +} + +func (x *StateFinalityCheckpointResponse_StateFinalityCheckpoint) GetCurrentJustified() *Checkpoint { + if x != nil { + return x.CurrentJustified + } + return nil +} + +func (x *StateFinalityCheckpointResponse_StateFinalityCheckpoint) GetFinalized() *Checkpoint { + if x != nil { + return x.Finalized + } + return nil +} + +var File_eth_v1_beacon_chain_service_proto protoreflect.FileDescriptor + +var file_eth_v1_beacon_chain_service_proto_rawDesc = []byte{ + 0x0a, 0x21, 0x65, 0x74, 0x68, 0x2f, 0x76, 0x31, 0x2f, 0x62, 0x65, 0x61, 0x63, 0x6f, 0x6e, 0x5f, + 0x63, 0x68, 0x61, 0x69, 0x6e, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x12, 0x0f, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, + 0x68, 0x2e, 0x76, 0x31, 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, 0x20, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x75, 0x66, 0x2f, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 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, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x1a, 0x15, 0x65, 0x74, 0x68, 0x2f, 0x65, 0x78, 0x74, 0x2f, 0x6f, 0x70, 0x74, 0x69, + 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x18, 0x65, 0x74, 0x68, 0x2f, 0x76, + 0x31, 0x2f, 0x61, 0x74, 0x74, 0x65, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x65, 0x74, 0x68, 0x2f, 0x76, 0x31, 0x2f, 0x62, 0x65, 0x61, 0x63, + 0x6f, 0x6e, 0x5f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, + 0x65, 0x74, 0x68, 0x2f, 0x76, 0x31, 0x2f, 0x62, 0x65, 0x61, 0x63, 0x6f, 0x6e, 0x5f, 0x73, 0x74, + 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x16, 0x65, 0x74, 0x68, 0x2f, 0x76, + 0x31, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x22, 0x93, 0x02, 0x0a, 0x0f, 0x47, 0x65, 0x6e, 0x65, 0x73, 0x69, 0x73, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3c, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, + 0x74, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x6e, 0x65, 0x73, 0x69, 0x73, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x47, 0x65, 0x6e, 0x65, 0x73, 0x69, 0x73, 0x52, 0x04, 0x64, + 0x61, 0x74, 0x61, 0x1a, 0xc1, 0x01, 0x0a, 0x07, 0x47, 0x65, 0x6e, 0x65, 0x73, 0x69, 0x73, 0x12, + 0x3d, 0x0a, 0x0c, 0x67, 0x65, 0x6e, 0x65, 0x73, 0x69, 0x73, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, + 0x70, 0x52, 0x0b, 0x67, 0x65, 0x6e, 0x65, 0x73, 0x69, 0x73, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x3e, + 0x0a, 0x17, 0x67, 0x65, 0x6e, 0x65, 0x73, 0x69, 0x73, 0x5f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, + 0x74, 0x6f, 0x72, 0x73, 0x5f, 0x72, 0x6f, 0x6f, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x42, + 0x06, 0x8a, 0xb5, 0x18, 0x02, 0x33, 0x32, 0x52, 0x15, 0x67, 0x65, 0x6e, 0x65, 0x73, 0x69, 0x73, + 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x73, 0x52, 0x6f, 0x6f, 0x74, 0x12, 0x37, + 0x0a, 0x14, 0x67, 0x65, 0x6e, 0x65, 0x73, 0x69, 0x73, 0x5f, 0x66, 0x6f, 0x72, 0x6b, 0x5f, 0x76, + 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x42, 0x05, 0x8a, 0xb5, + 0x18, 0x01, 0x34, 0x52, 0x12, 0x67, 0x65, 0x6e, 0x65, 0x73, 0x69, 0x73, 0x46, 0x6f, 0x72, 0x6b, + 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x29, 0x0a, 0x0c, 0x53, 0x74, 0x61, 0x74, 0x65, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x73, 0x74, 0x61, 0x74, 0x65, + 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x73, 0x74, 0x61, 0x74, 0x65, + 0x49, 0x64, 0x22, 0x89, 0x01, 0x0a, 0x11, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x6f, 0x6f, 0x74, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x40, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, + 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x6f, + 0x6f, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x65, + 0x52, 0x6f, 0x6f, 0x74, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x1a, 0x32, 0x0a, 0x09, 0x53, 0x74, + 0x61, 0x74, 0x65, 0x52, 0x6f, 0x6f, 0x74, 0x12, 0x25, 0x0a, 0x0a, 0x73, 0x74, 0x61, 0x74, 0x65, + 0x5f, 0x72, 0x6f, 0x6f, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x42, 0x06, 0x8a, 0xb5, 0x18, + 0x02, 0x33, 0x32, 0x52, 0x09, 0x73, 0x74, 0x61, 0x74, 0x65, 0x52, 0x6f, 0x6f, 0x74, 0x22, 0x3e, + 0x0a, 0x11, 0x53, 0x74, 0x61, 0x74, 0x65, 0x46, 0x6f, 0x72, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x12, 0x29, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x15, 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, + 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x6f, 0x72, 0x6b, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0xec, + 0x02, 0x0a, 0x1f, 0x53, 0x74, 0x61, 0x74, 0x65, 0x46, 0x69, 0x6e, 0x61, 0x6c, 0x69, 0x74, 0x79, + 0x43, 0x68, 0x65, 0x63, 0x6b, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x12, 0x5c, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x48, 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, + 0x76, 0x31, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x46, 0x69, 0x6e, 0x61, 0x6c, 0x69, 0x74, 0x79, + 0x43, 0x68, 0x65, 0x63, 0x6b, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x46, 0x69, 0x6e, 0x61, 0x6c, 0x69, 0x74, 0x79, + 0x43, 0x68, 0x65, 0x63, 0x6b, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, + 0x1a, 0xea, 0x01, 0x0a, 0x17, 0x53, 0x74, 0x61, 0x74, 0x65, 0x46, 0x69, 0x6e, 0x61, 0x6c, 0x69, + 0x74, 0x79, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x12, 0x4a, 0x0a, 0x12, + 0x70, 0x72, 0x65, 0x76, 0x69, 0x6f, 0x75, 0x73, 0x5f, 0x6a, 0x75, 0x73, 0x74, 0x69, 0x66, 0x69, + 0x65, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, + 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x68, 0x65, 0x63, 0x6b, + 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x52, 0x11, 0x70, 0x72, 0x65, 0x76, 0x69, 0x6f, 0x75, 0x73, 0x4a, + 0x75, 0x73, 0x74, 0x69, 0x66, 0x69, 0x65, 0x64, 0x12, 0x48, 0x0a, 0x11, 0x63, 0x75, 0x72, 0x72, + 0x65, 0x6e, 0x74, 0x5f, 0x6a, 0x75, 0x73, 0x74, 0x69, 0x66, 0x69, 0x65, 0x64, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, + 0x74, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x70, 0x6f, 0x69, 0x6e, 0x74, + 0x52, 0x10, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x4a, 0x75, 0x73, 0x74, 0x69, 0x66, 0x69, + 0x65, 0x64, 0x12, 0x39, 0x0a, 0x09, 0x66, 0x69, 0x6e, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x64, 0x18, + 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, + 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x70, 0x6f, 0x69, + 0x6e, 0x74, 0x52, 0x09, 0x66, 0x69, 0x6e, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x64, 0x22, 0x5b, 0x0a, + 0x16, 0x53, 0x74, 0x61, 0x74, 0x65, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x73, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x73, 0x74, 0x61, 0x74, 0x65, + 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x73, 0x74, 0x61, 0x74, 0x65, + 0x49, 0x64, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x02, + 0x69, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x03, 0x20, 0x03, + 0x28, 0x09, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x22, 0x45, 0x0a, 0x18, 0x56, 0x61, + 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x73, 0x74, 0x61, 0x74, 0x65, 0x5f, + 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x73, 0x74, 0x61, 0x74, 0x65, 0x49, + 0x64, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x02, 0x69, + 0x64, 0x22, 0x52, 0x0a, 0x17, 0x53, 0x74, 0x61, 0x74, 0x65, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, + 0x74, 0x6f, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x37, 0x0a, 0x04, + 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x65, 0x74, 0x68, + 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x56, 0x61, 0x6c, + 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x52, + 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0x52, 0x0a, 0x19, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, + 0x6f, 0x72, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x12, 0x35, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, + 0x32, 0x21, 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, + 0x76, 0x31, 0x2e, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x42, 0x61, 0x6c, 0x61, + 0x6e, 0x63, 0x65, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0x7a, 0x0a, 0x10, 0x56, 0x61, 0x6c, + 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x4c, 0x0a, + 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x42, 0x36, 0x82, 0xb5, + 0x18, 0x32, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x72, 0x79, + 0x73, 0x6d, 0x61, 0x74, 0x69, 0x63, 0x6c, 0x61, 0x62, 0x73, 0x2f, 0x65, 0x74, 0x68, 0x32, 0x2d, + 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x49, + 0x6e, 0x64, 0x65, 0x78, 0x52, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x18, 0x0a, 0x07, 0x62, + 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x62, 0x61, + 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x22, 0x55, 0x0a, 0x15, 0x53, 0x74, 0x61, 0x74, 0x65, 0x56, 0x61, + 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x19, + 0x0a, 0x08, 0x73, 0x74, 0x61, 0x74, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, + 0x52, 0x07, 0x73, 0x74, 0x61, 0x74, 0x65, 0x49, 0x64, 0x12, 0x21, 0x0a, 0x0c, 0x76, 0x61, 0x6c, + 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, + 0x0b, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x49, 0x64, 0x22, 0x51, 0x0a, 0x16, + 0x53, 0x74, 0x61, 0x74, 0x65, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x37, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, + 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, + 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, + 0xb4, 0x02, 0x0a, 0x16, 0x53, 0x74, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x74, + 0x65, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x73, 0x74, + 0x61, 0x74, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x73, 0x74, + 0x61, 0x74, 0x65, 0x49, 0x64, 0x12, 0x48, 0x0a, 0x05, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x04, 0x42, 0x2d, 0x82, 0xb5, 0x18, 0x29, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, + 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x72, 0x79, 0x73, 0x6d, 0x61, 0x74, 0x69, 0x63, 0x6c, 0x61, + 0x62, 0x73, 0x2f, 0x65, 0x74, 0x68, 0x32, 0x2d, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x45, 0x70, + 0x6f, 0x63, 0x68, 0x48, 0x00, 0x52, 0x05, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x88, 0x01, 0x01, 0x12, + 0x51, 0x0a, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x42, 0x36, + 0x82, 0xb5, 0x18, 0x32, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, + 0x72, 0x79, 0x73, 0x6d, 0x61, 0x74, 0x69, 0x63, 0x6c, 0x61, 0x62, 0x73, 0x2f, 0x65, 0x74, 0x68, + 0x32, 0x2d, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x74, 0x65, + 0x65, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x48, 0x01, 0x52, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x88, + 0x01, 0x01, 0x12, 0x45, 0x0a, 0x04, 0x73, 0x6c, 0x6f, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, + 0x42, 0x2c, 0x82, 0xb5, 0x18, 0x28, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, + 0x2f, 0x70, 0x72, 0x79, 0x73, 0x6d, 0x61, 0x74, 0x69, 0x63, 0x6c, 0x61, 0x62, 0x73, 0x2f, 0x65, + 0x74, 0x68, 0x32, 0x2d, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x53, 0x6c, 0x6f, 0x74, 0x48, 0x02, + 0x52, 0x04, 0x73, 0x6c, 0x6f, 0x74, 0x88, 0x01, 0x01, 0x42, 0x08, 0x0a, 0x06, 0x5f, 0x65, 0x70, + 0x6f, 0x63, 0x68, 0x42, 0x08, 0x0a, 0x06, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x42, 0x07, 0x0a, + 0x05, 0x5f, 0x73, 0x6c, 0x6f, 0x74, 0x22, 0x49, 0x0a, 0x17, 0x53, 0x74, 0x61, 0x74, 0x65, 0x43, + 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x74, 0x65, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x12, 0x2e, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, + 0x1a, 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, + 0x31, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x74, 0x65, 0x65, 0x52, 0x04, 0x64, 0x61, 0x74, + 0x61, 0x22, 0x4d, 0x0a, 0x19, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x41, 0x74, 0x74, 0x65, 0x73, 0x74, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x30, + 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x65, + 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x41, + 0x74, 0x74, 0x65, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, + 0x22, 0x30, 0x0a, 0x12, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x6f, 0x6f, 0x74, 0x43, 0x6f, 0x6e, + 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x12, 0x1a, 0x0a, 0x04, 0x72, 0x6f, 0x6f, 0x74, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x0c, 0x42, 0x06, 0x8a, 0xb5, 0x18, 0x02, 0x33, 0x32, 0x52, 0x04, 0x72, 0x6f, + 0x6f, 0x74, 0x22, 0x4c, 0x0a, 0x11, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x6f, 0x6f, 0x74, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x37, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, + 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x6f, 0x6f, + 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, + 0x22, 0xa3, 0x01, 0x0a, 0x13, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, + 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x45, 0x0a, 0x04, 0x73, 0x6c, 0x6f, 0x74, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x42, 0x2c, 0x82, 0xb5, 0x18, 0x28, 0x67, 0x69, 0x74, 0x68, + 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x72, 0x79, 0x73, 0x6d, 0x61, 0x74, 0x69, 0x63, + 0x6c, 0x61, 0x62, 0x73, 0x2f, 0x65, 0x74, 0x68, 0x32, 0x2d, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, + 0x53, 0x6c, 0x6f, 0x74, 0x48, 0x00, 0x52, 0x04, 0x73, 0x6c, 0x6f, 0x74, 0x88, 0x01, 0x01, 0x12, + 0x2c, 0x0a, 0x0b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x72, 0x6f, 0x6f, 0x74, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x0c, 0x42, 0x06, 0x8a, 0xb5, 0x18, 0x02, 0x33, 0x32, 0x48, 0x01, 0x52, 0x0a, + 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x52, 0x6f, 0x6f, 0x74, 0x88, 0x01, 0x01, 0x42, 0x07, 0x0a, + 0x05, 0x5f, 0x73, 0x6c, 0x6f, 0x74, 0x42, 0x0e, 0x0a, 0x0c, 0x5f, 0x70, 0x61, 0x72, 0x65, 0x6e, + 0x74, 0x5f, 0x72, 0x6f, 0x6f, 0x74, 0x22, 0x51, 0x0a, 0x14, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x48, + 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x39, + 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x65, + 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x42, + 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, + 0x6e, 0x65, 0x72, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0x29, 0x0a, 0x0c, 0x42, 0x6c, 0x6f, + 0x63, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x62, 0x6c, 0x6f, + 0x63, 0x6b, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x62, 0x6c, 0x6f, + 0x63, 0x6b, 0x49, 0x64, 0x22, 0x50, 0x0a, 0x13, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x65, 0x61, + 0x64, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x39, 0x0a, 0x04, 0x64, + 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x65, 0x74, 0x68, 0x65, + 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x6c, 0x6f, 0x63, + 0x6b, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, + 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0x95, 0x01, 0x0a, 0x14, 0x42, 0x6c, 0x6f, 0x63, 0x6b, + 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x12, + 0x1a, 0x0a, 0x04, 0x72, 0x6f, 0x6f, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x42, 0x06, 0x8a, + 0xb5, 0x18, 0x02, 0x33, 0x32, 0x52, 0x04, 0x72, 0x6f, 0x6f, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x63, + 0x61, 0x6e, 0x6f, 0x6e, 0x69, 0x63, 0x61, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, + 0x63, 0x61, 0x6e, 0x6f, 0x6e, 0x69, 0x63, 0x61, 0x6c, 0x12, 0x43, 0x0a, 0x06, 0x68, 0x65, 0x61, + 0x64, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x65, 0x74, 0x68, 0x65, + 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x65, 0x61, 0x63, + 0x6f, 0x6e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x43, 0x6f, 0x6e, + 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x52, 0x06, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x22, 0x80, + 0x01, 0x0a, 0x1a, 0x42, 0x65, 0x61, 0x63, 0x6f, 0x6e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x65, + 0x61, 0x64, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x12, 0x3c, 0x0a, + 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, + 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, + 0x2e, 0x42, 0x65, 0x61, 0x63, 0x6f, 0x6e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x65, 0x61, 0x64, + 0x65, 0x72, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x24, 0x0a, 0x09, 0x73, + 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x42, 0x06, + 0x8a, 0xb5, 0x18, 0x02, 0x39, 0x36, 0x52, 0x09, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, + 0x65, 0x22, 0x4a, 0x0a, 0x0d, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x12, 0x39, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x25, 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, + 0x76, 0x31, 0x2e, 0x42, 0x65, 0x61, 0x63, 0x6f, 0x6e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x43, 0x6f, + 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0x74, 0x0a, + 0x14, 0x42, 0x65, 0x61, 0x63, 0x6f, 0x6e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x43, 0x6f, 0x6e, 0x74, + 0x61, 0x69, 0x6e, 0x65, 0x72, 0x12, 0x36, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, + 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x65, 0x61, 0x63, 0x6f, 0x6e, 0x42, + 0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x24, 0x0a, + 0x09, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, + 0x42, 0x06, 0x8a, 0xb5, 0x18, 0x02, 0x39, 0x36, 0x52, 0x09, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, + 0x75, 0x72, 0x65, 0x22, 0xe3, 0x01, 0x0a, 0x17, 0x41, 0x74, 0x74, 0x65, 0x73, 0x74, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x73, 0x50, 0x6f, 0x6f, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, + 0x45, 0x0a, 0x04, 0x73, 0x6c, 0x6f, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x42, 0x2c, 0x82, + 0xb5, 0x18, 0x28, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x72, + 0x79, 0x73, 0x6d, 0x61, 0x74, 0x69, 0x63, 0x6c, 0x61, 0x62, 0x73, 0x2f, 0x65, 0x74, 0x68, 0x32, + 0x2d, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x53, 0x6c, 0x6f, 0x74, 0x48, 0x00, 0x52, 0x04, 0x73, + 0x6c, 0x6f, 0x74, 0x88, 0x01, 0x01, 0x12, 0x64, 0x0a, 0x0f, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, + 0x74, 0x65, 0x65, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x42, + 0x36, 0x82, 0xb5, 0x18, 0x32, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, + 0x70, 0x72, 0x79, 0x73, 0x6d, 0x61, 0x74, 0x69, 0x63, 0x6c, 0x61, 0x62, 0x73, 0x2f, 0x65, 0x74, + 0x68, 0x32, 0x2d, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x74, + 0x65, 0x65, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x48, 0x01, 0x52, 0x0e, 0x63, 0x6f, 0x6d, 0x6d, 0x69, + 0x74, 0x74, 0x65, 0x65, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x88, 0x01, 0x01, 0x42, 0x07, 0x0a, 0x05, + 0x5f, 0x73, 0x6c, 0x6f, 0x74, 0x42, 0x12, 0x0a, 0x10, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, + 0x74, 0x65, 0x65, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x22, 0x4d, 0x0a, 0x19, 0x53, 0x75, 0x62, + 0x6d, 0x69, 0x74, 0x41, 0x74, 0x74, 0x65, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x30, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, + 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x74, 0x74, 0x65, 0x73, 0x74, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0x4c, 0x0a, 0x18, 0x41, 0x74, 0x74, 0x65, + 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x50, 0x6f, 0x6f, 0x6c, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x30, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x03, + 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, + 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x74, 0x74, 0x65, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0x56, 0x0a, 0x1d, 0x41, 0x74, 0x74, 0x65, 0x73, 0x74, + 0x65, 0x72, 0x53, 0x6c, 0x61, 0x73, 0x68, 0x69, 0x6e, 0x67, 0x73, 0x50, 0x6f, 0x6f, 0x6c, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x35, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, + 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, + 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x74, 0x74, 0x65, 0x73, 0x74, 0x65, 0x72, + 0x53, 0x6c, 0x61, 0x73, 0x68, 0x69, 0x6e, 0x67, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0x55, + 0x0a, 0x1c, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x65, 0x72, 0x53, 0x6c, 0x61, 0x73, 0x68, 0x69, + 0x6e, 0x67, 0x50, 0x6f, 0x6f, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x35, + 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x65, + 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x50, + 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x65, 0x72, 0x53, 0x6c, 0x61, 0x73, 0x68, 0x69, 0x6e, 0x67, 0x52, + 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0x56, 0x0a, 0x1a, 0x56, 0x6f, 0x6c, 0x75, 0x6e, 0x74, 0x61, + 0x72, 0x79, 0x45, 0x78, 0x69, 0x74, 0x73, 0x50, 0x6f, 0x6f, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x12, 0x38, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x03, 0x28, + 0x0b, 0x32, 0x24, 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, + 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x69, 0x67, 0x6e, 0x65, 0x64, 0x56, 0x6f, 0x6c, 0x75, 0x6e, 0x74, + 0x61, 0x72, 0x79, 0x45, 0x78, 0x69, 0x74, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0x41, 0x0a, + 0x14, 0x46, 0x6f, 0x72, 0x6b, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x29, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, + 0x03, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, + 0x74, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x6f, 0x72, 0x6b, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, + 0x22, 0x84, 0x01, 0x0a, 0x0c, 0x53, 0x70, 0x65, 0x63, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x12, 0x3b, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, + 0x27, 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, + 0x31, 0x2e, 0x53, 0x70, 0x65, 0x63, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x44, + 0x61, 0x74, 0x61, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x1a, 0x37, + 0x0a, 0x09, 0x44, 0x61, 0x74, 0x61, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, + 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, + 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, + 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x4f, 0x0a, 0x17, 0x44, 0x65, 0x70, 0x6f, 0x73, + 0x69, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x12, 0x34, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x20, 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, + 0x76, 0x31, 0x2e, 0x44, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, + 0x63, 0x74, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0x46, 0x0a, 0x0f, 0x44, 0x65, 0x70, 0x6f, + 0x73, 0x69, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x63, + 0x68, 0x61, 0x69, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x63, + 0x68, 0x61, 0x69, 0x6e, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, + 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, + 0x32, 0x80, 0x1b, 0x0a, 0x0b, 0x42, 0x65, 0x61, 0x63, 0x6f, 0x6e, 0x43, 0x68, 0x61, 0x69, 0x6e, + 0x12, 0x66, 0x0a, 0x0a, 0x47, 0x65, 0x74, 0x47, 0x65, 0x6e, 0x65, 0x73, 0x69, 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, 0x20, 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, + 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x6e, 0x65, 0x73, 0x69, 0x73, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x1e, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x18, + 0x12, 0x16, 0x2f, 0x65, 0x74, 0x68, 0x2f, 0x76, 0x31, 0x2f, 0x62, 0x65, 0x61, 0x63, 0x6f, 0x6e, + 0x2f, 0x67, 0x65, 0x6e, 0x65, 0x73, 0x69, 0x73, 0x12, 0x80, 0x01, 0x0a, 0x0c, 0x47, 0x65, 0x74, + 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x6f, 0x6f, 0x74, 0x12, 0x1d, 0x2e, 0x65, 0x74, 0x68, 0x65, + 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x74, 0x61, 0x74, + 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, + 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x65, + 0x52, 0x6f, 0x6f, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x2d, 0x82, 0xd3, + 0xe4, 0x93, 0x02, 0x27, 0x12, 0x25, 0x2f, 0x65, 0x74, 0x68, 0x2f, 0x76, 0x31, 0x2f, 0x62, 0x65, + 0x61, 0x63, 0x6f, 0x6e, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x73, 0x2f, 0x7b, 0x73, 0x74, 0x61, + 0x74, 0x65, 0x5f, 0x69, 0x64, 0x7d, 0x2f, 0x72, 0x6f, 0x6f, 0x74, 0x12, 0x80, 0x01, 0x0a, 0x0c, + 0x47, 0x65, 0x74, 0x53, 0x74, 0x61, 0x74, 0x65, 0x46, 0x6f, 0x72, 0x6b, 0x12, 0x1d, 0x2e, 0x65, + 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x53, + 0x74, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e, 0x65, 0x74, + 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x74, + 0x61, 0x74, 0x65, 0x46, 0x6f, 0x72, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, + 0x2d, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x27, 0x12, 0x25, 0x2f, 0x65, 0x74, 0x68, 0x2f, 0x76, 0x31, + 0x2f, 0x62, 0x65, 0x61, 0x63, 0x6f, 0x6e, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x73, 0x2f, 0x7b, + 0x73, 0x74, 0x61, 0x74, 0x65, 0x5f, 0x69, 0x64, 0x7d, 0x2f, 0x66, 0x6f, 0x72, 0x6b, 0x12, 0xa8, + 0x01, 0x0a, 0x16, 0x47, 0x65, 0x74, 0x46, 0x69, 0x6e, 0x61, 0x6c, 0x69, 0x74, 0x79, 0x43, 0x68, + 0x65, 0x63, 0x6b, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x12, 0x1d, 0x2e, 0x65, 0x74, 0x68, 0x65, + 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x74, 0x61, 0x74, + 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x30, 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, + 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x65, + 0x46, 0x69, 0x6e, 0x61, 0x6c, 0x69, 0x74, 0x79, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x70, 0x6f, 0x69, + 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x3d, 0x82, 0xd3, 0xe4, 0x93, + 0x02, 0x37, 0x12, 0x35, 0x2f, 0x65, 0x74, 0x68, 0x2f, 0x76, 0x31, 0x2f, 0x62, 0x65, 0x61, 0x63, + 0x6f, 0x6e, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x73, 0x2f, 0x7b, 0x73, 0x74, 0x61, 0x74, 0x65, + 0x5f, 0x69, 0x64, 0x7d, 0x2f, 0x66, 0x69, 0x6e, 0x61, 0x6c, 0x69, 0x74, 0x79, 0x5f, 0x63, 0x68, + 0x65, 0x63, 0x6b, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x12, 0x98, 0x01, 0x0a, 0x0e, 0x4c, 0x69, + 0x73, 0x74, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x73, 0x12, 0x27, 0x2e, 0x65, + 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x53, + 0x74, 0x61, 0x74, 0x65, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x73, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x28, 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, + 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x56, 0x61, 0x6c, + 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, + 0x33, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2d, 0x12, 0x2b, 0x2f, 0x65, 0x74, 0x68, 0x2f, 0x76, 0x31, + 0x2f, 0x62, 0x65, 0x61, 0x63, 0x6f, 0x6e, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x73, 0x2f, 0x7b, + 0x73, 0x74, 0x61, 0x74, 0x65, 0x5f, 0x69, 0x64, 0x7d, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, + 0x74, 0x6f, 0x72, 0x73, 0x12, 0xa3, 0x01, 0x0a, 0x0c, 0x47, 0x65, 0x74, 0x56, 0x61, 0x6c, 0x69, + 0x64, 0x61, 0x74, 0x6f, 0x72, 0x12, 0x26, 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, + 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x56, 0x61, 0x6c, + 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x27, 0x2e, + 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x2e, + 0x53, 0x74, 0x61, 0x74, 0x65, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x42, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x3c, 0x12, 0x3a, + 0x2f, 0x65, 0x74, 0x68, 0x2f, 0x76, 0x31, 0x2f, 0x62, 0x65, 0x61, 0x63, 0x6f, 0x6e, 0x2f, 0x73, + 0x74, 0x61, 0x74, 0x65, 0x73, 0x2f, 0x7b, 0x73, 0x74, 0x61, 0x74, 0x65, 0x5f, 0x69, 0x64, 0x7d, + 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x73, 0x2f, 0x7b, 0x76, 0x61, 0x6c, + 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x5f, 0x69, 0x64, 0x7d, 0x12, 0xab, 0x01, 0x0a, 0x15, 0x4c, + 0x69, 0x73, 0x74, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x42, 0x61, 0x6c, 0x61, + 0x6e, 0x63, 0x65, 0x73, 0x12, 0x29, 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, + 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, + 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, + 0x2a, 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, + 0x31, 0x2e, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x42, 0x61, 0x6c, 0x61, 0x6e, + 0x63, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x3b, 0x82, 0xd3, 0xe4, + 0x93, 0x02, 0x35, 0x12, 0x33, 0x2f, 0x65, 0x74, 0x68, 0x2f, 0x76, 0x31, 0x2f, 0x62, 0x65, 0x61, + 0x63, 0x6f, 0x6e, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x73, 0x2f, 0x7b, 0x73, 0x74, 0x61, 0x74, + 0x65, 0x5f, 0x69, 0x64, 0x7d, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x5f, + 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x12, 0x98, 0x01, 0x0a, 0x0e, 0x4c, 0x69, 0x73, + 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x74, 0x65, 0x65, 0x73, 0x12, 0x27, 0x2e, 0x65, 0x74, + 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x74, + 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x74, 0x65, 0x65, 0x73, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x1a, 0x28, 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, + 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6d, 0x6d, + 0x69, 0x74, 0x74, 0x65, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x33, + 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2d, 0x12, 0x2b, 0x2f, 0x65, 0x74, 0x68, 0x2f, 0x76, 0x31, 0x2f, + 0x62, 0x65, 0x61, 0x63, 0x6f, 0x6e, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x73, 0x2f, 0x7b, 0x73, + 0x74, 0x61, 0x74, 0x65, 0x5f, 0x69, 0x64, 0x7d, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x74, + 0x65, 0x65, 0x73, 0x12, 0x7f, 0x0a, 0x10, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, + 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x12, 0x24, 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, + 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x48, + 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x25, 0x2e, + 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x2e, + 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x1e, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x18, 0x12, 0x16, 0x2f, 0x65, + 0x74, 0x68, 0x2f, 0x76, 0x31, 0x2f, 0x62, 0x65, 0x61, 0x63, 0x6f, 0x6e, 0x2f, 0x68, 0x65, 0x61, + 0x64, 0x65, 0x72, 0x73, 0x12, 0x80, 0x01, 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x42, 0x6c, 0x6f, 0x63, + 0x6b, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x12, 0x1d, 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, + 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x24, 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, + 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x65, + 0x61, 0x64, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x29, 0x82, 0xd3, + 0xe4, 0x93, 0x02, 0x23, 0x12, 0x21, 0x2f, 0x65, 0x74, 0x68, 0x2f, 0x76, 0x31, 0x2f, 0x62, 0x65, + 0x61, 0x63, 0x6f, 0x6e, 0x2f, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x2f, 0x7b, 0x62, 0x6c, + 0x6f, 0x63, 0x6b, 0x5f, 0x69, 0x64, 0x7d, 0x12, 0x6e, 0x0a, 0x0b, 0x53, 0x75, 0x62, 0x6d, 0x69, + 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x25, 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, + 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x65, 0x61, 0x63, 0x6f, 0x6e, 0x42, + 0x6c, 0x6f, 0x63, 0x6b, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x1a, 0x16, 0x2e, + 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, + 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x20, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1a, 0x22, 0x15, 0x2f, + 0x65, 0x74, 0x68, 0x2f, 0x76, 0x31, 0x2f, 0x62, 0x65, 0x61, 0x63, 0x6f, 0x6e, 0x2f, 0x62, 0x6c, + 0x6f, 0x63, 0x6b, 0x73, 0x3a, 0x01, 0x2a, 0x12, 0x73, 0x0a, 0x08, 0x47, 0x65, 0x74, 0x42, 0x6c, + 0x6f, 0x63, 0x6b, 0x12, 0x1d, 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, + 0x74, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x1a, 0x1e, 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, + 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x22, 0x28, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x22, 0x12, 0x20, 0x2f, 0x65, 0x74, 0x68, + 0x2f, 0x76, 0x31, 0x2f, 0x62, 0x65, 0x61, 0x63, 0x6f, 0x6e, 0x2f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, + 0x73, 0x2f, 0x7b, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x69, 0x64, 0x7d, 0x12, 0x80, 0x01, 0x0a, + 0x0c, 0x47, 0x65, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x6f, 0x6f, 0x74, 0x12, 0x1d, 0x2e, + 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x2e, + 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e, 0x65, + 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x42, + 0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x6f, 0x6f, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x22, 0x2d, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x27, 0x12, 0x25, 0x2f, 0x65, 0x74, 0x68, 0x2f, 0x76, + 0x31, 0x2f, 0x62, 0x65, 0x61, 0x63, 0x6f, 0x6e, 0x2f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x73, 0x2f, + 0x7b, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x69, 0x64, 0x7d, 0x2f, 0x72, 0x6f, 0x6f, 0x74, 0x12, + 0x99, 0x01, 0x0a, 0x15, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x41, 0x74, 0x74, + 0x65, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x1d, 0x2e, 0x65, 0x74, 0x68, 0x65, + 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x6c, 0x6f, 0x63, + 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2a, 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, + 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, + 0x41, 0x74, 0x74, 0x65, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x35, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2f, 0x12, 0x2d, 0x2f, 0x65, + 0x74, 0x68, 0x2f, 0x76, 0x31, 0x2f, 0x62, 0x65, 0x61, 0x63, 0x6f, 0x6e, 0x2f, 0x62, 0x6c, 0x6f, + 0x63, 0x6b, 0x73, 0x2f, 0x7b, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x69, 0x64, 0x7d, 0x2f, 0x61, + 0x74, 0x74, 0x65, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x95, 0x01, 0x0a, 0x14, + 0x4c, 0x69, 0x73, 0x74, 0x50, 0x6f, 0x6f, 0x6c, 0x41, 0x74, 0x74, 0x65, 0x73, 0x74, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x28, 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, + 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x74, 0x74, 0x65, 0x73, 0x74, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x73, 0x50, 0x6f, 0x6f, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x29, + 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, + 0x2e, 0x41, 0x74, 0x74, 0x65, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x50, 0x6f, 0x6f, + 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x28, 0x82, 0xd3, 0xe4, 0x93, 0x02, + 0x22, 0x12, 0x20, 0x2f, 0x65, 0x74, 0x68, 0x2f, 0x76, 0x31, 0x2f, 0x62, 0x65, 0x61, 0x63, 0x6f, + 0x6e, 0x2f, 0x70, 0x6f, 0x6f, 0x6c, 0x2f, 0x61, 0x74, 0x74, 0x65, 0x73, 0x74, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x73, 0x12, 0x85, 0x01, 0x0a, 0x12, 0x53, 0x75, 0x62, 0x6d, 0x69, 0x74, 0x41, 0x74, + 0x74, 0x65, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x2a, 0x2e, 0x65, 0x74, 0x68, + 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x75, 0x62, + 0x6d, 0x69, 0x74, 0x41, 0x74, 0x74, 0x65, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x2b, + 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x25, 0x22, 0x20, 0x2f, 0x65, 0x74, 0x68, 0x2f, 0x76, 0x31, 0x2f, + 0x62, 0x65, 0x61, 0x63, 0x6f, 0x6e, 0x2f, 0x70, 0x6f, 0x6f, 0x6c, 0x2f, 0x61, 0x74, 0x74, 0x65, + 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x3a, 0x01, 0x2a, 0x12, 0x93, 0x01, 0x0a, 0x19, + 0x4c, 0x69, 0x73, 0x74, 0x50, 0x6f, 0x6f, 0x6c, 0x41, 0x74, 0x74, 0x65, 0x73, 0x74, 0x65, 0x72, + 0x53, 0x6c, 0x61, 0x73, 0x68, 0x69, 0x6e, 0x67, 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, 0x2e, 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, + 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x74, 0x74, 0x65, 0x73, 0x74, 0x65, 0x72, 0x53, 0x6c, 0x61, 0x73, + 0x68, 0x69, 0x6e, 0x67, 0x73, 0x50, 0x6f, 0x6f, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x22, 0x2e, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x28, 0x12, 0x26, 0x2f, 0x65, 0x74, 0x68, 0x2f, + 0x76, 0x31, 0x2f, 0x62, 0x65, 0x61, 0x63, 0x6f, 0x6e, 0x2f, 0x70, 0x6f, 0x6f, 0x6c, 0x2f, 0x61, + 0x74, 0x74, 0x65, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x73, 0x6c, 0x61, 0x73, 0x68, 0x69, 0x6e, 0x67, + 0x73, 0x12, 0x86, 0x01, 0x0a, 0x16, 0x53, 0x75, 0x62, 0x6d, 0x69, 0x74, 0x41, 0x74, 0x74, 0x65, + 0x73, 0x74, 0x65, 0x72, 0x53, 0x6c, 0x61, 0x73, 0x68, 0x69, 0x6e, 0x67, 0x12, 0x21, 0x2e, 0x65, + 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x41, + 0x74, 0x74, 0x65, 0x73, 0x74, 0x65, 0x72, 0x53, 0x6c, 0x61, 0x73, 0x68, 0x69, 0x6e, 0x67, 0x1a, + 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, + 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x31, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2b, 0x22, + 0x26, 0x2f, 0x65, 0x74, 0x68, 0x2f, 0x76, 0x31, 0x2f, 0x62, 0x65, 0x61, 0x63, 0x6f, 0x6e, 0x2f, + 0x70, 0x6f, 0x6f, 0x6c, 0x2f, 0x61, 0x74, 0x74, 0x65, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x73, 0x6c, + 0x61, 0x73, 0x68, 0x69, 0x6e, 0x67, 0x73, 0x3a, 0x01, 0x2a, 0x12, 0x92, 0x01, 0x0a, 0x19, 0x4c, + 0x69, 0x73, 0x74, 0x50, 0x6f, 0x6f, 0x6c, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x65, 0x72, 0x53, + 0x6c, 0x61, 0x73, 0x68, 0x69, 0x6e, 0x67, 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, 0x2d, 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, + 0x76, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x65, 0x72, 0x53, 0x6c, 0x61, 0x73, 0x68, + 0x69, 0x6e, 0x67, 0x50, 0x6f, 0x6f, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, + 0x2e, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x28, 0x12, 0x26, 0x2f, 0x65, 0x74, 0x68, 0x2f, 0x76, 0x31, + 0x2f, 0x62, 0x65, 0x61, 0x63, 0x6f, 0x6e, 0x2f, 0x70, 0x6f, 0x6f, 0x6c, 0x2f, 0x70, 0x72, 0x6f, + 0x70, 0x6f, 0x73, 0x65, 0x72, 0x5f, 0x73, 0x6c, 0x61, 0x73, 0x68, 0x69, 0x6e, 0x67, 0x73, 0x12, + 0x86, 0x01, 0x0a, 0x16, 0x53, 0x75, 0x62, 0x6d, 0x69, 0x74, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, + 0x65, 0x72, 0x53, 0x6c, 0x61, 0x73, 0x68, 0x69, 0x6e, 0x67, 0x12, 0x21, 0x2e, 0x65, 0x74, 0x68, + 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x6f, + 0x70, 0x6f, 0x73, 0x65, 0x72, 0x53, 0x6c, 0x61, 0x73, 0x68, 0x69, 0x6e, 0x67, 0x1a, 0x16, 0x2e, + 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, + 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x31, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2b, 0x22, 0x26, 0x2f, + 0x65, 0x74, 0x68, 0x2f, 0x76, 0x31, 0x2f, 0x62, 0x65, 0x61, 0x63, 0x6f, 0x6e, 0x2f, 0x70, 0x6f, + 0x6f, 0x6c, 0x2f, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x65, 0x72, 0x5f, 0x73, 0x6c, 0x61, 0x73, + 0x68, 0x69, 0x6e, 0x67, 0x73, 0x3a, 0x01, 0x2a, 0x12, 0x8a, 0x01, 0x0a, 0x16, 0x4c, 0x69, 0x73, + 0x74, 0x50, 0x6f, 0x6f, 0x6c, 0x56, 0x6f, 0x6c, 0x75, 0x6e, 0x74, 0x61, 0x72, 0x79, 0x45, 0x78, + 0x69, 0x74, 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, 0x2b, 0x2e, 0x65, 0x74, + 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x56, 0x6f, + 0x6c, 0x75, 0x6e, 0x74, 0x61, 0x72, 0x79, 0x45, 0x78, 0x69, 0x74, 0x73, 0x50, 0x6f, 0x6f, 0x6c, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x2b, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x25, + 0x12, 0x23, 0x2f, 0x65, 0x74, 0x68, 0x2f, 0x76, 0x31, 0x2f, 0x62, 0x65, 0x61, 0x63, 0x6f, 0x6e, + 0x2f, 0x70, 0x6f, 0x6f, 0x6c, 0x2f, 0x76, 0x6f, 0x6c, 0x75, 0x6e, 0x74, 0x61, 0x72, 0x79, 0x5f, + 0x65, 0x78, 0x69, 0x74, 0x73, 0x12, 0x83, 0x01, 0x0a, 0x13, 0x53, 0x75, 0x62, 0x6d, 0x69, 0x74, + 0x56, 0x6f, 0x6c, 0x75, 0x6e, 0x74, 0x61, 0x72, 0x79, 0x45, 0x78, 0x69, 0x74, 0x12, 0x24, 0x2e, + 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x2e, + 0x53, 0x69, 0x67, 0x6e, 0x65, 0x64, 0x56, 0x6f, 0x6c, 0x75, 0x6e, 0x74, 0x61, 0x72, 0x79, 0x45, + 0x78, 0x69, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x2e, 0x82, 0xd3, 0xe4, + 0x93, 0x02, 0x28, 0x22, 0x23, 0x2f, 0x65, 0x74, 0x68, 0x2f, 0x76, 0x31, 0x2f, 0x62, 0x65, 0x61, + 0x63, 0x6f, 0x6e, 0x2f, 0x70, 0x6f, 0x6f, 0x6c, 0x2f, 0x76, 0x6f, 0x6c, 0x75, 0x6e, 0x74, 0x61, + 0x72, 0x79, 0x5f, 0x65, 0x78, 0x69, 0x74, 0x73, 0x3a, 0x01, 0x2a, 0x12, 0x76, 0x0a, 0x0f, 0x47, + 0x65, 0x74, 0x46, 0x6f, 0x72, 0x6b, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 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, 0x25, 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, + 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x6f, 0x72, 0x6b, 0x53, 0x63, 0x68, + 0x65, 0x64, 0x75, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x24, 0x82, + 0xd3, 0xe4, 0x93, 0x02, 0x1e, 0x12, 0x1c, 0x2f, 0x65, 0x74, 0x68, 0x2f, 0x76, 0x31, 0x2f, 0x63, + 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x66, 0x6f, 0x72, 0x6b, 0x5f, 0x73, 0x63, 0x68, 0x65, 0x64, + 0x75, 0x6c, 0x65, 0x12, 0x5d, 0x0a, 0x07, 0x47, 0x65, 0x74, 0x53, 0x70, 0x65, 0x63, 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, 0x1d, 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, + 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x70, 0x65, 0x63, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x1b, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x15, 0x12, 0x13, 0x2f, + 0x65, 0x74, 0x68, 0x2f, 0x76, 0x31, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x73, 0x70, + 0x65, 0x63, 0x12, 0x7f, 0x0a, 0x12, 0x47, 0x65, 0x74, 0x44, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, + 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 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, 0x28, 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, + 0x76, 0x31, 0x2e, 0x44, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, + 0x63, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x27, 0x82, 0xd3, 0xe4, 0x93, + 0x02, 0x21, 0x12, 0x1f, 0x2f, 0x65, 0x74, 0x68, 0x2f, 0x76, 0x31, 0x2f, 0x63, 0x6f, 0x6e, 0x66, + 0x69, 0x67, 0x2f, 0x64, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, + 0x61, 0x63, 0x74, 0x42, 0x7b, 0x0a, 0x13, 0x6f, 0x72, 0x67, 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, + 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x42, 0x10, 0x42, 0x65, 0x61, 0x63, + 0x6f, 0x6e, 0x43, 0x68, 0x61, 0x69, 0x6e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x2c, + 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x72, 0x79, 0x73, 0x6d, + 0x61, 0x74, 0x69, 0x63, 0x6c, 0x61, 0x62, 0x73, 0x2f, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, + 0x6d, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x65, 0x74, 0x68, 0x2f, 0x76, 0x31, 0xaa, 0x02, 0x0f, 0x45, + 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x45, 0x74, 0x68, 0x2e, 0x76, 0x31, 0xca, 0x02, + 0x0f, 0x45, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x5c, 0x45, 0x74, 0x68, 0x5c, 0x76, 0x31, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_eth_v1_beacon_chain_service_proto_rawDescOnce sync.Once + file_eth_v1_beacon_chain_service_proto_rawDescData = file_eth_v1_beacon_chain_service_proto_rawDesc +) + +func file_eth_v1_beacon_chain_service_proto_rawDescGZIP() []byte { + file_eth_v1_beacon_chain_service_proto_rawDescOnce.Do(func() { + file_eth_v1_beacon_chain_service_proto_rawDescData = protoimpl.X.CompressGZIP(file_eth_v1_beacon_chain_service_proto_rawDescData) + }) + return file_eth_v1_beacon_chain_service_proto_rawDescData +} + +var file_eth_v1_beacon_chain_service_proto_msgTypes = make([]protoimpl.MessageInfo, 39) +var file_eth_v1_beacon_chain_service_proto_goTypes = []interface{}{ + (*GenesisResponse)(nil), // 0: ethereum.eth.v1.GenesisResponse + (*StateRequest)(nil), // 1: ethereum.eth.v1.StateRequest + (*StateRootResponse)(nil), // 2: ethereum.eth.v1.StateRootResponse + (*StateForkResponse)(nil), // 3: ethereum.eth.v1.StateForkResponse + (*StateFinalityCheckpointResponse)(nil), // 4: ethereum.eth.v1.StateFinalityCheckpointResponse + (*StateValidatorsRequest)(nil), // 5: ethereum.eth.v1.StateValidatorsRequest + (*ValidatorBalancesRequest)(nil), // 6: ethereum.eth.v1.ValidatorBalancesRequest + (*StateValidatorsResponse)(nil), // 7: ethereum.eth.v1.StateValidatorsResponse + (*ValidatorBalancesResponse)(nil), // 8: ethereum.eth.v1.ValidatorBalancesResponse + (*ValidatorBalance)(nil), // 9: ethereum.eth.v1.ValidatorBalance + (*StateValidatorRequest)(nil), // 10: ethereum.eth.v1.StateValidatorRequest + (*StateValidatorResponse)(nil), // 11: ethereum.eth.v1.StateValidatorResponse + (*StateCommitteesRequest)(nil), // 12: ethereum.eth.v1.StateCommitteesRequest + (*StateCommitteesResponse)(nil), // 13: ethereum.eth.v1.StateCommitteesResponse + (*BlockAttestationsResponse)(nil), // 14: ethereum.eth.v1.BlockAttestationsResponse + (*BlockRootContainer)(nil), // 15: ethereum.eth.v1.BlockRootContainer + (*BlockRootResponse)(nil), // 16: ethereum.eth.v1.BlockRootResponse + (*BlockHeadersRequest)(nil), // 17: ethereum.eth.v1.BlockHeadersRequest + (*BlockHeadersResponse)(nil), // 18: ethereum.eth.v1.BlockHeadersResponse + (*BlockRequest)(nil), // 19: ethereum.eth.v1.BlockRequest + (*BlockHeaderResponse)(nil), // 20: ethereum.eth.v1.BlockHeaderResponse + (*BlockHeaderContainer)(nil), // 21: ethereum.eth.v1.BlockHeaderContainer + (*BeaconBlockHeaderContainer)(nil), // 22: ethereum.eth.v1.BeaconBlockHeaderContainer + (*BlockResponse)(nil), // 23: ethereum.eth.v1.BlockResponse + (*BeaconBlockContainer)(nil), // 24: ethereum.eth.v1.BeaconBlockContainer + (*AttestationsPoolRequest)(nil), // 25: ethereum.eth.v1.AttestationsPoolRequest + (*SubmitAttestationsRequest)(nil), // 26: ethereum.eth.v1.SubmitAttestationsRequest + (*AttestationsPoolResponse)(nil), // 27: ethereum.eth.v1.AttestationsPoolResponse + (*AttesterSlashingsPoolResponse)(nil), // 28: ethereum.eth.v1.AttesterSlashingsPoolResponse + (*ProposerSlashingPoolResponse)(nil), // 29: ethereum.eth.v1.ProposerSlashingPoolResponse + (*VoluntaryExitsPoolResponse)(nil), // 30: ethereum.eth.v1.VoluntaryExitsPoolResponse + (*ForkScheduleResponse)(nil), // 31: ethereum.eth.v1.ForkScheduleResponse + (*SpecResponse)(nil), // 32: ethereum.eth.v1.SpecResponse + (*DepositContractResponse)(nil), // 33: ethereum.eth.v1.DepositContractResponse + (*DepositContract)(nil), // 34: ethereum.eth.v1.DepositContract + (*GenesisResponse_Genesis)(nil), // 35: ethereum.eth.v1.GenesisResponse.Genesis + (*StateRootResponse_StateRoot)(nil), // 36: ethereum.eth.v1.StateRootResponse.StateRoot + (*StateFinalityCheckpointResponse_StateFinalityCheckpoint)(nil), // 37: ethereum.eth.v1.StateFinalityCheckpointResponse.StateFinalityCheckpoint + nil, // 38: ethereum.eth.v1.SpecResponse.DataEntry + (*Fork)(nil), // 39: ethereum.eth.v1.Fork + (*ValidatorContainer)(nil), // 40: ethereum.eth.v1.ValidatorContainer + (*Committee)(nil), // 41: ethereum.eth.v1.Committee + (*Attestation)(nil), // 42: ethereum.eth.v1.Attestation + (*BeaconBlockHeader)(nil), // 43: ethereum.eth.v1.BeaconBlockHeader + (*BeaconBlock)(nil), // 44: ethereum.eth.v1.BeaconBlock + (*AttesterSlashing)(nil), // 45: ethereum.eth.v1.AttesterSlashing + (*ProposerSlashing)(nil), // 46: ethereum.eth.v1.ProposerSlashing + (*SignedVoluntaryExit)(nil), // 47: ethereum.eth.v1.SignedVoluntaryExit + (*timestamp.Timestamp)(nil), // 48: google.protobuf.Timestamp + (*Checkpoint)(nil), // 49: ethereum.eth.v1.Checkpoint + (*empty.Empty)(nil), // 50: google.protobuf.Empty +} +var file_eth_v1_beacon_chain_service_proto_depIdxs = []int32{ + 35, // 0: ethereum.eth.v1.GenesisResponse.data:type_name -> ethereum.eth.v1.GenesisResponse.Genesis + 36, // 1: ethereum.eth.v1.StateRootResponse.data:type_name -> ethereum.eth.v1.StateRootResponse.StateRoot + 39, // 2: ethereum.eth.v1.StateForkResponse.data:type_name -> ethereum.eth.v1.Fork + 37, // 3: ethereum.eth.v1.StateFinalityCheckpointResponse.data:type_name -> ethereum.eth.v1.StateFinalityCheckpointResponse.StateFinalityCheckpoint + 40, // 4: ethereum.eth.v1.StateValidatorsResponse.data:type_name -> ethereum.eth.v1.ValidatorContainer + 9, // 5: ethereum.eth.v1.ValidatorBalancesResponse.data:type_name -> ethereum.eth.v1.ValidatorBalance + 40, // 6: ethereum.eth.v1.StateValidatorResponse.data:type_name -> ethereum.eth.v1.ValidatorContainer + 41, // 7: ethereum.eth.v1.StateCommitteesResponse.data:type_name -> ethereum.eth.v1.Committee + 42, // 8: ethereum.eth.v1.BlockAttestationsResponse.data:type_name -> ethereum.eth.v1.Attestation + 15, // 9: ethereum.eth.v1.BlockRootResponse.data:type_name -> ethereum.eth.v1.BlockRootContainer + 21, // 10: ethereum.eth.v1.BlockHeadersResponse.data:type_name -> ethereum.eth.v1.BlockHeaderContainer + 21, // 11: ethereum.eth.v1.BlockHeaderResponse.data:type_name -> ethereum.eth.v1.BlockHeaderContainer + 22, // 12: ethereum.eth.v1.BlockHeaderContainer.header:type_name -> ethereum.eth.v1.BeaconBlockHeaderContainer + 43, // 13: ethereum.eth.v1.BeaconBlockHeaderContainer.message:type_name -> ethereum.eth.v1.BeaconBlockHeader + 24, // 14: ethereum.eth.v1.BlockResponse.data:type_name -> ethereum.eth.v1.BeaconBlockContainer + 44, // 15: ethereum.eth.v1.BeaconBlockContainer.message:type_name -> ethereum.eth.v1.BeaconBlock + 42, // 16: ethereum.eth.v1.SubmitAttestationsRequest.data:type_name -> ethereum.eth.v1.Attestation + 42, // 17: ethereum.eth.v1.AttestationsPoolResponse.data:type_name -> ethereum.eth.v1.Attestation + 45, // 18: ethereum.eth.v1.AttesterSlashingsPoolResponse.data:type_name -> ethereum.eth.v1.AttesterSlashing + 46, // 19: ethereum.eth.v1.ProposerSlashingPoolResponse.data:type_name -> ethereum.eth.v1.ProposerSlashing + 47, // 20: ethereum.eth.v1.VoluntaryExitsPoolResponse.data:type_name -> ethereum.eth.v1.SignedVoluntaryExit + 39, // 21: ethereum.eth.v1.ForkScheduleResponse.data:type_name -> ethereum.eth.v1.Fork + 38, // 22: ethereum.eth.v1.SpecResponse.data:type_name -> ethereum.eth.v1.SpecResponse.DataEntry + 34, // 23: ethereum.eth.v1.DepositContractResponse.data:type_name -> ethereum.eth.v1.DepositContract + 48, // 24: ethereum.eth.v1.GenesisResponse.Genesis.genesis_time:type_name -> google.protobuf.Timestamp + 49, // 25: ethereum.eth.v1.StateFinalityCheckpointResponse.StateFinalityCheckpoint.previous_justified:type_name -> ethereum.eth.v1.Checkpoint + 49, // 26: ethereum.eth.v1.StateFinalityCheckpointResponse.StateFinalityCheckpoint.current_justified:type_name -> ethereum.eth.v1.Checkpoint + 49, // 27: ethereum.eth.v1.StateFinalityCheckpointResponse.StateFinalityCheckpoint.finalized:type_name -> ethereum.eth.v1.Checkpoint + 50, // 28: ethereum.eth.v1.BeaconChain.GetGenesis:input_type -> google.protobuf.Empty + 1, // 29: ethereum.eth.v1.BeaconChain.GetStateRoot:input_type -> ethereum.eth.v1.StateRequest + 1, // 30: ethereum.eth.v1.BeaconChain.GetStateFork:input_type -> ethereum.eth.v1.StateRequest + 1, // 31: ethereum.eth.v1.BeaconChain.GetFinalityCheckpoints:input_type -> ethereum.eth.v1.StateRequest + 5, // 32: ethereum.eth.v1.BeaconChain.ListValidators:input_type -> ethereum.eth.v1.StateValidatorsRequest + 10, // 33: ethereum.eth.v1.BeaconChain.GetValidator:input_type -> ethereum.eth.v1.StateValidatorRequest + 6, // 34: ethereum.eth.v1.BeaconChain.ListValidatorBalances:input_type -> ethereum.eth.v1.ValidatorBalancesRequest + 12, // 35: ethereum.eth.v1.BeaconChain.ListCommittees:input_type -> ethereum.eth.v1.StateCommitteesRequest + 17, // 36: ethereum.eth.v1.BeaconChain.ListBlockHeaders:input_type -> ethereum.eth.v1.BlockHeadersRequest + 19, // 37: ethereum.eth.v1.BeaconChain.GetBlockHeader:input_type -> ethereum.eth.v1.BlockRequest + 24, // 38: ethereum.eth.v1.BeaconChain.SubmitBlock:input_type -> ethereum.eth.v1.BeaconBlockContainer + 19, // 39: ethereum.eth.v1.BeaconChain.GetBlock:input_type -> ethereum.eth.v1.BlockRequest + 19, // 40: ethereum.eth.v1.BeaconChain.GetBlockRoot:input_type -> ethereum.eth.v1.BlockRequest + 19, // 41: ethereum.eth.v1.BeaconChain.ListBlockAttestations:input_type -> ethereum.eth.v1.BlockRequest + 25, // 42: ethereum.eth.v1.BeaconChain.ListPoolAttestations:input_type -> ethereum.eth.v1.AttestationsPoolRequest + 26, // 43: ethereum.eth.v1.BeaconChain.SubmitAttestations:input_type -> ethereum.eth.v1.SubmitAttestationsRequest + 50, // 44: ethereum.eth.v1.BeaconChain.ListPoolAttesterSlashings:input_type -> google.protobuf.Empty + 45, // 45: ethereum.eth.v1.BeaconChain.SubmitAttesterSlashing:input_type -> ethereum.eth.v1.AttesterSlashing + 50, // 46: ethereum.eth.v1.BeaconChain.ListPoolProposerSlashings:input_type -> google.protobuf.Empty + 46, // 47: ethereum.eth.v1.BeaconChain.SubmitProposerSlashing:input_type -> ethereum.eth.v1.ProposerSlashing + 50, // 48: ethereum.eth.v1.BeaconChain.ListPoolVoluntaryExits:input_type -> google.protobuf.Empty + 47, // 49: ethereum.eth.v1.BeaconChain.SubmitVoluntaryExit:input_type -> ethereum.eth.v1.SignedVoluntaryExit + 50, // 50: ethereum.eth.v1.BeaconChain.GetForkSchedule:input_type -> google.protobuf.Empty + 50, // 51: ethereum.eth.v1.BeaconChain.GetSpec:input_type -> google.protobuf.Empty + 50, // 52: ethereum.eth.v1.BeaconChain.GetDepositContract:input_type -> google.protobuf.Empty + 0, // 53: ethereum.eth.v1.BeaconChain.GetGenesis:output_type -> ethereum.eth.v1.GenesisResponse + 2, // 54: ethereum.eth.v1.BeaconChain.GetStateRoot:output_type -> ethereum.eth.v1.StateRootResponse + 3, // 55: ethereum.eth.v1.BeaconChain.GetStateFork:output_type -> ethereum.eth.v1.StateForkResponse + 4, // 56: ethereum.eth.v1.BeaconChain.GetFinalityCheckpoints:output_type -> ethereum.eth.v1.StateFinalityCheckpointResponse + 7, // 57: ethereum.eth.v1.BeaconChain.ListValidators:output_type -> ethereum.eth.v1.StateValidatorsResponse + 11, // 58: ethereum.eth.v1.BeaconChain.GetValidator:output_type -> ethereum.eth.v1.StateValidatorResponse + 8, // 59: ethereum.eth.v1.BeaconChain.ListValidatorBalances:output_type -> ethereum.eth.v1.ValidatorBalancesResponse + 13, // 60: ethereum.eth.v1.BeaconChain.ListCommittees:output_type -> ethereum.eth.v1.StateCommitteesResponse + 18, // 61: ethereum.eth.v1.BeaconChain.ListBlockHeaders:output_type -> ethereum.eth.v1.BlockHeadersResponse + 20, // 62: ethereum.eth.v1.BeaconChain.GetBlockHeader:output_type -> ethereum.eth.v1.BlockHeaderResponse + 50, // 63: ethereum.eth.v1.BeaconChain.SubmitBlock:output_type -> google.protobuf.Empty + 23, // 64: ethereum.eth.v1.BeaconChain.GetBlock:output_type -> ethereum.eth.v1.BlockResponse + 16, // 65: ethereum.eth.v1.BeaconChain.GetBlockRoot:output_type -> ethereum.eth.v1.BlockRootResponse + 14, // 66: ethereum.eth.v1.BeaconChain.ListBlockAttestations:output_type -> ethereum.eth.v1.BlockAttestationsResponse + 27, // 67: ethereum.eth.v1.BeaconChain.ListPoolAttestations:output_type -> ethereum.eth.v1.AttestationsPoolResponse + 50, // 68: ethereum.eth.v1.BeaconChain.SubmitAttestations:output_type -> google.protobuf.Empty + 28, // 69: ethereum.eth.v1.BeaconChain.ListPoolAttesterSlashings:output_type -> ethereum.eth.v1.AttesterSlashingsPoolResponse + 50, // 70: ethereum.eth.v1.BeaconChain.SubmitAttesterSlashing:output_type -> google.protobuf.Empty + 29, // 71: ethereum.eth.v1.BeaconChain.ListPoolProposerSlashings:output_type -> ethereum.eth.v1.ProposerSlashingPoolResponse + 50, // 72: ethereum.eth.v1.BeaconChain.SubmitProposerSlashing:output_type -> google.protobuf.Empty + 30, // 73: ethereum.eth.v1.BeaconChain.ListPoolVoluntaryExits:output_type -> ethereum.eth.v1.VoluntaryExitsPoolResponse + 50, // 74: ethereum.eth.v1.BeaconChain.SubmitVoluntaryExit:output_type -> google.protobuf.Empty + 31, // 75: ethereum.eth.v1.BeaconChain.GetForkSchedule:output_type -> ethereum.eth.v1.ForkScheduleResponse + 32, // 76: ethereum.eth.v1.BeaconChain.GetSpec:output_type -> ethereum.eth.v1.SpecResponse + 33, // 77: ethereum.eth.v1.BeaconChain.GetDepositContract:output_type -> ethereum.eth.v1.DepositContractResponse + 53, // [53:78] is the sub-list for method output_type + 28, // [28:53] is the sub-list for method input_type + 28, // [28:28] is the sub-list for extension type_name + 28, // [28:28] is the sub-list for extension extendee + 0, // [0:28] is the sub-list for field type_name +} + +func init() { file_eth_v1_beacon_chain_service_proto_init() } +func file_eth_v1_beacon_chain_service_proto_init() { + if File_eth_v1_beacon_chain_service_proto != nil { + return + } + file_eth_v1_attestation_proto_init() + file_eth_v1_beacon_block_proto_init() + file_eth_v1_beacon_state_proto_init() + file_eth_v1_validator_proto_init() + if !protoimpl.UnsafeEnabled { + file_eth_v1_beacon_chain_service_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GenesisResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_eth_v1_beacon_chain_service_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*StateRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_eth_v1_beacon_chain_service_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*StateRootResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_eth_v1_beacon_chain_service_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*StateForkResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_eth_v1_beacon_chain_service_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*StateFinalityCheckpointResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_eth_v1_beacon_chain_service_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*StateValidatorsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_eth_v1_beacon_chain_service_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ValidatorBalancesRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_eth_v1_beacon_chain_service_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*StateValidatorsResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_eth_v1_beacon_chain_service_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ValidatorBalancesResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_eth_v1_beacon_chain_service_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ValidatorBalance); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_eth_v1_beacon_chain_service_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*StateValidatorRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_eth_v1_beacon_chain_service_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*StateValidatorResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_eth_v1_beacon_chain_service_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*StateCommitteesRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_eth_v1_beacon_chain_service_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*StateCommitteesResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_eth_v1_beacon_chain_service_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*BlockAttestationsResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_eth_v1_beacon_chain_service_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*BlockRootContainer); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_eth_v1_beacon_chain_service_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*BlockRootResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_eth_v1_beacon_chain_service_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*BlockHeadersRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_eth_v1_beacon_chain_service_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*BlockHeadersResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_eth_v1_beacon_chain_service_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*BlockRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_eth_v1_beacon_chain_service_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*BlockHeaderResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_eth_v1_beacon_chain_service_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*BlockHeaderContainer); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_eth_v1_beacon_chain_service_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*BeaconBlockHeaderContainer); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_eth_v1_beacon_chain_service_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*BlockResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_eth_v1_beacon_chain_service_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*BeaconBlockContainer); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_eth_v1_beacon_chain_service_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AttestationsPoolRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_eth_v1_beacon_chain_service_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SubmitAttestationsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_eth_v1_beacon_chain_service_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AttestationsPoolResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_eth_v1_beacon_chain_service_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AttesterSlashingsPoolResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_eth_v1_beacon_chain_service_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ProposerSlashingPoolResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_eth_v1_beacon_chain_service_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*VoluntaryExitsPoolResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_eth_v1_beacon_chain_service_proto_msgTypes[31].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ForkScheduleResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_eth_v1_beacon_chain_service_proto_msgTypes[32].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SpecResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_eth_v1_beacon_chain_service_proto_msgTypes[33].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DepositContractResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_eth_v1_beacon_chain_service_proto_msgTypes[34].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DepositContract); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_eth_v1_beacon_chain_service_proto_msgTypes[35].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GenesisResponse_Genesis); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_eth_v1_beacon_chain_service_proto_msgTypes[36].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*StateRootResponse_StateRoot); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_eth_v1_beacon_chain_service_proto_msgTypes[37].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*StateFinalityCheckpointResponse_StateFinalityCheckpoint); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + file_eth_v1_beacon_chain_service_proto_msgTypes[12].OneofWrappers = []interface{}{} + file_eth_v1_beacon_chain_service_proto_msgTypes[17].OneofWrappers = []interface{}{} + file_eth_v1_beacon_chain_service_proto_msgTypes[25].OneofWrappers = []interface{}{} + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_eth_v1_beacon_chain_service_proto_rawDesc, + NumEnums: 0, + NumMessages: 39, + NumExtensions: 0, + NumServices: 1, + }, + GoTypes: file_eth_v1_beacon_chain_service_proto_goTypes, + DependencyIndexes: file_eth_v1_beacon_chain_service_proto_depIdxs, + MessageInfos: file_eth_v1_beacon_chain_service_proto_msgTypes, + }.Build() + File_eth_v1_beacon_chain_service_proto = out.File + file_eth_v1_beacon_chain_service_proto_rawDesc = nil + file_eth_v1_beacon_chain_service_proto_goTypes = nil + file_eth_v1_beacon_chain_service_proto_depIdxs = nil } // Reference imports to suppress errors if they are not otherwise used. var _ context.Context -var _ grpc.ClientConn +var _ grpc.ClientConnInterface // This is a compile-time assertion to ensure that this generated file // is compatible with the grpc package it is being compiled against. -const _ = grpc.SupportPackageIsVersion4 +const _ = grpc.SupportPackageIsVersion6 // BeaconChainClient is the client API for BeaconChain service. // // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. type BeaconChainClient interface { - GetGenesis(ctx context.Context, in *types.Empty, opts ...grpc.CallOption) (*GenesisResponse, error) + GetGenesis(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*GenesisResponse, error) GetStateRoot(ctx context.Context, in *StateRequest, opts ...grpc.CallOption) (*StateRootResponse, error) GetStateFork(ctx context.Context, in *StateRequest, opts ...grpc.CallOption) (*StateForkResponse, error) GetFinalityCheckpoints(ctx context.Context, in *StateRequest, opts ...grpc.CallOption) (*StateFinalityCheckpointResponse, error) - GetValidator(ctx context.Context, in *StateValidatorRequest, opts ...grpc.CallOption) (*StateValidatorResponse, error) ListValidators(ctx context.Context, in *StateValidatorsRequest, opts ...grpc.CallOption) (*StateValidatorsResponse, error) + GetValidator(ctx context.Context, in *StateValidatorRequest, opts ...grpc.CallOption) (*StateValidatorResponse, error) ListValidatorBalances(ctx context.Context, in *ValidatorBalancesRequest, opts ...grpc.CallOption) (*ValidatorBalancesResponse, error) ListCommittees(ctx context.Context, in *StateCommitteesRequest, opts ...grpc.CallOption) (*StateCommitteesResponse, error) - GetBlockHeader(ctx context.Context, in *BlockRequest, opts ...grpc.CallOption) (*BlockHeaderResponse, error) ListBlockHeaders(ctx context.Context, in *BlockHeadersRequest, opts ...grpc.CallOption) (*BlockHeadersResponse, error) - SubmitBlock(ctx context.Context, in *BeaconBlockContainer, opts ...grpc.CallOption) (*types.Empty, error) + GetBlockHeader(ctx context.Context, in *BlockRequest, opts ...grpc.CallOption) (*BlockHeaderResponse, error) + SubmitBlock(ctx context.Context, in *BeaconBlockContainer, opts ...grpc.CallOption) (*empty.Empty, error) GetBlock(ctx context.Context, in *BlockRequest, opts ...grpc.CallOption) (*BlockResponse, error) GetBlockRoot(ctx context.Context, in *BlockRequest, opts ...grpc.CallOption) (*BlockRootResponse, error) ListBlockAttestations(ctx context.Context, in *BlockRequest, opts ...grpc.CallOption) (*BlockAttestationsResponse, error) ListPoolAttestations(ctx context.Context, in *AttestationsPoolRequest, opts ...grpc.CallOption) (*AttestationsPoolResponse, error) - SubmitAttestations(ctx context.Context, in *SubmitAttestationsRequest, opts ...grpc.CallOption) (*types.Empty, error) - ListPoolAttesterSlashings(ctx context.Context, in *types.Empty, opts ...grpc.CallOption) (*AttesterSlashingsPoolResponse, error) - SubmitAttesterSlashing(ctx context.Context, in *AttesterSlashing, opts ...grpc.CallOption) (*types.Empty, error) - ListPoolProposerSlashings(ctx context.Context, in *types.Empty, opts ...grpc.CallOption) (*ProposerSlashingPoolResponse, error) - SubmitProposerSlashing(ctx context.Context, in *ProposerSlashing, opts ...grpc.CallOption) (*types.Empty, error) - ListPoolVoluntaryExits(ctx context.Context, in *types.Empty, opts ...grpc.CallOption) (*VoluntaryExitsPoolResponse, error) - SubmitVoluntaryExit(ctx context.Context, in *SignedVoluntaryExit, opts ...grpc.CallOption) (*types.Empty, error) - GetForkSchedule(ctx context.Context, in *types.Empty, opts ...grpc.CallOption) (*ForkScheduleResponse, error) - GetSpec(ctx context.Context, in *types.Empty, opts ...grpc.CallOption) (*SpecResponse, error) - GetDepositContract(ctx context.Context, in *types.Empty, opts ...grpc.CallOption) (*DepositContractResponse, error) + SubmitAttestations(ctx context.Context, in *SubmitAttestationsRequest, opts ...grpc.CallOption) (*empty.Empty, error) + ListPoolAttesterSlashings(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*AttesterSlashingsPoolResponse, error) + SubmitAttesterSlashing(ctx context.Context, in *AttesterSlashing, opts ...grpc.CallOption) (*empty.Empty, error) + ListPoolProposerSlashings(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*ProposerSlashingPoolResponse, error) + SubmitProposerSlashing(ctx context.Context, in *ProposerSlashing, opts ...grpc.CallOption) (*empty.Empty, error) + ListPoolVoluntaryExits(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*VoluntaryExitsPoolResponse, error) + SubmitVoluntaryExit(ctx context.Context, in *SignedVoluntaryExit, opts ...grpc.CallOption) (*empty.Empty, error) + GetForkSchedule(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*ForkScheduleResponse, error) + GetSpec(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*SpecResponse, error) + GetDepositContract(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*DepositContractResponse, error) } type beaconChainClient struct { - cc *grpc.ClientConn + cc grpc.ClientConnInterface } -func NewBeaconChainClient(cc *grpc.ClientConn) BeaconChainClient { +func NewBeaconChainClient(cc grpc.ClientConnInterface) BeaconChainClient { return &beaconChainClient{cc} } -func (c *beaconChainClient) GetGenesis(ctx context.Context, in *types.Empty, opts ...grpc.CallOption) (*GenesisResponse, error) { +func (c *beaconChainClient) GetGenesis(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*GenesisResponse, error) { out := new(GenesisResponse) err := c.cc.Invoke(ctx, "/ethereum.eth.v1.BeaconChain/GetGenesis", in, out, opts...) if err != nil { @@ -2234,15 +3196,6 @@ func (c *beaconChainClient) GetFinalityCheckpoints(ctx context.Context, in *Stat return out, nil } -func (c *beaconChainClient) GetValidator(ctx context.Context, in *StateValidatorRequest, opts ...grpc.CallOption) (*StateValidatorResponse, error) { - out := new(StateValidatorResponse) - err := c.cc.Invoke(ctx, "/ethereum.eth.v1.BeaconChain/GetValidator", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - func (c *beaconChainClient) ListValidators(ctx context.Context, in *StateValidatorsRequest, opts ...grpc.CallOption) (*StateValidatorsResponse, error) { out := new(StateValidatorsResponse) err := c.cc.Invoke(ctx, "/ethereum.eth.v1.BeaconChain/ListValidators", in, out, opts...) @@ -2252,6 +3205,15 @@ func (c *beaconChainClient) ListValidators(ctx context.Context, in *StateValidat return out, nil } +func (c *beaconChainClient) GetValidator(ctx context.Context, in *StateValidatorRequest, opts ...grpc.CallOption) (*StateValidatorResponse, error) { + out := new(StateValidatorResponse) + err := c.cc.Invoke(ctx, "/ethereum.eth.v1.BeaconChain/GetValidator", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + func (c *beaconChainClient) ListValidatorBalances(ctx context.Context, in *ValidatorBalancesRequest, opts ...grpc.CallOption) (*ValidatorBalancesResponse, error) { out := new(ValidatorBalancesResponse) err := c.cc.Invoke(ctx, "/ethereum.eth.v1.BeaconChain/ListValidatorBalances", in, out, opts...) @@ -2270,26 +3232,26 @@ func (c *beaconChainClient) ListCommittees(ctx context.Context, in *StateCommitt return out, nil } -func (c *beaconChainClient) GetBlockHeader(ctx context.Context, in *BlockRequest, opts ...grpc.CallOption) (*BlockHeaderResponse, error) { - out := new(BlockHeaderResponse) - err := c.cc.Invoke(ctx, "/ethereum.eth.v1.BeaconChain/GetBlockHeader", in, out, opts...) +func (c *beaconChainClient) ListBlockHeaders(ctx context.Context, in *BlockHeadersRequest, opts ...grpc.CallOption) (*BlockHeadersResponse, error) { + out := new(BlockHeadersResponse) + err := c.cc.Invoke(ctx, "/ethereum.eth.v1.BeaconChain/ListBlockHeaders", in, out, opts...) if err != nil { return nil, err } return out, nil } -func (c *beaconChainClient) ListBlockHeaders(ctx context.Context, in *BlockHeadersRequest, opts ...grpc.CallOption) (*BlockHeadersResponse, error) { - out := new(BlockHeadersResponse) - err := c.cc.Invoke(ctx, "/ethereum.eth.v1.BeaconChain/ListBlockHeaders", in, out, opts...) +func (c *beaconChainClient) GetBlockHeader(ctx context.Context, in *BlockRequest, opts ...grpc.CallOption) (*BlockHeaderResponse, error) { + out := new(BlockHeaderResponse) + err := c.cc.Invoke(ctx, "/ethereum.eth.v1.BeaconChain/GetBlockHeader", in, out, opts...) if err != nil { return nil, err } return out, nil } -func (c *beaconChainClient) SubmitBlock(ctx context.Context, in *BeaconBlockContainer, opts ...grpc.CallOption) (*types.Empty, error) { - out := new(types.Empty) +func (c *beaconChainClient) SubmitBlock(ctx context.Context, in *BeaconBlockContainer, opts ...grpc.CallOption) (*empty.Empty, error) { + out := new(empty.Empty) err := c.cc.Invoke(ctx, "/ethereum.eth.v1.BeaconChain/SubmitBlock", in, out, opts...) if err != nil { return nil, err @@ -2333,8 +3295,8 @@ func (c *beaconChainClient) ListPoolAttestations(ctx context.Context, in *Attest return out, nil } -func (c *beaconChainClient) SubmitAttestations(ctx context.Context, in *SubmitAttestationsRequest, opts ...grpc.CallOption) (*types.Empty, error) { - out := new(types.Empty) +func (c *beaconChainClient) SubmitAttestations(ctx context.Context, in *SubmitAttestationsRequest, opts ...grpc.CallOption) (*empty.Empty, error) { + out := new(empty.Empty) err := c.cc.Invoke(ctx, "/ethereum.eth.v1.BeaconChain/SubmitAttestations", in, out, opts...) if err != nil { return nil, err @@ -2342,7 +3304,7 @@ func (c *beaconChainClient) SubmitAttestations(ctx context.Context, in *SubmitAt return out, nil } -func (c *beaconChainClient) ListPoolAttesterSlashings(ctx context.Context, in *types.Empty, opts ...grpc.CallOption) (*AttesterSlashingsPoolResponse, error) { +func (c *beaconChainClient) ListPoolAttesterSlashings(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*AttesterSlashingsPoolResponse, error) { out := new(AttesterSlashingsPoolResponse) err := c.cc.Invoke(ctx, "/ethereum.eth.v1.BeaconChain/ListPoolAttesterSlashings", in, out, opts...) if err != nil { @@ -2351,8 +3313,8 @@ func (c *beaconChainClient) ListPoolAttesterSlashings(ctx context.Context, in *t return out, nil } -func (c *beaconChainClient) SubmitAttesterSlashing(ctx context.Context, in *AttesterSlashing, opts ...grpc.CallOption) (*types.Empty, error) { - out := new(types.Empty) +func (c *beaconChainClient) SubmitAttesterSlashing(ctx context.Context, in *AttesterSlashing, opts ...grpc.CallOption) (*empty.Empty, error) { + out := new(empty.Empty) err := c.cc.Invoke(ctx, "/ethereum.eth.v1.BeaconChain/SubmitAttesterSlashing", in, out, opts...) if err != nil { return nil, err @@ -2360,7 +3322,7 @@ func (c *beaconChainClient) SubmitAttesterSlashing(ctx context.Context, in *Atte return out, nil } -func (c *beaconChainClient) ListPoolProposerSlashings(ctx context.Context, in *types.Empty, opts ...grpc.CallOption) (*ProposerSlashingPoolResponse, error) { +func (c *beaconChainClient) ListPoolProposerSlashings(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*ProposerSlashingPoolResponse, error) { out := new(ProposerSlashingPoolResponse) err := c.cc.Invoke(ctx, "/ethereum.eth.v1.BeaconChain/ListPoolProposerSlashings", in, out, opts...) if err != nil { @@ -2369,8 +3331,8 @@ func (c *beaconChainClient) ListPoolProposerSlashings(ctx context.Context, in *t return out, nil } -func (c *beaconChainClient) SubmitProposerSlashing(ctx context.Context, in *ProposerSlashing, opts ...grpc.CallOption) (*types.Empty, error) { - out := new(types.Empty) +func (c *beaconChainClient) SubmitProposerSlashing(ctx context.Context, in *ProposerSlashing, opts ...grpc.CallOption) (*empty.Empty, error) { + out := new(empty.Empty) err := c.cc.Invoke(ctx, "/ethereum.eth.v1.BeaconChain/SubmitProposerSlashing", in, out, opts...) if err != nil { return nil, err @@ -2378,7 +3340,7 @@ func (c *beaconChainClient) SubmitProposerSlashing(ctx context.Context, in *Prop return out, nil } -func (c *beaconChainClient) ListPoolVoluntaryExits(ctx context.Context, in *types.Empty, opts ...grpc.CallOption) (*VoluntaryExitsPoolResponse, error) { +func (c *beaconChainClient) ListPoolVoluntaryExits(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*VoluntaryExitsPoolResponse, error) { out := new(VoluntaryExitsPoolResponse) err := c.cc.Invoke(ctx, "/ethereum.eth.v1.BeaconChain/ListPoolVoluntaryExits", in, out, opts...) if err != nil { @@ -2387,8 +3349,8 @@ func (c *beaconChainClient) ListPoolVoluntaryExits(ctx context.Context, in *type return out, nil } -func (c *beaconChainClient) SubmitVoluntaryExit(ctx context.Context, in *SignedVoluntaryExit, opts ...grpc.CallOption) (*types.Empty, error) { - out := new(types.Empty) +func (c *beaconChainClient) SubmitVoluntaryExit(ctx context.Context, in *SignedVoluntaryExit, opts ...grpc.CallOption) (*empty.Empty, error) { + out := new(empty.Empty) err := c.cc.Invoke(ctx, "/ethereum.eth.v1.BeaconChain/SubmitVoluntaryExit", in, out, opts...) if err != nil { return nil, err @@ -2396,7 +3358,7 @@ func (c *beaconChainClient) SubmitVoluntaryExit(ctx context.Context, in *SignedV return out, nil } -func (c *beaconChainClient) GetForkSchedule(ctx context.Context, in *types.Empty, opts ...grpc.CallOption) (*ForkScheduleResponse, error) { +func (c *beaconChainClient) GetForkSchedule(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*ForkScheduleResponse, error) { out := new(ForkScheduleResponse) err := c.cc.Invoke(ctx, "/ethereum.eth.v1.BeaconChain/GetForkSchedule", in, out, opts...) if err != nil { @@ -2405,7 +3367,7 @@ func (c *beaconChainClient) GetForkSchedule(ctx context.Context, in *types.Empty return out, nil } -func (c *beaconChainClient) GetSpec(ctx context.Context, in *types.Empty, opts ...grpc.CallOption) (*SpecResponse, error) { +func (c *beaconChainClient) GetSpec(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*SpecResponse, error) { out := new(SpecResponse) err := c.cc.Invoke(ctx, "/ethereum.eth.v1.BeaconChain/GetSpec", in, out, opts...) if err != nil { @@ -2414,7 +3376,7 @@ func (c *beaconChainClient) GetSpec(ctx context.Context, in *types.Empty, opts . return out, nil } -func (c *beaconChainClient) GetDepositContract(ctx context.Context, in *types.Empty, opts ...grpc.CallOption) (*DepositContractResponse, error) { +func (c *beaconChainClient) GetDepositContract(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*DepositContractResponse, error) { out := new(DepositContractResponse) err := c.cc.Invoke(ctx, "/ethereum.eth.v1.BeaconChain/GetDepositContract", in, out, opts...) if err != nil { @@ -2425,110 +3387,110 @@ func (c *beaconChainClient) GetDepositContract(ctx context.Context, in *types.Em // BeaconChainServer is the server API for BeaconChain service. type BeaconChainServer interface { - GetGenesis(context.Context, *types.Empty) (*GenesisResponse, error) + GetGenesis(context.Context, *empty.Empty) (*GenesisResponse, error) GetStateRoot(context.Context, *StateRequest) (*StateRootResponse, error) GetStateFork(context.Context, *StateRequest) (*StateForkResponse, error) GetFinalityCheckpoints(context.Context, *StateRequest) (*StateFinalityCheckpointResponse, error) - GetValidator(context.Context, *StateValidatorRequest) (*StateValidatorResponse, error) ListValidators(context.Context, *StateValidatorsRequest) (*StateValidatorsResponse, error) + GetValidator(context.Context, *StateValidatorRequest) (*StateValidatorResponse, error) ListValidatorBalances(context.Context, *ValidatorBalancesRequest) (*ValidatorBalancesResponse, error) ListCommittees(context.Context, *StateCommitteesRequest) (*StateCommitteesResponse, error) - GetBlockHeader(context.Context, *BlockRequest) (*BlockHeaderResponse, error) ListBlockHeaders(context.Context, *BlockHeadersRequest) (*BlockHeadersResponse, error) - SubmitBlock(context.Context, *BeaconBlockContainer) (*types.Empty, error) + GetBlockHeader(context.Context, *BlockRequest) (*BlockHeaderResponse, error) + SubmitBlock(context.Context, *BeaconBlockContainer) (*empty.Empty, error) GetBlock(context.Context, *BlockRequest) (*BlockResponse, error) GetBlockRoot(context.Context, *BlockRequest) (*BlockRootResponse, error) ListBlockAttestations(context.Context, *BlockRequest) (*BlockAttestationsResponse, error) ListPoolAttestations(context.Context, *AttestationsPoolRequest) (*AttestationsPoolResponse, error) - SubmitAttestations(context.Context, *SubmitAttestationsRequest) (*types.Empty, error) - ListPoolAttesterSlashings(context.Context, *types.Empty) (*AttesterSlashingsPoolResponse, error) - SubmitAttesterSlashing(context.Context, *AttesterSlashing) (*types.Empty, error) - ListPoolProposerSlashings(context.Context, *types.Empty) (*ProposerSlashingPoolResponse, error) - SubmitProposerSlashing(context.Context, *ProposerSlashing) (*types.Empty, error) - ListPoolVoluntaryExits(context.Context, *types.Empty) (*VoluntaryExitsPoolResponse, error) - SubmitVoluntaryExit(context.Context, *SignedVoluntaryExit) (*types.Empty, error) - GetForkSchedule(context.Context, *types.Empty) (*ForkScheduleResponse, error) - GetSpec(context.Context, *types.Empty) (*SpecResponse, error) - GetDepositContract(context.Context, *types.Empty) (*DepositContractResponse, error) + SubmitAttestations(context.Context, *SubmitAttestationsRequest) (*empty.Empty, error) + ListPoolAttesterSlashings(context.Context, *empty.Empty) (*AttesterSlashingsPoolResponse, error) + SubmitAttesterSlashing(context.Context, *AttesterSlashing) (*empty.Empty, error) + ListPoolProposerSlashings(context.Context, *empty.Empty) (*ProposerSlashingPoolResponse, error) + SubmitProposerSlashing(context.Context, *ProposerSlashing) (*empty.Empty, error) + ListPoolVoluntaryExits(context.Context, *empty.Empty) (*VoluntaryExitsPoolResponse, error) + SubmitVoluntaryExit(context.Context, *SignedVoluntaryExit) (*empty.Empty, error) + GetForkSchedule(context.Context, *empty.Empty) (*ForkScheduleResponse, error) + GetSpec(context.Context, *empty.Empty) (*SpecResponse, error) + GetDepositContract(context.Context, *empty.Empty) (*DepositContractResponse, error) } // UnimplementedBeaconChainServer can be embedded to have forward compatible implementations. type UnimplementedBeaconChainServer struct { } -func (*UnimplementedBeaconChainServer) GetGenesis(ctx context.Context, req *types.Empty) (*GenesisResponse, error) { +func (*UnimplementedBeaconChainServer) GetGenesis(context.Context, *empty.Empty) (*GenesisResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method GetGenesis not implemented") } -func (*UnimplementedBeaconChainServer) GetStateRoot(ctx context.Context, req *StateRequest) (*StateRootResponse, error) { +func (*UnimplementedBeaconChainServer) GetStateRoot(context.Context, *StateRequest) (*StateRootResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method GetStateRoot not implemented") } -func (*UnimplementedBeaconChainServer) GetStateFork(ctx context.Context, req *StateRequest) (*StateForkResponse, error) { +func (*UnimplementedBeaconChainServer) GetStateFork(context.Context, *StateRequest) (*StateForkResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method GetStateFork not implemented") } -func (*UnimplementedBeaconChainServer) GetFinalityCheckpoints(ctx context.Context, req *StateRequest) (*StateFinalityCheckpointResponse, error) { +func (*UnimplementedBeaconChainServer) GetFinalityCheckpoints(context.Context, *StateRequest) (*StateFinalityCheckpointResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method GetFinalityCheckpoints not implemented") } -func (*UnimplementedBeaconChainServer) GetValidator(ctx context.Context, req *StateValidatorRequest) (*StateValidatorResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetValidator not implemented") -} -func (*UnimplementedBeaconChainServer) ListValidators(ctx context.Context, req *StateValidatorsRequest) (*StateValidatorsResponse, error) { +func (*UnimplementedBeaconChainServer) ListValidators(context.Context, *StateValidatorsRequest) (*StateValidatorsResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method ListValidators not implemented") } -func (*UnimplementedBeaconChainServer) ListValidatorBalances(ctx context.Context, req *ValidatorBalancesRequest) (*ValidatorBalancesResponse, error) { +func (*UnimplementedBeaconChainServer) GetValidator(context.Context, *StateValidatorRequest) (*StateValidatorResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetValidator not implemented") +} +func (*UnimplementedBeaconChainServer) ListValidatorBalances(context.Context, *ValidatorBalancesRequest) (*ValidatorBalancesResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method ListValidatorBalances not implemented") } -func (*UnimplementedBeaconChainServer) ListCommittees(ctx context.Context, req *StateCommitteesRequest) (*StateCommitteesResponse, error) { +func (*UnimplementedBeaconChainServer) ListCommittees(context.Context, *StateCommitteesRequest) (*StateCommitteesResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method ListCommittees not implemented") } -func (*UnimplementedBeaconChainServer) GetBlockHeader(ctx context.Context, req *BlockRequest) (*BlockHeaderResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetBlockHeader not implemented") -} -func (*UnimplementedBeaconChainServer) ListBlockHeaders(ctx context.Context, req *BlockHeadersRequest) (*BlockHeadersResponse, error) { +func (*UnimplementedBeaconChainServer) ListBlockHeaders(context.Context, *BlockHeadersRequest) (*BlockHeadersResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method ListBlockHeaders not implemented") } -func (*UnimplementedBeaconChainServer) SubmitBlock(ctx context.Context, req *BeaconBlockContainer) (*types.Empty, error) { +func (*UnimplementedBeaconChainServer) GetBlockHeader(context.Context, *BlockRequest) (*BlockHeaderResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetBlockHeader not implemented") +} +func (*UnimplementedBeaconChainServer) SubmitBlock(context.Context, *BeaconBlockContainer) (*empty.Empty, error) { return nil, status.Errorf(codes.Unimplemented, "method SubmitBlock not implemented") } -func (*UnimplementedBeaconChainServer) GetBlock(ctx context.Context, req *BlockRequest) (*BlockResponse, error) { +func (*UnimplementedBeaconChainServer) GetBlock(context.Context, *BlockRequest) (*BlockResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method GetBlock not implemented") } -func (*UnimplementedBeaconChainServer) GetBlockRoot(ctx context.Context, req *BlockRequest) (*BlockRootResponse, error) { +func (*UnimplementedBeaconChainServer) GetBlockRoot(context.Context, *BlockRequest) (*BlockRootResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method GetBlockRoot not implemented") } -func (*UnimplementedBeaconChainServer) ListBlockAttestations(ctx context.Context, req *BlockRequest) (*BlockAttestationsResponse, error) { +func (*UnimplementedBeaconChainServer) ListBlockAttestations(context.Context, *BlockRequest) (*BlockAttestationsResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method ListBlockAttestations not implemented") } -func (*UnimplementedBeaconChainServer) ListPoolAttestations(ctx context.Context, req *AttestationsPoolRequest) (*AttestationsPoolResponse, error) { +func (*UnimplementedBeaconChainServer) ListPoolAttestations(context.Context, *AttestationsPoolRequest) (*AttestationsPoolResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method ListPoolAttestations not implemented") } -func (*UnimplementedBeaconChainServer) SubmitAttestations(ctx context.Context, req *SubmitAttestationsRequest) (*types.Empty, error) { +func (*UnimplementedBeaconChainServer) SubmitAttestations(context.Context, *SubmitAttestationsRequest) (*empty.Empty, error) { return nil, status.Errorf(codes.Unimplemented, "method SubmitAttestations not implemented") } -func (*UnimplementedBeaconChainServer) ListPoolAttesterSlashings(ctx context.Context, req *types.Empty) (*AttesterSlashingsPoolResponse, error) { +func (*UnimplementedBeaconChainServer) ListPoolAttesterSlashings(context.Context, *empty.Empty) (*AttesterSlashingsPoolResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method ListPoolAttesterSlashings not implemented") } -func (*UnimplementedBeaconChainServer) SubmitAttesterSlashing(ctx context.Context, req *AttesterSlashing) (*types.Empty, error) { +func (*UnimplementedBeaconChainServer) SubmitAttesterSlashing(context.Context, *AttesterSlashing) (*empty.Empty, error) { return nil, status.Errorf(codes.Unimplemented, "method SubmitAttesterSlashing not implemented") } -func (*UnimplementedBeaconChainServer) ListPoolProposerSlashings(ctx context.Context, req *types.Empty) (*ProposerSlashingPoolResponse, error) { +func (*UnimplementedBeaconChainServer) ListPoolProposerSlashings(context.Context, *empty.Empty) (*ProposerSlashingPoolResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method ListPoolProposerSlashings not implemented") } -func (*UnimplementedBeaconChainServer) SubmitProposerSlashing(ctx context.Context, req *ProposerSlashing) (*types.Empty, error) { +func (*UnimplementedBeaconChainServer) SubmitProposerSlashing(context.Context, *ProposerSlashing) (*empty.Empty, error) { return nil, status.Errorf(codes.Unimplemented, "method SubmitProposerSlashing not implemented") } -func (*UnimplementedBeaconChainServer) ListPoolVoluntaryExits(ctx context.Context, req *types.Empty) (*VoluntaryExitsPoolResponse, error) { +func (*UnimplementedBeaconChainServer) ListPoolVoluntaryExits(context.Context, *empty.Empty) (*VoluntaryExitsPoolResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method ListPoolVoluntaryExits not implemented") } -func (*UnimplementedBeaconChainServer) SubmitVoluntaryExit(ctx context.Context, req *SignedVoluntaryExit) (*types.Empty, error) { +func (*UnimplementedBeaconChainServer) SubmitVoluntaryExit(context.Context, *SignedVoluntaryExit) (*empty.Empty, error) { return nil, status.Errorf(codes.Unimplemented, "method SubmitVoluntaryExit not implemented") } -func (*UnimplementedBeaconChainServer) GetForkSchedule(ctx context.Context, req *types.Empty) (*ForkScheduleResponse, error) { +func (*UnimplementedBeaconChainServer) GetForkSchedule(context.Context, *empty.Empty) (*ForkScheduleResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method GetForkSchedule not implemented") } -func (*UnimplementedBeaconChainServer) GetSpec(ctx context.Context, req *types.Empty) (*SpecResponse, error) { +func (*UnimplementedBeaconChainServer) GetSpec(context.Context, *empty.Empty) (*SpecResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method GetSpec not implemented") } -func (*UnimplementedBeaconChainServer) GetDepositContract(ctx context.Context, req *types.Empty) (*DepositContractResponse, error) { +func (*UnimplementedBeaconChainServer) GetDepositContract(context.Context, *empty.Empty) (*DepositContractResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method GetDepositContract not implemented") } @@ -2537,7 +3499,7 @@ func RegisterBeaconChainServer(s *grpc.Server, srv BeaconChainServer) { } func _BeaconChain_GetGenesis_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(types.Empty) + in := new(empty.Empty) if err := dec(in); err != nil { return nil, err } @@ -2549,7 +3511,7 @@ func _BeaconChain_GetGenesis_Handler(srv interface{}, ctx context.Context, dec f FullMethod: "/ethereum.eth.v1.BeaconChain/GetGenesis", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(BeaconChainServer).GetGenesis(ctx, req.(*types.Empty)) + return srv.(BeaconChainServer).GetGenesis(ctx, req.(*empty.Empty)) } return interceptor(ctx, in, info, handler) } @@ -2608,38 +3570,38 @@ func _BeaconChain_GetFinalityCheckpoints_Handler(srv interface{}, ctx context.Co return interceptor(ctx, in, info, handler) } -func _BeaconChain_GetValidator_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(StateValidatorRequest) +func _BeaconChain_ListValidators_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(StateValidatorsRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { - return srv.(BeaconChainServer).GetValidator(ctx, in) + return srv.(BeaconChainServer).ListValidators(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/ethereum.eth.v1.BeaconChain/GetValidator", + FullMethod: "/ethereum.eth.v1.BeaconChain/ListValidators", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(BeaconChainServer).GetValidator(ctx, req.(*StateValidatorRequest)) + return srv.(BeaconChainServer).ListValidators(ctx, req.(*StateValidatorsRequest)) } return interceptor(ctx, in, info, handler) } -func _BeaconChain_ListValidators_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(StateValidatorsRequest) +func _BeaconChain_GetValidator_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(StateValidatorRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { - return srv.(BeaconChainServer).ListValidators(ctx, in) + return srv.(BeaconChainServer).GetValidator(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/ethereum.eth.v1.BeaconChain/ListValidators", + FullMethod: "/ethereum.eth.v1.BeaconChain/GetValidator", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(BeaconChainServer).ListValidators(ctx, req.(*StateValidatorsRequest)) + return srv.(BeaconChainServer).GetValidator(ctx, req.(*StateValidatorRequest)) } return interceptor(ctx, in, info, handler) } @@ -2680,38 +3642,38 @@ func _BeaconChain_ListCommittees_Handler(srv interface{}, ctx context.Context, d return interceptor(ctx, in, info, handler) } -func _BeaconChain_GetBlockHeader_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(BlockRequest) +func _BeaconChain_ListBlockHeaders_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(BlockHeadersRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { - return srv.(BeaconChainServer).GetBlockHeader(ctx, in) + return srv.(BeaconChainServer).ListBlockHeaders(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/ethereum.eth.v1.BeaconChain/GetBlockHeader", + FullMethod: "/ethereum.eth.v1.BeaconChain/ListBlockHeaders", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(BeaconChainServer).GetBlockHeader(ctx, req.(*BlockRequest)) + return srv.(BeaconChainServer).ListBlockHeaders(ctx, req.(*BlockHeadersRequest)) } return interceptor(ctx, in, info, handler) } -func _BeaconChain_ListBlockHeaders_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(BlockHeadersRequest) +func _BeaconChain_GetBlockHeader_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(BlockRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { - return srv.(BeaconChainServer).ListBlockHeaders(ctx, in) + return srv.(BeaconChainServer).GetBlockHeader(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/ethereum.eth.v1.BeaconChain/ListBlockHeaders", + FullMethod: "/ethereum.eth.v1.BeaconChain/GetBlockHeader", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(BeaconChainServer).ListBlockHeaders(ctx, req.(*BlockHeadersRequest)) + return srv.(BeaconChainServer).GetBlockHeader(ctx, req.(*BlockRequest)) } return interceptor(ctx, in, info, handler) } @@ -2825,7 +3787,7 @@ func _BeaconChain_SubmitAttestations_Handler(srv interface{}, ctx context.Contex } func _BeaconChain_ListPoolAttesterSlashings_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(types.Empty) + in := new(empty.Empty) if err := dec(in); err != nil { return nil, err } @@ -2837,7 +3799,7 @@ func _BeaconChain_ListPoolAttesterSlashings_Handler(srv interface{}, ctx context FullMethod: "/ethereum.eth.v1.BeaconChain/ListPoolAttesterSlashings", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(BeaconChainServer).ListPoolAttesterSlashings(ctx, req.(*types.Empty)) + return srv.(BeaconChainServer).ListPoolAttesterSlashings(ctx, req.(*empty.Empty)) } return interceptor(ctx, in, info, handler) } @@ -2861,7 +3823,7 @@ func _BeaconChain_SubmitAttesterSlashing_Handler(srv interface{}, ctx context.Co } func _BeaconChain_ListPoolProposerSlashings_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(types.Empty) + in := new(empty.Empty) if err := dec(in); err != nil { return nil, err } @@ -2873,7 +3835,7 @@ func _BeaconChain_ListPoolProposerSlashings_Handler(srv interface{}, ctx context FullMethod: "/ethereum.eth.v1.BeaconChain/ListPoolProposerSlashings", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(BeaconChainServer).ListPoolProposerSlashings(ctx, req.(*types.Empty)) + return srv.(BeaconChainServer).ListPoolProposerSlashings(ctx, req.(*empty.Empty)) } return interceptor(ctx, in, info, handler) } @@ -2897,7 +3859,7 @@ func _BeaconChain_SubmitProposerSlashing_Handler(srv interface{}, ctx context.Co } func _BeaconChain_ListPoolVoluntaryExits_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(types.Empty) + in := new(empty.Empty) if err := dec(in); err != nil { return nil, err } @@ -2909,7 +3871,7 @@ func _BeaconChain_ListPoolVoluntaryExits_Handler(srv interface{}, ctx context.Co FullMethod: "/ethereum.eth.v1.BeaconChain/ListPoolVoluntaryExits", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(BeaconChainServer).ListPoolVoluntaryExits(ctx, req.(*types.Empty)) + return srv.(BeaconChainServer).ListPoolVoluntaryExits(ctx, req.(*empty.Empty)) } return interceptor(ctx, in, info, handler) } @@ -2933,7 +3895,7 @@ func _BeaconChain_SubmitVoluntaryExit_Handler(srv interface{}, ctx context.Conte } func _BeaconChain_GetForkSchedule_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(types.Empty) + in := new(empty.Empty) if err := dec(in); err != nil { return nil, err } @@ -2945,13 +3907,13 @@ func _BeaconChain_GetForkSchedule_Handler(srv interface{}, ctx context.Context, FullMethod: "/ethereum.eth.v1.BeaconChain/GetForkSchedule", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(BeaconChainServer).GetForkSchedule(ctx, req.(*types.Empty)) + return srv.(BeaconChainServer).GetForkSchedule(ctx, req.(*empty.Empty)) } return interceptor(ctx, in, info, handler) } func _BeaconChain_GetSpec_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(types.Empty) + in := new(empty.Empty) if err := dec(in); err != nil { return nil, err } @@ -2963,13 +3925,13 @@ func _BeaconChain_GetSpec_Handler(srv interface{}, ctx context.Context, dec func FullMethod: "/ethereum.eth.v1.BeaconChain/GetSpec", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(BeaconChainServer).GetSpec(ctx, req.(*types.Empty)) + return srv.(BeaconChainServer).GetSpec(ctx, req.(*empty.Empty)) } return interceptor(ctx, in, info, handler) } func _BeaconChain_GetDepositContract_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(types.Empty) + in := new(empty.Empty) if err := dec(in); err != nil { return nil, err } @@ -2981,7 +3943,7 @@ func _BeaconChain_GetDepositContract_Handler(srv interface{}, ctx context.Contex FullMethod: "/ethereum.eth.v1.BeaconChain/GetDepositContract", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(BeaconChainServer).GetDepositContract(ctx, req.(*types.Empty)) + return srv.(BeaconChainServer).GetDepositContract(ctx, req.(*empty.Empty)) } return interceptor(ctx, in, info, handler) } @@ -3006,14 +3968,14 @@ var _BeaconChain_serviceDesc = grpc.ServiceDesc{ MethodName: "GetFinalityCheckpoints", Handler: _BeaconChain_GetFinalityCheckpoints_Handler, }, - { - MethodName: "GetValidator", - Handler: _BeaconChain_GetValidator_Handler, - }, { MethodName: "ListValidators", Handler: _BeaconChain_ListValidators_Handler, }, + { + MethodName: "GetValidator", + Handler: _BeaconChain_GetValidator_Handler, + }, { MethodName: "ListValidatorBalances", Handler: _BeaconChain_ListValidatorBalances_Handler, @@ -3022,14 +3984,14 @@ var _BeaconChain_serviceDesc = grpc.ServiceDesc{ MethodName: "ListCommittees", Handler: _BeaconChain_ListCommittees_Handler, }, - { - MethodName: "GetBlockHeader", - Handler: _BeaconChain_GetBlockHeader_Handler, - }, { MethodName: "ListBlockHeaders", Handler: _BeaconChain_ListBlockHeaders_Handler, }, + { + MethodName: "GetBlockHeader", + Handler: _BeaconChain_GetBlockHeader_Handler, + }, { MethodName: "SubmitBlock", Handler: _BeaconChain_SubmitBlock_Handler, @@ -3094,6350 +4056,3 @@ var _BeaconChain_serviceDesc = grpc.ServiceDesc{ Streams: []grpc.StreamDesc{}, Metadata: "eth/v1/beacon_chain_service.proto", } - -func (m *GenesisResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *GenesisResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *GenesisResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if m.Data != nil { - { - size, err := m.Data.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintBeaconChainService(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *GenesisResponse_Genesis) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *GenesisResponse_Genesis) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *GenesisResponse_Genesis) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if len(m.GenesisForkVersion) > 0 { - i -= len(m.GenesisForkVersion) - copy(dAtA[i:], m.GenesisForkVersion) - i = encodeVarintBeaconChainService(dAtA, i, uint64(len(m.GenesisForkVersion))) - i-- - dAtA[i] = 0x1a - } - if len(m.GenesisValidatorsRoot) > 0 { - i -= len(m.GenesisValidatorsRoot) - copy(dAtA[i:], m.GenesisValidatorsRoot) - i = encodeVarintBeaconChainService(dAtA, i, uint64(len(m.GenesisValidatorsRoot))) - i-- - dAtA[i] = 0x12 - } - if m.GenesisTime != nil { - { - size, err := m.GenesisTime.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintBeaconChainService(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *StateRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *StateRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *StateRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if len(m.StateId) > 0 { - i -= len(m.StateId) - copy(dAtA[i:], m.StateId) - i = encodeVarintBeaconChainService(dAtA, i, uint64(len(m.StateId))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *StateRootResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *StateRootResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *StateRootResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if m.Data != nil { - { - size, err := m.Data.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintBeaconChainService(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *StateRootResponse_StateRoot) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *StateRootResponse_StateRoot) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *StateRootResponse_StateRoot) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if len(m.StateRoot) > 0 { - i -= len(m.StateRoot) - copy(dAtA[i:], m.StateRoot) - i = encodeVarintBeaconChainService(dAtA, i, uint64(len(m.StateRoot))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *StateForkResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *StateForkResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *StateForkResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if m.Data != nil { - { - size, err := m.Data.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintBeaconChainService(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *StateFinalityCheckpointResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *StateFinalityCheckpointResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *StateFinalityCheckpointResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if m.Data != nil { - { - size, err := m.Data.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintBeaconChainService(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *StateFinalityCheckpointResponse_StateFinalityCheckpoint) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *StateFinalityCheckpointResponse_StateFinalityCheckpoint) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *StateFinalityCheckpointResponse_StateFinalityCheckpoint) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if m.Finalized != nil { - { - size, err := m.Finalized.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintBeaconChainService(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x1a - } - if m.CurrentJustified != nil { - { - size, err := m.CurrentJustified.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintBeaconChainService(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - } - if m.PreviousJustified != nil { - { - size, err := m.PreviousJustified.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintBeaconChainService(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *StateValidatorsRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *StateValidatorsRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *StateValidatorsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if len(m.Status) > 0 { - i -= len(m.Status) - copy(dAtA[i:], m.Status) - i = encodeVarintBeaconChainService(dAtA, i, uint64(len(m.Status))) - i-- - dAtA[i] = 0x1a - } - if len(m.Id) > 0 { - for iNdEx := len(m.Id) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.Id[iNdEx]) - copy(dAtA[i:], m.Id[iNdEx]) - i = encodeVarintBeaconChainService(dAtA, i, uint64(len(m.Id[iNdEx]))) - i-- - dAtA[i] = 0x12 - } - } - if len(m.StateId) > 0 { - i -= len(m.StateId) - copy(dAtA[i:], m.StateId) - i = encodeVarintBeaconChainService(dAtA, i, uint64(len(m.StateId))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *ValidatorBalancesRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *ValidatorBalancesRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *ValidatorBalancesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if len(m.Id) > 0 { - for iNdEx := len(m.Id) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.Id[iNdEx]) - copy(dAtA[i:], m.Id[iNdEx]) - i = encodeVarintBeaconChainService(dAtA, i, uint64(len(m.Id[iNdEx]))) - i-- - dAtA[i] = 0x12 - } - } - if len(m.StateId) > 0 { - i -= len(m.StateId) - copy(dAtA[i:], m.StateId) - i = encodeVarintBeaconChainService(dAtA, i, uint64(len(m.StateId))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *StateValidatorsResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *StateValidatorsResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *StateValidatorsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if len(m.Data) > 0 { - for iNdEx := len(m.Data) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Data[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintBeaconChainService(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - } - return len(dAtA) - i, nil -} - -func (m *ValidatorBalancesResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *ValidatorBalancesResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *ValidatorBalancesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if len(m.Data) > 0 { - for iNdEx := len(m.Data) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Data[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintBeaconChainService(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - } - return len(dAtA) - i, nil -} - -func (m *ValidatorBalance) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *ValidatorBalance) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *ValidatorBalance) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if m.Balance != 0 { - i = encodeVarintBeaconChainService(dAtA, i, uint64(m.Balance)) - i-- - dAtA[i] = 0x10 - } - if m.Index != 0 { - i = encodeVarintBeaconChainService(dAtA, i, uint64(m.Index)) - i-- - dAtA[i] = 0x8 - } - return len(dAtA) - i, nil -} - -func (m *StateValidatorRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *StateValidatorRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *StateValidatorRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if len(m.ValidatorId) > 0 { - i -= len(m.ValidatorId) - copy(dAtA[i:], m.ValidatorId) - i = encodeVarintBeaconChainService(dAtA, i, uint64(len(m.ValidatorId))) - i-- - dAtA[i] = 0x12 - } - if len(m.StateId) > 0 { - i -= len(m.StateId) - copy(dAtA[i:], m.StateId) - i = encodeVarintBeaconChainService(dAtA, i, uint64(len(m.StateId))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *StateValidatorResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *StateValidatorResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *StateValidatorResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if m.Data != nil { - { - size, err := m.Data.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintBeaconChainService(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *StateCommitteesRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *StateCommitteesRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *StateCommitteesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if m.Slot != 0 { - i = encodeVarintBeaconChainService(dAtA, i, uint64(m.Slot)) - i-- - dAtA[i] = 0x20 - } - if m.Index != 0 { - i = encodeVarintBeaconChainService(dAtA, i, uint64(m.Index)) - i-- - dAtA[i] = 0x18 - } - if m.Epoch != 0 { - i = encodeVarintBeaconChainService(dAtA, i, uint64(m.Epoch)) - i-- - dAtA[i] = 0x10 - } - if len(m.StateId) > 0 { - i -= len(m.StateId) - copy(dAtA[i:], m.StateId) - i = encodeVarintBeaconChainService(dAtA, i, uint64(len(m.StateId))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *StateCommitteesResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *StateCommitteesResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *StateCommitteesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if len(m.Data) > 0 { - for iNdEx := len(m.Data) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Data[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintBeaconChainService(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - } - return len(dAtA) - i, nil -} - -func (m *BlockAttestationsResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *BlockAttestationsResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *BlockAttestationsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if len(m.Data) > 0 { - for iNdEx := len(m.Data) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Data[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintBeaconChainService(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - } - return len(dAtA) - i, nil -} - -func (m *BlockRootContainer) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *BlockRootContainer) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *BlockRootContainer) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if len(m.Root) > 0 { - i -= len(m.Root) - copy(dAtA[i:], m.Root) - i = encodeVarintBeaconChainService(dAtA, i, uint64(len(m.Root))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *BlockRootResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *BlockRootResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *BlockRootResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if m.Data != nil { - { - size, err := m.Data.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintBeaconChainService(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *BlockHeadersRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *BlockHeadersRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *BlockHeadersRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if len(m.ParentRoot) > 0 { - i -= len(m.ParentRoot) - copy(dAtA[i:], m.ParentRoot) - i = encodeVarintBeaconChainService(dAtA, i, uint64(len(m.ParentRoot))) - i-- - dAtA[i] = 0x12 - } - if m.Slot != 0 { - i = encodeVarintBeaconChainService(dAtA, i, uint64(m.Slot)) - i-- - dAtA[i] = 0x8 - } - return len(dAtA) - i, nil -} - -func (m *BlockHeadersResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *BlockHeadersResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *BlockHeadersResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if len(m.Data) > 0 { - for iNdEx := len(m.Data) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Data[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintBeaconChainService(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - } - return len(dAtA) - i, nil -} - -func (m *BlockRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *BlockRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *BlockRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if len(m.BlockId) > 0 { - i -= len(m.BlockId) - copy(dAtA[i:], m.BlockId) - i = encodeVarintBeaconChainService(dAtA, i, uint64(len(m.BlockId))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *BlockHeaderResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *BlockHeaderResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *BlockHeaderResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if m.Data != nil { - { - size, err := m.Data.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintBeaconChainService(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *BlockHeaderContainer) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *BlockHeaderContainer) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *BlockHeaderContainer) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if m.Header != nil { - { - size, err := m.Header.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintBeaconChainService(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x1a - } - if m.Canonical { - i-- - if m.Canonical { - dAtA[i] = 1 - } else { - dAtA[i] = 0 - } - i-- - dAtA[i] = 0x10 - } - if len(m.Root) > 0 { - i -= len(m.Root) - copy(dAtA[i:], m.Root) - i = encodeVarintBeaconChainService(dAtA, i, uint64(len(m.Root))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *BeaconBlockHeaderContainer) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *BeaconBlockHeaderContainer) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *BeaconBlockHeaderContainer) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if len(m.Signature) > 0 { - i -= len(m.Signature) - copy(dAtA[i:], m.Signature) - i = encodeVarintBeaconChainService(dAtA, i, uint64(len(m.Signature))) - i-- - dAtA[i] = 0x12 - } - if m.Message != nil { - { - size, err := m.Message.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintBeaconChainService(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *BlockResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *BlockResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *BlockResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if m.Data != nil { - { - size, err := m.Data.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintBeaconChainService(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *BeaconBlockContainer) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *BeaconBlockContainer) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *BeaconBlockContainer) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if len(m.Signature) > 0 { - i -= len(m.Signature) - copy(dAtA[i:], m.Signature) - i = encodeVarintBeaconChainService(dAtA, i, uint64(len(m.Signature))) - i-- - dAtA[i] = 0x12 - } - if m.Message != nil { - { - size, err := m.Message.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintBeaconChainService(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *AttestationsPoolRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *AttestationsPoolRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *AttestationsPoolRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if m.CommitteeIndex != 0 { - i = encodeVarintBeaconChainService(dAtA, i, uint64(m.CommitteeIndex)) - i-- - dAtA[i] = 0x10 - } - if m.Slot != 0 { - i = encodeVarintBeaconChainService(dAtA, i, uint64(m.Slot)) - i-- - dAtA[i] = 0x8 - } - return len(dAtA) - i, nil -} - -func (m *SubmitAttestationsRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *SubmitAttestationsRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *SubmitAttestationsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if len(m.Data) > 0 { - for iNdEx := len(m.Data) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Data[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintBeaconChainService(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - } - return len(dAtA) - i, nil -} - -func (m *AttestationsPoolResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *AttestationsPoolResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *AttestationsPoolResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if len(m.Data) > 0 { - for iNdEx := len(m.Data) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Data[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintBeaconChainService(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - } - return len(dAtA) - i, nil -} - -func (m *AttesterSlashingsPoolResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *AttesterSlashingsPoolResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *AttesterSlashingsPoolResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if len(m.Data) > 0 { - for iNdEx := len(m.Data) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Data[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintBeaconChainService(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - } - return len(dAtA) - i, nil -} - -func (m *ProposerSlashingPoolResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *ProposerSlashingPoolResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *ProposerSlashingPoolResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if len(m.Data) > 0 { - for iNdEx := len(m.Data) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Data[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintBeaconChainService(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - } - return len(dAtA) - i, nil -} - -func (m *VoluntaryExitsPoolResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *VoluntaryExitsPoolResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *VoluntaryExitsPoolResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if len(m.Data) > 0 { - for iNdEx := len(m.Data) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Data[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintBeaconChainService(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - } - return len(dAtA) - i, nil -} - -func (m *ForkScheduleResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *ForkScheduleResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *ForkScheduleResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if len(m.Data) > 0 { - for iNdEx := len(m.Data) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Data[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintBeaconChainService(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - } - return len(dAtA) - i, nil -} - -func (m *SpecResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *SpecResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *SpecResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if len(m.Data) > 0 { - for k := range m.Data { - v := m.Data[k] - baseI := i - i -= len(v) - copy(dAtA[i:], v) - i = encodeVarintBeaconChainService(dAtA, i, uint64(len(v))) - i-- - dAtA[i] = 0x12 - i -= len(k) - copy(dAtA[i:], k) - i = encodeVarintBeaconChainService(dAtA, i, uint64(len(k))) - i-- - dAtA[i] = 0xa - i = encodeVarintBeaconChainService(dAtA, i, uint64(baseI-i)) - i-- - dAtA[i] = 0xa - } - } - return len(dAtA) - i, nil -} - -func (m *DepositContractResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *DepositContractResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *DepositContractResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if m.Data != nil { - { - size, err := m.Data.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintBeaconChainService(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *DepositContract) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *DepositContract) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *DepositContract) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if len(m.Address) > 0 { - i -= len(m.Address) - copy(dAtA[i:], m.Address) - i = encodeVarintBeaconChainService(dAtA, i, uint64(len(m.Address))) - i-- - dAtA[i] = 0x12 - } - if m.ChainId != 0 { - i = encodeVarintBeaconChainService(dAtA, i, uint64(m.ChainId)) - i-- - dAtA[i] = 0x8 - } - return len(dAtA) - i, nil -} - -func encodeVarintBeaconChainService(dAtA []byte, offset int, v uint64) int { - offset -= sovBeaconChainService(v) - base := offset - for v >= 1<<7 { - dAtA[offset] = uint8(v&0x7f | 0x80) - v >>= 7 - offset++ - } - dAtA[offset] = uint8(v) - return base -} -func (m *GenesisResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Data != nil { - l = m.Data.Size() - n += 1 + l + sovBeaconChainService(uint64(l)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *GenesisResponse_Genesis) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.GenesisTime != nil { - l = m.GenesisTime.Size() - n += 1 + l + sovBeaconChainService(uint64(l)) - } - l = len(m.GenesisValidatorsRoot) - if l > 0 { - n += 1 + l + sovBeaconChainService(uint64(l)) - } - l = len(m.GenesisForkVersion) - if l > 0 { - n += 1 + l + sovBeaconChainService(uint64(l)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *StateRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.StateId) - if l > 0 { - n += 1 + l + sovBeaconChainService(uint64(l)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *StateRootResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Data != nil { - l = m.Data.Size() - n += 1 + l + sovBeaconChainService(uint64(l)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *StateRootResponse_StateRoot) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.StateRoot) - if l > 0 { - n += 1 + l + sovBeaconChainService(uint64(l)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *StateForkResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Data != nil { - l = m.Data.Size() - n += 1 + l + sovBeaconChainService(uint64(l)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *StateFinalityCheckpointResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Data != nil { - l = m.Data.Size() - n += 1 + l + sovBeaconChainService(uint64(l)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *StateFinalityCheckpointResponse_StateFinalityCheckpoint) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.PreviousJustified != nil { - l = m.PreviousJustified.Size() - n += 1 + l + sovBeaconChainService(uint64(l)) - } - if m.CurrentJustified != nil { - l = m.CurrentJustified.Size() - n += 1 + l + sovBeaconChainService(uint64(l)) - } - if m.Finalized != nil { - l = m.Finalized.Size() - n += 1 + l + sovBeaconChainService(uint64(l)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *StateValidatorsRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.StateId) - if l > 0 { - n += 1 + l + sovBeaconChainService(uint64(l)) - } - if len(m.Id) > 0 { - for _, b := range m.Id { - l = len(b) - n += 1 + l + sovBeaconChainService(uint64(l)) - } - } - l = len(m.Status) - if l > 0 { - n += 1 + l + sovBeaconChainService(uint64(l)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *ValidatorBalancesRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.StateId) - if l > 0 { - n += 1 + l + sovBeaconChainService(uint64(l)) - } - if len(m.Id) > 0 { - for _, s := range m.Id { - l = len(s) - n += 1 + l + sovBeaconChainService(uint64(l)) - } - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *StateValidatorsResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if len(m.Data) > 0 { - for _, e := range m.Data { - l = e.Size() - n += 1 + l + sovBeaconChainService(uint64(l)) - } - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *ValidatorBalancesResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if len(m.Data) > 0 { - for _, e := range m.Data { - l = e.Size() - n += 1 + l + sovBeaconChainService(uint64(l)) - } - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *ValidatorBalance) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Index != 0 { - n += 1 + sovBeaconChainService(uint64(m.Index)) - } - if m.Balance != 0 { - n += 1 + sovBeaconChainService(uint64(m.Balance)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *StateValidatorRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.StateId) - if l > 0 { - n += 1 + l + sovBeaconChainService(uint64(l)) - } - l = len(m.ValidatorId) - if l > 0 { - n += 1 + l + sovBeaconChainService(uint64(l)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *StateValidatorResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Data != nil { - l = m.Data.Size() - n += 1 + l + sovBeaconChainService(uint64(l)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *StateCommitteesRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.StateId) - if l > 0 { - n += 1 + l + sovBeaconChainService(uint64(l)) - } - if m.Epoch != 0 { - n += 1 + sovBeaconChainService(uint64(m.Epoch)) - } - if m.Index != 0 { - n += 1 + sovBeaconChainService(uint64(m.Index)) - } - if m.Slot != 0 { - n += 1 + sovBeaconChainService(uint64(m.Slot)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *StateCommitteesResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if len(m.Data) > 0 { - for _, e := range m.Data { - l = e.Size() - n += 1 + l + sovBeaconChainService(uint64(l)) - } - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *BlockAttestationsResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if len(m.Data) > 0 { - for _, e := range m.Data { - l = e.Size() - n += 1 + l + sovBeaconChainService(uint64(l)) - } - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *BlockRootContainer) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Root) - if l > 0 { - n += 1 + l + sovBeaconChainService(uint64(l)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *BlockRootResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Data != nil { - l = m.Data.Size() - n += 1 + l + sovBeaconChainService(uint64(l)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *BlockHeadersRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Slot != 0 { - n += 1 + sovBeaconChainService(uint64(m.Slot)) - } - l = len(m.ParentRoot) - if l > 0 { - n += 1 + l + sovBeaconChainService(uint64(l)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *BlockHeadersResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if len(m.Data) > 0 { - for _, e := range m.Data { - l = e.Size() - n += 1 + l + sovBeaconChainService(uint64(l)) - } - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *BlockRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.BlockId) - if l > 0 { - n += 1 + l + sovBeaconChainService(uint64(l)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *BlockHeaderResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Data != nil { - l = m.Data.Size() - n += 1 + l + sovBeaconChainService(uint64(l)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *BlockHeaderContainer) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Root) - if l > 0 { - n += 1 + l + sovBeaconChainService(uint64(l)) - } - if m.Canonical { - n += 2 - } - if m.Header != nil { - l = m.Header.Size() - n += 1 + l + sovBeaconChainService(uint64(l)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *BeaconBlockHeaderContainer) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Message != nil { - l = m.Message.Size() - n += 1 + l + sovBeaconChainService(uint64(l)) - } - l = len(m.Signature) - if l > 0 { - n += 1 + l + sovBeaconChainService(uint64(l)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *BlockResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Data != nil { - l = m.Data.Size() - n += 1 + l + sovBeaconChainService(uint64(l)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *BeaconBlockContainer) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Message != nil { - l = m.Message.Size() - n += 1 + l + sovBeaconChainService(uint64(l)) - } - l = len(m.Signature) - if l > 0 { - n += 1 + l + sovBeaconChainService(uint64(l)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *AttestationsPoolRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Slot != 0 { - n += 1 + sovBeaconChainService(uint64(m.Slot)) - } - if m.CommitteeIndex != 0 { - n += 1 + sovBeaconChainService(uint64(m.CommitteeIndex)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *SubmitAttestationsRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if len(m.Data) > 0 { - for _, e := range m.Data { - l = e.Size() - n += 1 + l + sovBeaconChainService(uint64(l)) - } - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *AttestationsPoolResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if len(m.Data) > 0 { - for _, e := range m.Data { - l = e.Size() - n += 1 + l + sovBeaconChainService(uint64(l)) - } - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *AttesterSlashingsPoolResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if len(m.Data) > 0 { - for _, e := range m.Data { - l = e.Size() - n += 1 + l + sovBeaconChainService(uint64(l)) - } - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *ProposerSlashingPoolResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if len(m.Data) > 0 { - for _, e := range m.Data { - l = e.Size() - n += 1 + l + sovBeaconChainService(uint64(l)) - } - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *VoluntaryExitsPoolResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if len(m.Data) > 0 { - for _, e := range m.Data { - l = e.Size() - n += 1 + l + sovBeaconChainService(uint64(l)) - } - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *ForkScheduleResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if len(m.Data) > 0 { - for _, e := range m.Data { - l = e.Size() - n += 1 + l + sovBeaconChainService(uint64(l)) - } - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *SpecResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if len(m.Data) > 0 { - for k, v := range m.Data { - _ = k - _ = v - mapEntrySize := 1 + len(k) + sovBeaconChainService(uint64(len(k))) + 1 + len(v) + sovBeaconChainService(uint64(len(v))) - n += mapEntrySize + 1 + sovBeaconChainService(uint64(mapEntrySize)) - } - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *DepositContractResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Data != nil { - l = m.Data.Size() - n += 1 + l + sovBeaconChainService(uint64(l)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *DepositContract) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.ChainId != 0 { - n += 1 + sovBeaconChainService(uint64(m.ChainId)) - } - l = len(m.Address) - if l > 0 { - n += 1 + l + sovBeaconChainService(uint64(l)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func sovBeaconChainService(x uint64) (n int) { - return (math_bits.Len64(x|1) + 6) / 7 -} -func sozBeaconChainService(x uint64) (n int) { - return sovBeaconChainService(uint64((x << 1) ^ uint64((int64(x) >> 63)))) -} -func (m *GenesisResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChainService - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: GenesisResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: GenesisResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Data", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChainService - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthBeaconChainService - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthBeaconChainService - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Data == nil { - m.Data = &GenesisResponse_Genesis{} - } - if err := m.Data.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipBeaconChainService(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthBeaconChainService - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthBeaconChainService - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *GenesisResponse_Genesis) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChainService - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: Genesis: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: Genesis: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field GenesisTime", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChainService - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthBeaconChainService - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthBeaconChainService - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.GenesisTime == nil { - m.GenesisTime = &types.Timestamp{} - } - if err := m.GenesisTime.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field GenesisValidatorsRoot", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChainService - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return ErrInvalidLengthBeaconChainService - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthBeaconChainService - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.GenesisValidatorsRoot = append(m.GenesisValidatorsRoot[:0], dAtA[iNdEx:postIndex]...) - if m.GenesisValidatorsRoot == nil { - m.GenesisValidatorsRoot = []byte{} - } - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field GenesisForkVersion", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChainService - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return ErrInvalidLengthBeaconChainService - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthBeaconChainService - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.GenesisForkVersion = append(m.GenesisForkVersion[:0], dAtA[iNdEx:postIndex]...) - if m.GenesisForkVersion == nil { - m.GenesisForkVersion = []byte{} - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipBeaconChainService(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthBeaconChainService - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthBeaconChainService - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *StateRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChainService - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: StateRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: StateRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field StateId", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChainService - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return ErrInvalidLengthBeaconChainService - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthBeaconChainService - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.StateId = append(m.StateId[:0], dAtA[iNdEx:postIndex]...) - if m.StateId == nil { - m.StateId = []byte{} - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipBeaconChainService(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthBeaconChainService - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthBeaconChainService - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *StateRootResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChainService - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: StateRootResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: StateRootResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Data", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChainService - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthBeaconChainService - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthBeaconChainService - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Data == nil { - m.Data = &StateRootResponse_StateRoot{} - } - if err := m.Data.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipBeaconChainService(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthBeaconChainService - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthBeaconChainService - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *StateRootResponse_StateRoot) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChainService - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: StateRoot: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: StateRoot: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field StateRoot", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChainService - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return ErrInvalidLengthBeaconChainService - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthBeaconChainService - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.StateRoot = append(m.StateRoot[:0], dAtA[iNdEx:postIndex]...) - if m.StateRoot == nil { - m.StateRoot = []byte{} - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipBeaconChainService(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthBeaconChainService - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthBeaconChainService - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *StateForkResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChainService - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: StateForkResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: StateForkResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Data", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChainService - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthBeaconChainService - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthBeaconChainService - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Data == nil { - m.Data = &Fork{} - } - if err := m.Data.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipBeaconChainService(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthBeaconChainService - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthBeaconChainService - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *StateFinalityCheckpointResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChainService - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: StateFinalityCheckpointResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: StateFinalityCheckpointResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Data", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChainService - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthBeaconChainService - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthBeaconChainService - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Data == nil { - m.Data = &StateFinalityCheckpointResponse_StateFinalityCheckpoint{} - } - if err := m.Data.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipBeaconChainService(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthBeaconChainService - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthBeaconChainService - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *StateFinalityCheckpointResponse_StateFinalityCheckpoint) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChainService - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: StateFinalityCheckpoint: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: StateFinalityCheckpoint: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field PreviousJustified", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChainService - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthBeaconChainService - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthBeaconChainService - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.PreviousJustified == nil { - m.PreviousJustified = &Checkpoint{} - } - if err := m.PreviousJustified.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field CurrentJustified", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChainService - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthBeaconChainService - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthBeaconChainService - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.CurrentJustified == nil { - m.CurrentJustified = &Checkpoint{} - } - if err := m.CurrentJustified.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Finalized", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChainService - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthBeaconChainService - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthBeaconChainService - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Finalized == nil { - m.Finalized = &Checkpoint{} - } - if err := m.Finalized.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipBeaconChainService(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthBeaconChainService - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthBeaconChainService - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *StateValidatorsRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChainService - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: StateValidatorsRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: StateValidatorsRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field StateId", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChainService - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return ErrInvalidLengthBeaconChainService - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthBeaconChainService - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.StateId = append(m.StateId[:0], dAtA[iNdEx:postIndex]...) - if m.StateId == nil { - m.StateId = []byte{} - } - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Id", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChainService - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return ErrInvalidLengthBeaconChainService - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthBeaconChainService - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Id = append(m.Id, make([]byte, postIndex-iNdEx)) - copy(m.Id[len(m.Id)-1], dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChainService - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthBeaconChainService - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthBeaconChainService - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Status = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipBeaconChainService(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthBeaconChainService - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthBeaconChainService - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *ValidatorBalancesRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChainService - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: ValidatorBalancesRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: ValidatorBalancesRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field StateId", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChainService - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return ErrInvalidLengthBeaconChainService - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthBeaconChainService - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.StateId = append(m.StateId[:0], dAtA[iNdEx:postIndex]...) - if m.StateId == nil { - m.StateId = []byte{} - } - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Id", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChainService - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthBeaconChainService - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthBeaconChainService - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Id = append(m.Id, string(dAtA[iNdEx:postIndex])) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipBeaconChainService(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthBeaconChainService - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthBeaconChainService - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *StateValidatorsResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChainService - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: StateValidatorsResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: StateValidatorsResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Data", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChainService - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthBeaconChainService - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthBeaconChainService - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Data = append(m.Data, &ValidatorContainer{}) - if err := m.Data[len(m.Data)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipBeaconChainService(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthBeaconChainService - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthBeaconChainService - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *ValidatorBalancesResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChainService - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: ValidatorBalancesResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: ValidatorBalancesResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Data", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChainService - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthBeaconChainService - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthBeaconChainService - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Data = append(m.Data, &ValidatorBalance{}) - if err := m.Data[len(m.Data)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipBeaconChainService(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthBeaconChainService - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthBeaconChainService - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *ValidatorBalance) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChainService - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: ValidatorBalance: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: ValidatorBalance: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Index", wireType) - } - m.Index = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChainService - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Index |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 2: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Balance", wireType) - } - m.Balance = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChainService - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Balance |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - default: - iNdEx = preIndex - skippy, err := skipBeaconChainService(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthBeaconChainService - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthBeaconChainService - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *StateValidatorRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChainService - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: StateValidatorRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: StateValidatorRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field StateId", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChainService - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return ErrInvalidLengthBeaconChainService - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthBeaconChainService - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.StateId = append(m.StateId[:0], dAtA[iNdEx:postIndex]...) - if m.StateId == nil { - m.StateId = []byte{} - } - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ValidatorId", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChainService - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return ErrInvalidLengthBeaconChainService - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthBeaconChainService - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ValidatorId = append(m.ValidatorId[:0], dAtA[iNdEx:postIndex]...) - if m.ValidatorId == nil { - m.ValidatorId = []byte{} - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipBeaconChainService(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthBeaconChainService - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthBeaconChainService - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *StateValidatorResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChainService - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: StateValidatorResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: StateValidatorResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Data", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChainService - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthBeaconChainService - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthBeaconChainService - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Data == nil { - m.Data = &ValidatorContainer{} - } - if err := m.Data.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipBeaconChainService(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthBeaconChainService - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthBeaconChainService - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *StateCommitteesRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChainService - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: StateCommitteesRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: StateCommitteesRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field StateId", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChainService - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return ErrInvalidLengthBeaconChainService - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthBeaconChainService - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.StateId = append(m.StateId[:0], dAtA[iNdEx:postIndex]...) - if m.StateId == nil { - m.StateId = []byte{} - } - iNdEx = postIndex - case 2: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Epoch", wireType) - } - m.Epoch = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChainService - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Epoch |= github_com_prysmaticlabs_eth2_types.Epoch(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 3: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Index", wireType) - } - m.Index = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChainService - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Index |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 4: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Slot", wireType) - } - m.Slot = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChainService - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Slot |= github_com_prysmaticlabs_eth2_types.Slot(b&0x7F) << shift - if b < 0x80 { - break - } - } - default: - iNdEx = preIndex - skippy, err := skipBeaconChainService(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthBeaconChainService - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthBeaconChainService - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *StateCommitteesResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChainService - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: StateCommitteesResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: StateCommitteesResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Data", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChainService - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthBeaconChainService - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthBeaconChainService - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Data = append(m.Data, &Committee{}) - if err := m.Data[len(m.Data)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipBeaconChainService(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthBeaconChainService - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthBeaconChainService - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *BlockAttestationsResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChainService - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: BlockAttestationsResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: BlockAttestationsResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Data", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChainService - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthBeaconChainService - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthBeaconChainService - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Data = append(m.Data, &Attestation{}) - if err := m.Data[len(m.Data)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipBeaconChainService(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthBeaconChainService - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthBeaconChainService - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *BlockRootContainer) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChainService - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: BlockRootContainer: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: BlockRootContainer: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Root", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChainService - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return ErrInvalidLengthBeaconChainService - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthBeaconChainService - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Root = append(m.Root[:0], dAtA[iNdEx:postIndex]...) - if m.Root == nil { - m.Root = []byte{} - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipBeaconChainService(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthBeaconChainService - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthBeaconChainService - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *BlockRootResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChainService - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: BlockRootResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: BlockRootResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Data", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChainService - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthBeaconChainService - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthBeaconChainService - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Data == nil { - m.Data = &BlockRootContainer{} - } - if err := m.Data.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipBeaconChainService(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthBeaconChainService - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthBeaconChainService - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *BlockHeadersRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChainService - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: BlockHeadersRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: BlockHeadersRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Slot", wireType) - } - m.Slot = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChainService - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Slot |= github_com_prysmaticlabs_eth2_types.Slot(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ParentRoot", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChainService - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return ErrInvalidLengthBeaconChainService - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthBeaconChainService - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ParentRoot = append(m.ParentRoot[:0], dAtA[iNdEx:postIndex]...) - if m.ParentRoot == nil { - m.ParentRoot = []byte{} - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipBeaconChainService(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthBeaconChainService - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthBeaconChainService - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *BlockHeadersResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChainService - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: BlockHeadersResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: BlockHeadersResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Data", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChainService - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthBeaconChainService - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthBeaconChainService - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Data = append(m.Data, &BlockHeaderContainer{}) - if err := m.Data[len(m.Data)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipBeaconChainService(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthBeaconChainService - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthBeaconChainService - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *BlockRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChainService - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: BlockRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: BlockRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field BlockId", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChainService - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return ErrInvalidLengthBeaconChainService - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthBeaconChainService - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.BlockId = append(m.BlockId[:0], dAtA[iNdEx:postIndex]...) - if m.BlockId == nil { - m.BlockId = []byte{} - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipBeaconChainService(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthBeaconChainService - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthBeaconChainService - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *BlockHeaderResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChainService - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: BlockHeaderResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: BlockHeaderResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Data", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChainService - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthBeaconChainService - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthBeaconChainService - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Data == nil { - m.Data = &BlockHeaderContainer{} - } - if err := m.Data.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipBeaconChainService(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthBeaconChainService - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthBeaconChainService - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *BlockHeaderContainer) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChainService - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: BlockHeaderContainer: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: BlockHeaderContainer: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Root", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChainService - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return ErrInvalidLengthBeaconChainService - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthBeaconChainService - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Root = append(m.Root[:0], dAtA[iNdEx:postIndex]...) - if m.Root == nil { - m.Root = []byte{} - } - iNdEx = postIndex - case 2: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Canonical", wireType) - } - var v int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChainService - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.Canonical = bool(v != 0) - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Header", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChainService - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthBeaconChainService - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthBeaconChainService - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Header == nil { - m.Header = &BeaconBlockHeaderContainer{} - } - if err := m.Header.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipBeaconChainService(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthBeaconChainService - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthBeaconChainService - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *BeaconBlockHeaderContainer) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChainService - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: BeaconBlockHeaderContainer: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: BeaconBlockHeaderContainer: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Message", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChainService - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthBeaconChainService - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthBeaconChainService - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Message == nil { - m.Message = &BeaconBlockHeader{} - } - if err := m.Message.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Signature", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChainService - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return ErrInvalidLengthBeaconChainService - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthBeaconChainService - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Signature = append(m.Signature[:0], dAtA[iNdEx:postIndex]...) - if m.Signature == nil { - m.Signature = []byte{} - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipBeaconChainService(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthBeaconChainService - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthBeaconChainService - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *BlockResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChainService - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: BlockResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: BlockResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Data", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChainService - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthBeaconChainService - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthBeaconChainService - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Data == nil { - m.Data = &BeaconBlockContainer{} - } - if err := m.Data.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipBeaconChainService(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthBeaconChainService - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthBeaconChainService - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *BeaconBlockContainer) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChainService - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: BeaconBlockContainer: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: BeaconBlockContainer: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Message", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChainService - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthBeaconChainService - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthBeaconChainService - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Message == nil { - m.Message = &BeaconBlock{} - } - if err := m.Message.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Signature", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChainService - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return ErrInvalidLengthBeaconChainService - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthBeaconChainService - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Signature = append(m.Signature[:0], dAtA[iNdEx:postIndex]...) - if m.Signature == nil { - m.Signature = []byte{} - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipBeaconChainService(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthBeaconChainService - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthBeaconChainService - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *AttestationsPoolRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChainService - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: AttestationsPoolRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: AttestationsPoolRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Slot", wireType) - } - m.Slot = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChainService - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Slot |= github_com_prysmaticlabs_eth2_types.Slot(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 2: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field CommitteeIndex", wireType) - } - m.CommitteeIndex = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChainService - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.CommitteeIndex |= github_com_prysmaticlabs_eth2_types.CommitteeIndex(b&0x7F) << shift - if b < 0x80 { - break - } - } - default: - iNdEx = preIndex - skippy, err := skipBeaconChainService(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthBeaconChainService - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthBeaconChainService - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *SubmitAttestationsRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChainService - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: SubmitAttestationsRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: SubmitAttestationsRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Data", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChainService - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthBeaconChainService - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthBeaconChainService - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Data = append(m.Data, &Attestation{}) - if err := m.Data[len(m.Data)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipBeaconChainService(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthBeaconChainService - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthBeaconChainService - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *AttestationsPoolResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChainService - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: AttestationsPoolResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: AttestationsPoolResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Data", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChainService - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthBeaconChainService - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthBeaconChainService - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Data = append(m.Data, &Attestation{}) - if err := m.Data[len(m.Data)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipBeaconChainService(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthBeaconChainService - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthBeaconChainService - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *AttesterSlashingsPoolResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChainService - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: AttesterSlashingsPoolResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: AttesterSlashingsPoolResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Data", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChainService - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthBeaconChainService - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthBeaconChainService - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Data = append(m.Data, &AttesterSlashing{}) - if err := m.Data[len(m.Data)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipBeaconChainService(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthBeaconChainService - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthBeaconChainService - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *ProposerSlashingPoolResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChainService - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: ProposerSlashingPoolResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: ProposerSlashingPoolResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Data", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChainService - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthBeaconChainService - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthBeaconChainService - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Data = append(m.Data, &ProposerSlashing{}) - if err := m.Data[len(m.Data)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipBeaconChainService(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthBeaconChainService - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthBeaconChainService - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *VoluntaryExitsPoolResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChainService - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: VoluntaryExitsPoolResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: VoluntaryExitsPoolResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Data", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChainService - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthBeaconChainService - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthBeaconChainService - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Data = append(m.Data, &SignedVoluntaryExit{}) - if err := m.Data[len(m.Data)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipBeaconChainService(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthBeaconChainService - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthBeaconChainService - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *ForkScheduleResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChainService - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: ForkScheduleResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: ForkScheduleResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Data", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChainService - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthBeaconChainService - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthBeaconChainService - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Data = append(m.Data, &Fork{}) - if err := m.Data[len(m.Data)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipBeaconChainService(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthBeaconChainService - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthBeaconChainService - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *SpecResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChainService - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: SpecResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: SpecResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Data", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChainService - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthBeaconChainService - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthBeaconChainService - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Data == nil { - m.Data = make(map[string]string) - } - var mapkey string - var mapvalue string - for iNdEx < postIndex { - entryPreIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChainService - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - if fieldNum == 1 { - var stringLenmapkey uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChainService - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLenmapkey |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLenmapkey := int(stringLenmapkey) - if intStringLenmapkey < 0 { - return ErrInvalidLengthBeaconChainService - } - postStringIndexmapkey := iNdEx + intStringLenmapkey - if postStringIndexmapkey < 0 { - return ErrInvalidLengthBeaconChainService - } - if postStringIndexmapkey > l { - return io.ErrUnexpectedEOF - } - mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) - iNdEx = postStringIndexmapkey - } else if fieldNum == 2 { - var stringLenmapvalue uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChainService - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLenmapvalue |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLenmapvalue := int(stringLenmapvalue) - if intStringLenmapvalue < 0 { - return ErrInvalidLengthBeaconChainService - } - postStringIndexmapvalue := iNdEx + intStringLenmapvalue - if postStringIndexmapvalue < 0 { - return ErrInvalidLengthBeaconChainService - } - if postStringIndexmapvalue > l { - return io.ErrUnexpectedEOF - } - mapvalue = string(dAtA[iNdEx:postStringIndexmapvalue]) - iNdEx = postStringIndexmapvalue - } else { - iNdEx = entryPreIndex - skippy, err := skipBeaconChainService(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthBeaconChainService - } - if (iNdEx + skippy) > postIndex { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - m.Data[mapkey] = mapvalue - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipBeaconChainService(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthBeaconChainService - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthBeaconChainService - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *DepositContractResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChainService - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: DepositContractResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: DepositContractResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Data", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChainService - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthBeaconChainService - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthBeaconChainService - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Data == nil { - m.Data = &DepositContract{} - } - if err := m.Data.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipBeaconChainService(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthBeaconChainService - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthBeaconChainService - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *DepositContract) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChainService - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: DepositContract: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: DepositContract: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field ChainId", wireType) - } - m.ChainId = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChainService - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.ChainId |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Address", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChainService - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthBeaconChainService - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthBeaconChainService - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Address = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipBeaconChainService(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthBeaconChainService - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthBeaconChainService - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func skipBeaconChainService(dAtA []byte) (n int, err error) { - l := len(dAtA) - iNdEx := 0 - depth := 0 - for iNdEx < l { - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return 0, ErrIntOverflowBeaconChainService - } - if iNdEx >= l { - return 0, io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= (uint64(b) & 0x7F) << shift - if b < 0x80 { - break - } - } - wireType := int(wire & 0x7) - switch wireType { - case 0: - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return 0, ErrIntOverflowBeaconChainService - } - if iNdEx >= l { - return 0, io.ErrUnexpectedEOF - } - iNdEx++ - if dAtA[iNdEx-1] < 0x80 { - break - } - } - case 1: - iNdEx += 8 - case 2: - var length int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return 0, ErrIntOverflowBeaconChainService - } - if iNdEx >= l { - return 0, io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - length |= (int(b) & 0x7F) << shift - if b < 0x80 { - break - } - } - if length < 0 { - return 0, ErrInvalidLengthBeaconChainService - } - iNdEx += length - case 3: - depth++ - case 4: - if depth == 0 { - return 0, ErrUnexpectedEndOfGroupBeaconChainService - } - depth-- - case 5: - iNdEx += 4 - default: - return 0, fmt.Errorf("proto: illegal wireType %d", wireType) - } - if iNdEx < 0 { - return 0, ErrInvalidLengthBeaconChainService - } - if depth == 0 { - return iNdEx, nil - } - } - return 0, io.ErrUnexpectedEOF -} - -var ( - ErrInvalidLengthBeaconChainService = fmt.Errorf("proto: negative length found during unmarshaling") - ErrIntOverflowBeaconChainService = fmt.Errorf("proto: integer overflow") - ErrUnexpectedEndOfGroupBeaconChainService = fmt.Errorf("proto: unexpected end of group") -) diff --git a/eth/v1/beacon_chain_service.pb.gw.go b/eth/v1/beacon_chain_service.pb.gw.go new file mode 100644 index 00000000..3739530a --- /dev/null +++ b/eth/v1/beacon_chain_service.pb.gw.go @@ -0,0 +1,2304 @@ +// Code generated by protoc-gen-grpc-gateway. DO NOT EDIT. +// source: eth/v1/beacon_chain_service.proto + +/* +Package v1 is a reverse proxy. + +It translates gRPC into RESTful JSON APIs. +*/ +package v1 + +import ( + "context" + "github.com/golang/protobuf/ptypes/empty" + emptypb "github.com/golang/protobuf/ptypes/empty" + "github.com/grpc-ecosystem/grpc-gateway/v2/runtime" + "github.com/grpc-ecosystem/grpc-gateway/v2/utilities" + github_com_prysmaticlabs_eth2_types "github.com/prysmaticlabs/eth2-types" + "google.golang.org/grpc" + "google.golang.org/grpc/codes" + "google.golang.org/grpc/grpclog" + "google.golang.org/grpc/metadata" + "google.golang.org/grpc/status" + "google.golang.org/protobuf/proto" + "io" + "net/http" +) + +// Suppress "imported and not used" errors +var _ codes.Code +var _ io.Reader +var _ status.Status +var _ = runtime.String +var _ = utilities.NewDoubleArray +var _ = metadata.Join +var _ = github_com_prysmaticlabs_eth2_types.Epoch(0) +var _ = emptypb.Empty{} +var _ = empty.Empty{} + +func request_BeaconChain_GetGenesis_0(ctx context.Context, marshaler runtime.Marshaler, client BeaconChainClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq emptypb.Empty + var metadata runtime.ServerMetadata + + msg, err := client.GetGenesis(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_BeaconChain_GetGenesis_0(ctx context.Context, marshaler runtime.Marshaler, server BeaconChainServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq emptypb.Empty + var metadata runtime.ServerMetadata + + msg, err := server.GetGenesis(ctx, &protoReq) + return msg, metadata, err + +} + +func request_BeaconChain_GetStateRoot_0(ctx context.Context, marshaler runtime.Marshaler, client BeaconChainClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq StateRequest + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["state_id"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "state_id") + } + + state_id, err := runtime.Bytes(val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "state_id", err) + } + protoReq.StateId = (state_id) + + msg, err := client.GetStateRoot(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_BeaconChain_GetStateRoot_0(ctx context.Context, marshaler runtime.Marshaler, server BeaconChainServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq StateRequest + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["state_id"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "state_id") + } + + state_id, err := runtime.Bytes(val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "state_id", err) + } + protoReq.StateId = (state_id) + + msg, err := server.GetStateRoot(ctx, &protoReq) + return msg, metadata, err + +} + +func request_BeaconChain_GetStateFork_0(ctx context.Context, marshaler runtime.Marshaler, client BeaconChainClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq StateRequest + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["state_id"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "state_id") + } + + state_id, err := runtime.Bytes(val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "state_id", err) + } + protoReq.StateId = (state_id) + + msg, err := client.GetStateFork(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_BeaconChain_GetStateFork_0(ctx context.Context, marshaler runtime.Marshaler, server BeaconChainServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq StateRequest + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["state_id"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "state_id") + } + + state_id, err := runtime.Bytes(val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "state_id", err) + } + protoReq.StateId = (state_id) + + msg, err := server.GetStateFork(ctx, &protoReq) + return msg, metadata, err + +} + +func request_BeaconChain_GetFinalityCheckpoints_0(ctx context.Context, marshaler runtime.Marshaler, client BeaconChainClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq StateRequest + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["state_id"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "state_id") + } + + state_id, err := runtime.Bytes(val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "state_id", err) + } + protoReq.StateId = (state_id) + + msg, err := client.GetFinalityCheckpoints(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_BeaconChain_GetFinalityCheckpoints_0(ctx context.Context, marshaler runtime.Marshaler, server BeaconChainServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq StateRequest + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["state_id"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "state_id") + } + + state_id, err := runtime.Bytes(val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "state_id", err) + } + protoReq.StateId = (state_id) + + msg, err := server.GetFinalityCheckpoints(ctx, &protoReq) + return msg, metadata, err + +} + +var ( + filter_BeaconChain_ListValidators_0 = &utilities.DoubleArray{Encoding: map[string]int{"state_id": 0}, Base: []int{1, 1, 0}, Check: []int{0, 1, 2}} +) + +func request_BeaconChain_ListValidators_0(ctx context.Context, marshaler runtime.Marshaler, client BeaconChainClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq StateValidatorsRequest + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["state_id"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "state_id") + } + + state_id, err := runtime.Bytes(val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "state_id", err) + } + protoReq.StateId = (state_id) + + if err := req.ParseForm(); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_BeaconChain_ListValidators_0); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := client.ListValidators(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_BeaconChain_ListValidators_0(ctx context.Context, marshaler runtime.Marshaler, server BeaconChainServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq StateValidatorsRequest + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["state_id"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "state_id") + } + + state_id, err := runtime.Bytes(val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "state_id", err) + } + protoReq.StateId = (state_id) + + if err := req.ParseForm(); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_BeaconChain_ListValidators_0); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := server.ListValidators(ctx, &protoReq) + return msg, metadata, err + +} + +func request_BeaconChain_GetValidator_0(ctx context.Context, marshaler runtime.Marshaler, client BeaconChainClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq StateValidatorRequest + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["state_id"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "state_id") + } + + state_id, err := runtime.Bytes(val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "state_id", err) + } + protoReq.StateId = (state_id) + + val, ok = pathParams["validator_id"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "validator_id") + } + + validator_id, err := runtime.Bytes(val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "validator_id", err) + } + protoReq.ValidatorId = (validator_id) + + msg, err := client.GetValidator(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_BeaconChain_GetValidator_0(ctx context.Context, marshaler runtime.Marshaler, server BeaconChainServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq StateValidatorRequest + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["state_id"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "state_id") + } + + state_id, err := runtime.Bytes(val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "state_id", err) + } + protoReq.StateId = (state_id) + + val, ok = pathParams["validator_id"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "validator_id") + } + + validator_id, err := runtime.Bytes(val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "validator_id", err) + } + protoReq.ValidatorId = (validator_id) + + msg, err := server.GetValidator(ctx, &protoReq) + return msg, metadata, err + +} + +var ( + filter_BeaconChain_ListValidatorBalances_0 = &utilities.DoubleArray{Encoding: map[string]int{"state_id": 0}, Base: []int{1, 1, 0}, Check: []int{0, 1, 2}} +) + +func request_BeaconChain_ListValidatorBalances_0(ctx context.Context, marshaler runtime.Marshaler, client BeaconChainClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq ValidatorBalancesRequest + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["state_id"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "state_id") + } + + state_id, err := runtime.Bytes(val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "state_id", err) + } + protoReq.StateId = (state_id) + + if err := req.ParseForm(); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_BeaconChain_ListValidatorBalances_0); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := client.ListValidatorBalances(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_BeaconChain_ListValidatorBalances_0(ctx context.Context, marshaler runtime.Marshaler, server BeaconChainServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq ValidatorBalancesRequest + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["state_id"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "state_id") + } + + state_id, err := runtime.Bytes(val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "state_id", err) + } + protoReq.StateId = (state_id) + + if err := req.ParseForm(); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_BeaconChain_ListValidatorBalances_0); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := server.ListValidatorBalances(ctx, &protoReq) + return msg, metadata, err + +} + +var ( + filter_BeaconChain_ListCommittees_0 = &utilities.DoubleArray{Encoding: map[string]int{"state_id": 0}, Base: []int{1, 1, 0}, Check: []int{0, 1, 2}} +) + +func request_BeaconChain_ListCommittees_0(ctx context.Context, marshaler runtime.Marshaler, client BeaconChainClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq StateCommitteesRequest + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["state_id"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "state_id") + } + + state_id, err := runtime.Bytes(val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "state_id", err) + } + protoReq.StateId = (state_id) + + if err := req.ParseForm(); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_BeaconChain_ListCommittees_0); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := client.ListCommittees(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_BeaconChain_ListCommittees_0(ctx context.Context, marshaler runtime.Marshaler, server BeaconChainServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq StateCommitteesRequest + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["state_id"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "state_id") + } + + state_id, err := runtime.Bytes(val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "state_id", err) + } + protoReq.StateId = (state_id) + + if err := req.ParseForm(); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_BeaconChain_ListCommittees_0); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := server.ListCommittees(ctx, &protoReq) + return msg, metadata, err + +} + +var ( + filter_BeaconChain_ListBlockHeaders_0 = &utilities.DoubleArray{Encoding: map[string]int{}, Base: []int(nil), Check: []int(nil)} +) + +func request_BeaconChain_ListBlockHeaders_0(ctx context.Context, marshaler runtime.Marshaler, client BeaconChainClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq BlockHeadersRequest + var metadata runtime.ServerMetadata + + if err := req.ParseForm(); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_BeaconChain_ListBlockHeaders_0); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := client.ListBlockHeaders(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_BeaconChain_ListBlockHeaders_0(ctx context.Context, marshaler runtime.Marshaler, server BeaconChainServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq BlockHeadersRequest + var metadata runtime.ServerMetadata + + if err := req.ParseForm(); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_BeaconChain_ListBlockHeaders_0); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := server.ListBlockHeaders(ctx, &protoReq) + return msg, metadata, err + +} + +func request_BeaconChain_GetBlockHeader_0(ctx context.Context, marshaler runtime.Marshaler, client BeaconChainClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq BlockRequest + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["block_id"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "block_id") + } + + block_id, err := runtime.Bytes(val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "block_id", err) + } + protoReq.BlockId = (block_id) + + msg, err := client.GetBlockHeader(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_BeaconChain_GetBlockHeader_0(ctx context.Context, marshaler runtime.Marshaler, server BeaconChainServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq BlockRequest + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["block_id"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "block_id") + } + + block_id, err := runtime.Bytes(val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "block_id", err) + } + protoReq.BlockId = (block_id) + + msg, err := server.GetBlockHeader(ctx, &protoReq) + return msg, metadata, err + +} + +func request_BeaconChain_SubmitBlock_0(ctx context.Context, marshaler runtime.Marshaler, client BeaconChainClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq BeaconBlockContainer + var metadata runtime.ServerMetadata + + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := client.SubmitBlock(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_BeaconChain_SubmitBlock_0(ctx context.Context, marshaler runtime.Marshaler, server BeaconChainServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq BeaconBlockContainer + var metadata runtime.ServerMetadata + + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := server.SubmitBlock(ctx, &protoReq) + return msg, metadata, err + +} + +func request_BeaconChain_GetBlock_0(ctx context.Context, marshaler runtime.Marshaler, client BeaconChainClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq BlockRequest + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["block_id"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "block_id") + } + + block_id, err := runtime.Bytes(val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "block_id", err) + } + protoReq.BlockId = (block_id) + + msg, err := client.GetBlock(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_BeaconChain_GetBlock_0(ctx context.Context, marshaler runtime.Marshaler, server BeaconChainServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq BlockRequest + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["block_id"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "block_id") + } + + block_id, err := runtime.Bytes(val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "block_id", err) + } + protoReq.BlockId = (block_id) + + msg, err := server.GetBlock(ctx, &protoReq) + return msg, metadata, err + +} + +func request_BeaconChain_GetBlockRoot_0(ctx context.Context, marshaler runtime.Marshaler, client BeaconChainClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq BlockRequest + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["block_id"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "block_id") + } + + block_id, err := runtime.Bytes(val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "block_id", err) + } + protoReq.BlockId = (block_id) + + msg, err := client.GetBlockRoot(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_BeaconChain_GetBlockRoot_0(ctx context.Context, marshaler runtime.Marshaler, server BeaconChainServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq BlockRequest + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["block_id"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "block_id") + } + + block_id, err := runtime.Bytes(val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "block_id", err) + } + protoReq.BlockId = (block_id) + + msg, err := server.GetBlockRoot(ctx, &protoReq) + return msg, metadata, err + +} + +func request_BeaconChain_ListBlockAttestations_0(ctx context.Context, marshaler runtime.Marshaler, client BeaconChainClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq BlockRequest + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["block_id"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "block_id") + } + + block_id, err := runtime.Bytes(val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "block_id", err) + } + protoReq.BlockId = (block_id) + + msg, err := client.ListBlockAttestations(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_BeaconChain_ListBlockAttestations_0(ctx context.Context, marshaler runtime.Marshaler, server BeaconChainServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq BlockRequest + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["block_id"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "block_id") + } + + block_id, err := runtime.Bytes(val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "block_id", err) + } + protoReq.BlockId = (block_id) + + msg, err := server.ListBlockAttestations(ctx, &protoReq) + return msg, metadata, err + +} + +var ( + filter_BeaconChain_ListPoolAttestations_0 = &utilities.DoubleArray{Encoding: map[string]int{}, Base: []int(nil), Check: []int(nil)} +) + +func request_BeaconChain_ListPoolAttestations_0(ctx context.Context, marshaler runtime.Marshaler, client BeaconChainClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq AttestationsPoolRequest + var metadata runtime.ServerMetadata + + if err := req.ParseForm(); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_BeaconChain_ListPoolAttestations_0); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := client.ListPoolAttestations(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_BeaconChain_ListPoolAttestations_0(ctx context.Context, marshaler runtime.Marshaler, server BeaconChainServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq AttestationsPoolRequest + var metadata runtime.ServerMetadata + + if err := req.ParseForm(); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_BeaconChain_ListPoolAttestations_0); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := server.ListPoolAttestations(ctx, &protoReq) + return msg, metadata, err + +} + +func request_BeaconChain_SubmitAttestations_0(ctx context.Context, marshaler runtime.Marshaler, client BeaconChainClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq SubmitAttestationsRequest + var metadata runtime.ServerMetadata + + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := client.SubmitAttestations(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_BeaconChain_SubmitAttestations_0(ctx context.Context, marshaler runtime.Marshaler, server BeaconChainServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq SubmitAttestationsRequest + var metadata runtime.ServerMetadata + + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := server.SubmitAttestations(ctx, &protoReq) + return msg, metadata, err + +} + +func request_BeaconChain_ListPoolAttesterSlashings_0(ctx context.Context, marshaler runtime.Marshaler, client BeaconChainClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq emptypb.Empty + var metadata runtime.ServerMetadata + + msg, err := client.ListPoolAttesterSlashings(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_BeaconChain_ListPoolAttesterSlashings_0(ctx context.Context, marshaler runtime.Marshaler, server BeaconChainServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq emptypb.Empty + var metadata runtime.ServerMetadata + + msg, err := server.ListPoolAttesterSlashings(ctx, &protoReq) + return msg, metadata, err + +} + +func request_BeaconChain_SubmitAttesterSlashing_0(ctx context.Context, marshaler runtime.Marshaler, client BeaconChainClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq AttesterSlashing + var metadata runtime.ServerMetadata + + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := client.SubmitAttesterSlashing(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_BeaconChain_SubmitAttesterSlashing_0(ctx context.Context, marshaler runtime.Marshaler, server BeaconChainServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq AttesterSlashing + var metadata runtime.ServerMetadata + + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := server.SubmitAttesterSlashing(ctx, &protoReq) + return msg, metadata, err + +} + +func request_BeaconChain_ListPoolProposerSlashings_0(ctx context.Context, marshaler runtime.Marshaler, client BeaconChainClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq emptypb.Empty + var metadata runtime.ServerMetadata + + msg, err := client.ListPoolProposerSlashings(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_BeaconChain_ListPoolProposerSlashings_0(ctx context.Context, marshaler runtime.Marshaler, server BeaconChainServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq emptypb.Empty + var metadata runtime.ServerMetadata + + msg, err := server.ListPoolProposerSlashings(ctx, &protoReq) + return msg, metadata, err + +} + +func request_BeaconChain_SubmitProposerSlashing_0(ctx context.Context, marshaler runtime.Marshaler, client BeaconChainClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq ProposerSlashing + var metadata runtime.ServerMetadata + + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := client.SubmitProposerSlashing(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_BeaconChain_SubmitProposerSlashing_0(ctx context.Context, marshaler runtime.Marshaler, server BeaconChainServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq ProposerSlashing + var metadata runtime.ServerMetadata + + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := server.SubmitProposerSlashing(ctx, &protoReq) + return msg, metadata, err + +} + +func request_BeaconChain_ListPoolVoluntaryExits_0(ctx context.Context, marshaler runtime.Marshaler, client BeaconChainClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq emptypb.Empty + var metadata runtime.ServerMetadata + + msg, err := client.ListPoolVoluntaryExits(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_BeaconChain_ListPoolVoluntaryExits_0(ctx context.Context, marshaler runtime.Marshaler, server BeaconChainServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq emptypb.Empty + var metadata runtime.ServerMetadata + + msg, err := server.ListPoolVoluntaryExits(ctx, &protoReq) + return msg, metadata, err + +} + +func request_BeaconChain_SubmitVoluntaryExit_0(ctx context.Context, marshaler runtime.Marshaler, client BeaconChainClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq SignedVoluntaryExit + var metadata runtime.ServerMetadata + + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := client.SubmitVoluntaryExit(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_BeaconChain_SubmitVoluntaryExit_0(ctx context.Context, marshaler runtime.Marshaler, server BeaconChainServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq SignedVoluntaryExit + var metadata runtime.ServerMetadata + + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := server.SubmitVoluntaryExit(ctx, &protoReq) + return msg, metadata, err + +} + +func request_BeaconChain_GetForkSchedule_0(ctx context.Context, marshaler runtime.Marshaler, client BeaconChainClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq emptypb.Empty + var metadata runtime.ServerMetadata + + msg, err := client.GetForkSchedule(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_BeaconChain_GetForkSchedule_0(ctx context.Context, marshaler runtime.Marshaler, server BeaconChainServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq emptypb.Empty + var metadata runtime.ServerMetadata + + msg, err := server.GetForkSchedule(ctx, &protoReq) + return msg, metadata, err + +} + +func request_BeaconChain_GetSpec_0(ctx context.Context, marshaler runtime.Marshaler, client BeaconChainClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq emptypb.Empty + var metadata runtime.ServerMetadata + + msg, err := client.GetSpec(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_BeaconChain_GetSpec_0(ctx context.Context, marshaler runtime.Marshaler, server BeaconChainServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq emptypb.Empty + var metadata runtime.ServerMetadata + + msg, err := server.GetSpec(ctx, &protoReq) + return msg, metadata, err + +} + +func request_BeaconChain_GetDepositContract_0(ctx context.Context, marshaler runtime.Marshaler, client BeaconChainClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq emptypb.Empty + var metadata runtime.ServerMetadata + + msg, err := client.GetDepositContract(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_BeaconChain_GetDepositContract_0(ctx context.Context, marshaler runtime.Marshaler, server BeaconChainServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq emptypb.Empty + var metadata runtime.ServerMetadata + + msg, err := server.GetDepositContract(ctx, &protoReq) + return msg, metadata, err + +} + +// RegisterBeaconChainHandlerServer registers the http handlers for service BeaconChain to "mux". +// UnaryRPC :call BeaconChainServer directly. +// StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. +// Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterBeaconChainHandlerFromEndpoint instead. +func RegisterBeaconChainHandlerServer(ctx context.Context, mux *runtime.ServeMux, server BeaconChainServer) error { + + mux.Handle("GET", pattern_BeaconChain_GetGenesis_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/ethereum.eth.v1.BeaconChain/GetGenesis") + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_BeaconChain_GetGenesis_0(rctx, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_BeaconChain_GetGenesis_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_BeaconChain_GetStateRoot_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/ethereum.eth.v1.BeaconChain/GetStateRoot") + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_BeaconChain_GetStateRoot_0(rctx, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_BeaconChain_GetStateRoot_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_BeaconChain_GetStateFork_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/ethereum.eth.v1.BeaconChain/GetStateFork") + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_BeaconChain_GetStateFork_0(rctx, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_BeaconChain_GetStateFork_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_BeaconChain_GetFinalityCheckpoints_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/ethereum.eth.v1.BeaconChain/GetFinalityCheckpoints") + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_BeaconChain_GetFinalityCheckpoints_0(rctx, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_BeaconChain_GetFinalityCheckpoints_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_BeaconChain_ListValidators_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/ethereum.eth.v1.BeaconChain/ListValidators") + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_BeaconChain_ListValidators_0(rctx, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_BeaconChain_ListValidators_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_BeaconChain_GetValidator_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/ethereum.eth.v1.BeaconChain/GetValidator") + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_BeaconChain_GetValidator_0(rctx, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_BeaconChain_GetValidator_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_BeaconChain_ListValidatorBalances_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/ethereum.eth.v1.BeaconChain/ListValidatorBalances") + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_BeaconChain_ListValidatorBalances_0(rctx, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_BeaconChain_ListValidatorBalances_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_BeaconChain_ListCommittees_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/ethereum.eth.v1.BeaconChain/ListCommittees") + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_BeaconChain_ListCommittees_0(rctx, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_BeaconChain_ListCommittees_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_BeaconChain_ListBlockHeaders_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/ethereum.eth.v1.BeaconChain/ListBlockHeaders") + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_BeaconChain_ListBlockHeaders_0(rctx, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_BeaconChain_ListBlockHeaders_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_BeaconChain_GetBlockHeader_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/ethereum.eth.v1.BeaconChain/GetBlockHeader") + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_BeaconChain_GetBlockHeader_0(rctx, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_BeaconChain_GetBlockHeader_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("POST", pattern_BeaconChain_SubmitBlock_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/ethereum.eth.v1.BeaconChain/SubmitBlock") + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_BeaconChain_SubmitBlock_0(rctx, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_BeaconChain_SubmitBlock_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_BeaconChain_GetBlock_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/ethereum.eth.v1.BeaconChain/GetBlock") + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_BeaconChain_GetBlock_0(rctx, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_BeaconChain_GetBlock_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_BeaconChain_GetBlockRoot_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/ethereum.eth.v1.BeaconChain/GetBlockRoot") + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_BeaconChain_GetBlockRoot_0(rctx, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_BeaconChain_GetBlockRoot_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_BeaconChain_ListBlockAttestations_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/ethereum.eth.v1.BeaconChain/ListBlockAttestations") + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_BeaconChain_ListBlockAttestations_0(rctx, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_BeaconChain_ListBlockAttestations_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_BeaconChain_ListPoolAttestations_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/ethereum.eth.v1.BeaconChain/ListPoolAttestations") + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_BeaconChain_ListPoolAttestations_0(rctx, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_BeaconChain_ListPoolAttestations_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("POST", pattern_BeaconChain_SubmitAttestations_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/ethereum.eth.v1.BeaconChain/SubmitAttestations") + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_BeaconChain_SubmitAttestations_0(rctx, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_BeaconChain_SubmitAttestations_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_BeaconChain_ListPoolAttesterSlashings_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/ethereum.eth.v1.BeaconChain/ListPoolAttesterSlashings") + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_BeaconChain_ListPoolAttesterSlashings_0(rctx, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_BeaconChain_ListPoolAttesterSlashings_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("POST", pattern_BeaconChain_SubmitAttesterSlashing_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/ethereum.eth.v1.BeaconChain/SubmitAttesterSlashing") + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_BeaconChain_SubmitAttesterSlashing_0(rctx, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_BeaconChain_SubmitAttesterSlashing_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_BeaconChain_ListPoolProposerSlashings_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/ethereum.eth.v1.BeaconChain/ListPoolProposerSlashings") + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_BeaconChain_ListPoolProposerSlashings_0(rctx, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_BeaconChain_ListPoolProposerSlashings_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("POST", pattern_BeaconChain_SubmitProposerSlashing_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/ethereum.eth.v1.BeaconChain/SubmitProposerSlashing") + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_BeaconChain_SubmitProposerSlashing_0(rctx, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_BeaconChain_SubmitProposerSlashing_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_BeaconChain_ListPoolVoluntaryExits_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/ethereum.eth.v1.BeaconChain/ListPoolVoluntaryExits") + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_BeaconChain_ListPoolVoluntaryExits_0(rctx, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_BeaconChain_ListPoolVoluntaryExits_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("POST", pattern_BeaconChain_SubmitVoluntaryExit_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/ethereum.eth.v1.BeaconChain/SubmitVoluntaryExit") + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_BeaconChain_SubmitVoluntaryExit_0(rctx, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_BeaconChain_SubmitVoluntaryExit_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_BeaconChain_GetForkSchedule_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/ethereum.eth.v1.BeaconChain/GetForkSchedule") + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_BeaconChain_GetForkSchedule_0(rctx, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_BeaconChain_GetForkSchedule_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_BeaconChain_GetSpec_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/ethereum.eth.v1.BeaconChain/GetSpec") + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_BeaconChain_GetSpec_0(rctx, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_BeaconChain_GetSpec_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_BeaconChain_GetDepositContract_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/ethereum.eth.v1.BeaconChain/GetDepositContract") + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_BeaconChain_GetDepositContract_0(rctx, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_BeaconChain_GetDepositContract_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + return nil +} + +// RegisterBeaconChainHandlerFromEndpoint is same as RegisterBeaconChainHandler but +// automatically dials to "endpoint" and closes the connection when "ctx" gets done. +func RegisterBeaconChainHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error) { + conn, err := grpc.Dial(endpoint, opts...) + if err != nil { + return err + } + defer func() { + if err != nil { + if cerr := conn.Close(); cerr != nil { + grpclog.Infof("Failed to close conn to %s: %v", endpoint, cerr) + } + return + } + go func() { + <-ctx.Done() + if cerr := conn.Close(); cerr != nil { + grpclog.Infof("Failed to close conn to %s: %v", endpoint, cerr) + } + }() + }() + + return RegisterBeaconChainHandler(ctx, mux, conn) +} + +// RegisterBeaconChainHandler registers the http handlers for service BeaconChain to "mux". +// The handlers forward requests to the grpc endpoint over "conn". +func RegisterBeaconChainHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error { + return RegisterBeaconChainHandlerClient(ctx, mux, NewBeaconChainClient(conn)) +} + +// RegisterBeaconChainHandlerClient registers the http handlers for service BeaconChain +// to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "BeaconChainClient". +// Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "BeaconChainClient" +// doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in +// "BeaconChainClient" to call the correct interceptors. +func RegisterBeaconChainHandlerClient(ctx context.Context, mux *runtime.ServeMux, client BeaconChainClient) error { + + mux.Handle("GET", pattern_BeaconChain_GetGenesis_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateContext(ctx, mux, req, "/ethereum.eth.v1.BeaconChain/GetGenesis") + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_BeaconChain_GetGenesis_0(rctx, inboundMarshaler, client, req, pathParams) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_BeaconChain_GetGenesis_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_BeaconChain_GetStateRoot_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateContext(ctx, mux, req, "/ethereum.eth.v1.BeaconChain/GetStateRoot") + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_BeaconChain_GetStateRoot_0(rctx, inboundMarshaler, client, req, pathParams) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_BeaconChain_GetStateRoot_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_BeaconChain_GetStateFork_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateContext(ctx, mux, req, "/ethereum.eth.v1.BeaconChain/GetStateFork") + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_BeaconChain_GetStateFork_0(rctx, inboundMarshaler, client, req, pathParams) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_BeaconChain_GetStateFork_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_BeaconChain_GetFinalityCheckpoints_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateContext(ctx, mux, req, "/ethereum.eth.v1.BeaconChain/GetFinalityCheckpoints") + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_BeaconChain_GetFinalityCheckpoints_0(rctx, inboundMarshaler, client, req, pathParams) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_BeaconChain_GetFinalityCheckpoints_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_BeaconChain_ListValidators_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateContext(ctx, mux, req, "/ethereum.eth.v1.BeaconChain/ListValidators") + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_BeaconChain_ListValidators_0(rctx, inboundMarshaler, client, req, pathParams) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_BeaconChain_ListValidators_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_BeaconChain_GetValidator_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateContext(ctx, mux, req, "/ethereum.eth.v1.BeaconChain/GetValidator") + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_BeaconChain_GetValidator_0(rctx, inboundMarshaler, client, req, pathParams) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_BeaconChain_GetValidator_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_BeaconChain_ListValidatorBalances_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateContext(ctx, mux, req, "/ethereum.eth.v1.BeaconChain/ListValidatorBalances") + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_BeaconChain_ListValidatorBalances_0(rctx, inboundMarshaler, client, req, pathParams) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_BeaconChain_ListValidatorBalances_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_BeaconChain_ListCommittees_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateContext(ctx, mux, req, "/ethereum.eth.v1.BeaconChain/ListCommittees") + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_BeaconChain_ListCommittees_0(rctx, inboundMarshaler, client, req, pathParams) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_BeaconChain_ListCommittees_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_BeaconChain_ListBlockHeaders_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateContext(ctx, mux, req, "/ethereum.eth.v1.BeaconChain/ListBlockHeaders") + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_BeaconChain_ListBlockHeaders_0(rctx, inboundMarshaler, client, req, pathParams) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_BeaconChain_ListBlockHeaders_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_BeaconChain_GetBlockHeader_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateContext(ctx, mux, req, "/ethereum.eth.v1.BeaconChain/GetBlockHeader") + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_BeaconChain_GetBlockHeader_0(rctx, inboundMarshaler, client, req, pathParams) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_BeaconChain_GetBlockHeader_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("POST", pattern_BeaconChain_SubmitBlock_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateContext(ctx, mux, req, "/ethereum.eth.v1.BeaconChain/SubmitBlock") + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_BeaconChain_SubmitBlock_0(rctx, inboundMarshaler, client, req, pathParams) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_BeaconChain_SubmitBlock_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_BeaconChain_GetBlock_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateContext(ctx, mux, req, "/ethereum.eth.v1.BeaconChain/GetBlock") + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_BeaconChain_GetBlock_0(rctx, inboundMarshaler, client, req, pathParams) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_BeaconChain_GetBlock_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_BeaconChain_GetBlockRoot_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateContext(ctx, mux, req, "/ethereum.eth.v1.BeaconChain/GetBlockRoot") + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_BeaconChain_GetBlockRoot_0(rctx, inboundMarshaler, client, req, pathParams) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_BeaconChain_GetBlockRoot_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_BeaconChain_ListBlockAttestations_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateContext(ctx, mux, req, "/ethereum.eth.v1.BeaconChain/ListBlockAttestations") + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_BeaconChain_ListBlockAttestations_0(rctx, inboundMarshaler, client, req, pathParams) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_BeaconChain_ListBlockAttestations_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_BeaconChain_ListPoolAttestations_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateContext(ctx, mux, req, "/ethereum.eth.v1.BeaconChain/ListPoolAttestations") + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_BeaconChain_ListPoolAttestations_0(rctx, inboundMarshaler, client, req, pathParams) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_BeaconChain_ListPoolAttestations_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("POST", pattern_BeaconChain_SubmitAttestations_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateContext(ctx, mux, req, "/ethereum.eth.v1.BeaconChain/SubmitAttestations") + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_BeaconChain_SubmitAttestations_0(rctx, inboundMarshaler, client, req, pathParams) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_BeaconChain_SubmitAttestations_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_BeaconChain_ListPoolAttesterSlashings_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateContext(ctx, mux, req, "/ethereum.eth.v1.BeaconChain/ListPoolAttesterSlashings") + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_BeaconChain_ListPoolAttesterSlashings_0(rctx, inboundMarshaler, client, req, pathParams) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_BeaconChain_ListPoolAttesterSlashings_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("POST", pattern_BeaconChain_SubmitAttesterSlashing_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateContext(ctx, mux, req, "/ethereum.eth.v1.BeaconChain/SubmitAttesterSlashing") + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_BeaconChain_SubmitAttesterSlashing_0(rctx, inboundMarshaler, client, req, pathParams) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_BeaconChain_SubmitAttesterSlashing_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_BeaconChain_ListPoolProposerSlashings_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateContext(ctx, mux, req, "/ethereum.eth.v1.BeaconChain/ListPoolProposerSlashings") + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_BeaconChain_ListPoolProposerSlashings_0(rctx, inboundMarshaler, client, req, pathParams) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_BeaconChain_ListPoolProposerSlashings_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("POST", pattern_BeaconChain_SubmitProposerSlashing_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateContext(ctx, mux, req, "/ethereum.eth.v1.BeaconChain/SubmitProposerSlashing") + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_BeaconChain_SubmitProposerSlashing_0(rctx, inboundMarshaler, client, req, pathParams) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_BeaconChain_SubmitProposerSlashing_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_BeaconChain_ListPoolVoluntaryExits_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateContext(ctx, mux, req, "/ethereum.eth.v1.BeaconChain/ListPoolVoluntaryExits") + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_BeaconChain_ListPoolVoluntaryExits_0(rctx, inboundMarshaler, client, req, pathParams) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_BeaconChain_ListPoolVoluntaryExits_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("POST", pattern_BeaconChain_SubmitVoluntaryExit_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateContext(ctx, mux, req, "/ethereum.eth.v1.BeaconChain/SubmitVoluntaryExit") + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_BeaconChain_SubmitVoluntaryExit_0(rctx, inboundMarshaler, client, req, pathParams) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_BeaconChain_SubmitVoluntaryExit_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_BeaconChain_GetForkSchedule_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateContext(ctx, mux, req, "/ethereum.eth.v1.BeaconChain/GetForkSchedule") + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_BeaconChain_GetForkSchedule_0(rctx, inboundMarshaler, client, req, pathParams) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_BeaconChain_GetForkSchedule_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_BeaconChain_GetSpec_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateContext(ctx, mux, req, "/ethereum.eth.v1.BeaconChain/GetSpec") + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_BeaconChain_GetSpec_0(rctx, inboundMarshaler, client, req, pathParams) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_BeaconChain_GetSpec_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_BeaconChain_GetDepositContract_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateContext(ctx, mux, req, "/ethereum.eth.v1.BeaconChain/GetDepositContract") + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_BeaconChain_GetDepositContract_0(rctx, inboundMarshaler, client, req, pathParams) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_BeaconChain_GetDepositContract_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + return nil +} + +var ( + pattern_BeaconChain_GetGenesis_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"eth", "v1", "beacon", "genesis"}, "")) + + pattern_BeaconChain_GetStateRoot_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 1, 0, 4, 1, 5, 4, 2, 5}, []string{"eth", "v1", "beacon", "states", "state_id", "root"}, "")) + + pattern_BeaconChain_GetStateFork_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 1, 0, 4, 1, 5, 4, 2, 5}, []string{"eth", "v1", "beacon", "states", "state_id", "fork"}, "")) + + pattern_BeaconChain_GetFinalityCheckpoints_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 1, 0, 4, 1, 5, 4, 2, 5}, []string{"eth", "v1", "beacon", "states", "state_id", "finality_checkpoints"}, "")) + + pattern_BeaconChain_ListValidators_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 1, 0, 4, 1, 5, 4, 2, 5}, []string{"eth", "v1", "beacon", "states", "state_id", "validators"}, "")) + + pattern_BeaconChain_GetValidator_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 1, 0, 4, 1, 5, 4, 2, 5, 1, 0, 4, 1, 5, 6}, []string{"eth", "v1", "beacon", "states", "state_id", "validators", "validator_id"}, "")) + + pattern_BeaconChain_ListValidatorBalances_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 1, 0, 4, 1, 5, 4, 2, 5}, []string{"eth", "v1", "beacon", "states", "state_id", "validator_balances"}, "")) + + pattern_BeaconChain_ListCommittees_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 1, 0, 4, 1, 5, 4, 2, 5}, []string{"eth", "v1", "beacon", "states", "state_id", "committees"}, "")) + + pattern_BeaconChain_ListBlockHeaders_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"eth", "v1", "beacon", "headers"}, "")) + + pattern_BeaconChain_GetBlockHeader_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 1, 0, 4, 1, 5, 4}, []string{"eth", "v1", "beacon", "headers", "block_id"}, "")) + + pattern_BeaconChain_SubmitBlock_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"eth", "v1", "beacon", "blocks"}, "")) + + pattern_BeaconChain_GetBlock_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 1, 0, 4, 1, 5, 4}, []string{"eth", "v1", "beacon", "blocks", "block_id"}, "")) + + pattern_BeaconChain_GetBlockRoot_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 1, 0, 4, 1, 5, 4, 2, 5}, []string{"eth", "v1", "beacon", "blocks", "block_id", "root"}, "")) + + pattern_BeaconChain_ListBlockAttestations_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 1, 0, 4, 1, 5, 4, 2, 5}, []string{"eth", "v1", "beacon", "blocks", "block_id", "attestations"}, "")) + + pattern_BeaconChain_ListPoolAttestations_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 2, 4}, []string{"eth", "v1", "beacon", "pool", "attestations"}, "")) + + pattern_BeaconChain_SubmitAttestations_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 2, 4}, []string{"eth", "v1", "beacon", "pool", "attestations"}, "")) + + pattern_BeaconChain_ListPoolAttesterSlashings_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 2, 4}, []string{"eth", "v1", "beacon", "pool", "attester_slashings"}, "")) + + pattern_BeaconChain_SubmitAttesterSlashing_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 2, 4}, []string{"eth", "v1", "beacon", "pool", "attester_slashings"}, "")) + + pattern_BeaconChain_ListPoolProposerSlashings_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 2, 4}, []string{"eth", "v1", "beacon", "pool", "proposer_slashings"}, "")) + + pattern_BeaconChain_SubmitProposerSlashing_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 2, 4}, []string{"eth", "v1", "beacon", "pool", "proposer_slashings"}, "")) + + pattern_BeaconChain_ListPoolVoluntaryExits_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 2, 4}, []string{"eth", "v1", "beacon", "pool", "voluntary_exits"}, "")) + + pattern_BeaconChain_SubmitVoluntaryExit_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 2, 4}, []string{"eth", "v1", "beacon", "pool", "voluntary_exits"}, "")) + + pattern_BeaconChain_GetForkSchedule_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"eth", "v1", "config", "fork_schedule"}, "")) + + pattern_BeaconChain_GetSpec_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"eth", "v1", "config", "spec"}, "")) + + pattern_BeaconChain_GetDepositContract_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"eth", "v1", "config", "deposit_contract"}, "")) +) + +var ( + forward_BeaconChain_GetGenesis_0 = runtime.ForwardResponseMessage + + forward_BeaconChain_GetStateRoot_0 = runtime.ForwardResponseMessage + + forward_BeaconChain_GetStateFork_0 = runtime.ForwardResponseMessage + + forward_BeaconChain_GetFinalityCheckpoints_0 = runtime.ForwardResponseMessage + + forward_BeaconChain_ListValidators_0 = runtime.ForwardResponseMessage + + forward_BeaconChain_GetValidator_0 = runtime.ForwardResponseMessage + + forward_BeaconChain_ListValidatorBalances_0 = runtime.ForwardResponseMessage + + forward_BeaconChain_ListCommittees_0 = runtime.ForwardResponseMessage + + forward_BeaconChain_ListBlockHeaders_0 = runtime.ForwardResponseMessage + + forward_BeaconChain_GetBlockHeader_0 = runtime.ForwardResponseMessage + + forward_BeaconChain_SubmitBlock_0 = runtime.ForwardResponseMessage + + forward_BeaconChain_GetBlock_0 = runtime.ForwardResponseMessage + + forward_BeaconChain_GetBlockRoot_0 = runtime.ForwardResponseMessage + + forward_BeaconChain_ListBlockAttestations_0 = runtime.ForwardResponseMessage + + forward_BeaconChain_ListPoolAttestations_0 = runtime.ForwardResponseMessage + + forward_BeaconChain_SubmitAttestations_0 = runtime.ForwardResponseMessage + + forward_BeaconChain_ListPoolAttesterSlashings_0 = runtime.ForwardResponseMessage + + forward_BeaconChain_SubmitAttesterSlashing_0 = runtime.ForwardResponseMessage + + forward_BeaconChain_ListPoolProposerSlashings_0 = runtime.ForwardResponseMessage + + forward_BeaconChain_SubmitProposerSlashing_0 = runtime.ForwardResponseMessage + + forward_BeaconChain_ListPoolVoluntaryExits_0 = runtime.ForwardResponseMessage + + forward_BeaconChain_SubmitVoluntaryExit_0 = runtime.ForwardResponseMessage + + forward_BeaconChain_GetForkSchedule_0 = runtime.ForwardResponseMessage + + forward_BeaconChain_GetSpec_0 = runtime.ForwardResponseMessage + + forward_BeaconChain_GetDepositContract_0 = runtime.ForwardResponseMessage +) diff --git a/eth/v1/beacon_chain_service.proto b/eth/v1/beacon_chain_service.proto index 77bc1e76..45049c6f 100644 --- a/eth/v1/beacon_chain_service.proto +++ b/eth/v1/beacon_chain_service.proto @@ -15,11 +15,12 @@ syntax = "proto3"; package ethereum.eth.v1; -import "github.com/gogo/protobuf/gogoproto/gogo.proto"; import "google/api/annotations.proto"; +import "google/protobuf/descriptor.proto"; import "google/protobuf/empty.proto"; import "google/protobuf/timestamp.proto"; +import "eth/ext/options.proto"; import "eth/v1/attestation.proto"; import "eth/v1/beacon_block.proto"; import "eth/v1/beacon_state.proto"; @@ -48,50 +49,68 @@ service BeaconChain { // GetStateRoot calculates HashTreeRoot for state with given 'stateId'. If stateId is root, same value will be returned. rpc GetStateRoot(StateRequest) returns (StateRootResponse) { - option (google.api.http) = { get: "/eth/v1/beacon/states/{state_id}/root" }; + option (google.api.http) = { + get: "/eth/v1/beacon/states/{state_id}/root" + }; } // GetStateFork returns Fork object for state with given 'stateId'. rpc GetStateFork(StateRequest) returns (StateForkResponse) { - option (google.api.http) = { get: "/eth/v1/beacon/states/{state_id}/fork" }; + option (google.api.http) = { + get: "/eth/v1/beacon/states/{state_id}/fork" + }; } // GetFinalityCheckpoints returns finality checkpoints for state with given 'stateId'. In case finality is // not yet achieved, checkpoint should return epoch 0 and ZERO_HASH as root. rpc GetFinalityCheckpoints(StateRequest) returns (StateFinalityCheckpointResponse) { - option (google.api.http) = { get: "/eth/v1/beacon/states/{state_id}/finality_checkpoints" }; - } - - // GetValidator returns a validator specified by state and id or public key along with status and balance. - rpc GetValidator(StateValidatorRequest) returns (StateValidatorResponse) { - option (google.api.http) = { get: "/eth/v1/beacon/states/{state_id}/validators/{validator_id}" }; + option (google.api.http) = { + get: "/eth/v1/beacon/states/{state_id}/finality_checkpoints" + }; } // ListValidators returns a filterable list of validators with their balance, status and index. rpc ListValidators(StateValidatorsRequest) returns (StateValidatorsResponse) { - option (google.api.http) = { get: "/eth/v1/beacon/states/{state_id}/validators" }; + option (google.api.http) = { + get: "/eth/v1/beacon/states/{state_id}/validators" + }; + } + + // GetValidator returns a validator specified by state and id or public key along with status and balance. + rpc GetValidator(StateValidatorRequest) returns (StateValidatorResponse) { + option (google.api.http) = { + get: "/eth/v1/beacon/states/{state_id}/validators/{validator_id}" + }; } // ListValidators returns a filterable list of validator balances. rpc ListValidatorBalances(ValidatorBalancesRequest) returns (ValidatorBalancesResponse) { - option (google.api.http) = { get: "/eth/v1/beacon/states/{state_id}/validator_balances" }; + option (google.api.http) = { + get: "/eth/v1/beacon/states/{state_id}/validator_balances" + }; } // ListCommittees retrieves the committees for the given state at the given epoch. rpc ListCommittees(StateCommitteesRequest) returns (StateCommitteesResponse) { - option (google.api.http) = { get: "/eth/v1/beacon/states/{state_id}/committees/{epoch}" }; + option (google.api.http) = { + get: "/eth/v1/beacon/states/{state_id}/committees" + }; } // Beacon blocks API related endpoints. - // GetBlockHeader retrieves block header for given block id. - rpc GetBlockHeader(BlockRequest) returns (BlockHeaderResponse) { - option (google.api.http) = { get: "/eth/v1/beacon/headers/{block_id}" }; - } - // ListBlockHeaders retrieves block headers matching given query. By default it will fetch current head slot blocks. rpc ListBlockHeaders(BlockHeadersRequest) returns (BlockHeadersResponse) { - option (google.api.http) = { get: "/eth/v1/beacon/headers" }; + option (google.api.http) = { + get: "/eth/v1/beacon/headers" + }; + } + + // GetBlockHeader retrieves block header for given block id. + rpc GetBlockHeader(BlockRequest) returns (BlockHeaderResponse) { + option (google.api.http) = { + get: "/eth/v1/beacon/headers/{block_id}" + }; } // SubmitBlock instructs the beacon node to broadcast a newly signed beacon block to the beacon network, to be @@ -100,22 +119,31 @@ service BeaconChain { // new block into its state, and therefore validate the block internally, however blocks which fail the validation are // still broadcast but a different status code is returned (202). rpc SubmitBlock(BeaconBlockContainer) returns (google.protobuf.Empty) { - option (google.api.http) = { post: "/eth/v1/beacon/blocks" }; + option (google.api.http) = { + post: "/eth/v1/beacon/blocks" + body: "*" + }; } // GetBlock retrieves block details for given block id. rpc GetBlock(BlockRequest) returns (BlockResponse) { - option (google.api.http) = { get: "/eth/v1/beacon/blocks/{block_id}" }; + option (google.api.http) = { + get: "/eth/v1/beacon/blocks/{block_id}" + }; } // GetBlockRoot retrieves hashTreeRoot of BeaconBlock/BeaconBlockHeader. rpc GetBlockRoot(BlockRequest) returns (BlockRootResponse) { - option (google.api.http) = { get: "/eth/v1/beacon/blocks/{block_id}/root" }; + option (google.api.http) = { + get: "/eth/v1/beacon/blocks/{block_id}/root" + }; } // ListBlockAttestations retrieves attestation included in requested block. rpc ListBlockAttestations(BlockRequest) returns (BlockAttestationsResponse) { - option (google.api.http) = { get: "/eth/v1/beacon/blocks/{block_id}/attestations" }; + option (google.api.http) = { + get: "/eth/v1/beacon/blocks/{block_id}/attestations" + }; } // Beacon pools API related endpoints. @@ -123,49 +151,69 @@ service BeaconChain { // ListPoolAttestations retrieves attestations known by the node but // not necessarily incorporated into any block. rpc ListPoolAttestations(AttestationsPoolRequest) returns (AttestationsPoolResponse) { - option (google.api.http) = {get: "/eth/v1/beacon/pool/attestations"}; + option (google.api.http) = { + get: "/eth/v1/beacon/pool/attestations" + }; } // SubmitAttestations submits Attestation objects to node. If attestation passes all validation // constraints, node MUST publish attestation on appropriate subnet. rpc SubmitAttestations(SubmitAttestationsRequest) returns (google.protobuf.Empty) { - option (google.api.http) = {post: "/eth/v1/beacon/pool/attestations"}; + option (google.api.http) = { + post: "/eth/v1/beacon/pool/attestations" + body: "*" + }; } // ListPoolAttesterSlashings retrieves attester slashings known by the node but // not necessarily incorporated into any block. rpc ListPoolAttesterSlashings(google.protobuf.Empty) returns (AttesterSlashingsPoolResponse) { - option (google.api.http) = {get: "/eth/v1/beacon/pool/attester_slashings"}; + option (google.api.http) = { + get: "/eth/v1/beacon/pool/attester_slashings" + }; } // SubmitAttesterSlashing submits AttesterSlashing object to node's pool and // if passes validation node MUST broadcast it to network. rpc SubmitAttesterSlashing(AttesterSlashing) returns (google.protobuf.Empty) { - option (google.api.http) = {post: "/eth/v1/beacon/pool/attester_slashings"}; + option (google.api.http) = { + post: "/eth/v1/beacon/pool/attester_slashings" + body: "*" + }; } // ListPoolProposerSlashings retrieves proposer slashings known by the node // but not necessarily incorporated into any block. rpc ListPoolProposerSlashings(google.protobuf.Empty) returns (ProposerSlashingPoolResponse) { - option (google.api.http) = {get: "/eth/v1/beacon/pool/proposer_slashings"}; + option (google.api.http) = { + get: "/eth/v1/beacon/pool/proposer_slashings" + }; } // SubmitProposerSlashing submits AttesterSlashing object to node's pool and if // passes validation node MUST broadcast it to network. rpc SubmitProposerSlashing(ProposerSlashing) returns (google.protobuf.Empty) { - option (google.api.http) = {post: "/eth/v1/beacon/pool/proposer_slashings"}; + option (google.api.http) = { + post: "/eth/v1/beacon/pool/proposer_slashings" + body: "*" + }; } // ListPoolVoluntaryExits retrieves voluntary exits known by the node but // not necessarily incorporated into any block. rpc ListPoolVoluntaryExits(google.protobuf.Empty) returns (VoluntaryExitsPoolResponse) { - option (google.api.http) = {get: "/eth/v1/beacon/pool/voluntary_exits"}; + option (google.api.http) = { + get: "/eth/v1/beacon/pool/voluntary_exits" + }; } // SubmitVoluntaryExit submits SignedVoluntaryExit object to node's pool // and if passes validation node MUST broadcast it to network. rpc SubmitVoluntaryExit(SignedVoluntaryExit) returns (google.protobuf.Empty) { - option (google.api.http) = {post: "/eth/v1/beacon/pool/voluntary_exits"}; + option (google.api.http) = { + post: "/eth/v1/beacon/pool/voluntary_exits" + body: "*" + }; } // Beacon config API related endpoints. @@ -198,9 +246,9 @@ message GenesisResponse { // UTC time specified in the chain start event in the deposit contract. google.protobuf.Timestamp genesis_time = 1; // 32 byte hash tree root of the genesis validator set. - bytes genesis_validators_root = 2 [(gogoproto.moretags) = "ssz-size:\"32\""]; + bytes genesis_validators_root = 2 [(ethereum.eth.ext.ssz_size) = "32"]; // 4 byte genesis fork version. - bytes genesis_fork_version = 3 [(gogoproto.moretags) = "ssz-size:\"4\""]; + bytes genesis_fork_version = 3 [(ethereum.eth.ext.ssz_size) = "4"]; } } @@ -216,7 +264,7 @@ message StateRootResponse { message StateRoot { // SSZ encoded state root for the requested state. - bytes state_root = 1 [(gogoproto.moretags) = "ssz-size:\"32\""]; + bytes state_root = 1 [(ethereum.eth.ext.ssz_size) = "32"]; } } @@ -246,7 +294,7 @@ message StateValidatorsRequest { // The status to query validators for, can be one of: pending_initialized, pending_queued, active_ongoing, // active_exiting, active_slashed, exited_unslashed, exited_slashed, withdrawal_possible, // withdrawal_done, active, pending, exited, withdrawal - string status = 3; // TODO: Enum. + repeated string status = 3; // TODO: Enum. } message ValidatorBalancesRequest { @@ -256,7 +304,7 @@ message ValidatorBalancesRequest { bytes state_id = 1; // TODO: Duck type handling. // An array of either hex encoded public keys (with 0x prefix) or validator indexes. - repeated string id = 2; // TODO: Duck type handling. + repeated bytes id = 2; // TODO: Duck type handling. } message StateValidatorsResponse { @@ -269,7 +317,7 @@ message ValidatorBalancesResponse { message ValidatorBalance { // The index of the validator the retrieved balance is for. - uint64 index = 1; + uint64 index = 1 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/eth2-types.ValidatorIndex"]; // The balance of the requested validator. uint64 balance = 2; @@ -296,13 +344,13 @@ message StateCommitteesRequest { bytes state_id = 1; // TODO: Duck type handling. // The epoch to retrieve the committees of. - uint64 epoch = 2 [(gogoproto.casttype) = "github.com/prysmaticlabs/eth2-types.Epoch"]; + optional uint64 epoch = 2 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/eth2-types.Epoch"]; // Committee index requested. - uint64 index = 3; + optional uint64 index = 3 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/eth2-types.CommitteeIndex"]; // Committee slot requested. - uint64 slot = 4 [(gogoproto.casttype) = "github.com/prysmaticlabs/eth2-types.Slot"]; + optional uint64 slot = 4 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/eth2-types.Slot"]; } message StateCommitteesResponse { @@ -317,7 +365,7 @@ message BlockAttestationsResponse { message BlockRootContainer { // 32 byte merkle tree root of the ssz encoded block. - bytes root = 1 [(gogoproto.moretags) = "ssz-size:\"32\""]; + bytes root = 1 [(ethereum.eth.ext.ssz_size) = "32"]; } message BlockRootResponse { @@ -326,10 +374,10 @@ message BlockRootResponse { message BlockHeadersRequest { // Beacon chain slot of the requested block. - uint64 slot = 1 [(gogoproto.casttype) = "github.com/prysmaticlabs/eth2-types.Slot"]; + optional uint64 slot = 1 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/eth2-types.Slot"]; // 32 byte merkle tree root of the ssz encoded parent block. - bytes parent_root = 2 [(gogoproto.moretags) = "ssz-size:\"32\""]; + optional bytes parent_root = 2 [(ethereum.eth.ext.ssz_size) = "32"]; } message BlockHeadersResponse { @@ -348,7 +396,7 @@ message BlockHeaderResponse { message BlockHeaderContainer { // 32 byte merkle tree root of the ssz encoded block. - bytes root = 1 [(gogoproto.moretags) = "ssz-size:\"32\""]; + bytes root = 1 [(ethereum.eth.ext.ssz_size) = "32"]; // Boolean indicating whether the block is canonical. bool canonical = 2; @@ -363,7 +411,7 @@ message BeaconBlockHeaderContainer { BeaconBlockHeader message = 1; // 96 byte BLS signature from the validator that produced this block header. - bytes signature = 2 [(gogoproto.moretags) = "ssz-size:\"96\""]; + bytes signature = 2 [(ethereum.eth.ext.ssz_size) = "96"]; } message BlockResponse { @@ -375,14 +423,14 @@ message BeaconBlockContainer { BeaconBlock message = 1; // 96 byte BLS signature from the validator that produced this block. - bytes signature = 2 [(gogoproto.moretags) = "ssz-size:\"96\""]; + bytes signature = 2 [(ethereum.eth.ext.ssz_size) = "96"]; } // Beacon Pool related API service. message AttestationsPoolRequest { - uint64 slot = 1 [(gogoproto.casttype) = "github.com/prysmaticlabs/eth2-types.Slot"]; - uint64 committee_index = 2 [(gogoproto.casttype) = "github.com/prysmaticlabs/eth2-types.CommitteeIndex"]; + optional uint64 slot = 1 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/eth2-types.Slot"]; + optional uint64 committee_index = 2 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/eth2-types.CommitteeIndex"]; } message SubmitAttestationsRequest { diff --git a/eth/v1/beacon_debug_service.pb.go b/eth/v1/beacon_debug_service.pb.go old mode 100755 new mode 100644 index 29c50082..41fea6ed --- a/eth/v1/beacon_debug_service.pb.go +++ b/eth/v1/beacon_debug_service.pb.go @@ -1,250 +1,372 @@ -// Code generated by protoc-gen-gogo. DO NOT EDIT. +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.25.0 +// protoc v3.15.6 // source: eth/v1/beacon_debug_service.proto package v1 import ( context "context" - fmt "fmt" - io "io" - math "math" - math_bits "math/bits" - - _ "github.com/gogo/protobuf/gogoproto" - proto "github.com/gogo/protobuf/proto" - types "github.com/gogo/protobuf/types" + reflect "reflect" + sync "sync" + + proto "github.com/golang/protobuf/proto" + _ "github.com/golang/protobuf/protoc-gen-go/descriptor" + empty "github.com/golang/protobuf/ptypes/empty" github_com_prysmaticlabs_eth2_types "github.com/prysmaticlabs/eth2-types" + _ "github.com/prysmaticlabs/ethereumapis/eth/ext" _ "google.golang.org/genproto/googleapis/api/annotations" 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.GoGoProtoPackageIsVersion3 // 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 ForkChoiceHeadsResponse struct { - Data []*ForkChoiceHead `protobuf:"bytes,1,rep,name=data,proto3" json:"data,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Data []*ForkChoiceHead `protobuf:"bytes,1,rep,name=data,proto3" json:"data,omitempty"` } -func (m *ForkChoiceHeadsResponse) Reset() { *m = ForkChoiceHeadsResponse{} } -func (m *ForkChoiceHeadsResponse) String() string { return proto.CompactTextString(m) } -func (*ForkChoiceHeadsResponse) ProtoMessage() {} -func (*ForkChoiceHeadsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_5c4891f2a5dc2c4a, []int{0} -} -func (m *ForkChoiceHeadsResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *ForkChoiceHeadsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_ForkChoiceHeadsResponse.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *ForkChoiceHeadsResponse) Reset() { + *x = ForkChoiceHeadsResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_eth_v1_beacon_debug_service_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *ForkChoiceHeadsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ForkChoiceHeadsResponse.Merge(m, src) -} -func (m *ForkChoiceHeadsResponse) XXX_Size() int { - return m.Size() + +func (x *ForkChoiceHeadsResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ForkChoiceHeadsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ForkChoiceHeadsResponse.DiscardUnknown(m) + +func (*ForkChoiceHeadsResponse) ProtoMessage() {} + +func (x *ForkChoiceHeadsResponse) ProtoReflect() protoreflect.Message { + mi := &file_eth_v1_beacon_debug_service_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) } -var xxx_messageInfo_ForkChoiceHeadsResponse proto.InternalMessageInfo +// Deprecated: Use ForkChoiceHeadsResponse.ProtoReflect.Descriptor instead. +func (*ForkChoiceHeadsResponse) Descriptor() ([]byte, []int) { + return file_eth_v1_beacon_debug_service_proto_rawDescGZIP(), []int{0} +} -func (m *ForkChoiceHeadsResponse) GetData() []*ForkChoiceHead { - if m != nil { - return m.Data +func (x *ForkChoiceHeadsResponse) GetData() []*ForkChoiceHead { + if x != nil { + return x.Data } return nil } type ForkChoiceHead struct { - Root []byte `protobuf:"bytes,1,opt,name=root,proto3" json:"root,omitempty" ssz-size:"32"` - Slot github_com_prysmaticlabs_eth2_types.Slot `protobuf:"varint,2,opt,name=slot,proto3,casttype=github.com/prysmaticlabs/eth2-types.Slot" json:"slot,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Root []byte `protobuf:"bytes,1,opt,name=root,proto3" json:"root,omitempty" ssz-size:"32"` + Slot github_com_prysmaticlabs_eth2_types.Slot `protobuf:"varint,2,opt,name=slot,proto3" json:"slot,omitempty" cast-type:"github.com/prysmaticlabs/eth2-types.Slot"` } -func (m *ForkChoiceHead) Reset() { *m = ForkChoiceHead{} } -func (m *ForkChoiceHead) String() string { return proto.CompactTextString(m) } -func (*ForkChoiceHead) ProtoMessage() {} -func (*ForkChoiceHead) Descriptor() ([]byte, []int) { - return fileDescriptor_5c4891f2a5dc2c4a, []int{1} -} -func (m *ForkChoiceHead) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *ForkChoiceHead) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_ForkChoiceHead.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *ForkChoiceHead) Reset() { + *x = ForkChoiceHead{} + if protoimpl.UnsafeEnabled { + mi := &file_eth_v1_beacon_debug_service_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *ForkChoiceHead) XXX_Merge(src proto.Message) { - xxx_messageInfo_ForkChoiceHead.Merge(m, src) -} -func (m *ForkChoiceHead) XXX_Size() int { - return m.Size() + +func (x *ForkChoiceHead) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ForkChoiceHead) XXX_DiscardUnknown() { - xxx_messageInfo_ForkChoiceHead.DiscardUnknown(m) + +func (*ForkChoiceHead) ProtoMessage() {} + +func (x *ForkChoiceHead) ProtoReflect() protoreflect.Message { + mi := &file_eth_v1_beacon_debug_service_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) } -var xxx_messageInfo_ForkChoiceHead proto.InternalMessageInfo +// Deprecated: Use ForkChoiceHead.ProtoReflect.Descriptor instead. +func (*ForkChoiceHead) Descriptor() ([]byte, []int) { + return file_eth_v1_beacon_debug_service_proto_rawDescGZIP(), []int{1} +} -func (m *ForkChoiceHead) GetRoot() []byte { - if m != nil { - return m.Root +func (x *ForkChoiceHead) GetRoot() []byte { + if x != nil { + return x.Root } return nil } -func (m *ForkChoiceHead) GetSlot() github_com_prysmaticlabs_eth2_types.Slot { - if m != nil { - return m.Slot +func (x *ForkChoiceHead) GetSlot() github_com_prysmaticlabs_eth2_types.Slot { + if x != nil { + return x.Slot } - return 0 + return github_com_prysmaticlabs_eth2_types.Slot(0) } type BeaconStateResponse struct { - Data *BeaconState `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Data *BeaconState `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` } -func (m *BeaconStateResponse) Reset() { *m = BeaconStateResponse{} } -func (m *BeaconStateResponse) String() string { return proto.CompactTextString(m) } -func (*BeaconStateResponse) ProtoMessage() {} -func (*BeaconStateResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_5c4891f2a5dc2c4a, []int{2} -} -func (m *BeaconStateResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *BeaconStateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_BeaconStateResponse.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *BeaconStateResponse) Reset() { + *x = BeaconStateResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_eth_v1_beacon_debug_service_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *BeaconStateResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_BeaconStateResponse.Merge(m, src) -} -func (m *BeaconStateResponse) XXX_Size() int { - return m.Size() + +func (x *BeaconStateResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *BeaconStateResponse) XXX_DiscardUnknown() { - xxx_messageInfo_BeaconStateResponse.DiscardUnknown(m) + +func (*BeaconStateResponse) ProtoMessage() {} + +func (x *BeaconStateResponse) ProtoReflect() protoreflect.Message { + mi := &file_eth_v1_beacon_debug_service_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) } -var xxx_messageInfo_BeaconStateResponse proto.InternalMessageInfo +// Deprecated: Use BeaconStateResponse.ProtoReflect.Descriptor instead. +func (*BeaconStateResponse) Descriptor() ([]byte, []int) { + return file_eth_v1_beacon_debug_service_proto_rawDescGZIP(), []int{2} +} -func (m *BeaconStateResponse) GetData() *BeaconState { - if m != nil { - return m.Data +func (x *BeaconStateResponse) GetData() *BeaconState { + if x != nil { + return x.Data } return nil } -func init() { - proto.RegisterType((*ForkChoiceHeadsResponse)(nil), "ethereum.eth.v1.ForkChoiceHeadsResponse") - proto.RegisterType((*ForkChoiceHead)(nil), "ethereum.eth.v1.ForkChoiceHead") - proto.RegisterType((*BeaconStateResponse)(nil), "ethereum.eth.v1.BeaconStateResponse") -} - -func init() { proto.RegisterFile("eth/v1/beacon_debug_service.proto", fileDescriptor_5c4891f2a5dc2c4a) } - -var fileDescriptor_5c4891f2a5dc2c4a = []byte{ - // 503 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x52, 0x4f, 0x8b, 0x13, 0x4f, - 0x10, 0xa5, 0xf3, 0x0b, 0xbf, 0x43, 0x47, 0x77, 0xb5, 0x03, 0x1a, 0xc7, 0x98, 0xc4, 0x41, 0x65, - 0x0e, 0x9b, 0x6e, 0x93, 0xdc, 0x3c, 0x49, 0x34, 0xae, 0x07, 0x91, 0x25, 0x7b, 0x93, 0x85, 0xd0, - 0x33, 0x29, 0x67, 0x1a, 0x93, 0xe9, 0x71, 0xba, 0x26, 0x90, 0x5d, 0xbc, 0x08, 0xe2, 0x5d, 0xbf, - 0x85, 0x9f, 0x44, 0x3c, 0x09, 0xde, 0x17, 0x09, 0x7e, 0x02, 0x8f, 0x9e, 0x64, 0x3a, 0xb3, 0x31, - 0xc9, 0xca, 0x7a, 0x9a, 0xe9, 0xfa, 0xf3, 0xea, 0xbd, 0x7a, 0x45, 0x6f, 0x03, 0x46, 0x62, 0xd6, - 0x11, 0x3e, 0xc8, 0x40, 0xc7, 0xa3, 0x31, 0xf8, 0x59, 0x38, 0x32, 0x90, 0xce, 0x54, 0x00, 0x3c, - 0x49, 0x35, 0x6a, 0xb6, 0x0b, 0x18, 0x41, 0x0a, 0xd9, 0x94, 0x03, 0x46, 0x7c, 0xd6, 0x71, 0xda, - 0xa1, 0xc2, 0x28, 0xf3, 0x79, 0xa0, 0xa7, 0x22, 0xd4, 0xa1, 0x16, 0xb6, 0xce, 0xcf, 0x5e, 0xda, - 0x97, 0x7d, 0xd8, 0xbf, 0x65, 0xbf, 0x53, 0x0f, 0xb5, 0x0e, 0x27, 0x20, 0x64, 0xa2, 0x84, 0x8c, - 0x63, 0x8d, 0x12, 0x95, 0x8e, 0x4d, 0x91, 0xbd, 0x59, 0x64, 0x57, 0x18, 0x30, 0x4d, 0x70, 0x5e, - 0x24, 0x6f, 0x6c, 0xb2, 0x33, 0x28, 0xb1, 0x60, 0xe5, 0x6c, 0x11, 0x0f, 0x22, 0xa9, 0xe2, 0x4d, - 0xe2, 0xee, 0x73, 0x7a, 0xfd, 0x89, 0x4e, 0x5f, 0x3d, 0x8a, 0xb4, 0x0a, 0xe0, 0x29, 0xc8, 0xb1, - 0x19, 0x82, 0x49, 0x74, 0x6c, 0x80, 0xf5, 0x68, 0x79, 0x2c, 0x51, 0xd6, 0x48, 0xeb, 0x3f, 0xaf, - 0xd2, 0x6d, 0xf2, 0x2d, 0x89, 0x7c, 0xb3, 0x6f, 0x68, 0x8b, 0xdd, 0x39, 0xdd, 0xd9, 0x8c, 0xb3, - 0xbb, 0xb4, 0x9c, 0x6a, 0x8d, 0x35, 0xd2, 0x22, 0xde, 0xa5, 0xfe, 0xd5, 0x9f, 0xa7, 0xcd, 0xcb, - 0xc6, 0x1c, 0xb7, 0x8d, 0x3a, 0x86, 0x07, 0x6e, 0xaf, 0xeb, 0x0e, 0x6d, 0x9a, 0x3d, 0xa4, 0x65, - 0x33, 0xd1, 0x58, 0x2b, 0xb5, 0x88, 0x57, 0xee, 0xef, 0xfd, 0x3a, 0x6d, 0x7a, 0x6b, 0x2b, 0x4c, - 0xd2, 0xb9, 0x99, 0x4a, 0x54, 0xc1, 0x44, 0xfa, 0x46, 0x00, 0x46, 0xdd, 0x36, 0xce, 0x13, 0x30, - 0xfc, 0x70, 0xa2, 0x71, 0x68, 0x3b, 0xdd, 0x7d, 0x5a, 0xed, 0x5b, 0xa1, 0x87, 0xf9, 0x0a, 0x56, - 0x32, 0xee, 0xaf, 0x64, 0x10, 0xaf, 0xd2, 0xad, 0x9f, 0x93, 0xb1, 0xde, 0x63, 0x2b, 0xbb, 0x1f, - 0x4a, 0xb4, 0xb2, 0x8c, 0x3e, 0xce, 0xad, 0x66, 0xef, 0x08, 0xdd, 0xd9, 0x07, 0x5c, 0x2b, 0x64, - 0xb7, 0xce, 0xc1, 0x14, 0x43, 0x5f, 0x67, 0x60, 0xd0, 0xb9, 0x73, 0xe1, 0x94, 0x82, 0x99, 0xcb, - 0xdf, 0x7e, 0xfb, 0xf1, 0xb1, 0xe4, 0xb1, 0x7b, 0xa2, 0xf0, 0xc9, 0x5e, 0x56, 0xe1, 0x96, 0xb0, - 0x46, 0x1a, 0x71, 0x62, 0xbf, 0x23, 0x35, 0x7e, 0xc3, 0x4e, 0x68, 0xf5, 0x99, 0x32, 0xb8, 0xe5, - 0x17, 0xbb, 0xc6, 0x97, 0xe7, 0xc1, 0xcf, 0xce, 0x83, 0x0f, 0xf2, 0xf3, 0x70, 0xbc, 0x7f, 0x38, - 0xb6, 0x72, 0xda, 0x75, 0x2d, 0x91, 0x3a, 0x73, 0xfe, 0x4a, 0x24, 0xca, 0x6b, 0xfb, 0xef, 0xc9, - 0xe7, 0x45, 0x83, 0x7c, 0x5d, 0x34, 0xc8, 0xf7, 0x45, 0x83, 0xd0, 0xaa, 0x4e, 0xc3, 0x6d, 0xfc, - 0xfe, 0x95, 0xb5, 0xad, 0x1d, 0xe4, 0x64, 0x0e, 0xc8, 0x8b, 0xbd, 0x8b, 0x5c, 0xb4, 0xdd, 0x32, - 0x51, 0xa6, 0x18, 0xfc, 0xa9, 0xb4, 0x3b, 0x38, 0xc3, 0x1c, 0x58, 0xcc, 0x2f, 0x7f, 0x22, 0x47, - 0x03, 0x8c, 0x8e, 0x66, 0x1d, 0xff, 0x7f, 0xab, 0xb3, 0xf7, 0x3b, 0x00, 0x00, 0xff, 0xff, 0xdc, - 0x52, 0xbc, 0x6e, 0x97, 0x03, 0x00, 0x00, +var File_eth_v1_beacon_debug_service_proto protoreflect.FileDescriptor + +var file_eth_v1_beacon_debug_service_proto_rawDesc = []byte{ + 0x0a, 0x21, 0x65, 0x74, 0x68, 0x2f, 0x76, 0x31, 0x2f, 0x62, 0x65, 0x61, 0x63, 0x6f, 0x6e, 0x5f, + 0x64, 0x65, 0x62, 0x75, 0x67, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x12, 0x0f, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, + 0x68, 0x2e, 0x76, 0x31, 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, 0x20, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x75, 0x66, 0x2f, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 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, 0x1a, 0x15, 0x65, 0x74, 0x68, 0x2f, 0x65, 0x78, 0x74, 0x2f, 0x6f, 0x70, 0x74, 0x69, 0x6f, + 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x65, 0x74, 0x68, 0x2f, 0x76, 0x31, + 0x2f, 0x62, 0x65, 0x61, 0x63, 0x6f, 0x6e, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x1a, 0x21, 0x65, 0x74, 0x68, 0x2f, 0x76, 0x31, 0x2f, 0x62, 0x65, 0x61, 0x63, + 0x6f, 0x6e, 0x5f, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x4e, 0x0a, 0x17, 0x46, 0x6f, 0x72, 0x6b, 0x43, 0x68, + 0x6f, 0x69, 0x63, 0x65, 0x48, 0x65, 0x61, 0x64, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x12, 0x33, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, + 0x1f, 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, + 0x31, 0x2e, 0x46, 0x6f, 0x72, 0x6b, 0x43, 0x68, 0x6f, 0x69, 0x63, 0x65, 0x48, 0x65, 0x61, 0x64, + 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0x6e, 0x0a, 0x0e, 0x46, 0x6f, 0x72, 0x6b, 0x43, 0x68, + 0x6f, 0x69, 0x63, 0x65, 0x48, 0x65, 0x61, 0x64, 0x12, 0x1a, 0x0a, 0x04, 0x72, 0x6f, 0x6f, 0x74, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x42, 0x06, 0x8a, 0xb5, 0x18, 0x02, 0x33, 0x32, 0x52, 0x04, + 0x72, 0x6f, 0x6f, 0x74, 0x12, 0x40, 0x0a, 0x04, 0x73, 0x6c, 0x6f, 0x74, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x04, 0x42, 0x2c, 0x82, 0xb5, 0x18, 0x28, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, + 0x6f, 0x6d, 0x2f, 0x70, 0x72, 0x79, 0x73, 0x6d, 0x61, 0x74, 0x69, 0x63, 0x6c, 0x61, 0x62, 0x73, + 0x2f, 0x65, 0x74, 0x68, 0x32, 0x2d, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x53, 0x6c, 0x6f, 0x74, + 0x52, 0x04, 0x73, 0x6c, 0x6f, 0x74, 0x22, 0x47, 0x0a, 0x13, 0x42, 0x65, 0x61, 0x63, 0x6f, 0x6e, + 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x30, 0x0a, + 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x65, 0x74, + 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x65, + 0x61, 0x63, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x32, + 0x92, 0x02, 0x0a, 0x0b, 0x42, 0x65, 0x61, 0x63, 0x6f, 0x6e, 0x44, 0x65, 0x62, 0x75, 0x67, 0x12, + 0x85, 0x01, 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x42, 0x65, 0x61, 0x63, 0x6f, 0x6e, 0x53, 0x74, 0x61, + 0x74, 0x65, 0x12, 0x1d, 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, + 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x1a, 0x24, 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, + 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x65, 0x61, 0x63, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x2e, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x28, 0x12, + 0x26, 0x2f, 0x65, 0x74, 0x68, 0x2f, 0x76, 0x31, 0x2f, 0x64, 0x65, 0x62, 0x75, 0x67, 0x2f, 0x62, + 0x65, 0x61, 0x63, 0x6f, 0x6e, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x73, 0x2f, 0x7b, 0x73, 0x74, + 0x61, 0x74, 0x65, 0x5f, 0x69, 0x64, 0x7d, 0x12, 0x7b, 0x0a, 0x13, 0x4c, 0x69, 0x73, 0x74, 0x46, + 0x6f, 0x72, 0x6b, 0x43, 0x68, 0x6f, 0x69, 0x63, 0x65, 0x48, 0x65, 0x61, 0x64, 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, 0x28, 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, + 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x6f, 0x72, 0x6b, 0x43, 0x68, 0x6f, + 0x69, 0x63, 0x65, 0x48, 0x65, 0x61, 0x64, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x22, 0x22, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1c, 0x12, 0x1a, 0x2f, 0x65, 0x74, 0x68, 0x2f, 0x76, + 0x31, 0x2f, 0x64, 0x65, 0x62, 0x75, 0x67, 0x2f, 0x62, 0x65, 0x61, 0x63, 0x6f, 0x6e, 0x2f, 0x68, + 0x65, 0x61, 0x64, 0x73, 0x42, 0x7b, 0x0a, 0x13, 0x6f, 0x72, 0x67, 0x2e, 0x65, 0x74, 0x68, 0x65, + 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x42, 0x10, 0x42, 0x65, 0x61, + 0x63, 0x6f, 0x6e, 0x44, 0x65, 0x62, 0x75, 0x67, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, + 0x2c, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x72, 0x79, 0x73, + 0x6d, 0x61, 0x74, 0x69, 0x63, 0x6c, 0x61, 0x62, 0x73, 0x2f, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, + 0x75, 0x6d, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x65, 0x74, 0x68, 0x2f, 0x76, 0x31, 0xaa, 0x02, 0x0f, + 0x45, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x45, 0x74, 0x68, 0x2e, 0x76, 0x31, 0xca, + 0x02, 0x0f, 0x45, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x5c, 0x45, 0x74, 0x68, 0x5c, 0x76, + 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_eth_v1_beacon_debug_service_proto_rawDescOnce sync.Once + file_eth_v1_beacon_debug_service_proto_rawDescData = file_eth_v1_beacon_debug_service_proto_rawDesc +) + +func file_eth_v1_beacon_debug_service_proto_rawDescGZIP() []byte { + file_eth_v1_beacon_debug_service_proto_rawDescOnce.Do(func() { + file_eth_v1_beacon_debug_service_proto_rawDescData = protoimpl.X.CompressGZIP(file_eth_v1_beacon_debug_service_proto_rawDescData) + }) + return file_eth_v1_beacon_debug_service_proto_rawDescData +} + +var file_eth_v1_beacon_debug_service_proto_msgTypes = make([]protoimpl.MessageInfo, 3) +var file_eth_v1_beacon_debug_service_proto_goTypes = []interface{}{ + (*ForkChoiceHeadsResponse)(nil), // 0: ethereum.eth.v1.ForkChoiceHeadsResponse + (*ForkChoiceHead)(nil), // 1: ethereum.eth.v1.ForkChoiceHead + (*BeaconStateResponse)(nil), // 2: ethereum.eth.v1.BeaconStateResponse + (*BeaconState)(nil), // 3: ethereum.eth.v1.BeaconState + (*StateRequest)(nil), // 4: ethereum.eth.v1.StateRequest + (*empty.Empty)(nil), // 5: google.protobuf.Empty +} +var file_eth_v1_beacon_debug_service_proto_depIdxs = []int32{ + 1, // 0: ethereum.eth.v1.ForkChoiceHeadsResponse.data:type_name -> ethereum.eth.v1.ForkChoiceHead + 3, // 1: ethereum.eth.v1.BeaconStateResponse.data:type_name -> ethereum.eth.v1.BeaconState + 4, // 2: ethereum.eth.v1.BeaconDebug.GetBeaconState:input_type -> ethereum.eth.v1.StateRequest + 5, // 3: ethereum.eth.v1.BeaconDebug.ListForkChoiceHeads:input_type -> google.protobuf.Empty + 2, // 4: ethereum.eth.v1.BeaconDebug.GetBeaconState:output_type -> ethereum.eth.v1.BeaconStateResponse + 0, // 5: ethereum.eth.v1.BeaconDebug.ListForkChoiceHeads:output_type -> ethereum.eth.v1.ForkChoiceHeadsResponse + 4, // [4:6] is the sub-list for method output_type + 2, // [2:4] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_eth_v1_beacon_debug_service_proto_init() } +func file_eth_v1_beacon_debug_service_proto_init() { + if File_eth_v1_beacon_debug_service_proto != nil { + return + } + file_eth_v1_beacon_state_proto_init() + file_eth_v1_beacon_chain_service_proto_init() + if !protoimpl.UnsafeEnabled { + file_eth_v1_beacon_debug_service_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ForkChoiceHeadsResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_eth_v1_beacon_debug_service_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ForkChoiceHead); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_eth_v1_beacon_debug_service_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*BeaconStateResponse); 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_eth_v1_beacon_debug_service_proto_rawDesc, + NumEnums: 0, + NumMessages: 3, + NumExtensions: 0, + NumServices: 1, + }, + GoTypes: file_eth_v1_beacon_debug_service_proto_goTypes, + DependencyIndexes: file_eth_v1_beacon_debug_service_proto_depIdxs, + MessageInfos: file_eth_v1_beacon_debug_service_proto_msgTypes, + }.Build() + File_eth_v1_beacon_debug_service_proto = out.File + file_eth_v1_beacon_debug_service_proto_rawDesc = nil + file_eth_v1_beacon_debug_service_proto_goTypes = nil + file_eth_v1_beacon_debug_service_proto_depIdxs = nil } // Reference imports to suppress errors if they are not otherwise used. var _ context.Context -var _ grpc.ClientConn +var _ grpc.ClientConnInterface // This is a compile-time assertion to ensure that this generated file // is compatible with the grpc package it is being compiled against. -const _ = grpc.SupportPackageIsVersion4 +const _ = grpc.SupportPackageIsVersion6 // BeaconDebugClient is the client API for BeaconDebug service. // // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. type BeaconDebugClient interface { GetBeaconState(ctx context.Context, in *StateRequest, opts ...grpc.CallOption) (*BeaconStateResponse, error) - ListForkChoiceHeads(ctx context.Context, in *types.Empty, opts ...grpc.CallOption) (*ForkChoiceHeadsResponse, error) + ListForkChoiceHeads(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*ForkChoiceHeadsResponse, error) } type beaconDebugClient struct { - cc *grpc.ClientConn + cc grpc.ClientConnInterface } -func NewBeaconDebugClient(cc *grpc.ClientConn) BeaconDebugClient { +func NewBeaconDebugClient(cc grpc.ClientConnInterface) BeaconDebugClient { return &beaconDebugClient{cc} } @@ -257,7 +379,7 @@ func (c *beaconDebugClient) GetBeaconState(ctx context.Context, in *StateRequest return out, nil } -func (c *beaconDebugClient) ListForkChoiceHeads(ctx context.Context, in *types.Empty, opts ...grpc.CallOption) (*ForkChoiceHeadsResponse, error) { +func (c *beaconDebugClient) ListForkChoiceHeads(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*ForkChoiceHeadsResponse, error) { out := new(ForkChoiceHeadsResponse) err := c.cc.Invoke(ctx, "/ethereum.eth.v1.BeaconDebug/ListForkChoiceHeads", in, out, opts...) if err != nil { @@ -269,17 +391,17 @@ func (c *beaconDebugClient) ListForkChoiceHeads(ctx context.Context, in *types.E // BeaconDebugServer is the server API for BeaconDebug service. type BeaconDebugServer interface { GetBeaconState(context.Context, *StateRequest) (*BeaconStateResponse, error) - ListForkChoiceHeads(context.Context, *types.Empty) (*ForkChoiceHeadsResponse, error) + ListForkChoiceHeads(context.Context, *empty.Empty) (*ForkChoiceHeadsResponse, error) } // UnimplementedBeaconDebugServer can be embedded to have forward compatible implementations. type UnimplementedBeaconDebugServer struct { } -func (*UnimplementedBeaconDebugServer) GetBeaconState(ctx context.Context, req *StateRequest) (*BeaconStateResponse, error) { +func (*UnimplementedBeaconDebugServer) GetBeaconState(context.Context, *StateRequest) (*BeaconStateResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method GetBeaconState not implemented") } -func (*UnimplementedBeaconDebugServer) ListForkChoiceHeads(ctx context.Context, req *types.Empty) (*ForkChoiceHeadsResponse, error) { +func (*UnimplementedBeaconDebugServer) ListForkChoiceHeads(context.Context, *empty.Empty) (*ForkChoiceHeadsResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method ListForkChoiceHeads not implemented") } @@ -306,7 +428,7 @@ func _BeaconDebug_GetBeaconState_Handler(srv interface{}, ctx context.Context, d } func _BeaconDebug_ListForkChoiceHeads_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(types.Empty) + in := new(empty.Empty) if err := dec(in); err != nil { return nil, err } @@ -318,7 +440,7 @@ func _BeaconDebug_ListForkChoiceHeads_Handler(srv interface{}, ctx context.Conte FullMethod: "/ethereum.eth.v1.BeaconDebug/ListForkChoiceHeads", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(BeaconDebugServer).ListForkChoiceHeads(ctx, req.(*types.Empty)) + return srv.(BeaconDebugServer).ListForkChoiceHeads(ctx, req.(*empty.Empty)) } return interceptor(ctx, in, info, handler) } @@ -339,562 +461,3 @@ var _BeaconDebug_serviceDesc = grpc.ServiceDesc{ Streams: []grpc.StreamDesc{}, Metadata: "eth/v1/beacon_debug_service.proto", } - -func (m *ForkChoiceHeadsResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *ForkChoiceHeadsResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *ForkChoiceHeadsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if len(m.Data) > 0 { - for iNdEx := len(m.Data) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Data[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintBeaconDebugService(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - } - return len(dAtA) - i, nil -} - -func (m *ForkChoiceHead) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *ForkChoiceHead) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *ForkChoiceHead) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if m.Slot != 0 { - i = encodeVarintBeaconDebugService(dAtA, i, uint64(m.Slot)) - i-- - dAtA[i] = 0x10 - } - if len(m.Root) > 0 { - i -= len(m.Root) - copy(dAtA[i:], m.Root) - i = encodeVarintBeaconDebugService(dAtA, i, uint64(len(m.Root))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *BeaconStateResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *BeaconStateResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *BeaconStateResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if m.Data != nil { - { - size, err := m.Data.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintBeaconDebugService(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func encodeVarintBeaconDebugService(dAtA []byte, offset int, v uint64) int { - offset -= sovBeaconDebugService(v) - base := offset - for v >= 1<<7 { - dAtA[offset] = uint8(v&0x7f | 0x80) - v >>= 7 - offset++ - } - dAtA[offset] = uint8(v) - return base -} -func (m *ForkChoiceHeadsResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if len(m.Data) > 0 { - for _, e := range m.Data { - l = e.Size() - n += 1 + l + sovBeaconDebugService(uint64(l)) - } - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *ForkChoiceHead) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Root) - if l > 0 { - n += 1 + l + sovBeaconDebugService(uint64(l)) - } - if m.Slot != 0 { - n += 1 + sovBeaconDebugService(uint64(m.Slot)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *BeaconStateResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Data != nil { - l = m.Data.Size() - n += 1 + l + sovBeaconDebugService(uint64(l)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func sovBeaconDebugService(x uint64) (n int) { - return (math_bits.Len64(x|1) + 6) / 7 -} -func sozBeaconDebugService(x uint64) (n int) { - return sovBeaconDebugService(uint64((x << 1) ^ uint64((int64(x) >> 63)))) -} -func (m *ForkChoiceHeadsResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconDebugService - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: ForkChoiceHeadsResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: ForkChoiceHeadsResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Data", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconDebugService - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthBeaconDebugService - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthBeaconDebugService - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Data = append(m.Data, &ForkChoiceHead{}) - if err := m.Data[len(m.Data)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipBeaconDebugService(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthBeaconDebugService - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthBeaconDebugService - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *ForkChoiceHead) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconDebugService - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: ForkChoiceHead: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: ForkChoiceHead: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Root", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconDebugService - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return ErrInvalidLengthBeaconDebugService - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthBeaconDebugService - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Root = append(m.Root[:0], dAtA[iNdEx:postIndex]...) - if m.Root == nil { - m.Root = []byte{} - } - iNdEx = postIndex - case 2: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Slot", wireType) - } - m.Slot = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconDebugService - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Slot |= github_com_prysmaticlabs_eth2_types.Slot(b&0x7F) << shift - if b < 0x80 { - break - } - } - default: - iNdEx = preIndex - skippy, err := skipBeaconDebugService(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthBeaconDebugService - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthBeaconDebugService - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *BeaconStateResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconDebugService - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: BeaconStateResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: BeaconStateResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Data", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconDebugService - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthBeaconDebugService - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthBeaconDebugService - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Data == nil { - m.Data = &BeaconState{} - } - if err := m.Data.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipBeaconDebugService(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthBeaconDebugService - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthBeaconDebugService - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func skipBeaconDebugService(dAtA []byte) (n int, err error) { - l := len(dAtA) - iNdEx := 0 - depth := 0 - for iNdEx < l { - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return 0, ErrIntOverflowBeaconDebugService - } - if iNdEx >= l { - return 0, io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= (uint64(b) & 0x7F) << shift - if b < 0x80 { - break - } - } - wireType := int(wire & 0x7) - switch wireType { - case 0: - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return 0, ErrIntOverflowBeaconDebugService - } - if iNdEx >= l { - return 0, io.ErrUnexpectedEOF - } - iNdEx++ - if dAtA[iNdEx-1] < 0x80 { - break - } - } - case 1: - iNdEx += 8 - case 2: - var length int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return 0, ErrIntOverflowBeaconDebugService - } - if iNdEx >= l { - return 0, io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - length |= (int(b) & 0x7F) << shift - if b < 0x80 { - break - } - } - if length < 0 { - return 0, ErrInvalidLengthBeaconDebugService - } - iNdEx += length - case 3: - depth++ - case 4: - if depth == 0 { - return 0, ErrUnexpectedEndOfGroupBeaconDebugService - } - depth-- - case 5: - iNdEx += 4 - default: - return 0, fmt.Errorf("proto: illegal wireType %d", wireType) - } - if iNdEx < 0 { - return 0, ErrInvalidLengthBeaconDebugService - } - if depth == 0 { - return iNdEx, nil - } - } - return 0, io.ErrUnexpectedEOF -} - -var ( - ErrInvalidLengthBeaconDebugService = fmt.Errorf("proto: negative length found during unmarshaling") - ErrIntOverflowBeaconDebugService = fmt.Errorf("proto: integer overflow") - ErrUnexpectedEndOfGroupBeaconDebugService = fmt.Errorf("proto: unexpected end of group") -) diff --git a/eth/v1/beacon_debug_service.pb.gw.go b/eth/v1/beacon_debug_service.pb.gw.go new file mode 100644 index 00000000..738590fe --- /dev/null +++ b/eth/v1/beacon_debug_service.pb.gw.go @@ -0,0 +1,257 @@ +// Code generated by protoc-gen-grpc-gateway. DO NOT EDIT. +// source: eth/v1/beacon_debug_service.proto + +/* +Package v1 is a reverse proxy. + +It translates gRPC into RESTful JSON APIs. +*/ +package v1 + +import ( + "context" + "github.com/golang/protobuf/ptypes/empty" + emptypb "github.com/golang/protobuf/ptypes/empty" + "github.com/grpc-ecosystem/grpc-gateway/v2/runtime" + "github.com/grpc-ecosystem/grpc-gateway/v2/utilities" + github_com_prysmaticlabs_eth2_types "github.com/prysmaticlabs/eth2-types" + "google.golang.org/grpc" + "google.golang.org/grpc/codes" + "google.golang.org/grpc/grpclog" + "google.golang.org/grpc/metadata" + "google.golang.org/grpc/status" + "google.golang.org/protobuf/proto" + "io" + "net/http" +) + +// Suppress "imported and not used" errors +var _ codes.Code +var _ io.Reader +var _ status.Status +var _ = runtime.String +var _ = utilities.NewDoubleArray +var _ = metadata.Join +var _ = github_com_prysmaticlabs_eth2_types.Epoch(0) +var _ = emptypb.Empty{} +var _ = empty.Empty{} + +func request_BeaconDebug_GetBeaconState_0(ctx context.Context, marshaler runtime.Marshaler, client BeaconDebugClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq StateRequest + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["state_id"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "state_id") + } + + state_id, err := runtime.Bytes(val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "state_id", err) + } + protoReq.StateId = (state_id) + + msg, err := client.GetBeaconState(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_BeaconDebug_GetBeaconState_0(ctx context.Context, marshaler runtime.Marshaler, server BeaconDebugServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq StateRequest + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["state_id"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "state_id") + } + + state_id, err := runtime.Bytes(val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "state_id", err) + } + protoReq.StateId = (state_id) + + msg, err := server.GetBeaconState(ctx, &protoReq) + return msg, metadata, err + +} + +func request_BeaconDebug_ListForkChoiceHeads_0(ctx context.Context, marshaler runtime.Marshaler, client BeaconDebugClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq emptypb.Empty + var metadata runtime.ServerMetadata + + msg, err := client.ListForkChoiceHeads(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_BeaconDebug_ListForkChoiceHeads_0(ctx context.Context, marshaler runtime.Marshaler, server BeaconDebugServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq emptypb.Empty + var metadata runtime.ServerMetadata + + msg, err := server.ListForkChoiceHeads(ctx, &protoReq) + return msg, metadata, err + +} + +// RegisterBeaconDebugHandlerServer registers the http handlers for service BeaconDebug to "mux". +// UnaryRPC :call BeaconDebugServer directly. +// StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. +// Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterBeaconDebugHandlerFromEndpoint instead. +func RegisterBeaconDebugHandlerServer(ctx context.Context, mux *runtime.ServeMux, server BeaconDebugServer) error { + + mux.Handle("GET", pattern_BeaconDebug_GetBeaconState_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/ethereum.eth.v1.BeaconDebug/GetBeaconState") + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_BeaconDebug_GetBeaconState_0(rctx, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_BeaconDebug_GetBeaconState_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_BeaconDebug_ListForkChoiceHeads_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/ethereum.eth.v1.BeaconDebug/ListForkChoiceHeads") + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_BeaconDebug_ListForkChoiceHeads_0(rctx, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_BeaconDebug_ListForkChoiceHeads_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + return nil +} + +// RegisterBeaconDebugHandlerFromEndpoint is same as RegisterBeaconDebugHandler but +// automatically dials to "endpoint" and closes the connection when "ctx" gets done. +func RegisterBeaconDebugHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error) { + conn, err := grpc.Dial(endpoint, opts...) + if err != nil { + return err + } + defer func() { + if err != nil { + if cerr := conn.Close(); cerr != nil { + grpclog.Infof("Failed to close conn to %s: %v", endpoint, cerr) + } + return + } + go func() { + <-ctx.Done() + if cerr := conn.Close(); cerr != nil { + grpclog.Infof("Failed to close conn to %s: %v", endpoint, cerr) + } + }() + }() + + return RegisterBeaconDebugHandler(ctx, mux, conn) +} + +// RegisterBeaconDebugHandler registers the http handlers for service BeaconDebug to "mux". +// The handlers forward requests to the grpc endpoint over "conn". +func RegisterBeaconDebugHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error { + return RegisterBeaconDebugHandlerClient(ctx, mux, NewBeaconDebugClient(conn)) +} + +// RegisterBeaconDebugHandlerClient registers the http handlers for service BeaconDebug +// to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "BeaconDebugClient". +// Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "BeaconDebugClient" +// doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in +// "BeaconDebugClient" to call the correct interceptors. +func RegisterBeaconDebugHandlerClient(ctx context.Context, mux *runtime.ServeMux, client BeaconDebugClient) error { + + mux.Handle("GET", pattern_BeaconDebug_GetBeaconState_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateContext(ctx, mux, req, "/ethereum.eth.v1.BeaconDebug/GetBeaconState") + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_BeaconDebug_GetBeaconState_0(rctx, inboundMarshaler, client, req, pathParams) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_BeaconDebug_GetBeaconState_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_BeaconDebug_ListForkChoiceHeads_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateContext(ctx, mux, req, "/ethereum.eth.v1.BeaconDebug/ListForkChoiceHeads") + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_BeaconDebug_ListForkChoiceHeads_0(rctx, inboundMarshaler, client, req, pathParams) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_BeaconDebug_ListForkChoiceHeads_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + return nil +} + +var ( + pattern_BeaconDebug_GetBeaconState_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 2, 4, 1, 0, 4, 1, 5, 5}, []string{"eth", "v1", "debug", "beacon", "states", "state_id"}, "")) + + pattern_BeaconDebug_ListForkChoiceHeads_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 2, 4}, []string{"eth", "v1", "debug", "beacon", "heads"}, "")) +) + +var ( + forward_BeaconDebug_GetBeaconState_0 = runtime.ForwardResponseMessage + + forward_BeaconDebug_ListForkChoiceHeads_0 = runtime.ForwardResponseMessage +) diff --git a/eth/v1/beacon_debug_service.proto b/eth/v1/beacon_debug_service.proto index f8690f87..7d98d3af 100644 --- a/eth/v1/beacon_debug_service.proto +++ b/eth/v1/beacon_debug_service.proto @@ -15,6 +15,14 @@ syntax = "proto3"; package ethereum.eth.v1; +import "google/api/annotations.proto"; +import "google/protobuf/descriptor.proto"; +import "google/protobuf/empty.proto"; + +import "eth/ext/options.proto"; +import "eth/v1/beacon_state.proto"; +import "eth/v1/beacon_chain_service.proto"; + option csharp_namespace = "Ethereum.Eth.v1"; option go_package = "github.com/prysmaticlabs/ethereumapis/eth/v1"; option java_multiple_files = true; @@ -22,13 +30,6 @@ option java_outer_classname = "BeaconDebugProto"; option java_package = "org.ethereum.eth.v1"; option php_namespace = "Ethereum\\Eth\\v1"; -import "github.com/gogo/protobuf/gogoproto/gogo.proto"; -import "google/api/annotations.proto"; -import "google/protobuf/empty.proto"; - -import "eth/v1/beacon_state.proto"; -import "eth/v1/beacon_chain_service.proto"; - // Beacon chain debug API // // The beacon chain debug API is a set of endpoints to debug chain and shouldn't be exposed publicly. @@ -37,12 +38,16 @@ import "eth/v1/beacon_chain_service.proto"; service BeaconDebug { // GetBeaconState returns full BeaconState object for given stateId. rpc GetBeaconState(StateRequest) returns (BeaconStateResponse) { - option (google.api.http) = {get: "/eth/v1/debug/beacon/states/{state_id}"}; + option (google.api.http) = { + get: "/eth/v1/debug/beacon/states/{state_id}" + }; } // ListForkChoiceHeads retrieves all possible chain heads (leaves of fork choice tree). rpc ListForkChoiceHeads(google.protobuf.Empty) returns (ForkChoiceHeadsResponse) { - option (google.api.http) = {get: "/eth/v1/debug/beacon/heads"}; + option (google.api.http) = { + get: "/eth/v1/debug/beacon/heads" + }; } } @@ -51,8 +56,8 @@ message ForkChoiceHeadsResponse { } message ForkChoiceHead { - bytes root = 1 [(gogoproto.moretags) = "ssz-size:\"32\""]; - uint64 slot = 2 [(gogoproto.casttype) = "github.com/prysmaticlabs/eth2-types.Slot"]; + bytes root = 1 [(ethereum.eth.ext.ssz_size) = "32"]; + uint64 slot = 2 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/eth2-types.Slot"]; } message BeaconStateResponse { diff --git a/eth/v1/beacon_state.pb.go b/eth/v1/beacon_state.pb.go old mode 100755 new mode 100644 index b18fb760..7d2aaf13 --- a/eth/v1/beacon_state.pb.go +++ b/eth/v1/beacon_state.pb.go @@ -1,40 +1,48 @@ -// Code generated by protoc-gen-gogo. DO NOT EDIT. +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.25.0 +// protoc v3.15.6 // source: eth/v1/beacon_state.proto package v1 import ( - fmt "fmt" - io "io" - math "math" - math_bits "math/bits" + reflect "reflect" + sync "sync" - _ "github.com/gogo/protobuf/gogoproto" - proto "github.com/gogo/protobuf/proto" + proto "github.com/golang/protobuf/proto" + _ "github.com/golang/protobuf/protoc-gen-go/descriptor" github_com_prysmaticlabs_eth2_types "github.com/prysmaticlabs/eth2-types" + _ "github.com/prysmaticlabs/ethereumapis/eth/ext" github_com_prysmaticlabs_go_bitfield "github.com/prysmaticlabs/go-bitfield" + 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.GoGoProtoPackageIsVersion3 // 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 BeaconState struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + GenesisTime uint64 `protobuf:"varint,1,opt,name=genesis_time,json=genesisTime,proto3" json:"genesis_time,omitempty"` GenesisValidatorsRoot []byte `protobuf:"bytes,2,opt,name=genesis_validators_root,json=genesisValidatorsRoot,proto3" json:"genesis_validators_root,omitempty" ssz-size:"32"` - Slot github_com_prysmaticlabs_eth2_types.Slot `protobuf:"varint,3,opt,name=slot,proto3,casttype=github.com/prysmaticlabs/eth2-types.Slot" json:"slot,omitempty"` + Slot github_com_prysmaticlabs_eth2_types.Slot `protobuf:"varint,3,opt,name=slot,proto3" json:"slot,omitempty" cast-type:"github.com/prysmaticlabs/eth2-types.Slot"` Fork *Fork `protobuf:"bytes,4,opt,name=fork,proto3" json:"fork,omitempty"` LatestBlockHeader *BeaconBlockHeader `protobuf:"bytes,5,opt,name=latest_block_header,json=latestBlockHeader,proto3" json:"latest_block_header,omitempty"` BlockRoots [][]byte `protobuf:"bytes,6,rep,name=block_roots,json=blockRoots,proto3" json:"block_roots,omitempty" ssz-size:"8192"` StateRoots [][]byte `protobuf:"bytes,7,rep,name=state_roots,json=stateRoots,proto3" json:"state_roots,omitempty" ssz-size:"8192"` - HistoricalRoots [][]byte `protobuf:"bytes,8,rep,name=historical_roots,json=historicalRoots,proto3" json:"historical_roots,omitempty" ssz-size:"?,32" ssz-max:"16777216"` + HistoricalRoots [][]byte `protobuf:"bytes,8,rep,name=historical_roots,json=historicalRoots,proto3" json:"historical_roots,omitempty" ssz-max:"16777216" ssz-size:"32"` Eth1Data *Eth1Data `protobuf:"bytes,9,opt,name=eth1_data,json=eth1Data,proto3" json:"eth1_data,omitempty"` Eth1DataVotes []*Eth1Data `protobuf:"bytes,10,rep,name=eth1_data_votes,json=eth1DataVotes,proto3" json:"eth1_data_votes,omitempty" ssz-max:"1024"` Eth1DepositIndex uint64 `protobuf:"varint,11,opt,name=eth1_deposit_index,json=eth1DepositIndex,proto3" json:"eth1_deposit_index,omitempty"` @@ -44,2469 +52,669 @@ type BeaconState struct { Slashings []uint64 `protobuf:"varint,15,rep,packed,name=slashings,proto3" json:"slashings,omitempty" ssz-size:"65536"` PreviousEpochAttestations []*PendingAttestation `protobuf:"bytes,16,rep,name=previous_epoch_attestations,json=previousEpochAttestations,proto3" json:"previous_epoch_attestations,omitempty" ssz-max:"4096"` CurrentEpochAttestations []*PendingAttestation `protobuf:"bytes,17,rep,name=current_epoch_attestations,json=currentEpochAttestations,proto3" json:"current_epoch_attestations,omitempty" ssz-max:"4096"` - JustificationBits github_com_prysmaticlabs_go_bitfield.Bitvector4 `protobuf:"bytes,18,opt,name=justification_bits,json=justificationBits,proto3,casttype=github.com/prysmaticlabs/go-bitfield.Bitvector4" json:"justification_bits,omitempty" ssz-size:"1"` + JustificationBits github_com_prysmaticlabs_go_bitfield.Bitvector4 `protobuf:"bytes,18,opt,name=justification_bits,json=justificationBits,proto3" json:"justification_bits,omitempty" cast-type:"github.com/prysmaticlabs/go-bitfield.Bitvector4" ssz-size:"1"` PreviousJustifiedCheckpoint *Checkpoint `protobuf:"bytes,19,opt,name=previous_justified_checkpoint,json=previousJustifiedCheckpoint,proto3" json:"previous_justified_checkpoint,omitempty"` CurrentJustifiedCheckpoint *Checkpoint `protobuf:"bytes,20,opt,name=current_justified_checkpoint,json=currentJustifiedCheckpoint,proto3" json:"current_justified_checkpoint,omitempty"` FinalizedCheckpoint *Checkpoint `protobuf:"bytes,21,opt,name=finalized_checkpoint,json=finalizedCheckpoint,proto3" json:"finalized_checkpoint,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` } -func (m *BeaconState) Reset() { *m = BeaconState{} } -func (m *BeaconState) String() string { return proto.CompactTextString(m) } -func (*BeaconState) ProtoMessage() {} -func (*BeaconState) Descriptor() ([]byte, []int) { - return fileDescriptor_ea3734aa07d7cd6a, []int{0} +func (x *BeaconState) Reset() { + *x = BeaconState{} + if protoimpl.UnsafeEnabled { + mi := &file_eth_v1_beacon_state_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *BeaconState) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) + +func (x *BeaconState) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *BeaconState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_BeaconState.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err + +func (*BeaconState) ProtoMessage() {} + +func (x *BeaconState) ProtoReflect() protoreflect.Message { + mi := &file_eth_v1_beacon_state_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - return b[:n], nil + return ms } -} -func (m *BeaconState) XXX_Merge(src proto.Message) { - xxx_messageInfo_BeaconState.Merge(m, src) -} -func (m *BeaconState) XXX_Size() int { - return m.Size() -} -func (m *BeaconState) XXX_DiscardUnknown() { - xxx_messageInfo_BeaconState.DiscardUnknown(m) + return mi.MessageOf(x) } -var xxx_messageInfo_BeaconState proto.InternalMessageInfo +// Deprecated: Use BeaconState.ProtoReflect.Descriptor instead. +func (*BeaconState) Descriptor() ([]byte, []int) { + return file_eth_v1_beacon_state_proto_rawDescGZIP(), []int{0} +} -func (m *BeaconState) GetGenesisTime() uint64 { - if m != nil { - return m.GenesisTime +func (x *BeaconState) GetGenesisTime() uint64 { + if x != nil { + return x.GenesisTime } return 0 } -func (m *BeaconState) GetGenesisValidatorsRoot() []byte { - if m != nil { - return m.GenesisValidatorsRoot +func (x *BeaconState) GetGenesisValidatorsRoot() []byte { + if x != nil { + return x.GenesisValidatorsRoot } return nil } -func (m *BeaconState) GetSlot() github_com_prysmaticlabs_eth2_types.Slot { - if m != nil { - return m.Slot +func (x *BeaconState) GetSlot() github_com_prysmaticlabs_eth2_types.Slot { + if x != nil { + return x.Slot } - return 0 + return github_com_prysmaticlabs_eth2_types.Slot(0) } -func (m *BeaconState) GetFork() *Fork { - if m != nil { - return m.Fork +func (x *BeaconState) GetFork() *Fork { + if x != nil { + return x.Fork } return nil } -func (m *BeaconState) GetLatestBlockHeader() *BeaconBlockHeader { - if m != nil { - return m.LatestBlockHeader +func (x *BeaconState) GetLatestBlockHeader() *BeaconBlockHeader { + if x != nil { + return x.LatestBlockHeader } return nil } -func (m *BeaconState) GetBlockRoots() [][]byte { - if m != nil { - return m.BlockRoots +func (x *BeaconState) GetBlockRoots() [][]byte { + if x != nil { + return x.BlockRoots } return nil } -func (m *BeaconState) GetStateRoots() [][]byte { - if m != nil { - return m.StateRoots +func (x *BeaconState) GetStateRoots() [][]byte { + if x != nil { + return x.StateRoots } return nil } -func (m *BeaconState) GetHistoricalRoots() [][]byte { - if m != nil { - return m.HistoricalRoots +func (x *BeaconState) GetHistoricalRoots() [][]byte { + if x != nil { + return x.HistoricalRoots } return nil } -func (m *BeaconState) GetEth1Data() *Eth1Data { - if m != nil { - return m.Eth1Data +func (x *BeaconState) GetEth1Data() *Eth1Data { + if x != nil { + return x.Eth1Data } return nil } -func (m *BeaconState) GetEth1DataVotes() []*Eth1Data { - if m != nil { - return m.Eth1DataVotes +func (x *BeaconState) GetEth1DataVotes() []*Eth1Data { + if x != nil { + return x.Eth1DataVotes } return nil } -func (m *BeaconState) GetEth1DepositIndex() uint64 { - if m != nil { - return m.Eth1DepositIndex +func (x *BeaconState) GetEth1DepositIndex() uint64 { + if x != nil { + return x.Eth1DepositIndex } return 0 } -func (m *BeaconState) GetValidators() []*Validator { - if m != nil { - return m.Validators +func (x *BeaconState) GetValidators() []*Validator { + if x != nil { + return x.Validators } return nil } -func (m *BeaconState) GetBalances() []uint64 { - if m != nil { - return m.Balances +func (x *BeaconState) GetBalances() []uint64 { + if x != nil { + return x.Balances } return nil } -func (m *BeaconState) GetRandaoMixes() [][]byte { - if m != nil { - return m.RandaoMixes +func (x *BeaconState) GetRandaoMixes() [][]byte { + if x != nil { + return x.RandaoMixes } return nil } -func (m *BeaconState) GetSlashings() []uint64 { - if m != nil { - return m.Slashings +func (x *BeaconState) GetSlashings() []uint64 { + if x != nil { + return x.Slashings } return nil } -func (m *BeaconState) GetPreviousEpochAttestations() []*PendingAttestation { - if m != nil { - return m.PreviousEpochAttestations +func (x *BeaconState) GetPreviousEpochAttestations() []*PendingAttestation { + if x != nil { + return x.PreviousEpochAttestations } return nil } -func (m *BeaconState) GetCurrentEpochAttestations() []*PendingAttestation { - if m != nil { - return m.CurrentEpochAttestations +func (x *BeaconState) GetCurrentEpochAttestations() []*PendingAttestation { + if x != nil { + return x.CurrentEpochAttestations } return nil } -func (m *BeaconState) GetJustificationBits() github_com_prysmaticlabs_go_bitfield.Bitvector4 { - if m != nil { - return m.JustificationBits +func (x *BeaconState) GetJustificationBits() github_com_prysmaticlabs_go_bitfield.Bitvector4 { + if x != nil { + return x.JustificationBits } - return nil + return github_com_prysmaticlabs_go_bitfield.Bitvector4(nil) } -func (m *BeaconState) GetPreviousJustifiedCheckpoint() *Checkpoint { - if m != nil { - return m.PreviousJustifiedCheckpoint +func (x *BeaconState) GetPreviousJustifiedCheckpoint() *Checkpoint { + if x != nil { + return x.PreviousJustifiedCheckpoint } return nil } -func (m *BeaconState) GetCurrentJustifiedCheckpoint() *Checkpoint { - if m != nil { - return m.CurrentJustifiedCheckpoint +func (x *BeaconState) GetCurrentJustifiedCheckpoint() *Checkpoint { + if x != nil { + return x.CurrentJustifiedCheckpoint } return nil } -func (m *BeaconState) GetFinalizedCheckpoint() *Checkpoint { - if m != nil { - return m.FinalizedCheckpoint +func (x *BeaconState) GetFinalizedCheckpoint() *Checkpoint { + if x != nil { + return x.FinalizedCheckpoint } return nil } type PendingAttestation struct { - AggregationBits github_com_prysmaticlabs_go_bitfield.Bitlist `protobuf:"bytes,1,opt,name=aggregation_bits,json=aggregationBits,proto3,casttype=github.com/prysmaticlabs/go-bitfield.Bitlist" json:"aggregation_bits,omitempty" ssz-max:"2048"` - Data *AttestationData `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` - InclusionDelay github_com_prysmaticlabs_eth2_types.Slot `protobuf:"varint,3,opt,name=inclusion_delay,json=inclusionDelay,proto3,casttype=github.com/prysmaticlabs/eth2-types.Slot" json:"inclusion_delay,omitempty"` - ProposerIndex github_com_prysmaticlabs_eth2_types.ValidatorIndex `protobuf:"varint,4,opt,name=proposer_index,json=proposerIndex,proto3,casttype=github.com/prysmaticlabs/eth2-types.ValidatorIndex" json:"proposer_index,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *PendingAttestation) Reset() { *m = PendingAttestation{} } -func (m *PendingAttestation) String() string { return proto.CompactTextString(m) } -func (*PendingAttestation) ProtoMessage() {} -func (*PendingAttestation) Descriptor() ([]byte, []int) { - return fileDescriptor_ea3734aa07d7cd6a, []int{1} -} -func (m *PendingAttestation) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *PendingAttestation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_PendingAttestation.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil - } -} -func (m *PendingAttestation) XXX_Merge(src proto.Message) { - xxx_messageInfo_PendingAttestation.Merge(m, src) -} -func (m *PendingAttestation) XXX_Size() int { - return m.Size() -} -func (m *PendingAttestation) XXX_DiscardUnknown() { - xxx_messageInfo_PendingAttestation.DiscardUnknown(m) + AggregationBits github_com_prysmaticlabs_go_bitfield.Bitlist `protobuf:"bytes,1,opt,name=aggregation_bits,json=aggregationBits,proto3" json:"aggregation_bits,omitempty" cast-type:"github.com/prysmaticlabs/go-bitfield.Bitlist" ssz-max:"2048"` + Data *AttestationData `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` + InclusionDelay github_com_prysmaticlabs_eth2_types.Slot `protobuf:"varint,3,opt,name=inclusion_delay,json=inclusionDelay,proto3" json:"inclusion_delay,omitempty" cast-type:"github.com/prysmaticlabs/eth2-types.Slot"` + ProposerIndex github_com_prysmaticlabs_eth2_types.ValidatorIndex `protobuf:"varint,4,opt,name=proposer_index,json=proposerIndex,proto3" json:"proposer_index,omitempty" cast-type:"github.com/prysmaticlabs/eth2-types.ValidatorIndex"` } -var xxx_messageInfo_PendingAttestation proto.InternalMessageInfo - -func (m *PendingAttestation) GetAggregationBits() github_com_prysmaticlabs_go_bitfield.Bitlist { - if m != nil { - return m.AggregationBits +func (x *PendingAttestation) Reset() { + *x = PendingAttestation{} + if protoimpl.UnsafeEnabled { + mi := &file_eth_v1_beacon_state_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } - return nil } -func (m *PendingAttestation) GetData() *AttestationData { - if m != nil { - return m.Data - } - return nil +func (x *PendingAttestation) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *PendingAttestation) GetInclusionDelay() github_com_prysmaticlabs_eth2_types.Slot { - if m != nil { - return m.InclusionDelay - } - return 0 -} +func (*PendingAttestation) ProtoMessage() {} -func (m *PendingAttestation) GetProposerIndex() github_com_prysmaticlabs_eth2_types.ValidatorIndex { - if m != nil { - return m.ProposerIndex - } - return 0 -} - -type Committee struct { - Index uint64 `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty"` - Slot github_com_prysmaticlabs_eth2_types.Slot `protobuf:"varint,2,opt,name=slot,proto3,casttype=github.com/prysmaticlabs/eth2-types.Slot" json:"slot,omitempty"` - Validators []uint64 `protobuf:"varint,3,rep,packed,name=validators,proto3" json:"validators,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Committee) Reset() { *m = Committee{} } -func (m *Committee) String() string { return proto.CompactTextString(m) } -func (*Committee) ProtoMessage() {} -func (*Committee) Descriptor() ([]byte, []int) { - return fileDescriptor_ea3734aa07d7cd6a, []int{2} -} -func (m *Committee) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *Committee) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_Committee.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err +func (x *PendingAttestation) ProtoReflect() protoreflect.Message { + mi := &file_eth_v1_beacon_state_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - return b[:n], nil - } -} -func (m *Committee) XXX_Merge(src proto.Message) { - xxx_messageInfo_Committee.Merge(m, src) -} -func (m *Committee) XXX_Size() int { - return m.Size() -} -func (m *Committee) XXX_DiscardUnknown() { - xxx_messageInfo_Committee.DiscardUnknown(m) -} - -var xxx_messageInfo_Committee proto.InternalMessageInfo - -func (m *Committee) GetIndex() uint64 { - if m != nil { - return m.Index - } - return 0 -} - -func (m *Committee) GetSlot() github_com_prysmaticlabs_eth2_types.Slot { - if m != nil { - return m.Slot + return ms } - return 0 + return mi.MessageOf(x) } -func (m *Committee) GetValidators() []uint64 { - if m != nil { - return m.Validators - } - return nil -} - -type Fork struct { - PreviousVersion []byte `protobuf:"bytes,1,opt,name=previous_version,json=previousVersion,proto3" json:"previous_version,omitempty" ssz-size:"4"` - CurrentVersion []byte `protobuf:"bytes,2,opt,name=current_version,json=currentVersion,proto3" json:"current_version,omitempty" ssz-size:"4"` - Epoch github_com_prysmaticlabs_eth2_types.Epoch `protobuf:"varint,3,opt,name=epoch,proto3,casttype=github.com/prysmaticlabs/eth2-types.Epoch" json:"epoch,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +// Deprecated: Use PendingAttestation.ProtoReflect.Descriptor instead. +func (*PendingAttestation) Descriptor() ([]byte, []int) { + return file_eth_v1_beacon_state_proto_rawDescGZIP(), []int{1} } -func (m *Fork) Reset() { *m = Fork{} } -func (m *Fork) String() string { return proto.CompactTextString(m) } -func (*Fork) ProtoMessage() {} -func (*Fork) Descriptor() ([]byte, []int) { - return fileDescriptor_ea3734aa07d7cd6a, []int{3} -} -func (m *Fork) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *Fork) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_Fork.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *PendingAttestation) GetAggregationBits() github_com_prysmaticlabs_go_bitfield.Bitlist { + if x != nil { + return x.AggregationBits } + return github_com_prysmaticlabs_go_bitfield.Bitlist(nil) } -func (m *Fork) XXX_Merge(src proto.Message) { - xxx_messageInfo_Fork.Merge(m, src) -} -func (m *Fork) XXX_Size() int { - return m.Size() -} -func (m *Fork) XXX_DiscardUnknown() { - xxx_messageInfo_Fork.DiscardUnknown(m) -} - -var xxx_messageInfo_Fork proto.InternalMessageInfo -func (m *Fork) GetPreviousVersion() []byte { - if m != nil { - return m.PreviousVersion +func (x *PendingAttestation) GetData() *AttestationData { + if x != nil { + return x.Data } return nil } -func (m *Fork) GetCurrentVersion() []byte { - if m != nil { - return m.CurrentVersion +func (x *PendingAttestation) GetInclusionDelay() github_com_prysmaticlabs_eth2_types.Slot { + if x != nil { + return x.InclusionDelay } - return nil + return github_com_prysmaticlabs_eth2_types.Slot(0) } -func (m *Fork) GetEpoch() github_com_prysmaticlabs_eth2_types.Epoch { - if m != nil { - return m.Epoch +func (x *PendingAttestation) GetProposerIndex() github_com_prysmaticlabs_eth2_types.ValidatorIndex { + if x != nil { + return x.ProposerIndex } - return 0 + return github_com_prysmaticlabs_eth2_types.ValidatorIndex(0) } -func init() { - proto.RegisterType((*BeaconState)(nil), "ethereum.eth.v1.BeaconState") - proto.RegisterType((*PendingAttestation)(nil), "ethereum.eth.v1.PendingAttestation") - proto.RegisterType((*Committee)(nil), "ethereum.eth.v1.Committee") - proto.RegisterType((*Fork)(nil), "ethereum.eth.v1.Fork") -} +type Committee struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func init() { proto.RegisterFile("eth/v1/beacon_state.proto", fileDescriptor_ea3734aa07d7cd6a) } - -var fileDescriptor_ea3734aa07d7cd6a = []byte{ - // 1105 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x56, 0x4f, 0x4f, 0xe3, 0xc6, - 0x1b, 0x96, 0x43, 0x76, 0x7f, 0xcb, 0x24, 0x90, 0x30, 0xc0, 0x6f, 0x0d, 0xb4, 0x38, 0x75, 0xa5, - 0x2a, 0x2b, 0x41, 0x82, 0x4d, 0x48, 0x96, 0xed, 0xa1, 0xad, 0x59, 0xaa, 0x6e, 0xa5, 0x56, 0xd4, - 0xdb, 0x52, 0xa9, 0xda, 0x95, 0x35, 0x71, 0x06, 0x7b, 0x8a, 0xe3, 0x89, 0x3c, 0x93, 0x14, 0xb8, - 0xf6, 0xd0, 0xef, 0xd2, 0x7e, 0x8c, 0x5e, 0xaa, 0x9e, 0xfa, 0x09, 0xac, 0x8a, 0x2f, 0x50, 0x29, - 0x47, 0x4e, 0x95, 0xc7, 0x7f, 0x21, 0x2c, 0x8b, 0xb6, 0x37, 0xcf, 0xcc, 0xf3, 0x3c, 0xef, 0xbc, - 0xef, 0x3b, 0x7e, 0x66, 0xc0, 0x1a, 0xe6, 0x6e, 0x7b, 0xa2, 0xb5, 0xfb, 0x18, 0xd9, 0xd4, 0xb7, - 0x18, 0x47, 0x1c, 0xb7, 0x46, 0x01, 0xe5, 0x14, 0xd6, 0x30, 0x77, 0x71, 0x80, 0xc7, 0xc3, 0x16, - 0xe6, 0x6e, 0x6b, 0xa2, 0xad, 0x6f, 0x3b, 0x84, 0xbb, 0xe3, 0x7e, 0xcb, 0xa6, 0xc3, 0xb6, 0x43, - 0x1d, 0xda, 0x16, 0xb8, 0xfe, 0xf8, 0x44, 0x8c, 0xc4, 0x40, 0x7c, 0xc5, 0xfc, 0x75, 0x39, 0x91, - 0x46, 0x9c, 0xe3, 0x48, 0x97, 0x50, 0x3f, 0x59, 0xb9, 0x11, 0xb4, 0xef, 0x51, 0xfb, 0x34, 0x59, - 0xfa, 0x7f, 0xb2, 0x34, 0x41, 0x1e, 0x19, 0x20, 0x4e, 0x83, 0x78, 0x5e, 0xfd, 0xad, 0x0a, 0x2a, - 0x86, 0x80, 0xbf, 0x8c, 0xb6, 0x08, 0x3f, 0x00, 0x55, 0x07, 0xfb, 0x98, 0x11, 0x66, 0x71, 0x32, - 0xc4, 0xb2, 0xd4, 0x90, 0x9a, 0x65, 0xb3, 0x92, 0xcc, 0x7d, 0x4b, 0x86, 0x18, 0xbe, 0x00, 0x8f, - 0x53, 0x48, 0xa6, 0xc6, 0xac, 0x80, 0x52, 0x2e, 0x97, 0x1a, 0x52, 0xb3, 0x6a, 0x2c, 0x4d, 0x43, - 0x65, 0x81, 0xb1, 0x8b, 0x6d, 0x46, 0x2e, 0xf0, 0x33, 0x75, 0x57, 0x57, 0xcd, 0xd5, 0x84, 0x71, - 0x9c, 0x11, 0x4c, 0x4a, 0x39, 0xfc, 0x14, 0x94, 0x99, 0x47, 0xb9, 0x3c, 0x17, 0x45, 0x31, 0xb6, - 0xae, 0x42, 0xa5, 0x59, 0xa8, 0xc5, 0x28, 0x38, 0x67, 0x43, 0xc4, 0x89, 0xed, 0xa1, 0x3e, 0x6b, - 0x63, 0xee, 0xea, 0xdb, 0xfc, 0x7c, 0x84, 0x59, 0xeb, 0xa5, 0x47, 0xb9, 0x29, 0x98, 0xf0, 0x09, - 0x28, 0x9f, 0xd0, 0xe0, 0x54, 0x2e, 0x37, 0xa4, 0x66, 0x45, 0x5f, 0x6d, 0xdd, 0xa8, 0x6d, 0xeb, - 0x73, 0x1a, 0x9c, 0x9a, 0x02, 0x02, 0x4d, 0xb0, 0xec, 0xa1, 0xa8, 0x64, 0x71, 0x61, 0x2c, 0x17, - 0xa3, 0x01, 0x0e, 0xe4, 0x07, 0x82, 0xa9, 0xce, 0x30, 0xe3, 0xaa, 0x18, 0x11, 0xf4, 0x0b, 0x81, - 0x34, 0x97, 0x62, 0x7a, 0x61, 0x0a, 0x76, 0x40, 0x25, 0x16, 0x8b, 0xd2, 0x67, 0xf2, 0xc3, 0xc6, - 0x5c, 0xb3, 0x6a, 0x2c, 0x4f, 0x43, 0xa5, 0x96, 0xe7, 0xff, 0x54, 0xdb, 0xd7, 0x55, 0x13, 0x08, - 0x5c, 0x94, 0x35, 0x8b, 0x58, 0xe2, 0x40, 0x24, 0xac, 0xff, 0xdd, 0xc1, 0x12, 0xb8, 0x98, 0xf5, - 0x0d, 0xa8, 0xbb, 0x84, 0x71, 0x1a, 0x10, 0x1b, 0x79, 0x09, 0xf5, 0x91, 0xa0, 0x7e, 0x34, 0x0d, - 0x15, 0x35, 0xa7, 0x7e, 0xb2, 0xb5, 0xab, 0xab, 0x8d, 0x68, 0x3c, 0x44, 0x67, 0xcf, 0x54, 0xad, - 0xdb, 0xeb, 0xf5, 0x74, 0xad, 0xab, 0x9a, 0xb5, 0x9c, 0x1f, 0x4b, 0x76, 0xc1, 0x3c, 0xe6, 0xae, - 0x66, 0x0d, 0x10, 0x47, 0xf2, 0xbc, 0x28, 0xc4, 0xda, 0x4c, 0x21, 0x0e, 0xb9, 0xab, 0x3d, 0x47, - 0x1c, 0x99, 0x8f, 0x70, 0xf2, 0x05, 0xbf, 0x03, 0xb5, 0x8c, 0x67, 0x4d, 0x28, 0xc7, 0x4c, 0x06, - 0x8d, 0xb9, 0x3b, 0xd9, 0x06, 0x9c, 0x86, 0xca, 0x62, 0xbe, 0xa9, 0x1d, 0xbd, 0xa3, 0x9a, 0x0b, - 0xa9, 0xe2, 0x71, 0xa4, 0x01, 0xb7, 0x00, 0x8c, 0x65, 0xf1, 0x88, 0x32, 0xc2, 0x2d, 0xe2, 0x0f, - 0xf0, 0x99, 0x5c, 0x11, 0x47, 0xb0, 0x2e, 0xa0, 0xf1, 0xc2, 0x8b, 0x68, 0x1e, 0x7e, 0x0f, 0x40, - 0x7e, 0xfe, 0xe4, 0xaa, 0x88, 0xbf, 0x3e, 0x13, 0x3f, 0x3b, 0x71, 0xc6, 0xc6, 0x34, 0x54, 0x1e, - 0x17, 0x36, 0xb0, 0xbf, 0xbf, 0xa7, 0x69, 0x5d, 0xbd, 0xd7, 0xeb, 0x75, 0x55, 0xb3, 0x20, 0x05, - 0x7b, 0xe0, 0x51, 0x1f, 0x79, 0xc8, 0xb7, 0x31, 0x93, 0x17, 0x1a, 0x73, 0xcd, 0xf2, 0xdd, 0xd4, - 0x0c, 0x0c, 0x7b, 0xa0, 0x1a, 0x20, 0x7f, 0x80, 0xa8, 0x35, 0x24, 0x67, 0x98, 0xc9, 0x8b, 0xa2, - 0x3b, 0x2b, 0xd3, 0x50, 0xa9, 0xe7, 0xdd, 0xe9, 0xee, 0xed, 0xed, 0x76, 0x55, 0xb3, 0x12, 0x23, - 0xbf, 0x8a, 0x80, 0x50, 0x07, 0xf3, 0xcc, 0x43, 0xcc, 0x25, 0xbe, 0xc3, 0xe4, 0x9a, 0x08, 0x79, - 0x3b, 0x2b, 0x87, 0xc1, 0x9f, 0xc0, 0xc6, 0x28, 0xc0, 0x13, 0x42, 0xc7, 0xcc, 0xc2, 0x23, 0x6a, - 0xbb, 0x56, 0xc1, 0x10, 0x98, 0x5c, 0x17, 0xf5, 0xf8, 0x70, 0xa6, 0x1e, 0x47, 0xd8, 0x1f, 0x10, - 0xdf, 0xf9, 0x2c, 0xc7, 0xde, 0xe8, 0x4c, 0x67, 0x67, 0xbf, 0xab, 0x9a, 0x6b, 0xa9, 0xf6, 0x61, - 0x24, 0x5d, 0x40, 0x33, 0x38, 0x06, 0xeb, 0xf6, 0x38, 0x08, 0xb0, 0xcf, 0x6f, 0x8b, 0xbb, 0xf4, - 0xdf, 0xe2, 0xca, 0x89, 0xf4, 0x6c, 0xd8, 0x00, 0xc0, 0x1f, 0xc7, 0x8c, 0x93, 0x13, 0x62, 0x8b, - 0x19, 0xab, 0x4f, 0x38, 0x93, 0xa1, 0x70, 0x9c, 0x83, 0x69, 0xa8, 0x54, 0xf3, 0x62, 0x69, 0xea, - 0x55, 0xa8, 0xb4, 0xdf, 0xe8, 0x24, 0x0e, 0xdd, 0xee, 0x13, 0x7e, 0x42, 0xb0, 0x37, 0x68, 0x19, - 0x84, 0x4f, 0xb0, 0xcd, 0x69, 0xd0, 0x31, 0x97, 0xae, 0xc9, 0x1b, 0x84, 0x33, 0x68, 0x81, 0xf7, - 0xb3, 0x1a, 0x27, 0xab, 0x78, 0x60, 0xd9, 0x2e, 0xb6, 0x4f, 0x47, 0x94, 0xf8, 0x5c, 0x5e, 0x16, - 0xff, 0xcc, 0xc6, 0x4c, 0xb6, 0x07, 0x19, 0xc4, 0xcc, 0xba, 0xf4, 0x65, 0x2a, 0x90, 0x2f, 0xc2, - 0xd7, 0xe0, 0xbd, 0xb4, 0x96, 0xb7, 0xea, 0xaf, 0xbc, 0x5d, 0x3f, 0x6d, 0xc6, 0x6d, 0xf2, 0x5f, - 0x83, 0x95, 0x13, 0xe2, 0x23, 0x8f, 0x5c, 0x5c, 0x97, 0x5d, 0x7d, 0xbb, 0xec, 0x72, 0x46, 0xcc, - 0x27, 0xd5, 0x7f, 0x4a, 0x00, 0xce, 0x36, 0x12, 0x0e, 0x41, 0x1d, 0x39, 0x4e, 0x80, 0x9d, 0x42, - 0x63, 0x24, 0xd1, 0x18, 0xe3, 0x5a, 0x8b, 0xf5, 0x9d, 0xce, 0xd3, 0xa8, 0x35, 0x5b, 0xf7, 0x6d, - 0x8d, 0x47, 0x18, 0x37, 0x6b, 0x05, 0x6d, 0xd1, 0x95, 0x0e, 0x28, 0x0b, 0xc3, 0x2a, 0x89, 0x2c, - 0x1a, 0x33, 0x59, 0x14, 0xb6, 0x26, 0x7c, 0x4b, 0xa0, 0x23, 0xcf, 0x22, 0xbe, 0xed, 0x8d, 0x59, - 0xb4, 0xc5, 0x01, 0xf6, 0xd0, 0xf9, 0x3b, 0x5d, 0x3b, 0x8b, 0x99, 0xc8, 0xf3, 0x48, 0x03, 0xbe, - 0x06, 0x8b, 0xa3, 0x80, 0x8e, 0x28, 0xc3, 0x41, 0xe2, 0x57, 0x65, 0xa1, 0xda, 0xbd, 0x0a, 0x15, - 0xfd, 0x3e, 0xaa, 0x99, 0x41, 0x09, 0x57, 0x33, 0x17, 0x52, 0x35, 0x31, 0x54, 0x7f, 0x96, 0xc0, - 0xfc, 0x01, 0x1d, 0x0e, 0x09, 0xe7, 0x18, 0xc3, 0x15, 0xf0, 0x20, 0x8e, 0x11, 0x5f, 0xcb, 0xf1, - 0x20, 0xbb, 0x45, 0x4b, 0xef, 0x7c, 0x8b, 0x6e, 0x5e, 0xb3, 0xd2, 0xb9, 0xc8, 0x80, 0x8a, 0x8e, - 0xa8, 0xfe, 0x2e, 0x81, 0x72, 0x74, 0x93, 0xc2, 0x8f, 0x41, 0x3d, 0xfb, 0x21, 0x26, 0x38, 0x88, - 0xca, 0x90, 0x74, 0xba, 0x7e, 0xfd, 0x17, 0xec, 0xa8, 0x66, 0x2d, 0x45, 0x1e, 0xc7, 0x40, 0xb8, - 0x0f, 0x6a, 0xe9, 0x61, 0x4f, 0xb9, 0xa5, 0x37, 0x70, 0x17, 0x13, 0x60, 0x4a, 0x3d, 0x00, 0x0f, - 0x84, 0xd7, 0x24, 0x2d, 0xdb, 0xbe, 0x0a, 0x95, 0x27, 0xf7, 0xc9, 0x51, 0xd8, 0x88, 0x19, 0x73, - 0x8d, 0x5f, 0xa4, 0x3f, 0x2e, 0x37, 0xa5, 0xbf, 0x2e, 0x37, 0xa5, 0xbf, 0x2f, 0x37, 0x25, 0xb0, - 0x4c, 0x03, 0xe7, 0xe6, 0xd9, 0x31, 0xea, 0x85, 0xc7, 0xd0, 0x51, 0xf4, 0x42, 0x3a, 0x92, 0x7e, - 0xd8, 0xba, 0x2b, 0x92, 0x60, 0xa3, 0x11, 0x11, 0x83, 0xf6, 0x44, 0xfb, 0xb5, 0x54, 0x3b, 0x4c, - 0x35, 0x0f, 0x85, 0xe6, 0x9f, 0xf9, 0xcc, 0xab, 0x43, 0xee, 0xbe, 0x9a, 0x68, 0xfd, 0x87, 0xe2, - 0xf1, 0xb5, 0xfb, 0x6f, 0x00, 0x00, 0x00, 0xff, 0xff, 0xbc, 0x14, 0x90, 0xd7, 0x26, 0x0a, 0x00, - 0x00, + Index github_com_prysmaticlabs_eth2_types.CommitteeIndex `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty" cast-type:"github.com/prysmaticlabs/eth2-types.CommitteeIndex"` + Slot github_com_prysmaticlabs_eth2_types.Slot `protobuf:"varint,2,opt,name=slot,proto3" json:"slot,omitempty" cast-type:"github.com/prysmaticlabs/eth2-types.Slot"` + Validators []github_com_prysmaticlabs_eth2_types.ValidatorIndex `protobuf:"varint,3,rep,packed,name=validators,proto3" json:"validators,omitempty" cast-type:"github.com/prysmaticlabs/eth2-types.ValidatorIndex"` } -func (m *BeaconState) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err +func (x *Committee) Reset() { + *x = Committee{} + if protoimpl.UnsafeEnabled { + mi := &file_eth_v1_beacon_state_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } - return dAtA[:n], nil } -func (m *BeaconState) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) +func (x *Committee) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *BeaconState) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if m.FinalizedCheckpoint != nil { - { - size, err := m.FinalizedCheckpoint.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintBeaconState(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x1 - i-- - dAtA[i] = 0xaa - } - if m.CurrentJustifiedCheckpoint != nil { - { - size, err := m.CurrentJustifiedCheckpoint.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintBeaconState(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x1 - i-- - dAtA[i] = 0xa2 - } - if m.PreviousJustifiedCheckpoint != nil { - { - size, err := m.PreviousJustifiedCheckpoint.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintBeaconState(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x1 - i-- - dAtA[i] = 0x9a - } - if len(m.JustificationBits) > 0 { - i -= len(m.JustificationBits) - copy(dAtA[i:], m.JustificationBits) - i = encodeVarintBeaconState(dAtA, i, uint64(len(m.JustificationBits))) - i-- - dAtA[i] = 0x1 - i-- - dAtA[i] = 0x92 - } - if len(m.CurrentEpochAttestations) > 0 { - for iNdEx := len(m.CurrentEpochAttestations) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.CurrentEpochAttestations[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintBeaconState(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x1 - i-- - dAtA[i] = 0x8a - } - } - if len(m.PreviousEpochAttestations) > 0 { - for iNdEx := len(m.PreviousEpochAttestations) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.PreviousEpochAttestations[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintBeaconState(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x1 - i-- - dAtA[i] = 0x82 - } - } - if len(m.Slashings) > 0 { - dAtA5 := make([]byte, len(m.Slashings)*10) - var j4 int - for _, num := range m.Slashings { - for num >= 1<<7 { - dAtA5[j4] = uint8(uint64(num)&0x7f | 0x80) - num >>= 7 - j4++ - } - dAtA5[j4] = uint8(num) - j4++ - } - i -= j4 - copy(dAtA[i:], dAtA5[:j4]) - i = encodeVarintBeaconState(dAtA, i, uint64(j4)) - i-- - dAtA[i] = 0x7a - } - if len(m.RandaoMixes) > 0 { - for iNdEx := len(m.RandaoMixes) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.RandaoMixes[iNdEx]) - copy(dAtA[i:], m.RandaoMixes[iNdEx]) - i = encodeVarintBeaconState(dAtA, i, uint64(len(m.RandaoMixes[iNdEx]))) - i-- - dAtA[i] = 0x72 - } - } - if len(m.Balances) > 0 { - dAtA7 := make([]byte, len(m.Balances)*10) - var j6 int - for _, num := range m.Balances { - for num >= 1<<7 { - dAtA7[j6] = uint8(uint64(num)&0x7f | 0x80) - num >>= 7 - j6++ - } - dAtA7[j6] = uint8(num) - j6++ - } - i -= j6 - copy(dAtA[i:], dAtA7[:j6]) - i = encodeVarintBeaconState(dAtA, i, uint64(j6)) - i-- - dAtA[i] = 0x6a - } - if len(m.Validators) > 0 { - for iNdEx := len(m.Validators) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Validators[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintBeaconState(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x62 - } - } - if m.Eth1DepositIndex != 0 { - i = encodeVarintBeaconState(dAtA, i, uint64(m.Eth1DepositIndex)) - i-- - dAtA[i] = 0x58 - } - if len(m.Eth1DataVotes) > 0 { - for iNdEx := len(m.Eth1DataVotes) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Eth1DataVotes[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintBeaconState(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x52 - } - } - if m.Eth1Data != nil { - { - size, err := m.Eth1Data.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintBeaconState(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x4a - } - if len(m.HistoricalRoots) > 0 { - for iNdEx := len(m.HistoricalRoots) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.HistoricalRoots[iNdEx]) - copy(dAtA[i:], m.HistoricalRoots[iNdEx]) - i = encodeVarintBeaconState(dAtA, i, uint64(len(m.HistoricalRoots[iNdEx]))) - i-- - dAtA[i] = 0x42 - } - } - if len(m.StateRoots) > 0 { - for iNdEx := len(m.StateRoots) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.StateRoots[iNdEx]) - copy(dAtA[i:], m.StateRoots[iNdEx]) - i = encodeVarintBeaconState(dAtA, i, uint64(len(m.StateRoots[iNdEx]))) - i-- - dAtA[i] = 0x3a - } - } - if len(m.BlockRoots) > 0 { - for iNdEx := len(m.BlockRoots) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.BlockRoots[iNdEx]) - copy(dAtA[i:], m.BlockRoots[iNdEx]) - i = encodeVarintBeaconState(dAtA, i, uint64(len(m.BlockRoots[iNdEx]))) - i-- - dAtA[i] = 0x32 - } - } - if m.LatestBlockHeader != nil { - { - size, err := m.LatestBlockHeader.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintBeaconState(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x2a - } - if m.Fork != nil { - { - size, err := m.Fork.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintBeaconState(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x22 - } - if m.Slot != 0 { - i = encodeVarintBeaconState(dAtA, i, uint64(m.Slot)) - i-- - dAtA[i] = 0x18 - } - if len(m.GenesisValidatorsRoot) > 0 { - i -= len(m.GenesisValidatorsRoot) - copy(dAtA[i:], m.GenesisValidatorsRoot) - i = encodeVarintBeaconState(dAtA, i, uint64(len(m.GenesisValidatorsRoot))) - i-- - dAtA[i] = 0x12 - } - if m.GenesisTime != 0 { - i = encodeVarintBeaconState(dAtA, i, uint64(m.GenesisTime)) - i-- - dAtA[i] = 0x8 - } - return len(dAtA) - i, nil -} +func (*Committee) ProtoMessage() {} -func (m *PendingAttestation) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err +func (x *Committee) ProtoReflect() protoreflect.Message { + mi := &file_eth_v1_beacon_state_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 dAtA[:n], nil + return mi.MessageOf(x) } -func (m *PendingAttestation) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) +// Deprecated: Use Committee.ProtoReflect.Descriptor instead. +func (*Committee) Descriptor() ([]byte, []int) { + return file_eth_v1_beacon_state_proto_rawDescGZIP(), []int{2} } -func (m *PendingAttestation) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if m.ProposerIndex != 0 { - i = encodeVarintBeaconState(dAtA, i, uint64(m.ProposerIndex)) - i-- - dAtA[i] = 0x20 - } - if m.InclusionDelay != 0 { - i = encodeVarintBeaconState(dAtA, i, uint64(m.InclusionDelay)) - i-- - dAtA[i] = 0x18 - } - if m.Data != nil { - { - size, err := m.Data.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintBeaconState(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 +func (x *Committee) GetIndex() github_com_prysmaticlabs_eth2_types.CommitteeIndex { + if x != nil { + return x.Index } - if len(m.AggregationBits) > 0 { - i -= len(m.AggregationBits) - copy(dAtA[i:], m.AggregationBits) - i = encodeVarintBeaconState(dAtA, i, uint64(len(m.AggregationBits))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil + return github_com_prysmaticlabs_eth2_types.CommitteeIndex(0) } -func (m *Committee) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err +func (x *Committee) GetSlot() github_com_prysmaticlabs_eth2_types.Slot { + if x != nil { + return x.Slot } - return dAtA[:n], nil -} - -func (m *Committee) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) + return github_com_prysmaticlabs_eth2_types.Slot(0) } -func (m *Committee) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if len(m.Validators) > 0 { - dAtA13 := make([]byte, len(m.Validators)*10) - var j12 int - for _, num := range m.Validators { - for num >= 1<<7 { - dAtA13[j12] = uint8(uint64(num)&0x7f | 0x80) - num >>= 7 - j12++ - } - dAtA13[j12] = uint8(num) - j12++ - } - i -= j12 - copy(dAtA[i:], dAtA13[:j12]) - i = encodeVarintBeaconState(dAtA, i, uint64(j12)) - i-- - dAtA[i] = 0x1a - } - if m.Slot != 0 { - i = encodeVarintBeaconState(dAtA, i, uint64(m.Slot)) - i-- - dAtA[i] = 0x10 +func (x *Committee) GetValidators() []github_com_prysmaticlabs_eth2_types.ValidatorIndex { + if x != nil { + return x.Validators } - if m.Index != 0 { - i = encodeVarintBeaconState(dAtA, i, uint64(m.Index)) - i-- - dAtA[i] = 0x8 - } - return len(dAtA) - i, nil + return []github_com_prysmaticlabs_eth2_types.ValidatorIndex(nil) } -func (m *Fork) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} +type Fork struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *Fork) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) + PreviousVersion []byte `protobuf:"bytes,1,opt,name=previous_version,json=previousVersion,proto3" json:"previous_version,omitempty" ssz-size:"4"` + CurrentVersion []byte `protobuf:"bytes,2,opt,name=current_version,json=currentVersion,proto3" json:"current_version,omitempty" ssz-size:"4"` + Epoch github_com_prysmaticlabs_eth2_types.Epoch `protobuf:"varint,3,opt,name=epoch,proto3" json:"epoch,omitempty" cast-type:"github.com/prysmaticlabs/eth2-types.Epoch"` } -func (m *Fork) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if m.Epoch != 0 { - i = encodeVarintBeaconState(dAtA, i, uint64(m.Epoch)) - i-- - dAtA[i] = 0x18 - } - if len(m.CurrentVersion) > 0 { - i -= len(m.CurrentVersion) - copy(dAtA[i:], m.CurrentVersion) - i = encodeVarintBeaconState(dAtA, i, uint64(len(m.CurrentVersion))) - i-- - dAtA[i] = 0x12 +func (x *Fork) Reset() { + *x = Fork{} + if protoimpl.UnsafeEnabled { + mi := &file_eth_v1_beacon_state_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } - if len(m.PreviousVersion) > 0 { - i -= len(m.PreviousVersion) - copy(dAtA[i:], m.PreviousVersion) - i = encodeVarintBeaconState(dAtA, i, uint64(len(m.PreviousVersion))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil } -func encodeVarintBeaconState(dAtA []byte, offset int, v uint64) int { - offset -= sovBeaconState(v) - base := offset - for v >= 1<<7 { - dAtA[offset] = uint8(v&0x7f | 0x80) - v >>= 7 - offset++ - } - dAtA[offset] = uint8(v) - return base -} -func (m *BeaconState) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.GenesisTime != 0 { - n += 1 + sovBeaconState(uint64(m.GenesisTime)) - } - l = len(m.GenesisValidatorsRoot) - if l > 0 { - n += 1 + l + sovBeaconState(uint64(l)) - } - if m.Slot != 0 { - n += 1 + sovBeaconState(uint64(m.Slot)) - } - if m.Fork != nil { - l = m.Fork.Size() - n += 1 + l + sovBeaconState(uint64(l)) - } - if m.LatestBlockHeader != nil { - l = m.LatestBlockHeader.Size() - n += 1 + l + sovBeaconState(uint64(l)) - } - if len(m.BlockRoots) > 0 { - for _, b := range m.BlockRoots { - l = len(b) - n += 1 + l + sovBeaconState(uint64(l)) - } - } - if len(m.StateRoots) > 0 { - for _, b := range m.StateRoots { - l = len(b) - n += 1 + l + sovBeaconState(uint64(l)) - } - } - if len(m.HistoricalRoots) > 0 { - for _, b := range m.HistoricalRoots { - l = len(b) - n += 1 + l + sovBeaconState(uint64(l)) - } - } - if m.Eth1Data != nil { - l = m.Eth1Data.Size() - n += 1 + l + sovBeaconState(uint64(l)) - } - if len(m.Eth1DataVotes) > 0 { - for _, e := range m.Eth1DataVotes { - l = e.Size() - n += 1 + l + sovBeaconState(uint64(l)) - } - } - if m.Eth1DepositIndex != 0 { - n += 1 + sovBeaconState(uint64(m.Eth1DepositIndex)) - } - if len(m.Validators) > 0 { - for _, e := range m.Validators { - l = e.Size() - n += 1 + l + sovBeaconState(uint64(l)) - } - } - if len(m.Balances) > 0 { - l = 0 - for _, e := range m.Balances { - l += sovBeaconState(uint64(e)) - } - n += 1 + sovBeaconState(uint64(l)) + l - } - if len(m.RandaoMixes) > 0 { - for _, b := range m.RandaoMixes { - l = len(b) - n += 1 + l + sovBeaconState(uint64(l)) - } - } - if len(m.Slashings) > 0 { - l = 0 - for _, e := range m.Slashings { - l += sovBeaconState(uint64(e)) - } - n += 1 + sovBeaconState(uint64(l)) + l - } - if len(m.PreviousEpochAttestations) > 0 { - for _, e := range m.PreviousEpochAttestations { - l = e.Size() - n += 2 + l + sovBeaconState(uint64(l)) - } - } - if len(m.CurrentEpochAttestations) > 0 { - for _, e := range m.CurrentEpochAttestations { - l = e.Size() - n += 2 + l + sovBeaconState(uint64(l)) - } - } - l = len(m.JustificationBits) - if l > 0 { - n += 2 + l + sovBeaconState(uint64(l)) - } - if m.PreviousJustifiedCheckpoint != nil { - l = m.PreviousJustifiedCheckpoint.Size() - n += 2 + l + sovBeaconState(uint64(l)) - } - if m.CurrentJustifiedCheckpoint != nil { - l = m.CurrentJustifiedCheckpoint.Size() - n += 2 + l + sovBeaconState(uint64(l)) - } - if m.FinalizedCheckpoint != nil { - l = m.FinalizedCheckpoint.Size() - n += 2 + l + sovBeaconState(uint64(l)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n +func (x *Fork) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *PendingAttestation) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.AggregationBits) - if l > 0 { - n += 1 + l + sovBeaconState(uint64(l)) - } - if m.Data != nil { - l = m.Data.Size() - n += 1 + l + sovBeaconState(uint64(l)) - } - if m.InclusionDelay != 0 { - n += 1 + sovBeaconState(uint64(m.InclusionDelay)) - } - if m.ProposerIndex != 0 { - n += 1 + sovBeaconState(uint64(m.ProposerIndex)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} +func (*Fork) ProtoMessage() {} -func (m *Committee) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Index != 0 { - n += 1 + sovBeaconState(uint64(m.Index)) - } - if m.Slot != 0 { - n += 1 + sovBeaconState(uint64(m.Slot)) - } - if len(m.Validators) > 0 { - l = 0 - for _, e := range m.Validators { - l += sovBeaconState(uint64(e)) +func (x *Fork) ProtoReflect() protoreflect.Message { + mi := &file_eth_v1_beacon_state_proto_msgTypes[3] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - n += 1 + sovBeaconState(uint64(l)) + l - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) + return ms } - return n + return mi.MessageOf(x) } -func (m *Fork) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.PreviousVersion) - if l > 0 { - n += 1 + l + sovBeaconState(uint64(l)) - } - l = len(m.CurrentVersion) - if l > 0 { - n += 1 + l + sovBeaconState(uint64(l)) - } - if m.Epoch != 0 { - n += 1 + sovBeaconState(uint64(m.Epoch)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func sovBeaconState(x uint64) (n int) { - return (math_bits.Len64(x|1) + 6) / 7 -} -func sozBeaconState(x uint64) (n int) { - return sovBeaconState(uint64((x << 1) ^ uint64((int64(x) >> 63)))) -} -func (m *BeaconState) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconState - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: BeaconState: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: BeaconState: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field GenesisTime", wireType) - } - m.GenesisTime = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconState - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.GenesisTime |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field GenesisValidatorsRoot", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconState - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return ErrInvalidLengthBeaconState - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthBeaconState - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.GenesisValidatorsRoot = append(m.GenesisValidatorsRoot[:0], dAtA[iNdEx:postIndex]...) - if m.GenesisValidatorsRoot == nil { - m.GenesisValidatorsRoot = []byte{} - } - iNdEx = postIndex - case 3: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Slot", wireType) - } - m.Slot = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconState - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Slot |= github_com_prysmaticlabs_eth2_types.Slot(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Fork", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconState - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthBeaconState - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthBeaconState - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Fork == nil { - m.Fork = &Fork{} - } - if err := m.Fork.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 5: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field LatestBlockHeader", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconState - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthBeaconState - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthBeaconState - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.LatestBlockHeader == nil { - m.LatestBlockHeader = &BeaconBlockHeader{} - } - if err := m.LatestBlockHeader.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 6: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field BlockRoots", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconState - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return ErrInvalidLengthBeaconState - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthBeaconState - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.BlockRoots = append(m.BlockRoots, make([]byte, postIndex-iNdEx)) - copy(m.BlockRoots[len(m.BlockRoots)-1], dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 7: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field StateRoots", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconState - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return ErrInvalidLengthBeaconState - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthBeaconState - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.StateRoots = append(m.StateRoots, make([]byte, postIndex-iNdEx)) - copy(m.StateRoots[len(m.StateRoots)-1], dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 8: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field HistoricalRoots", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconState - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return ErrInvalidLengthBeaconState - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthBeaconState - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.HistoricalRoots = append(m.HistoricalRoots, make([]byte, postIndex-iNdEx)) - copy(m.HistoricalRoots[len(m.HistoricalRoots)-1], dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 9: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Eth1Data", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconState - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthBeaconState - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthBeaconState - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Eth1Data == nil { - m.Eth1Data = &Eth1Data{} - } - if err := m.Eth1Data.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 10: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Eth1DataVotes", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconState - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthBeaconState - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthBeaconState - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Eth1DataVotes = append(m.Eth1DataVotes, &Eth1Data{}) - if err := m.Eth1DataVotes[len(m.Eth1DataVotes)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 11: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Eth1DepositIndex", wireType) - } - m.Eth1DepositIndex = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconState - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Eth1DepositIndex |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 12: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Validators", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconState - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthBeaconState - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthBeaconState - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Validators = append(m.Validators, &Validator{}) - if err := m.Validators[len(m.Validators)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 13: - if wireType == 0 { - var v uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconState - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.Balances = append(m.Balances, v) - } else if wireType == 2 { - var packedLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconState - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - packedLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if packedLen < 0 { - return ErrInvalidLengthBeaconState - } - postIndex := iNdEx + packedLen - if postIndex < 0 { - return ErrInvalidLengthBeaconState - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - var elementCount int - var count int - for _, integer := range dAtA[iNdEx:postIndex] { - if integer < 128 { - count++ - } - } - elementCount = count - if elementCount != 0 && len(m.Balances) == 0 { - m.Balances = make([]uint64, 0, elementCount) - } - for iNdEx < postIndex { - var v uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconState - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.Balances = append(m.Balances, v) - } - } else { - return fmt.Errorf("proto: wrong wireType = %d for field Balances", wireType) - } - case 14: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field RandaoMixes", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconState - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return ErrInvalidLengthBeaconState - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthBeaconState - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.RandaoMixes = append(m.RandaoMixes, make([]byte, postIndex-iNdEx)) - copy(m.RandaoMixes[len(m.RandaoMixes)-1], dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 15: - if wireType == 0 { - var v uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconState - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.Slashings = append(m.Slashings, v) - } else if wireType == 2 { - var packedLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconState - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - packedLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if packedLen < 0 { - return ErrInvalidLengthBeaconState - } - postIndex := iNdEx + packedLen - if postIndex < 0 { - return ErrInvalidLengthBeaconState - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - var elementCount int - var count int - for _, integer := range dAtA[iNdEx:postIndex] { - if integer < 128 { - count++ - } - } - elementCount = count - if elementCount != 0 && len(m.Slashings) == 0 { - m.Slashings = make([]uint64, 0, elementCount) - } - for iNdEx < postIndex { - var v uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconState - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.Slashings = append(m.Slashings, v) - } - } else { - return fmt.Errorf("proto: wrong wireType = %d for field Slashings", wireType) - } - case 16: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field PreviousEpochAttestations", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconState - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthBeaconState - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthBeaconState - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.PreviousEpochAttestations = append(m.PreviousEpochAttestations, &PendingAttestation{}) - if err := m.PreviousEpochAttestations[len(m.PreviousEpochAttestations)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 17: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field CurrentEpochAttestations", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconState - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthBeaconState - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthBeaconState - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.CurrentEpochAttestations = append(m.CurrentEpochAttestations, &PendingAttestation{}) - if err := m.CurrentEpochAttestations[len(m.CurrentEpochAttestations)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 18: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field JustificationBits", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconState - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return ErrInvalidLengthBeaconState - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthBeaconState - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.JustificationBits = append(m.JustificationBits[:0], dAtA[iNdEx:postIndex]...) - if m.JustificationBits == nil { - m.JustificationBits = []byte{} - } - iNdEx = postIndex - case 19: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field PreviousJustifiedCheckpoint", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconState - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthBeaconState - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthBeaconState - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.PreviousJustifiedCheckpoint == nil { - m.PreviousJustifiedCheckpoint = &Checkpoint{} - } - if err := m.PreviousJustifiedCheckpoint.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 20: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field CurrentJustifiedCheckpoint", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconState - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthBeaconState - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthBeaconState - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.CurrentJustifiedCheckpoint == nil { - m.CurrentJustifiedCheckpoint = &Checkpoint{} - } - if err := m.CurrentJustifiedCheckpoint.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 21: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field FinalizedCheckpoint", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconState - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthBeaconState - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthBeaconState - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.FinalizedCheckpoint == nil { - m.FinalizedCheckpoint = &Checkpoint{} - } - if err := m.FinalizedCheckpoint.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipBeaconState(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthBeaconState - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthBeaconState - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil +// Deprecated: Use Fork.ProtoReflect.Descriptor instead. +func (*Fork) Descriptor() ([]byte, []int) { + return file_eth_v1_beacon_state_proto_rawDescGZIP(), []int{3} } -func (m *PendingAttestation) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconState - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: PendingAttestation: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: PendingAttestation: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AggregationBits", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconState - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return ErrInvalidLengthBeaconState - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthBeaconState - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.AggregationBits = append(m.AggregationBits[:0], dAtA[iNdEx:postIndex]...) - if m.AggregationBits == nil { - m.AggregationBits = []byte{} - } - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Data", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconState - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthBeaconState - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthBeaconState - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Data == nil { - m.Data = &AttestationData{} - } - if err := m.Data.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 3: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field InclusionDelay", wireType) - } - m.InclusionDelay = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconState - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.InclusionDelay |= github_com_prysmaticlabs_eth2_types.Slot(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 4: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field ProposerIndex", wireType) - } - m.ProposerIndex = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconState - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.ProposerIndex |= github_com_prysmaticlabs_eth2_types.ValidatorIndex(b&0x7F) << shift - if b < 0x80 { - break - } - } - default: - iNdEx = preIndex - skippy, err := skipBeaconState(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthBeaconState - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthBeaconState - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - if iNdEx > l { - return io.ErrUnexpectedEOF +func (x *Fork) GetPreviousVersion() []byte { + if x != nil { + return x.PreviousVersion } return nil } -func (m *Committee) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconState - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: Committee: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: Committee: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Index", wireType) - } - m.Index = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconState - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Index |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 2: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Slot", wireType) - } - m.Slot = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconState - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Slot |= github_com_prysmaticlabs_eth2_types.Slot(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 3: - if wireType == 0 { - var v uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconState - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.Validators = append(m.Validators, v) - } else if wireType == 2 { - var packedLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconState - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - packedLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if packedLen < 0 { - return ErrInvalidLengthBeaconState - } - postIndex := iNdEx + packedLen - if postIndex < 0 { - return ErrInvalidLengthBeaconState - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - var elementCount int - var count int - for _, integer := range dAtA[iNdEx:postIndex] { - if integer < 128 { - count++ - } - } - elementCount = count - if elementCount != 0 && len(m.Validators) == 0 { - m.Validators = make([]uint64, 0, elementCount) - } - for iNdEx < postIndex { - var v uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconState - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.Validators = append(m.Validators, v) - } - } else { - return fmt.Errorf("proto: wrong wireType = %d for field Validators", wireType) - } - default: - iNdEx = preIndex - skippy, err := skipBeaconState(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthBeaconState - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthBeaconState - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - if iNdEx > l { - return io.ErrUnexpectedEOF +func (x *Fork) GetCurrentVersion() []byte { + if x != nil { + return x.CurrentVersion } return nil } -func (m *Fork) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconState - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: Fork: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: Fork: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field PreviousVersion", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconState - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return ErrInvalidLengthBeaconState - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthBeaconState - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.PreviousVersion = append(m.PreviousVersion[:0], dAtA[iNdEx:postIndex]...) - if m.PreviousVersion == nil { - m.PreviousVersion = []byte{} - } - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field CurrentVersion", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconState - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return ErrInvalidLengthBeaconState - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthBeaconState - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.CurrentVersion = append(m.CurrentVersion[:0], dAtA[iNdEx:postIndex]...) - if m.CurrentVersion == nil { - m.CurrentVersion = []byte{} - } - iNdEx = postIndex - case 3: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Epoch", wireType) - } - m.Epoch = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconState - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Epoch |= github_com_prysmaticlabs_eth2_types.Epoch(b&0x7F) << shift - if b < 0x80 { - break - } - } - default: - iNdEx = preIndex - skippy, err := skipBeaconState(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthBeaconState - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthBeaconState - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func skipBeaconState(dAtA []byte) (n int, err error) { - l := len(dAtA) - iNdEx := 0 - depth := 0 - for iNdEx < l { - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return 0, ErrIntOverflowBeaconState - } - if iNdEx >= l { - return 0, io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= (uint64(b) & 0x7F) << shift - if b < 0x80 { - break - } - } - wireType := int(wire & 0x7) - switch wireType { - case 0: - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return 0, ErrIntOverflowBeaconState - } - if iNdEx >= l { - return 0, io.ErrUnexpectedEOF - } - iNdEx++ - if dAtA[iNdEx-1] < 0x80 { - break - } - } - case 1: - iNdEx += 8 - case 2: - var length int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return 0, ErrIntOverflowBeaconState - } - if iNdEx >= l { - return 0, io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - length |= (int(b) & 0x7F) << shift - if b < 0x80 { - break - } - } - if length < 0 { - return 0, ErrInvalidLengthBeaconState - } - iNdEx += length - case 3: - depth++ - case 4: - if depth == 0 { - return 0, ErrUnexpectedEndOfGroupBeaconState - } - depth-- - case 5: - iNdEx += 4 - default: - return 0, fmt.Errorf("proto: illegal wireType %d", wireType) - } - if iNdEx < 0 { - return 0, ErrInvalidLengthBeaconState - } - if depth == 0 { - return iNdEx, nil - } - } - return 0, io.ErrUnexpectedEOF +func (x *Fork) GetEpoch() github_com_prysmaticlabs_eth2_types.Epoch { + if x != nil { + return x.Epoch + } + return github_com_prysmaticlabs_eth2_types.Epoch(0) +} + +var File_eth_v1_beacon_state_proto protoreflect.FileDescriptor + +var file_eth_v1_beacon_state_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x65, 0x74, 0x68, 0x2f, 0x76, 0x31, 0x2f, 0x62, 0x65, 0x61, 0x63, 0x6f, 0x6e, 0x5f, + 0x73, 0x74, 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0f, 0x65, 0x74, 0x68, + 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x1a, 0x20, 0x67, 0x6f, + 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x64, 0x65, + 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x15, + 0x65, 0x74, 0x68, 0x2f, 0x65, 0x78, 0x74, 0x2f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x18, 0x65, 0x74, 0x68, 0x2f, 0x76, 0x31, 0x2f, 0x61, 0x74, + 0x74, 0x65, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, + 0x19, 0x65, 0x74, 0x68, 0x2f, 0x76, 0x31, 0x2f, 0x62, 0x65, 0x61, 0x63, 0x6f, 0x6e, 0x5f, 0x62, + 0x6c, 0x6f, 0x63, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x16, 0x65, 0x74, 0x68, 0x2f, + 0x76, 0x31, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x22, 0xa3, 0x0b, 0x0a, 0x0b, 0x42, 0x65, 0x61, 0x63, 0x6f, 0x6e, 0x53, 0x74, 0x61, + 0x74, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x67, 0x65, 0x6e, 0x65, 0x73, 0x69, 0x73, 0x5f, 0x74, 0x69, + 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0b, 0x67, 0x65, 0x6e, 0x65, 0x73, 0x69, + 0x73, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x3e, 0x0a, 0x17, 0x67, 0x65, 0x6e, 0x65, 0x73, 0x69, 0x73, + 0x5f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x73, 0x5f, 0x72, 0x6f, 0x6f, 0x74, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x42, 0x06, 0x8a, 0xb5, 0x18, 0x02, 0x33, 0x32, 0x52, 0x15, + 0x67, 0x65, 0x6e, 0x65, 0x73, 0x69, 0x73, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, + 0x73, 0x52, 0x6f, 0x6f, 0x74, 0x12, 0x40, 0x0a, 0x04, 0x73, 0x6c, 0x6f, 0x74, 0x18, 0x03, 0x20, + 0x01, 0x28, 0x04, 0x42, 0x2c, 0x82, 0xb5, 0x18, 0x28, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, + 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x72, 0x79, 0x73, 0x6d, 0x61, 0x74, 0x69, 0x63, 0x6c, 0x61, 0x62, + 0x73, 0x2f, 0x65, 0x74, 0x68, 0x32, 0x2d, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x53, 0x6c, 0x6f, + 0x74, 0x52, 0x04, 0x73, 0x6c, 0x6f, 0x74, 0x12, 0x29, 0x0a, 0x04, 0x66, 0x6f, 0x72, 0x6b, 0x18, + 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, + 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x6f, 0x72, 0x6b, 0x52, 0x04, 0x66, 0x6f, + 0x72, 0x6b, 0x12, 0x52, 0x0a, 0x13, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x5f, 0x62, 0x6c, 0x6f, + 0x63, 0x6b, 0x5f, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x22, 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, + 0x31, 0x2e, 0x42, 0x65, 0x61, 0x63, 0x6f, 0x6e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x65, 0x61, + 0x64, 0x65, 0x72, 0x52, 0x11, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, + 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x12, 0x29, 0x0a, 0x0b, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, + 0x72, 0x6f, 0x6f, 0x74, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0c, 0x42, 0x08, 0x8a, 0xb5, 0x18, + 0x04, 0x38, 0x31, 0x39, 0x32, 0x52, 0x0a, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x6f, 0x6f, 0x74, + 0x73, 0x12, 0x29, 0x0a, 0x0b, 0x73, 0x74, 0x61, 0x74, 0x65, 0x5f, 0x72, 0x6f, 0x6f, 0x74, 0x73, + 0x18, 0x07, 0x20, 0x03, 0x28, 0x0c, 0x42, 0x08, 0x8a, 0xb5, 0x18, 0x04, 0x38, 0x31, 0x39, 0x32, + 0x52, 0x0a, 0x73, 0x74, 0x61, 0x74, 0x65, 0x52, 0x6f, 0x6f, 0x74, 0x73, 0x12, 0x3d, 0x0a, 0x10, + 0x68, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x69, 0x63, 0x61, 0x6c, 0x5f, 0x72, 0x6f, 0x6f, 0x74, 0x73, + 0x18, 0x08, 0x20, 0x03, 0x28, 0x0c, 0x42, 0x12, 0x8a, 0xb5, 0x18, 0x02, 0x33, 0x32, 0x92, 0xb5, + 0x18, 0x08, 0x31, 0x36, 0x37, 0x37, 0x37, 0x32, 0x31, 0x36, 0x52, 0x0f, 0x68, 0x69, 0x73, 0x74, + 0x6f, 0x72, 0x69, 0x63, 0x61, 0x6c, 0x52, 0x6f, 0x6f, 0x74, 0x73, 0x12, 0x36, 0x0a, 0x09, 0x65, + 0x74, 0x68, 0x31, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, + 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, + 0x2e, 0x45, 0x74, 0x68, 0x31, 0x44, 0x61, 0x74, 0x61, 0x52, 0x08, 0x65, 0x74, 0x68, 0x31, 0x44, + 0x61, 0x74, 0x61, 0x12, 0x4b, 0x0a, 0x0f, 0x65, 0x74, 0x68, 0x31, 0x5f, 0x64, 0x61, 0x74, 0x61, + 0x5f, 0x76, 0x6f, 0x74, 0x65, 0x73, 0x18, 0x0a, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x65, + 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x45, + 0x74, 0x68, 0x31, 0x44, 0x61, 0x74, 0x61, 0x42, 0x08, 0x92, 0xb5, 0x18, 0x04, 0x31, 0x30, 0x32, + 0x34, 0x52, 0x0d, 0x65, 0x74, 0x68, 0x31, 0x44, 0x61, 0x74, 0x61, 0x56, 0x6f, 0x74, 0x65, 0x73, + 0x12, 0x2c, 0x0a, 0x12, 0x65, 0x74, 0x68, 0x31, 0x5f, 0x64, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, + 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x04, 0x52, 0x10, 0x65, 0x74, + 0x68, 0x31, 0x44, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x4d, + 0x0a, 0x0a, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x73, 0x18, 0x0c, 0x20, 0x03, + 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, + 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x42, 0x11, + 0x92, 0xb5, 0x18, 0x0d, 0x31, 0x30, 0x39, 0x39, 0x35, 0x31, 0x31, 0x36, 0x32, 0x37, 0x37, 0x37, + 0x36, 0x52, 0x0a, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x73, 0x12, 0x2d, 0x0a, + 0x08, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x18, 0x0d, 0x20, 0x03, 0x28, 0x04, 0x42, + 0x11, 0x92, 0xb5, 0x18, 0x0d, 0x31, 0x30, 0x39, 0x39, 0x35, 0x31, 0x31, 0x36, 0x32, 0x37, 0x37, + 0x37, 0x36, 0x52, 0x08, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x12, 0x2c, 0x0a, 0x0c, + 0x72, 0x61, 0x6e, 0x64, 0x61, 0x6f, 0x5f, 0x6d, 0x69, 0x78, 0x65, 0x73, 0x18, 0x0e, 0x20, 0x03, + 0x28, 0x0c, 0x42, 0x09, 0x8a, 0xb5, 0x18, 0x05, 0x36, 0x35, 0x35, 0x33, 0x36, 0x52, 0x0b, 0x72, + 0x61, 0x6e, 0x64, 0x61, 0x6f, 0x4d, 0x69, 0x78, 0x65, 0x73, 0x12, 0x27, 0x0a, 0x09, 0x73, 0x6c, + 0x61, 0x73, 0x68, 0x69, 0x6e, 0x67, 0x73, 0x18, 0x0f, 0x20, 0x03, 0x28, 0x04, 0x42, 0x09, 0x8a, + 0xb5, 0x18, 0x05, 0x36, 0x35, 0x35, 0x33, 0x36, 0x52, 0x09, 0x73, 0x6c, 0x61, 0x73, 0x68, 0x69, + 0x6e, 0x67, 0x73, 0x12, 0x6d, 0x0a, 0x1b, 0x70, 0x72, 0x65, 0x76, 0x69, 0x6f, 0x75, 0x73, 0x5f, + 0x65, 0x70, 0x6f, 0x63, 0x68, 0x5f, 0x61, 0x74, 0x74, 0x65, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x73, 0x18, 0x10, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, + 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x65, 0x6e, 0x64, 0x69, + 0x6e, 0x67, 0x41, 0x74, 0x74, 0x65, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x08, 0x92, + 0xb5, 0x18, 0x04, 0x34, 0x30, 0x39, 0x36, 0x52, 0x19, 0x70, 0x72, 0x65, 0x76, 0x69, 0x6f, 0x75, + 0x73, 0x45, 0x70, 0x6f, 0x63, 0x68, 0x41, 0x74, 0x74, 0x65, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x73, 0x12, 0x6b, 0x0a, 0x1a, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x65, 0x70, + 0x6f, 0x63, 0x68, 0x5f, 0x61, 0x74, 0x74, 0x65, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, + 0x18, 0x11, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, + 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x65, 0x6e, 0x64, 0x69, 0x6e, 0x67, + 0x41, 0x74, 0x74, 0x65, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x08, 0x92, 0xb5, 0x18, + 0x04, 0x34, 0x30, 0x39, 0x36, 0x52, 0x18, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x45, 0x70, + 0x6f, 0x63, 0x68, 0x41, 0x74, 0x74, 0x65, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, + 0x67, 0x0a, 0x12, 0x6a, 0x75, 0x73, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x5f, 0x62, 0x69, 0x74, 0x73, 0x18, 0x12, 0x20, 0x01, 0x28, 0x0c, 0x42, 0x38, 0x8a, 0xb5, 0x18, + 0x01, 0x31, 0x82, 0xb5, 0x18, 0x2f, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, + 0x2f, 0x70, 0x72, 0x79, 0x73, 0x6d, 0x61, 0x74, 0x69, 0x63, 0x6c, 0x61, 0x62, 0x73, 0x2f, 0x67, + 0x6f, 0x2d, 0x62, 0x69, 0x74, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x2e, 0x42, 0x69, 0x74, 0x76, 0x65, + 0x63, 0x74, 0x6f, 0x72, 0x34, 0x52, 0x11, 0x6a, 0x75, 0x73, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x69, 0x74, 0x73, 0x12, 0x5f, 0x0a, 0x1d, 0x70, 0x72, 0x65, 0x76, + 0x69, 0x6f, 0x75, 0x73, 0x5f, 0x6a, 0x75, 0x73, 0x74, 0x69, 0x66, 0x69, 0x65, 0x64, 0x5f, 0x63, + 0x68, 0x65, 0x63, 0x6b, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x18, 0x13, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x1b, 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, + 0x31, 0x2e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x52, 0x1b, 0x70, 0x72, + 0x65, 0x76, 0x69, 0x6f, 0x75, 0x73, 0x4a, 0x75, 0x73, 0x74, 0x69, 0x66, 0x69, 0x65, 0x64, 0x43, + 0x68, 0x65, 0x63, 0x6b, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x12, 0x5d, 0x0a, 0x1c, 0x63, 0x75, 0x72, + 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x6a, 0x75, 0x73, 0x74, 0x69, 0x66, 0x69, 0x65, 0x64, 0x5f, 0x63, + 0x68, 0x65, 0x63, 0x6b, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x18, 0x14, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x1b, 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, + 0x31, 0x2e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x52, 0x1a, 0x63, 0x75, + 0x72, 0x72, 0x65, 0x6e, 0x74, 0x4a, 0x75, 0x73, 0x74, 0x69, 0x66, 0x69, 0x65, 0x64, 0x43, 0x68, + 0x65, 0x63, 0x6b, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x12, 0x4e, 0x0a, 0x14, 0x66, 0x69, 0x6e, 0x61, + 0x6c, 0x69, 0x7a, 0x65, 0x64, 0x5f, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x70, 0x6f, 0x69, 0x6e, 0x74, + 0x18, 0x15, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, + 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x70, 0x6f, + 0x69, 0x6e, 0x74, 0x52, 0x13, 0x66, 0x69, 0x6e, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x64, 0x43, 0x68, + 0x65, 0x63, 0x6b, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x22, 0xe5, 0x02, 0x0a, 0x12, 0x50, 0x65, 0x6e, + 0x64, 0x69, 0x6e, 0x67, 0x41, 0x74, 0x74, 0x65, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, + 0x63, 0x0a, 0x10, 0x61, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x62, + 0x69, 0x74, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x42, 0x38, 0x92, 0xb5, 0x18, 0x04, 0x32, + 0x30, 0x34, 0x38, 0x82, 0xb5, 0x18, 0x2c, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, + 0x6d, 0x2f, 0x70, 0x72, 0x79, 0x73, 0x6d, 0x61, 0x74, 0x69, 0x63, 0x6c, 0x61, 0x62, 0x73, 0x2f, + 0x67, 0x6f, 0x2d, 0x62, 0x69, 0x74, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x2e, 0x42, 0x69, 0x74, 0x6c, + 0x69, 0x73, 0x74, 0x52, 0x0f, 0x61, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x42, 0x69, 0x74, 0x73, 0x12, 0x34, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, + 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x74, 0x74, 0x65, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x44, 0x61, 0x74, 0x61, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x12, 0x55, 0x0a, 0x0f, 0x69, 0x6e, + 0x63, 0x6c, 0x75, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x64, 0x65, 0x6c, 0x61, 0x79, 0x18, 0x03, 0x20, + 0x01, 0x28, 0x04, 0x42, 0x2c, 0x82, 0xb5, 0x18, 0x28, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, + 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x72, 0x79, 0x73, 0x6d, 0x61, 0x74, 0x69, 0x63, 0x6c, 0x61, 0x62, + 0x73, 0x2f, 0x65, 0x74, 0x68, 0x32, 0x2d, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x53, 0x6c, 0x6f, + 0x74, 0x52, 0x0e, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x73, 0x69, 0x6f, 0x6e, 0x44, 0x65, 0x6c, 0x61, + 0x79, 0x12, 0x5d, 0x0a, 0x0e, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x6e, + 0x64, 0x65, 0x78, 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 0x42, 0x36, 0x82, 0xb5, 0x18, 0x32, 0x67, + 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x72, 0x79, 0x73, 0x6d, 0x61, + 0x74, 0x69, 0x63, 0x6c, 0x61, 0x62, 0x73, 0x2f, 0x65, 0x74, 0x68, 0x32, 0x2d, 0x74, 0x79, 0x70, + 0x65, 0x73, 0x2e, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x49, 0x6e, 0x64, 0x65, + 0x78, 0x52, 0x0d, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x65, 0x72, 0x49, 0x6e, 0x64, 0x65, 0x78, + 0x22, 0xf3, 0x01, 0x0a, 0x09, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x74, 0x65, 0x65, 0x12, 0x4c, + 0x0a, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x42, 0x36, 0x82, + 0xb5, 0x18, 0x32, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x72, + 0x79, 0x73, 0x6d, 0x61, 0x74, 0x69, 0x63, 0x6c, 0x61, 0x62, 0x73, 0x2f, 0x65, 0x74, 0x68, 0x32, + 0x2d, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x74, 0x65, 0x65, + 0x49, 0x6e, 0x64, 0x65, 0x78, 0x52, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x40, 0x0a, 0x04, + 0x73, 0x6c, 0x6f, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x42, 0x2c, 0x82, 0xb5, 0x18, 0x28, + 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x72, 0x79, 0x73, 0x6d, + 0x61, 0x74, 0x69, 0x63, 0x6c, 0x61, 0x62, 0x73, 0x2f, 0x65, 0x74, 0x68, 0x32, 0x2d, 0x74, 0x79, + 0x70, 0x65, 0x73, 0x2e, 0x53, 0x6c, 0x6f, 0x74, 0x52, 0x04, 0x73, 0x6c, 0x6f, 0x74, 0x12, 0x56, + 0x0a, 0x0a, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x73, 0x18, 0x03, 0x20, 0x03, + 0x28, 0x04, 0x42, 0x36, 0x82, 0xb5, 0x18, 0x32, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, + 0x6f, 0x6d, 0x2f, 0x70, 0x72, 0x79, 0x73, 0x6d, 0x61, 0x74, 0x69, 0x63, 0x6c, 0x61, 0x62, 0x73, + 0x2f, 0x65, 0x74, 0x68, 0x32, 0x2d, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x56, 0x61, 0x6c, 0x69, + 0x64, 0x61, 0x74, 0x6f, 0x72, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x52, 0x0a, 0x76, 0x61, 0x6c, 0x69, + 0x64, 0x61, 0x74, 0x6f, 0x72, 0x73, 0x22, 0xad, 0x01, 0x0a, 0x04, 0x46, 0x6f, 0x72, 0x6b, 0x12, + 0x30, 0x0a, 0x10, 0x70, 0x72, 0x65, 0x76, 0x69, 0x6f, 0x75, 0x73, 0x5f, 0x76, 0x65, 0x72, 0x73, + 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x42, 0x05, 0x8a, 0xb5, 0x18, 0x01, 0x34, + 0x52, 0x0f, 0x70, 0x72, 0x65, 0x76, 0x69, 0x6f, 0x75, 0x73, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, + 0x6e, 0x12, 0x2e, 0x0a, 0x0f, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x76, 0x65, 0x72, + 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x42, 0x05, 0x8a, 0xb5, 0x18, 0x01, + 0x34, 0x52, 0x0e, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, + 0x6e, 0x12, 0x43, 0x0a, 0x05, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, + 0x42, 0x2d, 0x82, 0xb5, 0x18, 0x29, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, + 0x2f, 0x70, 0x72, 0x79, 0x73, 0x6d, 0x61, 0x74, 0x69, 0x63, 0x6c, 0x61, 0x62, 0x73, 0x2f, 0x65, + 0x74, 0x68, 0x32, 0x2d, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x45, 0x70, 0x6f, 0x63, 0x68, 0x52, + 0x05, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x42, 0x7b, 0x0a, 0x13, 0x6f, 0x72, 0x67, 0x2e, 0x65, 0x74, + 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x42, 0x10, 0x42, + 0x65, 0x61, 0x63, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, + 0x01, 0x5a, 0x2c, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x72, + 0x79, 0x73, 0x6d, 0x61, 0x74, 0x69, 0x63, 0x6c, 0x61, 0x62, 0x73, 0x2f, 0x65, 0x74, 0x68, 0x65, + 0x72, 0x65, 0x75, 0x6d, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x65, 0x74, 0x68, 0x2f, 0x76, 0x31, 0xaa, + 0x02, 0x0f, 0x45, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x45, 0x74, 0x68, 0x2e, 0x76, + 0x31, 0xca, 0x02, 0x0f, 0x45, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x5c, 0x45, 0x74, 0x68, + 0x5c, 0x76, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( - ErrInvalidLengthBeaconState = fmt.Errorf("proto: negative length found during unmarshaling") - ErrIntOverflowBeaconState = fmt.Errorf("proto: integer overflow") - ErrUnexpectedEndOfGroupBeaconState = fmt.Errorf("proto: unexpected end of group") + file_eth_v1_beacon_state_proto_rawDescOnce sync.Once + file_eth_v1_beacon_state_proto_rawDescData = file_eth_v1_beacon_state_proto_rawDesc ) + +func file_eth_v1_beacon_state_proto_rawDescGZIP() []byte { + file_eth_v1_beacon_state_proto_rawDescOnce.Do(func() { + file_eth_v1_beacon_state_proto_rawDescData = protoimpl.X.CompressGZIP(file_eth_v1_beacon_state_proto_rawDescData) + }) + return file_eth_v1_beacon_state_proto_rawDescData +} + +var file_eth_v1_beacon_state_proto_msgTypes = make([]protoimpl.MessageInfo, 4) +var file_eth_v1_beacon_state_proto_goTypes = []interface{}{ + (*BeaconState)(nil), // 0: ethereum.eth.v1.BeaconState + (*PendingAttestation)(nil), // 1: ethereum.eth.v1.PendingAttestation + (*Committee)(nil), // 2: ethereum.eth.v1.Committee + (*Fork)(nil), // 3: ethereum.eth.v1.Fork + (*BeaconBlockHeader)(nil), // 4: ethereum.eth.v1.BeaconBlockHeader + (*Eth1Data)(nil), // 5: ethereum.eth.v1.Eth1Data + (*Validator)(nil), // 6: ethereum.eth.v1.Validator + (*Checkpoint)(nil), // 7: ethereum.eth.v1.Checkpoint + (*AttestationData)(nil), // 8: ethereum.eth.v1.AttestationData +} +var file_eth_v1_beacon_state_proto_depIdxs = []int32{ + 3, // 0: ethereum.eth.v1.BeaconState.fork:type_name -> ethereum.eth.v1.Fork + 4, // 1: ethereum.eth.v1.BeaconState.latest_block_header:type_name -> ethereum.eth.v1.BeaconBlockHeader + 5, // 2: ethereum.eth.v1.BeaconState.eth1_data:type_name -> ethereum.eth.v1.Eth1Data + 5, // 3: ethereum.eth.v1.BeaconState.eth1_data_votes:type_name -> ethereum.eth.v1.Eth1Data + 6, // 4: ethereum.eth.v1.BeaconState.validators:type_name -> ethereum.eth.v1.Validator + 1, // 5: ethereum.eth.v1.BeaconState.previous_epoch_attestations:type_name -> ethereum.eth.v1.PendingAttestation + 1, // 6: ethereum.eth.v1.BeaconState.current_epoch_attestations:type_name -> ethereum.eth.v1.PendingAttestation + 7, // 7: ethereum.eth.v1.BeaconState.previous_justified_checkpoint:type_name -> ethereum.eth.v1.Checkpoint + 7, // 8: ethereum.eth.v1.BeaconState.current_justified_checkpoint:type_name -> ethereum.eth.v1.Checkpoint + 7, // 9: ethereum.eth.v1.BeaconState.finalized_checkpoint:type_name -> ethereum.eth.v1.Checkpoint + 8, // 10: ethereum.eth.v1.PendingAttestation.data:type_name -> ethereum.eth.v1.AttestationData + 11, // [11:11] is the sub-list for method output_type + 11, // [11:11] is the sub-list for method input_type + 11, // [11:11] is the sub-list for extension type_name + 11, // [11:11] is the sub-list for extension extendee + 0, // [0:11] is the sub-list for field type_name +} + +func init() { file_eth_v1_beacon_state_proto_init() } +func file_eth_v1_beacon_state_proto_init() { + if File_eth_v1_beacon_state_proto != nil { + return + } + file_eth_v1_attestation_proto_init() + file_eth_v1_beacon_block_proto_init() + file_eth_v1_validator_proto_init() + if !protoimpl.UnsafeEnabled { + file_eth_v1_beacon_state_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*BeaconState); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_eth_v1_beacon_state_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PendingAttestation); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_eth_v1_beacon_state_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Committee); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_eth_v1_beacon_state_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Fork); 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_eth_v1_beacon_state_proto_rawDesc, + NumEnums: 0, + NumMessages: 4, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_eth_v1_beacon_state_proto_goTypes, + DependencyIndexes: file_eth_v1_beacon_state_proto_depIdxs, + MessageInfos: file_eth_v1_beacon_state_proto_msgTypes, + }.Build() + File_eth_v1_beacon_state_proto = out.File + file_eth_v1_beacon_state_proto_rawDesc = nil + file_eth_v1_beacon_state_proto_goTypes = nil + file_eth_v1_beacon_state_proto_depIdxs = nil +} diff --git a/eth/v1alpha1_gateway/swagger_generated.pb.gw.go b/eth/v1/beacon_state.pb.gw.go old mode 100755 new mode 100644 similarity index 100% rename from eth/v1alpha1_gateway/swagger_generated.pb.gw.go rename to eth/v1/beacon_state.pb.gw.go diff --git a/eth/v1/beacon_state.proto b/eth/v1/beacon_state.proto index dfed88ea..e46c20bb 100644 --- a/eth/v1/beacon_state.proto +++ b/eth/v1/beacon_state.proto @@ -15,8 +15,9 @@ syntax = "proto3"; package ethereum.eth.v1; -import "github.com/gogo/protobuf/gogoproto/gogo.proto"; +import "google/protobuf/descriptor.proto"; +import "eth/ext/options.proto"; import "eth/v1/attestation.proto"; import "eth/v1/beacon_block.proto"; import "eth/v1/validator.proto"; @@ -31,38 +32,38 @@ option php_namespace = "Ethereum\\Eth\\v1"; message BeaconState { // Versioning uint64 genesis_time = 1; - bytes genesis_validators_root = 2 [(gogoproto.moretags) = "ssz-size:\"32\""]; - uint64 slot = 3 [(gogoproto.casttype) = "github.com/prysmaticlabs/eth2-types.Slot"]; + bytes genesis_validators_root = 2 [(ethereum.eth.ext.ssz_size) = "32"]; + uint64 slot = 3 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/eth2-types.Slot"]; Fork fork = 4; // History BeaconBlockHeader latest_block_header = 5; - repeated bytes block_roots = 6 [(gogoproto.moretags) = "ssz-size:\"8192\""]; - repeated bytes state_roots = 7 [(gogoproto.moretags) = "ssz-size:\"8192\""]; - repeated bytes historical_roots = 8 [(gogoproto.moretags) = "ssz-size:\"?,32\" ssz-max:\"16777216\""]; + repeated bytes block_roots = 6 [(ethereum.eth.ext.ssz_size) = "8192"]; + repeated bytes state_roots = 7 [(ethereum.eth.ext.ssz_size) = "8192"]; + repeated bytes historical_roots = 8 [(ethereum.eth.ext.ssz_size) = "32", (ethereum.eth.ext.ssz_max) = "16777216"]; // Eth1 Eth1Data eth1_data = 9; - repeated Eth1Data eth1_data_votes = 10 [(gogoproto.moretags) = "ssz-max:\"1024\""]; + repeated Eth1Data eth1_data_votes = 10 [(ethereum.eth.ext.ssz_max) = "1024"]; uint64 eth1_deposit_index = 11; // Registry - repeated Validator validators = 12 [(gogoproto.moretags) = "ssz-max:\"1099511627776\""]; - repeated uint64 balances = 13 [(gogoproto.moretags) = "ssz-max:\"1099511627776\""]; + repeated Validator validators = 12 [(ethereum.eth.ext.ssz_max) = "1099511627776"]; + repeated uint64 balances = 13 [(ethereum.eth.ext.ssz_max) = "1099511627776"]; // Randomness - repeated bytes randao_mixes = 14 [(gogoproto.moretags) = "ssz-size:\"65536\""]; + repeated bytes randao_mixes = 14 [(ethereum.eth.ext.ssz_size) = "65536"]; // Slashings - repeated uint64 slashings = 15 [(gogoproto.moretags) = "ssz-size:\"65536\""]; + repeated uint64 slashings = 15 [(ethereum.eth.ext.ssz_size) = "65536"]; // Attestations - repeated PendingAttestation previous_epoch_attestations = 16 [(gogoproto.moretags) = "ssz-max:\"4096\""]; - repeated PendingAttestation current_epoch_attestations = 17 [(gogoproto.moretags) = "ssz-max:\"4096\""]; + repeated PendingAttestation previous_epoch_attestations = 16 [(ethereum.eth.ext.ssz_max) = "4096"]; + repeated PendingAttestation current_epoch_attestations = 17 [(ethereum.eth.ext.ssz_max) = "4096"]; // Finality // Spec type [4]Bitvector which means this would be a fixed size of 4 bits. - bytes justification_bits = 18 [(gogoproto.moretags) = "ssz-size:\"1\"", (gogoproto.casttype) = "github.com/prysmaticlabs/go-bitfield.Bitvector4"]; + bytes justification_bits = 18 [(ethereum.eth.ext.ssz_size) = "1", (ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/go-bitfield.Bitvector4"]; Checkpoint previous_justified_checkpoint = 19; Checkpoint current_justified_checkpoint = 20; Checkpoint finalized_checkpoint = 21; @@ -71,23 +72,23 @@ message BeaconState { message PendingAttestation { // Bitfield representation of validator indices that have voted exactly // the same vote and have been aggregated into this attestation. - bytes aggregation_bits = 1 [(gogoproto.moretags) = "ssz-max:\"2048\"", (gogoproto.casttype) = "github.com/prysmaticlabs/go-bitfield.Bitlist"]; + bytes aggregation_bits = 1 [(ethereum.eth.ext.ssz_max) = "2048", (ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/go-bitfield.Bitlist"]; AttestationData data = 2; // The difference of when attestation gets created and get included on chain. - uint64 inclusion_delay = 3 [(gogoproto.casttype) = "github.com/prysmaticlabs/eth2-types.Slot"]; + uint64 inclusion_delay = 3 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/eth2-types.Slot"]; // The proposer who included the attestation in the block. - uint64 proposer_index = 4 [(gogoproto.casttype) = "github.com/prysmaticlabs/eth2-types.ValidatorIndex"]; + uint64 proposer_index = 4 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/eth2-types.ValidatorIndex"]; } message Committee { - uint64 index = 1; - uint64 slot = 2 [(gogoproto.casttype) = "github.com/prysmaticlabs/eth2-types.Slot"]; - repeated uint64 validators = 3; + uint64 index = 1 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/eth2-types.CommitteeIndex"]; + uint64 slot = 2 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/eth2-types.Slot"]; + repeated uint64 validators = 3 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/eth2-types.ValidatorIndex"]; } // Fork structure used for indicating beacon chain versioning and forks. message Fork { - bytes previous_version = 1 [(gogoproto.moretags) = "ssz-size:\"4\""]; - bytes current_version = 2 [(gogoproto.moretags) = "ssz-size:\"4\""]; - uint64 epoch = 3 [(gogoproto.casttype) = "github.com/prysmaticlabs/eth2-types.Epoch"]; + bytes previous_version = 1 [(ethereum.eth.ext.ssz_size) = "4"]; + bytes current_version = 2 [(ethereum.eth.ext.ssz_size) = "4"]; + uint64 epoch = 3 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/eth2-types.Epoch"]; } \ No newline at end of file diff --git a/eth/v1/generated.ssz.go b/eth/v1/generated.ssz.go index 5cf160cb..03dcf3da 100644 --- a/eth/v1/generated.ssz.go +++ b/eth/v1/generated.ssz.go @@ -2241,117 +2241,6 @@ func (d *Deposit) HashTreeRootWith(hh *ssz.Hasher) (err error) { return } -// MarshalSSZ ssz marshals the Deposit_Data object -func (d *Deposit_Data) MarshalSSZ() ([]byte, error) { - return ssz.MarshalSSZ(d) -} - -// MarshalSSZTo ssz marshals the Deposit_Data object to a target array -func (d *Deposit_Data) MarshalSSZTo(buf []byte) (dst []byte, err error) { - dst = buf - - // Field (0) 'PublicKey' - if len(d.PublicKey) != 48 { - err = ssz.ErrBytesLength - return - } - dst = append(dst, d.PublicKey...) - - // Field (1) 'WithdrawalCredentials' - if len(d.WithdrawalCredentials) != 32 { - err = ssz.ErrBytesLength - return - } - dst = append(dst, d.WithdrawalCredentials...) - - // Field (2) 'Amount' - dst = ssz.MarshalUint64(dst, d.Amount) - - // Field (3) 'Signature' - if len(d.Signature) != 96 { - err = ssz.ErrBytesLength - return - } - dst = append(dst, d.Signature...) - - return -} - -// UnmarshalSSZ ssz unmarshals the Deposit_Data object -func (d *Deposit_Data) UnmarshalSSZ(buf []byte) error { - var err error - size := uint64(len(buf)) - if size != 184 { - return ssz.ErrSize - } - - // Field (0) 'PublicKey' - if cap(d.PublicKey) == 0 { - d.PublicKey = make([]byte, 0, len(buf[0:48])) - } - d.PublicKey = append(d.PublicKey, buf[0:48]...) - - // Field (1) 'WithdrawalCredentials' - if cap(d.WithdrawalCredentials) == 0 { - d.WithdrawalCredentials = make([]byte, 0, len(buf[48:80])) - } - d.WithdrawalCredentials = append(d.WithdrawalCredentials, buf[48:80]...) - - // Field (2) 'Amount' - d.Amount = ssz.UnmarshallUint64(buf[80:88]) - - // Field (3) 'Signature' - if cap(d.Signature) == 0 { - d.Signature = make([]byte, 0, len(buf[88:184])) - } - d.Signature = append(d.Signature, buf[88:184]...) - - return err -} - -// SizeSSZ returns the ssz encoded size in bytes for the Deposit_Data object -func (d *Deposit_Data) SizeSSZ() (size int) { - size = 184 - return -} - -// HashTreeRoot ssz hashes the Deposit_Data object -func (d *Deposit_Data) HashTreeRoot() ([32]byte, error) { - return ssz.HashWithDefaultHasher(d) -} - -// HashTreeRootWith ssz hashes the Deposit_Data object with a hasher -func (d *Deposit_Data) HashTreeRootWith(hh *ssz.Hasher) (err error) { - indx := hh.Index() - - // Field (0) 'PublicKey' - if len(d.PublicKey) != 48 { - err = ssz.ErrBytesLength - return - } - hh.PutBytes(d.PublicKey) - - // Field (1) 'WithdrawalCredentials' - if len(d.WithdrawalCredentials) != 32 { - err = ssz.ErrBytesLength - return - } - hh.PutBytes(d.WithdrawalCredentials) - - // Field (2) 'Amount' - hh.PutUint64(d.Amount) - - // Field (3) 'Signature' - if len(d.Signature) != 96 { - err = ssz.ErrBytesLength - return - } - hh.PutBytes(d.Signature) - - hh.Merkleize(indx) - return -} - // MarshalSSZ ssz marshals the VoluntaryExit object func (v *VoluntaryExit) MarshalSSZ() ([]byte, error) { return ssz.MarshalSSZ(v) @@ -2925,6 +2814,117 @@ func (i *IndexedAttestation) HashTreeRootWith(hh *ssz.Hasher) (err error) { return } +// MarshalSSZ ssz marshals the Deposit_Data object +func (d *Deposit_Data) MarshalSSZ() ([]byte, error) { + return ssz.MarshalSSZ(d) +} + +// MarshalSSZTo ssz marshals the Deposit_Data object to a target array +func (d *Deposit_Data) MarshalSSZTo(buf []byte) (dst []byte, err error) { + dst = buf + + // Field (0) 'PublicKey' + if len(d.PublicKey) != 48 { + err = ssz.ErrBytesLength + return + } + dst = append(dst, d.PublicKey...) + + // Field (1) 'WithdrawalCredentials' + if len(d.WithdrawalCredentials) != 32 { + err = ssz.ErrBytesLength + return + } + dst = append(dst, d.WithdrawalCredentials...) + + // Field (2) 'Amount' + dst = ssz.MarshalUint64(dst, d.Amount) + + // Field (3) 'Signature' + if len(d.Signature) != 96 { + err = ssz.ErrBytesLength + return + } + dst = append(dst, d.Signature...) + + return +} + +// UnmarshalSSZ ssz unmarshals the Deposit_Data object +func (d *Deposit_Data) UnmarshalSSZ(buf []byte) error { + var err error + size := uint64(len(buf)) + if size != 184 { + return ssz.ErrSize + } + + // Field (0) 'PublicKey' + if cap(d.PublicKey) == 0 { + d.PublicKey = make([]byte, 0, len(buf[0:48])) + } + d.PublicKey = append(d.PublicKey, buf[0:48]...) + + // Field (1) 'WithdrawalCredentials' + if cap(d.WithdrawalCredentials) == 0 { + d.WithdrawalCredentials = make([]byte, 0, len(buf[48:80])) + } + d.WithdrawalCredentials = append(d.WithdrawalCredentials, buf[48:80]...) + + // Field (2) 'Amount' + d.Amount = ssz.UnmarshallUint64(buf[80:88]) + + // Field (3) 'Signature' + if cap(d.Signature) == 0 { + d.Signature = make([]byte, 0, len(buf[88:184])) + } + d.Signature = append(d.Signature, buf[88:184]...) + + return err +} + +// SizeSSZ returns the ssz encoded size in bytes for the Deposit_Data object +func (d *Deposit_Data) SizeSSZ() (size int) { + size = 184 + return +} + +// HashTreeRoot ssz hashes the Deposit_Data object +func (d *Deposit_Data) HashTreeRoot() ([32]byte, error) { + return ssz.HashWithDefaultHasher(d) +} + +// HashTreeRootWith ssz hashes the Deposit_Data object with a hasher +func (d *Deposit_Data) HashTreeRootWith(hh *ssz.Hasher) (err error) { + indx := hh.Index() + + // Field (0) 'PublicKey' + if len(d.PublicKey) != 48 { + err = ssz.ErrBytesLength + return + } + hh.PutBytes(d.PublicKey) + + // Field (1) 'WithdrawalCredentials' + if len(d.WithdrawalCredentials) != 32 { + err = ssz.ErrBytesLength + return + } + hh.PutBytes(d.WithdrawalCredentials) + + // Field (2) 'Amount' + hh.PutUint64(d.Amount) + + // Field (3) 'Signature' + if len(d.Signature) != 96 { + err = ssz.ErrBytesLength + return + } + hh.PutBytes(d.Signature) + + hh.Merkleize(indx) + return +} + // MarshalSSZ ssz marshals the Validator object func (v *Validator) MarshalSSZ() ([]byte, error) { return ssz.MarshalSSZ(v) diff --git a/eth/v1/node.pb.go b/eth/v1/node.pb.go old mode 100755 new mode 100644 index f2aadb29..bcbd19c3 --- a/eth/v1/node.pb.go +++ b/eth/v1/node.pb.go @@ -1,36 +1,40 @@ -// Code generated by protoc-gen-gogo. DO NOT EDIT. +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.25.0 +// protoc v3.15.6 // source: eth/v1/node.proto package v1 import ( context "context" - fmt "fmt" - io "io" - math "math" - math_bits "math/bits" - - _ "github.com/gogo/protobuf/gogoproto" - proto "github.com/gogo/protobuf/proto" - types "github.com/gogo/protobuf/types" + reflect "reflect" + sync "sync" + + proto "github.com/golang/protobuf/proto" + _ "github.com/golang/protobuf/protoc-gen-go/descriptor" + empty "github.com/golang/protobuf/ptypes/empty" github_com_prysmaticlabs_eth2_types "github.com/prysmaticlabs/eth2-types" + _ "github.com/prysmaticlabs/ethereumapis/eth/ext" github_com_prysmaticlabs_go_bitfield "github.com/prysmaticlabs/go-bitfield" _ "google.golang.org/genproto/googleapis/api/annotations" 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.GoGoProtoPackageIsVersion3 // 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 PeerDirection int32 @@ -40,24 +44,45 @@ const ( PeerDirection_OUTBOUND PeerDirection = 2 ) -var PeerDirection_name = map[int32]string{ - 0: "UNKNOWN", - 1: "INBOUND", - 2: "OUTBOUND", -} +// Enum value maps for PeerDirection. +var ( + PeerDirection_name = map[int32]string{ + 0: "UNKNOWN", + 1: "INBOUND", + 2: "OUTBOUND", + } + PeerDirection_value = map[string]int32{ + "UNKNOWN": 0, + "INBOUND": 1, + "OUTBOUND": 2, + } +) -var PeerDirection_value = map[string]int32{ - "UNKNOWN": 0, - "INBOUND": 1, - "OUTBOUND": 2, +func (x PeerDirection) Enum() *PeerDirection { + p := new(PeerDirection) + *p = x + return p } func (x PeerDirection) String() string { - return proto.EnumName(PeerDirection_name, int32(x)) + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (PeerDirection) Descriptor() protoreflect.EnumDescriptor { + return file_eth_v1_node_proto_enumTypes[0].Descriptor() +} + +func (PeerDirection) Type() protoreflect.EnumType { + return &file_eth_v1_node_proto_enumTypes[0] +} + +func (x PeerDirection) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) } +// Deprecated: Use PeerDirection.Descriptor instead. func (PeerDirection) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_0637b62b723b719c, []int{0} + return file_eth_v1_node_proto_rawDescGZIP(), []int{0} } type ConnectionState int32 @@ -69,920 +94,1274 @@ const ( ConnectionState_CONNECTING ConnectionState = 3 ) -var ConnectionState_name = map[int32]string{ - 0: "DISCONNECTED", - 1: "DISCONNECTING", - 2: "CONNECTED", - 3: "CONNECTING", -} +// Enum value maps for ConnectionState. +var ( + ConnectionState_name = map[int32]string{ + 0: "DISCONNECTED", + 1: "DISCONNECTING", + 2: "CONNECTED", + 3: "CONNECTING", + } + ConnectionState_value = map[string]int32{ + "DISCONNECTED": 0, + "DISCONNECTING": 1, + "CONNECTED": 2, + "CONNECTING": 3, + } +) -var ConnectionState_value = map[string]int32{ - "DISCONNECTED": 0, - "DISCONNECTING": 1, - "CONNECTED": 2, - "CONNECTING": 3, +func (x ConnectionState) Enum() *ConnectionState { + p := new(ConnectionState) + *p = x + return p } func (x ConnectionState) String() string { - return proto.EnumName(ConnectionState_name, int32(x)) + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (ConnectionState) Descriptor() protoreflect.EnumDescriptor { + return file_eth_v1_node_proto_enumTypes[1].Descriptor() +} + +func (ConnectionState) Type() protoreflect.EnumType { + return &file_eth_v1_node_proto_enumTypes[1] } +func (x ConnectionState) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use ConnectionState.Descriptor instead. func (ConnectionState) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_0637b62b723b719c, []int{1} + return file_eth_v1_node_proto_rawDescGZIP(), []int{1} } type IdentityResponse struct { - Data *Identity `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Data *Identity `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` } -func (m *IdentityResponse) Reset() { *m = IdentityResponse{} } -func (m *IdentityResponse) String() string { return proto.CompactTextString(m) } -func (*IdentityResponse) ProtoMessage() {} -func (*IdentityResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_0637b62b723b719c, []int{0} -} -func (m *IdentityResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *IdentityResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_IdentityResponse.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *IdentityResponse) Reset() { + *x = IdentityResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_eth_v1_node_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *IdentityResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_IdentityResponse.Merge(m, src) -} -func (m *IdentityResponse) XXX_Size() int { - return m.Size() + +func (x *IdentityResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *IdentityResponse) XXX_DiscardUnknown() { - xxx_messageInfo_IdentityResponse.DiscardUnknown(m) + +func (*IdentityResponse) ProtoMessage() {} + +func (x *IdentityResponse) ProtoReflect() protoreflect.Message { + mi := &file_eth_v1_node_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) } -var xxx_messageInfo_IdentityResponse proto.InternalMessageInfo +// Deprecated: Use IdentityResponse.ProtoReflect.Descriptor instead. +func (*IdentityResponse) Descriptor() ([]byte, []int) { + return file_eth_v1_node_proto_rawDescGZIP(), []int{0} +} -func (m *IdentityResponse) GetData() *Identity { - if m != nil { - return m.Data +func (x *IdentityResponse) GetData() *Identity { + if x != nil { + return x.Data } return nil } type Identity struct { - PeerId string `protobuf:"bytes,1,opt,name=peer_id,json=peerId,proto3" json:"peer_id,omitempty"` - Enr string `protobuf:"bytes,2,opt,name=enr,proto3" json:"enr,omitempty"` - P2PAddresses []string `protobuf:"bytes,3,rep,name=p2p_addresses,json=p2pAddresses,proto3" json:"p2p_addresses,omitempty"` - DiscoveryAddresses []string `protobuf:"bytes,4,rep,name=discovery_addresses,json=discoveryAddresses,proto3" json:"discovery_addresses,omitempty"` - Metadata *Metadata `protobuf:"bytes,5,opt,name=metadata,proto3" json:"metadata,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Identity) Reset() { *m = Identity{} } -func (m *Identity) String() string { return proto.CompactTextString(m) } -func (*Identity) ProtoMessage() {} -func (*Identity) Descriptor() ([]byte, []int) { - return fileDescriptor_0637b62b723b719c, []int{1} -} -func (m *Identity) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *Identity) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_Identity.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil - } + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + PeerId string `protobuf:"bytes,1,opt,name=peer_id,json=peerId,proto3" json:"peer_id,omitempty"` + Enr string `protobuf:"bytes,2,opt,name=enr,proto3" json:"enr,omitempty"` + P2PAddresses []string `protobuf:"bytes,3,rep,name=p2p_addresses,json=p2pAddresses,proto3" json:"p2p_addresses,omitempty"` + DiscoveryAddresses []string `protobuf:"bytes,4,rep,name=discovery_addresses,json=discoveryAddresses,proto3" json:"discovery_addresses,omitempty"` + Metadata *Metadata `protobuf:"bytes,5,opt,name=metadata,proto3" json:"metadata,omitempty"` } -func (m *Identity) XXX_Merge(src proto.Message) { - xxx_messageInfo_Identity.Merge(m, src) + +func (x *Identity) Reset() { + *x = Identity{} + if protoimpl.UnsafeEnabled { + mi := &file_eth_v1_node_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *Identity) XXX_Size() int { - return m.Size() + +func (x *Identity) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *Identity) XXX_DiscardUnknown() { - xxx_messageInfo_Identity.DiscardUnknown(m) + +func (*Identity) ProtoMessage() {} + +func (x *Identity) ProtoReflect() protoreflect.Message { + mi := &file_eth_v1_node_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) } -var xxx_messageInfo_Identity proto.InternalMessageInfo +// Deprecated: Use Identity.ProtoReflect.Descriptor instead. +func (*Identity) Descriptor() ([]byte, []int) { + return file_eth_v1_node_proto_rawDescGZIP(), []int{1} +} -func (m *Identity) GetPeerId() string { - if m != nil { - return m.PeerId +func (x *Identity) GetPeerId() string { + if x != nil { + return x.PeerId } return "" } -func (m *Identity) GetEnr() string { - if m != nil { - return m.Enr +func (x *Identity) GetEnr() string { + if x != nil { + return x.Enr } return "" } -func (m *Identity) GetP2PAddresses() []string { - if m != nil { - return m.P2PAddresses +func (x *Identity) GetP2PAddresses() []string { + if x != nil { + return x.P2PAddresses } return nil } -func (m *Identity) GetDiscoveryAddresses() []string { - if m != nil { - return m.DiscoveryAddresses +func (x *Identity) GetDiscoveryAddresses() []string { + if x != nil { + return x.DiscoveryAddresses } return nil } -func (m *Identity) GetMetadata() *Metadata { - if m != nil { - return m.Metadata +func (x *Identity) GetMetadata() *Metadata { + if x != nil { + return x.Metadata } return nil } type Metadata struct { - SeqNumber uint64 `protobuf:"varint,1,opt,name=seq_number,json=seqNumber,proto3" json:"seq_number,omitempty"` - Attnets github_com_prysmaticlabs_go_bitfield.Bitvector64 `protobuf:"bytes,2,opt,name=attnets,proto3,casttype=github.com/prysmaticlabs/go-bitfield.Bitvector64" json:"attnets,omitempty" ssz-size:"8"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + SeqNumber uint64 `protobuf:"varint,1,opt,name=seq_number,json=seqNumber,proto3" json:"seq_number,omitempty"` + Attnets github_com_prysmaticlabs_go_bitfield.Bitvector64 `protobuf:"bytes,2,opt,name=attnets,proto3" json:"attnets,omitempty" cast-type:"github.com/prysmaticlabs/go-bitfield.Bitvector64" ssz-size:"8"` } -func (m *Metadata) Reset() { *m = Metadata{} } -func (m *Metadata) String() string { return proto.CompactTextString(m) } -func (*Metadata) ProtoMessage() {} -func (*Metadata) Descriptor() ([]byte, []int) { - return fileDescriptor_0637b62b723b719c, []int{2} -} -func (m *Metadata) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *Metadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_Metadata.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *Metadata) Reset() { + *x = Metadata{} + if protoimpl.UnsafeEnabled { + mi := &file_eth_v1_node_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *Metadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_Metadata.Merge(m, src) -} -func (m *Metadata) XXX_Size() int { - return m.Size() + +func (x *Metadata) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *Metadata) XXX_DiscardUnknown() { - xxx_messageInfo_Metadata.DiscardUnknown(m) + +func (*Metadata) ProtoMessage() {} + +func (x *Metadata) ProtoReflect() protoreflect.Message { + mi := &file_eth_v1_node_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) } -var xxx_messageInfo_Metadata proto.InternalMessageInfo +// Deprecated: Use Metadata.ProtoReflect.Descriptor instead. +func (*Metadata) Descriptor() ([]byte, []int) { + return file_eth_v1_node_proto_rawDescGZIP(), []int{2} +} -func (m *Metadata) GetSeqNumber() uint64 { - if m != nil { - return m.SeqNumber +func (x *Metadata) GetSeqNumber() uint64 { + if x != nil { + return x.SeqNumber } return 0 } -func (m *Metadata) GetAttnets() github_com_prysmaticlabs_go_bitfield.Bitvector64 { - if m != nil { - return m.Attnets +func (x *Metadata) GetAttnets() github_com_prysmaticlabs_go_bitfield.Bitvector64 { + if x != nil { + return x.Attnets } - return nil + return github_com_prysmaticlabs_go_bitfield.Bitvector64(nil) } type PeerRequest struct { - PeerId string `protobuf:"bytes,1,opt,name=peer_id,json=peerId,proto3" json:"peer_id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + PeerId string `protobuf:"bytes,1,opt,name=peer_id,json=peerId,proto3" json:"peer_id,omitempty"` } -func (m *PeerRequest) Reset() { *m = PeerRequest{} } -func (m *PeerRequest) String() string { return proto.CompactTextString(m) } -func (*PeerRequest) ProtoMessage() {} -func (*PeerRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_0637b62b723b719c, []int{3} -} -func (m *PeerRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *PeerRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_PeerRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *PeerRequest) Reset() { + *x = PeerRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_eth_v1_node_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *PeerRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_PeerRequest.Merge(m, src) -} -func (m *PeerRequest) XXX_Size() int { - return m.Size() + +func (x *PeerRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *PeerRequest) XXX_DiscardUnknown() { - xxx_messageInfo_PeerRequest.DiscardUnknown(m) + +func (*PeerRequest) ProtoMessage() {} + +func (x *PeerRequest) ProtoReflect() protoreflect.Message { + mi := &file_eth_v1_node_proto_msgTypes[3] + 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) } -var xxx_messageInfo_PeerRequest proto.InternalMessageInfo +// Deprecated: Use PeerRequest.ProtoReflect.Descriptor instead. +func (*PeerRequest) Descriptor() ([]byte, []int) { + return file_eth_v1_node_proto_rawDescGZIP(), []int{3} +} -func (m *PeerRequest) GetPeerId() string { - if m != nil { - return m.PeerId +func (x *PeerRequest) GetPeerId() string { + if x != nil { + return x.PeerId } return "" } type PeersRequest struct { - State []string `protobuf:"bytes,1,rep,name=state,proto3" json:"state,omitempty"` - Direction []string `protobuf:"bytes,2,rep,name=direction,proto3" json:"direction,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + State []string `protobuf:"bytes,1,rep,name=state,proto3" json:"state,omitempty"` + Direction []string `protobuf:"bytes,2,rep,name=direction,proto3" json:"direction,omitempty"` } -func (m *PeersRequest) Reset() { *m = PeersRequest{} } -func (m *PeersRequest) String() string { return proto.CompactTextString(m) } -func (*PeersRequest) ProtoMessage() {} -func (*PeersRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_0637b62b723b719c, []int{4} -} -func (m *PeersRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *PeersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_PeersRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *PeersRequest) Reset() { + *x = PeersRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_eth_v1_node_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *PeersRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_PeersRequest.Merge(m, src) -} -func (m *PeersRequest) XXX_Size() int { - return m.Size() + +func (x *PeersRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *PeersRequest) XXX_DiscardUnknown() { - xxx_messageInfo_PeersRequest.DiscardUnknown(m) + +func (*PeersRequest) ProtoMessage() {} + +func (x *PeersRequest) ProtoReflect() protoreflect.Message { + mi := &file_eth_v1_node_proto_msgTypes[4] + 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) } -var xxx_messageInfo_PeersRequest proto.InternalMessageInfo +// Deprecated: Use PeersRequest.ProtoReflect.Descriptor instead. +func (*PeersRequest) Descriptor() ([]byte, []int) { + return file_eth_v1_node_proto_rawDescGZIP(), []int{4} +} -func (m *PeersRequest) GetState() []string { - if m != nil { - return m.State +func (x *PeersRequest) GetState() []string { + if x != nil { + return x.State } return nil } -func (m *PeersRequest) GetDirection() []string { - if m != nil { - return m.Direction +func (x *PeersRequest) GetDirection() []string { + if x != nil { + return x.Direction } return nil } type PeerResponse struct { - Data *Peer `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Data *Peer `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` } -func (m *PeerResponse) Reset() { *m = PeerResponse{} } -func (m *PeerResponse) String() string { return proto.CompactTextString(m) } -func (*PeerResponse) ProtoMessage() {} -func (*PeerResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_0637b62b723b719c, []int{5} -} -func (m *PeerResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *PeerResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_PeerResponse.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *PeerResponse) Reset() { + *x = PeerResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_eth_v1_node_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *PeerResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_PeerResponse.Merge(m, src) -} -func (m *PeerResponse) XXX_Size() int { - return m.Size() + +func (x *PeerResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *PeerResponse) XXX_DiscardUnknown() { - xxx_messageInfo_PeerResponse.DiscardUnknown(m) + +func (*PeerResponse) ProtoMessage() {} + +func (x *PeerResponse) ProtoReflect() protoreflect.Message { + mi := &file_eth_v1_node_proto_msgTypes[5] + 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) } -var xxx_messageInfo_PeerResponse proto.InternalMessageInfo +// Deprecated: Use PeerResponse.ProtoReflect.Descriptor instead. +func (*PeerResponse) Descriptor() ([]byte, []int) { + return file_eth_v1_node_proto_rawDescGZIP(), []int{5} +} -func (m *PeerResponse) GetData() *Peer { - if m != nil { - return m.Data +func (x *PeerResponse) GetData() *Peer { + if x != nil { + return x.Data } return nil } type PeersResponse struct { - Data []*Peer `protobuf:"bytes,1,rep,name=data,proto3" json:"data,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Data []*Peer `protobuf:"bytes,1,rep,name=data,proto3" json:"data,omitempty"` } -func (m *PeersResponse) Reset() { *m = PeersResponse{} } -func (m *PeersResponse) String() string { return proto.CompactTextString(m) } -func (*PeersResponse) ProtoMessage() {} -func (*PeersResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_0637b62b723b719c, []int{6} -} -func (m *PeersResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *PeersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_PeersResponse.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *PeersResponse) Reset() { + *x = PeersResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_eth_v1_node_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *PeersResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_PeersResponse.Merge(m, src) -} -func (m *PeersResponse) XXX_Size() int { - return m.Size() + +func (x *PeersResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *PeersResponse) XXX_DiscardUnknown() { - xxx_messageInfo_PeersResponse.DiscardUnknown(m) + +func (*PeersResponse) ProtoMessage() {} + +func (x *PeersResponse) ProtoReflect() protoreflect.Message { + mi := &file_eth_v1_node_proto_msgTypes[6] + 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) } -var xxx_messageInfo_PeersResponse proto.InternalMessageInfo +// Deprecated: Use PeersResponse.ProtoReflect.Descriptor instead. +func (*PeersResponse) Descriptor() ([]byte, []int) { + return file_eth_v1_node_proto_rawDescGZIP(), []int{6} +} -func (m *PeersResponse) GetData() []*Peer { - if m != nil { - return m.Data +func (x *PeersResponse) GetData() []*Peer { + if x != nil { + return x.Data } return nil } type PeerCountResponse struct { - Data *PeerCountResponse_PeerCount `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Data *PeerCountResponse_PeerCount `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` } -func (m *PeerCountResponse) Reset() { *m = PeerCountResponse{} } -func (m *PeerCountResponse) String() string { return proto.CompactTextString(m) } -func (*PeerCountResponse) ProtoMessage() {} -func (*PeerCountResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_0637b62b723b719c, []int{7} -} -func (m *PeerCountResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *PeerCountResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_PeerCountResponse.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *PeerCountResponse) Reset() { + *x = PeerCountResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_eth_v1_node_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *PeerCountResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_PeerCountResponse.Merge(m, src) -} -func (m *PeerCountResponse) XXX_Size() int { - return m.Size() -} -func (m *PeerCountResponse) XXX_DiscardUnknown() { - xxx_messageInfo_PeerCountResponse.DiscardUnknown(m) -} -var xxx_messageInfo_PeerCountResponse proto.InternalMessageInfo - -func (m *PeerCountResponse) GetData() *PeerCountResponse_PeerCount { - if m != nil { - return m.Data - } - return nil +func (x *PeerCountResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -type PeerCountResponse_PeerCount struct { - Disconnected uint64 `protobuf:"varint,1,opt,name=disconnected,proto3" json:"disconnected,omitempty"` - Connecting uint64 `protobuf:"varint,2,opt,name=connecting,proto3" json:"connecting,omitempty"` - Connected uint64 `protobuf:"varint,3,opt,name=connected,proto3" json:"connected,omitempty"` - Disconnecting uint64 `protobuf:"varint,4,opt,name=disconnecting,proto3" json:"disconnecting,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *PeerCountResponse_PeerCount) Reset() { *m = PeerCountResponse_PeerCount{} } -func (m *PeerCountResponse_PeerCount) String() string { return proto.CompactTextString(m) } -func (*PeerCountResponse_PeerCount) ProtoMessage() {} -func (*PeerCountResponse_PeerCount) Descriptor() ([]byte, []int) { - return fileDescriptor_0637b62b723b719c, []int{7, 0} -} -func (m *PeerCountResponse_PeerCount) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *PeerCountResponse_PeerCount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_PeerCountResponse_PeerCount.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err +func (*PeerCountResponse) ProtoMessage() {} + +func (x *PeerCountResponse) ProtoReflect() protoreflect.Message { + mi := &file_eth_v1_node_proto_msgTypes[7] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - return b[:n], nil + return ms } -} -func (m *PeerCountResponse_PeerCount) XXX_Merge(src proto.Message) { - xxx_messageInfo_PeerCountResponse_PeerCount.Merge(m, src) -} -func (m *PeerCountResponse_PeerCount) XXX_Size() int { - return m.Size() -} -func (m *PeerCountResponse_PeerCount) XXX_DiscardUnknown() { - xxx_messageInfo_PeerCountResponse_PeerCount.DiscardUnknown(m) + return mi.MessageOf(x) } -var xxx_messageInfo_PeerCountResponse_PeerCount proto.InternalMessageInfo +// Deprecated: Use PeerCountResponse.ProtoReflect.Descriptor instead. +func (*PeerCountResponse) Descriptor() ([]byte, []int) { + return file_eth_v1_node_proto_rawDescGZIP(), []int{7} +} -func (m *PeerCountResponse_PeerCount) GetDisconnected() uint64 { - if m != nil { - return m.Disconnected +func (x *PeerCountResponse) GetData() *PeerCountResponse_PeerCount { + if x != nil { + return x.Data } - return 0 + return nil } -func (m *PeerCountResponse_PeerCount) GetConnecting() uint64 { - if m != nil { - return m.Connecting - } - return 0 +type Peer struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + PeerId string `protobuf:"bytes,1,opt,name=peer_id,json=peerId,proto3" json:"peer_id,omitempty"` + Enr string `protobuf:"bytes,2,opt,name=enr,proto3" json:"enr,omitempty"` + Address string `protobuf:"bytes,3,opt,name=address,proto3" json:"address,omitempty"` + State ConnectionState `protobuf:"varint,4,opt,name=state,proto3,enum=ethereum.eth.v1.ConnectionState" json:"state,omitempty"` + Direction PeerDirection `protobuf:"varint,5,opt,name=direction,proto3,enum=ethereum.eth.v1.PeerDirection" json:"direction,omitempty"` } -func (m *PeerCountResponse_PeerCount) GetConnected() uint64 { - if m != nil { - return m.Connected +func (x *Peer) Reset() { + *x = Peer{} + if protoimpl.UnsafeEnabled { + mi := &file_eth_v1_node_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } - return 0 } -func (m *PeerCountResponse_PeerCount) GetDisconnecting() uint64 { - if m != nil { - return m.Disconnecting - } - return 0 +func (x *Peer) String() string { + return protoimpl.X.MessageStringOf(x) } -type Peer struct { - PeerId string `protobuf:"bytes,1,opt,name=peer_id,json=peerId,proto3" json:"peer_id,omitempty"` - Enr string `protobuf:"bytes,2,opt,name=enr,proto3" json:"enr,omitempty"` - Address string `protobuf:"bytes,3,opt,name=address,proto3" json:"address,omitempty"` - State ConnectionState `protobuf:"varint,4,opt,name=state,proto3,enum=ethereum.eth.v1.ConnectionState" json:"state,omitempty"` - Direction PeerDirection `protobuf:"varint,5,opt,name=direction,proto3,enum=ethereum.eth.v1.PeerDirection" json:"direction,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Peer) Reset() { *m = Peer{} } -func (m *Peer) String() string { return proto.CompactTextString(m) } -func (*Peer) ProtoMessage() {} -func (*Peer) Descriptor() ([]byte, []int) { - return fileDescriptor_0637b62b723b719c, []int{8} -} -func (m *Peer) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *Peer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_Peer.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err +func (*Peer) ProtoMessage() {} + +func (x *Peer) ProtoReflect() protoreflect.Message { + mi := &file_eth_v1_node_proto_msgTypes[8] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - return b[:n], nil + return ms } -} -func (m *Peer) XXX_Merge(src proto.Message) { - xxx_messageInfo_Peer.Merge(m, src) -} -func (m *Peer) XXX_Size() int { - return m.Size() -} -func (m *Peer) XXX_DiscardUnknown() { - xxx_messageInfo_Peer.DiscardUnknown(m) + return mi.MessageOf(x) } -var xxx_messageInfo_Peer proto.InternalMessageInfo +// Deprecated: Use Peer.ProtoReflect.Descriptor instead. +func (*Peer) Descriptor() ([]byte, []int) { + return file_eth_v1_node_proto_rawDescGZIP(), []int{8} +} -func (m *Peer) GetPeerId() string { - if m != nil { - return m.PeerId +func (x *Peer) GetPeerId() string { + if x != nil { + return x.PeerId } return "" } -func (m *Peer) GetEnr() string { - if m != nil { - return m.Enr +func (x *Peer) GetEnr() string { + if x != nil { + return x.Enr } return "" } -func (m *Peer) GetAddress() string { - if m != nil { - return m.Address +func (x *Peer) GetAddress() string { + if x != nil { + return x.Address } return "" } -func (m *Peer) GetState() ConnectionState { - if m != nil { - return m.State +func (x *Peer) GetState() ConnectionState { + if x != nil { + return x.State } return ConnectionState_DISCONNECTED } -func (m *Peer) GetDirection() PeerDirection { - if m != nil { - return m.Direction +func (x *Peer) GetDirection() PeerDirection { + if x != nil { + return x.Direction } return PeerDirection_UNKNOWN } type VersionResponse struct { - Data *Version `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Data *Version `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` } -func (m *VersionResponse) Reset() { *m = VersionResponse{} } -func (m *VersionResponse) String() string { return proto.CompactTextString(m) } -func (*VersionResponse) ProtoMessage() {} -func (*VersionResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_0637b62b723b719c, []int{9} -} -func (m *VersionResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *VersionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_VersionResponse.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *VersionResponse) Reset() { + *x = VersionResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_eth_v1_node_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *VersionResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_VersionResponse.Merge(m, src) -} -func (m *VersionResponse) XXX_Size() int { - return m.Size() + +func (x *VersionResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *VersionResponse) XXX_DiscardUnknown() { - xxx_messageInfo_VersionResponse.DiscardUnknown(m) + +func (*VersionResponse) ProtoMessage() {} + +func (x *VersionResponse) ProtoReflect() protoreflect.Message { + mi := &file_eth_v1_node_proto_msgTypes[9] + 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) } -var xxx_messageInfo_VersionResponse proto.InternalMessageInfo +// Deprecated: Use VersionResponse.ProtoReflect.Descriptor instead. +func (*VersionResponse) Descriptor() ([]byte, []int) { + return file_eth_v1_node_proto_rawDescGZIP(), []int{9} +} -func (m *VersionResponse) GetData() *Version { - if m != nil { - return m.Data +func (x *VersionResponse) GetData() *Version { + if x != nil { + return x.Data } return nil } type Version struct { - Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` } -func (m *Version) Reset() { *m = Version{} } -func (m *Version) String() string { return proto.CompactTextString(m) } -func (*Version) ProtoMessage() {} -func (*Version) Descriptor() ([]byte, []int) { - return fileDescriptor_0637b62b723b719c, []int{10} -} -func (m *Version) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *Version) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_Version.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *Version) Reset() { + *x = Version{} + if protoimpl.UnsafeEnabled { + mi := &file_eth_v1_node_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *Version) XXX_Merge(src proto.Message) { - xxx_messageInfo_Version.Merge(m, src) -} -func (m *Version) XXX_Size() int { - return m.Size() + +func (x *Version) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *Version) XXX_DiscardUnknown() { - xxx_messageInfo_Version.DiscardUnknown(m) + +func (*Version) ProtoMessage() {} + +func (x *Version) ProtoReflect() protoreflect.Message { + mi := &file_eth_v1_node_proto_msgTypes[10] + 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) } -var xxx_messageInfo_Version proto.InternalMessageInfo +// Deprecated: Use Version.ProtoReflect.Descriptor instead. +func (*Version) Descriptor() ([]byte, []int) { + return file_eth_v1_node_proto_rawDescGZIP(), []int{10} +} -func (m *Version) GetVersion() string { - if m != nil { - return m.Version +func (x *Version) GetVersion() string { + if x != nil { + return x.Version } return "" } type SyncingResponse struct { - Data *SyncInfo `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Data *SyncInfo `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` } -func (m *SyncingResponse) Reset() { *m = SyncingResponse{} } -func (m *SyncingResponse) String() string { return proto.CompactTextString(m) } -func (*SyncingResponse) ProtoMessage() {} -func (*SyncingResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_0637b62b723b719c, []int{11} -} -func (m *SyncingResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *SyncingResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_SyncingResponse.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *SyncingResponse) Reset() { + *x = SyncingResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_eth_v1_node_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *SyncingResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_SyncingResponse.Merge(m, src) -} -func (m *SyncingResponse) XXX_Size() int { - return m.Size() + +func (x *SyncingResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *SyncingResponse) XXX_DiscardUnknown() { - xxx_messageInfo_SyncingResponse.DiscardUnknown(m) + +func (*SyncingResponse) ProtoMessage() {} + +func (x *SyncingResponse) ProtoReflect() protoreflect.Message { + mi := &file_eth_v1_node_proto_msgTypes[11] + 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) } -var xxx_messageInfo_SyncingResponse proto.InternalMessageInfo +// Deprecated: Use SyncingResponse.ProtoReflect.Descriptor instead. +func (*SyncingResponse) Descriptor() ([]byte, []int) { + return file_eth_v1_node_proto_rawDescGZIP(), []int{11} +} -func (m *SyncingResponse) GetData() *SyncInfo { - if m != nil { - return m.Data +func (x *SyncingResponse) GetData() *SyncInfo { + if x != nil { + return x.Data } return nil } type SyncInfo struct { - HeadSlot github_com_prysmaticlabs_eth2_types.Slot `protobuf:"varint,1,opt,name=head_slot,json=headSlot,proto3,casttype=github.com/prysmaticlabs/eth2-types.Slot" json:"head_slot,omitempty"` - SyncDistance github_com_prysmaticlabs_eth2_types.Slot `protobuf:"varint,2,opt,name=sync_distance,json=syncDistance,proto3,casttype=github.com/prysmaticlabs/eth2-types.Slot" json:"sync_distance,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + HeadSlot github_com_prysmaticlabs_eth2_types.Slot `protobuf:"varint,1,opt,name=head_slot,json=headSlot,proto3" json:"head_slot,omitempty" cast-type:"github.com/prysmaticlabs/eth2-types.Slot"` + SyncDistance github_com_prysmaticlabs_eth2_types.Slot `protobuf:"varint,2,opt,name=sync_distance,json=syncDistance,proto3" json:"sync_distance,omitempty" cast-type:"github.com/prysmaticlabs/eth2-types.Slot"` } -func (m *SyncInfo) Reset() { *m = SyncInfo{} } -func (m *SyncInfo) String() string { return proto.CompactTextString(m) } -func (*SyncInfo) ProtoMessage() {} -func (*SyncInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_0637b62b723b719c, []int{12} -} -func (m *SyncInfo) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *SyncInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_SyncInfo.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err +func (x *SyncInfo) Reset() { + *x = SyncInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_eth_v1_node_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SyncInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SyncInfo) ProtoMessage() {} + +func (x *SyncInfo) ProtoReflect() protoreflect.Message { + mi := &file_eth_v1_node_proto_msgTypes[12] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - return b[:n], nil + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SyncInfo.ProtoReflect.Descriptor instead. +func (*SyncInfo) Descriptor() ([]byte, []int) { + return file_eth_v1_node_proto_rawDescGZIP(), []int{12} +} + +func (x *SyncInfo) GetHeadSlot() github_com_prysmaticlabs_eth2_types.Slot { + if x != nil { + return x.HeadSlot + } + return github_com_prysmaticlabs_eth2_types.Slot(0) +} + +func (x *SyncInfo) GetSyncDistance() github_com_prysmaticlabs_eth2_types.Slot { + if x != nil { + return x.SyncDistance + } + return github_com_prysmaticlabs_eth2_types.Slot(0) +} + +type PeerCountResponse_PeerCount struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Disconnected uint64 `protobuf:"varint,1,opt,name=disconnected,proto3" json:"disconnected,omitempty"` + Connecting uint64 `protobuf:"varint,2,opt,name=connecting,proto3" json:"connecting,omitempty"` + Connected uint64 `protobuf:"varint,3,opt,name=connected,proto3" json:"connected,omitempty"` + Disconnecting uint64 `protobuf:"varint,4,opt,name=disconnecting,proto3" json:"disconnecting,omitempty"` +} + +func (x *PeerCountResponse_PeerCount) Reset() { + *x = PeerCountResponse_PeerCount{} + if protoimpl.UnsafeEnabled { + mi := &file_eth_v1_node_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *SyncInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_SyncInfo.Merge(m, src) + +func (x *PeerCountResponse_PeerCount) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PeerCountResponse_PeerCount) ProtoMessage() {} + +func (x *PeerCountResponse_PeerCount) ProtoReflect() protoreflect.Message { + mi := &file_eth_v1_node_proto_msgTypes[13] + 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) } -func (m *SyncInfo) XXX_Size() int { - return m.Size() + +// Deprecated: Use PeerCountResponse_PeerCount.ProtoReflect.Descriptor instead. +func (*PeerCountResponse_PeerCount) Descriptor() ([]byte, []int) { + return file_eth_v1_node_proto_rawDescGZIP(), []int{7, 0} } -func (m *SyncInfo) XXX_DiscardUnknown() { - xxx_messageInfo_SyncInfo.DiscardUnknown(m) + +func (x *PeerCountResponse_PeerCount) GetDisconnected() uint64 { + if x != nil { + return x.Disconnected + } + return 0 } -var xxx_messageInfo_SyncInfo proto.InternalMessageInfo +func (x *PeerCountResponse_PeerCount) GetConnecting() uint64 { + if x != nil { + return x.Connecting + } + return 0 +} -func (m *SyncInfo) GetHeadSlot() github_com_prysmaticlabs_eth2_types.Slot { - if m != nil { - return m.HeadSlot +func (x *PeerCountResponse_PeerCount) GetConnected() uint64 { + if x != nil { + return x.Connected } return 0 } -func (m *SyncInfo) GetSyncDistance() github_com_prysmaticlabs_eth2_types.Slot { - if m != nil { - return m.SyncDistance +func (x *PeerCountResponse_PeerCount) GetDisconnecting() uint64 { + if x != nil { + return x.Disconnecting } return 0 } -func init() { - proto.RegisterEnum("ethereum.eth.v1.PeerDirection", PeerDirection_name, PeerDirection_value) - proto.RegisterEnum("ethereum.eth.v1.ConnectionState", ConnectionState_name, ConnectionState_value) - proto.RegisterType((*IdentityResponse)(nil), "ethereum.eth.v1.IdentityResponse") - proto.RegisterType((*Identity)(nil), "ethereum.eth.v1.Identity") - proto.RegisterType((*Metadata)(nil), "ethereum.eth.v1.Metadata") - proto.RegisterType((*PeerRequest)(nil), "ethereum.eth.v1.PeerRequest") - proto.RegisterType((*PeersRequest)(nil), "ethereum.eth.v1.PeersRequest") - proto.RegisterType((*PeerResponse)(nil), "ethereum.eth.v1.PeerResponse") - proto.RegisterType((*PeersResponse)(nil), "ethereum.eth.v1.PeersResponse") - proto.RegisterType((*PeerCountResponse)(nil), "ethereum.eth.v1.PeerCountResponse") - proto.RegisterType((*PeerCountResponse_PeerCount)(nil), "ethereum.eth.v1.PeerCountResponse.PeerCount") - proto.RegisterType((*Peer)(nil), "ethereum.eth.v1.Peer") - proto.RegisterType((*VersionResponse)(nil), "ethereum.eth.v1.VersionResponse") - proto.RegisterType((*Version)(nil), "ethereum.eth.v1.Version") - proto.RegisterType((*SyncingResponse)(nil), "ethereum.eth.v1.SyncingResponse") - proto.RegisterType((*SyncInfo)(nil), "ethereum.eth.v1.SyncInfo") -} - -func init() { proto.RegisterFile("eth/v1/node.proto", fileDescriptor_0637b62b723b719c) } - -var fileDescriptor_0637b62b723b719c = []byte{ - // 1067 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x55, 0xcf, 0x6f, 0x1b, 0x45, - 0x14, 0xee, 0xda, 0x4e, 0x6d, 0xbf, 0xd8, 0xb5, 0x3b, 0x4d, 0x1a, 0xd7, 0x4d, 0x9c, 0xb0, 0xad, - 0x50, 0xa8, 0x92, 0x35, 0x31, 0x50, 0xa0, 0x42, 0xa2, 0x75, 0x6c, 0x19, 0x0b, 0x70, 0x82, 0xd3, - 0x00, 0x42, 0x15, 0xd6, 0x7a, 0xf7, 0x65, 0xbd, 0x92, 0xbd, 0xb3, 0xd9, 0x19, 0x5b, 0x72, 0x11, - 0x17, 0x0e, 0x48, 0x9c, 0xfb, 0x4f, 0x20, 0xfe, 0x0b, 0x38, 0x21, 0x4e, 0x48, 0xdc, 0x23, 0x14, - 0x71, 0xe3, 0xc6, 0xb1, 0x27, 0x34, 0xb3, 0xbb, 0xfe, 0x11, 0x67, 0x29, 0xb9, 0xed, 0xfb, 0xe6, - 0x7b, 0xdf, 0xb7, 0xf3, 0xde, 0xbc, 0x19, 0xb8, 0x89, 0xbc, 0x57, 0x1e, 0xed, 0x95, 0x1d, 0x6a, - 0xa2, 0xe6, 0x7a, 0x94, 0x53, 0x92, 0x43, 0xde, 0x43, 0x0f, 0x87, 0x03, 0x0d, 0x79, 0x4f, 0x1b, - 0xed, 0x15, 0x77, 0x2d, 0x9b, 0xf7, 0x86, 0x5d, 0xcd, 0xa0, 0x83, 0xb2, 0x45, 0x2d, 0x5a, 0x96, - 0xbc, 0xee, 0xf0, 0x44, 0x46, 0x32, 0x90, 0x5f, 0x7e, 0x7e, 0xf1, 0xae, 0x45, 0xa9, 0xd5, 0xc7, - 0x29, 0x0b, 0x07, 0x2e, 0x1f, 0x07, 0x8b, 0xeb, 0xc1, 0xa2, 0xee, 0xda, 0x65, 0xdd, 0x71, 0x28, - 0xd7, 0xb9, 0x4d, 0x1d, 0xe6, 0xaf, 0xaa, 0x4f, 0x20, 0xdf, 0x34, 0xd1, 0xe1, 0x36, 0x1f, 0xb7, - 0x91, 0xb9, 0xd4, 0x61, 0x48, 0x76, 0x21, 0x61, 0xea, 0x5c, 0x2f, 0x28, 0x5b, 0xca, 0xf6, 0x72, - 0xe5, 0x8e, 0x76, 0xe1, 0xef, 0xb4, 0x49, 0x82, 0xa4, 0xa9, 0xbf, 0x28, 0x90, 0x0a, 0x21, 0xb2, - 0x06, 0x49, 0x17, 0xd1, 0xeb, 0xd8, 0xa6, 0x4c, 0x4f, 0xb7, 0xaf, 0x8b, 0xb0, 0x69, 0x92, 0x3c, - 0xc4, 0xd1, 0xf1, 0x0a, 0x31, 0x09, 0x8a, 0x4f, 0x72, 0x0f, 0xb2, 0x6e, 0xc5, 0xed, 0xe8, 0xa6, - 0xe9, 0x21, 0x63, 0xc8, 0x0a, 0xf1, 0xad, 0xf8, 0x76, 0xba, 0x9d, 0x71, 0x2b, 0xee, 0x93, 0x10, - 0x23, 0x65, 0xb8, 0x65, 0xda, 0xcc, 0xa0, 0x23, 0xf4, 0xc6, 0x33, 0xd4, 0x84, 0xa4, 0x92, 0xc9, - 0xd2, 0x34, 0xe1, 0x1d, 0x48, 0x0d, 0x90, 0xeb, 0x72, 0x03, 0x4b, 0x11, 0x1b, 0xf8, 0x34, 0x20, - 0xb4, 0x27, 0x54, 0xf5, 0x07, 0x05, 0x52, 0x21, 0x4c, 0x36, 0x00, 0x18, 0x9e, 0x76, 0x9c, 0xe1, - 0xa0, 0x8b, 0x9e, 0xdc, 0x47, 0xa2, 0x9d, 0x66, 0x78, 0xda, 0x92, 0x00, 0xf9, 0x1a, 0x92, 0x3a, - 0xe7, 0x0e, 0x72, 0x26, 0xb7, 0x93, 0xa9, 0xd6, 0xfe, 0x39, 0xdb, 0xcc, 0x30, 0xf6, 0x7c, 0x97, - 0xd9, 0xcf, 0xf1, 0x91, 0xfa, 0x9e, 0xfa, 0xf2, 0x6c, 0xf3, 0xcd, 0x99, 0x16, 0xba, 0xde, 0x98, - 0x0d, 0x74, 0x6e, 0x1b, 0x7d, 0xbd, 0xcb, 0xca, 0x16, 0xdd, 0xed, 0xda, 0xfc, 0xc4, 0xc6, 0xbe, - 0xa9, 0x55, 0x6d, 0x3e, 0x42, 0x83, 0x53, 0xef, 0xe1, 0xdb, 0xed, 0x50, 0x54, 0x7d, 0x1d, 0x96, - 0x0f, 0x11, 0xbd, 0x36, 0x9e, 0x0e, 0x91, 0xf1, 0xc8, 0x92, 0xaa, 0x55, 0xc8, 0x08, 0x1e, 0x0b, - 0x89, 0x2b, 0xb0, 0xc4, 0xb8, 0xce, 0xb1, 0xa0, 0xc8, 0xea, 0xf8, 0x01, 0x59, 0x87, 0xb4, 0x69, - 0x7b, 0x68, 0x88, 0xae, 0x17, 0x62, 0x72, 0x65, 0x0a, 0xa8, 0xef, 0xfb, 0x1a, 0x93, 0xde, 0xbf, - 0x31, 0xd7, 0xfb, 0xd5, 0x85, 0xd2, 0x49, 0xb2, 0xdf, 0xf7, 0x47, 0x90, 0x0d, 0xec, 0x17, 0x72, - 0xe3, 0xaf, 0xca, 0xfd, 0x5b, 0x81, 0x9b, 0x22, 0xdc, 0xa7, 0x43, 0x87, 0x4f, 0x04, 0x1e, 0xcf, - 0x99, 0xef, 0x5c, 0x2a, 0x30, 0x97, 0x31, 0x83, 0xc8, 0xcc, 0xe2, 0x0b, 0x05, 0xd2, 0x13, 0x8c, - 0xa8, 0x90, 0x91, 0x27, 0xc4, 0x71, 0xd0, 0xe0, 0x68, 0x06, 0x9d, 0x9c, 0xc3, 0x48, 0x09, 0x20, - 0x08, 0x6c, 0xc7, 0x92, 0xfd, 0x4c, 0xb4, 0x67, 0x10, 0x51, 0xbe, 0xa9, 0x40, 0xdc, 0x3f, 0x0a, - 0xd3, 0xec, 0xfb, 0x90, 0x9d, 0xaa, 0x09, 0x81, 0x84, 0x64, 0xcc, 0x83, 0xea, 0xcf, 0x0a, 0x24, - 0xc4, 0x5f, 0x5d, 0x65, 0x3a, 0x0a, 0x90, 0x0c, 0x8e, 0xbb, 0x74, 0x4d, 0xb7, 0xc3, 0x90, 0x3c, - 0x0c, 0xdb, 0x2c, 0xbc, 0x6e, 0x54, 0xb6, 0x16, 0xca, 0xb4, 0x1f, 0x38, 0x53, 0xe7, 0x48, 0xf0, - 0xc2, 0x83, 0xf0, 0xc1, 0xec, 0x41, 0x58, 0x92, 0xb9, 0xa5, 0x4b, 0x4b, 0x5c, 0x0b, 0x59, 0xb3, - 0x07, 0xe5, 0x43, 0xc8, 0x7d, 0x8e, 0x1e, 0x13, 0x68, 0xd8, 0xae, 0x9d, 0xb9, 0x76, 0x15, 0x16, - 0xb4, 0x42, 0xbe, 0xdf, 0xf2, 0x7b, 0x90, 0x0c, 0x00, 0xb1, 0xb7, 0x91, 0xff, 0x19, 0x94, 0x21, - 0x0c, 0xd5, 0xc7, 0x90, 0x3b, 0x1a, 0x3b, 0x86, 0xed, 0x58, 0xff, 0xfb, 0x36, 0x12, 0xfc, 0xa6, - 0x73, 0x42, 0x03, 0x9b, 0x1f, 0x15, 0x48, 0x85, 0x10, 0x69, 0x42, 0xba, 0x87, 0xba, 0xd9, 0x61, - 0x7d, 0xca, 0xfd, 0xee, 0x57, 0x77, 0x5e, 0x9e, 0x6d, 0x6e, 0x47, 0xce, 0x26, 0xf2, 0x5e, 0x65, - 0x97, 0x8f, 0x5d, 0x64, 0xda, 0x51, 0x9f, 0xf2, 0x76, 0x4a, 0xa4, 0x8b, 0x2f, 0xf2, 0x19, 0x64, - 0xd9, 0xd8, 0x31, 0x3a, 0xa6, 0xcd, 0xb8, 0xee, 0x18, 0xe8, 0x1f, 0x95, 0x2b, 0xca, 0x65, 0x84, - 0x44, 0x2d, 0x50, 0x78, 0xf0, 0xae, 0x3f, 0x40, 0x93, 0x72, 0x93, 0x65, 0x48, 0x1e, 0xb7, 0x3e, - 0x6e, 0x1d, 0x7c, 0xd1, 0xca, 0x5f, 0x13, 0x41, 0xb3, 0x55, 0x3d, 0x38, 0x6e, 0xd5, 0xf2, 0x0a, - 0xc9, 0x40, 0xea, 0xe0, 0xf8, 0xa9, 0x1f, 0xc5, 0x1e, 0x1c, 0x43, 0xee, 0x42, 0x8f, 0x49, 0x1e, - 0x32, 0xb5, 0xe6, 0xd1, 0xfe, 0x41, 0xab, 0x55, 0xdf, 0x7f, 0x5a, 0xaf, 0xe5, 0xaf, 0x91, 0x9b, - 0x90, 0x9d, 0x22, 0xcd, 0x56, 0x23, 0xaf, 0x90, 0x2c, 0xa4, 0xa7, 0x8c, 0x18, 0xb9, 0x01, 0x30, - 0xb3, 0x1c, 0xaf, 0x9c, 0x2d, 0x01, 0x54, 0x51, 0x37, 0xa8, 0xd3, 0xa2, 0x26, 0x12, 0x0b, 0x96, - 0x1b, 0xc8, 0x27, 0x37, 0xfb, 0x6d, 0xcd, 0x7f, 0x48, 0xb4, 0xf0, 0x95, 0xd1, 0xea, 0xe2, 0x95, - 0x29, 0xbe, 0x16, 0xfd, 0x3e, 0x04, 0x2d, 0x54, 0x37, 0xbe, 0xfb, 0xe3, 0xaf, 0x17, 0xb1, 0x35, - 0xb2, 0x5a, 0x9e, 0x79, 0xfb, 0xca, 0x76, 0xa8, 0xdc, 0x87, 0x64, 0x03, 0xb9, 0x1c, 0x90, 0xf5, - 0xcb, 0x2f, 0x0d, 0xff, 0x82, 0x2b, 0x6e, 0x44, 0xac, 0x06, 0x36, 0xf7, 0xa5, 0x4d, 0x89, 0xac, - 0xcf, 0xd9, 0x88, 0x09, 0x63, 0xe5, 0x6f, 0x82, 0xb9, 0xfb, 0x96, 0x9c, 0x40, 0xfa, 0x13, 0x9b, - 0x49, 0x3b, 0x46, 0x2e, 0x57, 0x0c, 0x6f, 0xd4, 0x62, 0x29, 0x6a, 0x39, 0x70, 0x2c, 0x4a, 0xc7, - 0x15, 0x42, 0x16, 0x1d, 0x49, 0x6f, 0xf6, 0x26, 0x8a, 0x2a, 0x9e, 0xfa, 0xea, 0x3b, 0x4e, 0xdd, - 0x94, 0x26, 0x77, 0xc8, 0xda, 0x82, 0x49, 0xc7, 0x90, 0xe2, 0x26, 0x40, 0x03, 0x79, 0x38, 0x5c, - 0x51, 0x56, 0x5b, 0x91, 0xf3, 0x19, 0x1a, 0xad, 0x4b, 0xa3, 0xdb, 0x64, 0x65, 0xce, 0x28, 0x18, - 0x4d, 0x62, 0x41, 0xb6, 0x81, 0x5c, 0x8c, 0x96, 0x38, 0x71, 0x43, 0x76, 0x05, 0xa3, 0x0b, 0x23, - 0x1d, 0x61, 0xc4, 0x7c, 0x16, 0xf9, 0x12, 0xd2, 0x0d, 0xe4, 0x1f, 0xa1, 0xde, 0xe7, 0xbd, 0x48, - 0x93, 0x08, 0x5c, 0xbd, 0x2b, 0xa5, 0x57, 0xc9, 0xad, 0x39, 0xe9, 0x9e, 0x14, 0xab, 0x7e, 0xaf, - 0xfc, 0x7a, 0x5e, 0x52, 0x7e, 0x3f, 0x2f, 0x29, 0x7f, 0x9e, 0x97, 0x14, 0xb8, 0x45, 0x3d, 0xeb, - 0xe2, 0xbf, 0x56, 0x73, 0xd3, 0x09, 0x38, 0x14, 0xd2, 0x87, 0xca, 0x57, 0x3b, 0xff, 0x35, 0xdf, - 0x32, 0x59, 0x77, 0x6d, 0x16, 0x18, 0xfe, 0x14, 0xcb, 0xd5, 0x43, 0xc9, 0xba, 0x94, 0xfc, 0x6d, - 0x8a, 0x3c, 0xab, 0xf3, 0xde, 0xb3, 0xd1, 0x5e, 0xf7, 0xba, 0xfc, 0xeb, 0xb7, 0xfe, 0x0d, 0x00, - 0x00, 0xff, 0xff, 0x74, 0xc7, 0x2d, 0x31, 0x0c, 0x0a, 0x00, 0x00, +var File_eth_v1_node_proto protoreflect.FileDescriptor + +var file_eth_v1_node_proto_rawDesc = []byte{ + 0x0a, 0x11, 0x65, 0x74, 0x68, 0x2f, 0x76, 0x31, 0x2f, 0x6e, 0x6f, 0x64, 0x65, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x12, 0x0f, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, + 0x68, 0x2e, 0x76, 0x31, 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, 0x20, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x75, 0x66, 0x2f, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 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, 0x1a, 0x15, 0x65, 0x74, 0x68, 0x2f, 0x65, 0x78, 0x74, 0x2f, 0x6f, 0x70, 0x74, 0x69, 0x6f, + 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x41, 0x0a, 0x10, 0x49, 0x64, 0x65, 0x6e, + 0x74, 0x69, 0x74, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2d, 0x0a, 0x04, + 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x65, 0x74, 0x68, + 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x64, 0x65, + 0x6e, 0x74, 0x69, 0x74, 0x79, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0xc2, 0x01, 0x0a, 0x08, + 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x12, 0x17, 0x0a, 0x07, 0x70, 0x65, 0x65, 0x72, + 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x70, 0x65, 0x65, 0x72, 0x49, + 0x64, 0x12, 0x10, 0x0a, 0x03, 0x65, 0x6e, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, + 0x65, 0x6e, 0x72, 0x12, 0x23, 0x0a, 0x0d, 0x70, 0x32, 0x70, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, + 0x73, 0x73, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0c, 0x70, 0x32, 0x70, 0x41, + 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x65, 0x73, 0x12, 0x2f, 0x0a, 0x13, 0x64, 0x69, 0x73, 0x63, + 0x6f, 0x76, 0x65, 0x72, 0x79, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x65, 0x73, 0x18, + 0x04, 0x20, 0x03, 0x28, 0x09, 0x52, 0x12, 0x64, 0x69, 0x73, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x79, + 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x65, 0x73, 0x12, 0x35, 0x0a, 0x08, 0x6d, 0x65, 0x74, + 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x65, 0x74, + 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x65, + 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, + 0x22, 0x7e, 0x0a, 0x08, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x1d, 0x0a, 0x0a, + 0x73, 0x65, 0x71, 0x5f, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, + 0x52, 0x09, 0x73, 0x65, 0x71, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x53, 0x0a, 0x07, 0x61, + 0x74, 0x74, 0x6e, 0x65, 0x74, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x42, 0x39, 0x8a, 0xb5, + 0x18, 0x01, 0x38, 0x82, 0xb5, 0x18, 0x30, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, + 0x6d, 0x2f, 0x70, 0x72, 0x79, 0x73, 0x6d, 0x61, 0x74, 0x69, 0x63, 0x6c, 0x61, 0x62, 0x73, 0x2f, + 0x67, 0x6f, 0x2d, 0x62, 0x69, 0x74, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x2e, 0x42, 0x69, 0x74, 0x76, + 0x65, 0x63, 0x74, 0x6f, 0x72, 0x36, 0x34, 0x52, 0x07, 0x61, 0x74, 0x74, 0x6e, 0x65, 0x74, 0x73, + 0x22, 0x26, 0x0a, 0x0b, 0x50, 0x65, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, + 0x17, 0x0a, 0x07, 0x70, 0x65, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x06, 0x70, 0x65, 0x65, 0x72, 0x49, 0x64, 0x22, 0x42, 0x0a, 0x0c, 0x50, 0x65, 0x65, 0x72, + 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, + 0x65, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x1c, + 0x0a, 0x09, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x03, 0x28, + 0x09, 0x52, 0x09, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x39, 0x0a, 0x0c, + 0x50, 0x65, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x29, 0x0a, 0x04, + 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x65, 0x74, 0x68, + 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x65, 0x65, + 0x72, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0x3a, 0x0a, 0x0d, 0x50, 0x65, 0x65, 0x72, 0x73, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x29, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, + 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, + 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x65, 0x65, 0x72, 0x52, 0x04, 0x64, + 0x61, 0x74, 0x61, 0x22, 0xeb, 0x01, 0x0a, 0x11, 0x50, 0x65, 0x65, 0x72, 0x43, 0x6f, 0x75, 0x6e, + 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x40, 0x0a, 0x04, 0x64, 0x61, 0x74, + 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, + 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x65, 0x65, 0x72, 0x43, 0x6f, + 0x75, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x50, 0x65, 0x65, 0x72, + 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x1a, 0x93, 0x01, 0x0a, 0x09, + 0x50, 0x65, 0x65, 0x72, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x22, 0x0a, 0x0c, 0x64, 0x69, 0x73, + 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x65, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, + 0x0c, 0x64, 0x69, 0x73, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x65, 0x64, 0x12, 0x1e, 0x0a, + 0x0a, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6e, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x04, 0x52, 0x0a, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6e, 0x67, 0x12, 0x1c, 0x0a, + 0x09, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x65, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, + 0x52, 0x09, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x65, 0x64, 0x12, 0x24, 0x0a, 0x0d, 0x64, + 0x69, 0x73, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6e, 0x67, 0x18, 0x04, 0x20, 0x01, + 0x28, 0x04, 0x52, 0x0d, 0x64, 0x69, 0x73, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6e, + 0x67, 0x22, 0xc1, 0x01, 0x0a, 0x04, 0x50, 0x65, 0x65, 0x72, 0x12, 0x17, 0x0a, 0x07, 0x70, 0x65, + 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x70, 0x65, 0x65, + 0x72, 0x49, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x65, 0x6e, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x03, 0x65, 0x6e, 0x72, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, + 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, + 0x36, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x20, + 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, + 0x2e, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x65, + 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x3c, 0x0a, 0x09, 0x64, 0x69, 0x72, 0x65, 0x63, + 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1e, 0x2e, 0x65, 0x74, 0x68, + 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x65, 0x65, + 0x72, 0x44, 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x09, 0x64, 0x69, 0x72, 0x65, + 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x3f, 0x0a, 0x0f, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2c, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, + 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, + 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0x23, 0x0a, 0x07, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, + 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x40, 0x0a, 0x0f, 0x53, + 0x79, 0x6e, 0x63, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2d, + 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x65, + 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x53, + 0x79, 0x6e, 0x63, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0xa8, 0x01, + 0x0a, 0x08, 0x53, 0x79, 0x6e, 0x63, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x49, 0x0a, 0x09, 0x68, 0x65, + 0x61, 0x64, 0x5f, 0x73, 0x6c, 0x6f, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x42, 0x2c, 0x82, + 0xb5, 0x18, 0x28, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x72, + 0x79, 0x73, 0x6d, 0x61, 0x74, 0x69, 0x63, 0x6c, 0x61, 0x62, 0x73, 0x2f, 0x65, 0x74, 0x68, 0x32, + 0x2d, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x53, 0x6c, 0x6f, 0x74, 0x52, 0x08, 0x68, 0x65, 0x61, + 0x64, 0x53, 0x6c, 0x6f, 0x74, 0x12, 0x51, 0x0a, 0x0d, 0x73, 0x79, 0x6e, 0x63, 0x5f, 0x64, 0x69, + 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x42, 0x2c, 0x82, 0xb5, + 0x18, 0x28, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x72, 0x79, + 0x73, 0x6d, 0x61, 0x74, 0x69, 0x63, 0x6c, 0x61, 0x62, 0x73, 0x2f, 0x65, 0x74, 0x68, 0x32, 0x2d, + 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x53, 0x6c, 0x6f, 0x74, 0x52, 0x0c, 0x73, 0x79, 0x6e, 0x63, + 0x44, 0x69, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x2a, 0x37, 0x0a, 0x0d, 0x50, 0x65, 0x65, 0x72, + 0x44, 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x0b, 0x0a, 0x07, 0x55, 0x4e, 0x4b, + 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x0b, 0x0a, 0x07, 0x49, 0x4e, 0x42, 0x4f, 0x55, 0x4e, + 0x44, 0x10, 0x01, 0x12, 0x0c, 0x0a, 0x08, 0x4f, 0x55, 0x54, 0x42, 0x4f, 0x55, 0x4e, 0x44, 0x10, + 0x02, 0x2a, 0x55, 0x0a, 0x0f, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x53, + 0x74, 0x61, 0x74, 0x65, 0x12, 0x10, 0x0a, 0x0c, 0x44, 0x49, 0x53, 0x43, 0x4f, 0x4e, 0x4e, 0x45, + 0x43, 0x54, 0x45, 0x44, 0x10, 0x00, 0x12, 0x11, 0x0a, 0x0d, 0x44, 0x49, 0x53, 0x43, 0x4f, 0x4e, + 0x4e, 0x45, 0x43, 0x54, 0x49, 0x4e, 0x47, 0x10, 0x01, 0x12, 0x0d, 0x0a, 0x09, 0x43, 0x4f, 0x4e, + 0x4e, 0x45, 0x43, 0x54, 0x45, 0x44, 0x10, 0x02, 0x12, 0x0e, 0x0a, 0x0a, 0x43, 0x4f, 0x4e, 0x4e, + 0x45, 0x43, 0x54, 0x49, 0x4e, 0x47, 0x10, 0x03, 0x32, 0xde, 0x05, 0x0a, 0x0a, 0x42, 0x65, 0x61, + 0x63, 0x6f, 0x6e, 0x4e, 0x6f, 0x64, 0x65, 0x12, 0x67, 0x0a, 0x0b, 0x47, 0x65, 0x74, 0x49, 0x64, + 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 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, 0x21, + 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, + 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x22, 0x1d, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x17, 0x12, 0x15, 0x2f, 0x65, 0x74, 0x68, 0x2f, + 0x76, 0x31, 0x2f, 0x6e, 0x6f, 0x64, 0x65, 0x2f, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, + 0x12, 0x66, 0x0a, 0x09, 0x4c, 0x69, 0x73, 0x74, 0x50, 0x65, 0x65, 0x72, 0x73, 0x12, 0x1d, 0x2e, + 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x2e, + 0x50, 0x65, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1e, 0x2e, 0x65, + 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x50, + 0x65, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x1a, 0x82, 0xd3, + 0xe4, 0x93, 0x02, 0x14, 0x12, 0x12, 0x2f, 0x65, 0x74, 0x68, 0x2f, 0x76, 0x31, 0x2f, 0x6e, 0x6f, + 0x64, 0x65, 0x2f, 0x70, 0x65, 0x65, 0x72, 0x73, 0x12, 0x6c, 0x0a, 0x07, 0x47, 0x65, 0x74, 0x50, + 0x65, 0x65, 0x72, 0x12, 0x1c, 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, + 0x74, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x65, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x1a, 0x1d, 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, + 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x65, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x22, 0x24, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1e, 0x12, 0x1c, 0x2f, 0x65, 0x74, 0x68, 0x2f, 0x76, + 0x31, 0x2f, 0x6e, 0x6f, 0x64, 0x65, 0x2f, 0x70, 0x65, 0x65, 0x72, 0x73, 0x2f, 0x7b, 0x70, 0x65, + 0x65, 0x72, 0x5f, 0x69, 0x64, 0x7d, 0x12, 0x68, 0x0a, 0x09, 0x50, 0x65, 0x65, 0x72, 0x43, 0x6f, + 0x75, 0x6e, 0x74, 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, 0x22, 0x2e, 0x65, 0x74, + 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x65, + 0x65, 0x72, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, + 0x1f, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x19, 0x12, 0x17, 0x2f, 0x65, 0x74, 0x68, 0x2f, 0x76, 0x31, + 0x2f, 0x6e, 0x6f, 0x64, 0x65, 0x2f, 0x70, 0x65, 0x65, 0x72, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, + 0x12, 0x67, 0x0a, 0x0d, 0x47, 0x65, 0x74, 0x53, 0x79, 0x6e, 0x63, 0x53, 0x74, 0x61, 0x74, 0x75, + 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, 0x20, 0x2e, 0x65, 0x74, 0x68, 0x65, + 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x79, 0x6e, 0x63, + 0x69, 0x6e, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x1c, 0x82, 0xd3, 0xe4, + 0x93, 0x02, 0x16, 0x12, 0x14, 0x2f, 0x65, 0x74, 0x68, 0x2f, 0x76, 0x31, 0x2f, 0x6e, 0x6f, 0x64, + 0x65, 0x2f, 0x73, 0x79, 0x6e, 0x63, 0x69, 0x6e, 0x67, 0x12, 0x64, 0x0a, 0x0a, 0x47, 0x65, 0x74, + 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 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, + 0x20, 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, + 0x31, 0x2e, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x22, 0x1c, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x16, 0x12, 0x14, 0x2f, 0x65, 0x74, 0x68, 0x2f, + 0x76, 0x31, 0x2f, 0x6e, 0x6f, 0x64, 0x65, 0x2f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, + 0x58, 0x0a, 0x09, 0x47, 0x65, 0x74, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 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, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x1b, 0x82, 0xd3, + 0xe4, 0x93, 0x02, 0x15, 0x12, 0x13, 0x2f, 0x65, 0x74, 0x68, 0x2f, 0x76, 0x31, 0x2f, 0x6e, 0x6f, + 0x64, 0x65, 0x2f, 0x68, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x42, 0x7a, 0x0a, 0x13, 0x6f, 0x72, 0x67, + 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, + 0x42, 0x0f, 0x42, 0x65, 0x61, 0x63, 0x6f, 0x6e, 0x4e, 0x6f, 0x64, 0x65, 0x50, 0x72, 0x6f, 0x74, + 0x6f, 0x50, 0x01, 0x5a, 0x2c, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, + 0x70, 0x72, 0x79, 0x73, 0x6d, 0x61, 0x74, 0x69, 0x63, 0x6c, 0x61, 0x62, 0x73, 0x2f, 0x65, 0x74, + 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x65, 0x74, 0x68, 0x2f, 0x76, + 0x31, 0xaa, 0x02, 0x0f, 0x45, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x45, 0x74, 0x68, + 0x2e, 0x76, 0x31, 0xca, 0x02, 0x0f, 0x45, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x5c, 0x45, + 0x74, 0x68, 0x5c, 0x76, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_eth_v1_node_proto_rawDescOnce sync.Once + file_eth_v1_node_proto_rawDescData = file_eth_v1_node_proto_rawDesc +) + +func file_eth_v1_node_proto_rawDescGZIP() []byte { + file_eth_v1_node_proto_rawDescOnce.Do(func() { + file_eth_v1_node_proto_rawDescData = protoimpl.X.CompressGZIP(file_eth_v1_node_proto_rawDescData) + }) + return file_eth_v1_node_proto_rawDescData +} + +var file_eth_v1_node_proto_enumTypes = make([]protoimpl.EnumInfo, 2) +var file_eth_v1_node_proto_msgTypes = make([]protoimpl.MessageInfo, 14) +var file_eth_v1_node_proto_goTypes = []interface{}{ + (PeerDirection)(0), // 0: ethereum.eth.v1.PeerDirection + (ConnectionState)(0), // 1: ethereum.eth.v1.ConnectionState + (*IdentityResponse)(nil), // 2: ethereum.eth.v1.IdentityResponse + (*Identity)(nil), // 3: ethereum.eth.v1.Identity + (*Metadata)(nil), // 4: ethereum.eth.v1.Metadata + (*PeerRequest)(nil), // 5: ethereum.eth.v1.PeerRequest + (*PeersRequest)(nil), // 6: ethereum.eth.v1.PeersRequest + (*PeerResponse)(nil), // 7: ethereum.eth.v1.PeerResponse + (*PeersResponse)(nil), // 8: ethereum.eth.v1.PeersResponse + (*PeerCountResponse)(nil), // 9: ethereum.eth.v1.PeerCountResponse + (*Peer)(nil), // 10: ethereum.eth.v1.Peer + (*VersionResponse)(nil), // 11: ethereum.eth.v1.VersionResponse + (*Version)(nil), // 12: ethereum.eth.v1.Version + (*SyncingResponse)(nil), // 13: ethereum.eth.v1.SyncingResponse + (*SyncInfo)(nil), // 14: ethereum.eth.v1.SyncInfo + (*PeerCountResponse_PeerCount)(nil), // 15: ethereum.eth.v1.PeerCountResponse.PeerCount + (*empty.Empty)(nil), // 16: google.protobuf.Empty +} +var file_eth_v1_node_proto_depIdxs = []int32{ + 3, // 0: ethereum.eth.v1.IdentityResponse.data:type_name -> ethereum.eth.v1.Identity + 4, // 1: ethereum.eth.v1.Identity.metadata:type_name -> ethereum.eth.v1.Metadata + 10, // 2: ethereum.eth.v1.PeerResponse.data:type_name -> ethereum.eth.v1.Peer + 10, // 3: ethereum.eth.v1.PeersResponse.data:type_name -> ethereum.eth.v1.Peer + 15, // 4: ethereum.eth.v1.PeerCountResponse.data:type_name -> ethereum.eth.v1.PeerCountResponse.PeerCount + 1, // 5: ethereum.eth.v1.Peer.state:type_name -> ethereum.eth.v1.ConnectionState + 0, // 6: ethereum.eth.v1.Peer.direction:type_name -> ethereum.eth.v1.PeerDirection + 12, // 7: ethereum.eth.v1.VersionResponse.data:type_name -> ethereum.eth.v1.Version + 14, // 8: ethereum.eth.v1.SyncingResponse.data:type_name -> ethereum.eth.v1.SyncInfo + 16, // 9: ethereum.eth.v1.BeaconNode.GetIdentity:input_type -> google.protobuf.Empty + 6, // 10: ethereum.eth.v1.BeaconNode.ListPeers:input_type -> ethereum.eth.v1.PeersRequest + 5, // 11: ethereum.eth.v1.BeaconNode.GetPeer:input_type -> ethereum.eth.v1.PeerRequest + 16, // 12: ethereum.eth.v1.BeaconNode.PeerCount:input_type -> google.protobuf.Empty + 16, // 13: ethereum.eth.v1.BeaconNode.GetSyncStatus:input_type -> google.protobuf.Empty + 16, // 14: ethereum.eth.v1.BeaconNode.GetVersion:input_type -> google.protobuf.Empty + 16, // 15: ethereum.eth.v1.BeaconNode.GetHealth:input_type -> google.protobuf.Empty + 2, // 16: ethereum.eth.v1.BeaconNode.GetIdentity:output_type -> ethereum.eth.v1.IdentityResponse + 8, // 17: ethereum.eth.v1.BeaconNode.ListPeers:output_type -> ethereum.eth.v1.PeersResponse + 7, // 18: ethereum.eth.v1.BeaconNode.GetPeer:output_type -> ethereum.eth.v1.PeerResponse + 9, // 19: ethereum.eth.v1.BeaconNode.PeerCount:output_type -> ethereum.eth.v1.PeerCountResponse + 13, // 20: ethereum.eth.v1.BeaconNode.GetSyncStatus:output_type -> ethereum.eth.v1.SyncingResponse + 11, // 21: ethereum.eth.v1.BeaconNode.GetVersion:output_type -> ethereum.eth.v1.VersionResponse + 16, // 22: ethereum.eth.v1.BeaconNode.GetHealth:output_type -> google.protobuf.Empty + 16, // [16:23] is the sub-list for method output_type + 9, // [9:16] is the sub-list for method input_type + 9, // [9:9] is the sub-list for extension type_name + 9, // [9:9] is the sub-list for extension extendee + 0, // [0:9] is the sub-list for field type_name +} + +func init() { file_eth_v1_node_proto_init() } +func file_eth_v1_node_proto_init() { + if File_eth_v1_node_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_eth_v1_node_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*IdentityResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_eth_v1_node_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Identity); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_eth_v1_node_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Metadata); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_eth_v1_node_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PeerRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_eth_v1_node_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PeersRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_eth_v1_node_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PeerResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_eth_v1_node_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PeersResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_eth_v1_node_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PeerCountResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_eth_v1_node_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Peer); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_eth_v1_node_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*VersionResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_eth_v1_node_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Version); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_eth_v1_node_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SyncingResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_eth_v1_node_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SyncInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_eth_v1_node_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PeerCountResponse_PeerCount); 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_eth_v1_node_proto_rawDesc, + NumEnums: 2, + NumMessages: 14, + NumExtensions: 0, + NumServices: 1, + }, + GoTypes: file_eth_v1_node_proto_goTypes, + DependencyIndexes: file_eth_v1_node_proto_depIdxs, + EnumInfos: file_eth_v1_node_proto_enumTypes, + MessageInfos: file_eth_v1_node_proto_msgTypes, + }.Build() + File_eth_v1_node_proto = out.File + file_eth_v1_node_proto_rawDesc = nil + file_eth_v1_node_proto_goTypes = nil + file_eth_v1_node_proto_depIdxs = nil } // Reference imports to suppress errors if they are not otherwise used. var _ context.Context -var _ grpc.ClientConn +var _ grpc.ClientConnInterface // This is a compile-time assertion to ensure that this generated file // is compatible with the grpc package it is being compiled against. -const _ = grpc.SupportPackageIsVersion4 +const _ = grpc.SupportPackageIsVersion6 // BeaconNodeClient is the client API for BeaconNode service. // // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. type BeaconNodeClient interface { - GetIdentity(ctx context.Context, in *types.Empty, opts ...grpc.CallOption) (*IdentityResponse, error) - GetPeer(ctx context.Context, in *PeerRequest, opts ...grpc.CallOption) (*PeerResponse, error) + GetIdentity(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*IdentityResponse, error) ListPeers(ctx context.Context, in *PeersRequest, opts ...grpc.CallOption) (*PeersResponse, error) - PeerCount(ctx context.Context, in *types.Empty, opts ...grpc.CallOption) (*PeerCountResponse, error) - GetVersion(ctx context.Context, in *types.Empty, opts ...grpc.CallOption) (*VersionResponse, error) - GetSyncStatus(ctx context.Context, in *types.Empty, opts ...grpc.CallOption) (*SyncingResponse, error) - GetHealth(ctx context.Context, in *types.Empty, opts ...grpc.CallOption) (*types.Empty, error) + GetPeer(ctx context.Context, in *PeerRequest, opts ...grpc.CallOption) (*PeerResponse, error) + PeerCount(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*PeerCountResponse, error) + GetSyncStatus(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*SyncingResponse, error) + GetVersion(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*VersionResponse, error) + GetHealth(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*empty.Empty, error) } type beaconNodeClient struct { - cc *grpc.ClientConn + cc grpc.ClientConnInterface } -func NewBeaconNodeClient(cc *grpc.ClientConn) BeaconNodeClient { +func NewBeaconNodeClient(cc grpc.ClientConnInterface) BeaconNodeClient { return &beaconNodeClient{cc} } -func (c *beaconNodeClient) GetIdentity(ctx context.Context, in *types.Empty, opts ...grpc.CallOption) (*IdentityResponse, error) { +func (c *beaconNodeClient) GetIdentity(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*IdentityResponse, error) { out := new(IdentityResponse) err := c.cc.Invoke(ctx, "/ethereum.eth.v1.BeaconNode/GetIdentity", in, out, opts...) if err != nil { @@ -991,25 +1370,25 @@ func (c *beaconNodeClient) GetIdentity(ctx context.Context, in *types.Empty, opt return out, nil } -func (c *beaconNodeClient) GetPeer(ctx context.Context, in *PeerRequest, opts ...grpc.CallOption) (*PeerResponse, error) { - out := new(PeerResponse) - err := c.cc.Invoke(ctx, "/ethereum.eth.v1.BeaconNode/GetPeer", in, out, opts...) +func (c *beaconNodeClient) ListPeers(ctx context.Context, in *PeersRequest, opts ...grpc.CallOption) (*PeersResponse, error) { + out := new(PeersResponse) + err := c.cc.Invoke(ctx, "/ethereum.eth.v1.BeaconNode/ListPeers", in, out, opts...) if err != nil { return nil, err } return out, nil } -func (c *beaconNodeClient) ListPeers(ctx context.Context, in *PeersRequest, opts ...grpc.CallOption) (*PeersResponse, error) { - out := new(PeersResponse) - err := c.cc.Invoke(ctx, "/ethereum.eth.v1.BeaconNode/ListPeers", in, out, opts...) +func (c *beaconNodeClient) GetPeer(ctx context.Context, in *PeerRequest, opts ...grpc.CallOption) (*PeerResponse, error) { + out := new(PeerResponse) + err := c.cc.Invoke(ctx, "/ethereum.eth.v1.BeaconNode/GetPeer", in, out, opts...) if err != nil { return nil, err } return out, nil } -func (c *beaconNodeClient) PeerCount(ctx context.Context, in *types.Empty, opts ...grpc.CallOption) (*PeerCountResponse, error) { +func (c *beaconNodeClient) PeerCount(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*PeerCountResponse, error) { out := new(PeerCountResponse) err := c.cc.Invoke(ctx, "/ethereum.eth.v1.BeaconNode/PeerCount", in, out, opts...) if err != nil { @@ -1018,26 +1397,26 @@ func (c *beaconNodeClient) PeerCount(ctx context.Context, in *types.Empty, opts return out, nil } -func (c *beaconNodeClient) GetVersion(ctx context.Context, in *types.Empty, opts ...grpc.CallOption) (*VersionResponse, error) { - out := new(VersionResponse) - err := c.cc.Invoke(ctx, "/ethereum.eth.v1.BeaconNode/GetVersion", in, out, opts...) +func (c *beaconNodeClient) GetSyncStatus(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*SyncingResponse, error) { + out := new(SyncingResponse) + err := c.cc.Invoke(ctx, "/ethereum.eth.v1.BeaconNode/GetSyncStatus", in, out, opts...) if err != nil { return nil, err } return out, nil } -func (c *beaconNodeClient) GetSyncStatus(ctx context.Context, in *types.Empty, opts ...grpc.CallOption) (*SyncingResponse, error) { - out := new(SyncingResponse) - err := c.cc.Invoke(ctx, "/ethereum.eth.v1.BeaconNode/GetSyncStatus", in, out, opts...) +func (c *beaconNodeClient) GetVersion(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*VersionResponse, error) { + out := new(VersionResponse) + err := c.cc.Invoke(ctx, "/ethereum.eth.v1.BeaconNode/GetVersion", in, out, opts...) if err != nil { return nil, err } return out, nil } -func (c *beaconNodeClient) GetHealth(ctx context.Context, in *types.Empty, opts ...grpc.CallOption) (*types.Empty, error) { - out := new(types.Empty) +func (c *beaconNodeClient) GetHealth(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*empty.Empty, error) { + out := new(empty.Empty) err := c.cc.Invoke(ctx, "/ethereum.eth.v1.BeaconNode/GetHealth", in, out, opts...) if err != nil { return nil, err @@ -1047,38 +1426,38 @@ func (c *beaconNodeClient) GetHealth(ctx context.Context, in *types.Empty, opts // BeaconNodeServer is the server API for BeaconNode service. type BeaconNodeServer interface { - GetIdentity(context.Context, *types.Empty) (*IdentityResponse, error) - GetPeer(context.Context, *PeerRequest) (*PeerResponse, error) + GetIdentity(context.Context, *empty.Empty) (*IdentityResponse, error) ListPeers(context.Context, *PeersRequest) (*PeersResponse, error) - PeerCount(context.Context, *types.Empty) (*PeerCountResponse, error) - GetVersion(context.Context, *types.Empty) (*VersionResponse, error) - GetSyncStatus(context.Context, *types.Empty) (*SyncingResponse, error) - GetHealth(context.Context, *types.Empty) (*types.Empty, error) + GetPeer(context.Context, *PeerRequest) (*PeerResponse, error) + PeerCount(context.Context, *empty.Empty) (*PeerCountResponse, error) + GetSyncStatus(context.Context, *empty.Empty) (*SyncingResponse, error) + GetVersion(context.Context, *empty.Empty) (*VersionResponse, error) + GetHealth(context.Context, *empty.Empty) (*empty.Empty, error) } // UnimplementedBeaconNodeServer can be embedded to have forward compatible implementations. type UnimplementedBeaconNodeServer struct { } -func (*UnimplementedBeaconNodeServer) GetIdentity(ctx context.Context, req *types.Empty) (*IdentityResponse, error) { +func (*UnimplementedBeaconNodeServer) GetIdentity(context.Context, *empty.Empty) (*IdentityResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method GetIdentity not implemented") } -func (*UnimplementedBeaconNodeServer) GetPeer(ctx context.Context, req *PeerRequest) (*PeerResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetPeer not implemented") -} -func (*UnimplementedBeaconNodeServer) ListPeers(ctx context.Context, req *PeersRequest) (*PeersResponse, error) { +func (*UnimplementedBeaconNodeServer) ListPeers(context.Context, *PeersRequest) (*PeersResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method ListPeers not implemented") } -func (*UnimplementedBeaconNodeServer) PeerCount(ctx context.Context, req *types.Empty) (*PeerCountResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method PeerCount not implemented") +func (*UnimplementedBeaconNodeServer) GetPeer(context.Context, *PeerRequest) (*PeerResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetPeer not implemented") } -func (*UnimplementedBeaconNodeServer) GetVersion(ctx context.Context, req *types.Empty) (*VersionResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetVersion not implemented") +func (*UnimplementedBeaconNodeServer) PeerCount(context.Context, *empty.Empty) (*PeerCountResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method PeerCount not implemented") } -func (*UnimplementedBeaconNodeServer) GetSyncStatus(ctx context.Context, req *types.Empty) (*SyncingResponse, error) { +func (*UnimplementedBeaconNodeServer) GetSyncStatus(context.Context, *empty.Empty) (*SyncingResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method GetSyncStatus not implemented") } -func (*UnimplementedBeaconNodeServer) GetHealth(ctx context.Context, req *types.Empty) (*types.Empty, error) { +func (*UnimplementedBeaconNodeServer) GetVersion(context.Context, *empty.Empty) (*VersionResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetVersion not implemented") +} +func (*UnimplementedBeaconNodeServer) GetHealth(context.Context, *empty.Empty) (*empty.Empty, error) { return nil, status.Errorf(codes.Unimplemented, "method GetHealth not implemented") } @@ -1087,7 +1466,7 @@ func RegisterBeaconNodeServer(s *grpc.Server, srv BeaconNodeServer) { } func _BeaconNode_GetIdentity_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(types.Empty) + in := new(empty.Empty) if err := dec(in); err != nil { return nil, err } @@ -1099,49 +1478,49 @@ func _BeaconNode_GetIdentity_Handler(srv interface{}, ctx context.Context, dec f FullMethod: "/ethereum.eth.v1.BeaconNode/GetIdentity", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(BeaconNodeServer).GetIdentity(ctx, req.(*types.Empty)) + return srv.(BeaconNodeServer).GetIdentity(ctx, req.(*empty.Empty)) } return interceptor(ctx, in, info, handler) } -func _BeaconNode_GetPeer_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(PeerRequest) +func _BeaconNode_ListPeers_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(PeersRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { - return srv.(BeaconNodeServer).GetPeer(ctx, in) + return srv.(BeaconNodeServer).ListPeers(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/ethereum.eth.v1.BeaconNode/GetPeer", + FullMethod: "/ethereum.eth.v1.BeaconNode/ListPeers", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(BeaconNodeServer).GetPeer(ctx, req.(*PeerRequest)) + return srv.(BeaconNodeServer).ListPeers(ctx, req.(*PeersRequest)) } return interceptor(ctx, in, info, handler) } -func _BeaconNode_ListPeers_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(PeersRequest) +func _BeaconNode_GetPeer_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(PeerRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { - return srv.(BeaconNodeServer).ListPeers(ctx, in) + return srv.(BeaconNodeServer).GetPeer(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/ethereum.eth.v1.BeaconNode/ListPeers", + FullMethod: "/ethereum.eth.v1.BeaconNode/GetPeer", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(BeaconNodeServer).ListPeers(ctx, req.(*PeersRequest)) + return srv.(BeaconNodeServer).GetPeer(ctx, req.(*PeerRequest)) } return interceptor(ctx, in, info, handler) } func _BeaconNode_PeerCount_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(types.Empty) + in := new(empty.Empty) if err := dec(in); err != nil { return nil, err } @@ -1153,49 +1532,49 @@ func _BeaconNode_PeerCount_Handler(srv interface{}, ctx context.Context, dec fun FullMethod: "/ethereum.eth.v1.BeaconNode/PeerCount", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(BeaconNodeServer).PeerCount(ctx, req.(*types.Empty)) + return srv.(BeaconNodeServer).PeerCount(ctx, req.(*empty.Empty)) } return interceptor(ctx, in, info, handler) } -func _BeaconNode_GetVersion_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(types.Empty) +func _BeaconNode_GetSyncStatus_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(empty.Empty) if err := dec(in); err != nil { return nil, err } if interceptor == nil { - return srv.(BeaconNodeServer).GetVersion(ctx, in) + return srv.(BeaconNodeServer).GetSyncStatus(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/ethereum.eth.v1.BeaconNode/GetVersion", + FullMethod: "/ethereum.eth.v1.BeaconNode/GetSyncStatus", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(BeaconNodeServer).GetVersion(ctx, req.(*types.Empty)) + return srv.(BeaconNodeServer).GetSyncStatus(ctx, req.(*empty.Empty)) } return interceptor(ctx, in, info, handler) } -func _BeaconNode_GetSyncStatus_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(types.Empty) +func _BeaconNode_GetVersion_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(empty.Empty) if err := dec(in); err != nil { return nil, err } if interceptor == nil { - return srv.(BeaconNodeServer).GetSyncStatus(ctx, in) + return srv.(BeaconNodeServer).GetVersion(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/ethereum.eth.v1.BeaconNode/GetSyncStatus", + FullMethod: "/ethereum.eth.v1.BeaconNode/GetVersion", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(BeaconNodeServer).GetSyncStatus(ctx, req.(*types.Empty)) + return srv.(BeaconNodeServer).GetVersion(ctx, req.(*empty.Empty)) } return interceptor(ctx, in, info, handler) } func _BeaconNode_GetHealth_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(types.Empty) + in := new(empty.Empty) if err := dec(in); err != nil { return nil, err } @@ -1207,7 +1586,7 @@ func _BeaconNode_GetHealth_Handler(srv interface{}, ctx context.Context, dec fun FullMethod: "/ethereum.eth.v1.BeaconNode/GetHealth", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(BeaconNodeServer).GetHealth(ctx, req.(*types.Empty)) + return srv.(BeaconNodeServer).GetHealth(ctx, req.(*empty.Empty)) } return interceptor(ctx, in, info, handler) } @@ -1220,26 +1599,26 @@ var _BeaconNode_serviceDesc = grpc.ServiceDesc{ MethodName: "GetIdentity", Handler: _BeaconNode_GetIdentity_Handler, }, - { - MethodName: "GetPeer", - Handler: _BeaconNode_GetPeer_Handler, - }, { MethodName: "ListPeers", Handler: _BeaconNode_ListPeers_Handler, }, { - MethodName: "PeerCount", - Handler: _BeaconNode_PeerCount_Handler, + MethodName: "GetPeer", + Handler: _BeaconNode_GetPeer_Handler, }, { - MethodName: "GetVersion", - Handler: _BeaconNode_GetVersion_Handler, + MethodName: "PeerCount", + Handler: _BeaconNode_PeerCount_Handler, }, { MethodName: "GetSyncStatus", Handler: _BeaconNode_GetSyncStatus_Handler, }, + { + MethodName: "GetVersion", + Handler: _BeaconNode_GetVersion_Handler, + }, { MethodName: "GetHealth", Handler: _BeaconNode_GetHealth_Handler, @@ -1248,2550 +1627,3 @@ var _BeaconNode_serviceDesc = grpc.ServiceDesc{ Streams: []grpc.StreamDesc{}, Metadata: "eth/v1/node.proto", } - -func (m *IdentityResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *IdentityResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *IdentityResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if m.Data != nil { - { - size, err := m.Data.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintNode(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *Identity) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *Identity) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *Identity) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if m.Metadata != nil { - { - size, err := m.Metadata.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintNode(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x2a - } - if len(m.DiscoveryAddresses) > 0 { - for iNdEx := len(m.DiscoveryAddresses) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.DiscoveryAddresses[iNdEx]) - copy(dAtA[i:], m.DiscoveryAddresses[iNdEx]) - i = encodeVarintNode(dAtA, i, uint64(len(m.DiscoveryAddresses[iNdEx]))) - i-- - dAtA[i] = 0x22 - } - } - if len(m.P2PAddresses) > 0 { - for iNdEx := len(m.P2PAddresses) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.P2PAddresses[iNdEx]) - copy(dAtA[i:], m.P2PAddresses[iNdEx]) - i = encodeVarintNode(dAtA, i, uint64(len(m.P2PAddresses[iNdEx]))) - i-- - dAtA[i] = 0x1a - } - } - if len(m.Enr) > 0 { - i -= len(m.Enr) - copy(dAtA[i:], m.Enr) - i = encodeVarintNode(dAtA, i, uint64(len(m.Enr))) - i-- - dAtA[i] = 0x12 - } - if len(m.PeerId) > 0 { - i -= len(m.PeerId) - copy(dAtA[i:], m.PeerId) - i = encodeVarintNode(dAtA, i, uint64(len(m.PeerId))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *Metadata) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *Metadata) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *Metadata) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if len(m.Attnets) > 0 { - i -= len(m.Attnets) - copy(dAtA[i:], m.Attnets) - i = encodeVarintNode(dAtA, i, uint64(len(m.Attnets))) - i-- - dAtA[i] = 0x12 - } - if m.SeqNumber != 0 { - i = encodeVarintNode(dAtA, i, uint64(m.SeqNumber)) - i-- - dAtA[i] = 0x8 - } - return len(dAtA) - i, nil -} - -func (m *PeerRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *PeerRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *PeerRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if len(m.PeerId) > 0 { - i -= len(m.PeerId) - copy(dAtA[i:], m.PeerId) - i = encodeVarintNode(dAtA, i, uint64(len(m.PeerId))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *PeersRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *PeersRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *PeersRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if len(m.Direction) > 0 { - for iNdEx := len(m.Direction) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.Direction[iNdEx]) - copy(dAtA[i:], m.Direction[iNdEx]) - i = encodeVarintNode(dAtA, i, uint64(len(m.Direction[iNdEx]))) - i-- - dAtA[i] = 0x12 - } - } - if len(m.State) > 0 { - for iNdEx := len(m.State) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.State[iNdEx]) - copy(dAtA[i:], m.State[iNdEx]) - i = encodeVarintNode(dAtA, i, uint64(len(m.State[iNdEx]))) - i-- - dAtA[i] = 0xa - } - } - return len(dAtA) - i, nil -} - -func (m *PeerResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *PeerResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *PeerResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if m.Data != nil { - { - size, err := m.Data.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintNode(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *PeersResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *PeersResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *PeersResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if len(m.Data) > 0 { - for iNdEx := len(m.Data) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Data[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintNode(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - } - return len(dAtA) - i, nil -} - -func (m *PeerCountResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *PeerCountResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *PeerCountResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if m.Data != nil { - { - size, err := m.Data.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintNode(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *PeerCountResponse_PeerCount) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *PeerCountResponse_PeerCount) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *PeerCountResponse_PeerCount) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if m.Disconnecting != 0 { - i = encodeVarintNode(dAtA, i, uint64(m.Disconnecting)) - i-- - dAtA[i] = 0x20 - } - if m.Connected != 0 { - i = encodeVarintNode(dAtA, i, uint64(m.Connected)) - i-- - dAtA[i] = 0x18 - } - if m.Connecting != 0 { - i = encodeVarintNode(dAtA, i, uint64(m.Connecting)) - i-- - dAtA[i] = 0x10 - } - if m.Disconnected != 0 { - i = encodeVarintNode(dAtA, i, uint64(m.Disconnected)) - i-- - dAtA[i] = 0x8 - } - return len(dAtA) - i, nil -} - -func (m *Peer) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *Peer) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *Peer) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if m.Direction != 0 { - i = encodeVarintNode(dAtA, i, uint64(m.Direction)) - i-- - dAtA[i] = 0x28 - } - if m.State != 0 { - i = encodeVarintNode(dAtA, i, uint64(m.State)) - i-- - dAtA[i] = 0x20 - } - if len(m.Address) > 0 { - i -= len(m.Address) - copy(dAtA[i:], m.Address) - i = encodeVarintNode(dAtA, i, uint64(len(m.Address))) - i-- - dAtA[i] = 0x1a - } - if len(m.Enr) > 0 { - i -= len(m.Enr) - copy(dAtA[i:], m.Enr) - i = encodeVarintNode(dAtA, i, uint64(len(m.Enr))) - i-- - dAtA[i] = 0x12 - } - if len(m.PeerId) > 0 { - i -= len(m.PeerId) - copy(dAtA[i:], m.PeerId) - i = encodeVarintNode(dAtA, i, uint64(len(m.PeerId))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *VersionResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *VersionResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *VersionResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if m.Data != nil { - { - size, err := m.Data.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintNode(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *Version) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *Version) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *Version) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if len(m.Version) > 0 { - i -= len(m.Version) - copy(dAtA[i:], m.Version) - i = encodeVarintNode(dAtA, i, uint64(len(m.Version))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *SyncingResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *SyncingResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *SyncingResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if m.Data != nil { - { - size, err := m.Data.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintNode(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *SyncInfo) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *SyncInfo) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *SyncInfo) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if m.SyncDistance != 0 { - i = encodeVarintNode(dAtA, i, uint64(m.SyncDistance)) - i-- - dAtA[i] = 0x10 - } - if m.HeadSlot != 0 { - i = encodeVarintNode(dAtA, i, uint64(m.HeadSlot)) - i-- - dAtA[i] = 0x8 - } - return len(dAtA) - i, nil -} - -func encodeVarintNode(dAtA []byte, offset int, v uint64) int { - offset -= sovNode(v) - base := offset - for v >= 1<<7 { - dAtA[offset] = uint8(v&0x7f | 0x80) - v >>= 7 - offset++ - } - dAtA[offset] = uint8(v) - return base -} -func (m *IdentityResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Data != nil { - l = m.Data.Size() - n += 1 + l + sovNode(uint64(l)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *Identity) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.PeerId) - if l > 0 { - n += 1 + l + sovNode(uint64(l)) - } - l = len(m.Enr) - if l > 0 { - n += 1 + l + sovNode(uint64(l)) - } - if len(m.P2PAddresses) > 0 { - for _, s := range m.P2PAddresses { - l = len(s) - n += 1 + l + sovNode(uint64(l)) - } - } - if len(m.DiscoveryAddresses) > 0 { - for _, s := range m.DiscoveryAddresses { - l = len(s) - n += 1 + l + sovNode(uint64(l)) - } - } - if m.Metadata != nil { - l = m.Metadata.Size() - n += 1 + l + sovNode(uint64(l)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *Metadata) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.SeqNumber != 0 { - n += 1 + sovNode(uint64(m.SeqNumber)) - } - l = len(m.Attnets) - if l > 0 { - n += 1 + l + sovNode(uint64(l)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *PeerRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.PeerId) - if l > 0 { - n += 1 + l + sovNode(uint64(l)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *PeersRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if len(m.State) > 0 { - for _, s := range m.State { - l = len(s) - n += 1 + l + sovNode(uint64(l)) - } - } - if len(m.Direction) > 0 { - for _, s := range m.Direction { - l = len(s) - n += 1 + l + sovNode(uint64(l)) - } - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *PeerResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Data != nil { - l = m.Data.Size() - n += 1 + l + sovNode(uint64(l)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *PeersResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if len(m.Data) > 0 { - for _, e := range m.Data { - l = e.Size() - n += 1 + l + sovNode(uint64(l)) - } - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *PeerCountResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Data != nil { - l = m.Data.Size() - n += 1 + l + sovNode(uint64(l)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *PeerCountResponse_PeerCount) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Disconnected != 0 { - n += 1 + sovNode(uint64(m.Disconnected)) - } - if m.Connecting != 0 { - n += 1 + sovNode(uint64(m.Connecting)) - } - if m.Connected != 0 { - n += 1 + sovNode(uint64(m.Connected)) - } - if m.Disconnecting != 0 { - n += 1 + sovNode(uint64(m.Disconnecting)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *Peer) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.PeerId) - if l > 0 { - n += 1 + l + sovNode(uint64(l)) - } - l = len(m.Enr) - if l > 0 { - n += 1 + l + sovNode(uint64(l)) - } - l = len(m.Address) - if l > 0 { - n += 1 + l + sovNode(uint64(l)) - } - if m.State != 0 { - n += 1 + sovNode(uint64(m.State)) - } - if m.Direction != 0 { - n += 1 + sovNode(uint64(m.Direction)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *VersionResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Data != nil { - l = m.Data.Size() - n += 1 + l + sovNode(uint64(l)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *Version) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Version) - if l > 0 { - n += 1 + l + sovNode(uint64(l)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *SyncingResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Data != nil { - l = m.Data.Size() - n += 1 + l + sovNode(uint64(l)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *SyncInfo) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.HeadSlot != 0 { - n += 1 + sovNode(uint64(m.HeadSlot)) - } - if m.SyncDistance != 0 { - n += 1 + sovNode(uint64(m.SyncDistance)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func sovNode(x uint64) (n int) { - return (math_bits.Len64(x|1) + 6) / 7 -} -func sozNode(x uint64) (n int) { - return sovNode(uint64((x << 1) ^ uint64((int64(x) >> 63)))) -} -func (m *IdentityResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowNode - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: IdentityResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: IdentityResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Data", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowNode - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthNode - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthNode - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Data == nil { - m.Data = &Identity{} - } - if err := m.Data.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipNode(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthNode - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthNode - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *Identity) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowNode - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: Identity: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: Identity: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field PeerId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowNode - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthNode - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthNode - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.PeerId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Enr", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowNode - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthNode - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthNode - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Enr = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field P2PAddresses", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowNode - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthNode - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthNode - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.P2PAddresses = append(m.P2PAddresses, string(dAtA[iNdEx:postIndex])) - iNdEx = postIndex - case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field DiscoveryAddresses", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowNode - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthNode - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthNode - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.DiscoveryAddresses = append(m.DiscoveryAddresses, string(dAtA[iNdEx:postIndex])) - iNdEx = postIndex - case 5: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Metadata", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowNode - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthNode - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthNode - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Metadata == nil { - m.Metadata = &Metadata{} - } - if err := m.Metadata.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipNode(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthNode - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthNode - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *Metadata) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowNode - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: Metadata: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: Metadata: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field SeqNumber", wireType) - } - m.SeqNumber = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowNode - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.SeqNumber |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Attnets", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowNode - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return ErrInvalidLengthNode - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthNode - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Attnets = append(m.Attnets[:0], dAtA[iNdEx:postIndex]...) - if m.Attnets == nil { - m.Attnets = []byte{} - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipNode(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthNode - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthNode - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *PeerRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowNode - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: PeerRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: PeerRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field PeerId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowNode - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthNode - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthNode - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.PeerId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipNode(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthNode - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthNode - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *PeersRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowNode - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: PeersRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: PeersRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field State", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowNode - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthNode - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthNode - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.State = append(m.State, string(dAtA[iNdEx:postIndex])) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Direction", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowNode - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthNode - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthNode - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Direction = append(m.Direction, string(dAtA[iNdEx:postIndex])) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipNode(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthNode - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthNode - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *PeerResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowNode - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: PeerResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: PeerResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Data", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowNode - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthNode - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthNode - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Data == nil { - m.Data = &Peer{} - } - if err := m.Data.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipNode(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthNode - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthNode - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *PeersResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowNode - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: PeersResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: PeersResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Data", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowNode - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthNode - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthNode - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Data = append(m.Data, &Peer{}) - if err := m.Data[len(m.Data)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipNode(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthNode - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthNode - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *PeerCountResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowNode - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: PeerCountResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: PeerCountResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Data", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowNode - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthNode - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthNode - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Data == nil { - m.Data = &PeerCountResponse_PeerCount{} - } - if err := m.Data.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipNode(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthNode - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthNode - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *PeerCountResponse_PeerCount) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowNode - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: PeerCount: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: PeerCount: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Disconnected", wireType) - } - m.Disconnected = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowNode - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Disconnected |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 2: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Connecting", wireType) - } - m.Connecting = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowNode - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Connecting |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 3: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Connected", wireType) - } - m.Connected = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowNode - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Connected |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 4: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Disconnecting", wireType) - } - m.Disconnecting = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowNode - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Disconnecting |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - default: - iNdEx = preIndex - skippy, err := skipNode(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthNode - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthNode - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *Peer) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowNode - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: Peer: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: Peer: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field PeerId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowNode - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthNode - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthNode - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.PeerId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Enr", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowNode - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthNode - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthNode - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Enr = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Address", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowNode - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthNode - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthNode - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Address = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 4: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field State", wireType) - } - m.State = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowNode - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.State |= ConnectionState(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 5: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Direction", wireType) - } - m.Direction = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowNode - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Direction |= PeerDirection(b&0x7F) << shift - if b < 0x80 { - break - } - } - default: - iNdEx = preIndex - skippy, err := skipNode(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthNode - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthNode - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *VersionResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowNode - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: VersionResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: VersionResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Data", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowNode - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthNode - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthNode - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Data == nil { - m.Data = &Version{} - } - if err := m.Data.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipNode(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthNode - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthNode - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *Version) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowNode - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: Version: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: Version: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Version", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowNode - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthNode - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthNode - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Version = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipNode(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthNode - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthNode - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *SyncingResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowNode - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: SyncingResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: SyncingResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Data", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowNode - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthNode - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthNode - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Data == nil { - m.Data = &SyncInfo{} - } - if err := m.Data.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipNode(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthNode - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthNode - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *SyncInfo) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowNode - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: SyncInfo: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: SyncInfo: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field HeadSlot", wireType) - } - m.HeadSlot = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowNode - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.HeadSlot |= github_com_prysmaticlabs_eth2_types.Slot(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 2: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field SyncDistance", wireType) - } - m.SyncDistance = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowNode - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.SyncDistance |= github_com_prysmaticlabs_eth2_types.Slot(b&0x7F) << shift - if b < 0x80 { - break - } - } - default: - iNdEx = preIndex - skippy, err := skipNode(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthNode - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthNode - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func skipNode(dAtA []byte) (n int, err error) { - l := len(dAtA) - iNdEx := 0 - depth := 0 - for iNdEx < l { - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return 0, ErrIntOverflowNode - } - if iNdEx >= l { - return 0, io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= (uint64(b) & 0x7F) << shift - if b < 0x80 { - break - } - } - wireType := int(wire & 0x7) - switch wireType { - case 0: - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return 0, ErrIntOverflowNode - } - if iNdEx >= l { - return 0, io.ErrUnexpectedEOF - } - iNdEx++ - if dAtA[iNdEx-1] < 0x80 { - break - } - } - case 1: - iNdEx += 8 - case 2: - var length int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return 0, ErrIntOverflowNode - } - if iNdEx >= l { - return 0, io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - length |= (int(b) & 0x7F) << shift - if b < 0x80 { - break - } - } - if length < 0 { - return 0, ErrInvalidLengthNode - } - iNdEx += length - case 3: - depth++ - case 4: - if depth == 0 { - return 0, ErrUnexpectedEndOfGroupNode - } - depth-- - case 5: - iNdEx += 4 - default: - return 0, fmt.Errorf("proto: illegal wireType %d", wireType) - } - if iNdEx < 0 { - return 0, ErrInvalidLengthNode - } - if depth == 0 { - return iNdEx, nil - } - } - return 0, io.ErrUnexpectedEOF -} - -var ( - ErrInvalidLengthNode = fmt.Errorf("proto: negative length found during unmarshaling") - ErrIntOverflowNode = fmt.Errorf("proto: integer overflow") - ErrUnexpectedEndOfGroupNode = fmt.Errorf("proto: unexpected end of group") -) diff --git a/eth/v1/node.pb.gw.go b/eth/v1/node.pb.gw.go new file mode 100644 index 00000000..2f1d5468 --- /dev/null +++ b/eth/v1/node.pb.gw.go @@ -0,0 +1,600 @@ +// Code generated by protoc-gen-grpc-gateway. DO NOT EDIT. +// source: eth/v1/node.proto + +/* +Package v1 is a reverse proxy. + +It translates gRPC into RESTful JSON APIs. +*/ +package v1 + +import ( + "context" + "github.com/golang/protobuf/ptypes/empty" + emptypb "github.com/golang/protobuf/ptypes/empty" + "github.com/grpc-ecosystem/grpc-gateway/v2/runtime" + "github.com/grpc-ecosystem/grpc-gateway/v2/utilities" + github_com_prysmaticlabs_eth2_types "github.com/prysmaticlabs/eth2-types" + "google.golang.org/grpc" + "google.golang.org/grpc/codes" + "google.golang.org/grpc/grpclog" + "google.golang.org/grpc/metadata" + "google.golang.org/grpc/status" + "google.golang.org/protobuf/proto" + "io" + "net/http" +) + +// Suppress "imported and not used" errors +var _ codes.Code +var _ io.Reader +var _ status.Status +var _ = runtime.String +var _ = utilities.NewDoubleArray +var _ = metadata.Join +var _ = github_com_prysmaticlabs_eth2_types.Epoch(0) +var _ = emptypb.Empty{} +var _ = empty.Empty{} + +func request_BeaconNode_GetIdentity_0(ctx context.Context, marshaler runtime.Marshaler, client BeaconNodeClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq emptypb.Empty + var metadata runtime.ServerMetadata + + msg, err := client.GetIdentity(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_BeaconNode_GetIdentity_0(ctx context.Context, marshaler runtime.Marshaler, server BeaconNodeServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq emptypb.Empty + var metadata runtime.ServerMetadata + + msg, err := server.GetIdentity(ctx, &protoReq) + return msg, metadata, err + +} + +var ( + filter_BeaconNode_ListPeers_0 = &utilities.DoubleArray{Encoding: map[string]int{}, Base: []int(nil), Check: []int(nil)} +) + +func request_BeaconNode_ListPeers_0(ctx context.Context, marshaler runtime.Marshaler, client BeaconNodeClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq PeersRequest + var metadata runtime.ServerMetadata + + if err := req.ParseForm(); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_BeaconNode_ListPeers_0); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := client.ListPeers(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_BeaconNode_ListPeers_0(ctx context.Context, marshaler runtime.Marshaler, server BeaconNodeServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq PeersRequest + var metadata runtime.ServerMetadata + + if err := req.ParseForm(); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_BeaconNode_ListPeers_0); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := server.ListPeers(ctx, &protoReq) + return msg, metadata, err + +} + +func request_BeaconNode_GetPeer_0(ctx context.Context, marshaler runtime.Marshaler, client BeaconNodeClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq PeerRequest + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["peer_id"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "peer_id") + } + + peer_id, err := runtime.String(val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "peer_id", err) + } + protoReq.PeerId = (peer_id) + + msg, err := client.GetPeer(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_BeaconNode_GetPeer_0(ctx context.Context, marshaler runtime.Marshaler, server BeaconNodeServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq PeerRequest + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["peer_id"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "peer_id") + } + + peer_id, err := runtime.String(val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "peer_id", err) + } + protoReq.PeerId = (peer_id) + + msg, err := server.GetPeer(ctx, &protoReq) + return msg, metadata, err + +} + +func request_BeaconNode_PeerCount_0(ctx context.Context, marshaler runtime.Marshaler, client BeaconNodeClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq emptypb.Empty + var metadata runtime.ServerMetadata + + msg, err := client.PeerCount(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_BeaconNode_PeerCount_0(ctx context.Context, marshaler runtime.Marshaler, server BeaconNodeServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq emptypb.Empty + var metadata runtime.ServerMetadata + + msg, err := server.PeerCount(ctx, &protoReq) + return msg, metadata, err + +} + +func request_BeaconNode_GetSyncStatus_0(ctx context.Context, marshaler runtime.Marshaler, client BeaconNodeClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq emptypb.Empty + var metadata runtime.ServerMetadata + + msg, err := client.GetSyncStatus(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_BeaconNode_GetSyncStatus_0(ctx context.Context, marshaler runtime.Marshaler, server BeaconNodeServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq emptypb.Empty + var metadata runtime.ServerMetadata + + msg, err := server.GetSyncStatus(ctx, &protoReq) + return msg, metadata, err + +} + +func request_BeaconNode_GetVersion_0(ctx context.Context, marshaler runtime.Marshaler, client BeaconNodeClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq emptypb.Empty + var metadata runtime.ServerMetadata + + msg, err := client.GetVersion(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_BeaconNode_GetVersion_0(ctx context.Context, marshaler runtime.Marshaler, server BeaconNodeServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq emptypb.Empty + var metadata runtime.ServerMetadata + + msg, err := server.GetVersion(ctx, &protoReq) + return msg, metadata, err + +} + +func request_BeaconNode_GetHealth_0(ctx context.Context, marshaler runtime.Marshaler, client BeaconNodeClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq emptypb.Empty + var metadata runtime.ServerMetadata + + msg, err := client.GetHealth(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_BeaconNode_GetHealth_0(ctx context.Context, marshaler runtime.Marshaler, server BeaconNodeServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq emptypb.Empty + var metadata runtime.ServerMetadata + + msg, err := server.GetHealth(ctx, &protoReq) + return msg, metadata, err + +} + +// RegisterBeaconNodeHandlerServer registers the http handlers for service BeaconNode to "mux". +// UnaryRPC :call BeaconNodeServer directly. +// StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. +// Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterBeaconNodeHandlerFromEndpoint instead. +func RegisterBeaconNodeHandlerServer(ctx context.Context, mux *runtime.ServeMux, server BeaconNodeServer) error { + + mux.Handle("GET", pattern_BeaconNode_GetIdentity_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/ethereum.eth.v1.BeaconNode/GetIdentity") + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_BeaconNode_GetIdentity_0(rctx, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_BeaconNode_GetIdentity_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_BeaconNode_ListPeers_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/ethereum.eth.v1.BeaconNode/ListPeers") + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_BeaconNode_ListPeers_0(rctx, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_BeaconNode_ListPeers_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_BeaconNode_GetPeer_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/ethereum.eth.v1.BeaconNode/GetPeer") + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_BeaconNode_GetPeer_0(rctx, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_BeaconNode_GetPeer_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_BeaconNode_PeerCount_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/ethereum.eth.v1.BeaconNode/PeerCount") + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_BeaconNode_PeerCount_0(rctx, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_BeaconNode_PeerCount_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_BeaconNode_GetSyncStatus_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/ethereum.eth.v1.BeaconNode/GetSyncStatus") + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_BeaconNode_GetSyncStatus_0(rctx, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_BeaconNode_GetSyncStatus_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_BeaconNode_GetVersion_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/ethereum.eth.v1.BeaconNode/GetVersion") + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_BeaconNode_GetVersion_0(rctx, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_BeaconNode_GetVersion_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_BeaconNode_GetHealth_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/ethereum.eth.v1.BeaconNode/GetHealth") + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_BeaconNode_GetHealth_0(rctx, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_BeaconNode_GetHealth_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + return nil +} + +// RegisterBeaconNodeHandlerFromEndpoint is same as RegisterBeaconNodeHandler but +// automatically dials to "endpoint" and closes the connection when "ctx" gets done. +func RegisterBeaconNodeHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error) { + conn, err := grpc.Dial(endpoint, opts...) + if err != nil { + return err + } + defer func() { + if err != nil { + if cerr := conn.Close(); cerr != nil { + grpclog.Infof("Failed to close conn to %s: %v", endpoint, cerr) + } + return + } + go func() { + <-ctx.Done() + if cerr := conn.Close(); cerr != nil { + grpclog.Infof("Failed to close conn to %s: %v", endpoint, cerr) + } + }() + }() + + return RegisterBeaconNodeHandler(ctx, mux, conn) +} + +// RegisterBeaconNodeHandler registers the http handlers for service BeaconNode to "mux". +// The handlers forward requests to the grpc endpoint over "conn". +func RegisterBeaconNodeHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error { + return RegisterBeaconNodeHandlerClient(ctx, mux, NewBeaconNodeClient(conn)) +} + +// RegisterBeaconNodeHandlerClient registers the http handlers for service BeaconNode +// to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "BeaconNodeClient". +// Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "BeaconNodeClient" +// doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in +// "BeaconNodeClient" to call the correct interceptors. +func RegisterBeaconNodeHandlerClient(ctx context.Context, mux *runtime.ServeMux, client BeaconNodeClient) error { + + mux.Handle("GET", pattern_BeaconNode_GetIdentity_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateContext(ctx, mux, req, "/ethereum.eth.v1.BeaconNode/GetIdentity") + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_BeaconNode_GetIdentity_0(rctx, inboundMarshaler, client, req, pathParams) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_BeaconNode_GetIdentity_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_BeaconNode_ListPeers_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateContext(ctx, mux, req, "/ethereum.eth.v1.BeaconNode/ListPeers") + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_BeaconNode_ListPeers_0(rctx, inboundMarshaler, client, req, pathParams) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_BeaconNode_ListPeers_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_BeaconNode_GetPeer_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateContext(ctx, mux, req, "/ethereum.eth.v1.BeaconNode/GetPeer") + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_BeaconNode_GetPeer_0(rctx, inboundMarshaler, client, req, pathParams) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_BeaconNode_GetPeer_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_BeaconNode_PeerCount_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateContext(ctx, mux, req, "/ethereum.eth.v1.BeaconNode/PeerCount") + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_BeaconNode_PeerCount_0(rctx, inboundMarshaler, client, req, pathParams) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_BeaconNode_PeerCount_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_BeaconNode_GetSyncStatus_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateContext(ctx, mux, req, "/ethereum.eth.v1.BeaconNode/GetSyncStatus") + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_BeaconNode_GetSyncStatus_0(rctx, inboundMarshaler, client, req, pathParams) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_BeaconNode_GetSyncStatus_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_BeaconNode_GetVersion_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateContext(ctx, mux, req, "/ethereum.eth.v1.BeaconNode/GetVersion") + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_BeaconNode_GetVersion_0(rctx, inboundMarshaler, client, req, pathParams) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_BeaconNode_GetVersion_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_BeaconNode_GetHealth_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateContext(ctx, mux, req, "/ethereum.eth.v1.BeaconNode/GetHealth") + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_BeaconNode_GetHealth_0(rctx, inboundMarshaler, client, req, pathParams) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_BeaconNode_GetHealth_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + return nil +} + +var ( + pattern_BeaconNode_GetIdentity_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"eth", "v1", "node", "identity"}, "")) + + pattern_BeaconNode_ListPeers_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"eth", "v1", "node", "peers"}, "")) + + pattern_BeaconNode_GetPeer_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 1, 0, 4, 1, 5, 4}, []string{"eth", "v1", "node", "peers", "peer_id"}, "")) + + pattern_BeaconNode_PeerCount_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"eth", "v1", "node", "peer_count"}, "")) + + pattern_BeaconNode_GetSyncStatus_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"eth", "v1", "node", "syncing"}, "")) + + pattern_BeaconNode_GetVersion_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"eth", "v1", "node", "version"}, "")) + + pattern_BeaconNode_GetHealth_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"eth", "v1", "node", "health"}, "")) +) + +var ( + forward_BeaconNode_GetIdentity_0 = runtime.ForwardResponseMessage + + forward_BeaconNode_ListPeers_0 = runtime.ForwardResponseMessage + + forward_BeaconNode_GetPeer_0 = runtime.ForwardResponseMessage + + forward_BeaconNode_PeerCount_0 = runtime.ForwardResponseMessage + + forward_BeaconNode_GetSyncStatus_0 = runtime.ForwardResponseMessage + + forward_BeaconNode_GetVersion_0 = runtime.ForwardResponseMessage + + forward_BeaconNode_GetHealth_0 = runtime.ForwardResponseMessage +) diff --git a/eth/v1/node.proto b/eth/v1/node.proto index 9fc5f6e9..70f3c408 100644 --- a/eth/v1/node.proto +++ b/eth/v1/node.proto @@ -15,9 +15,11 @@ syntax = "proto3"; package ethereum.eth.v1; -import "github.com/gogo/protobuf/gogoproto/gogo.proto"; -import "google/protobuf/empty.proto"; import "google/api/annotations.proto"; +import "google/protobuf/descriptor.proto"; +import "google/protobuf/empty.proto"; + +import "eth/ext/options.proto"; option csharp_namespace = "Ethereum.Eth.v1"; option go_package = "github.com/prysmaticlabs/ethereumapis/eth/v1"; @@ -35,33 +37,33 @@ service BeaconNode { option (google.api.http) = {get: "/eth/v1/node/identity"}; } - // GetPeer retrieves data about the given peer. - rpc GetPeer(PeerRequest) returns (PeerResponse) { - option (google.api.http) = {get: "/eth/v1/node/peers/{peer_id}"}; - } - // ListPeers retrieves data about the node's network peers. rpc ListPeers(PeersRequest) returns (PeersResponse) { option (google.api.http) = {get: "/eth/v1/node/peers"}; } + // GetPeer retrieves data about the given peer. + rpc GetPeer(PeerRequest) returns (PeerResponse) { + option (google.api.http) = {get: "/eth/v1/node/peers/{peer_id}"}; + } + // PeerCount retrieves number of known peers. rpc PeerCount(google.protobuf.Empty) returns (PeerCountResponse) { option (google.api.http) = {get: "/eth/v1/node/peer_count"}; } - // GetVersion requests that the beacon node identify information about its implementation in a - // format similar to a HTTP User-Agent field. - rpc GetVersion(google.protobuf.Empty) returns (VersionResponse) { - option (google.api.http) = {get: "/eth/v1/node/version"}; - } - // GetSyncStatus requests the beacon node to describe if it's currently syncing or not, and // if it is, what block it is up to. rpc GetSyncStatus(google.protobuf.Empty) returns (SyncingResponse) { option (google.api.http) = {get: "/eth/v1/node/syncing"}; } + // GetVersion requests that the beacon node identify information about its implementation in a + // format similar to a HTTP User-Agent field. + rpc GetVersion(google.protobuf.Empty) returns (VersionResponse) { + option (google.api.http) = {get: "/eth/v1/node/version"}; + } + // GetHealth returns node health status in http status codes. Useful for load balancers. // Response Usage: // "200": @@ -97,7 +99,7 @@ message Metadata { // the node MUST increment seq_number by 1. uint64 seq_number = 1; // Attnets is a bitvector representing the node's persistent attestation subnet subscriptions. - bytes attnets = 2 [(gogoproto.moretags) = "ssz-size:\"8\"", (gogoproto.casttype) = "github.com/prysmaticlabs/go-bitfield.Bitvector64"]; + bytes attnets = 2 [(ethereum.eth.ext.ssz_size) = "8", (ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/go-bitfield.Bitvector64"]; } message PeerRequest { @@ -181,7 +183,7 @@ message SyncingResponse { message SyncInfo { // A uint64 states the latest head slot of the current node. - uint64 head_slot = 1 [(gogoproto.casttype) = "github.com/prysmaticlabs/eth2-types.Slot"]; + uint64 head_slot = 1 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/eth2-types.Slot"]; // A uint64 indicating how many slots are left for the beacon node sync to complete. - uint64 sync_distance = 2 [(gogoproto.casttype) = "github.com/prysmaticlabs/eth2-types.Slot"]; + uint64 sync_distance = 2 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/eth2-types.Slot"]; } diff --git a/eth/v1/validator.pb.go b/eth/v1/validator.pb.go index 9aa5d3b7..e3afb581 100644 --- a/eth/v1/validator.pb.go +++ b/eth/v1/validator.pb.go @@ -1,939 +1,350 @@ -// Code generated by protoc-gen-gogo. DO NOT EDIT. +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.25.0 +// protoc v3.15.6 // source: eth/v1/validator.proto package v1 import ( - fmt "fmt" - io "io" - math "math" - math_bits "math/bits" + reflect "reflect" + sync "sync" - _ "github.com/gogo/protobuf/gogoproto" - proto "github.com/gogo/protobuf/proto" + proto "github.com/golang/protobuf/proto" + _ "github.com/golang/protobuf/protoc-gen-go/descriptor" github_com_prysmaticlabs_eth2_types "github.com/prysmaticlabs/eth2-types" + _ "github.com/prysmaticlabs/ethereumapis/eth/ext" + 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.GoGoProtoPackageIsVersion3 // 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 ValidatorContainer struct { - Index uint64 `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty"` - Balance uint64 `protobuf:"varint,2,opt,name=balance,proto3" json:"balance,omitempty"` - Status string `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"` - Validator *Validator `protobuf:"bytes,4,opt,name=validator,proto3" json:"validator,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *ValidatorContainer) Reset() { *m = ValidatorContainer{} } -func (m *ValidatorContainer) String() string { return proto.CompactTextString(m) } -func (*ValidatorContainer) ProtoMessage() {} -func (*ValidatorContainer) Descriptor() ([]byte, []int) { - return fileDescriptor_3e824961df2399d0, []int{0} -} -func (m *ValidatorContainer) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *ValidatorContainer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_ValidatorContainer.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil - } -} -func (m *ValidatorContainer) XXX_Merge(src proto.Message) { - xxx_messageInfo_ValidatorContainer.Merge(m, src) -} -func (m *ValidatorContainer) XXX_Size() int { - return m.Size() + Index github_com_prysmaticlabs_eth2_types.ValidatorIndex `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty" cast-type:"github.com/prysmaticlabs/eth2-types.ValidatorIndex"` + Balance uint64 `protobuf:"varint,2,opt,name=balance,proto3" json:"balance,omitempty"` + Status string `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"` + Validator *Validator `protobuf:"bytes,4,opt,name=validator,proto3" json:"validator,omitempty"` } -func (m *ValidatorContainer) XXX_DiscardUnknown() { - xxx_messageInfo_ValidatorContainer.DiscardUnknown(m) -} - -var xxx_messageInfo_ValidatorContainer proto.InternalMessageInfo -func (m *ValidatorContainer) GetIndex() uint64 { - if m != nil { - return m.Index +func (x *ValidatorContainer) Reset() { + *x = ValidatorContainer{} + if protoimpl.UnsafeEnabled { + mi := &file_eth_v1_validator_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } - return 0 } -func (m *ValidatorContainer) GetBalance() uint64 { - if m != nil { - return m.Balance - } - return 0 +func (x *ValidatorContainer) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ValidatorContainer) GetStatus() string { - if m != nil { - return m.Status - } - return "" -} +func (*ValidatorContainer) ProtoMessage() {} -func (m *ValidatorContainer) GetValidator() *Validator { - if m != nil { - return m.Validator - } - return nil -} - -type Validator struct { - PublicKey []byte `protobuf:"bytes,1,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty" ssz-size:"48" spec-name:"pubkey"` - WithdrawalCredentials []byte `protobuf:"bytes,2,opt,name=withdrawal_credentials,json=withdrawalCredentials,proto3" json:"withdrawal_credentials,omitempty" ssz-size:"32"` - EffectiveBalance uint64 `protobuf:"varint,3,opt,name=effective_balance,json=effectiveBalance,proto3" json:"effective_balance,omitempty"` - Slashed bool `protobuf:"varint,4,opt,name=slashed,proto3" json:"slashed,omitempty"` - ActivationEligibilityEpoch github_com_prysmaticlabs_eth2_types.Epoch `protobuf:"varint,5,opt,name=activation_eligibility_epoch,json=activationEligibilityEpoch,proto3,casttype=github.com/prysmaticlabs/eth2-types.Epoch" json:"activation_eligibility_epoch,omitempty"` - ActivationEpoch github_com_prysmaticlabs_eth2_types.Epoch `protobuf:"varint,6,opt,name=activation_epoch,json=activationEpoch,proto3,casttype=github.com/prysmaticlabs/eth2-types.Epoch" json:"activation_epoch,omitempty"` - ExitEpoch github_com_prysmaticlabs_eth2_types.Epoch `protobuf:"varint,7,opt,name=exit_epoch,json=exitEpoch,proto3,casttype=github.com/prysmaticlabs/eth2-types.Epoch" json:"exit_epoch,omitempty"` - WithdrawableEpoch github_com_prysmaticlabs_eth2_types.Epoch `protobuf:"varint,8,opt,name=withdrawable_epoch,json=withdrawableEpoch,proto3,casttype=github.com/prysmaticlabs/eth2-types.Epoch" json:"withdrawable_epoch,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Validator) Reset() { *m = Validator{} } -func (m *Validator) String() string { return proto.CompactTextString(m) } -func (*Validator) ProtoMessage() {} -func (*Validator) Descriptor() ([]byte, []int) { - return fileDescriptor_3e824961df2399d0, []int{1} -} -func (m *Validator) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *Validator) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_Validator.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err +func (x *ValidatorContainer) ProtoReflect() protoreflect.Message { + mi := &file_eth_v1_validator_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - return b[:n], nil + return ms } + return mi.MessageOf(x) } -func (m *Validator) XXX_Merge(src proto.Message) { - xxx_messageInfo_Validator.Merge(m, src) -} -func (m *Validator) XXX_Size() int { - return m.Size() -} -func (m *Validator) XXX_DiscardUnknown() { - xxx_messageInfo_Validator.DiscardUnknown(m) -} - -var xxx_messageInfo_Validator proto.InternalMessageInfo -func (m *Validator) GetPublicKey() []byte { - if m != nil { - return m.PublicKey - } - return nil +// Deprecated: Use ValidatorContainer.ProtoReflect.Descriptor instead. +func (*ValidatorContainer) Descriptor() ([]byte, []int) { + return file_eth_v1_validator_proto_rawDescGZIP(), []int{0} } -func (m *Validator) GetWithdrawalCredentials() []byte { - if m != nil { - return m.WithdrawalCredentials +func (x *ValidatorContainer) GetIndex() github_com_prysmaticlabs_eth2_types.ValidatorIndex { + if x != nil { + return x.Index } - return nil + return github_com_prysmaticlabs_eth2_types.ValidatorIndex(0) } -func (m *Validator) GetEffectiveBalance() uint64 { - if m != nil { - return m.EffectiveBalance +func (x *ValidatorContainer) GetBalance() uint64 { + if x != nil { + return x.Balance } return 0 } -func (m *Validator) GetSlashed() bool { - if m != nil { - return m.Slashed +func (x *ValidatorContainer) GetStatus() string { + if x != nil { + return x.Status } - return false + return "" } -func (m *Validator) GetActivationEligibilityEpoch() github_com_prysmaticlabs_eth2_types.Epoch { - if m != nil { - return m.ActivationEligibilityEpoch +func (x *ValidatorContainer) GetValidator() *Validator { + if x != nil { + return x.Validator } - return 0 + return nil } -func (m *Validator) GetActivationEpoch() github_com_prysmaticlabs_eth2_types.Epoch { - if m != nil { - return m.ActivationEpoch - } - return 0 -} +type Validator struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *Validator) GetExitEpoch() github_com_prysmaticlabs_eth2_types.Epoch { - if m != nil { - return m.ExitEpoch - } - return 0 + PublicKey []byte `protobuf:"bytes,1,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty" spec-name:"pubkey" ssz-size:"48"` + WithdrawalCredentials []byte `protobuf:"bytes,2,opt,name=withdrawal_credentials,json=withdrawalCredentials,proto3" json:"withdrawal_credentials,omitempty" ssz-size:"32"` + EffectiveBalance uint64 `protobuf:"varint,3,opt,name=effective_balance,json=effectiveBalance,proto3" json:"effective_balance,omitempty"` + Slashed bool `protobuf:"varint,4,opt,name=slashed,proto3" json:"slashed,omitempty"` + ActivationEligibilityEpoch github_com_prysmaticlabs_eth2_types.Epoch `protobuf:"varint,5,opt,name=activation_eligibility_epoch,json=activationEligibilityEpoch,proto3" json:"activation_eligibility_epoch,omitempty" cast-type:"github.com/prysmaticlabs/eth2-types.Epoch"` + ActivationEpoch github_com_prysmaticlabs_eth2_types.Epoch `protobuf:"varint,6,opt,name=activation_epoch,json=activationEpoch,proto3" json:"activation_epoch,omitempty" cast-type:"github.com/prysmaticlabs/eth2-types.Epoch"` + ExitEpoch github_com_prysmaticlabs_eth2_types.Epoch `protobuf:"varint,7,opt,name=exit_epoch,json=exitEpoch,proto3" json:"exit_epoch,omitempty" cast-type:"github.com/prysmaticlabs/eth2-types.Epoch"` + WithdrawableEpoch github_com_prysmaticlabs_eth2_types.Epoch `protobuf:"varint,8,opt,name=withdrawable_epoch,json=withdrawableEpoch,proto3" json:"withdrawable_epoch,omitempty" cast-type:"github.com/prysmaticlabs/eth2-types.Epoch"` } -func (m *Validator) GetWithdrawableEpoch() github_com_prysmaticlabs_eth2_types.Epoch { - if m != nil { - return m.WithdrawableEpoch +func (x *Validator) Reset() { + *x = Validator{} + if protoimpl.UnsafeEnabled { + mi := &file_eth_v1_validator_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } - return 0 -} - -func init() { - proto.RegisterType((*ValidatorContainer)(nil), "ethereum.eth.v1.ValidatorContainer") - proto.RegisterType((*Validator)(nil), "ethereum.eth.v1.Validator") -} - -func init() { proto.RegisterFile("eth/v1/validator.proto", fileDescriptor_3e824961df2399d0) } - -var fileDescriptor_3e824961df2399d0 = []byte{ - // 524 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x93, 0x3f, 0x6f, 0xda, 0x4e, - 0x18, 0xc7, 0x75, 0x09, 0x81, 0x70, 0xbf, 0xfc, 0x4a, 0xb8, 0xb6, 0xc8, 0x42, 0x15, 0x20, 0xab, - 0x03, 0x55, 0x8b, 0x2d, 0x48, 0x87, 0x28, 0xa3, 0x11, 0x52, 0xa5, 0x76, 0x88, 0x3c, 0x54, 0x55, - 0x85, 0x84, 0xce, 0xe6, 0x01, 0x9f, 0x72, 0xf8, 0x2c, 0xdf, 0xd9, 0x89, 0xb3, 0xf7, 0x2d, 0xf4, - 0x45, 0xf4, 0x95, 0x54, 0x9d, 0x3a, 0x76, 0x42, 0x15, 0x2f, 0x21, 0x63, 0xa7, 0x8a, 0x03, 0x6c, - 0x94, 0xa1, 0x03, 0x9b, 0xbf, 0xcf, 0x9f, 0xcf, 0xf7, 0xf1, 0x73, 0x77, 0xb8, 0x01, 0x2a, 0xb0, - 0xd3, 0xbe, 0x9d, 0x52, 0xce, 0xa6, 0x54, 0x89, 0xd8, 0x8a, 0x62, 0xa1, 0x04, 0xa9, 0x81, 0x0a, - 0x20, 0x86, 0x64, 0x61, 0x81, 0x0a, 0xac, 0xb4, 0xdf, 0xec, 0xcd, 0x99, 0x0a, 0x12, 0xcf, 0xf2, - 0xc5, 0xc2, 0x9e, 0x8b, 0xb9, 0xb0, 0x75, 0x9d, 0x97, 0xcc, 0xb4, 0xd2, 0x42, 0x7f, 0x6d, 0xfa, - 0xcd, 0xaf, 0x08, 0x93, 0x8f, 0x3b, 0xe6, 0x50, 0x84, 0x8a, 0xb2, 0x10, 0x62, 0xf2, 0x0c, 0x9f, - 0xb0, 0x70, 0x0a, 0x77, 0x06, 0xea, 0xa0, 0x6e, 0xc9, 0xdd, 0x08, 0x62, 0xe0, 0x8a, 0x47, 0x39, - 0x0d, 0x7d, 0x30, 0x8e, 0x74, 0x7c, 0x27, 0x49, 0x03, 0x97, 0xa5, 0xa2, 0x2a, 0x91, 0xc6, 0x71, - 0x07, 0x75, 0xab, 0xee, 0x56, 0x91, 0x4b, 0x5c, 0xcd, 0x27, 0x36, 0x4a, 0x1d, 0xd4, 0xfd, 0x6f, - 0xd0, 0xb4, 0x1e, 0x8d, 0x6c, 0xe5, 0xfe, 0x6e, 0x51, 0x6c, 0xfe, 0x2a, 0xe1, 0x6a, 0x9e, 0x20, - 0x43, 0x8c, 0xa3, 0xc4, 0xe3, 0xcc, 0x9f, 0xdc, 0x40, 0xa6, 0x87, 0x3a, 0x73, 0x5e, 0x3e, 0x2c, - 0xdb, 0x1d, 0x29, 0xef, 0x7b, 0x92, 0xdd, 0xc3, 0x95, 0xf9, 0xf6, 0xd2, 0xec, 0xc8, 0x08, 0xfc, - 0x5e, 0x48, 0x17, 0x70, 0x65, 0x46, 0x89, 0x77, 0x03, 0x99, 0xe9, 0x56, 0x37, 0x7d, 0xef, 0x21, - 0x23, 0xef, 0x70, 0xe3, 0x96, 0xa9, 0x60, 0x1a, 0xd3, 0x5b, 0xca, 0x27, 0x7e, 0x0c, 0x53, 0x08, - 0x15, 0xa3, 0x5c, 0xea, 0xbf, 0x39, 0x73, 0xea, 0x0f, 0xcb, 0xf6, 0xff, 0x05, 0xf0, 0x62, 0x60, - 0xba, 0xcf, 0x8b, 0x86, 0x61, 0x51, 0x4f, 0x5e, 0xe3, 0x3a, 0xcc, 0x66, 0xe0, 0x2b, 0x96, 0xc2, - 0x64, 0xb7, 0x92, 0x63, 0xbd, 0x92, 0xf3, 0x3c, 0xe1, 0x6c, 0x77, 0x63, 0xe0, 0x8a, 0xe4, 0x54, - 0x06, 0x30, 0xd5, 0x1b, 0x38, 0x75, 0x77, 0x92, 0x08, 0xfc, 0x82, 0xae, 0x4b, 0xa9, 0x62, 0x22, - 0x9c, 0x00, 0x67, 0x73, 0xe6, 0x31, 0xce, 0x54, 0x36, 0x81, 0x48, 0xf8, 0x81, 0x71, 0xb2, 0x26, - 0x3a, 0xbd, 0x3f, 0xcb, 0xf6, 0xab, 0xbd, 0x53, 0x8d, 0xe2, 0x4c, 0x2e, 0xa8, 0x62, 0x3e, 0xa7, - 0x9e, 0xb4, 0x41, 0x05, 0x83, 0x9e, 0xca, 0x22, 0x90, 0xd6, 0x68, 0xdd, 0xe4, 0x36, 0x0b, 0xe4, - 0xa8, 0x20, 0xea, 0x1c, 0xf9, 0x84, 0xcf, 0xf7, 0x0d, 0xb5, 0x49, 0xf9, 0x10, 0x93, 0xda, 0x9e, - 0x89, 0x26, 0x7f, 0xc0, 0x18, 0xee, 0x98, 0xda, 0x32, 0x2b, 0x87, 0x30, 0xab, 0x6b, 0xc0, 0x86, - 0x36, 0xc6, 0x24, 0x5f, 0xbc, 0xc7, 0x61, 0x4b, 0x3d, 0x3d, 0x84, 0x5a, 0xdf, 0x07, 0xe9, 0x90, - 0xf3, 0x05, 0x7d, 0x5f, 0xb5, 0xd0, 0xcf, 0x55, 0x0b, 0xfd, 0x5e, 0xb5, 0x10, 0x7e, 0x2a, 0xe2, - 0xf9, 0xe3, 0x3b, 0xe9, 0x3c, 0xc9, 0xef, 0xde, 0xf5, 0xfa, 0x9d, 0x5c, 0xa3, 0xcf, 0x6f, 0xfe, - 0xe5, 0xa9, 0x7b, 0x69, 0xc4, 0xb4, 0xb0, 0xd3, 0xfe, 0xb7, 0xa3, 0xda, 0x68, 0x47, 0x1c, 0x69, - 0xe2, 0x8f, 0x22, 0x32, 0x1e, 0xa9, 0x60, 0x9c, 0xf6, 0xbd, 0xb2, 0x7e, 0x82, 0x17, 0x7f, 0x03, - 0x00, 0x00, 0xff, 0xff, 0x7d, 0x81, 0x5f, 0xee, 0xdc, 0x03, 0x00, 0x00, } -func (m *ValidatorContainer) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil +func (x *Validator) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ValidatorContainer) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} +func (*Validator) ProtoMessage() {} -func (m *ValidatorContainer) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if m.Validator != nil { - { - size, err := m.Validator.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintValidator(dAtA, i, uint64(size)) +func (x *Validator) ProtoReflect() protoreflect.Message { + mi := &file_eth_v1_validator_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - i-- - dAtA[i] = 0x22 - } - if len(m.Status) > 0 { - i -= len(m.Status) - copy(dAtA[i:], m.Status) - i = encodeVarintValidator(dAtA, i, uint64(len(m.Status))) - i-- - dAtA[i] = 0x1a - } - if m.Balance != 0 { - i = encodeVarintValidator(dAtA, i, uint64(m.Balance)) - i-- - dAtA[i] = 0x10 + return ms } - if m.Index != 0 { - i = encodeVarintValidator(dAtA, i, uint64(m.Index)) - i-- - dAtA[i] = 0x8 - } - return len(dAtA) - i, nil + return mi.MessageOf(x) } -func (m *Validator) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *Validator) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) +// Deprecated: Use Validator.ProtoReflect.Descriptor instead. +func (*Validator) Descriptor() ([]byte, []int) { + return file_eth_v1_validator_proto_rawDescGZIP(), []int{1} } -func (m *Validator) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) +func (x *Validator) GetPublicKey() []byte { + if x != nil { + return x.PublicKey } - if m.WithdrawableEpoch != 0 { - i = encodeVarintValidator(dAtA, i, uint64(m.WithdrawableEpoch)) - i-- - dAtA[i] = 0x40 - } - if m.ExitEpoch != 0 { - i = encodeVarintValidator(dAtA, i, uint64(m.ExitEpoch)) - i-- - dAtA[i] = 0x38 - } - if m.ActivationEpoch != 0 { - i = encodeVarintValidator(dAtA, i, uint64(m.ActivationEpoch)) - i-- - dAtA[i] = 0x30 - } - if m.ActivationEligibilityEpoch != 0 { - i = encodeVarintValidator(dAtA, i, uint64(m.ActivationEligibilityEpoch)) - i-- - dAtA[i] = 0x28 - } - if m.Slashed { - i-- - if m.Slashed { - dAtA[i] = 1 - } else { - dAtA[i] = 0 - } - i-- - dAtA[i] = 0x20 - } - if m.EffectiveBalance != 0 { - i = encodeVarintValidator(dAtA, i, uint64(m.EffectiveBalance)) - i-- - dAtA[i] = 0x18 - } - if len(m.WithdrawalCredentials) > 0 { - i -= len(m.WithdrawalCredentials) - copy(dAtA[i:], m.WithdrawalCredentials) - i = encodeVarintValidator(dAtA, i, uint64(len(m.WithdrawalCredentials))) - i-- - dAtA[i] = 0x12 - } - if len(m.PublicKey) > 0 { - i -= len(m.PublicKey) - copy(dAtA[i:], m.PublicKey) - i = encodeVarintValidator(dAtA, i, uint64(len(m.PublicKey))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil + return nil } -func encodeVarintValidator(dAtA []byte, offset int, v uint64) int { - offset -= sovValidator(v) - base := offset - for v >= 1<<7 { - dAtA[offset] = uint8(v&0x7f | 0x80) - v >>= 7 - offset++ +func (x *Validator) GetWithdrawalCredentials() []byte { + if x != nil { + return x.WithdrawalCredentials } - dAtA[offset] = uint8(v) - return base + return nil } -func (m *ValidatorContainer) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Index != 0 { - n += 1 + sovValidator(uint64(m.Index)) - } - if m.Balance != 0 { - n += 1 + sovValidator(uint64(m.Balance)) - } - l = len(m.Status) - if l > 0 { - n += 1 + l + sovValidator(uint64(l)) - } - if m.Validator != nil { - l = m.Validator.Size() - n += 1 + l + sovValidator(uint64(l)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) + +func (x *Validator) GetEffectiveBalance() uint64 { + if x != nil { + return x.EffectiveBalance } - return n + return 0 } -func (m *Validator) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.PublicKey) - if l > 0 { - n += 1 + l + sovValidator(uint64(l)) - } - l = len(m.WithdrawalCredentials) - if l > 0 { - n += 1 + l + sovValidator(uint64(l)) - } - if m.EffectiveBalance != 0 { - n += 1 + sovValidator(uint64(m.EffectiveBalance)) - } - if m.Slashed { - n += 2 +func (x *Validator) GetSlashed() bool { + if x != nil { + return x.Slashed } - if m.ActivationEligibilityEpoch != 0 { - n += 1 + sovValidator(uint64(m.ActivationEligibilityEpoch)) - } - if m.ActivationEpoch != 0 { - n += 1 + sovValidator(uint64(m.ActivationEpoch)) - } - if m.ExitEpoch != 0 { - n += 1 + sovValidator(uint64(m.ExitEpoch)) - } - if m.WithdrawableEpoch != 0 { - n += 1 + sovValidator(uint64(m.WithdrawableEpoch)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n + return false } -func sovValidator(x uint64) (n int) { - return (math_bits.Len64(x|1) + 6) / 7 +func (x *Validator) GetActivationEligibilityEpoch() github_com_prysmaticlabs_eth2_types.Epoch { + if x != nil { + return x.ActivationEligibilityEpoch + } + return github_com_prysmaticlabs_eth2_types.Epoch(0) +} + +func (x *Validator) GetActivationEpoch() github_com_prysmaticlabs_eth2_types.Epoch { + if x != nil { + return x.ActivationEpoch + } + return github_com_prysmaticlabs_eth2_types.Epoch(0) +} + +func (x *Validator) GetExitEpoch() github_com_prysmaticlabs_eth2_types.Epoch { + if x != nil { + return x.ExitEpoch + } + return github_com_prysmaticlabs_eth2_types.Epoch(0) +} + +func (x *Validator) GetWithdrawableEpoch() github_com_prysmaticlabs_eth2_types.Epoch { + if x != nil { + return x.WithdrawableEpoch + } + return github_com_prysmaticlabs_eth2_types.Epoch(0) +} + +var File_eth_v1_validator_proto protoreflect.FileDescriptor + +var file_eth_v1_validator_proto_rawDesc = []byte{ + 0x0a, 0x16, 0x65, 0x74, 0x68, 0x2f, 0x76, 0x31, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, + 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0f, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, + 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x1a, 0x20, 0x67, 0x6f, 0x6f, 0x67, 0x6c, + 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x64, 0x65, 0x73, 0x63, 0x72, + 0x69, 0x70, 0x74, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x15, 0x65, 0x74, 0x68, + 0x2f, 0x65, 0x78, 0x74, 0x2f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x22, 0xce, 0x01, 0x0a, 0x12, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, + 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x12, 0x4c, 0x0a, 0x05, 0x69, 0x6e, 0x64, + 0x65, 0x78, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x42, 0x36, 0x82, 0xb5, 0x18, 0x32, 0x67, 0x69, + 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x72, 0x79, 0x73, 0x6d, 0x61, 0x74, + 0x69, 0x63, 0x6c, 0x61, 0x62, 0x73, 0x2f, 0x65, 0x74, 0x68, 0x32, 0x2d, 0x74, 0x79, 0x70, 0x65, + 0x73, 0x2e, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x49, 0x6e, 0x64, 0x65, 0x78, + 0x52, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x18, 0x0a, 0x07, 0x62, 0x61, 0x6c, 0x61, 0x6e, + 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, + 0x65, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x38, 0x0a, 0x09, 0x76, 0x61, 0x6c, + 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x65, + 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x56, + 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x52, 0x09, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, + 0x74, 0x6f, 0x72, 0x22, 0xb9, 0x04, 0x0a, 0x09, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, + 0x72, 0x12, 0x2f, 0x0a, 0x0a, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x5f, 0x6b, 0x65, 0x79, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x0c, 0x42, 0x10, 0x8a, 0xb5, 0x18, 0x02, 0x34, 0x38, 0x9a, 0xb5, 0x18, + 0x06, 0x70, 0x75, 0x62, 0x6b, 0x65, 0x79, 0x52, 0x09, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4b, + 0x65, 0x79, 0x12, 0x3d, 0x0a, 0x16, 0x77, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x61, 0x6c, + 0x5f, 0x63, 0x72, 0x65, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x73, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x0c, 0x42, 0x06, 0x8a, 0xb5, 0x18, 0x02, 0x33, 0x32, 0x52, 0x15, 0x77, 0x69, 0x74, 0x68, + 0x64, 0x72, 0x61, 0x77, 0x61, 0x6c, 0x43, 0x72, 0x65, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, + 0x73, 0x12, 0x2b, 0x0a, 0x11, 0x65, 0x66, 0x66, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x62, + 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x10, 0x65, 0x66, + 0x66, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x18, + 0x0a, 0x07, 0x73, 0x6c, 0x61, 0x73, 0x68, 0x65, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, + 0x07, 0x73, 0x6c, 0x61, 0x73, 0x68, 0x65, 0x64, 0x12, 0x6f, 0x0a, 0x1c, 0x61, 0x63, 0x74, 0x69, + 0x76, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x65, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, + 0x74, 0x79, 0x5f, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x18, 0x05, 0x20, 0x01, 0x28, 0x04, 0x42, 0x2d, + 0x82, 0xb5, 0x18, 0x29, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, + 0x72, 0x79, 0x73, 0x6d, 0x61, 0x74, 0x69, 0x63, 0x6c, 0x61, 0x62, 0x73, 0x2f, 0x65, 0x74, 0x68, + 0x32, 0x2d, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x45, 0x70, 0x6f, 0x63, 0x68, 0x52, 0x1a, 0x61, + 0x63, 0x74, 0x69, 0x76, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, + 0x6c, 0x69, 0x74, 0x79, 0x45, 0x70, 0x6f, 0x63, 0x68, 0x12, 0x58, 0x0a, 0x10, 0x61, 0x63, 0x74, + 0x69, 0x76, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x18, 0x06, 0x20, + 0x01, 0x28, 0x04, 0x42, 0x2d, 0x82, 0xb5, 0x18, 0x29, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, + 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x72, 0x79, 0x73, 0x6d, 0x61, 0x74, 0x69, 0x63, 0x6c, 0x61, 0x62, + 0x73, 0x2f, 0x65, 0x74, 0x68, 0x32, 0x2d, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x45, 0x70, 0x6f, + 0x63, 0x68, 0x52, 0x0f, 0x61, 0x63, 0x74, 0x69, 0x76, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x70, + 0x6f, 0x63, 0x68, 0x12, 0x4c, 0x0a, 0x0a, 0x65, 0x78, 0x69, 0x74, 0x5f, 0x65, 0x70, 0x6f, 0x63, + 0x68, 0x18, 0x07, 0x20, 0x01, 0x28, 0x04, 0x42, 0x2d, 0x82, 0xb5, 0x18, 0x29, 0x67, 0x69, 0x74, + 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x72, 0x79, 0x73, 0x6d, 0x61, 0x74, 0x69, + 0x63, 0x6c, 0x61, 0x62, 0x73, 0x2f, 0x65, 0x74, 0x68, 0x32, 0x2d, 0x74, 0x79, 0x70, 0x65, 0x73, + 0x2e, 0x45, 0x70, 0x6f, 0x63, 0x68, 0x52, 0x09, 0x65, 0x78, 0x69, 0x74, 0x45, 0x70, 0x6f, 0x63, + 0x68, 0x12, 0x5c, 0x0a, 0x12, 0x77, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x61, 0x62, 0x6c, + 0x65, 0x5f, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x18, 0x08, 0x20, 0x01, 0x28, 0x04, 0x42, 0x2d, 0x82, + 0xb5, 0x18, 0x29, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x72, + 0x79, 0x73, 0x6d, 0x61, 0x74, 0x69, 0x63, 0x6c, 0x61, 0x62, 0x73, 0x2f, 0x65, 0x74, 0x68, 0x32, + 0x2d, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x45, 0x70, 0x6f, 0x63, 0x68, 0x52, 0x11, 0x77, 0x69, + 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x61, 0x62, 0x6c, 0x65, 0x45, 0x70, 0x6f, 0x63, 0x68, 0x42, + 0x79, 0x0a, 0x13, 0x6f, 0x72, 0x67, 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, + 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x42, 0x0e, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, + 0x72, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x2c, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, + 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x72, 0x79, 0x73, 0x6d, 0x61, 0x74, 0x69, 0x63, 0x6c, 0x61, + 0x62, 0x73, 0x2f, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x61, 0x70, 0x69, 0x73, 0x2f, + 0x65, 0x74, 0x68, 0x2f, 0x76, 0x31, 0xaa, 0x02, 0x0f, 0x45, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, + 0x6d, 0x2e, 0x45, 0x74, 0x68, 0x2e, 0x76, 0x31, 0xca, 0x02, 0x0f, 0x45, 0x74, 0x68, 0x65, 0x72, + 0x65, 0x75, 0x6d, 0x5c, 0x45, 0x74, 0x68, 0x5c, 0x76, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x33, } -func sozValidator(x uint64) (n int) { - return sovValidator(uint64((x << 1) ^ uint64((int64(x) >> 63)))) -} -func (m *ValidatorContainer) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowValidator - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: ValidatorContainer: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: ValidatorContainer: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Index", wireType) - } - m.Index = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowValidator - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Index |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 2: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Balance", wireType) - } - m.Balance = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowValidator - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Balance |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowValidator - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthValidator - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthValidator - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Status = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Validator", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowValidator - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthValidator - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthValidator - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Validator == nil { - m.Validator = &Validator{} - } - if err := m.Validator.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipValidator(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthValidator - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthValidator - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *Validator) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowValidator - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: Validator: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: Validator: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field PublicKey", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowValidator - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return ErrInvalidLengthValidator - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthValidator - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.PublicKey = append(m.PublicKey[:0], dAtA[iNdEx:postIndex]...) - if m.PublicKey == nil { - m.PublicKey = []byte{} - } - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field WithdrawalCredentials", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowValidator - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return ErrInvalidLengthValidator - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthValidator - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.WithdrawalCredentials = append(m.WithdrawalCredentials[:0], dAtA[iNdEx:postIndex]...) - if m.WithdrawalCredentials == nil { - m.WithdrawalCredentials = []byte{} - } - iNdEx = postIndex - case 3: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field EffectiveBalance", wireType) - } - m.EffectiveBalance = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowValidator - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.EffectiveBalance |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 4: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Slashed", wireType) - } - var v int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowValidator - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.Slashed = bool(v != 0) - case 5: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field ActivationEligibilityEpoch", wireType) - } - m.ActivationEligibilityEpoch = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowValidator - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.ActivationEligibilityEpoch |= github_com_prysmaticlabs_eth2_types.Epoch(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 6: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field ActivationEpoch", wireType) - } - m.ActivationEpoch = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowValidator - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.ActivationEpoch |= github_com_prysmaticlabs_eth2_types.Epoch(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 7: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field ExitEpoch", wireType) - } - m.ExitEpoch = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowValidator - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.ExitEpoch |= github_com_prysmaticlabs_eth2_types.Epoch(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 8: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field WithdrawableEpoch", wireType) - } - m.WithdrawableEpoch = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowValidator - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.WithdrawableEpoch |= github_com_prysmaticlabs_eth2_types.Epoch(b&0x7F) << shift - if b < 0x80 { - break - } - } - default: - iNdEx = preIndex - skippy, err := skipValidator(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthValidator - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthValidator - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } +var ( + file_eth_v1_validator_proto_rawDescOnce sync.Once + file_eth_v1_validator_proto_rawDescData = file_eth_v1_validator_proto_rawDesc +) - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func skipValidator(dAtA []byte) (n int, err error) { - l := len(dAtA) - iNdEx := 0 - depth := 0 - for iNdEx < l { - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return 0, ErrIntOverflowValidator - } - if iNdEx >= l { - return 0, io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= (uint64(b) & 0x7F) << shift - if b < 0x80 { - break +func file_eth_v1_validator_proto_rawDescGZIP() []byte { + file_eth_v1_validator_proto_rawDescOnce.Do(func() { + file_eth_v1_validator_proto_rawDescData = protoimpl.X.CompressGZIP(file_eth_v1_validator_proto_rawDescData) + }) + return file_eth_v1_validator_proto_rawDescData +} + +var file_eth_v1_validator_proto_msgTypes = make([]protoimpl.MessageInfo, 2) +var file_eth_v1_validator_proto_goTypes = []interface{}{ + (*ValidatorContainer)(nil), // 0: ethereum.eth.v1.ValidatorContainer + (*Validator)(nil), // 1: ethereum.eth.v1.Validator +} +var file_eth_v1_validator_proto_depIdxs = []int32{ + 1, // 0: ethereum.eth.v1.ValidatorContainer.validator:type_name -> ethereum.eth.v1.Validator + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] 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_eth_v1_validator_proto_init() } +func file_eth_v1_validator_proto_init() { + if File_eth_v1_validator_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_eth_v1_validator_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ValidatorContainer); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil } } - wireType := int(wire & 0x7) - switch wireType { - case 0: - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return 0, ErrIntOverflowValidator - } - if iNdEx >= l { - return 0, io.ErrUnexpectedEOF - } - iNdEx++ - if dAtA[iNdEx-1] < 0x80 { - break - } - } - case 1: - iNdEx += 8 - case 2: - var length int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return 0, ErrIntOverflowValidator - } - if iNdEx >= l { - return 0, io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - length |= (int(b) & 0x7F) << shift - if b < 0x80 { - break - } - } - if length < 0 { - return 0, ErrInvalidLengthValidator - } - iNdEx += length - case 3: - depth++ - case 4: - if depth == 0 { - return 0, ErrUnexpectedEndOfGroupValidator + file_eth_v1_validator_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Validator); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil } - depth-- - case 5: - iNdEx += 4 - default: - return 0, fmt.Errorf("proto: illegal wireType %d", wireType) - } - if iNdEx < 0 { - return 0, ErrInvalidLengthValidator - } - if depth == 0 { - return iNdEx, nil } } - return 0, io.ErrUnexpectedEOF + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_eth_v1_validator_proto_rawDesc, + NumEnums: 0, + NumMessages: 2, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_eth_v1_validator_proto_goTypes, + DependencyIndexes: file_eth_v1_validator_proto_depIdxs, + MessageInfos: file_eth_v1_validator_proto_msgTypes, + }.Build() + File_eth_v1_validator_proto = out.File + file_eth_v1_validator_proto_rawDesc = nil + file_eth_v1_validator_proto_goTypes = nil + file_eth_v1_validator_proto_depIdxs = nil } - -var ( - ErrInvalidLengthValidator = fmt.Errorf("proto: negative length found during unmarshaling") - ErrIntOverflowValidator = fmt.Errorf("proto: integer overflow") - ErrUnexpectedEndOfGroupValidator = fmt.Errorf("proto: unexpected end of group") -) diff --git a/eth/v1/validator.pb.gw.go b/eth/v1/validator.pb.gw.go new file mode 100644 index 00000000..33d2475d --- /dev/null +++ b/eth/v1/validator.pb.gw.go @@ -0,0 +1,3 @@ +// +build ignore + +package ignore diff --git a/eth/v1/validator.proto b/eth/v1/validator.proto index 93e44f5d..a7d63209 100644 --- a/eth/v1/validator.proto +++ b/eth/v1/validator.proto @@ -15,7 +15,9 @@ syntax = "proto3"; package ethereum.eth.v1; -import "github.com/gogo/protobuf/gogoproto/gogo.proto"; +import "google/protobuf/descriptor.proto"; + +import "eth/ext/options.proto"; option csharp_namespace = "Ethereum.Eth.v1"; option go_package = "github.com/prysmaticlabs/ethereumapis/eth/v1"; @@ -25,7 +27,7 @@ option java_package = "org.ethereum.eth.v1"; option php_namespace = "Ethereum\\Eth\\v1"; message ValidatorContainer { - uint64 index = 1; + uint64 index = 1 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/eth2-types.ValidatorIndex"];; uint64 balance = 2; string status = 3; Validator validator = 4; @@ -34,10 +36,10 @@ message ValidatorContainer { // An Ethereum 2.0 validator. message Validator { // 48 byte BLS public key used for the validator's activities. - bytes public_key = 1 [(gogoproto.moretags) = "ssz-size:\"48\" spec-name:\"pubkey\""]; + bytes public_key = 1 [(ethereum.eth.ext.ssz_size) = "48", (ethereum.eth.ext.spec_name) = "pubkey"]; // 32 byte hash of the withdrawal destination public key. - bytes withdrawal_credentials = 2 [(gogoproto.moretags) = "ssz-size:\"32\""]; + bytes withdrawal_credentials = 2 [(ethereum.eth.ext.ssz_size) = "32"]; // The validators current effective balance in gwei. uint64 effective_balance = 3; @@ -48,22 +50,22 @@ message Validator { // Epoch when the validator became eligible for activation. This field may // be zero if the validator was present in the Ethereum 2.0 genesis. This // field is FAR_FUTURE_EPOCH if the validator has not been activated. - uint64 activation_eligibility_epoch = 5 [(gogoproto.casttype) = "github.com/prysmaticlabs/eth2-types.Epoch"]; + uint64 activation_eligibility_epoch = 5 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/eth2-types.Epoch"]; // Epoch when the validator was activated. This field may be zero if the // validator was present in the Ethereum 2.0 genesis. This field is // FAR_FUTURE_EPOCH if the validator has not been activated. - uint64 activation_epoch = 6 [(gogoproto.casttype) = "github.com/prysmaticlabs/eth2-types.Epoch"]; + uint64 activation_epoch = 6 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/eth2-types.Epoch"]; // Epoch when the validator was exited. This field is FAR_FUTURE_EPOCH if // the validator has not exited. // FAR_FUTURE_EPOCH is a constant defined by the official Ethereum 2.0 specification: // https://github.com/ethereum/eth2.0-specs/blob/v0.9.2/specs/core/0_beacon-chain.md#constants - uint64 exit_epoch = 7 [(gogoproto.casttype) = "github.com/prysmaticlabs/eth2-types.Epoch"]; + uint64 exit_epoch = 7 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/eth2-types.Epoch"]; // Epoch when the validator is eligible to withdraw their funds. This field // is FAR_FUTURE_EPOCH if the validator has not exited. // FAR_FUTURE_EPOCH is a constant defined by the official Ethereum 2.0 specification: // https://github.com/ethereum/eth2.0-specs/blob/v0.9.2/specs/core/0_beacon-chain.md#constants - uint64 withdrawable_epoch = 8 [(gogoproto.casttype) = "github.com/prysmaticlabs/eth2-types.Epoch"]; + uint64 withdrawable_epoch = 8 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/eth2-types.Epoch"]; } diff --git a/eth/v1/validator_service.pb.go b/eth/v1/validator_service.pb.go old mode 100755 new mode 100644 index ede97a7b..92ec0d0c --- a/eth/v1/validator_service.pb.go +++ b/eth/v1/validator_service.pb.go @@ -1,971 +1,1397 @@ -// Code generated by protoc-gen-gogo. DO NOT EDIT. +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.25.0 +// protoc v3.15.6 // source: eth/v1/validator_service.proto package v1 import ( context "context" - fmt "fmt" - io "io" - math "math" - math_bits "math/bits" - - _ "github.com/gogo/protobuf/gogoproto" - proto "github.com/gogo/protobuf/proto" - types "github.com/gogo/protobuf/types" + reflect "reflect" + sync "sync" + + proto "github.com/golang/protobuf/proto" + _ "github.com/golang/protobuf/protoc-gen-go/descriptor" + empty "github.com/golang/protobuf/ptypes/empty" github_com_prysmaticlabs_eth2_types "github.com/prysmaticlabs/eth2-types" + _ "github.com/prysmaticlabs/ethereumapis/eth/ext" _ "google.golang.org/genproto/googleapis/api/annotations" 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.GoGoProtoPackageIsVersion3 // 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 AttesterDutiesRequest struct { - Epoch github_com_prysmaticlabs_eth2_types.Epoch `protobuf:"varint,1,opt,name=epoch,proto3,casttype=github.com/prysmaticlabs/eth2-types.Epoch" json:"epoch,omitempty"` - Index []github_com_prysmaticlabs_eth2_types.ValidatorIndex `protobuf:"varint,2,rep,packed,name=index,proto3,casttype=github.com/prysmaticlabs/eth2-types.ValidatorIndex" json:"index,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Epoch github_com_prysmaticlabs_eth2_types.Epoch `protobuf:"varint,1,opt,name=epoch,proto3" json:"epoch,omitempty" cast-type:"github.com/prysmaticlabs/eth2-types.Epoch"` + Index []github_com_prysmaticlabs_eth2_types.ValidatorIndex `protobuf:"varint,2,rep,packed,name=index,proto3" json:"index,omitempty" cast-type:"github.com/prysmaticlabs/eth2-types.ValidatorIndex"` } -func (m *AttesterDutiesRequest) Reset() { *m = AttesterDutiesRequest{} } -func (m *AttesterDutiesRequest) String() string { return proto.CompactTextString(m) } -func (*AttesterDutiesRequest) ProtoMessage() {} -func (*AttesterDutiesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_8497bbdb5ef97537, []int{0} -} -func (m *AttesterDutiesRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *AttesterDutiesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_AttesterDutiesRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *AttesterDutiesRequest) Reset() { + *x = AttesterDutiesRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_eth_v1_validator_service_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *AttesterDutiesRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_AttesterDutiesRequest.Merge(m, src) -} -func (m *AttesterDutiesRequest) XXX_Size() int { - return m.Size() + +func (x *AttesterDutiesRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *AttesterDutiesRequest) XXX_DiscardUnknown() { - xxx_messageInfo_AttesterDutiesRequest.DiscardUnknown(m) + +func (*AttesterDutiesRequest) ProtoMessage() {} + +func (x *AttesterDutiesRequest) ProtoReflect() protoreflect.Message { + mi := &file_eth_v1_validator_service_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) } -var xxx_messageInfo_AttesterDutiesRequest proto.InternalMessageInfo +// Deprecated: Use AttesterDutiesRequest.ProtoReflect.Descriptor instead. +func (*AttesterDutiesRequest) Descriptor() ([]byte, []int) { + return file_eth_v1_validator_service_proto_rawDescGZIP(), []int{0} +} -func (m *AttesterDutiesRequest) GetEpoch() github_com_prysmaticlabs_eth2_types.Epoch { - if m != nil { - return m.Epoch +func (x *AttesterDutiesRequest) GetEpoch() github_com_prysmaticlabs_eth2_types.Epoch { + if x != nil { + return x.Epoch } - return 0 + return github_com_prysmaticlabs_eth2_types.Epoch(0) } -func (m *AttesterDutiesRequest) GetIndex() []github_com_prysmaticlabs_eth2_types.ValidatorIndex { - if m != nil { - return m.Index +func (x *AttesterDutiesRequest) GetIndex() []github_com_prysmaticlabs_eth2_types.ValidatorIndex { + if x != nil { + return x.Index } - return nil + return []github_com_prysmaticlabs_eth2_types.ValidatorIndex(nil) } type AttesterDutiesResponse struct { - Data []*AttesterDuty `protobuf:"bytes,1,rep,name=data,proto3" json:"data,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Data []*AttesterDuty `protobuf:"bytes,1,rep,name=data,proto3" json:"data,omitempty"` } -func (m *AttesterDutiesResponse) Reset() { *m = AttesterDutiesResponse{} } -func (m *AttesterDutiesResponse) String() string { return proto.CompactTextString(m) } -func (*AttesterDutiesResponse) ProtoMessage() {} -func (*AttesterDutiesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_8497bbdb5ef97537, []int{1} -} -func (m *AttesterDutiesResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *AttesterDutiesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_AttesterDutiesResponse.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *AttesterDutiesResponse) Reset() { + *x = AttesterDutiesResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_eth_v1_validator_service_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *AttesterDutiesResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_AttesterDutiesResponse.Merge(m, src) -} -func (m *AttesterDutiesResponse) XXX_Size() int { - return m.Size() + +func (x *AttesterDutiesResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *AttesterDutiesResponse) XXX_DiscardUnknown() { - xxx_messageInfo_AttesterDutiesResponse.DiscardUnknown(m) + +func (*AttesterDutiesResponse) ProtoMessage() {} + +func (x *AttesterDutiesResponse) ProtoReflect() protoreflect.Message { + mi := &file_eth_v1_validator_service_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) } -var xxx_messageInfo_AttesterDutiesResponse proto.InternalMessageInfo +// Deprecated: Use AttesterDutiesResponse.ProtoReflect.Descriptor instead. +func (*AttesterDutiesResponse) Descriptor() ([]byte, []int) { + return file_eth_v1_validator_service_proto_rawDescGZIP(), []int{1} +} -func (m *AttesterDutiesResponse) GetData() []*AttesterDuty { - if m != nil { - return m.Data +func (x *AttesterDutiesResponse) GetData() []*AttesterDuty { + if x != nil { + return x.Data } return nil } type AttesterDuty struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + Pubkey []byte `protobuf:"bytes,1,opt,name=pubkey,proto3" json:"pubkey,omitempty" ssz-size:"48"` - ValidatorIndex github_com_prysmaticlabs_eth2_types.ValidatorIndex `protobuf:"varint,2,opt,name=validator_index,json=validatorIndex,proto3,casttype=github.com/prysmaticlabs/eth2-types.ValidatorIndex" json:"validator_index,omitempty"` - CommitteeIndex github_com_prysmaticlabs_eth2_types.CommitteeIndex `protobuf:"varint,3,opt,name=committee_index,json=committeeIndex,proto3,casttype=github.com/prysmaticlabs/eth2-types.CommitteeIndex" json:"committee_index,omitempty"` + ValidatorIndex github_com_prysmaticlabs_eth2_types.ValidatorIndex `protobuf:"varint,2,opt,name=validator_index,json=validatorIndex,proto3" json:"validator_index,omitempty" cast-type:"github.com/prysmaticlabs/eth2-types.ValidatorIndex"` + CommitteeIndex github_com_prysmaticlabs_eth2_types.CommitteeIndex `protobuf:"varint,3,opt,name=committee_index,json=committeeIndex,proto3" json:"committee_index,omitempty" cast-type:"github.com/prysmaticlabs/eth2-types.CommitteeIndex"` CommitteeLength uint64 `protobuf:"varint,4,opt,name=committee_length,json=committeeLength,proto3" json:"committee_length,omitempty"` CommitteesAtSlot uint64 `protobuf:"varint,5,opt,name=committees_at_slot,json=committeesAtSlot,proto3" json:"committees_at_slot,omitempty"` - ValidatorCommitteeIndex github_com_prysmaticlabs_eth2_types.CommitteeIndex `protobuf:"varint,6,opt,name=validator_committee_index,json=validatorCommitteeIndex,proto3,casttype=github.com/prysmaticlabs/eth2-types.CommitteeIndex" json:"validator_committee_index,omitempty"` - Slot github_com_prysmaticlabs_eth2_types.Slot `protobuf:"varint,7,opt,name=slot,proto3,casttype=github.com/prysmaticlabs/eth2-types.Slot" json:"slot,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + ValidatorCommitteeIndex github_com_prysmaticlabs_eth2_types.CommitteeIndex `protobuf:"varint,6,opt,name=validator_committee_index,json=validatorCommitteeIndex,proto3" json:"validator_committee_index,omitempty" cast-type:"github.com/prysmaticlabs/eth2-types.CommitteeIndex"` + Slot github_com_prysmaticlabs_eth2_types.Slot `protobuf:"varint,7,opt,name=slot,proto3" json:"slot,omitempty" cast-type:"github.com/prysmaticlabs/eth2-types.Slot"` } -func (m *AttesterDuty) Reset() { *m = AttesterDuty{} } -func (m *AttesterDuty) String() string { return proto.CompactTextString(m) } -func (*AttesterDuty) ProtoMessage() {} -func (*AttesterDuty) Descriptor() ([]byte, []int) { - return fileDescriptor_8497bbdb5ef97537, []int{2} -} -func (m *AttesterDuty) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *AttesterDuty) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_AttesterDuty.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *AttesterDuty) Reset() { + *x = AttesterDuty{} + if protoimpl.UnsafeEnabled { + mi := &file_eth_v1_validator_service_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *AttesterDuty) XXX_Merge(src proto.Message) { - xxx_messageInfo_AttesterDuty.Merge(m, src) -} -func (m *AttesterDuty) XXX_Size() int { - return m.Size() + +func (x *AttesterDuty) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *AttesterDuty) XXX_DiscardUnknown() { - xxx_messageInfo_AttesterDuty.DiscardUnknown(m) + +func (*AttesterDuty) ProtoMessage() {} + +func (x *AttesterDuty) ProtoReflect() protoreflect.Message { + mi := &file_eth_v1_validator_service_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) } -var xxx_messageInfo_AttesterDuty proto.InternalMessageInfo +// Deprecated: Use AttesterDuty.ProtoReflect.Descriptor instead. +func (*AttesterDuty) Descriptor() ([]byte, []int) { + return file_eth_v1_validator_service_proto_rawDescGZIP(), []int{2} +} -func (m *AttesterDuty) GetPubkey() []byte { - if m != nil { - return m.Pubkey +func (x *AttesterDuty) GetPubkey() []byte { + if x != nil { + return x.Pubkey } return nil } -func (m *AttesterDuty) GetValidatorIndex() github_com_prysmaticlabs_eth2_types.ValidatorIndex { - if m != nil { - return m.ValidatorIndex +func (x *AttesterDuty) GetValidatorIndex() github_com_prysmaticlabs_eth2_types.ValidatorIndex { + if x != nil { + return x.ValidatorIndex } - return 0 + return github_com_prysmaticlabs_eth2_types.ValidatorIndex(0) } -func (m *AttesterDuty) GetCommitteeIndex() github_com_prysmaticlabs_eth2_types.CommitteeIndex { - if m != nil { - return m.CommitteeIndex +func (x *AttesterDuty) GetCommitteeIndex() github_com_prysmaticlabs_eth2_types.CommitteeIndex { + if x != nil { + return x.CommitteeIndex } - return 0 + return github_com_prysmaticlabs_eth2_types.CommitteeIndex(0) } -func (m *AttesterDuty) GetCommitteeLength() uint64 { - if m != nil { - return m.CommitteeLength +func (x *AttesterDuty) GetCommitteeLength() uint64 { + if x != nil { + return x.CommitteeLength } return 0 } -func (m *AttesterDuty) GetCommitteesAtSlot() uint64 { - if m != nil { - return m.CommitteesAtSlot +func (x *AttesterDuty) GetCommitteesAtSlot() uint64 { + if x != nil { + return x.CommitteesAtSlot } return 0 } -func (m *AttesterDuty) GetValidatorCommitteeIndex() github_com_prysmaticlabs_eth2_types.CommitteeIndex { - if m != nil { - return m.ValidatorCommitteeIndex +func (x *AttesterDuty) GetValidatorCommitteeIndex() github_com_prysmaticlabs_eth2_types.CommitteeIndex { + if x != nil { + return x.ValidatorCommitteeIndex } - return 0 + return github_com_prysmaticlabs_eth2_types.CommitteeIndex(0) } -func (m *AttesterDuty) GetSlot() github_com_prysmaticlabs_eth2_types.Slot { - if m != nil { - return m.Slot +func (x *AttesterDuty) GetSlot() github_com_prysmaticlabs_eth2_types.Slot { + if x != nil { + return x.Slot } - return 0 + return github_com_prysmaticlabs_eth2_types.Slot(0) } type ProposerDutiesRequest struct { - Epoch github_com_prysmaticlabs_eth2_types.Epoch `protobuf:"varint,1,opt,name=epoch,proto3,casttype=github.com/prysmaticlabs/eth2-types.Epoch" json:"epoch,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Epoch github_com_prysmaticlabs_eth2_types.Epoch `protobuf:"varint,1,opt,name=epoch,proto3" json:"epoch,omitempty" cast-type:"github.com/prysmaticlabs/eth2-types.Epoch"` } -func (m *ProposerDutiesRequest) Reset() { *m = ProposerDutiesRequest{} } -func (m *ProposerDutiesRequest) String() string { return proto.CompactTextString(m) } -func (*ProposerDutiesRequest) ProtoMessage() {} -func (*ProposerDutiesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_8497bbdb5ef97537, []int{3} -} -func (m *ProposerDutiesRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *ProposerDutiesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_ProposerDutiesRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *ProposerDutiesRequest) Reset() { + *x = ProposerDutiesRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_eth_v1_validator_service_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *ProposerDutiesRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ProposerDutiesRequest.Merge(m, src) -} -func (m *ProposerDutiesRequest) XXX_Size() int { - return m.Size() + +func (x *ProposerDutiesRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ProposerDutiesRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ProposerDutiesRequest.DiscardUnknown(m) + +func (*ProposerDutiesRequest) ProtoMessage() {} + +func (x *ProposerDutiesRequest) ProtoReflect() protoreflect.Message { + mi := &file_eth_v1_validator_service_proto_msgTypes[3] + 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) } -var xxx_messageInfo_ProposerDutiesRequest proto.InternalMessageInfo +// Deprecated: Use ProposerDutiesRequest.ProtoReflect.Descriptor instead. +func (*ProposerDutiesRequest) Descriptor() ([]byte, []int) { + return file_eth_v1_validator_service_proto_rawDescGZIP(), []int{3} +} -func (m *ProposerDutiesRequest) GetEpoch() github_com_prysmaticlabs_eth2_types.Epoch { - if m != nil { - return m.Epoch +func (x *ProposerDutiesRequest) GetEpoch() github_com_prysmaticlabs_eth2_types.Epoch { + if x != nil { + return x.Epoch } - return 0 + return github_com_prysmaticlabs_eth2_types.Epoch(0) } type ProposerDutiesResponse struct { - Data []*ProposerDuty `protobuf:"bytes,1,rep,name=data,proto3" json:"data,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Data []*ProposerDuty `protobuf:"bytes,1,rep,name=data,proto3" json:"data,omitempty"` } -func (m *ProposerDutiesResponse) Reset() { *m = ProposerDutiesResponse{} } -func (m *ProposerDutiesResponse) String() string { return proto.CompactTextString(m) } -func (*ProposerDutiesResponse) ProtoMessage() {} -func (*ProposerDutiesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_8497bbdb5ef97537, []int{4} -} -func (m *ProposerDutiesResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *ProposerDutiesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_ProposerDutiesResponse.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *ProposerDutiesResponse) Reset() { + *x = ProposerDutiesResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_eth_v1_validator_service_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *ProposerDutiesResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ProposerDutiesResponse.Merge(m, src) -} -func (m *ProposerDutiesResponse) XXX_Size() int { - return m.Size() + +func (x *ProposerDutiesResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ProposerDutiesResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ProposerDutiesResponse.DiscardUnknown(m) + +func (*ProposerDutiesResponse) ProtoMessage() {} + +func (x *ProposerDutiesResponse) ProtoReflect() protoreflect.Message { + mi := &file_eth_v1_validator_service_proto_msgTypes[4] + 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) } -var xxx_messageInfo_ProposerDutiesResponse proto.InternalMessageInfo +// Deprecated: Use ProposerDutiesResponse.ProtoReflect.Descriptor instead. +func (*ProposerDutiesResponse) Descriptor() ([]byte, []int) { + return file_eth_v1_validator_service_proto_rawDescGZIP(), []int{4} +} -func (m *ProposerDutiesResponse) GetData() []*ProposerDuty { - if m != nil { - return m.Data +func (x *ProposerDutiesResponse) GetData() []*ProposerDuty { + if x != nil { + return x.Data } return nil } type ProposerDuty struct { - Pubkey []byte `protobuf:"bytes,1,opt,name=pubkey,proto3" json:"pubkey,omitempty" ssz-size:"48"` - ValidatorIndex github_com_prysmaticlabs_eth2_types.ValidatorIndex `protobuf:"varint,2,opt,name=validator_index,json=validatorIndex,proto3,casttype=github.com/prysmaticlabs/eth2-types.ValidatorIndex" json:"validator_index,omitempty"` - Slot github_com_prysmaticlabs_eth2_types.Slot `protobuf:"varint,3,opt,name=slot,proto3,casttype=github.com/prysmaticlabs/eth2-types.Slot" json:"slot,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Pubkey []byte `protobuf:"bytes,1,opt,name=pubkey,proto3" json:"pubkey,omitempty" ssz-size:"48"` + ValidatorIndex github_com_prysmaticlabs_eth2_types.ValidatorIndex `protobuf:"varint,2,opt,name=validator_index,json=validatorIndex,proto3" json:"validator_index,omitempty" cast-type:"github.com/prysmaticlabs/eth2-types.ValidatorIndex"` + Slot github_com_prysmaticlabs_eth2_types.Slot `protobuf:"varint,3,opt,name=slot,proto3" json:"slot,omitempty" cast-type:"github.com/prysmaticlabs/eth2-types.Slot"` } -func (m *ProposerDuty) Reset() { *m = ProposerDuty{} } -func (m *ProposerDuty) String() string { return proto.CompactTextString(m) } -func (*ProposerDuty) ProtoMessage() {} -func (*ProposerDuty) Descriptor() ([]byte, []int) { - return fileDescriptor_8497bbdb5ef97537, []int{5} -} -func (m *ProposerDuty) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *ProposerDuty) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_ProposerDuty.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *ProposerDuty) Reset() { + *x = ProposerDuty{} + if protoimpl.UnsafeEnabled { + mi := &file_eth_v1_validator_service_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *ProposerDuty) XXX_Merge(src proto.Message) { - xxx_messageInfo_ProposerDuty.Merge(m, src) -} -func (m *ProposerDuty) XXX_Size() int { - return m.Size() + +func (x *ProposerDuty) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ProposerDuty) XXX_DiscardUnknown() { - xxx_messageInfo_ProposerDuty.DiscardUnknown(m) + +func (*ProposerDuty) ProtoMessage() {} + +func (x *ProposerDuty) ProtoReflect() protoreflect.Message { + mi := &file_eth_v1_validator_service_proto_msgTypes[5] + 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) } -var xxx_messageInfo_ProposerDuty proto.InternalMessageInfo +// Deprecated: Use ProposerDuty.ProtoReflect.Descriptor instead. +func (*ProposerDuty) Descriptor() ([]byte, []int) { + return file_eth_v1_validator_service_proto_rawDescGZIP(), []int{5} +} -func (m *ProposerDuty) GetPubkey() []byte { - if m != nil { - return m.Pubkey +func (x *ProposerDuty) GetPubkey() []byte { + if x != nil { + return x.Pubkey } return nil } -func (m *ProposerDuty) GetValidatorIndex() github_com_prysmaticlabs_eth2_types.ValidatorIndex { - if m != nil { - return m.ValidatorIndex +func (x *ProposerDuty) GetValidatorIndex() github_com_prysmaticlabs_eth2_types.ValidatorIndex { + if x != nil { + return x.ValidatorIndex } - return 0 + return github_com_prysmaticlabs_eth2_types.ValidatorIndex(0) } -func (m *ProposerDuty) GetSlot() github_com_prysmaticlabs_eth2_types.Slot { - if m != nil { - return m.Slot +func (x *ProposerDuty) GetSlot() github_com_prysmaticlabs_eth2_types.Slot { + if x != nil { + return x.Slot } - return 0 + return github_com_prysmaticlabs_eth2_types.Slot(0) } type ProposerBlockRequest struct { - Slot github_com_prysmaticlabs_eth2_types.Slot `protobuf:"varint,1,opt,name=slot,proto3,casttype=github.com/prysmaticlabs/eth2-types.Slot" json:"slot,omitempty"` - RandaoReveal []byte `protobuf:"bytes,2,opt,name=randao_reveal,json=randaoReveal,proto3" json:"randao_reveal,omitempty" ssz-size:"96"` - Graffiti []byte `protobuf:"bytes,3,opt,name=graffiti,proto3" json:"graffiti,omitempty" ssz-size:"32"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Slot github_com_prysmaticlabs_eth2_types.Slot `protobuf:"varint,1,opt,name=slot,proto3" json:"slot,omitempty" cast-type:"github.com/prysmaticlabs/eth2-types.Slot"` + RandaoReveal []byte `protobuf:"bytes,2,opt,name=randao_reveal,json=randaoReveal,proto3" json:"randao_reveal,omitempty" ssz-size:"96"` + Graffiti []byte `protobuf:"bytes,3,opt,name=graffiti,proto3" json:"graffiti,omitempty" ssz-size:"32"` } -func (m *ProposerBlockRequest) Reset() { *m = ProposerBlockRequest{} } -func (m *ProposerBlockRequest) String() string { return proto.CompactTextString(m) } -func (*ProposerBlockRequest) ProtoMessage() {} -func (*ProposerBlockRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_8497bbdb5ef97537, []int{6} -} -func (m *ProposerBlockRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *ProposerBlockRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_ProposerBlockRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *ProposerBlockRequest) Reset() { + *x = ProposerBlockRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_eth_v1_validator_service_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *ProposerBlockRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ProposerBlockRequest.Merge(m, src) -} -func (m *ProposerBlockRequest) XXX_Size() int { - return m.Size() + +func (x *ProposerBlockRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ProposerBlockRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ProposerBlockRequest.DiscardUnknown(m) + +func (*ProposerBlockRequest) ProtoMessage() {} + +func (x *ProposerBlockRequest) ProtoReflect() protoreflect.Message { + mi := &file_eth_v1_validator_service_proto_msgTypes[6] + 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) } -var xxx_messageInfo_ProposerBlockRequest proto.InternalMessageInfo +// Deprecated: Use ProposerBlockRequest.ProtoReflect.Descriptor instead. +func (*ProposerBlockRequest) Descriptor() ([]byte, []int) { + return file_eth_v1_validator_service_proto_rawDescGZIP(), []int{6} +} -func (m *ProposerBlockRequest) GetSlot() github_com_prysmaticlabs_eth2_types.Slot { - if m != nil { - return m.Slot +func (x *ProposerBlockRequest) GetSlot() github_com_prysmaticlabs_eth2_types.Slot { + if x != nil { + return x.Slot } - return 0 + return github_com_prysmaticlabs_eth2_types.Slot(0) } -func (m *ProposerBlockRequest) GetRandaoReveal() []byte { - if m != nil { - return m.RandaoReveal +func (x *ProposerBlockRequest) GetRandaoReveal() []byte { + if x != nil { + return x.RandaoReveal } return nil } -func (m *ProposerBlockRequest) GetGraffiti() []byte { - if m != nil { - return m.Graffiti +func (x *ProposerBlockRequest) GetGraffiti() []byte { + if x != nil { + return x.Graffiti } return nil } type ProposerBlockResponse struct { - Data *BeaconBlock `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Data *BeaconBlock `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` } -func (m *ProposerBlockResponse) Reset() { *m = ProposerBlockResponse{} } -func (m *ProposerBlockResponse) String() string { return proto.CompactTextString(m) } -func (*ProposerBlockResponse) ProtoMessage() {} -func (*ProposerBlockResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_8497bbdb5ef97537, []int{7} -} -func (m *ProposerBlockResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *ProposerBlockResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_ProposerBlockResponse.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *ProposerBlockResponse) Reset() { + *x = ProposerBlockResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_eth_v1_validator_service_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *ProposerBlockResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ProposerBlockResponse.Merge(m, src) -} -func (m *ProposerBlockResponse) XXX_Size() int { - return m.Size() + +func (x *ProposerBlockResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ProposerBlockResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ProposerBlockResponse.DiscardUnknown(m) + +func (*ProposerBlockResponse) ProtoMessage() {} + +func (x *ProposerBlockResponse) ProtoReflect() protoreflect.Message { + mi := &file_eth_v1_validator_service_proto_msgTypes[7] + 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) } -var xxx_messageInfo_ProposerBlockResponse proto.InternalMessageInfo +// Deprecated: Use ProposerBlockResponse.ProtoReflect.Descriptor instead. +func (*ProposerBlockResponse) Descriptor() ([]byte, []int) { + return file_eth_v1_validator_service_proto_rawDescGZIP(), []int{7} +} -func (m *ProposerBlockResponse) GetData() *BeaconBlock { - if m != nil { - return m.Data +func (x *ProposerBlockResponse) GetData() *BeaconBlock { + if x != nil { + return x.Data } return nil } type AttestationDataRequest struct { - Slot github_com_prysmaticlabs_eth2_types.Slot `protobuf:"varint,1,opt,name=slot,proto3,casttype=github.com/prysmaticlabs/eth2-types.Slot" json:"slot,omitempty"` - CommitteeIndex github_com_prysmaticlabs_eth2_types.CommitteeIndex `protobuf:"varint,2,opt,name=committee_index,json=committeeIndex,proto3,casttype=github.com/prysmaticlabs/eth2-types.CommitteeIndex" json:"committee_index,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Slot github_com_prysmaticlabs_eth2_types.Slot `protobuf:"varint,1,opt,name=slot,proto3" json:"slot,omitempty" cast-type:"github.com/prysmaticlabs/eth2-types.Slot"` + CommitteeIndex github_com_prysmaticlabs_eth2_types.CommitteeIndex `protobuf:"varint,2,opt,name=committee_index,json=committeeIndex,proto3" json:"committee_index,omitempty" cast-type:"github.com/prysmaticlabs/eth2-types.CommitteeIndex"` } -func (m *AttestationDataRequest) Reset() { *m = AttestationDataRequest{} } -func (m *AttestationDataRequest) String() string { return proto.CompactTextString(m) } -func (*AttestationDataRequest) ProtoMessage() {} -func (*AttestationDataRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_8497bbdb5ef97537, []int{8} -} -func (m *AttestationDataRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *AttestationDataRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_AttestationDataRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *AttestationDataRequest) Reset() { + *x = AttestationDataRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_eth_v1_validator_service_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *AttestationDataRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_AttestationDataRequest.Merge(m, src) -} -func (m *AttestationDataRequest) XXX_Size() int { - return m.Size() + +func (x *AttestationDataRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *AttestationDataRequest) XXX_DiscardUnknown() { - xxx_messageInfo_AttestationDataRequest.DiscardUnknown(m) + +func (*AttestationDataRequest) ProtoMessage() {} + +func (x *AttestationDataRequest) ProtoReflect() protoreflect.Message { + mi := &file_eth_v1_validator_service_proto_msgTypes[8] + 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) } -var xxx_messageInfo_AttestationDataRequest proto.InternalMessageInfo +// Deprecated: Use AttestationDataRequest.ProtoReflect.Descriptor instead. +func (*AttestationDataRequest) Descriptor() ([]byte, []int) { + return file_eth_v1_validator_service_proto_rawDescGZIP(), []int{8} +} -func (m *AttestationDataRequest) GetSlot() github_com_prysmaticlabs_eth2_types.Slot { - if m != nil { - return m.Slot +func (x *AttestationDataRequest) GetSlot() github_com_prysmaticlabs_eth2_types.Slot { + if x != nil { + return x.Slot } - return 0 + return github_com_prysmaticlabs_eth2_types.Slot(0) } -func (m *AttestationDataRequest) GetCommitteeIndex() github_com_prysmaticlabs_eth2_types.CommitteeIndex { - if m != nil { - return m.CommitteeIndex +func (x *AttestationDataRequest) GetCommitteeIndex() github_com_prysmaticlabs_eth2_types.CommitteeIndex { + if x != nil { + return x.CommitteeIndex } - return 0 + return github_com_prysmaticlabs_eth2_types.CommitteeIndex(0) } type AttestationDataResponse struct { - Data *AttestationData `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Data *AttestationData `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` } -func (m *AttestationDataResponse) Reset() { *m = AttestationDataResponse{} } -func (m *AttestationDataResponse) String() string { return proto.CompactTextString(m) } -func (*AttestationDataResponse) ProtoMessage() {} -func (*AttestationDataResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_8497bbdb5ef97537, []int{9} -} -func (m *AttestationDataResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *AttestationDataResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_AttestationDataResponse.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *AttestationDataResponse) Reset() { + *x = AttestationDataResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_eth_v1_validator_service_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *AttestationDataResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_AttestationDataResponse.Merge(m, src) -} -func (m *AttestationDataResponse) XXX_Size() int { - return m.Size() + +func (x *AttestationDataResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *AttestationDataResponse) XXX_DiscardUnknown() { - xxx_messageInfo_AttestationDataResponse.DiscardUnknown(m) + +func (*AttestationDataResponse) ProtoMessage() {} + +func (x *AttestationDataResponse) ProtoReflect() protoreflect.Message { + mi := &file_eth_v1_validator_service_proto_msgTypes[9] + 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) } -var xxx_messageInfo_AttestationDataResponse proto.InternalMessageInfo +// Deprecated: Use AttestationDataResponse.ProtoReflect.Descriptor instead. +func (*AttestationDataResponse) Descriptor() ([]byte, []int) { + return file_eth_v1_validator_service_proto_rawDescGZIP(), []int{9} +} -func (m *AttestationDataResponse) GetData() *AttestationData { - if m != nil { - return m.Data +func (x *AttestationDataResponse) GetData() *AttestationData { + if x != nil { + return x.Data } return nil } type AggregateAttestationRequest struct { - AttestationDataRoot []byte `protobuf:"bytes,1,opt,name=attestation_data_root,json=attestationDataRoot,proto3" json:"attestation_data_root,omitempty" ssz-size:"32"` - Slot github_com_prysmaticlabs_eth2_types.Slot `protobuf:"varint,2,opt,name=slot,proto3,casttype=github.com/prysmaticlabs/eth2-types.Slot" json:"slot,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + AttestationDataRoot []byte `protobuf:"bytes,1,opt,name=attestation_data_root,json=attestationDataRoot,proto3" json:"attestation_data_root,omitempty" ssz-size:"32"` + Slot github_com_prysmaticlabs_eth2_types.Slot `protobuf:"varint,2,opt,name=slot,proto3" json:"slot,omitempty" cast-type:"github.com/prysmaticlabs/eth2-types.Slot"` } -func (m *AggregateAttestationRequest) Reset() { *m = AggregateAttestationRequest{} } -func (m *AggregateAttestationRequest) String() string { return proto.CompactTextString(m) } -func (*AggregateAttestationRequest) ProtoMessage() {} -func (*AggregateAttestationRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_8497bbdb5ef97537, []int{10} -} -func (m *AggregateAttestationRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *AggregateAttestationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_AggregateAttestationRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *AggregateAttestationRequest) Reset() { + *x = AggregateAttestationRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_eth_v1_validator_service_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *AggregateAttestationRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_AggregateAttestationRequest.Merge(m, src) -} -func (m *AggregateAttestationRequest) XXX_Size() int { - return m.Size() + +func (x *AggregateAttestationRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *AggregateAttestationRequest) XXX_DiscardUnknown() { - xxx_messageInfo_AggregateAttestationRequest.DiscardUnknown(m) + +func (*AggregateAttestationRequest) ProtoMessage() {} + +func (x *AggregateAttestationRequest) ProtoReflect() protoreflect.Message { + mi := &file_eth_v1_validator_service_proto_msgTypes[10] + 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) } -var xxx_messageInfo_AggregateAttestationRequest proto.InternalMessageInfo +// Deprecated: Use AggregateAttestationRequest.ProtoReflect.Descriptor instead. +func (*AggregateAttestationRequest) Descriptor() ([]byte, []int) { + return file_eth_v1_validator_service_proto_rawDescGZIP(), []int{10} +} -func (m *AggregateAttestationRequest) GetAttestationDataRoot() []byte { - if m != nil { - return m.AttestationDataRoot +func (x *AggregateAttestationRequest) GetAttestationDataRoot() []byte { + if x != nil { + return x.AttestationDataRoot } return nil } -func (m *AggregateAttestationRequest) GetSlot() github_com_prysmaticlabs_eth2_types.Slot { - if m != nil { - return m.Slot +func (x *AggregateAttestationRequest) GetSlot() github_com_prysmaticlabs_eth2_types.Slot { + if x != nil { + return x.Slot } - return 0 + return github_com_prysmaticlabs_eth2_types.Slot(0) } type AttestationResponse struct { - Data *Attestation `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Data *Attestation `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` } -func (m *AttestationResponse) Reset() { *m = AttestationResponse{} } -func (m *AttestationResponse) String() string { return proto.CompactTextString(m) } -func (*AttestationResponse) ProtoMessage() {} -func (*AttestationResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_8497bbdb5ef97537, []int{11} -} -func (m *AttestationResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *AttestationResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_AttestationResponse.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *AttestationResponse) Reset() { + *x = AttestationResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_eth_v1_validator_service_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *AttestationResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_AttestationResponse.Merge(m, src) -} -func (m *AttestationResponse) XXX_Size() int { - return m.Size() + +func (x *AttestationResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *AttestationResponse) XXX_DiscardUnknown() { - xxx_messageInfo_AttestationResponse.DiscardUnknown(m) + +func (*AttestationResponse) ProtoMessage() {} + +func (x *AttestationResponse) ProtoReflect() protoreflect.Message { + mi := &file_eth_v1_validator_service_proto_msgTypes[11] + 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) } -var xxx_messageInfo_AttestationResponse proto.InternalMessageInfo +// Deprecated: Use AttestationResponse.ProtoReflect.Descriptor instead. +func (*AttestationResponse) Descriptor() ([]byte, []int) { + return file_eth_v1_validator_service_proto_rawDescGZIP(), []int{11} +} -func (m *AttestationResponse) GetData() *Attestation { - if m != nil { - return m.Data +func (x *AttestationResponse) GetData() *Attestation { + if x != nil { + return x.Data } return nil } type AggregateAndProofsSubmit struct { - Data []*AggregateAttestationAndProof `protobuf:"bytes,1,rep,name=data,proto3" json:"data,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Data []*AggregateAttestationAndProof `protobuf:"bytes,1,rep,name=data,proto3" json:"data,omitempty"` } -func (m *AggregateAndProofsSubmit) Reset() { *m = AggregateAndProofsSubmit{} } -func (m *AggregateAndProofsSubmit) String() string { return proto.CompactTextString(m) } -func (*AggregateAndProofsSubmit) ProtoMessage() {} -func (*AggregateAndProofsSubmit) Descriptor() ([]byte, []int) { - return fileDescriptor_8497bbdb5ef97537, []int{12} -} -func (m *AggregateAndProofsSubmit) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *AggregateAndProofsSubmit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_AggregateAndProofsSubmit.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *AggregateAndProofsSubmit) Reset() { + *x = AggregateAndProofsSubmit{} + if protoimpl.UnsafeEnabled { + mi := &file_eth_v1_validator_service_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *AggregateAndProofsSubmit) XXX_Merge(src proto.Message) { - xxx_messageInfo_AggregateAndProofsSubmit.Merge(m, src) -} -func (m *AggregateAndProofsSubmit) XXX_Size() int { - return m.Size() + +func (x *AggregateAndProofsSubmit) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *AggregateAndProofsSubmit) XXX_DiscardUnknown() { - xxx_messageInfo_AggregateAndProofsSubmit.DiscardUnknown(m) + +func (*AggregateAndProofsSubmit) ProtoMessage() {} + +func (x *AggregateAndProofsSubmit) ProtoReflect() protoreflect.Message { + mi := &file_eth_v1_validator_service_proto_msgTypes[12] + 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) } -var xxx_messageInfo_AggregateAndProofsSubmit proto.InternalMessageInfo +// Deprecated: Use AggregateAndProofsSubmit.ProtoReflect.Descriptor instead. +func (*AggregateAndProofsSubmit) Descriptor() ([]byte, []int) { + return file_eth_v1_validator_service_proto_rawDescGZIP(), []int{12} +} -func (m *AggregateAndProofsSubmit) GetData() []*AggregateAttestationAndProof { - if m != nil { - return m.Data +func (x *AggregateAndProofsSubmit) GetData() []*AggregateAttestationAndProof { + if x != nil { + return x.Data } return nil } type BeaconCommitteeSubscribeSubmit struct { - Data []*BeaconCommitteeSubscribe `protobuf:"bytes,1,rep,name=data,proto3" json:"data,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Data []*BeaconCommitteeSubscribe `protobuf:"bytes,1,rep,name=data,proto3" json:"data,omitempty"` } -func (m *BeaconCommitteeSubscribeSubmit) Reset() { *m = BeaconCommitteeSubscribeSubmit{} } -func (m *BeaconCommitteeSubscribeSubmit) String() string { return proto.CompactTextString(m) } -func (*BeaconCommitteeSubscribeSubmit) ProtoMessage() {} -func (*BeaconCommitteeSubscribeSubmit) Descriptor() ([]byte, []int) { - return fileDescriptor_8497bbdb5ef97537, []int{13} -} -func (m *BeaconCommitteeSubscribeSubmit) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *BeaconCommitteeSubscribeSubmit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_BeaconCommitteeSubscribeSubmit.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *BeaconCommitteeSubscribeSubmit) Reset() { + *x = BeaconCommitteeSubscribeSubmit{} + if protoimpl.UnsafeEnabled { + mi := &file_eth_v1_validator_service_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *BeaconCommitteeSubscribeSubmit) XXX_Merge(src proto.Message) { - xxx_messageInfo_BeaconCommitteeSubscribeSubmit.Merge(m, src) -} -func (m *BeaconCommitteeSubscribeSubmit) XXX_Size() int { - return m.Size() + +func (x *BeaconCommitteeSubscribeSubmit) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *BeaconCommitteeSubscribeSubmit) XXX_DiscardUnknown() { - xxx_messageInfo_BeaconCommitteeSubscribeSubmit.DiscardUnknown(m) + +func (*BeaconCommitteeSubscribeSubmit) ProtoMessage() {} + +func (x *BeaconCommitteeSubscribeSubmit) ProtoReflect() protoreflect.Message { + mi := &file_eth_v1_validator_service_proto_msgTypes[13] + 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) } -var xxx_messageInfo_BeaconCommitteeSubscribeSubmit proto.InternalMessageInfo +// Deprecated: Use BeaconCommitteeSubscribeSubmit.ProtoReflect.Descriptor instead. +func (*BeaconCommitteeSubscribeSubmit) Descriptor() ([]byte, []int) { + return file_eth_v1_validator_service_proto_rawDescGZIP(), []int{13} +} -func (m *BeaconCommitteeSubscribeSubmit) GetData() []*BeaconCommitteeSubscribe { - if m != nil { - return m.Data +func (x *BeaconCommitteeSubscribeSubmit) GetData() []*BeaconCommitteeSubscribe { + if x != nil { + return x.Data } return nil } type BeaconCommitteeSubscribe struct { - CommitteeIndex github_com_prysmaticlabs_eth2_types.CommitteeIndex `protobuf:"varint,1,opt,name=committee_index,json=committeeIndex,proto3,casttype=github.com/prysmaticlabs/eth2-types.CommitteeIndex" json:"committee_index,omitempty"` - CommitteesAtSlot uint64 `protobuf:"varint,2,opt,name=committees_at_slot,json=committeesAtSlot,proto3" json:"committees_at_slot,omitempty"` - Slot github_com_prysmaticlabs_eth2_types.Slot `protobuf:"varint,3,opt,name=slot,proto3,casttype=github.com/prysmaticlabs/eth2-types.Slot" json:"slot,omitempty"` - IsAggregator bool `protobuf:"varint,4,opt,name=is_aggregator,json=isAggregator,proto3" json:"is_aggregator,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *BeaconCommitteeSubscribe) Reset() { *m = BeaconCommitteeSubscribe{} } -func (m *BeaconCommitteeSubscribe) String() string { return proto.CompactTextString(m) } -func (*BeaconCommitteeSubscribe) ProtoMessage() {} -func (*BeaconCommitteeSubscribe) Descriptor() ([]byte, []int) { - return fileDescriptor_8497bbdb5ef97537, []int{14} -} -func (m *BeaconCommitteeSubscribe) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *BeaconCommitteeSubscribe) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_BeaconCommitteeSubscribe.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil - } + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + CommitteeIndex github_com_prysmaticlabs_eth2_types.CommitteeIndex `protobuf:"varint,1,opt,name=committee_index,json=committeeIndex,proto3" json:"committee_index,omitempty" cast-type:"github.com/prysmaticlabs/eth2-types.CommitteeIndex"` + CommitteesAtSlot uint64 `protobuf:"varint,2,opt,name=committees_at_slot,json=committeesAtSlot,proto3" json:"committees_at_slot,omitempty"` + Slot github_com_prysmaticlabs_eth2_types.Slot `protobuf:"varint,3,opt,name=slot,proto3" json:"slot,omitempty" cast-type:"github.com/prysmaticlabs/eth2-types.Slot"` + IsAggregator bool `protobuf:"varint,4,opt,name=is_aggregator,json=isAggregator,proto3" json:"is_aggregator,omitempty"` } -func (m *BeaconCommitteeSubscribe) XXX_Merge(src proto.Message) { - xxx_messageInfo_BeaconCommitteeSubscribe.Merge(m, src) + +func (x *BeaconCommitteeSubscribe) Reset() { + *x = BeaconCommitteeSubscribe{} + if protoimpl.UnsafeEnabled { + mi := &file_eth_v1_validator_service_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *BeaconCommitteeSubscribe) XXX_Size() int { - return m.Size() + +func (x *BeaconCommitteeSubscribe) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *BeaconCommitteeSubscribe) XXX_DiscardUnknown() { - xxx_messageInfo_BeaconCommitteeSubscribe.DiscardUnknown(m) + +func (*BeaconCommitteeSubscribe) ProtoMessage() {} + +func (x *BeaconCommitteeSubscribe) ProtoReflect() protoreflect.Message { + mi := &file_eth_v1_validator_service_proto_msgTypes[14] + 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) } -var xxx_messageInfo_BeaconCommitteeSubscribe proto.InternalMessageInfo +// Deprecated: Use BeaconCommitteeSubscribe.ProtoReflect.Descriptor instead. +func (*BeaconCommitteeSubscribe) Descriptor() ([]byte, []int) { + return file_eth_v1_validator_service_proto_rawDescGZIP(), []int{14} +} -func (m *BeaconCommitteeSubscribe) GetCommitteeIndex() github_com_prysmaticlabs_eth2_types.CommitteeIndex { - if m != nil { - return m.CommitteeIndex +func (x *BeaconCommitteeSubscribe) GetCommitteeIndex() github_com_prysmaticlabs_eth2_types.CommitteeIndex { + if x != nil { + return x.CommitteeIndex } - return 0 + return github_com_prysmaticlabs_eth2_types.CommitteeIndex(0) } -func (m *BeaconCommitteeSubscribe) GetCommitteesAtSlot() uint64 { - if m != nil { - return m.CommitteesAtSlot +func (x *BeaconCommitteeSubscribe) GetCommitteesAtSlot() uint64 { + if x != nil { + return x.CommitteesAtSlot } return 0 } -func (m *BeaconCommitteeSubscribe) GetSlot() github_com_prysmaticlabs_eth2_types.Slot { - if m != nil { - return m.Slot +func (x *BeaconCommitteeSubscribe) GetSlot() github_com_prysmaticlabs_eth2_types.Slot { + if x != nil { + return x.Slot } - return 0 + return github_com_prysmaticlabs_eth2_types.Slot(0) } -func (m *BeaconCommitteeSubscribe) GetIsAggregator() bool { - if m != nil { - return m.IsAggregator +func (x *BeaconCommitteeSubscribe) GetIsAggregator() bool { + if x != nil { + return x.IsAggregator } return false } -func init() { - proto.RegisterType((*AttesterDutiesRequest)(nil), "ethereum.eth.v1.AttesterDutiesRequest") - proto.RegisterType((*AttesterDutiesResponse)(nil), "ethereum.eth.v1.AttesterDutiesResponse") - proto.RegisterType((*AttesterDuty)(nil), "ethereum.eth.v1.AttesterDuty") - proto.RegisterType((*ProposerDutiesRequest)(nil), "ethereum.eth.v1.ProposerDutiesRequest") - proto.RegisterType((*ProposerDutiesResponse)(nil), "ethereum.eth.v1.ProposerDutiesResponse") - proto.RegisterType((*ProposerDuty)(nil), "ethereum.eth.v1.ProposerDuty") - proto.RegisterType((*ProposerBlockRequest)(nil), "ethereum.eth.v1.ProposerBlockRequest") - proto.RegisterType((*ProposerBlockResponse)(nil), "ethereum.eth.v1.ProposerBlockResponse") - proto.RegisterType((*AttestationDataRequest)(nil), "ethereum.eth.v1.AttestationDataRequest") - proto.RegisterType((*AttestationDataResponse)(nil), "ethereum.eth.v1.AttestationDataResponse") - proto.RegisterType((*AggregateAttestationRequest)(nil), "ethereum.eth.v1.AggregateAttestationRequest") - proto.RegisterType((*AttestationResponse)(nil), "ethereum.eth.v1.AttestationResponse") - proto.RegisterType((*AggregateAndProofsSubmit)(nil), "ethereum.eth.v1.AggregateAndProofsSubmit") - proto.RegisterType((*BeaconCommitteeSubscribeSubmit)(nil), "ethereum.eth.v1.BeaconCommitteeSubscribeSubmit") - proto.RegisterType((*BeaconCommitteeSubscribe)(nil), "ethereum.eth.v1.BeaconCommitteeSubscribe") -} - -func init() { proto.RegisterFile("eth/v1/validator_service.proto", fileDescriptor_8497bbdb5ef97537) } - -var fileDescriptor_8497bbdb5ef97537 = []byte{ - // 1134 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x57, 0xcd, 0x6f, 0x1b, 0x45, - 0x14, 0xd7, 0x38, 0x4e, 0x88, 0xa6, 0x09, 0xa1, 0x13, 0xd2, 0xb8, 0x69, 0x49, 0xd2, 0xa5, 0x24, - 0x36, 0xc4, 0xbb, 0x8d, 0x1b, 0x45, 0xa5, 0x12, 0x88, 0xb8, 0xb5, 0xa2, 0x8a, 0x4a, 0x44, 0x1b, - 0x89, 0x03, 0x0a, 0x5a, 0xcd, 0xda, 0x93, 0xf5, 0xaa, 0xf6, 0xce, 0xb2, 0x33, 0xb6, 0x70, 0xab, - 0x5e, 0x7a, 0x44, 0x1c, 0x90, 0x7a, 0xe0, 0xc6, 0x91, 0x43, 0xc5, 0x7f, 0xc0, 0x81, 0x1b, 0x42, - 0x9c, 0x90, 0xb8, 0xa2, 0x08, 0x45, 0xfc, 0x05, 0x1c, 0x73, 0x42, 0x3b, 0x3b, 0xfb, 0x65, 0xaf, - 0x3f, 0x48, 0x82, 0xc4, 0xcd, 0x3b, 0xf3, 0xde, 0xef, 0xfd, 0xde, 0x87, 0x7f, 0x6f, 0x17, 0xae, - 0x12, 0xde, 0xd4, 0xba, 0xdb, 0x5a, 0x17, 0xb7, 0xec, 0x06, 0xe6, 0xd4, 0x33, 0x18, 0xf1, 0xba, - 0x76, 0x9d, 0xa8, 0xae, 0x47, 0x39, 0x45, 0x0b, 0x84, 0x37, 0x89, 0x47, 0x3a, 0x6d, 0x95, 0xf0, - 0xa6, 0xda, 0xdd, 0x5e, 0x29, 0x5b, 0x36, 0x6f, 0x76, 0x4c, 0xb5, 0x4e, 0xdb, 0x9a, 0x45, 0x2d, - 0xaa, 0x09, 0x3b, 0xb3, 0x73, 0x2c, 0x9e, 0xc4, 0x83, 0xf8, 0x15, 0xf8, 0xaf, 0xdc, 0xb4, 0x28, - 0xb5, 0x5a, 0x44, 0xc3, 0xae, 0xad, 0x61, 0xc7, 0xa1, 0x1c, 0x73, 0x9b, 0x3a, 0x4c, 0xde, 0xde, - 0x90, 0xb7, 0x11, 0x06, 0x69, 0xbb, 0xbc, 0x27, 0x2f, 0x0b, 0x92, 0x1a, 0xe6, 0x9c, 0xb0, 0xc0, - 0x4f, 0xde, 0x5c, 0x97, 0x37, 0x26, 0xc1, 0x75, 0xea, 0x18, 0x66, 0x8b, 0xd6, 0x9f, 0x04, 0x57, - 0xca, 0x2b, 0x00, 0x97, 0xf6, 0x84, 0x03, 0xf1, 0x1e, 0x76, 0xb8, 0x4d, 0x98, 0x4e, 0xbe, 0xe8, - 0x10, 0xc6, 0xd1, 0x03, 0x38, 0x4d, 0x5c, 0x5a, 0x6f, 0x16, 0xc0, 0x3a, 0x28, 0xe6, 0xab, 0xe5, - 0xb3, 0x93, 0xb5, 0x52, 0x22, 0x17, 0xd7, 0xeb, 0xb1, 0x36, 0xe6, 0x76, 0xbd, 0x85, 0x4d, 0xa6, - 0x11, 0xde, 0xac, 0x94, 0x79, 0xcf, 0x25, 0x4c, 0xad, 0xf9, 0x4e, 0x7a, 0xe0, 0x8b, 0x1e, 0xc3, - 0x69, 0xdb, 0x69, 0x90, 0x2f, 0x0b, 0xb9, 0xf5, 0xa9, 0x62, 0xbe, 0xba, 0x7b, 0x76, 0xb2, 0x56, - 0x99, 0x04, 0xe4, 0xd3, 0xb0, 0xbc, 0x8f, 0x7c, 0x6f, 0x3d, 0x00, 0x51, 0x3e, 0x86, 0xd7, 0xfa, - 0xb9, 0x32, 0x97, 0x3a, 0x8c, 0xa0, 0x6d, 0x98, 0x6f, 0x60, 0x8e, 0x0b, 0x60, 0x7d, 0xaa, 0x78, - 0xa5, 0xf2, 0x96, 0xda, 0xd7, 0x05, 0x35, 0xe1, 0xd6, 0xd3, 0x85, 0xa9, 0xf2, 0x55, 0x1e, 0xce, - 0x25, 0x8f, 0x51, 0x09, 0xce, 0xb8, 0x1d, 0xf3, 0x09, 0xe9, 0x89, 0x8c, 0xe7, 0xaa, 0x57, 0xff, - 0x3e, 0x59, 0x9b, 0x67, 0xec, 0x69, 0x99, 0xd9, 0x4f, 0xc9, 0x7d, 0x65, 0xe7, 0x9e, 0xa2, 0x4b, - 0x03, 0x64, 0xc0, 0x85, 0x78, 0x00, 0xc2, 0x04, 0xc1, 0x05, 0x12, 0x7c, 0xbd, 0x9b, 0x7a, 0xf6, - 0x03, 0xd4, 0x69, 0xbb, 0x6d, 0x73, 0x4e, 0x88, 0x0c, 0x30, 0xf5, 0xef, 0x02, 0x3c, 0x08, 0xdd, - 0x65, 0x80, 0x7a, 0xea, 0x19, 0x95, 0xe0, 0x1b, 0x71, 0x80, 0x16, 0x71, 0x2c, 0xde, 0x2c, 0xe4, - 0xfd, 0x08, 0x7a, 0x1c, 0xf8, 0xb1, 0x38, 0x46, 0x5b, 0x10, 0x45, 0x47, 0xcc, 0xc0, 0xdc, 0x60, - 0x2d, 0xca, 0x0b, 0xd3, 0xc2, 0x38, 0x06, 0x61, 0x7b, 0xfc, 0xb0, 0x45, 0x39, 0xf2, 0xe0, 0xf5, - 0xb8, 0x34, 0xfd, 0x39, 0xcc, 0x5c, 0x28, 0x87, 0xe5, 0x08, 0x38, 0x7d, 0x81, 0x3e, 0x82, 0x79, - 0xc1, 0xe9, 0x35, 0x01, 0xbf, 0x75, 0x76, 0xb2, 0x56, 0x9c, 0x04, 0xde, 0xe7, 0xab, 0x0b, 0x4f, - 0xe5, 0x08, 0x2e, 0x1d, 0x78, 0xd4, 0xa5, 0xec, 0xbf, 0xf8, 0x17, 0xf8, 0x73, 0xdb, 0x8f, 0x3e, - 0xe1, 0xdc, 0x26, 0xdc, 0xc2, 0xb9, 0xfd, 0x03, 0xc0, 0xb9, 0xe4, 0xf1, 0xff, 0x6a, 0x6e, 0xc3, - 0x4e, 0x4c, 0x9d, 0xbb, 0x13, 0x3f, 0x01, 0xf8, 0x66, 0x98, 0x5e, 0xd5, 0x17, 0xaa, 0xb0, 0x13, - 0x21, 0x34, 0x38, 0x2f, 0x34, 0xda, 0x85, 0xf3, 0x1e, 0x76, 0x1a, 0x98, 0x1a, 0x1e, 0xe9, 0x12, - 0xdc, 0x12, 0xb9, 0x0f, 0xd4, 0xeb, 0xfd, 0x5d, 0x45, 0x9f, 0x0b, 0xec, 0x74, 0x61, 0x86, 0xca, - 0x70, 0xd6, 0xf2, 0xf0, 0xf1, 0xb1, 0xcd, 0x6d, 0x91, 0xd8, 0x80, 0xcb, 0xdd, 0x8a, 0xa2, 0x47, - 0x26, 0xca, 0xa3, 0x78, 0x96, 0x64, 0x02, 0xb2, 0xd9, 0x77, 0xa2, 0x66, 0x83, 0xe2, 0x95, 0xca, - 0xcd, 0x81, 0x66, 0x57, 0x85, 0x3c, 0x07, 0x3e, 0x41, 0xaf, 0x7f, 0x04, 0xa1, 0xe2, 0x09, 0x39, - 0x7f, 0x88, 0x39, 0xbe, 0xbc, 0x72, 0x64, 0x68, 0x4c, 0xee, 0x32, 0x35, 0x46, 0xf9, 0x04, 0x2e, - 0x0f, 0x90, 0x97, 0xa5, 0xd8, 0x49, 0x95, 0x62, 0x7d, 0x88, 0x5e, 0xc7, 0x7e, 0x41, 0x39, 0xbe, - 0x07, 0xf0, 0xc6, 0x9e, 0x65, 0x79, 0xc4, 0xc2, 0x9c, 0x24, 0x4c, 0xc2, 0x9a, 0xd4, 0xe0, 0x52, - 0x62, 0xf9, 0x19, 0xbe, 0x8f, 0xe1, 0x51, 0x59, 0xa4, 0xcc, 0xae, 0x2d, 0xe2, 0xbe, 0x40, 0x94, - 0xc6, 0xa5, 0xcd, 0x9d, 0x7b, 0x88, 0xf7, 0xe1, 0x62, 0x8a, 0xde, 0x84, 0x03, 0x90, 0xf4, 0x09, - 0x32, 0xfe, 0x1c, 0x16, 0xe2, 0x84, 0x9d, 0xc6, 0x81, 0x47, 0xe9, 0x31, 0x3b, 0xec, 0x98, 0x6d, - 0x9b, 0xa3, 0xbd, 0x94, 0x76, 0x94, 0x07, 0xd1, 0x32, 0x2a, 0x15, 0x62, 0x48, 0x78, 0x03, 0xae, - 0x06, 0x43, 0x17, 0x75, 0xf2, 0xb0, 0x63, 0xb2, 0xba, 0x67, 0x9b, 0x44, 0x06, 0xf9, 0x20, 0x15, - 0xa4, 0x34, 0x64, 0x66, 0x07, 0xdd, 0x65, 0x80, 0x6f, 0x72, 0xb0, 0x30, 0xcc, 0x24, 0x6b, 0x00, - 0xc1, 0xa5, 0x2e, 0xb9, 0xec, 0xcd, 0x95, 0x1b, 0xb2, 0xb9, 0x2e, 0xac, 0x5d, 0xe8, 0x6d, 0x38, - 0x6f, 0x33, 0x03, 0xcb, 0xba, 0x53, 0x4f, 0x6c, 0xd4, 0x59, 0x7d, 0xce, 0x66, 0x7b, 0xd1, 0x59, - 0xe5, 0xe7, 0x59, 0xb8, 0x10, 0x94, 0x24, 0xd2, 0x52, 0xf4, 0x2d, 0x80, 0x57, 0xf7, 0x09, 0x4f, - 0xbf, 0xdc, 0xa0, 0x8d, 0x51, 0xaf, 0x31, 0xf1, 0x8e, 0x5a, 0xd9, 0x1c, 0x6b, 0x17, 0xcc, 0x9f, - 0xb2, 0xfd, 0xe2, 0xf7, 0xbf, 0x5e, 0xe6, 0xde, 0x43, 0x25, 0xad, 0xff, 0x2d, 0x56, 0x6b, 0x08, - 0x4b, 0xf9, 0xee, 0x48, 0x3c, 0xed, 0x99, 0xd8, 0x5c, 0xcf, 0x43, 0x66, 0xe9, 0xf5, 0x95, 0xc1, - 0x2c, 0x73, 0x7b, 0x66, 0x30, 0xcb, 0xde, 0x83, 0x13, 0x30, 0x73, 0xa5, 0x63, 0xc4, 0xec, 0x05, - 0x80, 0xb3, 0xfb, 0x84, 0x0b, 0xb9, 0x44, 0xef, 0x0c, 0x0d, 0x94, 0xdc, 0x21, 0x2b, 0x1b, 0xe3, - 0xcc, 0x24, 0x9d, 0x4d, 0x41, 0xe7, 0x16, 0x5a, 0x1b, 0xa4, 0x23, 0x5e, 0x9e, 0x99, 0xf6, 0xcc, - 0x6f, 0xf8, 0x73, 0xf4, 0x12, 0x40, 0x14, 0x35, 0x2e, 0x52, 0x11, 0xb4, 0x39, 0x56, 0xd0, 0x24, - 0xa1, 0xe2, 0x78, 0x43, 0x49, 0xe9, 0x5d, 0x41, 0xe9, 0x36, 0x52, 0x06, 0x29, 0xf5, 0x6b, 0x1e, - 0xfa, 0x0e, 0xc0, 0x65, 0x9f, 0x55, 0x86, 0x00, 0xa0, 0xad, 0x89, 0x74, 0x22, 0xe4, 0x77, 0x7b, - 0xa4, 0x46, 0x85, 0xdc, 0x34, 0xc1, 0xad, 0x84, 0x36, 0x33, 0xb8, 0x85, 0xe0, 0x46, 0x82, 0xa5, - 0x5f, 0xb6, 0x42, 0x20, 0x30, 0x83, 0xea, 0x86, 0x4a, 0x23, 0x18, 0xa6, 0x25, 0x70, 0xe5, 0x9a, - 0x1a, 0x7c, 0x10, 0xa9, 0xe1, 0x07, 0x91, 0x5a, 0xf3, 0x3f, 0x88, 0x94, 0x1d, 0x41, 0x48, 0x55, - 0x36, 0x46, 0x12, 0x72, 0x1a, 0x86, 0x2b, 0xd0, 0xee, 0x0b, 0xb1, 0x42, 0x3f, 0x00, 0x78, 0x2b, - 0x00, 0xce, 0x96, 0x2c, 0x57, 0x70, 0xd7, 0x26, 0xd6, 0xc0, 0x31, 0x24, 0x3f, 0x14, 0x24, 0xef, - 0x29, 0x77, 0x32, 0x86, 0x2c, 0xf8, 0x50, 0x8b, 0xd5, 0x91, 0x25, 0x18, 0x48, 0xba, 0xd5, 0xaf, - 0xc1, 0x2f, 0xa7, 0xab, 0xe0, 0xb7, 0xd3, 0x55, 0xf0, 0xe7, 0xe9, 0x2a, 0x80, 0x8b, 0xd4, 0xb3, - 0xfa, 0xa9, 0x55, 0x97, 0x22, 0x8d, 0x39, 0x0c, 0x3e, 0x53, 0x0f, 0x7c, 0x0e, 0x07, 0xe0, 0xb3, - 0xad, 0x51, 0xd2, 0x26, 0x20, 0xb0, 0x6b, 0x33, 0xc9, 0xec, 0x55, 0x6e, 0xa1, 0x16, 0x02, 0xd7, - 0x04, 0xf0, 0xaf, 0xf1, 0xc9, 0x51, 0x8d, 0x37, 0x8f, 0xba, 0xdb, 0xe6, 0x8c, 0x48, 0xef, 0xee, - 0x3f, 0x01, 0x00, 0x00, 0xff, 0xff, 0x59, 0x38, 0xe1, 0x2d, 0x22, 0x0f, 0x00, 0x00, +var File_eth_v1_validator_service_proto protoreflect.FileDescriptor + +var file_eth_v1_validator_service_proto_rawDesc = []byte{ + 0x0a, 0x1e, 0x65, 0x74, 0x68, 0x2f, 0x76, 0x31, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, + 0x6f, 0x72, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x12, 0x0f, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, + 0x31, 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, + 0x20, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, + 0x2f, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 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, 0x1a, 0x15, + 0x65, 0x74, 0x68, 0x2f, 0x65, 0x78, 0x74, 0x2f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x18, 0x65, 0x74, 0x68, 0x2f, 0x76, 0x31, 0x2f, 0x61, 0x74, + 0x74, 0x65, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, + 0x19, 0x65, 0x74, 0x68, 0x2f, 0x76, 0x31, 0x2f, 0x62, 0x65, 0x61, 0x63, 0x6f, 0x6e, 0x5f, 0x62, + 0x6c, 0x6f, 0x63, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xaa, 0x01, 0x0a, 0x15, 0x41, + 0x74, 0x74, 0x65, 0x73, 0x74, 0x65, 0x72, 0x44, 0x75, 0x74, 0x69, 0x65, 0x73, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x12, 0x43, 0x0a, 0x05, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x04, 0x42, 0x2d, 0x82, 0xb5, 0x18, 0x29, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, + 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x72, 0x79, 0x73, 0x6d, 0x61, 0x74, 0x69, 0x63, 0x6c, 0x61, 0x62, + 0x73, 0x2f, 0x65, 0x74, 0x68, 0x32, 0x2d, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x45, 0x70, 0x6f, + 0x63, 0x68, 0x52, 0x05, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x12, 0x4c, 0x0a, 0x05, 0x69, 0x6e, 0x64, + 0x65, 0x78, 0x18, 0x02, 0x20, 0x03, 0x28, 0x04, 0x42, 0x36, 0x82, 0xb5, 0x18, 0x32, 0x67, 0x69, + 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x72, 0x79, 0x73, 0x6d, 0x61, 0x74, + 0x69, 0x63, 0x6c, 0x61, 0x62, 0x73, 0x2f, 0x65, 0x74, 0x68, 0x32, 0x2d, 0x74, 0x79, 0x70, 0x65, + 0x73, 0x2e, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x49, 0x6e, 0x64, 0x65, 0x78, + 0x52, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x22, 0x4b, 0x0a, 0x16, 0x41, 0x74, 0x74, 0x65, 0x73, + 0x74, 0x65, 0x72, 0x44, 0x75, 0x74, 0x69, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x12, 0x31, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, + 0x1d, 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, + 0x31, 0x2e, 0x41, 0x74, 0x74, 0x65, 0x73, 0x74, 0x65, 0x72, 0x44, 0x75, 0x74, 0x79, 0x52, 0x04, + 0x64, 0x61, 0x74, 0x61, 0x22, 0xff, 0x03, 0x0a, 0x0c, 0x41, 0x74, 0x74, 0x65, 0x73, 0x74, 0x65, + 0x72, 0x44, 0x75, 0x74, 0x79, 0x12, 0x1e, 0x0a, 0x06, 0x70, 0x75, 0x62, 0x6b, 0x65, 0x79, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x0c, 0x42, 0x06, 0x8a, 0xb5, 0x18, 0x02, 0x34, 0x38, 0x52, 0x06, 0x70, + 0x75, 0x62, 0x6b, 0x65, 0x79, 0x12, 0x5f, 0x0a, 0x0f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, + 0x6f, 0x72, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x42, 0x36, + 0x82, 0xb5, 0x18, 0x32, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, + 0x72, 0x79, 0x73, 0x6d, 0x61, 0x74, 0x69, 0x63, 0x6c, 0x61, 0x62, 0x73, 0x2f, 0x65, 0x74, 0x68, + 0x32, 0x2d, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, + 0x72, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x52, 0x0e, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, + 0x72, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x5f, 0x0a, 0x0f, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, + 0x74, 0x65, 0x65, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x42, + 0x36, 0x82, 0xb5, 0x18, 0x32, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, + 0x70, 0x72, 0x79, 0x73, 0x6d, 0x61, 0x74, 0x69, 0x63, 0x6c, 0x61, 0x62, 0x73, 0x2f, 0x65, 0x74, + 0x68, 0x32, 0x2d, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x74, + 0x65, 0x65, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x52, 0x0e, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x74, + 0x65, 0x65, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x29, 0x0a, 0x10, 0x63, 0x6f, 0x6d, 0x6d, 0x69, + 0x74, 0x74, 0x65, 0x65, 0x5f, 0x6c, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x18, 0x04, 0x20, 0x01, 0x28, + 0x04, 0x52, 0x0f, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x74, 0x65, 0x65, 0x4c, 0x65, 0x6e, 0x67, + 0x74, 0x68, 0x12, 0x2c, 0x0a, 0x12, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x74, 0x65, 0x65, 0x73, + 0x5f, 0x61, 0x74, 0x5f, 0x73, 0x6c, 0x6f, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x04, 0x52, 0x10, + 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x74, 0x65, 0x65, 0x73, 0x41, 0x74, 0x53, 0x6c, 0x6f, 0x74, + 0x12, 0x72, 0x0a, 0x19, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x5f, 0x63, 0x6f, + 0x6d, 0x6d, 0x69, 0x74, 0x74, 0x65, 0x65, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x06, 0x20, + 0x01, 0x28, 0x04, 0x42, 0x36, 0x82, 0xb5, 0x18, 0x32, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, + 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x72, 0x79, 0x73, 0x6d, 0x61, 0x74, 0x69, 0x63, 0x6c, 0x61, 0x62, + 0x73, 0x2f, 0x65, 0x74, 0x68, 0x32, 0x2d, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x43, 0x6f, 0x6d, + 0x6d, 0x69, 0x74, 0x74, 0x65, 0x65, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x52, 0x17, 0x76, 0x61, 0x6c, + 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x74, 0x65, 0x65, 0x49, + 0x6e, 0x64, 0x65, 0x78, 0x12, 0x40, 0x0a, 0x04, 0x73, 0x6c, 0x6f, 0x74, 0x18, 0x07, 0x20, 0x01, + 0x28, 0x04, 0x42, 0x2c, 0x82, 0xb5, 0x18, 0x28, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, + 0x6f, 0x6d, 0x2f, 0x70, 0x72, 0x79, 0x73, 0x6d, 0x61, 0x74, 0x69, 0x63, 0x6c, 0x61, 0x62, 0x73, + 0x2f, 0x65, 0x74, 0x68, 0x32, 0x2d, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x53, 0x6c, 0x6f, 0x74, + 0x52, 0x04, 0x73, 0x6c, 0x6f, 0x74, 0x22, 0x5c, 0x0a, 0x15, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, + 0x65, 0x72, 0x44, 0x75, 0x74, 0x69, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, + 0x43, 0x0a, 0x05, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x42, 0x2d, + 0x82, 0xb5, 0x18, 0x29, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, + 0x72, 0x79, 0x73, 0x6d, 0x61, 0x74, 0x69, 0x63, 0x6c, 0x61, 0x62, 0x73, 0x2f, 0x65, 0x74, 0x68, + 0x32, 0x2d, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x45, 0x70, 0x6f, 0x63, 0x68, 0x52, 0x05, 0x65, + 0x70, 0x6f, 0x63, 0x68, 0x22, 0x4b, 0x0a, 0x16, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x65, 0x72, + 0x44, 0x75, 0x74, 0x69, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x31, + 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x65, + 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x50, + 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x65, 0x72, 0x44, 0x75, 0x74, 0x79, 0x52, 0x04, 0x64, 0x61, 0x74, + 0x61, 0x22, 0xd1, 0x01, 0x0a, 0x0c, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x65, 0x72, 0x44, 0x75, + 0x74, 0x79, 0x12, 0x1e, 0x0a, 0x06, 0x70, 0x75, 0x62, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0c, 0x42, 0x06, 0x8a, 0xb5, 0x18, 0x02, 0x34, 0x38, 0x52, 0x06, 0x70, 0x75, 0x62, 0x6b, + 0x65, 0x79, 0x12, 0x5f, 0x0a, 0x0f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x5f, + 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x42, 0x36, 0x82, 0xb5, 0x18, + 0x32, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x72, 0x79, 0x73, + 0x6d, 0x61, 0x74, 0x69, 0x63, 0x6c, 0x61, 0x62, 0x73, 0x2f, 0x65, 0x74, 0x68, 0x32, 0x2d, 0x74, + 0x79, 0x70, 0x65, 0x73, 0x2e, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x49, 0x6e, + 0x64, 0x65, 0x78, 0x52, 0x0e, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x49, 0x6e, + 0x64, 0x65, 0x78, 0x12, 0x40, 0x0a, 0x04, 0x73, 0x6c, 0x6f, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x04, 0x42, 0x2c, 0x82, 0xb5, 0x18, 0x28, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, + 0x6d, 0x2f, 0x70, 0x72, 0x79, 0x73, 0x6d, 0x61, 0x74, 0x69, 0x63, 0x6c, 0x61, 0x62, 0x73, 0x2f, + 0x65, 0x74, 0x68, 0x32, 0x2d, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x53, 0x6c, 0x6f, 0x74, 0x52, + 0x04, 0x73, 0x6c, 0x6f, 0x74, 0x22, 0xa9, 0x01, 0x0a, 0x14, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, + 0x65, 0x72, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x40, + 0x0a, 0x04, 0x73, 0x6c, 0x6f, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x42, 0x2c, 0x82, 0xb5, + 0x18, 0x28, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x72, 0x79, + 0x73, 0x6d, 0x61, 0x74, 0x69, 0x63, 0x6c, 0x61, 0x62, 0x73, 0x2f, 0x65, 0x74, 0x68, 0x32, 0x2d, + 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x53, 0x6c, 0x6f, 0x74, 0x52, 0x04, 0x73, 0x6c, 0x6f, 0x74, + 0x12, 0x2b, 0x0a, 0x0d, 0x72, 0x61, 0x6e, 0x64, 0x61, 0x6f, 0x5f, 0x72, 0x65, 0x76, 0x65, 0x61, + 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x42, 0x06, 0x8a, 0xb5, 0x18, 0x02, 0x39, 0x36, 0x52, + 0x0c, 0x72, 0x61, 0x6e, 0x64, 0x61, 0x6f, 0x52, 0x65, 0x76, 0x65, 0x61, 0x6c, 0x12, 0x22, 0x0a, + 0x08, 0x67, 0x72, 0x61, 0x66, 0x66, 0x69, 0x74, 0x69, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x42, + 0x06, 0x8a, 0xb5, 0x18, 0x02, 0x33, 0x32, 0x52, 0x08, 0x67, 0x72, 0x61, 0x66, 0x66, 0x69, 0x74, + 0x69, 0x22, 0x49, 0x0a, 0x15, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x65, 0x72, 0x42, 0x6c, 0x6f, + 0x63, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x30, 0x0a, 0x04, 0x64, 0x61, + 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, + 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x65, 0x61, 0x63, 0x6f, + 0x6e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0xbb, 0x01, 0x0a, + 0x16, 0x41, 0x74, 0x74, 0x65, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x61, 0x74, 0x61, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x40, 0x0a, 0x04, 0x73, 0x6c, 0x6f, 0x74, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x04, 0x42, 0x2c, 0x82, 0xb5, 0x18, 0x28, 0x67, 0x69, 0x74, 0x68, 0x75, + 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x72, 0x79, 0x73, 0x6d, 0x61, 0x74, 0x69, 0x63, 0x6c, + 0x61, 0x62, 0x73, 0x2f, 0x65, 0x74, 0x68, 0x32, 0x2d, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x53, + 0x6c, 0x6f, 0x74, 0x52, 0x04, 0x73, 0x6c, 0x6f, 0x74, 0x12, 0x5f, 0x0a, 0x0f, 0x63, 0x6f, 0x6d, + 0x6d, 0x69, 0x74, 0x74, 0x65, 0x65, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x04, 0x42, 0x36, 0x82, 0xb5, 0x18, 0x32, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, + 0x6f, 0x6d, 0x2f, 0x70, 0x72, 0x79, 0x73, 0x6d, 0x61, 0x74, 0x69, 0x63, 0x6c, 0x61, 0x62, 0x73, + 0x2f, 0x65, 0x74, 0x68, 0x32, 0x2d, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, + 0x69, 0x74, 0x74, 0x65, 0x65, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x52, 0x0e, 0x63, 0x6f, 0x6d, 0x6d, + 0x69, 0x74, 0x74, 0x65, 0x65, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x22, 0x4f, 0x0a, 0x17, 0x41, 0x74, + 0x74, 0x65, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x61, 0x74, 0x61, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x34, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, + 0x74, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x74, 0x74, 0x65, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x44, 0x61, 0x74, 0x61, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0x9b, 0x01, 0x0a, 0x1b, + 0x41, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x65, 0x41, 0x74, 0x74, 0x65, 0x73, 0x74, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3a, 0x0a, 0x15, 0x61, + 0x74, 0x74, 0x65, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x5f, + 0x72, 0x6f, 0x6f, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x42, 0x06, 0x8a, 0xb5, 0x18, 0x02, + 0x33, 0x32, 0x52, 0x13, 0x61, 0x74, 0x74, 0x65, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x44, + 0x61, 0x74, 0x61, 0x52, 0x6f, 0x6f, 0x74, 0x12, 0x40, 0x0a, 0x04, 0x73, 0x6c, 0x6f, 0x74, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x04, 0x42, 0x2c, 0x82, 0xb5, 0x18, 0x28, 0x67, 0x69, 0x74, 0x68, 0x75, + 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x72, 0x79, 0x73, 0x6d, 0x61, 0x74, 0x69, 0x63, 0x6c, + 0x61, 0x62, 0x73, 0x2f, 0x65, 0x74, 0x68, 0x32, 0x2d, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x53, + 0x6c, 0x6f, 0x74, 0x52, 0x04, 0x73, 0x6c, 0x6f, 0x74, 0x22, 0x47, 0x0a, 0x13, 0x41, 0x74, 0x74, + 0x65, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x12, 0x30, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, + 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, + 0x2e, 0x41, 0x74, 0x74, 0x65, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x04, 0x64, 0x61, + 0x74, 0x61, 0x22, 0x5d, 0x0a, 0x18, 0x41, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x65, 0x41, + 0x6e, 0x64, 0x50, 0x72, 0x6f, 0x6f, 0x66, 0x73, 0x53, 0x75, 0x62, 0x6d, 0x69, 0x74, 0x12, 0x41, + 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x65, + 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 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, 0x52, 0x04, 0x64, 0x61, 0x74, + 0x61, 0x22, 0x5f, 0x0a, 0x1e, 0x42, 0x65, 0x61, 0x63, 0x6f, 0x6e, 0x43, 0x6f, 0x6d, 0x6d, 0x69, + 0x74, 0x74, 0x65, 0x65, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x53, 0x75, 0x62, + 0x6d, 0x69, 0x74, 0x12, 0x3d, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x03, 0x28, + 0x0b, 0x32, 0x29, 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, + 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x65, 0x61, 0x63, 0x6f, 0x6e, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, + 0x74, 0x65, 0x65, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x52, 0x04, 0x64, 0x61, + 0x74, 0x61, 0x22, 0x90, 0x02, 0x0a, 0x18, 0x42, 0x65, 0x61, 0x63, 0x6f, 0x6e, 0x43, 0x6f, 0x6d, + 0x6d, 0x69, 0x74, 0x74, 0x65, 0x65, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x12, + 0x5f, 0x0a, 0x0f, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x74, 0x65, 0x65, 0x5f, 0x69, 0x6e, 0x64, + 0x65, 0x78, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x42, 0x36, 0x82, 0xb5, 0x18, 0x32, 0x67, 0x69, + 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x72, 0x79, 0x73, 0x6d, 0x61, 0x74, + 0x69, 0x63, 0x6c, 0x61, 0x62, 0x73, 0x2f, 0x65, 0x74, 0x68, 0x32, 0x2d, 0x74, 0x79, 0x70, 0x65, + 0x73, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x74, 0x65, 0x65, 0x49, 0x6e, 0x64, 0x65, 0x78, + 0x52, 0x0e, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x74, 0x65, 0x65, 0x49, 0x6e, 0x64, 0x65, 0x78, + 0x12, 0x2c, 0x0a, 0x12, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x74, 0x65, 0x65, 0x73, 0x5f, 0x61, + 0x74, 0x5f, 0x73, 0x6c, 0x6f, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x10, 0x63, 0x6f, + 0x6d, 0x6d, 0x69, 0x74, 0x74, 0x65, 0x65, 0x73, 0x41, 0x74, 0x53, 0x6c, 0x6f, 0x74, 0x12, 0x40, + 0x0a, 0x04, 0x73, 0x6c, 0x6f, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x42, 0x2c, 0x82, 0xb5, + 0x18, 0x28, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x72, 0x79, + 0x73, 0x6d, 0x61, 0x74, 0x69, 0x63, 0x6c, 0x61, 0x62, 0x73, 0x2f, 0x65, 0x74, 0x68, 0x32, 0x2d, + 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x53, 0x6c, 0x6f, 0x74, 0x52, 0x04, 0x73, 0x6c, 0x6f, 0x74, + 0x12, 0x23, 0x0a, 0x0d, 0x69, 0x73, 0x5f, 0x61, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x6f, + 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x69, 0x73, 0x41, 0x67, 0x67, 0x72, 0x65, + 0x67, 0x61, 0x74, 0x6f, 0x72, 0x32, 0xc6, 0x08, 0x0a, 0x0f, 0x42, 0x65, 0x61, 0x63, 0x6f, 0x6e, + 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x12, 0x97, 0x01, 0x0a, 0x11, 0x47, 0x65, + 0x74, 0x41, 0x74, 0x74, 0x65, 0x73, 0x74, 0x65, 0x72, 0x44, 0x75, 0x74, 0x69, 0x65, 0x73, 0x12, + 0x26, 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, + 0x31, 0x2e, 0x41, 0x74, 0x74, 0x65, 0x73, 0x74, 0x65, 0x72, 0x44, 0x75, 0x74, 0x69, 0x65, 0x73, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x27, 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, + 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x74, 0x74, 0x65, 0x73, 0x74, + 0x65, 0x72, 0x44, 0x75, 0x74, 0x69, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x22, 0x31, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2b, 0x12, 0x29, 0x2f, 0x65, 0x74, 0x68, 0x2f, 0x76, + 0x31, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x2f, 0x64, 0x75, 0x74, 0x69, + 0x65, 0x73, 0x2f, 0x61, 0x74, 0x74, 0x65, 0x73, 0x74, 0x65, 0x72, 0x2f, 0x7b, 0x65, 0x70, 0x6f, + 0x63, 0x68, 0x7d, 0x12, 0x97, 0x01, 0x0a, 0x11, 0x47, 0x65, 0x74, 0x50, 0x72, 0x6f, 0x70, 0x6f, + 0x73, 0x65, 0x72, 0x44, 0x75, 0x74, 0x69, 0x65, 0x73, 0x12, 0x26, 0x2e, 0x65, 0x74, 0x68, 0x65, + 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x70, + 0x6f, 0x73, 0x65, 0x72, 0x44, 0x75, 0x74, 0x69, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x1a, 0x27, 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, + 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x65, 0x72, 0x44, 0x75, 0x74, 0x69, + 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x31, 0x82, 0xd3, 0xe4, 0x93, + 0x02, 0x2b, 0x12, 0x29, 0x2f, 0x65, 0x74, 0x68, 0x2f, 0x76, 0x31, 0x2f, 0x76, 0x61, 0x6c, 0x69, + 0x64, 0x61, 0x74, 0x6f, 0x72, 0x2f, 0x64, 0x75, 0x74, 0x69, 0x65, 0x73, 0x2f, 0x70, 0x72, 0x6f, + 0x70, 0x6f, 0x73, 0x65, 0x72, 0x2f, 0x7b, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x7d, 0x12, 0x82, 0x01, + 0x0a, 0x08, 0x47, 0x65, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x25, 0x2e, 0x65, 0x74, 0x68, + 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x6f, + 0x70, 0x6f, 0x73, 0x65, 0x72, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x1a, 0x26, 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, + 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x65, 0x72, 0x42, 0x6c, 0x6f, 0x63, + 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x27, 0x82, 0xd3, 0xe4, 0x93, 0x02, + 0x21, 0x12, 0x1f, 0x2f, 0x65, 0x74, 0x68, 0x2f, 0x76, 0x31, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, + 0x61, 0x74, 0x6f, 0x72, 0x2f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x73, 0x2f, 0x7b, 0x73, 0x6c, 0x6f, + 0x74, 0x7d, 0x12, 0x93, 0x01, 0x0a, 0x12, 0x47, 0x65, 0x74, 0x41, 0x74, 0x74, 0x65, 0x73, 0x74, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x61, 0x74, 0x61, 0x12, 0x27, 0x2e, 0x65, 0x74, 0x68, 0x65, + 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x74, 0x74, 0x65, + 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x61, 0x74, 0x61, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x1a, 0x28, 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, + 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x74, 0x74, 0x65, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x44, 0x61, 0x74, 0x61, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x2a, 0x82, 0xd3, + 0xe4, 0x93, 0x02, 0x24, 0x12, 0x22, 0x2f, 0x65, 0x74, 0x68, 0x2f, 0x76, 0x31, 0x2f, 0x76, 0x61, + 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x2f, 0x61, 0x74, 0x74, 0x65, 0x73, 0x74, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x12, 0x9e, 0x01, 0x0a, 0x17, 0x47, 0x65, 0x74, + 0x41, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x65, 0x41, 0x74, 0x74, 0x65, 0x73, 0x74, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x2c, 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, + 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x65, + 0x41, 0x74, 0x74, 0x65, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x1a, 0x24, 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, + 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x74, 0x74, 0x65, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x2f, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x29, + 0x12, 0x27, 0x2f, 0x65, 0x74, 0x68, 0x2f, 0x76, 0x31, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, + 0x74, 0x6f, 0x72, 0x2f, 0x61, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x65, 0x5f, 0x61, 0x74, + 0x74, 0x65, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x93, 0x01, 0x0a, 0x18, 0x53, 0x75, + 0x62, 0x6d, 0x69, 0x74, 0x41, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x65, 0x41, 0x6e, 0x64, + 0x50, 0x72, 0x6f, 0x6f, 0x66, 0x73, 0x12, 0x29, 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, + 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, + 0x74, 0x65, 0x41, 0x6e, 0x64, 0x50, 0x72, 0x6f, 0x6f, 0x66, 0x73, 0x53, 0x75, 0x62, 0x6d, 0x69, + 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x34, 0x82, 0xd3, 0xe4, 0x93, 0x02, + 0x2e, 0x22, 0x26, 0x2f, 0x65, 0x74, 0x68, 0x2f, 0x76, 0x31, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, + 0x61, 0x74, 0x6f, 0x72, 0x2f, 0x61, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x65, 0x5f, 0x61, + 0x6e, 0x64, 0x5f, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x73, 0x3a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x12, + 0xac, 0x01, 0x0a, 0x21, 0x53, 0x75, 0x62, 0x6d, 0x69, 0x74, 0x42, 0x65, 0x61, 0x63, 0x6f, 0x6e, + 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x74, 0x65, 0x65, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, + 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x2f, 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, + 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x65, 0x61, 0x63, 0x6f, 0x6e, 0x43, 0x6f, + 0x6d, 0x6d, 0x69, 0x74, 0x74, 0x65, 0x65, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, + 0x53, 0x75, 0x62, 0x6d, 0x69, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x3e, + 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x38, 0x22, 0x30, 0x2f, 0x65, 0x74, 0x68, 0x2f, 0x76, 0x31, 0x2f, + 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x2f, 0x62, 0x65, 0x61, 0x63, 0x6f, 0x6e, + 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x74, 0x65, 0x65, 0x5f, 0x73, 0x75, 0x62, 0x73, 0x63, + 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x3a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x42, 0x80, + 0x01, 0x0a, 0x13, 0x6f, 0x72, 0x67, 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, + 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x42, 0x15, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, + 0x72, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, + 0x2c, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x72, 0x79, 0x73, + 0x6d, 0x61, 0x74, 0x69, 0x63, 0x6c, 0x61, 0x62, 0x73, 0x2f, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, + 0x75, 0x6d, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x65, 0x74, 0x68, 0x2f, 0x76, 0x31, 0xaa, 0x02, 0x0f, + 0x45, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x45, 0x74, 0x68, 0x2e, 0x76, 0x31, 0xca, + 0x02, 0x0f, 0x45, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x5c, 0x45, 0x74, 0x68, 0x5c, 0x76, + 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_eth_v1_validator_service_proto_rawDescOnce sync.Once + file_eth_v1_validator_service_proto_rawDescData = file_eth_v1_validator_service_proto_rawDesc +) + +func file_eth_v1_validator_service_proto_rawDescGZIP() []byte { + file_eth_v1_validator_service_proto_rawDescOnce.Do(func() { + file_eth_v1_validator_service_proto_rawDescData = protoimpl.X.CompressGZIP(file_eth_v1_validator_service_proto_rawDescData) + }) + return file_eth_v1_validator_service_proto_rawDescData +} + +var file_eth_v1_validator_service_proto_msgTypes = make([]protoimpl.MessageInfo, 15) +var file_eth_v1_validator_service_proto_goTypes = []interface{}{ + (*AttesterDutiesRequest)(nil), // 0: ethereum.eth.v1.AttesterDutiesRequest + (*AttesterDutiesResponse)(nil), // 1: ethereum.eth.v1.AttesterDutiesResponse + (*AttesterDuty)(nil), // 2: ethereum.eth.v1.AttesterDuty + (*ProposerDutiesRequest)(nil), // 3: ethereum.eth.v1.ProposerDutiesRequest + (*ProposerDutiesResponse)(nil), // 4: ethereum.eth.v1.ProposerDutiesResponse + (*ProposerDuty)(nil), // 5: ethereum.eth.v1.ProposerDuty + (*ProposerBlockRequest)(nil), // 6: ethereum.eth.v1.ProposerBlockRequest + (*ProposerBlockResponse)(nil), // 7: ethereum.eth.v1.ProposerBlockResponse + (*AttestationDataRequest)(nil), // 8: ethereum.eth.v1.AttestationDataRequest + (*AttestationDataResponse)(nil), // 9: ethereum.eth.v1.AttestationDataResponse + (*AggregateAttestationRequest)(nil), // 10: ethereum.eth.v1.AggregateAttestationRequest + (*AttestationResponse)(nil), // 11: ethereum.eth.v1.AttestationResponse + (*AggregateAndProofsSubmit)(nil), // 12: ethereum.eth.v1.AggregateAndProofsSubmit + (*BeaconCommitteeSubscribeSubmit)(nil), // 13: ethereum.eth.v1.BeaconCommitteeSubscribeSubmit + (*BeaconCommitteeSubscribe)(nil), // 14: ethereum.eth.v1.BeaconCommitteeSubscribe + (*BeaconBlock)(nil), // 15: ethereum.eth.v1.BeaconBlock + (*AttestationData)(nil), // 16: ethereum.eth.v1.AttestationData + (*Attestation)(nil), // 17: ethereum.eth.v1.Attestation + (*AggregateAttestationAndProof)(nil), // 18: ethereum.eth.v1.AggregateAttestationAndProof + (*empty.Empty)(nil), // 19: google.protobuf.Empty +} +var file_eth_v1_validator_service_proto_depIdxs = []int32{ + 2, // 0: ethereum.eth.v1.AttesterDutiesResponse.data:type_name -> ethereum.eth.v1.AttesterDuty + 5, // 1: ethereum.eth.v1.ProposerDutiesResponse.data:type_name -> ethereum.eth.v1.ProposerDuty + 15, // 2: ethereum.eth.v1.ProposerBlockResponse.data:type_name -> ethereum.eth.v1.BeaconBlock + 16, // 3: ethereum.eth.v1.AttestationDataResponse.data:type_name -> ethereum.eth.v1.AttestationData + 17, // 4: ethereum.eth.v1.AttestationResponse.data:type_name -> ethereum.eth.v1.Attestation + 18, // 5: ethereum.eth.v1.AggregateAndProofsSubmit.data:type_name -> ethereum.eth.v1.AggregateAttestationAndProof + 14, // 6: ethereum.eth.v1.BeaconCommitteeSubscribeSubmit.data:type_name -> ethereum.eth.v1.BeaconCommitteeSubscribe + 0, // 7: ethereum.eth.v1.BeaconValidator.GetAttesterDuties:input_type -> ethereum.eth.v1.AttesterDutiesRequest + 3, // 8: ethereum.eth.v1.BeaconValidator.GetProposerDuties:input_type -> ethereum.eth.v1.ProposerDutiesRequest + 6, // 9: ethereum.eth.v1.BeaconValidator.GetBlock:input_type -> ethereum.eth.v1.ProposerBlockRequest + 8, // 10: ethereum.eth.v1.BeaconValidator.GetAttestationData:input_type -> ethereum.eth.v1.AttestationDataRequest + 10, // 11: ethereum.eth.v1.BeaconValidator.GetAggregateAttestation:input_type -> ethereum.eth.v1.AggregateAttestationRequest + 12, // 12: ethereum.eth.v1.BeaconValidator.SubmitAggregateAndProofs:input_type -> ethereum.eth.v1.AggregateAndProofsSubmit + 13, // 13: ethereum.eth.v1.BeaconValidator.SubmitBeaconCommitteeSubscription:input_type -> ethereum.eth.v1.BeaconCommitteeSubscribeSubmit + 1, // 14: ethereum.eth.v1.BeaconValidator.GetAttesterDuties:output_type -> ethereum.eth.v1.AttesterDutiesResponse + 4, // 15: ethereum.eth.v1.BeaconValidator.GetProposerDuties:output_type -> ethereum.eth.v1.ProposerDutiesResponse + 7, // 16: ethereum.eth.v1.BeaconValidator.GetBlock:output_type -> ethereum.eth.v1.ProposerBlockResponse + 9, // 17: ethereum.eth.v1.BeaconValidator.GetAttestationData:output_type -> ethereum.eth.v1.AttestationDataResponse + 11, // 18: ethereum.eth.v1.BeaconValidator.GetAggregateAttestation:output_type -> ethereum.eth.v1.AttestationResponse + 19, // 19: ethereum.eth.v1.BeaconValidator.SubmitAggregateAndProofs:output_type -> google.protobuf.Empty + 19, // 20: ethereum.eth.v1.BeaconValidator.SubmitBeaconCommitteeSubscription:output_type -> google.protobuf.Empty + 14, // [14:21] is the sub-list for method output_type + 7, // [7:14] is the sub-list for method input_type + 7, // [7:7] is the sub-list for extension type_name + 7, // [7:7] is the sub-list for extension extendee + 0, // [0:7] is the sub-list for field type_name +} + +func init() { file_eth_v1_validator_service_proto_init() } +func file_eth_v1_validator_service_proto_init() { + if File_eth_v1_validator_service_proto != nil { + return + } + file_eth_v1_attestation_proto_init() + file_eth_v1_beacon_block_proto_init() + if !protoimpl.UnsafeEnabled { + file_eth_v1_validator_service_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AttesterDutiesRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_eth_v1_validator_service_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AttesterDutiesResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_eth_v1_validator_service_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AttesterDuty); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_eth_v1_validator_service_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ProposerDutiesRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_eth_v1_validator_service_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ProposerDutiesResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_eth_v1_validator_service_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ProposerDuty); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_eth_v1_validator_service_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ProposerBlockRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_eth_v1_validator_service_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ProposerBlockResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_eth_v1_validator_service_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AttestationDataRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_eth_v1_validator_service_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AttestationDataResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_eth_v1_validator_service_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AggregateAttestationRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_eth_v1_validator_service_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AttestationResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_eth_v1_validator_service_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AggregateAndProofsSubmit); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_eth_v1_validator_service_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*BeaconCommitteeSubscribeSubmit); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_eth_v1_validator_service_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*BeaconCommitteeSubscribe); 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_eth_v1_validator_service_proto_rawDesc, + NumEnums: 0, + NumMessages: 15, + NumExtensions: 0, + NumServices: 1, + }, + GoTypes: file_eth_v1_validator_service_proto_goTypes, + DependencyIndexes: file_eth_v1_validator_service_proto_depIdxs, + MessageInfos: file_eth_v1_validator_service_proto_msgTypes, + }.Build() + File_eth_v1_validator_service_proto = out.File + file_eth_v1_validator_service_proto_rawDesc = nil + file_eth_v1_validator_service_proto_goTypes = nil + file_eth_v1_validator_service_proto_depIdxs = nil } // Reference imports to suppress errors if they are not otherwise used. var _ context.Context -var _ grpc.ClientConn +var _ grpc.ClientConnInterface // This is a compile-time assertion to ensure that this generated file // is compatible with the grpc package it is being compiled against. -const _ = grpc.SupportPackageIsVersion4 +const _ = grpc.SupportPackageIsVersion6 // BeaconValidatorClient is the client API for BeaconValidator service. // @@ -976,15 +1402,15 @@ type BeaconValidatorClient interface { GetBlock(ctx context.Context, in *ProposerBlockRequest, opts ...grpc.CallOption) (*ProposerBlockResponse, error) GetAttestationData(ctx context.Context, in *AttestationDataRequest, opts ...grpc.CallOption) (*AttestationDataResponse, error) GetAggregateAttestation(ctx context.Context, in *AggregateAttestationRequest, opts ...grpc.CallOption) (*AttestationResponse, error) - SubmitAggregateAndProofs(ctx context.Context, in *AggregateAndProofsSubmit, opts ...grpc.CallOption) (*types.Empty, error) - SubmitBeaconCommitteeSubscription(ctx context.Context, in *BeaconCommitteeSubscribeSubmit, opts ...grpc.CallOption) (*types.Empty, error) + SubmitAggregateAndProofs(ctx context.Context, in *AggregateAndProofsSubmit, opts ...grpc.CallOption) (*empty.Empty, error) + SubmitBeaconCommitteeSubscription(ctx context.Context, in *BeaconCommitteeSubscribeSubmit, opts ...grpc.CallOption) (*empty.Empty, error) } type beaconValidatorClient struct { - cc *grpc.ClientConn + cc grpc.ClientConnInterface } -func NewBeaconValidatorClient(cc *grpc.ClientConn) BeaconValidatorClient { +func NewBeaconValidatorClient(cc grpc.ClientConnInterface) BeaconValidatorClient { return &beaconValidatorClient{cc} } @@ -1033,8 +1459,8 @@ func (c *beaconValidatorClient) GetAggregateAttestation(ctx context.Context, in return out, nil } -func (c *beaconValidatorClient) SubmitAggregateAndProofs(ctx context.Context, in *AggregateAndProofsSubmit, opts ...grpc.CallOption) (*types.Empty, error) { - out := new(types.Empty) +func (c *beaconValidatorClient) SubmitAggregateAndProofs(ctx context.Context, in *AggregateAndProofsSubmit, opts ...grpc.CallOption) (*empty.Empty, error) { + out := new(empty.Empty) err := c.cc.Invoke(ctx, "/ethereum.eth.v1.BeaconValidator/SubmitAggregateAndProofs", in, out, opts...) if err != nil { return nil, err @@ -1042,8 +1468,8 @@ func (c *beaconValidatorClient) SubmitAggregateAndProofs(ctx context.Context, in return out, nil } -func (c *beaconValidatorClient) SubmitBeaconCommitteeSubscription(ctx context.Context, in *BeaconCommitteeSubscribeSubmit, opts ...grpc.CallOption) (*types.Empty, error) { - out := new(types.Empty) +func (c *beaconValidatorClient) SubmitBeaconCommitteeSubscription(ctx context.Context, in *BeaconCommitteeSubscribeSubmit, opts ...grpc.CallOption) (*empty.Empty, error) { + out := new(empty.Empty) err := c.cc.Invoke(ctx, "/ethereum.eth.v1.BeaconValidator/SubmitBeaconCommitteeSubscription", in, out, opts...) if err != nil { return nil, err @@ -1058,33 +1484,33 @@ type BeaconValidatorServer interface { GetBlock(context.Context, *ProposerBlockRequest) (*ProposerBlockResponse, error) GetAttestationData(context.Context, *AttestationDataRequest) (*AttestationDataResponse, error) GetAggregateAttestation(context.Context, *AggregateAttestationRequest) (*AttestationResponse, error) - SubmitAggregateAndProofs(context.Context, *AggregateAndProofsSubmit) (*types.Empty, error) - SubmitBeaconCommitteeSubscription(context.Context, *BeaconCommitteeSubscribeSubmit) (*types.Empty, error) + SubmitAggregateAndProofs(context.Context, *AggregateAndProofsSubmit) (*empty.Empty, error) + SubmitBeaconCommitteeSubscription(context.Context, *BeaconCommitteeSubscribeSubmit) (*empty.Empty, error) } // UnimplementedBeaconValidatorServer can be embedded to have forward compatible implementations. type UnimplementedBeaconValidatorServer struct { } -func (*UnimplementedBeaconValidatorServer) GetAttesterDuties(ctx context.Context, req *AttesterDutiesRequest) (*AttesterDutiesResponse, error) { +func (*UnimplementedBeaconValidatorServer) GetAttesterDuties(context.Context, *AttesterDutiesRequest) (*AttesterDutiesResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method GetAttesterDuties not implemented") } -func (*UnimplementedBeaconValidatorServer) GetProposerDuties(ctx context.Context, req *ProposerDutiesRequest) (*ProposerDutiesResponse, error) { +func (*UnimplementedBeaconValidatorServer) GetProposerDuties(context.Context, *ProposerDutiesRequest) (*ProposerDutiesResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method GetProposerDuties not implemented") } -func (*UnimplementedBeaconValidatorServer) GetBlock(ctx context.Context, req *ProposerBlockRequest) (*ProposerBlockResponse, error) { +func (*UnimplementedBeaconValidatorServer) GetBlock(context.Context, *ProposerBlockRequest) (*ProposerBlockResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method GetBlock not implemented") } -func (*UnimplementedBeaconValidatorServer) GetAttestationData(ctx context.Context, req *AttestationDataRequest) (*AttestationDataResponse, error) { +func (*UnimplementedBeaconValidatorServer) GetAttestationData(context.Context, *AttestationDataRequest) (*AttestationDataResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method GetAttestationData not implemented") } -func (*UnimplementedBeaconValidatorServer) GetAggregateAttestation(ctx context.Context, req *AggregateAttestationRequest) (*AttestationResponse, error) { +func (*UnimplementedBeaconValidatorServer) GetAggregateAttestation(context.Context, *AggregateAttestationRequest) (*AttestationResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method GetAggregateAttestation not implemented") } -func (*UnimplementedBeaconValidatorServer) SubmitAggregateAndProofs(ctx context.Context, req *AggregateAndProofsSubmit) (*types.Empty, error) { +func (*UnimplementedBeaconValidatorServer) SubmitAggregateAndProofs(context.Context, *AggregateAndProofsSubmit) (*empty.Empty, error) { return nil, status.Errorf(codes.Unimplemented, "method SubmitAggregateAndProofs not implemented") } -func (*UnimplementedBeaconValidatorServer) SubmitBeaconCommitteeSubscription(ctx context.Context, req *BeaconCommitteeSubscribeSubmit) (*types.Empty, error) { +func (*UnimplementedBeaconValidatorServer) SubmitBeaconCommitteeSubscription(context.Context, *BeaconCommitteeSubscribeSubmit) (*empty.Empty, error) { return nil, status.Errorf(codes.Unimplemented, "method SubmitBeaconCommitteeSubscription not implemented") } @@ -1254,2690 +1680,3 @@ var _BeaconValidator_serviceDesc = grpc.ServiceDesc{ Streams: []grpc.StreamDesc{}, Metadata: "eth/v1/validator_service.proto", } - -func (m *AttesterDutiesRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *AttesterDutiesRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *AttesterDutiesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if len(m.Index) > 0 { - dAtA2 := make([]byte, len(m.Index)*10) - var j1 int - for _, num := range m.Index { - for num >= 1<<7 { - dAtA2[j1] = uint8(uint64(num)&0x7f | 0x80) - num >>= 7 - j1++ - } - dAtA2[j1] = uint8(num) - j1++ - } - i -= j1 - copy(dAtA[i:], dAtA2[:j1]) - i = encodeVarintValidatorService(dAtA, i, uint64(j1)) - i-- - dAtA[i] = 0x12 - } - if m.Epoch != 0 { - i = encodeVarintValidatorService(dAtA, i, uint64(m.Epoch)) - i-- - dAtA[i] = 0x8 - } - return len(dAtA) - i, nil -} - -func (m *AttesterDutiesResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *AttesterDutiesResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *AttesterDutiesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if len(m.Data) > 0 { - for iNdEx := len(m.Data) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Data[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintValidatorService(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - } - return len(dAtA) - i, nil -} - -func (m *AttesterDuty) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *AttesterDuty) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *AttesterDuty) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if m.Slot != 0 { - i = encodeVarintValidatorService(dAtA, i, uint64(m.Slot)) - i-- - dAtA[i] = 0x38 - } - if m.ValidatorCommitteeIndex != 0 { - i = encodeVarintValidatorService(dAtA, i, uint64(m.ValidatorCommitteeIndex)) - i-- - dAtA[i] = 0x30 - } - if m.CommitteesAtSlot != 0 { - i = encodeVarintValidatorService(dAtA, i, uint64(m.CommitteesAtSlot)) - i-- - dAtA[i] = 0x28 - } - if m.CommitteeLength != 0 { - i = encodeVarintValidatorService(dAtA, i, uint64(m.CommitteeLength)) - i-- - dAtA[i] = 0x20 - } - if m.CommitteeIndex != 0 { - i = encodeVarintValidatorService(dAtA, i, uint64(m.CommitteeIndex)) - i-- - dAtA[i] = 0x18 - } - if m.ValidatorIndex != 0 { - i = encodeVarintValidatorService(dAtA, i, uint64(m.ValidatorIndex)) - i-- - dAtA[i] = 0x10 - } - if len(m.Pubkey) > 0 { - i -= len(m.Pubkey) - copy(dAtA[i:], m.Pubkey) - i = encodeVarintValidatorService(dAtA, i, uint64(len(m.Pubkey))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *ProposerDutiesRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *ProposerDutiesRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *ProposerDutiesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if m.Epoch != 0 { - i = encodeVarintValidatorService(dAtA, i, uint64(m.Epoch)) - i-- - dAtA[i] = 0x8 - } - return len(dAtA) - i, nil -} - -func (m *ProposerDutiesResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *ProposerDutiesResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *ProposerDutiesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if len(m.Data) > 0 { - for iNdEx := len(m.Data) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Data[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintValidatorService(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - } - return len(dAtA) - i, nil -} - -func (m *ProposerDuty) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *ProposerDuty) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *ProposerDuty) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if m.Slot != 0 { - i = encodeVarintValidatorService(dAtA, i, uint64(m.Slot)) - i-- - dAtA[i] = 0x18 - } - if m.ValidatorIndex != 0 { - i = encodeVarintValidatorService(dAtA, i, uint64(m.ValidatorIndex)) - i-- - dAtA[i] = 0x10 - } - if len(m.Pubkey) > 0 { - i -= len(m.Pubkey) - copy(dAtA[i:], m.Pubkey) - i = encodeVarintValidatorService(dAtA, i, uint64(len(m.Pubkey))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *ProposerBlockRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *ProposerBlockRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *ProposerBlockRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if len(m.Graffiti) > 0 { - i -= len(m.Graffiti) - copy(dAtA[i:], m.Graffiti) - i = encodeVarintValidatorService(dAtA, i, uint64(len(m.Graffiti))) - i-- - dAtA[i] = 0x1a - } - if len(m.RandaoReveal) > 0 { - i -= len(m.RandaoReveal) - copy(dAtA[i:], m.RandaoReveal) - i = encodeVarintValidatorService(dAtA, i, uint64(len(m.RandaoReveal))) - i-- - dAtA[i] = 0x12 - } - if m.Slot != 0 { - i = encodeVarintValidatorService(dAtA, i, uint64(m.Slot)) - i-- - dAtA[i] = 0x8 - } - return len(dAtA) - i, nil -} - -func (m *ProposerBlockResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *ProposerBlockResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *ProposerBlockResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if m.Data != nil { - { - size, err := m.Data.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintValidatorService(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *AttestationDataRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *AttestationDataRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *AttestationDataRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if m.CommitteeIndex != 0 { - i = encodeVarintValidatorService(dAtA, i, uint64(m.CommitteeIndex)) - i-- - dAtA[i] = 0x10 - } - if m.Slot != 0 { - i = encodeVarintValidatorService(dAtA, i, uint64(m.Slot)) - i-- - dAtA[i] = 0x8 - } - return len(dAtA) - i, nil -} - -func (m *AttestationDataResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *AttestationDataResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *AttestationDataResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if m.Data != nil { - { - size, err := m.Data.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintValidatorService(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *AggregateAttestationRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *AggregateAttestationRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *AggregateAttestationRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if m.Slot != 0 { - i = encodeVarintValidatorService(dAtA, i, uint64(m.Slot)) - i-- - dAtA[i] = 0x10 - } - if len(m.AttestationDataRoot) > 0 { - i -= len(m.AttestationDataRoot) - copy(dAtA[i:], m.AttestationDataRoot) - i = encodeVarintValidatorService(dAtA, i, uint64(len(m.AttestationDataRoot))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *AttestationResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *AttestationResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *AttestationResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if m.Data != nil { - { - size, err := m.Data.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintValidatorService(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *AggregateAndProofsSubmit) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *AggregateAndProofsSubmit) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *AggregateAndProofsSubmit) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if len(m.Data) > 0 { - for iNdEx := len(m.Data) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Data[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintValidatorService(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - } - return len(dAtA) - i, nil -} - -func (m *BeaconCommitteeSubscribeSubmit) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *BeaconCommitteeSubscribeSubmit) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *BeaconCommitteeSubscribeSubmit) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if len(m.Data) > 0 { - for iNdEx := len(m.Data) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Data[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintValidatorService(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - } - return len(dAtA) - i, nil -} - -func (m *BeaconCommitteeSubscribe) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *BeaconCommitteeSubscribe) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *BeaconCommitteeSubscribe) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if m.IsAggregator { - i-- - if m.IsAggregator { - dAtA[i] = 1 - } else { - dAtA[i] = 0 - } - i-- - dAtA[i] = 0x20 - } - if m.Slot != 0 { - i = encodeVarintValidatorService(dAtA, i, uint64(m.Slot)) - i-- - dAtA[i] = 0x18 - } - if m.CommitteesAtSlot != 0 { - i = encodeVarintValidatorService(dAtA, i, uint64(m.CommitteesAtSlot)) - i-- - dAtA[i] = 0x10 - } - if m.CommitteeIndex != 0 { - i = encodeVarintValidatorService(dAtA, i, uint64(m.CommitteeIndex)) - i-- - dAtA[i] = 0x8 - } - return len(dAtA) - i, nil -} - -func encodeVarintValidatorService(dAtA []byte, offset int, v uint64) int { - offset -= sovValidatorService(v) - base := offset - for v >= 1<<7 { - dAtA[offset] = uint8(v&0x7f | 0x80) - v >>= 7 - offset++ - } - dAtA[offset] = uint8(v) - return base -} -func (m *AttesterDutiesRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Epoch != 0 { - n += 1 + sovValidatorService(uint64(m.Epoch)) - } - if len(m.Index) > 0 { - l = 0 - for _, e := range m.Index { - l += sovValidatorService(uint64(e)) - } - n += 1 + sovValidatorService(uint64(l)) + l - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *AttesterDutiesResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if len(m.Data) > 0 { - for _, e := range m.Data { - l = e.Size() - n += 1 + l + sovValidatorService(uint64(l)) - } - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *AttesterDuty) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Pubkey) - if l > 0 { - n += 1 + l + sovValidatorService(uint64(l)) - } - if m.ValidatorIndex != 0 { - n += 1 + sovValidatorService(uint64(m.ValidatorIndex)) - } - if m.CommitteeIndex != 0 { - n += 1 + sovValidatorService(uint64(m.CommitteeIndex)) - } - if m.CommitteeLength != 0 { - n += 1 + sovValidatorService(uint64(m.CommitteeLength)) - } - if m.CommitteesAtSlot != 0 { - n += 1 + sovValidatorService(uint64(m.CommitteesAtSlot)) - } - if m.ValidatorCommitteeIndex != 0 { - n += 1 + sovValidatorService(uint64(m.ValidatorCommitteeIndex)) - } - if m.Slot != 0 { - n += 1 + sovValidatorService(uint64(m.Slot)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *ProposerDutiesRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Epoch != 0 { - n += 1 + sovValidatorService(uint64(m.Epoch)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *ProposerDutiesResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if len(m.Data) > 0 { - for _, e := range m.Data { - l = e.Size() - n += 1 + l + sovValidatorService(uint64(l)) - } - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *ProposerDuty) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Pubkey) - if l > 0 { - n += 1 + l + sovValidatorService(uint64(l)) - } - if m.ValidatorIndex != 0 { - n += 1 + sovValidatorService(uint64(m.ValidatorIndex)) - } - if m.Slot != 0 { - n += 1 + sovValidatorService(uint64(m.Slot)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *ProposerBlockRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Slot != 0 { - n += 1 + sovValidatorService(uint64(m.Slot)) - } - l = len(m.RandaoReveal) - if l > 0 { - n += 1 + l + sovValidatorService(uint64(l)) - } - l = len(m.Graffiti) - if l > 0 { - n += 1 + l + sovValidatorService(uint64(l)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *ProposerBlockResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Data != nil { - l = m.Data.Size() - n += 1 + l + sovValidatorService(uint64(l)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *AttestationDataRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Slot != 0 { - n += 1 + sovValidatorService(uint64(m.Slot)) - } - if m.CommitteeIndex != 0 { - n += 1 + sovValidatorService(uint64(m.CommitteeIndex)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *AttestationDataResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Data != nil { - l = m.Data.Size() - n += 1 + l + sovValidatorService(uint64(l)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *AggregateAttestationRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.AttestationDataRoot) - if l > 0 { - n += 1 + l + sovValidatorService(uint64(l)) - } - if m.Slot != 0 { - n += 1 + sovValidatorService(uint64(m.Slot)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *AttestationResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Data != nil { - l = m.Data.Size() - n += 1 + l + sovValidatorService(uint64(l)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *AggregateAndProofsSubmit) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if len(m.Data) > 0 { - for _, e := range m.Data { - l = e.Size() - n += 1 + l + sovValidatorService(uint64(l)) - } - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *BeaconCommitteeSubscribeSubmit) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if len(m.Data) > 0 { - for _, e := range m.Data { - l = e.Size() - n += 1 + l + sovValidatorService(uint64(l)) - } - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *BeaconCommitteeSubscribe) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.CommitteeIndex != 0 { - n += 1 + sovValidatorService(uint64(m.CommitteeIndex)) - } - if m.CommitteesAtSlot != 0 { - n += 1 + sovValidatorService(uint64(m.CommitteesAtSlot)) - } - if m.Slot != 0 { - n += 1 + sovValidatorService(uint64(m.Slot)) - } - if m.IsAggregator { - n += 2 - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func sovValidatorService(x uint64) (n int) { - return (math_bits.Len64(x|1) + 6) / 7 -} -func sozValidatorService(x uint64) (n int) { - return sovValidatorService(uint64((x << 1) ^ uint64((int64(x) >> 63)))) -} -func (m *AttesterDutiesRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowValidatorService - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: AttesterDutiesRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: AttesterDutiesRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Epoch", wireType) - } - m.Epoch = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowValidatorService - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Epoch |= github_com_prysmaticlabs_eth2_types.Epoch(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 2: - if wireType == 0 { - var v github_com_prysmaticlabs_eth2_types.ValidatorIndex - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowValidatorService - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= github_com_prysmaticlabs_eth2_types.ValidatorIndex(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.Index = append(m.Index, v) - } else if wireType == 2 { - var packedLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowValidatorService - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - packedLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if packedLen < 0 { - return ErrInvalidLengthValidatorService - } - postIndex := iNdEx + packedLen - if postIndex < 0 { - return ErrInvalidLengthValidatorService - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - var elementCount int - var count int - for _, integer := range dAtA[iNdEx:postIndex] { - if integer < 128 { - count++ - } - } - elementCount = count - if elementCount != 0 && len(m.Index) == 0 { - m.Index = make([]github_com_prysmaticlabs_eth2_types.ValidatorIndex, 0, elementCount) - } - for iNdEx < postIndex { - var v github_com_prysmaticlabs_eth2_types.ValidatorIndex - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowValidatorService - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= github_com_prysmaticlabs_eth2_types.ValidatorIndex(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.Index = append(m.Index, v) - } - } else { - return fmt.Errorf("proto: wrong wireType = %d for field Index", wireType) - } - default: - iNdEx = preIndex - skippy, err := skipValidatorService(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthValidatorService - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthValidatorService - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *AttesterDutiesResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowValidatorService - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: AttesterDutiesResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: AttesterDutiesResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Data", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowValidatorService - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthValidatorService - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthValidatorService - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Data = append(m.Data, &AttesterDuty{}) - if err := m.Data[len(m.Data)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipValidatorService(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthValidatorService - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthValidatorService - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *AttesterDuty) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowValidatorService - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: AttesterDuty: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: AttesterDuty: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Pubkey", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowValidatorService - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return ErrInvalidLengthValidatorService - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthValidatorService - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Pubkey = append(m.Pubkey[:0], dAtA[iNdEx:postIndex]...) - if m.Pubkey == nil { - m.Pubkey = []byte{} - } - iNdEx = postIndex - case 2: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field ValidatorIndex", wireType) - } - m.ValidatorIndex = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowValidatorService - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.ValidatorIndex |= github_com_prysmaticlabs_eth2_types.ValidatorIndex(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 3: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field CommitteeIndex", wireType) - } - m.CommitteeIndex = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowValidatorService - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.CommitteeIndex |= github_com_prysmaticlabs_eth2_types.CommitteeIndex(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 4: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field CommitteeLength", wireType) - } - m.CommitteeLength = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowValidatorService - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.CommitteeLength |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 5: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field CommitteesAtSlot", wireType) - } - m.CommitteesAtSlot = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowValidatorService - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.CommitteesAtSlot |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 6: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field ValidatorCommitteeIndex", wireType) - } - m.ValidatorCommitteeIndex = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowValidatorService - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.ValidatorCommitteeIndex |= github_com_prysmaticlabs_eth2_types.CommitteeIndex(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 7: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Slot", wireType) - } - m.Slot = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowValidatorService - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Slot |= github_com_prysmaticlabs_eth2_types.Slot(b&0x7F) << shift - if b < 0x80 { - break - } - } - default: - iNdEx = preIndex - skippy, err := skipValidatorService(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthValidatorService - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthValidatorService - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *ProposerDutiesRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowValidatorService - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: ProposerDutiesRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: ProposerDutiesRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Epoch", wireType) - } - m.Epoch = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowValidatorService - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Epoch |= github_com_prysmaticlabs_eth2_types.Epoch(b&0x7F) << shift - if b < 0x80 { - break - } - } - default: - iNdEx = preIndex - skippy, err := skipValidatorService(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthValidatorService - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthValidatorService - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *ProposerDutiesResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowValidatorService - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: ProposerDutiesResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: ProposerDutiesResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Data", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowValidatorService - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthValidatorService - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthValidatorService - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Data = append(m.Data, &ProposerDuty{}) - if err := m.Data[len(m.Data)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipValidatorService(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthValidatorService - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthValidatorService - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *ProposerDuty) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowValidatorService - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: ProposerDuty: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: ProposerDuty: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Pubkey", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowValidatorService - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return ErrInvalidLengthValidatorService - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthValidatorService - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Pubkey = append(m.Pubkey[:0], dAtA[iNdEx:postIndex]...) - if m.Pubkey == nil { - m.Pubkey = []byte{} - } - iNdEx = postIndex - case 2: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field ValidatorIndex", wireType) - } - m.ValidatorIndex = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowValidatorService - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.ValidatorIndex |= github_com_prysmaticlabs_eth2_types.ValidatorIndex(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 3: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Slot", wireType) - } - m.Slot = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowValidatorService - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Slot |= github_com_prysmaticlabs_eth2_types.Slot(b&0x7F) << shift - if b < 0x80 { - break - } - } - default: - iNdEx = preIndex - skippy, err := skipValidatorService(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthValidatorService - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthValidatorService - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *ProposerBlockRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowValidatorService - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: ProposerBlockRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: ProposerBlockRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Slot", wireType) - } - m.Slot = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowValidatorService - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Slot |= github_com_prysmaticlabs_eth2_types.Slot(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field RandaoReveal", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowValidatorService - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return ErrInvalidLengthValidatorService - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthValidatorService - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.RandaoReveal = append(m.RandaoReveal[:0], dAtA[iNdEx:postIndex]...) - if m.RandaoReveal == nil { - m.RandaoReveal = []byte{} - } - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Graffiti", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowValidatorService - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return ErrInvalidLengthValidatorService - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthValidatorService - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Graffiti = append(m.Graffiti[:0], dAtA[iNdEx:postIndex]...) - if m.Graffiti == nil { - m.Graffiti = []byte{} - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipValidatorService(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthValidatorService - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthValidatorService - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *ProposerBlockResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowValidatorService - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: ProposerBlockResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: ProposerBlockResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Data", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowValidatorService - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthValidatorService - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthValidatorService - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Data == nil { - m.Data = &BeaconBlock{} - } - if err := m.Data.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipValidatorService(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthValidatorService - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthValidatorService - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *AttestationDataRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowValidatorService - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: AttestationDataRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: AttestationDataRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Slot", wireType) - } - m.Slot = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowValidatorService - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Slot |= github_com_prysmaticlabs_eth2_types.Slot(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 2: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field CommitteeIndex", wireType) - } - m.CommitteeIndex = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowValidatorService - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.CommitteeIndex |= github_com_prysmaticlabs_eth2_types.CommitteeIndex(b&0x7F) << shift - if b < 0x80 { - break - } - } - default: - iNdEx = preIndex - skippy, err := skipValidatorService(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthValidatorService - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthValidatorService - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *AttestationDataResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowValidatorService - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: AttestationDataResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: AttestationDataResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Data", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowValidatorService - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthValidatorService - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthValidatorService - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Data == nil { - m.Data = &AttestationData{} - } - if err := m.Data.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipValidatorService(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthValidatorService - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthValidatorService - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *AggregateAttestationRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowValidatorService - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: AggregateAttestationRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: AggregateAttestationRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AttestationDataRoot", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowValidatorService - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return ErrInvalidLengthValidatorService - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthValidatorService - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.AttestationDataRoot = append(m.AttestationDataRoot[:0], dAtA[iNdEx:postIndex]...) - if m.AttestationDataRoot == nil { - m.AttestationDataRoot = []byte{} - } - iNdEx = postIndex - case 2: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Slot", wireType) - } - m.Slot = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowValidatorService - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Slot |= github_com_prysmaticlabs_eth2_types.Slot(b&0x7F) << shift - if b < 0x80 { - break - } - } - default: - iNdEx = preIndex - skippy, err := skipValidatorService(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthValidatorService - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthValidatorService - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *AttestationResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowValidatorService - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: AttestationResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: AttestationResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Data", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowValidatorService - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthValidatorService - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthValidatorService - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Data == nil { - m.Data = &Attestation{} - } - if err := m.Data.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipValidatorService(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthValidatorService - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthValidatorService - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *AggregateAndProofsSubmit) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowValidatorService - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: AggregateAndProofsSubmit: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: AggregateAndProofsSubmit: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Data", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowValidatorService - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthValidatorService - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthValidatorService - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Data = append(m.Data, &AggregateAttestationAndProof{}) - if err := m.Data[len(m.Data)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipValidatorService(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthValidatorService - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthValidatorService - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *BeaconCommitteeSubscribeSubmit) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowValidatorService - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: BeaconCommitteeSubscribeSubmit: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: BeaconCommitteeSubscribeSubmit: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Data", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowValidatorService - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthValidatorService - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthValidatorService - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Data = append(m.Data, &BeaconCommitteeSubscribe{}) - if err := m.Data[len(m.Data)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipValidatorService(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthValidatorService - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthValidatorService - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *BeaconCommitteeSubscribe) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowValidatorService - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: BeaconCommitteeSubscribe: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: BeaconCommitteeSubscribe: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field CommitteeIndex", wireType) - } - m.CommitteeIndex = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowValidatorService - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.CommitteeIndex |= github_com_prysmaticlabs_eth2_types.CommitteeIndex(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 2: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field CommitteesAtSlot", wireType) - } - m.CommitteesAtSlot = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowValidatorService - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.CommitteesAtSlot |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 3: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Slot", wireType) - } - m.Slot = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowValidatorService - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Slot |= github_com_prysmaticlabs_eth2_types.Slot(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 4: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field IsAggregator", wireType) - } - var v int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowValidatorService - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.IsAggregator = bool(v != 0) - default: - iNdEx = preIndex - skippy, err := skipValidatorService(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthValidatorService - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthValidatorService - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func skipValidatorService(dAtA []byte) (n int, err error) { - l := len(dAtA) - iNdEx := 0 - depth := 0 - for iNdEx < l { - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return 0, ErrIntOverflowValidatorService - } - if iNdEx >= l { - return 0, io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= (uint64(b) & 0x7F) << shift - if b < 0x80 { - break - } - } - wireType := int(wire & 0x7) - switch wireType { - case 0: - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return 0, ErrIntOverflowValidatorService - } - if iNdEx >= l { - return 0, io.ErrUnexpectedEOF - } - iNdEx++ - if dAtA[iNdEx-1] < 0x80 { - break - } - } - case 1: - iNdEx += 8 - case 2: - var length int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return 0, ErrIntOverflowValidatorService - } - if iNdEx >= l { - return 0, io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - length |= (int(b) & 0x7F) << shift - if b < 0x80 { - break - } - } - if length < 0 { - return 0, ErrInvalidLengthValidatorService - } - iNdEx += length - case 3: - depth++ - case 4: - if depth == 0 { - return 0, ErrUnexpectedEndOfGroupValidatorService - } - depth-- - case 5: - iNdEx += 4 - default: - return 0, fmt.Errorf("proto: illegal wireType %d", wireType) - } - if iNdEx < 0 { - return 0, ErrInvalidLengthValidatorService - } - if depth == 0 { - return iNdEx, nil - } - } - return 0, io.ErrUnexpectedEOF -} - -var ( - ErrInvalidLengthValidatorService = fmt.Errorf("proto: negative length found during unmarshaling") - ErrIntOverflowValidatorService = fmt.Errorf("proto: integer overflow") - ErrUnexpectedEndOfGroupValidatorService = fmt.Errorf("proto: unexpected end of group") -) diff --git a/eth/v1/validator_service.pb.gw.go b/eth/v1/validator_service.pb.gw.go new file mode 100644 index 00000000..c4abdf12 --- /dev/null +++ b/eth/v1/validator_service.pb.gw.go @@ -0,0 +1,758 @@ +// Code generated by protoc-gen-grpc-gateway. DO NOT EDIT. +// source: eth/v1/validator_service.proto + +/* +Package v1 is a reverse proxy. + +It translates gRPC into RESTful JSON APIs. +*/ +package v1 + +import ( + "context" + "github.com/golang/protobuf/ptypes/empty" + emptypb "github.com/golang/protobuf/ptypes/empty" + "github.com/grpc-ecosystem/grpc-gateway/v2/runtime" + "github.com/grpc-ecosystem/grpc-gateway/v2/utilities" + github_com_prysmaticlabs_eth2_types "github.com/prysmaticlabs/eth2-types" + "google.golang.org/grpc" + "google.golang.org/grpc/codes" + "google.golang.org/grpc/grpclog" + "google.golang.org/grpc/metadata" + "google.golang.org/grpc/status" + "google.golang.org/protobuf/proto" + "io" + "net/http" +) + +// Suppress "imported and not used" errors +var _ codes.Code +var _ io.Reader +var _ status.Status +var _ = runtime.String +var _ = utilities.NewDoubleArray +var _ = metadata.Join +var _ = github_com_prysmaticlabs_eth2_types.Epoch(0) +var _ = emptypb.Empty{} +var _ = empty.Empty{} + +var ( + filter_BeaconValidator_GetAttesterDuties_0 = &utilities.DoubleArray{Encoding: map[string]int{"epoch": 0}, Base: []int{1, 1, 0}, Check: []int{0, 1, 2}} +) + +func request_BeaconValidator_GetAttesterDuties_0(ctx context.Context, marshaler runtime.Marshaler, client BeaconValidatorClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq AttesterDutiesRequest + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["epoch"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "epoch") + } + + epoch, err := runtime.Uint64(val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "epoch", err) + } + protoReq.Epoch = github_com_prysmaticlabs_eth2_types.Epoch(epoch) + + if err := req.ParseForm(); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_BeaconValidator_GetAttesterDuties_0); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := client.GetAttesterDuties(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_BeaconValidator_GetAttesterDuties_0(ctx context.Context, marshaler runtime.Marshaler, server BeaconValidatorServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq AttesterDutiesRequest + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["epoch"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "epoch") + } + + epoch, err := runtime.Uint64(val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "epoch", err) + } + protoReq.Epoch = github_com_prysmaticlabs_eth2_types.Epoch(epoch) + + if err := req.ParseForm(); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_BeaconValidator_GetAttesterDuties_0); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := server.GetAttesterDuties(ctx, &protoReq) + return msg, metadata, err + +} + +func request_BeaconValidator_GetProposerDuties_0(ctx context.Context, marshaler runtime.Marshaler, client BeaconValidatorClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq ProposerDutiesRequest + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["epoch"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "epoch") + } + + epoch, err := runtime.Uint64(val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "epoch", err) + } + protoReq.Epoch = github_com_prysmaticlabs_eth2_types.Epoch(epoch) + + msg, err := client.GetProposerDuties(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_BeaconValidator_GetProposerDuties_0(ctx context.Context, marshaler runtime.Marshaler, server BeaconValidatorServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq ProposerDutiesRequest + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["epoch"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "epoch") + } + + epoch, err := runtime.Uint64(val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "epoch", err) + } + protoReq.Epoch = github_com_prysmaticlabs_eth2_types.Epoch(epoch) + + msg, err := server.GetProposerDuties(ctx, &protoReq) + return msg, metadata, err + +} + +var ( + filter_BeaconValidator_GetBlock_0 = &utilities.DoubleArray{Encoding: map[string]int{"slot": 0}, Base: []int{1, 1, 0}, Check: []int{0, 1, 2}} +) + +func request_BeaconValidator_GetBlock_0(ctx context.Context, marshaler runtime.Marshaler, client BeaconValidatorClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq ProposerBlockRequest + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["slot"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "slot") + } + + slot, err := runtime.Uint64(val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "slot", err) + } + protoReq.Slot = github_com_prysmaticlabs_eth2_types.Slot(slot) + + if err := req.ParseForm(); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_BeaconValidator_GetBlock_0); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := client.GetBlock(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_BeaconValidator_GetBlock_0(ctx context.Context, marshaler runtime.Marshaler, server BeaconValidatorServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq ProposerBlockRequest + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["slot"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "slot") + } + + slot, err := runtime.Uint64(val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "slot", err) + } + protoReq.Slot = github_com_prysmaticlabs_eth2_types.Slot(slot) + + if err := req.ParseForm(); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_BeaconValidator_GetBlock_0); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := server.GetBlock(ctx, &protoReq) + return msg, metadata, err + +} + +var ( + filter_BeaconValidator_GetAttestationData_0 = &utilities.DoubleArray{Encoding: map[string]int{}, Base: []int(nil), Check: []int(nil)} +) + +func request_BeaconValidator_GetAttestationData_0(ctx context.Context, marshaler runtime.Marshaler, client BeaconValidatorClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq AttestationDataRequest + var metadata runtime.ServerMetadata + + if err := req.ParseForm(); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_BeaconValidator_GetAttestationData_0); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := client.GetAttestationData(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_BeaconValidator_GetAttestationData_0(ctx context.Context, marshaler runtime.Marshaler, server BeaconValidatorServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq AttestationDataRequest + var metadata runtime.ServerMetadata + + if err := req.ParseForm(); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_BeaconValidator_GetAttestationData_0); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := server.GetAttestationData(ctx, &protoReq) + return msg, metadata, err + +} + +var ( + filter_BeaconValidator_GetAggregateAttestation_0 = &utilities.DoubleArray{Encoding: map[string]int{}, Base: []int(nil), Check: []int(nil)} +) + +func request_BeaconValidator_GetAggregateAttestation_0(ctx context.Context, marshaler runtime.Marshaler, client BeaconValidatorClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq AggregateAttestationRequest + var metadata runtime.ServerMetadata + + if err := req.ParseForm(); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_BeaconValidator_GetAggregateAttestation_0); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := client.GetAggregateAttestation(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_BeaconValidator_GetAggregateAttestation_0(ctx context.Context, marshaler runtime.Marshaler, server BeaconValidatorServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq AggregateAttestationRequest + var metadata runtime.ServerMetadata + + if err := req.ParseForm(); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_BeaconValidator_GetAggregateAttestation_0); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := server.GetAggregateAttestation(ctx, &protoReq) + return msg, metadata, err + +} + +func request_BeaconValidator_SubmitAggregateAndProofs_0(ctx context.Context, marshaler runtime.Marshaler, client BeaconValidatorClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq AggregateAndProofsSubmit + var metadata runtime.ServerMetadata + + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq.Data); err != nil && err != io.EOF { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := client.SubmitAggregateAndProofs(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_BeaconValidator_SubmitAggregateAndProofs_0(ctx context.Context, marshaler runtime.Marshaler, server BeaconValidatorServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq AggregateAndProofsSubmit + var metadata runtime.ServerMetadata + + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq.Data); err != nil && err != io.EOF { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := server.SubmitAggregateAndProofs(ctx, &protoReq) + return msg, metadata, err + +} + +func request_BeaconValidator_SubmitBeaconCommitteeSubscription_0(ctx context.Context, marshaler runtime.Marshaler, client BeaconValidatorClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq BeaconCommitteeSubscribeSubmit + var metadata runtime.ServerMetadata + + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq.Data); err != nil && err != io.EOF { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := client.SubmitBeaconCommitteeSubscription(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_BeaconValidator_SubmitBeaconCommitteeSubscription_0(ctx context.Context, marshaler runtime.Marshaler, server BeaconValidatorServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq BeaconCommitteeSubscribeSubmit + var metadata runtime.ServerMetadata + + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq.Data); err != nil && err != io.EOF { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := server.SubmitBeaconCommitteeSubscription(ctx, &protoReq) + return msg, metadata, err + +} + +// RegisterBeaconValidatorHandlerServer registers the http handlers for service BeaconValidator to "mux". +// UnaryRPC :call BeaconValidatorServer directly. +// StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. +// Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterBeaconValidatorHandlerFromEndpoint instead. +func RegisterBeaconValidatorHandlerServer(ctx context.Context, mux *runtime.ServeMux, server BeaconValidatorServer) error { + + mux.Handle("GET", pattern_BeaconValidator_GetAttesterDuties_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/ethereum.eth.v1.BeaconValidator/GetAttesterDuties") + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_BeaconValidator_GetAttesterDuties_0(rctx, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_BeaconValidator_GetAttesterDuties_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_BeaconValidator_GetProposerDuties_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/ethereum.eth.v1.BeaconValidator/GetProposerDuties") + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_BeaconValidator_GetProposerDuties_0(rctx, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_BeaconValidator_GetProposerDuties_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_BeaconValidator_GetBlock_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/ethereum.eth.v1.BeaconValidator/GetBlock") + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_BeaconValidator_GetBlock_0(rctx, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_BeaconValidator_GetBlock_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_BeaconValidator_GetAttestationData_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/ethereum.eth.v1.BeaconValidator/GetAttestationData") + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_BeaconValidator_GetAttestationData_0(rctx, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_BeaconValidator_GetAttestationData_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_BeaconValidator_GetAggregateAttestation_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/ethereum.eth.v1.BeaconValidator/GetAggregateAttestation") + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_BeaconValidator_GetAggregateAttestation_0(rctx, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_BeaconValidator_GetAggregateAttestation_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("POST", pattern_BeaconValidator_SubmitAggregateAndProofs_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/ethereum.eth.v1.BeaconValidator/SubmitAggregateAndProofs") + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_BeaconValidator_SubmitAggregateAndProofs_0(rctx, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_BeaconValidator_SubmitAggregateAndProofs_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("POST", pattern_BeaconValidator_SubmitBeaconCommitteeSubscription_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/ethereum.eth.v1.BeaconValidator/SubmitBeaconCommitteeSubscription") + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_BeaconValidator_SubmitBeaconCommitteeSubscription_0(rctx, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_BeaconValidator_SubmitBeaconCommitteeSubscription_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + return nil +} + +// RegisterBeaconValidatorHandlerFromEndpoint is same as RegisterBeaconValidatorHandler but +// automatically dials to "endpoint" and closes the connection when "ctx" gets done. +func RegisterBeaconValidatorHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error) { + conn, err := grpc.Dial(endpoint, opts...) + if err != nil { + return err + } + defer func() { + if err != nil { + if cerr := conn.Close(); cerr != nil { + grpclog.Infof("Failed to close conn to %s: %v", endpoint, cerr) + } + return + } + go func() { + <-ctx.Done() + if cerr := conn.Close(); cerr != nil { + grpclog.Infof("Failed to close conn to %s: %v", endpoint, cerr) + } + }() + }() + + return RegisterBeaconValidatorHandler(ctx, mux, conn) +} + +// RegisterBeaconValidatorHandler registers the http handlers for service BeaconValidator to "mux". +// The handlers forward requests to the grpc endpoint over "conn". +func RegisterBeaconValidatorHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error { + return RegisterBeaconValidatorHandlerClient(ctx, mux, NewBeaconValidatorClient(conn)) +} + +// RegisterBeaconValidatorHandlerClient registers the http handlers for service BeaconValidator +// to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "BeaconValidatorClient". +// Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "BeaconValidatorClient" +// doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in +// "BeaconValidatorClient" to call the correct interceptors. +func RegisterBeaconValidatorHandlerClient(ctx context.Context, mux *runtime.ServeMux, client BeaconValidatorClient) error { + + mux.Handle("GET", pattern_BeaconValidator_GetAttesterDuties_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateContext(ctx, mux, req, "/ethereum.eth.v1.BeaconValidator/GetAttesterDuties") + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_BeaconValidator_GetAttesterDuties_0(rctx, inboundMarshaler, client, req, pathParams) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_BeaconValidator_GetAttesterDuties_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_BeaconValidator_GetProposerDuties_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateContext(ctx, mux, req, "/ethereum.eth.v1.BeaconValidator/GetProposerDuties") + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_BeaconValidator_GetProposerDuties_0(rctx, inboundMarshaler, client, req, pathParams) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_BeaconValidator_GetProposerDuties_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_BeaconValidator_GetBlock_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateContext(ctx, mux, req, "/ethereum.eth.v1.BeaconValidator/GetBlock") + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_BeaconValidator_GetBlock_0(rctx, inboundMarshaler, client, req, pathParams) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_BeaconValidator_GetBlock_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_BeaconValidator_GetAttestationData_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateContext(ctx, mux, req, "/ethereum.eth.v1.BeaconValidator/GetAttestationData") + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_BeaconValidator_GetAttestationData_0(rctx, inboundMarshaler, client, req, pathParams) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_BeaconValidator_GetAttestationData_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_BeaconValidator_GetAggregateAttestation_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateContext(ctx, mux, req, "/ethereum.eth.v1.BeaconValidator/GetAggregateAttestation") + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_BeaconValidator_GetAggregateAttestation_0(rctx, inboundMarshaler, client, req, pathParams) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_BeaconValidator_GetAggregateAttestation_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("POST", pattern_BeaconValidator_SubmitAggregateAndProofs_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateContext(ctx, mux, req, "/ethereum.eth.v1.BeaconValidator/SubmitAggregateAndProofs") + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_BeaconValidator_SubmitAggregateAndProofs_0(rctx, inboundMarshaler, client, req, pathParams) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_BeaconValidator_SubmitAggregateAndProofs_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("POST", pattern_BeaconValidator_SubmitBeaconCommitteeSubscription_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateContext(ctx, mux, req, "/ethereum.eth.v1.BeaconValidator/SubmitBeaconCommitteeSubscription") + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_BeaconValidator_SubmitBeaconCommitteeSubscription_0(rctx, inboundMarshaler, client, req, pathParams) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_BeaconValidator_SubmitBeaconCommitteeSubscription_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + return nil +} + +var ( + pattern_BeaconValidator_GetAttesterDuties_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 2, 4, 1, 0, 4, 1, 5, 5}, []string{"eth", "v1", "validator", "duties", "attester", "epoch"}, "")) + + pattern_BeaconValidator_GetProposerDuties_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 2, 4, 1, 0, 4, 1, 5, 5}, []string{"eth", "v1", "validator", "duties", "proposer", "epoch"}, "")) + + pattern_BeaconValidator_GetBlock_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 1, 0, 4, 1, 5, 4}, []string{"eth", "v1", "validator", "blocks", "slot"}, "")) + + pattern_BeaconValidator_GetAttestationData_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"eth", "v1", "validator", "attestation_data"}, "")) + + pattern_BeaconValidator_GetAggregateAttestation_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"eth", "v1", "validator", "aggregate_attestation"}, "")) + + pattern_BeaconValidator_SubmitAggregateAndProofs_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"eth", "v1", "validator", "aggregate_and_proofs"}, "")) + + pattern_BeaconValidator_SubmitBeaconCommitteeSubscription_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"eth", "v1", "validator", "beacon_committee_subscriptions"}, "")) +) + +var ( + forward_BeaconValidator_GetAttesterDuties_0 = runtime.ForwardResponseMessage + + forward_BeaconValidator_GetProposerDuties_0 = runtime.ForwardResponseMessage + + forward_BeaconValidator_GetBlock_0 = runtime.ForwardResponseMessage + + forward_BeaconValidator_GetAttestationData_0 = runtime.ForwardResponseMessage + + forward_BeaconValidator_GetAggregateAttestation_0 = runtime.ForwardResponseMessage + + forward_BeaconValidator_SubmitAggregateAndProofs_0 = runtime.ForwardResponseMessage + + forward_BeaconValidator_SubmitBeaconCommitteeSubscription_0 = runtime.ForwardResponseMessage +) diff --git a/eth/v1/validator_service.proto b/eth/v1/validator_service.proto index 1ce30e13..d9a5e18c 100644 --- a/eth/v1/validator_service.proto +++ b/eth/v1/validator_service.proto @@ -15,6 +15,14 @@ syntax = "proto3"; package ethereum.eth.v1; +import "google/api/annotations.proto"; +import "google/protobuf/descriptor.proto"; +import "google/protobuf/empty.proto"; + +import "eth/ext/options.proto"; +import "eth/v1/attestation.proto"; +import "eth/v1/beacon_block.proto"; + option csharp_namespace = "Ethereum.Eth.v1"; option go_package = "github.com/prysmaticlabs/ethereumapis/eth/v1"; option java_multiple_files = true; @@ -22,13 +30,6 @@ option java_outer_classname = "ValidatorServiceProto"; option java_package = "org.ethereum.eth.v1"; option php_namespace = "Ethereum\\Eth\\v1"; -import "github.com/gogo/protobuf/gogoproto/gogo.proto"; -import "google/api/annotations.proto"; -import "google/protobuf/empty.proto"; - -import "eth/v1/attestation.proto"; -import "eth/v1/beacon_block.proto"; - // Beacon chain validator API // // The beacon chain validator API is a set of endpoints to be used by validators for performing their roles. @@ -106,10 +107,10 @@ service BeaconValidator { message AttesterDutiesRequest { // Epoch to request, should only be allowed 1 epoch ahead. - uint64 epoch = 1 [(gogoproto.casttype) = "github.com/prysmaticlabs/eth2-types.Epoch"]; + uint64 epoch = 1 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/eth2-types.Epoch"]; // Validator index to request duties for. - repeated uint64 index = 2 [(gogoproto.casttype) = "github.com/prysmaticlabs/eth2-types.ValidatorIndex"]; + repeated uint64 index = 2 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/eth2-types.ValidatorIndex"]; } message AttesterDutiesResponse { @@ -118,13 +119,13 @@ message AttesterDutiesResponse { message AttesterDuty { // 48 byte BLS public key for the validator who's assigned to perform a duty. - bytes pubkey = 1 [(gogoproto.moretags) = "ssz-size:\"48\""]; + bytes pubkey = 1 [(ethereum.eth.ext.ssz_size) = "48"]; // The index of the validator in the beacon state. - uint64 validator_index = 2 [(gogoproto.casttype) = "github.com/prysmaticlabs/eth2-types.ValidatorIndex"]; + uint64 validator_index = 2 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/eth2-types.ValidatorIndex"]; // The index of the committee where the validator belongs to. - uint64 committee_index = 3 [(gogoproto.casttype) = "github.com/prysmaticlabs/eth2-types.CommitteeIndex"]; + uint64 committee_index = 3 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/eth2-types.CommitteeIndex"]; // The length of the committee the validator belongs to. uint64 committee_length = 4; @@ -133,15 +134,15 @@ message AttesterDuty { uint64 committees_at_slot = 5; // The index of the committee the validator belongs to. - uint64 validator_committee_index = 6 [(gogoproto.casttype) = "github.com/prysmaticlabs/eth2-types.CommitteeIndex"]; + uint64 validator_committee_index = 6 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/eth2-types.CommitteeIndex"]; // The slot this duty is for. - uint64 slot = 7 [(gogoproto.casttype) = "github.com/prysmaticlabs/eth2-types.Slot"]; + uint64 slot = 7 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/eth2-types.Slot"]; } message ProposerDutiesRequest { // Epoch to request duties for. - uint64 epoch = 1 [(gogoproto.casttype) = "github.com/prysmaticlabs/eth2-types.Epoch"]; + uint64 epoch = 1 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/eth2-types.Epoch"]; } message ProposerDutiesResponse { @@ -150,25 +151,25 @@ message ProposerDutiesResponse { message ProposerDuty { // 48 byte BLS public key for the validator who's assigned to perform a duty. - bytes pubkey = 1 [(gogoproto.moretags) = "ssz-size:\"48\""]; + bytes pubkey = 1 [(ethereum.eth.ext.ssz_size) = "48"]; // The index of the validator in the beacon state. - uint64 validator_index = 2 [(gogoproto.casttype) = "github.com/prysmaticlabs/eth2-types.ValidatorIndex"]; + uint64 validator_index = 2 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/eth2-types.ValidatorIndex"]; // The slot this duty is for. - uint64 slot = 3 [(gogoproto.casttype) = "github.com/prysmaticlabs/eth2-types.Slot"]; + uint64 slot = 3 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/eth2-types.Slot"]; } message ProposerBlockRequest { // The slot to request a block for. - uint64 slot = 1 [(gogoproto.casttype) = "github.com/prysmaticlabs/eth2-types.Slot"]; + uint64 slot = 1 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/eth2-types.Slot"]; // The validators RANDAO reveal 96 byte value. - bytes randao_reveal = 2 [(gogoproto.moretags) = "ssz-size:\"96\""]; + bytes randao_reveal = 2 [(ethereum.eth.ext.ssz_size) = "96"]; // 32 byte field of arbitrary data. This field may contain any data and // is not used for anything other than a fun message. - bytes graffiti = 3 [(gogoproto.moretags) = "ssz-size:\"32\""]; + bytes graffiti = 3 [(ethereum.eth.ext.ssz_size) = "32"]; } message ProposerBlockResponse { @@ -177,10 +178,10 @@ message ProposerBlockResponse { message AttestationDataRequest { // Slot for which the attestation data should be retrieved for. - uint64 slot = 1 [(gogoproto.casttype) = "github.com/prysmaticlabs/eth2-types.Slot"]; + uint64 slot = 1 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/eth2-types.Slot"]; // Committee index for which the attestation data should be retrieved for. - uint64 committee_index = 2 [(gogoproto.casttype) = "github.com/prysmaticlabs/eth2-types.CommitteeIndex"]; + uint64 committee_index = 2 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/eth2-types.CommitteeIndex"]; } message AttestationDataResponse { @@ -189,10 +190,10 @@ message AttestationDataResponse { message AggregateAttestationRequest { // The root of the attestation data requesting the aggregate for. - bytes attestation_data_root = 1 [(gogoproto.moretags) = "ssz-size:\"32\""]; + bytes attestation_data_root = 1 [(ethereum.eth.ext.ssz_size) = "32"]; // The slot for the requested aggregate attestation. - uint64 slot = 2 [(gogoproto.casttype) = "github.com/prysmaticlabs/eth2-types.Slot"]; + uint64 slot = 2 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/eth2-types.Slot"]; } message AttestationResponse { @@ -209,13 +210,13 @@ message BeaconCommitteeSubscribeSubmit { message BeaconCommitteeSubscribe { // The committee index to be subscribed to. - uint64 committee_index = 1 [(gogoproto.casttype) = "github.com/prysmaticlabs/eth2-types.CommitteeIndex"]; + uint64 committee_index = 1 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/eth2-types.CommitteeIndex"]; // The total amount of committees for the given slot. uint64 committees_at_slot = 2; // The slot to be subscribed to. - uint64 slot = 3 [(gogoproto.casttype) = "github.com/prysmaticlabs/eth2-types.Slot"]; + uint64 slot = 3 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/eth2-types.Slot"]; // If subscribing for aggregator, the beacon node will aggregate all attestations received. bool is_aggregator = 4; diff --git a/eth/v1alpha1/BUILD.bazel b/eth/v1alpha1/BUILD.bazel index b51826e4..2ef0fd52 100644 --- a/eth/v1alpha1/BUILD.bazel +++ b/eth/v1alpha1/BUILD.bazel @@ -16,7 +16,7 @@ load("//tools:ssz.bzl", "SSZ_DEPS", "ssz_gen_marshal") ############################################################################## # OpenAPI (Swagger) V2 ############################################################################## -load("@com_github_grpc_ecosystem_grpc_gateway//protoc-gen-swagger:defs.bzl", "protoc_gen_swagger") +load("@com_github_grpc_ecosystem_grpc_gateway_v2//protoc-gen-openapiv2:defs.bzl", "protoc_gen_openapiv2") proto_library( name = "proto", @@ -31,12 +31,13 @@ proto_library( ], visibility = ["//visibility:public"], deps = [ - "@com_google_protobuf//:empty_proto", + "//eth/ext:proto", + "@com_github_grpc_ecosystem_grpc_gateway_v2//protoc-gen-openapiv2/options:options_proto", "@com_google_protobuf//:any_proto", + "@com_google_protobuf//:descriptor_proto", + "@com_google_protobuf//:empty_proto", "@com_google_protobuf//:timestamp_proto", "@go_googleapis//google/api:annotations_proto", - "@gogo_special_proto//github.com/gogo/protobuf/gogoproto", - "@com_github_grpc_ecosystem_grpc_gateway//protoc-gen-swagger/options:options_proto", ], ) @@ -83,47 +84,80 @@ ssz_gen_marshal( go_proto_library( name = "go_proto", - compilers = ["@io_bazel_rules_go//proto:gogofast_grpc"], + compilers = [ + "@com_github_prysmaticlabs_protoc_gen_go_cast//:go_cast_grpc", + ], importpath = "github.com/prysmaticlabs/ethereumapis/eth/v1alpha1", proto = ":proto", visibility = ["//visibility:public"], deps = [ - "@go_googleapis//google/api:annotations_go_proto", - "@com_github_grpc_ecosystem_grpc_gateway//protoc-gen-swagger/options:options_go_proto", + "//eth/ext:go_default_library", + "@io_bazel_rules_go//proto/wkt:descriptor_go_proto", + "@com_github_golang_protobuf//proto:go_default_library", + "@io_bazel_rules_go//proto/wkt:empty_go_proto", + "@io_bazel_rules_go//proto/wkt:timestamp_go_proto", + "@org_golang_google_protobuf//types/known/timestamppb:go_default_library", + "@com_github_grpc_ecosystem_grpc_gateway_v2//protoc-gen-openapiv2/options:options_go_proto", "@com_github_prysmaticlabs_go_bitfield//:go_default_library", "@com_github_prysmaticlabs_eth2_types//:go_default_library", + "@go_googleapis//google/api:annotations_go_proto", + "@org_golang_google_protobuf//reflect/protoreflect:go_default_library", + "@org_golang_google_protobuf//runtime/protoimpl:go_default_library", ], ) go_proto_library( name = "go_grpc_gateway_library", compilers = [ - "@io_bazel_rules_go//proto:go_grpc", - "@com_github_grpc_ecosystem_grpc_gateway//protoc-gen-grpc-gateway:go_gen_grpc_gateway", + "@com_github_grpc_ecosystem_grpc_gateway_v2//protoc-gen-grpc-gateway:go_gen_grpc_gateway", ], - importpath = "github.com/prysmaticlabs/ethereumapis/eth/v1alpha1_gateway", - proto = ":proto", - visibility = ["//visibility:public"], + embed = [":go_proto"], + importpath = "github.com/prysmaticlabs/ethereumapis/eth/v1alpha1", + protos = [":proto"], + visibility = ["//visibility:private"], deps = [ - "@go_googleapis//google/api:annotations_go_proto", - "@com_github_grpc_ecosystem_grpc_gateway//protoc-gen-swagger/options:options_go_proto", - "@com_github_gogo_protobuf//gogoproto:go_default_library", + "//eth/ext:go_default_library", "@io_bazel_rules_go//proto/wkt:empty_go_proto", - "@io_bazel_rules_go//proto/wkt:descriptor_go_proto", + "@com_github_grpc_ecosystem_grpc_gateway_v2//protoc-gen-openapiv2/options:options_go_proto", "@com_github_prysmaticlabs_go_bitfield//:go_default_library", + "@go_googleapis//google/api:annotations_go_proto", + "@io_bazel_rules_go//proto/wkt:timestamp_go_proto", + "@io_bazel_rules_go//proto/wkt:descriptor_go_proto", ], ) go_library( name = "go_default_library", - srcs = [":ssz_generated_files"], - embed = [":go_proto"], + srcs = [ + ":ssz_generated_files", # keep + ], + embed = [ + ":go_grpc_gateway_library", + ], importpath = "github.com/prysmaticlabs/ethereumapis/eth/v1alpha1", visibility = ["//visibility:public"], - deps = SSZ_DEPS, + deps = SSZ_DEPS + [ + "//eth/ext:go_default_library", + "@com_github_grpc_ecosystem_grpc_gateway_v2//runtime:go_default_library", + "@com_github_grpc_ecosystem_grpc_gateway_v2//utilities:go_default_library", + "@io_bazel_rules_go//proto/wkt:empty_go_proto", + "@org_golang_google_grpc//:go_default_library", + "@org_golang_google_grpc//codes:go_default_library", + "@org_golang_google_grpc//grpclog:go_default_library", + "@org_golang_google_grpc//metadata:go_default_library", + "@org_golang_google_grpc//status:go_default_library", + "@io_bazel_rules_go//proto/wkt:descriptor_go_proto", + "@com_github_golang_protobuf//proto:go_default_library", + "@io_bazel_rules_go//proto/wkt:timestamp_go_proto", + "@com_github_prysmaticlabs_go_bitfield//:go_default_library", # keep + "@go_googleapis//google/api:annotations_go_proto", + "@org_golang_google_protobuf//reflect/protoreflect:go_default_library", + "@org_golang_google_protobuf//runtime/protoimpl:go_default_library", + "@com_github_grpc_ecosystem_grpc_gateway_v2//protoc-gen-openapiv2/options:options_go_proto", + ], # keep ) -protoc_gen_swagger( +protoc_gen_openapiv2( name = "swagger", json_names_for_fields = True, proto = ":proto", diff --git a/eth/v1alpha1/README.md b/eth/v1alpha1/README.md new file mode 100644 index 00000000..af9cfcca --- /dev/null +++ b/eth/v1alpha1/README.md @@ -0,0 +1,4 @@ +# gRPC Gateway + +This package is contains generated files for applications that wish to use eth/v1alpha as a +[gRPC gateway](https://github.com/grpc-ecosystem/grpc-gateway). \ No newline at end of file diff --git a/eth/v1alpha1/attestation.pb.go b/eth/v1alpha1/attestation.pb.go old mode 100755 new mode 100644 index 37ccd659..c63012b3 --- a/eth/v1alpha1/attestation.pb.go +++ b/eth/v1alpha1/attestation.pb.go @@ -1,1601 +1,553 @@ -// Code generated by protoc-gen-gogo. DO NOT EDIT. +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.25.0 +// protoc v3.15.6 // source: eth/v1alpha1/attestation.proto package eth import ( - fmt "fmt" - io "io" - math "math" - math_bits "math/bits" + reflect "reflect" + sync "sync" - _ "github.com/gogo/protobuf/gogoproto" - proto "github.com/gogo/protobuf/proto" + proto "github.com/golang/protobuf/proto" github_com_prysmaticlabs_eth2_types "github.com/prysmaticlabs/eth2-types" + _ "github.com/prysmaticlabs/ethereumapis/eth/ext" github_com_prysmaticlabs_go_bitfield "github.com/prysmaticlabs/go-bitfield" + 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.GoGoProtoPackageIsVersion3 // 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 Attestation struct { - AggregationBits github_com_prysmaticlabs_go_bitfield.Bitlist `protobuf:"bytes,1,opt,name=aggregation_bits,json=aggregationBits,proto3,casttype=github.com/prysmaticlabs/go-bitfield.Bitlist" json:"aggregation_bits,omitempty" ssz-max:"2048"` - Data *AttestationData `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` - Signature []byte `protobuf:"bytes,3,opt,name=signature,proto3" json:"signature,omitempty" ssz-size:"96"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Attestation) Reset() { *m = Attestation{} } -func (m *Attestation) String() string { return proto.CompactTextString(m) } -func (*Attestation) ProtoMessage() {} -func (*Attestation) Descriptor() ([]byte, []int) { - return fileDescriptor_7894c78397fc93a1, []int{0} -} -func (m *Attestation) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *Attestation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_Attestation.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil - } -} -func (m *Attestation) XXX_Merge(src proto.Message) { - xxx_messageInfo_Attestation.Merge(m, src) -} -func (m *Attestation) XXX_Size() int { - return m.Size() -} -func (m *Attestation) XXX_DiscardUnknown() { - xxx_messageInfo_Attestation.DiscardUnknown(m) -} - -var xxx_messageInfo_Attestation proto.InternalMessageInfo + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *Attestation) GetAggregationBits() github_com_prysmaticlabs_go_bitfield.Bitlist { - if m != nil { - return m.AggregationBits - } - return nil + AggregationBits github_com_prysmaticlabs_go_bitfield.Bitlist `protobuf:"bytes,1,opt,name=aggregation_bits,json=aggregationBits,proto3" json:"aggregation_bits,omitempty" cast-type:"github.com/prysmaticlabs/go-bitfield.Bitlist" ssz-max:"2048"` + Data *AttestationData `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` + Signature []byte `protobuf:"bytes,3,opt,name=signature,proto3" json:"signature,omitempty" ssz-size:"96"` } -func (m *Attestation) GetData() *AttestationData { - if m != nil { - return m.Data +func (x *Attestation) Reset() { + *x = Attestation{} + if protoimpl.UnsafeEnabled { + mi := &file_eth_v1alpha1_attestation_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } - return nil } -func (m *Attestation) GetSignature() []byte { - if m != nil { - return m.Signature - } - return nil +func (x *Attestation) String() string { + return protoimpl.X.MessageStringOf(x) } -type AggregateAttestationAndProof struct { - AggregatorIndex github_com_prysmaticlabs_eth2_types.ValidatorIndex `protobuf:"varint,1,opt,name=aggregator_index,json=aggregatorIndex,proto3,casttype=github.com/prysmaticlabs/eth2-types.ValidatorIndex" json:"aggregator_index,omitempty"` - Aggregate *Attestation `protobuf:"bytes,3,opt,name=aggregate,proto3" json:"aggregate,omitempty"` - SelectionProof []byte `protobuf:"bytes,2,opt,name=selection_proof,json=selectionProof,proto3" json:"selection_proof,omitempty" ssz-size:"96"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} +func (*Attestation) ProtoMessage() {} -func (m *AggregateAttestationAndProof) Reset() { *m = AggregateAttestationAndProof{} } -func (m *AggregateAttestationAndProof) String() string { return proto.CompactTextString(m) } -func (*AggregateAttestationAndProof) ProtoMessage() {} -func (*AggregateAttestationAndProof) Descriptor() ([]byte, []int) { - return fileDescriptor_7894c78397fc93a1, []int{1} -} -func (m *AggregateAttestationAndProof) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *AggregateAttestationAndProof) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_AggregateAttestationAndProof.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err +func (x *Attestation) ProtoReflect() protoreflect.Message { + mi := &file_eth_v1alpha1_attestation_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - return b[:n], nil + return ms } -} -func (m *AggregateAttestationAndProof) XXX_Merge(src proto.Message) { - xxx_messageInfo_AggregateAttestationAndProof.Merge(m, src) -} -func (m *AggregateAttestationAndProof) XXX_Size() int { - return m.Size() -} -func (m *AggregateAttestationAndProof) XXX_DiscardUnknown() { - xxx_messageInfo_AggregateAttestationAndProof.DiscardUnknown(m) + return mi.MessageOf(x) } -var xxx_messageInfo_AggregateAttestationAndProof proto.InternalMessageInfo +// Deprecated: Use Attestation.ProtoReflect.Descriptor instead. +func (*Attestation) Descriptor() ([]byte, []int) { + return file_eth_v1alpha1_attestation_proto_rawDescGZIP(), []int{0} +} -func (m *AggregateAttestationAndProof) GetAggregatorIndex() github_com_prysmaticlabs_eth2_types.ValidatorIndex { - if m != nil { - return m.AggregatorIndex +func (x *Attestation) GetAggregationBits() github_com_prysmaticlabs_go_bitfield.Bitlist { + if x != nil { + return x.AggregationBits } - return 0 + return github_com_prysmaticlabs_go_bitfield.Bitlist(nil) } -func (m *AggregateAttestationAndProof) GetAggregate() *Attestation { - if m != nil { - return m.Aggregate +func (x *Attestation) GetData() *AttestationData { + if x != nil { + return x.Data } return nil } -func (m *AggregateAttestationAndProof) GetSelectionProof() []byte { - if m != nil { - return m.SelectionProof +func (x *Attestation) GetSignature() []byte { + if x != nil { + return x.Signature } return nil } -type SignedAggregateAttestationAndProof struct { - Message *AggregateAttestationAndProof `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"` - Signature []byte `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty" ssz-size:"96"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} +type AggregateAttestationAndProof struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *SignedAggregateAttestationAndProof) Reset() { *m = SignedAggregateAttestationAndProof{} } -func (m *SignedAggregateAttestationAndProof) String() string { return proto.CompactTextString(m) } -func (*SignedAggregateAttestationAndProof) ProtoMessage() {} -func (*SignedAggregateAttestationAndProof) Descriptor() ([]byte, []int) { - return fileDescriptor_7894c78397fc93a1, []int{2} -} -func (m *SignedAggregateAttestationAndProof) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *SignedAggregateAttestationAndProof) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_SignedAggregateAttestationAndProof.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil - } -} -func (m *SignedAggregateAttestationAndProof) XXX_Merge(src proto.Message) { - xxx_messageInfo_SignedAggregateAttestationAndProof.Merge(m, src) -} -func (m *SignedAggregateAttestationAndProof) XXX_Size() int { - return m.Size() -} -func (m *SignedAggregateAttestationAndProof) XXX_DiscardUnknown() { - xxx_messageInfo_SignedAggregateAttestationAndProof.DiscardUnknown(m) + AggregatorIndex github_com_prysmaticlabs_eth2_types.ValidatorIndex `protobuf:"varint,1,opt,name=aggregator_index,json=aggregatorIndex,proto3" json:"aggregator_index,omitempty" cast-type:"github.com/prysmaticlabs/eth2-types.ValidatorIndex"` + Aggregate *Attestation `protobuf:"bytes,3,opt,name=aggregate,proto3" json:"aggregate,omitempty"` + SelectionProof []byte `protobuf:"bytes,2,opt,name=selection_proof,json=selectionProof,proto3" json:"selection_proof,omitempty" ssz-size:"96"` } -var xxx_messageInfo_SignedAggregateAttestationAndProof proto.InternalMessageInfo - -func (m *SignedAggregateAttestationAndProof) GetMessage() *AggregateAttestationAndProof { - if m != nil { - return m.Message +func (x *AggregateAttestationAndProof) Reset() { + *x = AggregateAttestationAndProof{} + if protoimpl.UnsafeEnabled { + mi := &file_eth_v1alpha1_attestation_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } - return nil } -func (m *SignedAggregateAttestationAndProof) GetSignature() []byte { - if m != nil { - return m.Signature - } - return nil +func (x *AggregateAttestationAndProof) String() string { + return protoimpl.X.MessageStringOf(x) } -type AttestationData struct { - Slot github_com_prysmaticlabs_eth2_types.Slot `protobuf:"varint,1,opt,name=slot,proto3,casttype=github.com/prysmaticlabs/eth2-types.Slot" json:"slot,omitempty"` - CommitteeIndex github_com_prysmaticlabs_eth2_types.CommitteeIndex `protobuf:"varint,2,opt,name=committee_index,json=committeeIndex,proto3,casttype=github.com/prysmaticlabs/eth2-types.CommitteeIndex" json:"committee_index,omitempty"` - BeaconBlockRoot []byte `protobuf:"bytes,3,opt,name=beacon_block_root,json=beaconBlockRoot,proto3" json:"beacon_block_root,omitempty" ssz-size:"32"` - Source *Checkpoint `protobuf:"bytes,4,opt,name=source,proto3" json:"source,omitempty"` - Target *Checkpoint `protobuf:"bytes,5,opt,name=target,proto3" json:"target,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} +func (*AggregateAttestationAndProof) ProtoMessage() {} -func (m *AttestationData) Reset() { *m = AttestationData{} } -func (m *AttestationData) String() string { return proto.CompactTextString(m) } -func (*AttestationData) ProtoMessage() {} -func (*AttestationData) Descriptor() ([]byte, []int) { - return fileDescriptor_7894c78397fc93a1, []int{3} -} -func (m *AttestationData) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *AttestationData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_AttestationData.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err +func (x *AggregateAttestationAndProof) ProtoReflect() protoreflect.Message { + mi := &file_eth_v1alpha1_attestation_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - return b[:n], nil + return ms } + return mi.MessageOf(x) } -func (m *AttestationData) XXX_Merge(src proto.Message) { - xxx_messageInfo_AttestationData.Merge(m, src) -} -func (m *AttestationData) XXX_Size() int { - return m.Size() -} -func (m *AttestationData) XXX_DiscardUnknown() { - xxx_messageInfo_AttestationData.DiscardUnknown(m) -} - -var xxx_messageInfo_AttestationData proto.InternalMessageInfo -func (m *AttestationData) GetSlot() github_com_prysmaticlabs_eth2_types.Slot { - if m != nil { - return m.Slot - } - return 0 -} - -func (m *AttestationData) GetCommitteeIndex() github_com_prysmaticlabs_eth2_types.CommitteeIndex { - if m != nil { - return m.CommitteeIndex - } - return 0 +// Deprecated: Use AggregateAttestationAndProof.ProtoReflect.Descriptor instead. +func (*AggregateAttestationAndProof) Descriptor() ([]byte, []int) { + return file_eth_v1alpha1_attestation_proto_rawDescGZIP(), []int{1} } -func (m *AttestationData) GetBeaconBlockRoot() []byte { - if m != nil { - return m.BeaconBlockRoot +func (x *AggregateAttestationAndProof) GetAggregatorIndex() github_com_prysmaticlabs_eth2_types.ValidatorIndex { + if x != nil { + return x.AggregatorIndex } - return nil + return github_com_prysmaticlabs_eth2_types.ValidatorIndex(0) } -func (m *AttestationData) GetSource() *Checkpoint { - if m != nil { - return m.Source +func (x *AggregateAttestationAndProof) GetAggregate() *Attestation { + if x != nil { + return x.Aggregate } return nil } -func (m *AttestationData) GetTarget() *Checkpoint { - if m != nil { - return m.Target +func (x *AggregateAttestationAndProof) GetSelectionProof() []byte { + if x != nil { + return x.SelectionProof } return nil } -type Checkpoint struct { - Epoch github_com_prysmaticlabs_eth2_types.Epoch `protobuf:"varint,1,opt,name=epoch,proto3,casttype=github.com/prysmaticlabs/eth2-types.Epoch" json:"epoch,omitempty"` - Root []byte `protobuf:"bytes,2,opt,name=root,proto3" json:"root,omitempty" ssz-size:"32"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Checkpoint) Reset() { *m = Checkpoint{} } -func (m *Checkpoint) String() string { return proto.CompactTextString(m) } -func (*Checkpoint) ProtoMessage() {} -func (*Checkpoint) Descriptor() ([]byte, []int) { - return fileDescriptor_7894c78397fc93a1, []int{4} -} -func (m *Checkpoint) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *Checkpoint) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_Checkpoint.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil - } -} -func (m *Checkpoint) XXX_Merge(src proto.Message) { - xxx_messageInfo_Checkpoint.Merge(m, src) -} -func (m *Checkpoint) XXX_Size() int { - return m.Size() -} -func (m *Checkpoint) XXX_DiscardUnknown() { - xxx_messageInfo_Checkpoint.DiscardUnknown(m) -} - -var xxx_messageInfo_Checkpoint proto.InternalMessageInfo +type SignedAggregateAttestationAndProof struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *Checkpoint) GetEpoch() github_com_prysmaticlabs_eth2_types.Epoch { - if m != nil { - return m.Epoch - } - return 0 + Message *AggregateAttestationAndProof `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"` + Signature []byte `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty" ssz-size:"96"` } -func (m *Checkpoint) GetRoot() []byte { - if m != nil { - return m.Root +func (x *SignedAggregateAttestationAndProof) Reset() { + *x = SignedAggregateAttestationAndProof{} + if protoimpl.UnsafeEnabled { + mi := &file_eth_v1alpha1_attestation_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } - return nil } -func init() { - proto.RegisterType((*Attestation)(nil), "ethereum.eth.v1alpha1.Attestation") - proto.RegisterType((*AggregateAttestationAndProof)(nil), "ethereum.eth.v1alpha1.AggregateAttestationAndProof") - proto.RegisterType((*SignedAggregateAttestationAndProof)(nil), "ethereum.eth.v1alpha1.SignedAggregateAttestationAndProof") - proto.RegisterType((*AttestationData)(nil), "ethereum.eth.v1alpha1.AttestationData") - proto.RegisterType((*Checkpoint)(nil), "ethereum.eth.v1alpha1.Checkpoint") +func (x *SignedAggregateAttestationAndProof) String() string { + return protoimpl.X.MessageStringOf(x) } -func init() { proto.RegisterFile("eth/v1alpha1/attestation.proto", fileDescriptor_7894c78397fc93a1) } - -var fileDescriptor_7894c78397fc93a1 = []byte{ - // 631 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x54, 0x41, 0x6b, 0x13, 0x41, - 0x14, 0x66, 0x63, 0x5a, 0xe9, 0x44, 0x9b, 0x76, 0xa0, 0x10, 0x45, 0x92, 0xba, 0xa0, 0x54, 0x68, - 0x36, 0x76, 0x2b, 0xc5, 0x46, 0x84, 0x76, 0x6b, 0x0e, 0x1e, 0x84, 0xb2, 0x05, 0x0f, 0x52, 0x08, - 0xb3, 0x9b, 0xd7, 0xd9, 0xa1, 0xbb, 0x99, 0x65, 0xe7, 0x45, 0xda, 0xfe, 0x1d, 0x3d, 0xf9, 0x4b, - 0xc4, 0x93, 0xbf, 0x20, 0x48, 0x6f, 0xbd, 0xf6, 0x98, 0x8b, 0xb2, 0x93, 0x6c, 0x77, 0x2b, 0x49, - 0x8d, 0xb7, 0xbc, 0x97, 0xf7, 0x7d, 0xf3, 0x7d, 0xef, 0x9b, 0x1d, 0x52, 0x07, 0x0c, 0x5a, 0x9f, - 0xb7, 0x58, 0x18, 0x07, 0x6c, 0xab, 0xc5, 0x10, 0x41, 0x21, 0x43, 0x21, 0xfb, 0x56, 0x9c, 0x48, - 0x94, 0x74, 0x0d, 0x30, 0x80, 0x04, 0x06, 0x91, 0x05, 0x18, 0x58, 0xd9, 0xe0, 0xe3, 0x26, 0x17, - 0x18, 0x0c, 0x3c, 0xcb, 0x97, 0x51, 0x8b, 0x4b, 0x2e, 0x5b, 0x7a, 0xda, 0x1b, 0x9c, 0xe8, 0x4a, - 0x17, 0xfa, 0xd7, 0x98, 0xc5, 0xbc, 0x32, 0x48, 0x65, 0x3f, 0xe7, 0xa6, 0x11, 0x59, 0x61, 0x9c, - 0x27, 0xc0, 0x75, 0xd9, 0xf5, 0x04, 0xaa, 0x9a, 0xb1, 0x6e, 0x6c, 0x3c, 0x70, 0x9c, 0xeb, 0x61, - 0x63, 0x59, 0xa9, 0x8b, 0x66, 0xc4, 0xce, 0xda, 0xa6, 0xfd, 0xf2, 0xd5, 0x6b, 0x73, 0x34, 0x6c, - 0x6c, 0x16, 0x8e, 0x8b, 0x93, 0x73, 0x15, 0x31, 0x14, 0x7e, 0xc8, 0x3c, 0xd5, 0xe2, 0xb2, 0xe9, - 0x09, 0x3c, 0x11, 0x10, 0xf6, 0x2c, 0x47, 0x60, 0x28, 0x14, 0xba, 0xd5, 0x02, 0xb7, 0x23, 0x50, - 0xd1, 0x36, 0x29, 0xf7, 0x18, 0xb2, 0x5a, 0x69, 0xdd, 0xd8, 0xa8, 0xd8, 0xcf, 0xad, 0xa9, 0x9e, - 0xac, 0x82, 0xc0, 0x77, 0x0c, 0x99, 0xab, 0x31, 0xb4, 0x45, 0x96, 0x94, 0xe0, 0x7d, 0x86, 0x83, - 0x04, 0x6a, 0xf7, 0xb4, 0xc6, 0xd5, 0xeb, 0x61, 0xe3, 0x61, 0xaa, 0x51, 0x89, 0x0b, 0x68, 0x9b, - 0xbb, 0x3b, 0xa6, 0x9b, 0xcf, 0x98, 0xbf, 0x0d, 0xf2, 0x64, 0x7f, 0x22, 0x00, 0x0a, 0x9c, 0xfb, - 0xfd, 0xde, 0x61, 0x22, 0xe5, 0x09, 0x65, 0xb9, 0x79, 0x99, 0x74, 0x45, 0xbf, 0x07, 0x67, 0xda, - 0x7c, 0xd9, 0xd9, 0x19, 0x0d, 0x1b, 0xf6, 0x4c, 0xab, 0x80, 0x81, 0xdd, 0xc4, 0xf3, 0x18, 0x94, - 0xf5, 0x91, 0x85, 0xa2, 0x97, 0xc2, 0xdf, 0xa7, 0xe8, 0xdc, 0xf0, 0xa4, 0x41, 0xf7, 0xc8, 0x52, - 0xd6, 0x1a, 0x8b, 0xae, 0xd8, 0xe6, 0xbf, 0x5d, 0xbb, 0x39, 0x88, 0xb6, 0x49, 0x55, 0x41, 0x08, - 0xbe, 0xce, 0x27, 0x4e, 0x75, 0xeb, 0xed, 0x4d, 0x35, 0xbf, 0x7c, 0x33, 0xa9, 0x0d, 0x9a, 0x5f, - 0x0d, 0x62, 0x1e, 0x09, 0xde, 0x87, 0xde, 0x9d, 0x7b, 0xf8, 0x40, 0xee, 0x47, 0xa0, 0x14, 0xe3, - 0xa0, 0xed, 0x57, 0xec, 0xed, 0x59, 0x12, 0xef, 0x60, 0x71, 0x33, 0x8e, 0xdb, 0x41, 0x95, 0xe6, - 0x08, 0xea, 0xaa, 0x44, 0xaa, 0x7f, 0x65, 0x4e, 0xf7, 0x48, 0x59, 0x85, 0x12, 0x27, 0x79, 0x6c, - 0x8e, 0x86, 0x8d, 0x8d, 0x79, 0xf2, 0x38, 0x0a, 0x25, 0xba, 0x1a, 0x49, 0xbb, 0xa4, 0xea, 0xcb, - 0x28, 0x12, 0x88, 0x00, 0x93, 0x70, 0x4b, 0xff, 0x17, 0xee, 0x41, 0x06, 0x1f, 0x87, 0xbb, 0xec, - 0xdf, 0xaa, 0xe9, 0x5b, 0xb2, 0xea, 0x01, 0xf3, 0xd3, 0xcf, 0x26, 0x94, 0xfe, 0x69, 0x37, 0x91, - 0x12, 0xa7, 0x5f, 0xcc, 0x6d, 0xdb, 0x74, 0xab, 0xe3, 0x59, 0x27, 0x1d, 0x75, 0xa5, 0x44, 0xba, - 0x4b, 0x16, 0x95, 0x1c, 0x24, 0x3e, 0xd4, 0xca, 0x7a, 0xe9, 0x4f, 0x67, 0x2c, 0xfd, 0x20, 0x00, - 0xff, 0x34, 0x96, 0xa2, 0x8f, 0xee, 0x04, 0x90, 0x42, 0x91, 0x25, 0x1c, 0xb0, 0xb6, 0x30, 0x37, - 0x74, 0x0c, 0x30, 0xcf, 0x08, 0xc9, 0xbb, 0xf4, 0x80, 0x2c, 0x40, 0x2c, 0xfd, 0x60, 0xb2, 0xe6, - 0xe6, 0x68, 0xd8, 0x78, 0x31, 0xcf, 0x66, 0x3a, 0x29, 0xc8, 0x1d, 0x63, 0xe9, 0x33, 0x52, 0xd6, - 0xd6, 0x4b, 0xb3, 0xac, 0xeb, 0xbf, 0x9d, 0x2f, 0xc6, 0xf7, 0xcb, 0xba, 0xf1, 0xf3, 0xb2, 0x6e, - 0xfc, 0xba, 0xac, 0x1b, 0xe4, 0x91, 0x4c, 0xf8, 0x74, 0xd9, 0xce, 0x4a, 0xe1, 0x32, 0x1c, 0xa6, - 0xcf, 0xd6, 0xa1, 0xf1, 0x69, 0xe7, 0x2e, 0x59, 0x9a, 0x83, 0xc5, 0x42, 0x17, 0x37, 0x8f, 0xe8, - 0x1b, 0xc0, 0xe0, 0x5b, 0x69, 0xad, 0x93, 0x9d, 0xd1, 0x29, 0x9c, 0xf1, 0x23, 0xef, 0x1f, 0x77, - 0x30, 0x38, 0xce, 0xfa, 0xde, 0xa2, 0x7e, 0x27, 0xb7, 0xff, 0x04, 0x00, 0x00, 0xff, 0xff, 0x4d, - 0x86, 0x40, 0x10, 0x8f, 0x05, 0x00, 0x00, -} +func (*SignedAggregateAttestationAndProof) ProtoMessage() {} -func (m *Attestation) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err +func (x *SignedAggregateAttestationAndProof) ProtoReflect() protoreflect.Message { + mi := &file_eth_v1alpha1_attestation_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 dAtA[:n], nil + return mi.MessageOf(x) } -func (m *Attestation) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) +// Deprecated: Use SignedAggregateAttestationAndProof.ProtoReflect.Descriptor instead. +func (*SignedAggregateAttestationAndProof) Descriptor() ([]byte, []int) { + return file_eth_v1alpha1_attestation_proto_rawDescGZIP(), []int{2} } -func (m *Attestation) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if len(m.Signature) > 0 { - i -= len(m.Signature) - copy(dAtA[i:], m.Signature) - i = encodeVarintAttestation(dAtA, i, uint64(len(m.Signature))) - i-- - dAtA[i] = 0x1a - } - if m.Data != nil { - { - size, err := m.Data.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAttestation(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 +func (x *SignedAggregateAttestationAndProof) GetMessage() *AggregateAttestationAndProof { + if x != nil { + return x.Message } - if len(m.AggregationBits) > 0 { - i -= len(m.AggregationBits) - copy(dAtA[i:], m.AggregationBits) - i = encodeVarintAttestation(dAtA, i, uint64(len(m.AggregationBits))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil + return nil } -func (m *AggregateAttestationAndProof) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err +func (x *SignedAggregateAttestationAndProof) GetSignature() []byte { + if x != nil { + return x.Signature } - return dAtA[:n], nil + return nil } -func (m *AggregateAttestationAndProof) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} +type AttestationData struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *AggregateAttestationAndProof) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if m.Aggregate != nil { - { - size, err := m.Aggregate.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAttestation(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x1a - } - if len(m.SelectionProof) > 0 { - i -= len(m.SelectionProof) - copy(dAtA[i:], m.SelectionProof) - i = encodeVarintAttestation(dAtA, i, uint64(len(m.SelectionProof))) - i-- - dAtA[i] = 0x12 - } - if m.AggregatorIndex != 0 { - i = encodeVarintAttestation(dAtA, i, uint64(m.AggregatorIndex)) - i-- - dAtA[i] = 0x8 - } - return len(dAtA) - i, nil + Slot github_com_prysmaticlabs_eth2_types.Slot `protobuf:"varint,1,opt,name=slot,proto3" json:"slot,omitempty" cast-type:"github.com/prysmaticlabs/eth2-types.Slot"` + CommitteeIndex github_com_prysmaticlabs_eth2_types.CommitteeIndex `protobuf:"varint,2,opt,name=committee_index,json=committeeIndex,proto3" json:"committee_index,omitempty" cast-type:"github.com/prysmaticlabs/eth2-types.CommitteeIndex"` + BeaconBlockRoot []byte `protobuf:"bytes,3,opt,name=beacon_block_root,json=beaconBlockRoot,proto3" json:"beacon_block_root,omitempty" ssz-size:"32"` + Source *Checkpoint `protobuf:"bytes,4,opt,name=source,proto3" json:"source,omitempty"` + Target *Checkpoint `protobuf:"bytes,5,opt,name=target,proto3" json:"target,omitempty"` } -func (m *SignedAggregateAttestationAndProof) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err +func (x *AttestationData) Reset() { + *x = AttestationData{} + if protoimpl.UnsafeEnabled { + mi := &file_eth_v1alpha1_attestation_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } - return dAtA[:n], nil } -func (m *SignedAggregateAttestationAndProof) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) +func (x *AttestationData) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *SignedAggregateAttestationAndProof) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if len(m.Signature) > 0 { - i -= len(m.Signature) - copy(dAtA[i:], m.Signature) - i = encodeVarintAttestation(dAtA, i, uint64(len(m.Signature))) - i-- - dAtA[i] = 0x12 - } - if m.Message != nil { - { - size, err := m.Message.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAttestation(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} +func (*AttestationData) ProtoMessage() {} -func (m *AttestationData) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err +func (x *AttestationData) ProtoReflect() protoreflect.Message { + mi := &file_eth_v1alpha1_attestation_proto_msgTypes[3] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms } - return dAtA[:n], nil + return mi.MessageOf(x) } -func (m *AttestationData) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) +// Deprecated: Use AttestationData.ProtoReflect.Descriptor instead. +func (*AttestationData) Descriptor() ([]byte, []int) { + return file_eth_v1alpha1_attestation_proto_rawDescGZIP(), []int{3} } -func (m *AttestationData) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if m.Target != nil { - { - size, err := m.Target.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAttestation(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x2a - } - if m.Source != nil { - { - size, err := m.Source.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAttestation(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x22 +func (x *AttestationData) GetSlot() github_com_prysmaticlabs_eth2_types.Slot { + if x != nil { + return x.Slot } - if len(m.BeaconBlockRoot) > 0 { - i -= len(m.BeaconBlockRoot) - copy(dAtA[i:], m.BeaconBlockRoot) - i = encodeVarintAttestation(dAtA, i, uint64(len(m.BeaconBlockRoot))) - i-- - dAtA[i] = 0x1a - } - if m.CommitteeIndex != 0 { - i = encodeVarintAttestation(dAtA, i, uint64(m.CommitteeIndex)) - i-- - dAtA[i] = 0x10 - } - if m.Slot != 0 { - i = encodeVarintAttestation(dAtA, i, uint64(m.Slot)) - i-- - dAtA[i] = 0x8 - } - return len(dAtA) - i, nil + return github_com_prysmaticlabs_eth2_types.Slot(0) } -func (m *Checkpoint) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err +func (x *AttestationData) GetCommitteeIndex() github_com_prysmaticlabs_eth2_types.CommitteeIndex { + if x != nil { + return x.CommitteeIndex } - return dAtA[:n], nil -} - -func (m *Checkpoint) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) + return github_com_prysmaticlabs_eth2_types.CommitteeIndex(0) } -func (m *Checkpoint) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) +func (x *AttestationData) GetBeaconBlockRoot() []byte { + if x != nil { + return x.BeaconBlockRoot } - if len(m.Root) > 0 { - i -= len(m.Root) - copy(dAtA[i:], m.Root) - i = encodeVarintAttestation(dAtA, i, uint64(len(m.Root))) - i-- - dAtA[i] = 0x12 - } - if m.Epoch != 0 { - i = encodeVarintAttestation(dAtA, i, uint64(m.Epoch)) - i-- - dAtA[i] = 0x8 - } - return len(dAtA) - i, nil + return nil } -func encodeVarintAttestation(dAtA []byte, offset int, v uint64) int { - offset -= sovAttestation(v) - base := offset - for v >= 1<<7 { - dAtA[offset] = uint8(v&0x7f | 0x80) - v >>= 7 - offset++ +func (x *AttestationData) GetSource() *Checkpoint { + if x != nil { + return x.Source } - dAtA[offset] = uint8(v) - return base -} -func (m *Attestation) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.AggregationBits) - if l > 0 { - n += 1 + l + sovAttestation(uint64(l)) - } - if m.Data != nil { - l = m.Data.Size() - n += 1 + l + sovAttestation(uint64(l)) - } - l = len(m.Signature) - if l > 0 { - n += 1 + l + sovAttestation(uint64(l)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n + return nil } -func (m *AggregateAttestationAndProof) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.AggregatorIndex != 0 { - n += 1 + sovAttestation(uint64(m.AggregatorIndex)) - } - l = len(m.SelectionProof) - if l > 0 { - n += 1 + l + sovAttestation(uint64(l)) - } - if m.Aggregate != nil { - l = m.Aggregate.Size() - n += 1 + l + sovAttestation(uint64(l)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) +func (x *AttestationData) GetTarget() *Checkpoint { + if x != nil { + return x.Target } - return n + return nil } -func (m *SignedAggregateAttestationAndProof) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Message != nil { - l = m.Message.Size() - n += 1 + l + sovAttestation(uint64(l)) - } - l = len(m.Signature) - if l > 0 { - n += 1 + l + sovAttestation(uint64(l)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} +type Checkpoint struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *AttestationData) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Slot != 0 { - n += 1 + sovAttestation(uint64(m.Slot)) - } - if m.CommitteeIndex != 0 { - n += 1 + sovAttestation(uint64(m.CommitteeIndex)) - } - l = len(m.BeaconBlockRoot) - if l > 0 { - n += 1 + l + sovAttestation(uint64(l)) - } - if m.Source != nil { - l = m.Source.Size() - n += 1 + l + sovAttestation(uint64(l)) - } - if m.Target != nil { - l = m.Target.Size() - n += 1 + l + sovAttestation(uint64(l)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n + Epoch github_com_prysmaticlabs_eth2_types.Epoch `protobuf:"varint,1,opt,name=epoch,proto3" json:"epoch,omitempty" cast-type:"github.com/prysmaticlabs/eth2-types.Epoch"` + Root []byte `protobuf:"bytes,2,opt,name=root,proto3" json:"root,omitempty" ssz-size:"32"` } -func (m *Checkpoint) Size() (n int) { - if m == nil { - return 0 +func (x *Checkpoint) Reset() { + *x = Checkpoint{} + if protoimpl.UnsafeEnabled { + mi := &file_eth_v1alpha1_attestation_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } - var l int - _ = l - if m.Epoch != 0 { - n += 1 + sovAttestation(uint64(m.Epoch)) - } - l = len(m.Root) - if l > 0 { - n += 1 + l + sovAttestation(uint64(l)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n } -func sovAttestation(x uint64) (n int) { - return (math_bits.Len64(x|1) + 6) / 7 +func (x *Checkpoint) String() string { + return protoimpl.X.MessageStringOf(x) } -func sozAttestation(x uint64) (n int) { - return sovAttestation(uint64((x << 1) ^ uint64((int64(x) >> 63)))) -} -func (m *Attestation) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAttestation - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: Attestation: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: Attestation: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AggregationBits", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAttestation - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return ErrInvalidLengthAttestation - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthAttestation - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.AggregationBits = append(m.AggregationBits[:0], dAtA[iNdEx:postIndex]...) - if m.AggregationBits == nil { - m.AggregationBits = []byte{} - } - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Data", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAttestation - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAttestation - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAttestation - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Data == nil { - m.Data = &AttestationData{} - } - if err := m.Data.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Signature", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAttestation - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return ErrInvalidLengthAttestation - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthAttestation - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Signature = append(m.Signature[:0], dAtA[iNdEx:postIndex]...) - if m.Signature == nil { - m.Signature = []byte{} - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipAttestation(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthAttestation - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthAttestation - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *AggregateAttestationAndProof) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAttestation - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: AggregateAttestationAndProof: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: AggregateAttestationAndProof: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field AggregatorIndex", wireType) - } - m.AggregatorIndex = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAttestation - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.AggregatorIndex |= github_com_prysmaticlabs_eth2_types.ValidatorIndex(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field SelectionProof", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAttestation - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return ErrInvalidLengthAttestation - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthAttestation - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.SelectionProof = append(m.SelectionProof[:0], dAtA[iNdEx:postIndex]...) - if m.SelectionProof == nil { - m.SelectionProof = []byte{} - } - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Aggregate", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAttestation - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAttestation - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAttestation - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Aggregate == nil { - m.Aggregate = &Attestation{} - } - if err := m.Aggregate.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipAttestation(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthAttestation - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthAttestation - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } +func (*Checkpoint) ProtoMessage() {} - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *SignedAggregateAttestationAndProof) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAttestation - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: SignedAggregateAttestationAndProof: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: SignedAggregateAttestationAndProof: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Message", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAttestation - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAttestation - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAttestation - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Message == nil { - m.Message = &AggregateAttestationAndProof{} - } - if err := m.Message.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Signature", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAttestation - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return ErrInvalidLengthAttestation - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthAttestation - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Signature = append(m.Signature[:0], dAtA[iNdEx:postIndex]...) - if m.Signature == nil { - m.Signature = []byte{} - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipAttestation(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthAttestation - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthAttestation - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy +func (x *Checkpoint) ProtoReflect() protoreflect.Message { + mi := &file_eth_v1alpha1_attestation_proto_msgTypes[4] + 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) +} - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil +// Deprecated: Use Checkpoint.ProtoReflect.Descriptor instead. +func (*Checkpoint) Descriptor() ([]byte, []int) { + return file_eth_v1alpha1_attestation_proto_rawDescGZIP(), []int{4} } -func (m *AttestationData) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAttestation - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: AttestationData: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: AttestationData: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Slot", wireType) - } - m.Slot = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAttestation - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Slot |= github_com_prysmaticlabs_eth2_types.Slot(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 2: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field CommitteeIndex", wireType) - } - m.CommitteeIndex = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAttestation - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.CommitteeIndex |= github_com_prysmaticlabs_eth2_types.CommitteeIndex(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field BeaconBlockRoot", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAttestation - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return ErrInvalidLengthAttestation - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthAttestation - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.BeaconBlockRoot = append(m.BeaconBlockRoot[:0], dAtA[iNdEx:postIndex]...) - if m.BeaconBlockRoot == nil { - m.BeaconBlockRoot = []byte{} - } - iNdEx = postIndex - case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Source", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAttestation - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAttestation - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAttestation - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Source == nil { - m.Source = &Checkpoint{} - } - if err := m.Source.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 5: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Target", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAttestation - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthAttestation - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAttestation - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Target == nil { - m.Target = &Checkpoint{} - } - if err := m.Target.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipAttestation(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthAttestation - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthAttestation - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - if iNdEx > l { - return io.ErrUnexpectedEOF +func (x *Checkpoint) GetEpoch() github_com_prysmaticlabs_eth2_types.Epoch { + if x != nil { + return x.Epoch } - return nil + return github_com_prysmaticlabs_eth2_types.Epoch(0) } -func (m *Checkpoint) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAttestation - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: Checkpoint: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: Checkpoint: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Epoch", wireType) - } - m.Epoch = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAttestation - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Epoch |= github_com_prysmaticlabs_eth2_types.Epoch(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Root", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAttestation - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return ErrInvalidLengthAttestation - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthAttestation - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Root = append(m.Root[:0], dAtA[iNdEx:postIndex]...) - if m.Root == nil { - m.Root = []byte{} - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipAttestation(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthAttestation - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthAttestation - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - if iNdEx > l { - return io.ErrUnexpectedEOF +func (x *Checkpoint) GetRoot() []byte { + if x != nil { + return x.Root } return nil } -func skipAttestation(dAtA []byte) (n int, err error) { - l := len(dAtA) - iNdEx := 0 - depth := 0 - for iNdEx < l { - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return 0, ErrIntOverflowAttestation - } - if iNdEx >= l { - return 0, io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= (uint64(b) & 0x7F) << shift - if b < 0x80 { - break - } - } - wireType := int(wire & 0x7) - switch wireType { - case 0: - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return 0, ErrIntOverflowAttestation - } - if iNdEx >= l { - return 0, io.ErrUnexpectedEOF - } - iNdEx++ - if dAtA[iNdEx-1] < 0x80 { - break - } - } - case 1: - iNdEx += 8 - case 2: - var length int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return 0, ErrIntOverflowAttestation - } - if iNdEx >= l { - return 0, io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - length |= (int(b) & 0x7F) << shift - if b < 0x80 { - break - } - } - if length < 0 { - return 0, ErrInvalidLengthAttestation - } - iNdEx += length - case 3: - depth++ - case 4: - if depth == 0 { - return 0, ErrUnexpectedEndOfGroupAttestation - } - depth-- - case 5: - iNdEx += 4 - default: - return 0, fmt.Errorf("proto: illegal wireType %d", wireType) - } - if iNdEx < 0 { - return 0, ErrInvalidLengthAttestation - } - if depth == 0 { - return iNdEx, nil - } - } - return 0, io.ErrUnexpectedEOF + +var File_eth_v1alpha1_attestation_proto protoreflect.FileDescriptor + +var file_eth_v1alpha1_attestation_proto_rawDesc = []byte{ + 0x0a, 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, + 0x12, 0x15, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, + 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x1a, 0x15, 0x65, 0x74, 0x68, 0x2f, 0x65, 0x78, 0x74, + 0x2f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xd4, + 0x01, 0x0a, 0x0b, 0x41, 0x74, 0x74, 0x65, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x63, + 0x0a, 0x10, 0x61, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x62, 0x69, + 0x74, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x42, 0x38, 0x92, 0xb5, 0x18, 0x04, 0x32, 0x30, + 0x34, 0x38, 0x82, 0xb5, 0x18, 0x2c, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, + 0x2f, 0x70, 0x72, 0x79, 0x73, 0x6d, 0x61, 0x74, 0x69, 0x63, 0x6c, 0x61, 0x62, 0x73, 0x2f, 0x67, + 0x6f, 0x2d, 0x62, 0x69, 0x74, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x2e, 0x42, 0x69, 0x74, 0x6c, 0x69, + 0x73, 0x74, 0x52, 0x0f, 0x61, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42, + 0x69, 0x74, 0x73, 0x12, 0x3a, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x02, 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, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x12, + 0x24, 0x0a, 0x09, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x18, 0x03, 0x20, 0x01, + 0x28, 0x0c, 0x42, 0x06, 0x8a, 0xb5, 0x18, 0x02, 0x39, 0x36, 0x52, 0x09, 0x73, 0x69, 0x67, 0x6e, + 0x61, 0x74, 0x75, 0x72, 0x65, 0x22, 0xf4, 0x01, 0x0a, 0x1c, 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, 0x12, 0x61, 0x0a, 0x10, 0x61, 0x67, 0x67, 0x72, 0x65, 0x67, + 0x61, 0x74, 0x6f, 0x72, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, + 0x42, 0x36, 0x82, 0xb5, 0x18, 0x32, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, + 0x2f, 0x70, 0x72, 0x79, 0x73, 0x6d, 0x61, 0x74, 0x69, 0x63, 0x6c, 0x61, 0x62, 0x73, 0x2f, 0x65, + 0x74, 0x68, 0x32, 0x2d, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, + 0x74, 0x6f, 0x72, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x52, 0x0f, 0x61, 0x67, 0x67, 0x72, 0x65, 0x67, + 0x61, 0x74, 0x6f, 0x72, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x40, 0x0a, 0x09, 0x61, 0x67, 0x67, + 0x72, 0x65, 0x67, 0x61, 0x74, 0x65, 0x18, 0x03, 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, 0x41, 0x74, 0x74, 0x65, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x52, 0x09, 0x61, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x65, 0x12, 0x2f, 0x0a, 0x0f, 0x73, + 0x65, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x0c, 0x42, 0x06, 0x8a, 0xb5, 0x18, 0x02, 0x39, 0x36, 0x52, 0x0e, 0x73, 0x65, + 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x6f, 0x6f, 0x66, 0x22, 0x99, 0x01, 0x0a, + 0x22, 0x53, 0x69, 0x67, 0x6e, 0x65, 0x64, 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, 0x12, 0x4d, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x01, + 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, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, + 0x67, 0x65, 0x12, 0x24, 0x0a, 0x09, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x0c, 0x42, 0x06, 0x8a, 0xb5, 0x18, 0x02, 0x39, 0x36, 0x52, 0x09, 0x73, + 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x22, 0xde, 0x02, 0x0a, 0x0f, 0x41, 0x74, 0x74, + 0x65, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x61, 0x74, 0x61, 0x12, 0x40, 0x0a, 0x04, + 0x73, 0x6c, 0x6f, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x42, 0x2c, 0x82, 0xb5, 0x18, 0x28, + 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x72, 0x79, 0x73, 0x6d, + 0x61, 0x74, 0x69, 0x63, 0x6c, 0x61, 0x62, 0x73, 0x2f, 0x65, 0x74, 0x68, 0x32, 0x2d, 0x74, 0x79, + 0x70, 0x65, 0x73, 0x2e, 0x53, 0x6c, 0x6f, 0x74, 0x52, 0x04, 0x73, 0x6c, 0x6f, 0x74, 0x12, 0x5f, + 0x0a, 0x0f, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x74, 0x65, 0x65, 0x5f, 0x69, 0x6e, 0x64, 0x65, + 0x78, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x42, 0x36, 0x82, 0xb5, 0x18, 0x32, 0x67, 0x69, 0x74, + 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x72, 0x79, 0x73, 0x6d, 0x61, 0x74, 0x69, + 0x63, 0x6c, 0x61, 0x62, 0x73, 0x2f, 0x65, 0x74, 0x68, 0x32, 0x2d, 0x74, 0x79, 0x70, 0x65, 0x73, + 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x74, 0x65, 0x65, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x52, + 0x0e, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x74, 0x65, 0x65, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, + 0x32, 0x0a, 0x11, 0x62, 0x65, 0x61, 0x63, 0x6f, 0x6e, 0x5f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, + 0x72, 0x6f, 0x6f, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x42, 0x06, 0x8a, 0xb5, 0x18, 0x02, + 0x33, 0x32, 0x52, 0x0f, 0x62, 0x65, 0x61, 0x63, 0x6f, 0x6e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x52, + 0x6f, 0x6f, 0x74, 0x12, 0x39, 0x0a, 0x06, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x04, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, + 0x74, 0x68, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x43, 0x68, 0x65, 0x63, + 0x6b, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x52, 0x06, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x39, + 0x0a, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, + 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, + 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x70, 0x6f, 0x69, 0x6e, + 0x74, 0x52, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x22, 0x6d, 0x0a, 0x0a, 0x43, 0x68, 0x65, + 0x63, 0x6b, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x12, 0x43, 0x0a, 0x05, 0x65, 0x70, 0x6f, 0x63, 0x68, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x42, 0x2d, 0x82, 0xb5, 0x18, 0x29, 0x67, 0x69, 0x74, 0x68, + 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x72, 0x79, 0x73, 0x6d, 0x61, 0x74, 0x69, 0x63, + 0x6c, 0x61, 0x62, 0x73, 0x2f, 0x65, 0x74, 0x68, 0x32, 0x2d, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, + 0x45, 0x70, 0x6f, 0x63, 0x68, 0x52, 0x05, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x12, 0x1a, 0x0a, 0x04, + 0x72, 0x6f, 0x6f, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x42, 0x06, 0x8a, 0xb5, 0x18, 0x02, + 0x33, 0x32, 0x52, 0x04, 0x72, 0x6f, 0x6f, 0x74, 0x42, 0x97, 0x01, 0x0a, 0x19, 0x6f, 0x72, 0x67, + 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, + 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x42, 0x10, 0x41, 0x74, 0x74, 0x65, 0x73, 0x74, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x36, 0x67, 0x69, 0x74, 0x68, + 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x72, 0x79, 0x73, 0x6d, 0x61, 0x74, 0x69, 0x63, + 0x6c, 0x61, 0x62, 0x73, 0x2f, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x61, 0x70, 0x69, + 0x73, 0x2f, 0x65, 0x74, 0x68, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x3b, 0x65, + 0x74, 0x68, 0xaa, 0x02, 0x15, 0x45, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x45, 0x74, + 0x68, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xca, 0x02, 0x15, 0x45, 0x74, 0x68, + 0x65, 0x72, 0x65, 0x75, 0x6d, 0x5c, 0x45, 0x74, 0x68, 0x5c, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, + 0x61, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( - ErrInvalidLengthAttestation = fmt.Errorf("proto: negative length found during unmarshaling") - ErrIntOverflowAttestation = fmt.Errorf("proto: integer overflow") - ErrUnexpectedEndOfGroupAttestation = fmt.Errorf("proto: unexpected end of group") + file_eth_v1alpha1_attestation_proto_rawDescOnce sync.Once + file_eth_v1alpha1_attestation_proto_rawDescData = file_eth_v1alpha1_attestation_proto_rawDesc ) + +func file_eth_v1alpha1_attestation_proto_rawDescGZIP() []byte { + file_eth_v1alpha1_attestation_proto_rawDescOnce.Do(func() { + file_eth_v1alpha1_attestation_proto_rawDescData = protoimpl.X.CompressGZIP(file_eth_v1alpha1_attestation_proto_rawDescData) + }) + return file_eth_v1alpha1_attestation_proto_rawDescData +} + +var file_eth_v1alpha1_attestation_proto_msgTypes = make([]protoimpl.MessageInfo, 5) +var file_eth_v1alpha1_attestation_proto_goTypes = []interface{}{ + (*Attestation)(nil), // 0: ethereum.eth.v1alpha1.Attestation + (*AggregateAttestationAndProof)(nil), // 1: ethereum.eth.v1alpha1.AggregateAttestationAndProof + (*SignedAggregateAttestationAndProof)(nil), // 2: ethereum.eth.v1alpha1.SignedAggregateAttestationAndProof + (*AttestationData)(nil), // 3: ethereum.eth.v1alpha1.AttestationData + (*Checkpoint)(nil), // 4: ethereum.eth.v1alpha1.Checkpoint +} +var file_eth_v1alpha1_attestation_proto_depIdxs = []int32{ + 3, // 0: ethereum.eth.v1alpha1.Attestation.data:type_name -> ethereum.eth.v1alpha1.AttestationData + 0, // 1: ethereum.eth.v1alpha1.AggregateAttestationAndProof.aggregate:type_name -> ethereum.eth.v1alpha1.Attestation + 1, // 2: ethereum.eth.v1alpha1.SignedAggregateAttestationAndProof.message:type_name -> ethereum.eth.v1alpha1.AggregateAttestationAndProof + 4, // 3: ethereum.eth.v1alpha1.AttestationData.source:type_name -> ethereum.eth.v1alpha1.Checkpoint + 4, // 4: ethereum.eth.v1alpha1.AttestationData.target:type_name -> ethereum.eth.v1alpha1.Checkpoint + 5, // [5:5] is the sub-list for method output_type + 5, // [5:5] 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 init() { file_eth_v1alpha1_attestation_proto_init() } +func file_eth_v1alpha1_attestation_proto_init() { + if File_eth_v1alpha1_attestation_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_eth_v1alpha1_attestation_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Attestation); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_eth_v1alpha1_attestation_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AggregateAttestationAndProof); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_eth_v1alpha1_attestation_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SignedAggregateAttestationAndProof); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_eth_v1alpha1_attestation_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AttestationData); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_eth_v1alpha1_attestation_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Checkpoint); 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_eth_v1alpha1_attestation_proto_rawDesc, + NumEnums: 0, + NumMessages: 5, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_eth_v1alpha1_attestation_proto_goTypes, + DependencyIndexes: file_eth_v1alpha1_attestation_proto_depIdxs, + MessageInfos: file_eth_v1alpha1_attestation_proto_msgTypes, + }.Build() + File_eth_v1alpha1_attestation_proto = out.File + file_eth_v1alpha1_attestation_proto_rawDesc = nil + file_eth_v1alpha1_attestation_proto_goTypes = nil + file_eth_v1alpha1_attestation_proto_depIdxs = nil +} diff --git a/eth/v1alpha1/attestation.pb.gw.go b/eth/v1alpha1/attestation.pb.gw.go new file mode 100644 index 00000000..33d2475d --- /dev/null +++ b/eth/v1alpha1/attestation.pb.gw.go @@ -0,0 +1,3 @@ +// +build ignore + +package ignore diff --git a/eth/v1alpha1/attestation.proto b/eth/v1alpha1/attestation.proto index 188d35a4..ddcbedff 100644 --- a/eth/v1alpha1/attestation.proto +++ b/eth/v1alpha1/attestation.proto @@ -15,7 +15,7 @@ syntax = "proto3"; package ethereum.eth.v1alpha1; -import "github.com/gogo/protobuf/gogoproto/gogo.proto"; +import "eth/ext/options.proto"; option csharp_namespace = "Ethereum.Eth.v1alpha1"; option go_package = "github.com/prysmaticlabs/ethereumapis/eth/v1alpha1;eth"; @@ -27,23 +27,23 @@ option php_namespace = "Ethereum\\Eth\\v1alpha1"; message Attestation { // A bitfield representation of validator indices that have voted exactly // the same vote and have been aggregated into this attestation. - bytes aggregation_bits = 1 [(gogoproto.moretags) = "ssz-max:\"2048\"", (gogoproto.casttype) = "github.com/prysmaticlabs/go-bitfield.Bitlist"]; + bytes aggregation_bits = 1 [(ethereum.eth.ext.ssz_max) = "2048", (ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/go-bitfield.Bitlist"]; AttestationData data = 2; // 96 byte BLS aggregate signature. - bytes signature = 3 [(gogoproto.moretags) = "ssz-size:\"96\""]; + bytes signature = 3 [(ethereum.eth.ext.ssz_size) = "96"]; } message AggregateAttestationAndProof { // The aggregator index that submitted this aggregated attestation and proof. - uint64 aggregator_index = 1 [(gogoproto.casttype) = "github.com/prysmaticlabs/eth2-types.ValidatorIndex"]; + uint64 aggregator_index = 1 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/eth2-types.ValidatorIndex"]; // The aggregated attestation that was submitted. Attestation aggregate = 3; // 96 byte selection proof signed by the aggregator, which is the signature of the slot to aggregate. - bytes selection_proof = 2 [(gogoproto.moretags) = "ssz-size:\"96\""]; + bytes selection_proof = 2 [(ethereum.eth.ext.ssz_size) = "96"]; } message SignedAggregateAttestationAndProof { @@ -51,7 +51,7 @@ message SignedAggregateAttestationAndProof { AggregateAttestationAndProof message = 1; // 96 byte BLS aggregate signature signed by the aggregator over the message. - bytes signature = 2 [(gogoproto.moretags) = "ssz-size:\"96\""]; + bytes signature = 2 [(ethereum.eth.ext.ssz_size) = "96"]; } message AttestationData { @@ -59,13 +59,13 @@ message AttestationData { // See: https://arxiv.org/pdf/1710.09437.pdf // Slot of the attestation attesting for. - uint64 slot = 1 [(gogoproto.casttype) = "github.com/prysmaticlabs/eth2-types.Slot"]; + uint64 slot = 1 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/eth2-types.Slot"]; // The committee index that submitted this attestation. - uint64 committee_index = 2 [(gogoproto.casttype) = "github.com/prysmaticlabs/eth2-types.CommitteeIndex"]; + uint64 committee_index = 2 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/eth2-types.CommitteeIndex"]; // 32 byte root of the LMD GHOST block vote. - bytes beacon_block_root = 3 [(gogoproto.moretags) = "ssz-size:\"32\""]; + bytes beacon_block_root = 3 [(ethereum.eth.ext.ssz_size) = "32"]; // The most recent justified checkpoint in the beacon state Checkpoint source = 4; @@ -79,8 +79,8 @@ message Checkpoint { // is to link the check points together for justification and finalization. // Epoch the checkpoint references. - uint64 epoch = 1 [(gogoproto.casttype) = "github.com/prysmaticlabs/eth2-types.Epoch"]; + uint64 epoch = 1 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/eth2-types.Epoch"]; // Block root of the checkpoint references. - bytes root = 2 [(gogoproto.moretags) = "ssz-size:\"32\""]; + bytes root = 2 [(ethereum.eth.ext.ssz_size) = "32"]; } diff --git a/eth/v1alpha1/beacon_block.pb.go b/eth/v1alpha1/beacon_block.pb.go old mode 100755 new mode 100644 index ccdb14c5..409e4015 --- a/eth/v1alpha1/beacon_block.pb.go +++ b/eth/v1alpha1/beacon_block.pb.go @@ -1,4200 +1,1302 @@ -// Code generated by protoc-gen-gogo. DO NOT EDIT. +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.25.0 +// protoc v3.15.6 // source: eth/v1alpha1/beacon_block.proto package eth import ( - fmt "fmt" - io "io" - math "math" - math_bits "math/bits" + reflect "reflect" + sync "sync" - _ "github.com/gogo/protobuf/gogoproto" - proto "github.com/gogo/protobuf/proto" + proto "github.com/golang/protobuf/proto" github_com_prysmaticlabs_eth2_types "github.com/prysmaticlabs/eth2-types" + _ "github.com/prysmaticlabs/ethereumapis/eth/ext" + 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.GoGoProtoPackageIsVersion3 // 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 BeaconBlock struct { - Slot github_com_prysmaticlabs_eth2_types.Slot `protobuf:"varint,1,opt,name=slot,proto3,casttype=github.com/prysmaticlabs/eth2-types.Slot" json:"slot,omitempty"` - ProposerIndex github_com_prysmaticlabs_eth2_types.ValidatorIndex `protobuf:"varint,2,opt,name=proposer_index,json=proposerIndex,proto3,casttype=github.com/prysmaticlabs/eth2-types.ValidatorIndex" json:"proposer_index,omitempty"` - ParentRoot []byte `protobuf:"bytes,3,opt,name=parent_root,json=parentRoot,proto3" json:"parent_root,omitempty" ssz-size:"32"` - StateRoot []byte `protobuf:"bytes,4,opt,name=state_root,json=stateRoot,proto3" json:"state_root,omitempty" ssz-size:"32"` - Body *BeaconBlockBody `protobuf:"bytes,5,opt,name=body,proto3" json:"body,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Slot github_com_prysmaticlabs_eth2_types.Slot `protobuf:"varint,1,opt,name=slot,proto3" json:"slot,omitempty" cast-type:"github.com/prysmaticlabs/eth2-types.Slot"` + ProposerIndex github_com_prysmaticlabs_eth2_types.ValidatorIndex `protobuf:"varint,2,opt,name=proposer_index,json=proposerIndex,proto3" json:"proposer_index,omitempty" cast-type:"github.com/prysmaticlabs/eth2-types.ValidatorIndex"` + ParentRoot []byte `protobuf:"bytes,3,opt,name=parent_root,json=parentRoot,proto3" json:"parent_root,omitempty" ssz-size:"32"` + StateRoot []byte `protobuf:"bytes,4,opt,name=state_root,json=stateRoot,proto3" json:"state_root,omitempty" ssz-size:"32"` + Body *BeaconBlockBody `protobuf:"bytes,5,opt,name=body,proto3" json:"body,omitempty"` } -func (m *BeaconBlock) Reset() { *m = BeaconBlock{} } -func (m *BeaconBlock) String() string { return proto.CompactTextString(m) } -func (*BeaconBlock) ProtoMessage() {} -func (*BeaconBlock) Descriptor() ([]byte, []int) { - return fileDescriptor_6abbd9d98bd3d11a, []int{0} +func (x *BeaconBlock) Reset() { + *x = BeaconBlock{} + if protoimpl.UnsafeEnabled { + mi := &file_eth_v1alpha1_beacon_block_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *BeaconBlock) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) + +func (x *BeaconBlock) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *BeaconBlock) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_BeaconBlock.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err + +func (*BeaconBlock) ProtoMessage() {} + +func (x *BeaconBlock) ProtoReflect() protoreflect.Message { + mi := &file_eth_v1alpha1_beacon_block_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - return b[:n], nil + return ms } -} -func (m *BeaconBlock) XXX_Merge(src proto.Message) { - xxx_messageInfo_BeaconBlock.Merge(m, src) -} -func (m *BeaconBlock) XXX_Size() int { - return m.Size() -} -func (m *BeaconBlock) XXX_DiscardUnknown() { - xxx_messageInfo_BeaconBlock.DiscardUnknown(m) + return mi.MessageOf(x) } -var xxx_messageInfo_BeaconBlock proto.InternalMessageInfo +// Deprecated: Use BeaconBlock.ProtoReflect.Descriptor instead. +func (*BeaconBlock) Descriptor() ([]byte, []int) { + return file_eth_v1alpha1_beacon_block_proto_rawDescGZIP(), []int{0} +} -func (m *BeaconBlock) GetSlot() github_com_prysmaticlabs_eth2_types.Slot { - if m != nil { - return m.Slot +func (x *BeaconBlock) GetSlot() github_com_prysmaticlabs_eth2_types.Slot { + if x != nil { + return x.Slot } - return 0 + return github_com_prysmaticlabs_eth2_types.Slot(0) } -func (m *BeaconBlock) GetProposerIndex() github_com_prysmaticlabs_eth2_types.ValidatorIndex { - if m != nil { - return m.ProposerIndex +func (x *BeaconBlock) GetProposerIndex() github_com_prysmaticlabs_eth2_types.ValidatorIndex { + if x != nil { + return x.ProposerIndex } - return 0 + return github_com_prysmaticlabs_eth2_types.ValidatorIndex(0) } -func (m *BeaconBlock) GetParentRoot() []byte { - if m != nil { - return m.ParentRoot +func (x *BeaconBlock) GetParentRoot() []byte { + if x != nil { + return x.ParentRoot } return nil } -func (m *BeaconBlock) GetStateRoot() []byte { - if m != nil { - return m.StateRoot +func (x *BeaconBlock) GetStateRoot() []byte { + if x != nil { + return x.StateRoot } return nil } -func (m *BeaconBlock) GetBody() *BeaconBlockBody { - if m != nil { - return m.Body +func (x *BeaconBlock) GetBody() *BeaconBlockBody { + if x != nil { + return x.Body } return nil } type SignedBeaconBlock struct { - Block *BeaconBlock `protobuf:"bytes,1,opt,name=block,proto3" json:"block,omitempty"` - Signature []byte `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty" ssz-size:"96"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Block *BeaconBlock `protobuf:"bytes,1,opt,name=block,proto3" json:"block,omitempty"` + Signature []byte `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty" ssz-size:"96"` } -func (m *SignedBeaconBlock) Reset() { *m = SignedBeaconBlock{} } -func (m *SignedBeaconBlock) String() string { return proto.CompactTextString(m) } -func (*SignedBeaconBlock) ProtoMessage() {} -func (*SignedBeaconBlock) Descriptor() ([]byte, []int) { - return fileDescriptor_6abbd9d98bd3d11a, []int{1} +func (x *SignedBeaconBlock) Reset() { + *x = SignedBeaconBlock{} + if protoimpl.UnsafeEnabled { + mi := &file_eth_v1alpha1_beacon_block_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *SignedBeaconBlock) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) + +func (x *SignedBeaconBlock) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *SignedBeaconBlock) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_SignedBeaconBlock.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err + +func (*SignedBeaconBlock) ProtoMessage() {} + +func (x *SignedBeaconBlock) ProtoReflect() protoreflect.Message { + mi := &file_eth_v1alpha1_beacon_block_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - return b[:n], nil + return ms } -} -func (m *SignedBeaconBlock) XXX_Merge(src proto.Message) { - xxx_messageInfo_SignedBeaconBlock.Merge(m, src) -} -func (m *SignedBeaconBlock) XXX_Size() int { - return m.Size() -} -func (m *SignedBeaconBlock) XXX_DiscardUnknown() { - xxx_messageInfo_SignedBeaconBlock.DiscardUnknown(m) + return mi.MessageOf(x) } -var xxx_messageInfo_SignedBeaconBlock proto.InternalMessageInfo +// Deprecated: Use SignedBeaconBlock.ProtoReflect.Descriptor instead. +func (*SignedBeaconBlock) Descriptor() ([]byte, []int) { + return file_eth_v1alpha1_beacon_block_proto_rawDescGZIP(), []int{1} +} -func (m *SignedBeaconBlock) GetBlock() *BeaconBlock { - if m != nil { - return m.Block +func (x *SignedBeaconBlock) GetBlock() *BeaconBlock { + if x != nil { + return x.Block } return nil } -func (m *SignedBeaconBlock) GetSignature() []byte { - if m != nil { - return m.Signature +func (x *SignedBeaconBlock) GetSignature() []byte { + if x != nil { + return x.Signature } return nil } type BeaconBlockBody struct { - RandaoReveal []byte `protobuf:"bytes,1,opt,name=randao_reveal,json=randaoReveal,proto3" json:"randao_reveal,omitempty" ssz-size:"96"` - Eth1Data *Eth1Data `protobuf:"bytes,2,opt,name=eth1_data,json=eth1Data,proto3" json:"eth1_data,omitempty"` - Graffiti []byte `protobuf:"bytes,3,opt,name=graffiti,proto3" json:"graffiti,omitempty" ssz-size:"32"` - ProposerSlashings []*ProposerSlashing `protobuf:"bytes,4,rep,name=proposer_slashings,json=proposerSlashings,proto3" json:"proposer_slashings,omitempty" ssz-max:"16"` - AttesterSlashings []*AttesterSlashing `protobuf:"bytes,5,rep,name=attester_slashings,json=attesterSlashings,proto3" json:"attester_slashings,omitempty" ssz-max:"2"` - Attestations []*Attestation `protobuf:"bytes,6,rep,name=attestations,proto3" json:"attestations,omitempty" ssz-max:"128"` - Deposits []*Deposit `protobuf:"bytes,7,rep,name=deposits,proto3" json:"deposits,omitempty" ssz-max:"16"` - VoluntaryExits []*SignedVoluntaryExit `protobuf:"bytes,8,rep,name=voluntary_exits,json=voluntaryExits,proto3" json:"voluntary_exits,omitempty" ssz-max:"16"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + RandaoReveal []byte `protobuf:"bytes,1,opt,name=randao_reveal,json=randaoReveal,proto3" json:"randao_reveal,omitempty" ssz-size:"96"` + Eth1Data *Eth1Data `protobuf:"bytes,2,opt,name=eth1_data,json=eth1Data,proto3" json:"eth1_data,omitempty"` + Graffiti []byte `protobuf:"bytes,3,opt,name=graffiti,proto3" json:"graffiti,omitempty" ssz-size:"32"` + ProposerSlashings []*ProposerSlashing `protobuf:"bytes,4,rep,name=proposer_slashings,json=proposerSlashings,proto3" json:"proposer_slashings,omitempty" ssz-max:"16"` + AttesterSlashings []*AttesterSlashing `protobuf:"bytes,5,rep,name=attester_slashings,json=attesterSlashings,proto3" json:"attester_slashings,omitempty" ssz-max:"2"` + Attestations []*Attestation `protobuf:"bytes,6,rep,name=attestations,proto3" json:"attestations,omitempty" ssz-max:"128"` + Deposits []*Deposit `protobuf:"bytes,7,rep,name=deposits,proto3" json:"deposits,omitempty" ssz-max:"16"` + VoluntaryExits []*SignedVoluntaryExit `protobuf:"bytes,8,rep,name=voluntary_exits,json=voluntaryExits,proto3" json:"voluntary_exits,omitempty" ssz-max:"16"` } -func (m *BeaconBlockBody) Reset() { *m = BeaconBlockBody{} } -func (m *BeaconBlockBody) String() string { return proto.CompactTextString(m) } -func (*BeaconBlockBody) ProtoMessage() {} -func (*BeaconBlockBody) Descriptor() ([]byte, []int) { - return fileDescriptor_6abbd9d98bd3d11a, []int{2} +func (x *BeaconBlockBody) Reset() { + *x = BeaconBlockBody{} + if protoimpl.UnsafeEnabled { + mi := &file_eth_v1alpha1_beacon_block_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *BeaconBlockBody) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) + +func (x *BeaconBlockBody) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *BeaconBlockBody) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_BeaconBlockBody.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err + +func (*BeaconBlockBody) ProtoMessage() {} + +func (x *BeaconBlockBody) ProtoReflect() protoreflect.Message { + mi := &file_eth_v1alpha1_beacon_block_proto_msgTypes[2] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - return b[:n], nil + return ms } -} -func (m *BeaconBlockBody) XXX_Merge(src proto.Message) { - xxx_messageInfo_BeaconBlockBody.Merge(m, src) -} -func (m *BeaconBlockBody) XXX_Size() int { - return m.Size() -} -func (m *BeaconBlockBody) XXX_DiscardUnknown() { - xxx_messageInfo_BeaconBlockBody.DiscardUnknown(m) + return mi.MessageOf(x) } -var xxx_messageInfo_BeaconBlockBody proto.InternalMessageInfo +// Deprecated: Use BeaconBlockBody.ProtoReflect.Descriptor instead. +func (*BeaconBlockBody) Descriptor() ([]byte, []int) { + return file_eth_v1alpha1_beacon_block_proto_rawDescGZIP(), []int{2} +} -func (m *BeaconBlockBody) GetRandaoReveal() []byte { - if m != nil { - return m.RandaoReveal +func (x *BeaconBlockBody) GetRandaoReveal() []byte { + if x != nil { + return x.RandaoReveal } return nil } -func (m *BeaconBlockBody) GetEth1Data() *Eth1Data { - if m != nil { - return m.Eth1Data +func (x *BeaconBlockBody) GetEth1Data() *Eth1Data { + if x != nil { + return x.Eth1Data } return nil } -func (m *BeaconBlockBody) GetGraffiti() []byte { - if m != nil { - return m.Graffiti +func (x *BeaconBlockBody) GetGraffiti() []byte { + if x != nil { + return x.Graffiti } return nil } -func (m *BeaconBlockBody) GetProposerSlashings() []*ProposerSlashing { - if m != nil { - return m.ProposerSlashings +func (x *BeaconBlockBody) GetProposerSlashings() []*ProposerSlashing { + if x != nil { + return x.ProposerSlashings } return nil } -func (m *BeaconBlockBody) GetAttesterSlashings() []*AttesterSlashing { - if m != nil { - return m.AttesterSlashings +func (x *BeaconBlockBody) GetAttesterSlashings() []*AttesterSlashing { + if x != nil { + return x.AttesterSlashings } return nil } -func (m *BeaconBlockBody) GetAttestations() []*Attestation { - if m != nil { - return m.Attestations +func (x *BeaconBlockBody) GetAttestations() []*Attestation { + if x != nil { + return x.Attestations } return nil } -func (m *BeaconBlockBody) GetDeposits() []*Deposit { - if m != nil { - return m.Deposits +func (x *BeaconBlockBody) GetDeposits() []*Deposit { + if x != nil { + return x.Deposits } return nil } -func (m *BeaconBlockBody) GetVoluntaryExits() []*SignedVoluntaryExit { - if m != nil { - return m.VoluntaryExits +func (x *BeaconBlockBody) GetVoluntaryExits() []*SignedVoluntaryExit { + if x != nil { + return x.VoluntaryExits } return nil } type ProposerSlashing struct { - Header_1 *SignedBeaconBlockHeader `protobuf:"bytes,2,opt,name=header_1,json=header1,proto3" json:"header_1,omitempty"` - Header_2 *SignedBeaconBlockHeader `protobuf:"bytes,3,opt,name=header_2,json=header2,proto3" json:"header_2,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Header_1 *SignedBeaconBlockHeader `protobuf:"bytes,2,opt,name=header_1,json=header1,proto3" json:"header_1,omitempty"` + Header_2 *SignedBeaconBlockHeader `protobuf:"bytes,3,opt,name=header_2,json=header2,proto3" json:"header_2,omitempty"` } -func (m *ProposerSlashing) Reset() { *m = ProposerSlashing{} } -func (m *ProposerSlashing) String() string { return proto.CompactTextString(m) } -func (*ProposerSlashing) ProtoMessage() {} -func (*ProposerSlashing) Descriptor() ([]byte, []int) { - return fileDescriptor_6abbd9d98bd3d11a, []int{3} +func (x *ProposerSlashing) Reset() { + *x = ProposerSlashing{} + if protoimpl.UnsafeEnabled { + mi := &file_eth_v1alpha1_beacon_block_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ProposerSlashing) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) + +func (x *ProposerSlashing) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ProposerSlashing) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_ProposerSlashing.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err + +func (*ProposerSlashing) ProtoMessage() {} + +func (x *ProposerSlashing) ProtoReflect() protoreflect.Message { + mi := &file_eth_v1alpha1_beacon_block_proto_msgTypes[3] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - return b[:n], nil + return ms } -} -func (m *ProposerSlashing) XXX_Merge(src proto.Message) { - xxx_messageInfo_ProposerSlashing.Merge(m, src) -} -func (m *ProposerSlashing) XXX_Size() int { - return m.Size() -} -func (m *ProposerSlashing) XXX_DiscardUnknown() { - xxx_messageInfo_ProposerSlashing.DiscardUnknown(m) + return mi.MessageOf(x) } -var xxx_messageInfo_ProposerSlashing proto.InternalMessageInfo +// Deprecated: Use ProposerSlashing.ProtoReflect.Descriptor instead. +func (*ProposerSlashing) Descriptor() ([]byte, []int) { + return file_eth_v1alpha1_beacon_block_proto_rawDescGZIP(), []int{3} +} -func (m *ProposerSlashing) GetHeader_1() *SignedBeaconBlockHeader { - if m != nil { - return m.Header_1 +func (x *ProposerSlashing) GetHeader_1() *SignedBeaconBlockHeader { + if x != nil { + return x.Header_1 } return nil } -func (m *ProposerSlashing) GetHeader_2() *SignedBeaconBlockHeader { - if m != nil { - return m.Header_2 +func (x *ProposerSlashing) GetHeader_2() *SignedBeaconBlockHeader { + if x != nil { + return x.Header_2 } return nil } type AttesterSlashing struct { - Attestation_1 *IndexedAttestation `protobuf:"bytes,1,opt,name=attestation_1,json=attestation1,proto3" json:"attestation_1,omitempty"` - Attestation_2 *IndexedAttestation `protobuf:"bytes,2,opt,name=attestation_2,json=attestation2,proto3" json:"attestation_2,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Attestation_1 *IndexedAttestation `protobuf:"bytes,1,opt,name=attestation_1,json=attestation1,proto3" json:"attestation_1,omitempty"` + Attestation_2 *IndexedAttestation `protobuf:"bytes,2,opt,name=attestation_2,json=attestation2,proto3" json:"attestation_2,omitempty"` } -func (m *AttesterSlashing) Reset() { *m = AttesterSlashing{} } -func (m *AttesterSlashing) String() string { return proto.CompactTextString(m) } -func (*AttesterSlashing) ProtoMessage() {} -func (*AttesterSlashing) Descriptor() ([]byte, []int) { - return fileDescriptor_6abbd9d98bd3d11a, []int{4} +func (x *AttesterSlashing) Reset() { + *x = AttesterSlashing{} + if protoimpl.UnsafeEnabled { + mi := &file_eth_v1alpha1_beacon_block_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *AttesterSlashing) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) + +func (x *AttesterSlashing) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *AttesterSlashing) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_AttesterSlashing.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err + +func (*AttesterSlashing) ProtoMessage() {} + +func (x *AttesterSlashing) ProtoReflect() protoreflect.Message { + mi := &file_eth_v1alpha1_beacon_block_proto_msgTypes[4] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - return b[:n], nil + return ms } -} -func (m *AttesterSlashing) XXX_Merge(src proto.Message) { - xxx_messageInfo_AttesterSlashing.Merge(m, src) -} -func (m *AttesterSlashing) XXX_Size() int { - return m.Size() -} -func (m *AttesterSlashing) XXX_DiscardUnknown() { - xxx_messageInfo_AttesterSlashing.DiscardUnknown(m) + return mi.MessageOf(x) } -var xxx_messageInfo_AttesterSlashing proto.InternalMessageInfo +// Deprecated: Use AttesterSlashing.ProtoReflect.Descriptor instead. +func (*AttesterSlashing) Descriptor() ([]byte, []int) { + return file_eth_v1alpha1_beacon_block_proto_rawDescGZIP(), []int{4} +} -func (m *AttesterSlashing) GetAttestation_1() *IndexedAttestation { - if m != nil { - return m.Attestation_1 +func (x *AttesterSlashing) GetAttestation_1() *IndexedAttestation { + if x != nil { + return x.Attestation_1 } return nil } -func (m *AttesterSlashing) GetAttestation_2() *IndexedAttestation { - if m != nil { - return m.Attestation_2 +func (x *AttesterSlashing) GetAttestation_2() *IndexedAttestation { + if x != nil { + return x.Attestation_2 } return nil } type Deposit struct { - Proof [][]byte `protobuf:"bytes,1,rep,name=proof,proto3" json:"proof,omitempty" ssz-size:"33,32"` - Data *Deposit_Data `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *Deposit) Reset() { *m = Deposit{} } -func (m *Deposit) String() string { return proto.CompactTextString(m) } -func (*Deposit) ProtoMessage() {} -func (*Deposit) Descriptor() ([]byte, []int) { - return fileDescriptor_6abbd9d98bd3d11a, []int{5} -} -func (m *Deposit) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *Deposit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_Deposit.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil - } + Proof [][]byte `protobuf:"bytes,1,rep,name=proof,proto3" json:"proof,omitempty" ssz-size:"33,32"` + Data *Deposit_Data `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` } -func (m *Deposit) XXX_Merge(src proto.Message) { - xxx_messageInfo_Deposit.Merge(m, src) -} -func (m *Deposit) XXX_Size() int { - return m.Size() -} -func (m *Deposit) XXX_DiscardUnknown() { - xxx_messageInfo_Deposit.DiscardUnknown(m) -} - -var xxx_messageInfo_Deposit proto.InternalMessageInfo -func (m *Deposit) GetProof() [][]byte { - if m != nil { - return m.Proof +func (x *Deposit) Reset() { + *x = Deposit{} + if protoimpl.UnsafeEnabled { + mi := &file_eth_v1alpha1_beacon_block_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } - return nil } -func (m *Deposit) GetData() *Deposit_Data { - if m != nil { - return m.Data - } - return nil +func (x *Deposit) String() string { + return protoimpl.X.MessageStringOf(x) } -type Deposit_Data struct { - PublicKey []byte `protobuf:"bytes,1,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty" ssz-size:"48" spec-name:"pubkey"` - WithdrawalCredentials []byte `protobuf:"bytes,2,opt,name=withdrawal_credentials,json=withdrawalCredentials,proto3" json:"withdrawal_credentials,omitempty" ssz-size:"32"` - Amount uint64 `protobuf:"varint,3,opt,name=amount,proto3" json:"amount,omitempty"` - Signature []byte `protobuf:"bytes,4,opt,name=signature,proto3" json:"signature,omitempty" ssz-size:"96"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} +func (*Deposit) ProtoMessage() {} -func (m *Deposit_Data) Reset() { *m = Deposit_Data{} } -func (m *Deposit_Data) String() string { return proto.CompactTextString(m) } -func (*Deposit_Data) ProtoMessage() {} -func (*Deposit_Data) Descriptor() ([]byte, []int) { - return fileDescriptor_6abbd9d98bd3d11a, []int{5, 0} -} -func (m *Deposit_Data) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *Deposit_Data) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_Deposit_Data.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err +func (x *Deposit) ProtoReflect() protoreflect.Message { + mi := &file_eth_v1alpha1_beacon_block_proto_msgTypes[5] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - return b[:n], nil + return ms } -} -func (m *Deposit_Data) XXX_Merge(src proto.Message) { - xxx_messageInfo_Deposit_Data.Merge(m, src) -} -func (m *Deposit_Data) XXX_Size() int { - return m.Size() -} -func (m *Deposit_Data) XXX_DiscardUnknown() { - xxx_messageInfo_Deposit_Data.DiscardUnknown(m) + return mi.MessageOf(x) } -var xxx_messageInfo_Deposit_Data proto.InternalMessageInfo +// Deprecated: Use Deposit.ProtoReflect.Descriptor instead. +func (*Deposit) Descriptor() ([]byte, []int) { + return file_eth_v1alpha1_beacon_block_proto_rawDescGZIP(), []int{5} +} -func (m *Deposit_Data) GetPublicKey() []byte { - if m != nil { - return m.PublicKey +func (x *Deposit) GetProof() [][]byte { + if x != nil { + return x.Proof } return nil } -func (m *Deposit_Data) GetWithdrawalCredentials() []byte { - if m != nil { - return m.WithdrawalCredentials +func (x *Deposit) GetData() *Deposit_Data { + if x != nil { + return x.Data } return nil } -func (m *Deposit_Data) GetAmount() uint64 { - if m != nil { - return m.Amount - } - return 0 +type VoluntaryExit struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Epoch github_com_prysmaticlabs_eth2_types.Epoch `protobuf:"varint,1,opt,name=epoch,proto3" json:"epoch,omitempty" cast-type:"github.com/prysmaticlabs/eth2-types.Epoch"` + ValidatorIndex github_com_prysmaticlabs_eth2_types.ValidatorIndex `protobuf:"varint,2,opt,name=validator_index,json=validatorIndex,proto3" json:"validator_index,omitempty" cast-type:"github.com/prysmaticlabs/eth2-types.ValidatorIndex"` } -func (m *Deposit_Data) GetSignature() []byte { - if m != nil { - return m.Signature +func (x *VoluntaryExit) Reset() { + *x = VoluntaryExit{} + if protoimpl.UnsafeEnabled { + mi := &file_eth_v1alpha1_beacon_block_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } - return nil } -type VoluntaryExit struct { - Epoch github_com_prysmaticlabs_eth2_types.Epoch `protobuf:"varint,1,opt,name=epoch,proto3,casttype=github.com/prysmaticlabs/eth2-types.Epoch" json:"epoch,omitempty"` - ValidatorIndex github_com_prysmaticlabs_eth2_types.ValidatorIndex `protobuf:"varint,2,opt,name=validator_index,json=validatorIndex,proto3,casttype=github.com/prysmaticlabs/eth2-types.ValidatorIndex" json:"validator_index,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +func (x *VoluntaryExit) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *VoluntaryExit) Reset() { *m = VoluntaryExit{} } -func (m *VoluntaryExit) String() string { return proto.CompactTextString(m) } -func (*VoluntaryExit) ProtoMessage() {} -func (*VoluntaryExit) Descriptor() ([]byte, []int) { - return fileDescriptor_6abbd9d98bd3d11a, []int{6} -} -func (m *VoluntaryExit) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *VoluntaryExit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_VoluntaryExit.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err +func (*VoluntaryExit) ProtoMessage() {} + +func (x *VoluntaryExit) ProtoReflect() protoreflect.Message { + mi := &file_eth_v1alpha1_beacon_block_proto_msgTypes[6] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - return b[:n], nil + return ms } -} -func (m *VoluntaryExit) XXX_Merge(src proto.Message) { - xxx_messageInfo_VoluntaryExit.Merge(m, src) -} -func (m *VoluntaryExit) XXX_Size() int { - return m.Size() -} -func (m *VoluntaryExit) XXX_DiscardUnknown() { - xxx_messageInfo_VoluntaryExit.DiscardUnknown(m) + return mi.MessageOf(x) } -var xxx_messageInfo_VoluntaryExit proto.InternalMessageInfo +// Deprecated: Use VoluntaryExit.ProtoReflect.Descriptor instead. +func (*VoluntaryExit) Descriptor() ([]byte, []int) { + return file_eth_v1alpha1_beacon_block_proto_rawDescGZIP(), []int{6} +} -func (m *VoluntaryExit) GetEpoch() github_com_prysmaticlabs_eth2_types.Epoch { - if m != nil { - return m.Epoch +func (x *VoluntaryExit) GetEpoch() github_com_prysmaticlabs_eth2_types.Epoch { + if x != nil { + return x.Epoch } - return 0 + return github_com_prysmaticlabs_eth2_types.Epoch(0) } -func (m *VoluntaryExit) GetValidatorIndex() github_com_prysmaticlabs_eth2_types.ValidatorIndex { - if m != nil { - return m.ValidatorIndex +func (x *VoluntaryExit) GetValidatorIndex() github_com_prysmaticlabs_eth2_types.ValidatorIndex { + if x != nil { + return x.ValidatorIndex } - return 0 + return github_com_prysmaticlabs_eth2_types.ValidatorIndex(0) } type SignedVoluntaryExit struct { - Exit *VoluntaryExit `protobuf:"bytes,1,opt,name=exit,proto3" json:"exit,omitempty"` - Signature []byte `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty" ssz-size:"96"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Exit *VoluntaryExit `protobuf:"bytes,1,opt,name=exit,proto3" json:"exit,omitempty"` + Signature []byte `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty" ssz-size:"96"` } -func (m *SignedVoluntaryExit) Reset() { *m = SignedVoluntaryExit{} } -func (m *SignedVoluntaryExit) String() string { return proto.CompactTextString(m) } -func (*SignedVoluntaryExit) ProtoMessage() {} -func (*SignedVoluntaryExit) Descriptor() ([]byte, []int) { - return fileDescriptor_6abbd9d98bd3d11a, []int{7} +func (x *SignedVoluntaryExit) Reset() { + *x = SignedVoluntaryExit{} + if protoimpl.UnsafeEnabled { + mi := &file_eth_v1alpha1_beacon_block_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *SignedVoluntaryExit) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) + +func (x *SignedVoluntaryExit) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *SignedVoluntaryExit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_SignedVoluntaryExit.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err + +func (*SignedVoluntaryExit) ProtoMessage() {} + +func (x *SignedVoluntaryExit) ProtoReflect() protoreflect.Message { + mi := &file_eth_v1alpha1_beacon_block_proto_msgTypes[7] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - return b[:n], nil + return ms } -} -func (m *SignedVoluntaryExit) XXX_Merge(src proto.Message) { - xxx_messageInfo_SignedVoluntaryExit.Merge(m, src) -} -func (m *SignedVoluntaryExit) XXX_Size() int { - return m.Size() -} -func (m *SignedVoluntaryExit) XXX_DiscardUnknown() { - xxx_messageInfo_SignedVoluntaryExit.DiscardUnknown(m) + return mi.MessageOf(x) } -var xxx_messageInfo_SignedVoluntaryExit proto.InternalMessageInfo +// Deprecated: Use SignedVoluntaryExit.ProtoReflect.Descriptor instead. +func (*SignedVoluntaryExit) Descriptor() ([]byte, []int) { + return file_eth_v1alpha1_beacon_block_proto_rawDescGZIP(), []int{7} +} -func (m *SignedVoluntaryExit) GetExit() *VoluntaryExit { - if m != nil { - return m.Exit +func (x *SignedVoluntaryExit) GetExit() *VoluntaryExit { + if x != nil { + return x.Exit } return nil } -func (m *SignedVoluntaryExit) GetSignature() []byte { - if m != nil { - return m.Signature +func (x *SignedVoluntaryExit) GetSignature() []byte { + if x != nil { + return x.Signature } return nil } type Eth1Data struct { - DepositRoot []byte `protobuf:"bytes,1,opt,name=deposit_root,json=depositRoot,proto3" json:"deposit_root,omitempty" ssz-size:"32"` - DepositCount uint64 `protobuf:"varint,2,opt,name=deposit_count,json=depositCount,proto3" json:"deposit_count,omitempty"` - BlockHash []byte `protobuf:"bytes,3,opt,name=block_hash,json=blockHash,proto3" json:"block_hash,omitempty" ssz-size:"32"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + DepositRoot []byte `protobuf:"bytes,1,opt,name=deposit_root,json=depositRoot,proto3" json:"deposit_root,omitempty" ssz-size:"32"` + DepositCount uint64 `protobuf:"varint,2,opt,name=deposit_count,json=depositCount,proto3" json:"deposit_count,omitempty"` + BlockHash []byte `protobuf:"bytes,3,opt,name=block_hash,json=blockHash,proto3" json:"block_hash,omitempty" ssz-size:"32"` } -func (m *Eth1Data) Reset() { *m = Eth1Data{} } -func (m *Eth1Data) String() string { return proto.CompactTextString(m) } -func (*Eth1Data) ProtoMessage() {} -func (*Eth1Data) Descriptor() ([]byte, []int) { - return fileDescriptor_6abbd9d98bd3d11a, []int{8} +func (x *Eth1Data) Reset() { + *x = Eth1Data{} + if protoimpl.UnsafeEnabled { + mi := &file_eth_v1alpha1_beacon_block_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *Eth1Data) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) + +func (x *Eth1Data) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *Eth1Data) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_Eth1Data.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err + +func (*Eth1Data) ProtoMessage() {} + +func (x *Eth1Data) ProtoReflect() protoreflect.Message { + mi := &file_eth_v1alpha1_beacon_block_proto_msgTypes[8] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - return b[:n], nil + return ms } -} -func (m *Eth1Data) XXX_Merge(src proto.Message) { - xxx_messageInfo_Eth1Data.Merge(m, src) -} -func (m *Eth1Data) XXX_Size() int { - return m.Size() -} -func (m *Eth1Data) XXX_DiscardUnknown() { - xxx_messageInfo_Eth1Data.DiscardUnknown(m) + return mi.MessageOf(x) } -var xxx_messageInfo_Eth1Data proto.InternalMessageInfo +// Deprecated: Use Eth1Data.ProtoReflect.Descriptor instead. +func (*Eth1Data) Descriptor() ([]byte, []int) { + return file_eth_v1alpha1_beacon_block_proto_rawDescGZIP(), []int{8} +} -func (m *Eth1Data) GetDepositRoot() []byte { - if m != nil { - return m.DepositRoot +func (x *Eth1Data) GetDepositRoot() []byte { + if x != nil { + return x.DepositRoot } return nil } -func (m *Eth1Data) GetDepositCount() uint64 { - if m != nil { - return m.DepositCount +func (x *Eth1Data) GetDepositCount() uint64 { + if x != nil { + return x.DepositCount } return 0 } -func (m *Eth1Data) GetBlockHash() []byte { - if m != nil { - return m.BlockHash +func (x *Eth1Data) GetBlockHash() []byte { + if x != nil { + return x.BlockHash } return nil } type BeaconBlockHeader struct { - Slot github_com_prysmaticlabs_eth2_types.Slot `protobuf:"varint,1,opt,name=slot,proto3,casttype=github.com/prysmaticlabs/eth2-types.Slot" json:"slot,omitempty"` - ProposerIndex github_com_prysmaticlabs_eth2_types.ValidatorIndex `protobuf:"varint,2,opt,name=proposer_index,json=proposerIndex,proto3,casttype=github.com/prysmaticlabs/eth2-types.ValidatorIndex" json:"proposer_index,omitempty"` - ParentRoot []byte `protobuf:"bytes,3,opt,name=parent_root,json=parentRoot,proto3" json:"parent_root,omitempty" ssz-size:"32"` - StateRoot []byte `protobuf:"bytes,4,opt,name=state_root,json=stateRoot,proto3" json:"state_root,omitempty" ssz-size:"32"` - BodyRoot []byte `protobuf:"bytes,5,opt,name=body_root,json=bodyRoot,proto3" json:"body_root,omitempty" ssz-size:"32"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Slot github_com_prysmaticlabs_eth2_types.Slot `protobuf:"varint,1,opt,name=slot,proto3" json:"slot,omitempty" cast-type:"github.com/prysmaticlabs/eth2-types.Slot"` + ProposerIndex github_com_prysmaticlabs_eth2_types.ValidatorIndex `protobuf:"varint,2,opt,name=proposer_index,json=proposerIndex,proto3" json:"proposer_index,omitempty" cast-type:"github.com/prysmaticlabs/eth2-types.ValidatorIndex"` + ParentRoot []byte `protobuf:"bytes,3,opt,name=parent_root,json=parentRoot,proto3" json:"parent_root,omitempty" ssz-size:"32"` + StateRoot []byte `protobuf:"bytes,4,opt,name=state_root,json=stateRoot,proto3" json:"state_root,omitempty" ssz-size:"32"` + BodyRoot []byte `protobuf:"bytes,5,opt,name=body_root,json=bodyRoot,proto3" json:"body_root,omitempty" ssz-size:"32"` } -func (m *BeaconBlockHeader) Reset() { *m = BeaconBlockHeader{} } -func (m *BeaconBlockHeader) String() string { return proto.CompactTextString(m) } -func (*BeaconBlockHeader) ProtoMessage() {} -func (*BeaconBlockHeader) Descriptor() ([]byte, []int) { - return fileDescriptor_6abbd9d98bd3d11a, []int{9} +func (x *BeaconBlockHeader) Reset() { + *x = BeaconBlockHeader{} + if protoimpl.UnsafeEnabled { + mi := &file_eth_v1alpha1_beacon_block_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *BeaconBlockHeader) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) + +func (x *BeaconBlockHeader) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *BeaconBlockHeader) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_BeaconBlockHeader.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err + +func (*BeaconBlockHeader) ProtoMessage() {} + +func (x *BeaconBlockHeader) ProtoReflect() protoreflect.Message { + mi := &file_eth_v1alpha1_beacon_block_proto_msgTypes[9] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - return b[:n], nil + return ms } -} -func (m *BeaconBlockHeader) XXX_Merge(src proto.Message) { - xxx_messageInfo_BeaconBlockHeader.Merge(m, src) -} -func (m *BeaconBlockHeader) XXX_Size() int { - return m.Size() -} -func (m *BeaconBlockHeader) XXX_DiscardUnknown() { - xxx_messageInfo_BeaconBlockHeader.DiscardUnknown(m) + return mi.MessageOf(x) } -var xxx_messageInfo_BeaconBlockHeader proto.InternalMessageInfo +// Deprecated: Use BeaconBlockHeader.ProtoReflect.Descriptor instead. +func (*BeaconBlockHeader) Descriptor() ([]byte, []int) { + return file_eth_v1alpha1_beacon_block_proto_rawDescGZIP(), []int{9} +} -func (m *BeaconBlockHeader) GetSlot() github_com_prysmaticlabs_eth2_types.Slot { - if m != nil { - return m.Slot +func (x *BeaconBlockHeader) GetSlot() github_com_prysmaticlabs_eth2_types.Slot { + if x != nil { + return x.Slot } - return 0 + return github_com_prysmaticlabs_eth2_types.Slot(0) } -func (m *BeaconBlockHeader) GetProposerIndex() github_com_prysmaticlabs_eth2_types.ValidatorIndex { - if m != nil { - return m.ProposerIndex +func (x *BeaconBlockHeader) GetProposerIndex() github_com_prysmaticlabs_eth2_types.ValidatorIndex { + if x != nil { + return x.ProposerIndex } - return 0 + return github_com_prysmaticlabs_eth2_types.ValidatorIndex(0) } -func (m *BeaconBlockHeader) GetParentRoot() []byte { - if m != nil { - return m.ParentRoot +func (x *BeaconBlockHeader) GetParentRoot() []byte { + if x != nil { + return x.ParentRoot } return nil } -func (m *BeaconBlockHeader) GetStateRoot() []byte { - if m != nil { - return m.StateRoot +func (x *BeaconBlockHeader) GetStateRoot() []byte { + if x != nil { + return x.StateRoot } return nil } -func (m *BeaconBlockHeader) GetBodyRoot() []byte { - if m != nil { - return m.BodyRoot +func (x *BeaconBlockHeader) GetBodyRoot() []byte { + if x != nil { + return x.BodyRoot } return nil } type SignedBeaconBlockHeader struct { - Header *BeaconBlockHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"` - Signature []byte `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty" ssz-size:"96"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *SignedBeaconBlockHeader) Reset() { *m = SignedBeaconBlockHeader{} } -func (m *SignedBeaconBlockHeader) String() string { return proto.CompactTextString(m) } -func (*SignedBeaconBlockHeader) ProtoMessage() {} -func (*SignedBeaconBlockHeader) Descriptor() ([]byte, []int) { - return fileDescriptor_6abbd9d98bd3d11a, []int{10} -} -func (m *SignedBeaconBlockHeader) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *SignedBeaconBlockHeader) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_SignedBeaconBlockHeader.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil - } -} -func (m *SignedBeaconBlockHeader) XXX_Merge(src proto.Message) { - xxx_messageInfo_SignedBeaconBlockHeader.Merge(m, src) -} -func (m *SignedBeaconBlockHeader) XXX_Size() int { - return m.Size() -} -func (m *SignedBeaconBlockHeader) XXX_DiscardUnknown() { - xxx_messageInfo_SignedBeaconBlockHeader.DiscardUnknown(m) + Header *BeaconBlockHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"` + Signature []byte `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty" ssz-size:"96"` } -var xxx_messageInfo_SignedBeaconBlockHeader proto.InternalMessageInfo - -func (m *SignedBeaconBlockHeader) GetHeader() *BeaconBlockHeader { - if m != nil { - return m.Header +func (x *SignedBeaconBlockHeader) Reset() { + *x = SignedBeaconBlockHeader{} + if protoimpl.UnsafeEnabled { + mi := &file_eth_v1alpha1_beacon_block_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } - return nil } -func (m *SignedBeaconBlockHeader) GetSignature() []byte { - if m != nil { - return m.Signature - } - return nil +func (x *SignedBeaconBlockHeader) String() string { + return protoimpl.X.MessageStringOf(x) } -type IndexedAttestation struct { - AttestingIndices []uint64 `protobuf:"varint,1,rep,packed,name=attesting_indices,json=attestingIndices,proto3" json:"attesting_indices,omitempty" ssz-max:"2048"` - Data *AttestationData `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` - Signature []byte `protobuf:"bytes,3,opt,name=signature,proto3" json:"signature,omitempty" ssz-size:"96"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} +func (*SignedBeaconBlockHeader) ProtoMessage() {} -func (m *IndexedAttestation) Reset() { *m = IndexedAttestation{} } -func (m *IndexedAttestation) String() string { return proto.CompactTextString(m) } -func (*IndexedAttestation) ProtoMessage() {} -func (*IndexedAttestation) Descriptor() ([]byte, []int) { - return fileDescriptor_6abbd9d98bd3d11a, []int{11} -} -func (m *IndexedAttestation) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *IndexedAttestation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_IndexedAttestation.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err +func (x *SignedBeaconBlockHeader) ProtoReflect() protoreflect.Message { + mi := &file_eth_v1alpha1_beacon_block_proto_msgTypes[10] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - return b[:n], nil + return ms } -} -func (m *IndexedAttestation) XXX_Merge(src proto.Message) { - xxx_messageInfo_IndexedAttestation.Merge(m, src) -} -func (m *IndexedAttestation) XXX_Size() int { - return m.Size() -} -func (m *IndexedAttestation) XXX_DiscardUnknown() { - xxx_messageInfo_IndexedAttestation.DiscardUnknown(m) + return mi.MessageOf(x) } -var xxx_messageInfo_IndexedAttestation proto.InternalMessageInfo - -func (m *IndexedAttestation) GetAttestingIndices() []uint64 { - if m != nil { - return m.AttestingIndices - } - return nil +// Deprecated: Use SignedBeaconBlockHeader.ProtoReflect.Descriptor instead. +func (*SignedBeaconBlockHeader) Descriptor() ([]byte, []int) { + return file_eth_v1alpha1_beacon_block_proto_rawDescGZIP(), []int{10} } -func (m *IndexedAttestation) GetData() *AttestationData { - if m != nil { - return m.Data +func (x *SignedBeaconBlockHeader) GetHeader() *BeaconBlockHeader { + if x != nil { + return x.Header } return nil } -func (m *IndexedAttestation) GetSignature() []byte { - if m != nil { - return m.Signature +func (x *SignedBeaconBlockHeader) GetSignature() []byte { + if x != nil { + return x.Signature } return nil } -func init() { - proto.RegisterType((*BeaconBlock)(nil), "ethereum.eth.v1alpha1.BeaconBlock") - proto.RegisterType((*SignedBeaconBlock)(nil), "ethereum.eth.v1alpha1.SignedBeaconBlock") - proto.RegisterType((*BeaconBlockBody)(nil), "ethereum.eth.v1alpha1.BeaconBlockBody") - proto.RegisterType((*ProposerSlashing)(nil), "ethereum.eth.v1alpha1.ProposerSlashing") - proto.RegisterType((*AttesterSlashing)(nil), "ethereum.eth.v1alpha1.AttesterSlashing") - proto.RegisterType((*Deposit)(nil), "ethereum.eth.v1alpha1.Deposit") - proto.RegisterType((*Deposit_Data)(nil), "ethereum.eth.v1alpha1.Deposit.Data") - proto.RegisterType((*VoluntaryExit)(nil), "ethereum.eth.v1alpha1.VoluntaryExit") - proto.RegisterType((*SignedVoluntaryExit)(nil), "ethereum.eth.v1alpha1.SignedVoluntaryExit") - proto.RegisterType((*Eth1Data)(nil), "ethereum.eth.v1alpha1.Eth1Data") - proto.RegisterType((*BeaconBlockHeader)(nil), "ethereum.eth.v1alpha1.BeaconBlockHeader") - proto.RegisterType((*SignedBeaconBlockHeader)(nil), "ethereum.eth.v1alpha1.SignedBeaconBlockHeader") - proto.RegisterType((*IndexedAttestation)(nil), "ethereum.eth.v1alpha1.IndexedAttestation") -} - -func init() { proto.RegisterFile("eth/v1alpha1/beacon_block.proto", fileDescriptor_6abbd9d98bd3d11a) } - -var fileDescriptor_6abbd9d98bd3d11a = []byte{ - // 1137 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x57, 0xcd, 0x6e, 0x1a, 0x47, - 0x1c, 0xd7, 0xda, 0x8b, 0x03, 0x7f, 0xc0, 0xc6, 0xd3, 0x26, 0xa5, 0x3e, 0x78, 0xd1, 0x26, 0x4a, - 0x49, 0x14, 0xc0, 0xac, 0x2d, 0xd7, 0x75, 0x2b, 0x35, 0xc5, 0x41, 0xb2, 0xd5, 0xaa, 0xb2, 0xd6, - 0x52, 0xa4, 0x56, 0xa9, 0x56, 0x03, 0x3b, 0x66, 0x57, 0x5e, 0x76, 0x56, 0x3b, 0x03, 0x31, 0x39, - 0x54, 0x7d, 0x80, 0xde, 0xab, 0x9e, 0x7b, 0xa9, 0x7a, 0xac, 0xd4, 0x17, 0xe8, 0xa9, 0xca, 0xa5, - 0x79, 0x02, 0x54, 0xf9, 0x11, 0x38, 0xfa, 0x54, 0xed, 0xec, 0x02, 0x0b, 0x66, 0x6d, 0x27, 0xea, - 0xb1, 0x37, 0x06, 0x7e, 0x1f, 0x33, 0xf3, 0xff, 0x1a, 0x40, 0x21, 0xdc, 0xaa, 0xf5, 0xeb, 0xd8, - 0xf1, 0x2c, 0x5c, 0xaf, 0xb5, 0x08, 0x6e, 0x53, 0xd7, 0x68, 0x39, 0xb4, 0x7d, 0x56, 0xf5, 0x7c, - 0xca, 0x29, 0xba, 0x4b, 0xb8, 0x45, 0x7c, 0xd2, 0xeb, 0x56, 0x09, 0xb7, 0xaa, 0x63, 0xe4, 0x46, - 0xa5, 0x63, 0x73, 0xab, 0xd7, 0xaa, 0xb6, 0x69, 0xb7, 0xd6, 0xa1, 0x1d, 0x5a, 0x13, 0xe8, 0x56, - 0xef, 0x54, 0xac, 0xc4, 0x42, 0x7c, 0x0a, 0x55, 0x36, 0x36, 0x67, 0x6c, 0x30, 0xe7, 0x84, 0x71, - 0xcc, 0x6d, 0xea, 0x86, 0xbf, 0xab, 0x6f, 0x96, 0x20, 0xdb, 0x10, 0xe6, 0x8d, 0xc0, 0x1b, 0x3d, - 0x05, 0x99, 0x39, 0x94, 0x17, 0xa5, 0x92, 0x54, 0x96, 0x1b, 0x4f, 0x2e, 0x87, 0x4a, 0x39, 0x66, - 0xe8, 0xf9, 0x03, 0xd6, 0xc5, 0xdc, 0x6e, 0x3b, 0xb8, 0xc5, 0x6a, 0x84, 0x5b, 0x5a, 0x85, 0x0f, - 0x3c, 0xc2, 0xaa, 0x27, 0x0e, 0xe5, 0xba, 0x60, 0xa2, 0xef, 0x60, 0xd5, 0xf3, 0xa9, 0x47, 0x19, - 0xf1, 0x0d, 0xdb, 0x35, 0xc9, 0x79, 0x71, 0x49, 0x68, 0xed, 0x5e, 0x0e, 0x15, 0xed, 0x36, 0x5a, - 0xcf, 0xb1, 0x63, 0x9b, 0x98, 0x53, 0xff, 0x28, 0x60, 0xeb, 0xf9, 0xb1, 0x9a, 0x58, 0x22, 0x0d, - 0xb2, 0x1e, 0xf6, 0x89, 0xcb, 0x0d, 0x9f, 0x52, 0x5e, 0x5c, 0x2e, 0x49, 0xe5, 0x5c, 0x63, 0x7d, - 0x34, 0x54, 0xf2, 0x8c, 0xbd, 0xaa, 0x30, 0xfb, 0x15, 0xd9, 0x57, 0xb7, 0x35, 0x55, 0x87, 0x10, - 0xa5, 0x53, 0xca, 0xd1, 0x16, 0x40, 0x70, 0x6a, 0x12, 0x52, 0xe4, 0x24, 0x4a, 0x46, 0x80, 0x04, - 0x63, 0x1f, 0xe4, 0x16, 0x35, 0x07, 0xc5, 0x54, 0x49, 0x2a, 0x67, 0xb5, 0x87, 0xd5, 0x85, 0xb1, - 0xa8, 0xc6, 0x2e, 0xae, 0x41, 0xcd, 0x81, 0x2e, 0x38, 0xea, 0xf7, 0xb0, 0x7e, 0x62, 0x77, 0x5c, - 0x62, 0xc6, 0xef, 0x75, 0x0f, 0x52, 0x22, 0xb8, 0xe2, 0x62, 0xb3, 0x9a, 0x7a, 0xb3, 0xa2, 0x1e, - 0x12, 0x50, 0x0d, 0x32, 0xcc, 0xee, 0xb8, 0x98, 0xf7, 0x7c, 0x22, 0xae, 0xf2, 0xca, 0xde, 0x3f, - 0xd9, 0x0d, 0xf6, 0x3e, 0xc6, 0xa8, 0x3f, 0xa7, 0x60, 0x6d, 0x6e, 0x67, 0x68, 0x17, 0xf2, 0x3e, - 0x76, 0x4d, 0x4c, 0x0d, 0x9f, 0xf4, 0x09, 0x76, 0xc4, 0x36, 0x16, 0x0a, 0xe5, 0x42, 0x9c, 0x2e, - 0x60, 0xe8, 0x33, 0xc8, 0x10, 0x6e, 0xd5, 0x0d, 0x13, 0x73, 0x2c, 0xcc, 0xb3, 0x9a, 0x92, 0xb0, - 0xf5, 0x26, 0xb7, 0xea, 0xcf, 0x30, 0xc7, 0x7a, 0x9a, 0x44, 0x9f, 0x50, 0x05, 0xd2, 0x1d, 0x1f, - 0x9f, 0x9e, 0xda, 0xdc, 0x4e, 0x0e, 0xd4, 0x04, 0x82, 0x2c, 0x40, 0x93, 0xcc, 0x61, 0x0e, 0x66, - 0x96, 0xed, 0x76, 0x58, 0x51, 0x2e, 0x2d, 0x97, 0xb3, 0xda, 0x47, 0x09, 0xae, 0xc7, 0x11, 0xe1, - 0x24, 0xc2, 0x37, 0x0a, 0xa3, 0xa1, 0x92, 0x0b, 0x1c, 0xba, 0xf8, 0x7c, 0x5f, 0xad, 0xef, 0xaa, - 0xfa, 0xba, 0x37, 0x87, 0x61, 0xa8, 0x03, 0x28, 0x2c, 0x85, 0x19, 0xa7, 0xd4, 0xb5, 0x4e, 0x5f, - 0x44, 0x84, 0x89, 0xd3, 0xda, 0x68, 0xa8, 0x64, 0x27, 0x4e, 0x9a, 0xaa, 0xaf, 0xe3, 0x39, 0x08, - 0x43, 0xdf, 0x40, 0x2e, 0x56, 0x73, 0xac, 0xb8, 0x22, 0x2c, 0xd4, 0x6b, 0x2d, 0x04, 0x74, 0x7a, - 0x53, 0xe1, 0x39, 0xb4, 0x3d, 0x55, 0x9f, 0x91, 0x42, 0x5f, 0x41, 0xda, 0x24, 0x1e, 0x65, 0x36, - 0x67, 0xc5, 0x3b, 0x42, 0x76, 0x33, 0x41, 0xf6, 0x59, 0x08, 0x5b, 0x70, 0x35, 0x13, 0x05, 0x44, - 0x60, 0xad, 0x4f, 0x9d, 0x9e, 0xcb, 0xb1, 0x3f, 0x30, 0xc8, 0x79, 0x20, 0x9a, 0x16, 0xa2, 0x8f, - 0x13, 0x44, 0xc3, 0x14, 0x7f, 0x3e, 0xe6, 0x34, 0xcf, 0x17, 0x1a, 0xac, 0xf6, 0xe3, 0x00, 0xa6, - 0xfe, 0x2a, 0x41, 0x61, 0x3e, 0x64, 0xe8, 0x08, 0xd2, 0x16, 0xc1, 0x26, 0xf1, 0x8d, 0x7a, 0x94, - 0x63, 0xd5, 0x6b, 0x4d, 0x63, 0xc9, 0x7d, 0x28, 0x78, 0xfa, 0x9d, 0x90, 0x5f, 0x8f, 0x49, 0x69, - 0x22, 0xe3, 0xde, 0x59, 0x4a, 0x53, 0x7f, 0x97, 0xa0, 0x30, 0x1f, 0x73, 0xf4, 0x35, 0xe4, 0x63, - 0x41, 0x30, 0xea, 0x51, 0x39, 0x3f, 0x4a, 0x30, 0x11, 0x2d, 0x8b, 0x98, 0xb1, 0xb8, 0xce, 0x04, - 0xb1, 0x3e, 0xaf, 0xa7, 0x45, 0xe7, 0x7f, 0x47, 0x3d, 0x4d, 0xfd, 0x7b, 0x09, 0xee, 0x44, 0xe1, - 0x46, 0x8f, 0x21, 0xe5, 0xf9, 0x94, 0x9e, 0x16, 0xa5, 0xd2, 0x72, 0x39, 0xd7, 0x78, 0x7f, 0x34, - 0x54, 0x0a, 0xb1, 0xd2, 0xdb, 0x7e, 0x12, 0x54, 0x5f, 0x08, 0x41, 0x1f, 0x83, 0x1c, 0x2b, 0xf1, - 0xfb, 0xd7, 0x27, 0x52, 0x55, 0x94, 0xb9, 0x20, 0x6c, 0x0c, 0x25, 0x90, 0x45, 0xad, 0x1f, 0x00, - 0x78, 0xbd, 0x96, 0x63, 0xb7, 0x8d, 0x33, 0x32, 0x88, 0xda, 0xcb, 0x83, 0xd1, 0x50, 0x29, 0x4d, - 0x2d, 0x77, 0xf6, 0xd4, 0x12, 0xf3, 0x48, 0xbb, 0xe2, 0xe2, 0x2e, 0xd9, 0x57, 0xbd, 0x5e, 0xeb, - 0x8c, 0x0c, 0x54, 0x3d, 0x13, 0xf2, 0xbe, 0x24, 0x03, 0x74, 0x08, 0xf7, 0x5e, 0xda, 0xdc, 0x32, - 0x7d, 0xfc, 0x12, 0x3b, 0x46, 0xdb, 0x27, 0x26, 0x71, 0xb9, 0x8d, 0x1d, 0xb6, 0xb8, 0xf1, 0x05, - 0x07, 0xb8, 0x3b, 0x25, 0x1c, 0x4c, 0xf1, 0xe8, 0x1e, 0xac, 0xe0, 0x2e, 0xed, 0xb9, 0xe1, 0x84, - 0x90, 0xf5, 0x68, 0x35, 0xdb, 0x4d, 0xe5, 0x5b, 0x74, 0xd3, 0x3f, 0x24, 0xc8, 0xcf, 0x64, 0x39, - 0x3a, 0x80, 0x14, 0xf1, 0x68, 0xdb, 0x8a, 0x66, 0x64, 0xe5, 0x72, 0xa8, 0x3c, 0xba, 0xcd, 0x5c, - 0x6b, 0x06, 0x24, 0x3d, 0xe4, 0x22, 0x03, 0xd6, 0xfa, 0xe3, 0x39, 0xf7, 0x9f, 0x8c, 0xc9, 0xd5, - 0xfe, 0xcc, 0x5a, 0xfd, 0x41, 0x82, 0xf7, 0x16, 0xd4, 0x28, 0xda, 0x03, 0x39, 0x28, 0xef, 0x28, - 0x71, 0x1f, 0x24, 0x44, 0x7a, 0x86, 0xa3, 0x0b, 0xc6, 0xdb, 0x0f, 0xa2, 0x9f, 0x24, 0x48, 0x8f, - 0xa7, 0x02, 0xda, 0x81, 0x5c, 0xd4, 0x6c, 0xc2, 0x29, 0x2c, 0x25, 0x05, 0x34, 0x1b, 0xc1, 0xc4, - 0x1c, 0xbe, 0x0f, 0xf9, 0x31, 0xab, 0x2d, 0xa2, 0x29, 0x2e, 0x49, 0x1f, 0x4b, 0x1d, 0x88, 0x98, - 0x6e, 0x01, 0x88, 0x51, 0x69, 0x58, 0x98, 0x59, 0xc9, 0x83, 0x26, 0x23, 0x40, 0x87, 0x98, 0x59, - 0xea, 0xeb, 0x25, 0x58, 0xbf, 0x52, 0xfa, 0xff, 0xbf, 0x7d, 0xc2, 0xb7, 0x4f, 0x15, 0x32, 0xc1, - 0x3b, 0x26, 0x24, 0xa4, 0x12, 0xc7, 0x76, 0x80, 0x09, 0xf0, 0xea, 0x8f, 0x12, 0x7c, 0x90, 0xd0, - 0x4d, 0xd1, 0x53, 0x58, 0x09, 0xfb, 0x69, 0x94, 0x6f, 0xe5, 0x9b, 0xdf, 0x3d, 0x51, 0x1f, 0x8e, - 0x78, 0x6f, 0x9f, 0x75, 0x7f, 0x4a, 0x80, 0xae, 0xf6, 0x49, 0xf4, 0x39, 0x44, 0xe3, 0xd9, 0x76, - 0x3b, 0x41, 0x6c, 0xec, 0x36, 0x61, 0xa2, 0x33, 0xca, 0x0d, 0x34, 0x1a, 0x2a, 0xab, 0xd3, 0x41, - 0xbe, 0xb5, 0xb3, 0xa7, 0xea, 0x85, 0x09, 0xf8, 0x28, 0xc4, 0x06, 0x4f, 0xc2, 0x58, 0x8b, 0x7c, - 0x78, 0xf3, 0x08, 0x9f, 0x76, 0xc9, 0xd9, 0x43, 0x2c, 0xdf, 0x7c, 0x88, 0xc6, 0x2f, 0xd2, 0x5f, - 0x17, 0x9b, 0xd2, 0x9b, 0x8b, 0x4d, 0xe9, 0x9f, 0x8b, 0x4d, 0x09, 0x3e, 0xa4, 0x7e, 0x67, 0xb1, - 0x61, 0xa3, 0x10, 0xbb, 0xba, 0xe3, 0xe0, 0x49, 0x7f, 0x2c, 0x7d, 0xbb, 0x7b, 0x5d, 0xaa, 0x09, - 0x0d, 0xec, 0xd9, 0x62, 0x31, 0xf9, 0x6b, 0xf0, 0x29, 0xe1, 0xd6, 0x6f, 0x4b, 0x77, 0x9b, 0x63, - 0x8f, 0x66, 0xcc, 0xe3, 0xf5, 0xf4, 0xfb, 0x17, 0x4d, 0x6e, 0xbd, 0x18, 0x7f, 0xdf, 0x5a, 0x11, - 0xff, 0x21, 0xb6, 0xff, 0x0d, 0x00, 0x00, 0xff, 0xff, 0xf8, 0xb7, 0x82, 0x4e, 0xcc, 0x0c, 0x00, - 0x00, -} - -func (m *BeaconBlock) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} +type IndexedAttestation struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *BeaconBlock) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) + AttestingIndices []uint64 `protobuf:"varint,1,rep,packed,name=attesting_indices,json=attestingIndices,proto3" json:"attesting_indices,omitempty" ssz-max:"2048"` + Data *AttestationData `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` + Signature []byte `protobuf:"bytes,3,opt,name=signature,proto3" json:"signature,omitempty" ssz-size:"96"` } -func (m *BeaconBlock) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if m.Body != nil { - { - size, err := m.Body.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintBeaconBlock(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x2a +func (x *IndexedAttestation) Reset() { + *x = IndexedAttestation{} + if protoimpl.UnsafeEnabled { + mi := &file_eth_v1alpha1_beacon_block_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } - if len(m.StateRoot) > 0 { - i -= len(m.StateRoot) - copy(dAtA[i:], m.StateRoot) - i = encodeVarintBeaconBlock(dAtA, i, uint64(len(m.StateRoot))) - i-- - dAtA[i] = 0x22 - } - if len(m.ParentRoot) > 0 { - i -= len(m.ParentRoot) - copy(dAtA[i:], m.ParentRoot) - i = encodeVarintBeaconBlock(dAtA, i, uint64(len(m.ParentRoot))) - i-- - dAtA[i] = 0x1a - } - if m.ProposerIndex != 0 { - i = encodeVarintBeaconBlock(dAtA, i, uint64(m.ProposerIndex)) - i-- - dAtA[i] = 0x10 - } - if m.Slot != 0 { - i = encodeVarintBeaconBlock(dAtA, i, uint64(m.Slot)) - i-- - dAtA[i] = 0x8 - } - return len(dAtA) - i, nil } -func (m *SignedBeaconBlock) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil +func (x *IndexedAttestation) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *SignedBeaconBlock) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} +func (*IndexedAttestation) ProtoMessage() {} -func (m *SignedBeaconBlock) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if len(m.Signature) > 0 { - i -= len(m.Signature) - copy(dAtA[i:], m.Signature) - i = encodeVarintBeaconBlock(dAtA, i, uint64(len(m.Signature))) - i-- - dAtA[i] = 0x12 - } - if m.Block != nil { - { - size, err := m.Block.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintBeaconBlock(dAtA, i, uint64(size)) +func (x *IndexedAttestation) ProtoReflect() protoreflect.Message { + mi := &file_eth_v1alpha1_beacon_block_proto_msgTypes[11] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *BeaconBlockBody) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err + return ms } - return dAtA[:n], nil + return mi.MessageOf(x) } -func (m *BeaconBlockBody) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) +// Deprecated: Use IndexedAttestation.ProtoReflect.Descriptor instead. +func (*IndexedAttestation) Descriptor() ([]byte, []int) { + return file_eth_v1alpha1_beacon_block_proto_rawDescGZIP(), []int{11} } -func (m *BeaconBlockBody) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if len(m.VoluntaryExits) > 0 { - for iNdEx := len(m.VoluntaryExits) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.VoluntaryExits[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintBeaconBlock(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x42 - } - } - if len(m.Deposits) > 0 { - for iNdEx := len(m.Deposits) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Deposits[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintBeaconBlock(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x3a - } - } - if len(m.Attestations) > 0 { - for iNdEx := len(m.Attestations) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Attestations[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintBeaconBlock(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x32 - } - } - if len(m.AttesterSlashings) > 0 { - for iNdEx := len(m.AttesterSlashings) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.AttesterSlashings[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintBeaconBlock(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x2a - } - } - if len(m.ProposerSlashings) > 0 { - for iNdEx := len(m.ProposerSlashings) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.ProposerSlashings[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintBeaconBlock(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x22 - } - } - if len(m.Graffiti) > 0 { - i -= len(m.Graffiti) - copy(dAtA[i:], m.Graffiti) - i = encodeVarintBeaconBlock(dAtA, i, uint64(len(m.Graffiti))) - i-- - dAtA[i] = 0x1a - } - if m.Eth1Data != nil { - { - size, err := m.Eth1Data.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintBeaconBlock(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 +func (x *IndexedAttestation) GetAttestingIndices() []uint64 { + if x != nil { + return x.AttestingIndices } - if len(m.RandaoReveal) > 0 { - i -= len(m.RandaoReveal) - copy(dAtA[i:], m.RandaoReveal) - i = encodeVarintBeaconBlock(dAtA, i, uint64(len(m.RandaoReveal))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil + return nil } -func (m *ProposerSlashing) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err +func (x *IndexedAttestation) GetData() *AttestationData { + if x != nil { + return x.Data } - return dAtA[:n], nil -} - -func (m *ProposerSlashing) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) + return nil } -func (m *ProposerSlashing) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if m.Header_2 != nil { - { - size, err := m.Header_2.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintBeaconBlock(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x1a +func (x *IndexedAttestation) GetSignature() []byte { + if x != nil { + return x.Signature } - if m.Header_1 != nil { - { - size, err := m.Header_1.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintBeaconBlock(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - } - return len(dAtA) - i, nil + return nil } -func (m *AttesterSlashing) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} +type Deposit_Data struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *AttesterSlashing) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) + PublicKey []byte `protobuf:"bytes,1,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty" spec-name:"pubkey" ssz-size:"48"` + WithdrawalCredentials []byte `protobuf:"bytes,2,opt,name=withdrawal_credentials,json=withdrawalCredentials,proto3" json:"withdrawal_credentials,omitempty" ssz-size:"32"` + Amount uint64 `protobuf:"varint,3,opt,name=amount,proto3" json:"amount,omitempty"` + Signature []byte `protobuf:"bytes,4,opt,name=signature,proto3" json:"signature,omitempty" ssz-size:"96"` } -func (m *AttesterSlashing) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if m.Attestation_2 != nil { - { - size, err := m.Attestation_2.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintBeaconBlock(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - } - if m.Attestation_1 != nil { - { - size, err := m.Attestation_1.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintBeaconBlock(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa +func (x *Deposit_Data) Reset() { + *x = Deposit_Data{} + if protoimpl.UnsafeEnabled { + mi := &file_eth_v1alpha1_beacon_block_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } - return len(dAtA) - i, nil } -func (m *Deposit) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil +func (x *Deposit_Data) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *Deposit) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} +func (*Deposit_Data) ProtoMessage() {} -func (m *Deposit) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if m.Data != nil { - { - size, err := m.Data.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintBeaconBlock(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - } - if len(m.Proof) > 0 { - for iNdEx := len(m.Proof) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.Proof[iNdEx]) - copy(dAtA[i:], m.Proof[iNdEx]) - i = encodeVarintBeaconBlock(dAtA, i, uint64(len(m.Proof[iNdEx]))) - i-- - dAtA[i] = 0xa +func (x *Deposit_Data) ProtoReflect() protoreflect.Message { + mi := &file_eth_v1alpha1_beacon_block_proto_msgTypes[12] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } + return ms } - return len(dAtA) - i, nil -} - -func (m *Deposit_Data) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil + return mi.MessageOf(x) } -func (m *Deposit_Data) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) +// Deprecated: Use Deposit_Data.ProtoReflect.Descriptor instead. +func (*Deposit_Data) Descriptor() ([]byte, []int) { + return file_eth_v1alpha1_beacon_block_proto_rawDescGZIP(), []int{5, 0} } -func (m *Deposit_Data) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if len(m.Signature) > 0 { - i -= len(m.Signature) - copy(dAtA[i:], m.Signature) - i = encodeVarintBeaconBlock(dAtA, i, uint64(len(m.Signature))) - i-- - dAtA[i] = 0x22 +func (x *Deposit_Data) GetPublicKey() []byte { + if x != nil { + return x.PublicKey } - if m.Amount != 0 { - i = encodeVarintBeaconBlock(dAtA, i, uint64(m.Amount)) - i-- - dAtA[i] = 0x18 - } - if len(m.WithdrawalCredentials) > 0 { - i -= len(m.WithdrawalCredentials) - copy(dAtA[i:], m.WithdrawalCredentials) - i = encodeVarintBeaconBlock(dAtA, i, uint64(len(m.WithdrawalCredentials))) - i-- - dAtA[i] = 0x12 - } - if len(m.PublicKey) > 0 { - i -= len(m.PublicKey) - copy(dAtA[i:], m.PublicKey) - i = encodeVarintBeaconBlock(dAtA, i, uint64(len(m.PublicKey))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil + return nil } -func (m *VoluntaryExit) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err +func (x *Deposit_Data) GetWithdrawalCredentials() []byte { + if x != nil { + return x.WithdrawalCredentials } - return dAtA[:n], nil -} - -func (m *VoluntaryExit) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) + return nil } -func (m *VoluntaryExit) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if m.ValidatorIndex != 0 { - i = encodeVarintBeaconBlock(dAtA, i, uint64(m.ValidatorIndex)) - i-- - dAtA[i] = 0x10 +func (x *Deposit_Data) GetAmount() uint64 { + if x != nil { + return x.Amount } - if m.Epoch != 0 { - i = encodeVarintBeaconBlock(dAtA, i, uint64(m.Epoch)) - i-- - dAtA[i] = 0x8 - } - return len(dAtA) - i, nil + return 0 } -func (m *SignedVoluntaryExit) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err +func (x *Deposit_Data) GetSignature() []byte { + if x != nil { + return x.Signature } - return dAtA[:n], nil -} - -func (m *SignedVoluntaryExit) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) + return nil } -func (m *SignedVoluntaryExit) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if len(m.Signature) > 0 { - i -= len(m.Signature) - copy(dAtA[i:], m.Signature) - i = encodeVarintBeaconBlock(dAtA, i, uint64(len(m.Signature))) - i-- - dAtA[i] = 0x12 - } - if m.Exit != nil { - { - size, err := m.Exit.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintBeaconBlock(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil +var File_eth_v1alpha1_beacon_block_proto protoreflect.FileDescriptor + +var file_eth_v1alpha1_beacon_block_proto_rawDesc = []byte{ + 0x0a, 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, 0x12, 0x15, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, + 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x1a, 0x15, 0x65, 0x74, 0x68, 0x2f, 0x65, 0x78, + 0x74, 0x2f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 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, 0x22, + 0xba, 0x02, 0x0a, 0x0b, 0x42, 0x65, 0x61, 0x63, 0x6f, 0x6e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x12, + 0x40, 0x0a, 0x04, 0x73, 0x6c, 0x6f, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x42, 0x2c, 0x82, + 0xb5, 0x18, 0x28, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x72, + 0x79, 0x73, 0x6d, 0x61, 0x74, 0x69, 0x63, 0x6c, 0x61, 0x62, 0x73, 0x2f, 0x65, 0x74, 0x68, 0x32, + 0x2d, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x53, 0x6c, 0x6f, 0x74, 0x52, 0x04, 0x73, 0x6c, 0x6f, + 0x74, 0x12, 0x5d, 0x0a, 0x0e, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x6e, + 0x64, 0x65, 0x78, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x42, 0x36, 0x82, 0xb5, 0x18, 0x32, 0x67, + 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x72, 0x79, 0x73, 0x6d, 0x61, + 0x74, 0x69, 0x63, 0x6c, 0x61, 0x62, 0x73, 0x2f, 0x65, 0x74, 0x68, 0x32, 0x2d, 0x74, 0x79, 0x70, + 0x65, 0x73, 0x2e, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x49, 0x6e, 0x64, 0x65, + 0x78, 0x52, 0x0d, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x65, 0x72, 0x49, 0x6e, 0x64, 0x65, 0x78, + 0x12, 0x27, 0x0a, 0x0b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x72, 0x6f, 0x6f, 0x74, 0x18, + 0x03, 0x20, 0x01, 0x28, 0x0c, 0x42, 0x06, 0x8a, 0xb5, 0x18, 0x02, 0x33, 0x32, 0x52, 0x0a, 0x70, + 0x61, 0x72, 0x65, 0x6e, 0x74, 0x52, 0x6f, 0x6f, 0x74, 0x12, 0x25, 0x0a, 0x0a, 0x73, 0x74, 0x61, + 0x74, 0x65, 0x5f, 0x72, 0x6f, 0x6f, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x42, 0x06, 0x8a, + 0xb5, 0x18, 0x02, 0x33, 0x32, 0x52, 0x09, 0x73, 0x74, 0x61, 0x74, 0x65, 0x52, 0x6f, 0x6f, 0x74, + 0x12, 0x3a, 0x0a, 0x04, 0x62, 0x6f, 0x64, 0x79, 0x18, 0x05, 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, 0x42, 0x65, 0x61, 0x63, 0x6f, 0x6e, 0x42, 0x6c, 0x6f, + 0x63, 0x6b, 0x42, 0x6f, 0x64, 0x79, 0x52, 0x04, 0x62, 0x6f, 0x64, 0x79, 0x22, 0x73, 0x0a, 0x11, + 0x53, 0x69, 0x67, 0x6e, 0x65, 0x64, 0x42, 0x65, 0x61, 0x63, 0x6f, 0x6e, 0x42, 0x6c, 0x6f, 0x63, + 0x6b, 0x12, 0x38, 0x0a, 0x05, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x01, 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, 0x52, 0x05, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x24, 0x0a, 0x09, 0x73, + 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x42, 0x06, + 0x8a, 0xb5, 0x18, 0x02, 0x39, 0x36, 0x52, 0x09, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, + 0x65, 0x22, 0xd1, 0x04, 0x0a, 0x0f, 0x42, 0x65, 0x61, 0x63, 0x6f, 0x6e, 0x42, 0x6c, 0x6f, 0x63, + 0x6b, 0x42, 0x6f, 0x64, 0x79, 0x12, 0x2b, 0x0a, 0x0d, 0x72, 0x61, 0x6e, 0x64, 0x61, 0x6f, 0x5f, + 0x72, 0x65, 0x76, 0x65, 0x61, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x42, 0x06, 0x8a, 0xb5, + 0x18, 0x02, 0x39, 0x36, 0x52, 0x0c, 0x72, 0x61, 0x6e, 0x64, 0x61, 0x6f, 0x52, 0x65, 0x76, 0x65, + 0x61, 0x6c, 0x12, 0x3c, 0x0a, 0x09, 0x65, 0x74, 0x68, 0x31, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, + 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x45, 0x74, + 0x68, 0x31, 0x44, 0x61, 0x74, 0x61, 0x52, 0x08, 0x65, 0x74, 0x68, 0x31, 0x44, 0x61, 0x74, 0x61, + 0x12, 0x22, 0x0a, 0x08, 0x67, 0x72, 0x61, 0x66, 0x66, 0x69, 0x74, 0x69, 0x18, 0x03, 0x20, 0x01, + 0x28, 0x0c, 0x42, 0x06, 0x8a, 0xb5, 0x18, 0x02, 0x33, 0x32, 0x52, 0x08, 0x67, 0x72, 0x61, 0x66, + 0x66, 0x69, 0x74, 0x69, 0x12, 0x5e, 0x0a, 0x12, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x65, 0x72, + 0x5f, 0x73, 0x6c, 0x61, 0x73, 0x68, 0x69, 0x6e, 0x67, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, + 0x32, 0x27, 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, + 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x65, + 0x72, 0x53, 0x6c, 0x61, 0x73, 0x68, 0x69, 0x6e, 0x67, 0x42, 0x06, 0x92, 0xb5, 0x18, 0x02, 0x31, + 0x36, 0x52, 0x11, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x65, 0x72, 0x53, 0x6c, 0x61, 0x73, 0x68, + 0x69, 0x6e, 0x67, 0x73, 0x12, 0x5d, 0x0a, 0x12, 0x61, 0x74, 0x74, 0x65, 0x73, 0x74, 0x65, 0x72, + 0x5f, 0x73, 0x6c, 0x61, 0x73, 0x68, 0x69, 0x6e, 0x67, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, + 0x32, 0x27, 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, 0x65, + 0x72, 0x53, 0x6c, 0x61, 0x73, 0x68, 0x69, 0x6e, 0x67, 0x42, 0x05, 0x92, 0xb5, 0x18, 0x01, 0x32, + 0x52, 0x11, 0x61, 0x74, 0x74, 0x65, 0x73, 0x74, 0x65, 0x72, 0x53, 0x6c, 0x61, 0x73, 0x68, 0x69, + 0x6e, 0x67, 0x73, 0x12, 0x4f, 0x0a, 0x0c, 0x61, 0x74, 0x74, 0x65, 0x73, 0x74, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x73, 0x18, 0x06, 0x20, 0x03, 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, 0x41, 0x74, 0x74, 0x65, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x07, 0x92, + 0xb5, 0x18, 0x03, 0x31, 0x32, 0x38, 0x52, 0x0c, 0x61, 0x74, 0x74, 0x65, 0x73, 0x74, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x42, 0x0a, 0x08, 0x64, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x73, + 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, + 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x44, + 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x42, 0x06, 0x92, 0xb5, 0x18, 0x02, 0x31, 0x36, 0x52, 0x08, + 0x64, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x73, 0x12, 0x5b, 0x0a, 0x0f, 0x76, 0x6f, 0x6c, 0x75, + 0x6e, 0x74, 0x61, 0x72, 0x79, 0x5f, 0x65, 0x78, 0x69, 0x74, 0x73, 0x18, 0x08, 0x20, 0x03, 0x28, + 0x0b, 0x32, 0x2a, 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, + 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x53, 0x69, 0x67, 0x6e, 0x65, 0x64, + 0x56, 0x6f, 0x6c, 0x75, 0x6e, 0x74, 0x61, 0x72, 0x79, 0x45, 0x78, 0x69, 0x74, 0x42, 0x06, 0x92, + 0xb5, 0x18, 0x02, 0x31, 0x36, 0x52, 0x0e, 0x76, 0x6f, 0x6c, 0x75, 0x6e, 0x74, 0x61, 0x72, 0x79, + 0x45, 0x78, 0x69, 0x74, 0x73, 0x22, 0xa8, 0x01, 0x0a, 0x10, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, + 0x65, 0x72, 0x53, 0x6c, 0x61, 0x73, 0x68, 0x69, 0x6e, 0x67, 0x12, 0x49, 0x0a, 0x08, 0x68, 0x65, + 0x61, 0x64, 0x65, 0x72, 0x5f, 0x31, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x65, + 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x61, 0x6c, + 0x70, 0x68, 0x61, 0x31, 0x2e, 0x53, 0x69, 0x67, 0x6e, 0x65, 0x64, 0x42, 0x65, 0x61, 0x63, 0x6f, + 0x6e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x52, 0x07, 0x68, 0x65, + 0x61, 0x64, 0x65, 0x72, 0x31, 0x12, 0x49, 0x0a, 0x08, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x5f, + 0x32, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, + 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, + 0x53, 0x69, 0x67, 0x6e, 0x65, 0x64, 0x42, 0x65, 0x61, 0x63, 0x6f, 0x6e, 0x42, 0x6c, 0x6f, 0x63, + 0x6b, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x52, 0x07, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x32, + 0x22, 0xb2, 0x01, 0x0a, 0x10, 0x41, 0x74, 0x74, 0x65, 0x73, 0x74, 0x65, 0x72, 0x53, 0x6c, 0x61, + 0x73, 0x68, 0x69, 0x6e, 0x67, 0x12, 0x4e, 0x0a, 0x0d, 0x61, 0x74, 0x74, 0x65, 0x73, 0x74, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x31, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x65, + 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x61, 0x6c, + 0x70, 0x68, 0x61, 0x31, 0x2e, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x65, 0x64, 0x41, 0x74, 0x74, 0x65, + 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0c, 0x61, 0x74, 0x74, 0x65, 0x73, 0x74, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x31, 0x12, 0x4e, 0x0a, 0x0d, 0x61, 0x74, 0x74, 0x65, 0x73, 0x74, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x32, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x65, + 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x61, 0x6c, + 0x70, 0x68, 0x61, 0x31, 0x2e, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x65, 0x64, 0x41, 0x74, 0x74, 0x65, + 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0c, 0x61, 0x74, 0x74, 0x65, 0x73, 0x74, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x32, 0x22, 0x9a, 0x02, 0x0a, 0x07, 0x44, 0x65, 0x70, 0x6f, 0x73, 0x69, + 0x74, 0x12, 0x1f, 0x0a, 0x05, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0c, + 0x42, 0x09, 0x8a, 0xb5, 0x18, 0x05, 0x33, 0x33, 0x2c, 0x33, 0x32, 0x52, 0x05, 0x70, 0x72, 0x6f, + 0x6f, 0x66, 0x12, 0x37, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x23, 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, + 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x44, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, + 0x2e, 0x44, 0x61, 0x74, 0x61, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x1a, 0xb4, 0x01, 0x0a, 0x04, + 0x44, 0x61, 0x74, 0x61, 0x12, 0x2f, 0x0a, 0x0a, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x5f, 0x6b, + 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x42, 0x10, 0x8a, 0xb5, 0x18, 0x02, 0x34, 0x38, + 0x9a, 0xb5, 0x18, 0x06, 0x70, 0x75, 0x62, 0x6b, 0x65, 0x79, 0x52, 0x09, 0x70, 0x75, 0x62, 0x6c, + 0x69, 0x63, 0x4b, 0x65, 0x79, 0x12, 0x3d, 0x0a, 0x16, 0x77, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, + 0x77, 0x61, 0x6c, 0x5f, 0x63, 0x72, 0x65, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x73, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x0c, 0x42, 0x06, 0x8a, 0xb5, 0x18, 0x02, 0x33, 0x32, 0x52, 0x15, 0x77, + 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x61, 0x6c, 0x43, 0x72, 0x65, 0x64, 0x65, 0x6e, 0x74, + 0x69, 0x61, 0x6c, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x04, 0x52, 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x24, 0x0a, 0x09, + 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x42, + 0x06, 0x8a, 0xb5, 0x18, 0x02, 0x39, 0x36, 0x52, 0x09, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, + 0x72, 0x65, 0x22, 0xb5, 0x01, 0x0a, 0x0d, 0x56, 0x6f, 0x6c, 0x75, 0x6e, 0x74, 0x61, 0x72, 0x79, + 0x45, 0x78, 0x69, 0x74, 0x12, 0x43, 0x0a, 0x05, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x04, 0x42, 0x2d, 0x82, 0xb5, 0x18, 0x29, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, + 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x72, 0x79, 0x73, 0x6d, 0x61, 0x74, 0x69, 0x63, 0x6c, 0x61, 0x62, + 0x73, 0x2f, 0x65, 0x74, 0x68, 0x32, 0x2d, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x45, 0x70, 0x6f, + 0x63, 0x68, 0x52, 0x05, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x12, 0x5f, 0x0a, 0x0f, 0x76, 0x61, 0x6c, + 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x04, 0x42, 0x36, 0x82, 0xb5, 0x18, 0x32, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, + 0x6f, 0x6d, 0x2f, 0x70, 0x72, 0x79, 0x73, 0x6d, 0x61, 0x74, 0x69, 0x63, 0x6c, 0x61, 0x62, 0x73, + 0x2f, 0x65, 0x74, 0x68, 0x32, 0x2d, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x56, 0x61, 0x6c, 0x69, + 0x64, 0x61, 0x74, 0x6f, 0x72, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x52, 0x0e, 0x76, 0x61, 0x6c, 0x69, + 0x64, 0x61, 0x74, 0x6f, 0x72, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x22, 0x75, 0x0a, 0x13, 0x53, 0x69, + 0x67, 0x6e, 0x65, 0x64, 0x56, 0x6f, 0x6c, 0x75, 0x6e, 0x74, 0x61, 0x72, 0x79, 0x45, 0x78, 0x69, + 0x74, 0x12, 0x38, 0x0a, 0x04, 0x65, 0x78, 0x69, 0x74, 0x18, 0x01, 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, 0x52, 0x04, 0x65, 0x78, 0x69, 0x74, 0x12, 0x24, 0x0a, 0x09, 0x73, + 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x42, 0x06, + 0x8a, 0xb5, 0x18, 0x02, 0x39, 0x36, 0x52, 0x09, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, + 0x65, 0x22, 0x81, 0x01, 0x0a, 0x08, 0x45, 0x74, 0x68, 0x31, 0x44, 0x61, 0x74, 0x61, 0x12, 0x29, + 0x0a, 0x0c, 0x64, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x5f, 0x72, 0x6f, 0x6f, 0x74, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x0c, 0x42, 0x06, 0x8a, 0xb5, 0x18, 0x02, 0x33, 0x32, 0x52, 0x0b, 0x64, 0x65, + 0x70, 0x6f, 0x73, 0x69, 0x74, 0x52, 0x6f, 0x6f, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x64, 0x65, 0x70, + 0x6f, 0x73, 0x69, 0x74, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, + 0x52, 0x0c, 0x64, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x25, + 0x0a, 0x0a, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x68, 0x61, 0x73, 0x68, 0x18, 0x03, 0x20, 0x01, + 0x28, 0x0c, 0x42, 0x06, 0x8a, 0xb5, 0x18, 0x02, 0x33, 0x32, 0x52, 0x09, 0x62, 0x6c, 0x6f, 0x63, + 0x6b, 0x48, 0x61, 0x73, 0x68, 0x22, 0xa9, 0x02, 0x0a, 0x11, 0x42, 0x65, 0x61, 0x63, 0x6f, 0x6e, + 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x12, 0x40, 0x0a, 0x04, 0x73, + 0x6c, 0x6f, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x42, 0x2c, 0x82, 0xb5, 0x18, 0x28, 0x67, + 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x72, 0x79, 0x73, 0x6d, 0x61, + 0x74, 0x69, 0x63, 0x6c, 0x61, 0x62, 0x73, 0x2f, 0x65, 0x74, 0x68, 0x32, 0x2d, 0x74, 0x79, 0x70, + 0x65, 0x73, 0x2e, 0x53, 0x6c, 0x6f, 0x74, 0x52, 0x04, 0x73, 0x6c, 0x6f, 0x74, 0x12, 0x5d, 0x0a, + 0x0e, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x04, 0x42, 0x36, 0x82, 0xb5, 0x18, 0x32, 0x67, 0x69, 0x74, 0x68, 0x75, + 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x72, 0x79, 0x73, 0x6d, 0x61, 0x74, 0x69, 0x63, 0x6c, + 0x61, 0x62, 0x73, 0x2f, 0x65, 0x74, 0x68, 0x32, 0x2d, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x56, + 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x52, 0x0d, 0x70, + 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x65, 0x72, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x27, 0x0a, 0x0b, + 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x72, 0x6f, 0x6f, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x0c, 0x42, 0x06, 0x8a, 0xb5, 0x18, 0x02, 0x33, 0x32, 0x52, 0x0a, 0x70, 0x61, 0x72, 0x65, 0x6e, + 0x74, 0x52, 0x6f, 0x6f, 0x74, 0x12, 0x25, 0x0a, 0x0a, 0x73, 0x74, 0x61, 0x74, 0x65, 0x5f, 0x72, + 0x6f, 0x6f, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x42, 0x06, 0x8a, 0xb5, 0x18, 0x02, 0x33, + 0x32, 0x52, 0x09, 0x73, 0x74, 0x61, 0x74, 0x65, 0x52, 0x6f, 0x6f, 0x74, 0x12, 0x23, 0x0a, 0x09, + 0x62, 0x6f, 0x64, 0x79, 0x5f, 0x72, 0x6f, 0x6f, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0c, 0x42, + 0x06, 0x8a, 0xb5, 0x18, 0x02, 0x33, 0x32, 0x52, 0x08, 0x62, 0x6f, 0x64, 0x79, 0x52, 0x6f, 0x6f, + 0x74, 0x22, 0x81, 0x01, 0x0a, 0x17, 0x53, 0x69, 0x67, 0x6e, 0x65, 0x64, 0x42, 0x65, 0x61, 0x63, + 0x6f, 0x6e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x12, 0x40, 0x0a, + 0x06, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, 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, 0x65, 0x61, 0x64, 0x65, 0x72, 0x52, 0x06, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x12, + 0x24, 0x0a, 0x09, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x0c, 0x42, 0x06, 0x8a, 0xb5, 0x18, 0x02, 0x39, 0x36, 0x52, 0x09, 0x73, 0x69, 0x67, 0x6e, + 0x61, 0x74, 0x75, 0x72, 0x65, 0x22, 0xad, 0x01, 0x0a, 0x12, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x65, + 0x64, 0x41, 0x74, 0x74, 0x65, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x35, 0x0a, 0x11, + 0x61, 0x74, 0x74, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x5f, 0x69, 0x6e, 0x64, 0x69, 0x63, 0x65, + 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x04, 0x42, 0x08, 0x92, 0xb5, 0x18, 0x04, 0x32, 0x30, 0x34, + 0x38, 0x52, 0x10, 0x61, 0x74, 0x74, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x49, 0x6e, 0x64, 0x69, + 0x63, 0x65, 0x73, 0x12, 0x3a, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x02, 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, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x12, + 0x24, 0x0a, 0x09, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x18, 0x03, 0x20, 0x01, + 0x28, 0x0c, 0x42, 0x06, 0x8a, 0xb5, 0x18, 0x02, 0x39, 0x36, 0x52, 0x09, 0x73, 0x69, 0x67, 0x6e, + 0x61, 0x74, 0x75, 0x72, 0x65, 0x42, 0x97, 0x01, 0x0a, 0x19, 0x6f, 0x72, 0x67, 0x2e, 0x65, 0x74, + 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, + 0x68, 0x61, 0x31, 0x42, 0x10, 0x42, 0x65, 0x61, 0x63, 0x6f, 0x6e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, + 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x36, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, + 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x72, 0x79, 0x73, 0x6d, 0x61, 0x74, 0x69, 0x63, 0x6c, 0x61, 0x62, + 0x73, 0x2f, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x65, + 0x74, 0x68, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x3b, 0x65, 0x74, 0x68, 0xaa, + 0x02, 0x15, 0x45, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x45, 0x74, 0x68, 0x2e, 0x76, + 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xca, 0x02, 0x15, 0x45, 0x74, 0x68, 0x65, 0x72, 0x65, + 0x75, 0x6d, 0x5c, 0x45, 0x74, 0x68, 0x5c, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } -func (m *Eth1Data) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} +var ( + file_eth_v1alpha1_beacon_block_proto_rawDescOnce sync.Once + file_eth_v1alpha1_beacon_block_proto_rawDescData = file_eth_v1alpha1_beacon_block_proto_rawDesc +) -func (m *Eth1Data) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) +func file_eth_v1alpha1_beacon_block_proto_rawDescGZIP() []byte { + file_eth_v1alpha1_beacon_block_proto_rawDescOnce.Do(func() { + file_eth_v1alpha1_beacon_block_proto_rawDescData = protoimpl.X.CompressGZIP(file_eth_v1alpha1_beacon_block_proto_rawDescData) + }) + return file_eth_v1alpha1_beacon_block_proto_rawDescData +} + +var file_eth_v1alpha1_beacon_block_proto_msgTypes = make([]protoimpl.MessageInfo, 13) +var file_eth_v1alpha1_beacon_block_proto_goTypes = []interface{}{ + (*BeaconBlock)(nil), // 0: ethereum.eth.v1alpha1.BeaconBlock + (*SignedBeaconBlock)(nil), // 1: ethereum.eth.v1alpha1.SignedBeaconBlock + (*BeaconBlockBody)(nil), // 2: ethereum.eth.v1alpha1.BeaconBlockBody + (*ProposerSlashing)(nil), // 3: ethereum.eth.v1alpha1.ProposerSlashing + (*AttesterSlashing)(nil), // 4: ethereum.eth.v1alpha1.AttesterSlashing + (*Deposit)(nil), // 5: ethereum.eth.v1alpha1.Deposit + (*VoluntaryExit)(nil), // 6: ethereum.eth.v1alpha1.VoluntaryExit + (*SignedVoluntaryExit)(nil), // 7: ethereum.eth.v1alpha1.SignedVoluntaryExit + (*Eth1Data)(nil), // 8: ethereum.eth.v1alpha1.Eth1Data + (*BeaconBlockHeader)(nil), // 9: ethereum.eth.v1alpha1.BeaconBlockHeader + (*SignedBeaconBlockHeader)(nil), // 10: ethereum.eth.v1alpha1.SignedBeaconBlockHeader + (*IndexedAttestation)(nil), // 11: ethereum.eth.v1alpha1.IndexedAttestation + (*Deposit_Data)(nil), // 12: ethereum.eth.v1alpha1.Deposit.Data + (*Attestation)(nil), // 13: ethereum.eth.v1alpha1.Attestation + (*AttestationData)(nil), // 14: ethereum.eth.v1alpha1.AttestationData +} +var file_eth_v1alpha1_beacon_block_proto_depIdxs = []int32{ + 2, // 0: ethereum.eth.v1alpha1.BeaconBlock.body:type_name -> ethereum.eth.v1alpha1.BeaconBlockBody + 0, // 1: ethereum.eth.v1alpha1.SignedBeaconBlock.block:type_name -> ethereum.eth.v1alpha1.BeaconBlock + 8, // 2: ethereum.eth.v1alpha1.BeaconBlockBody.eth1_data:type_name -> ethereum.eth.v1alpha1.Eth1Data + 3, // 3: ethereum.eth.v1alpha1.BeaconBlockBody.proposer_slashings:type_name -> ethereum.eth.v1alpha1.ProposerSlashing + 4, // 4: ethereum.eth.v1alpha1.BeaconBlockBody.attester_slashings:type_name -> ethereum.eth.v1alpha1.AttesterSlashing + 13, // 5: ethereum.eth.v1alpha1.BeaconBlockBody.attestations:type_name -> ethereum.eth.v1alpha1.Attestation + 5, // 6: ethereum.eth.v1alpha1.BeaconBlockBody.deposits:type_name -> ethereum.eth.v1alpha1.Deposit + 7, // 7: ethereum.eth.v1alpha1.BeaconBlockBody.voluntary_exits:type_name -> ethereum.eth.v1alpha1.SignedVoluntaryExit + 10, // 8: ethereum.eth.v1alpha1.ProposerSlashing.header_1:type_name -> ethereum.eth.v1alpha1.SignedBeaconBlockHeader + 10, // 9: ethereum.eth.v1alpha1.ProposerSlashing.header_2:type_name -> ethereum.eth.v1alpha1.SignedBeaconBlockHeader + 11, // 10: ethereum.eth.v1alpha1.AttesterSlashing.attestation_1:type_name -> ethereum.eth.v1alpha1.IndexedAttestation + 11, // 11: ethereum.eth.v1alpha1.AttesterSlashing.attestation_2:type_name -> ethereum.eth.v1alpha1.IndexedAttestation + 12, // 12: ethereum.eth.v1alpha1.Deposit.data:type_name -> ethereum.eth.v1alpha1.Deposit.Data + 6, // 13: ethereum.eth.v1alpha1.SignedVoluntaryExit.exit:type_name -> ethereum.eth.v1alpha1.VoluntaryExit + 9, // 14: ethereum.eth.v1alpha1.SignedBeaconBlockHeader.header:type_name -> ethereum.eth.v1alpha1.BeaconBlockHeader + 14, // 15: ethereum.eth.v1alpha1.IndexedAttestation.data:type_name -> ethereum.eth.v1alpha1.AttestationData + 16, // [16:16] is the sub-list for method output_type + 16, // [16:16] is the sub-list for method input_type + 16, // [16:16] is the sub-list for extension type_name + 16, // [16:16] is the sub-list for extension extendee + 0, // [0:16] is the sub-list for field type_name +} + +func init() { file_eth_v1alpha1_beacon_block_proto_init() } +func file_eth_v1alpha1_beacon_block_proto_init() { + if File_eth_v1alpha1_beacon_block_proto != nil { + return + } + file_eth_v1alpha1_attestation_proto_init() + if !protoimpl.UnsafeEnabled { + file_eth_v1alpha1_beacon_block_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*BeaconBlock); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_eth_v1alpha1_beacon_block_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SignedBeaconBlock); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_eth_v1alpha1_beacon_block_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*BeaconBlockBody); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_eth_v1alpha1_beacon_block_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ProposerSlashing); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_eth_v1alpha1_beacon_block_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AttesterSlashing); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_eth_v1alpha1_beacon_block_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Deposit); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_eth_v1alpha1_beacon_block_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*VoluntaryExit); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_eth_v1alpha1_beacon_block_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SignedVoluntaryExit); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_eth_v1alpha1_beacon_block_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Eth1Data); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_eth_v1alpha1_beacon_block_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*BeaconBlockHeader); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_eth_v1alpha1_beacon_block_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SignedBeaconBlockHeader); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_eth_v1alpha1_beacon_block_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*IndexedAttestation); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_eth_v1alpha1_beacon_block_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Deposit_Data); 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_eth_v1alpha1_beacon_block_proto_rawDesc, + NumEnums: 0, + NumMessages: 13, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_eth_v1alpha1_beacon_block_proto_goTypes, + DependencyIndexes: file_eth_v1alpha1_beacon_block_proto_depIdxs, + MessageInfos: file_eth_v1alpha1_beacon_block_proto_msgTypes, + }.Build() + File_eth_v1alpha1_beacon_block_proto = out.File + file_eth_v1alpha1_beacon_block_proto_rawDesc = nil + file_eth_v1alpha1_beacon_block_proto_goTypes = nil + file_eth_v1alpha1_beacon_block_proto_depIdxs = nil } - -func (m *Eth1Data) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if len(m.BlockHash) > 0 { - i -= len(m.BlockHash) - copy(dAtA[i:], m.BlockHash) - i = encodeVarintBeaconBlock(dAtA, i, uint64(len(m.BlockHash))) - i-- - dAtA[i] = 0x1a - } - if m.DepositCount != 0 { - i = encodeVarintBeaconBlock(dAtA, i, uint64(m.DepositCount)) - i-- - dAtA[i] = 0x10 - } - if len(m.DepositRoot) > 0 { - i -= len(m.DepositRoot) - copy(dAtA[i:], m.DepositRoot) - i = encodeVarintBeaconBlock(dAtA, i, uint64(len(m.DepositRoot))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *BeaconBlockHeader) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *BeaconBlockHeader) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *BeaconBlockHeader) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if len(m.BodyRoot) > 0 { - i -= len(m.BodyRoot) - copy(dAtA[i:], m.BodyRoot) - i = encodeVarintBeaconBlock(dAtA, i, uint64(len(m.BodyRoot))) - i-- - dAtA[i] = 0x2a - } - if len(m.StateRoot) > 0 { - i -= len(m.StateRoot) - copy(dAtA[i:], m.StateRoot) - i = encodeVarintBeaconBlock(dAtA, i, uint64(len(m.StateRoot))) - i-- - dAtA[i] = 0x22 - } - if len(m.ParentRoot) > 0 { - i -= len(m.ParentRoot) - copy(dAtA[i:], m.ParentRoot) - i = encodeVarintBeaconBlock(dAtA, i, uint64(len(m.ParentRoot))) - i-- - dAtA[i] = 0x1a - } - if m.ProposerIndex != 0 { - i = encodeVarintBeaconBlock(dAtA, i, uint64(m.ProposerIndex)) - i-- - dAtA[i] = 0x10 - } - if m.Slot != 0 { - i = encodeVarintBeaconBlock(dAtA, i, uint64(m.Slot)) - i-- - dAtA[i] = 0x8 - } - return len(dAtA) - i, nil -} - -func (m *SignedBeaconBlockHeader) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *SignedBeaconBlockHeader) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *SignedBeaconBlockHeader) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if len(m.Signature) > 0 { - i -= len(m.Signature) - copy(dAtA[i:], m.Signature) - i = encodeVarintBeaconBlock(dAtA, i, uint64(len(m.Signature))) - i-- - dAtA[i] = 0x12 - } - if m.Header != nil { - { - size, err := m.Header.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintBeaconBlock(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *IndexedAttestation) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *IndexedAttestation) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *IndexedAttestation) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if len(m.Signature) > 0 { - i -= len(m.Signature) - copy(dAtA[i:], m.Signature) - i = encodeVarintBeaconBlock(dAtA, i, uint64(len(m.Signature))) - i-- - dAtA[i] = 0x1a - } - if m.Data != nil { - { - size, err := m.Data.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintBeaconBlock(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - } - if len(m.AttestingIndices) > 0 { - dAtA13 := make([]byte, len(m.AttestingIndices)*10) - var j12 int - for _, num := range m.AttestingIndices { - for num >= 1<<7 { - dAtA13[j12] = uint8(uint64(num)&0x7f | 0x80) - num >>= 7 - j12++ - } - dAtA13[j12] = uint8(num) - j12++ - } - i -= j12 - copy(dAtA[i:], dAtA13[:j12]) - i = encodeVarintBeaconBlock(dAtA, i, uint64(j12)) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func encodeVarintBeaconBlock(dAtA []byte, offset int, v uint64) int { - offset -= sovBeaconBlock(v) - base := offset - for v >= 1<<7 { - dAtA[offset] = uint8(v&0x7f | 0x80) - v >>= 7 - offset++ - } - dAtA[offset] = uint8(v) - return base -} -func (m *BeaconBlock) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Slot != 0 { - n += 1 + sovBeaconBlock(uint64(m.Slot)) - } - if m.ProposerIndex != 0 { - n += 1 + sovBeaconBlock(uint64(m.ProposerIndex)) - } - l = len(m.ParentRoot) - if l > 0 { - n += 1 + l + sovBeaconBlock(uint64(l)) - } - l = len(m.StateRoot) - if l > 0 { - n += 1 + l + sovBeaconBlock(uint64(l)) - } - if m.Body != nil { - l = m.Body.Size() - n += 1 + l + sovBeaconBlock(uint64(l)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *SignedBeaconBlock) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Block != nil { - l = m.Block.Size() - n += 1 + l + sovBeaconBlock(uint64(l)) - } - l = len(m.Signature) - if l > 0 { - n += 1 + l + sovBeaconBlock(uint64(l)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *BeaconBlockBody) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.RandaoReveal) - if l > 0 { - n += 1 + l + sovBeaconBlock(uint64(l)) - } - if m.Eth1Data != nil { - l = m.Eth1Data.Size() - n += 1 + l + sovBeaconBlock(uint64(l)) - } - l = len(m.Graffiti) - if l > 0 { - n += 1 + l + sovBeaconBlock(uint64(l)) - } - if len(m.ProposerSlashings) > 0 { - for _, e := range m.ProposerSlashings { - l = e.Size() - n += 1 + l + sovBeaconBlock(uint64(l)) - } - } - if len(m.AttesterSlashings) > 0 { - for _, e := range m.AttesterSlashings { - l = e.Size() - n += 1 + l + sovBeaconBlock(uint64(l)) - } - } - if len(m.Attestations) > 0 { - for _, e := range m.Attestations { - l = e.Size() - n += 1 + l + sovBeaconBlock(uint64(l)) - } - } - if len(m.Deposits) > 0 { - for _, e := range m.Deposits { - l = e.Size() - n += 1 + l + sovBeaconBlock(uint64(l)) - } - } - if len(m.VoluntaryExits) > 0 { - for _, e := range m.VoluntaryExits { - l = e.Size() - n += 1 + l + sovBeaconBlock(uint64(l)) - } - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *ProposerSlashing) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Header_1 != nil { - l = m.Header_1.Size() - n += 1 + l + sovBeaconBlock(uint64(l)) - } - if m.Header_2 != nil { - l = m.Header_2.Size() - n += 1 + l + sovBeaconBlock(uint64(l)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *AttesterSlashing) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Attestation_1 != nil { - l = m.Attestation_1.Size() - n += 1 + l + sovBeaconBlock(uint64(l)) - } - if m.Attestation_2 != nil { - l = m.Attestation_2.Size() - n += 1 + l + sovBeaconBlock(uint64(l)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *Deposit) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if len(m.Proof) > 0 { - for _, b := range m.Proof { - l = len(b) - n += 1 + l + sovBeaconBlock(uint64(l)) - } - } - if m.Data != nil { - l = m.Data.Size() - n += 1 + l + sovBeaconBlock(uint64(l)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *Deposit_Data) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.PublicKey) - if l > 0 { - n += 1 + l + sovBeaconBlock(uint64(l)) - } - l = len(m.WithdrawalCredentials) - if l > 0 { - n += 1 + l + sovBeaconBlock(uint64(l)) - } - if m.Amount != 0 { - n += 1 + sovBeaconBlock(uint64(m.Amount)) - } - l = len(m.Signature) - if l > 0 { - n += 1 + l + sovBeaconBlock(uint64(l)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *VoluntaryExit) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Epoch != 0 { - n += 1 + sovBeaconBlock(uint64(m.Epoch)) - } - if m.ValidatorIndex != 0 { - n += 1 + sovBeaconBlock(uint64(m.ValidatorIndex)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *SignedVoluntaryExit) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Exit != nil { - l = m.Exit.Size() - n += 1 + l + sovBeaconBlock(uint64(l)) - } - l = len(m.Signature) - if l > 0 { - n += 1 + l + sovBeaconBlock(uint64(l)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *Eth1Data) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.DepositRoot) - if l > 0 { - n += 1 + l + sovBeaconBlock(uint64(l)) - } - if m.DepositCount != 0 { - n += 1 + sovBeaconBlock(uint64(m.DepositCount)) - } - l = len(m.BlockHash) - if l > 0 { - n += 1 + l + sovBeaconBlock(uint64(l)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *BeaconBlockHeader) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Slot != 0 { - n += 1 + sovBeaconBlock(uint64(m.Slot)) - } - if m.ProposerIndex != 0 { - n += 1 + sovBeaconBlock(uint64(m.ProposerIndex)) - } - l = len(m.ParentRoot) - if l > 0 { - n += 1 + l + sovBeaconBlock(uint64(l)) - } - l = len(m.StateRoot) - if l > 0 { - n += 1 + l + sovBeaconBlock(uint64(l)) - } - l = len(m.BodyRoot) - if l > 0 { - n += 1 + l + sovBeaconBlock(uint64(l)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *SignedBeaconBlockHeader) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Header != nil { - l = m.Header.Size() - n += 1 + l + sovBeaconBlock(uint64(l)) - } - l = len(m.Signature) - if l > 0 { - n += 1 + l + sovBeaconBlock(uint64(l)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *IndexedAttestation) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if len(m.AttestingIndices) > 0 { - l = 0 - for _, e := range m.AttestingIndices { - l += sovBeaconBlock(uint64(e)) - } - n += 1 + sovBeaconBlock(uint64(l)) + l - } - if m.Data != nil { - l = m.Data.Size() - n += 1 + l + sovBeaconBlock(uint64(l)) - } - l = len(m.Signature) - if l > 0 { - n += 1 + l + sovBeaconBlock(uint64(l)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func sovBeaconBlock(x uint64) (n int) { - return (math_bits.Len64(x|1) + 6) / 7 -} -func sozBeaconBlock(x uint64) (n int) { - return sovBeaconBlock(uint64((x << 1) ^ uint64((int64(x) >> 63)))) -} -func (m *BeaconBlock) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconBlock - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: BeaconBlock: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: BeaconBlock: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Slot", wireType) - } - m.Slot = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconBlock - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Slot |= github_com_prysmaticlabs_eth2_types.Slot(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 2: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field ProposerIndex", wireType) - } - m.ProposerIndex = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconBlock - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.ProposerIndex |= github_com_prysmaticlabs_eth2_types.ValidatorIndex(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ParentRoot", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconBlock - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return ErrInvalidLengthBeaconBlock - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthBeaconBlock - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ParentRoot = append(m.ParentRoot[:0], dAtA[iNdEx:postIndex]...) - if m.ParentRoot == nil { - m.ParentRoot = []byte{} - } - iNdEx = postIndex - case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field StateRoot", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconBlock - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return ErrInvalidLengthBeaconBlock - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthBeaconBlock - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.StateRoot = append(m.StateRoot[:0], dAtA[iNdEx:postIndex]...) - if m.StateRoot == nil { - m.StateRoot = []byte{} - } - iNdEx = postIndex - case 5: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Body", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconBlock - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthBeaconBlock - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthBeaconBlock - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Body == nil { - m.Body = &BeaconBlockBody{} - } - if err := m.Body.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipBeaconBlock(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthBeaconBlock - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthBeaconBlock - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *SignedBeaconBlock) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconBlock - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: SignedBeaconBlock: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: SignedBeaconBlock: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Block", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconBlock - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthBeaconBlock - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthBeaconBlock - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Block == nil { - m.Block = &BeaconBlock{} - } - if err := m.Block.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Signature", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconBlock - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return ErrInvalidLengthBeaconBlock - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthBeaconBlock - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Signature = append(m.Signature[:0], dAtA[iNdEx:postIndex]...) - if m.Signature == nil { - m.Signature = []byte{} - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipBeaconBlock(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthBeaconBlock - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthBeaconBlock - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *BeaconBlockBody) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconBlock - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: BeaconBlockBody: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: BeaconBlockBody: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field RandaoReveal", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconBlock - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return ErrInvalidLengthBeaconBlock - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthBeaconBlock - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.RandaoReveal = append(m.RandaoReveal[:0], dAtA[iNdEx:postIndex]...) - if m.RandaoReveal == nil { - m.RandaoReveal = []byte{} - } - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Eth1Data", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconBlock - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthBeaconBlock - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthBeaconBlock - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Eth1Data == nil { - m.Eth1Data = &Eth1Data{} - } - if err := m.Eth1Data.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Graffiti", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconBlock - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return ErrInvalidLengthBeaconBlock - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthBeaconBlock - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Graffiti = append(m.Graffiti[:0], dAtA[iNdEx:postIndex]...) - if m.Graffiti == nil { - m.Graffiti = []byte{} - } - iNdEx = postIndex - case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ProposerSlashings", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconBlock - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthBeaconBlock - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthBeaconBlock - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ProposerSlashings = append(m.ProposerSlashings, &ProposerSlashing{}) - if err := m.ProposerSlashings[len(m.ProposerSlashings)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 5: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AttesterSlashings", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconBlock - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthBeaconBlock - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthBeaconBlock - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.AttesterSlashings = append(m.AttesterSlashings, &AttesterSlashing{}) - if err := m.AttesterSlashings[len(m.AttesterSlashings)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 6: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Attestations", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconBlock - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthBeaconBlock - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthBeaconBlock - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Attestations = append(m.Attestations, &Attestation{}) - if err := m.Attestations[len(m.Attestations)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 7: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Deposits", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconBlock - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthBeaconBlock - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthBeaconBlock - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Deposits = append(m.Deposits, &Deposit{}) - if err := m.Deposits[len(m.Deposits)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 8: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field VoluntaryExits", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconBlock - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthBeaconBlock - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthBeaconBlock - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.VoluntaryExits = append(m.VoluntaryExits, &SignedVoluntaryExit{}) - if err := m.VoluntaryExits[len(m.VoluntaryExits)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipBeaconBlock(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthBeaconBlock - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthBeaconBlock - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *ProposerSlashing) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconBlock - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: ProposerSlashing: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: ProposerSlashing: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Header_1", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconBlock - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthBeaconBlock - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthBeaconBlock - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Header_1 == nil { - m.Header_1 = &SignedBeaconBlockHeader{} - } - if err := m.Header_1.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Header_2", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconBlock - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthBeaconBlock - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthBeaconBlock - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Header_2 == nil { - m.Header_2 = &SignedBeaconBlockHeader{} - } - if err := m.Header_2.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipBeaconBlock(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthBeaconBlock - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthBeaconBlock - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *AttesterSlashing) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconBlock - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: AttesterSlashing: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: AttesterSlashing: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Attestation_1", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconBlock - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthBeaconBlock - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthBeaconBlock - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Attestation_1 == nil { - m.Attestation_1 = &IndexedAttestation{} - } - if err := m.Attestation_1.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Attestation_2", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconBlock - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthBeaconBlock - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthBeaconBlock - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Attestation_2 == nil { - m.Attestation_2 = &IndexedAttestation{} - } - if err := m.Attestation_2.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipBeaconBlock(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthBeaconBlock - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthBeaconBlock - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *Deposit) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconBlock - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: Deposit: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: Deposit: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Proof", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconBlock - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return ErrInvalidLengthBeaconBlock - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthBeaconBlock - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Proof = append(m.Proof, make([]byte, postIndex-iNdEx)) - copy(m.Proof[len(m.Proof)-1], dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Data", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconBlock - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthBeaconBlock - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthBeaconBlock - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Data == nil { - m.Data = &Deposit_Data{} - } - if err := m.Data.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipBeaconBlock(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthBeaconBlock - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthBeaconBlock - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *Deposit_Data) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconBlock - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: Data: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: Data: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field PublicKey", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconBlock - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return ErrInvalidLengthBeaconBlock - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthBeaconBlock - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.PublicKey = append(m.PublicKey[:0], dAtA[iNdEx:postIndex]...) - if m.PublicKey == nil { - m.PublicKey = []byte{} - } - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field WithdrawalCredentials", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconBlock - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return ErrInvalidLengthBeaconBlock - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthBeaconBlock - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.WithdrawalCredentials = append(m.WithdrawalCredentials[:0], dAtA[iNdEx:postIndex]...) - if m.WithdrawalCredentials == nil { - m.WithdrawalCredentials = []byte{} - } - iNdEx = postIndex - case 3: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Amount", wireType) - } - m.Amount = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconBlock - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Amount |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Signature", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconBlock - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return ErrInvalidLengthBeaconBlock - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthBeaconBlock - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Signature = append(m.Signature[:0], dAtA[iNdEx:postIndex]...) - if m.Signature == nil { - m.Signature = []byte{} - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipBeaconBlock(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthBeaconBlock - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthBeaconBlock - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *VoluntaryExit) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconBlock - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: VoluntaryExit: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: VoluntaryExit: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Epoch", wireType) - } - m.Epoch = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconBlock - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Epoch |= github_com_prysmaticlabs_eth2_types.Epoch(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 2: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field ValidatorIndex", wireType) - } - m.ValidatorIndex = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconBlock - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.ValidatorIndex |= github_com_prysmaticlabs_eth2_types.ValidatorIndex(b&0x7F) << shift - if b < 0x80 { - break - } - } - default: - iNdEx = preIndex - skippy, err := skipBeaconBlock(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthBeaconBlock - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthBeaconBlock - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *SignedVoluntaryExit) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconBlock - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: SignedVoluntaryExit: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: SignedVoluntaryExit: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Exit", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconBlock - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthBeaconBlock - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthBeaconBlock - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Exit == nil { - m.Exit = &VoluntaryExit{} - } - if err := m.Exit.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Signature", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconBlock - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return ErrInvalidLengthBeaconBlock - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthBeaconBlock - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Signature = append(m.Signature[:0], dAtA[iNdEx:postIndex]...) - if m.Signature == nil { - m.Signature = []byte{} - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipBeaconBlock(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthBeaconBlock - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthBeaconBlock - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *Eth1Data) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconBlock - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: Eth1Data: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: Eth1Data: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field DepositRoot", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconBlock - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return ErrInvalidLengthBeaconBlock - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthBeaconBlock - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.DepositRoot = append(m.DepositRoot[:0], dAtA[iNdEx:postIndex]...) - if m.DepositRoot == nil { - m.DepositRoot = []byte{} - } - iNdEx = postIndex - case 2: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field DepositCount", wireType) - } - m.DepositCount = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconBlock - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.DepositCount |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field BlockHash", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconBlock - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return ErrInvalidLengthBeaconBlock - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthBeaconBlock - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.BlockHash = append(m.BlockHash[:0], dAtA[iNdEx:postIndex]...) - if m.BlockHash == nil { - m.BlockHash = []byte{} - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipBeaconBlock(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthBeaconBlock - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthBeaconBlock - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *BeaconBlockHeader) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconBlock - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: BeaconBlockHeader: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: BeaconBlockHeader: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Slot", wireType) - } - m.Slot = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconBlock - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Slot |= github_com_prysmaticlabs_eth2_types.Slot(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 2: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field ProposerIndex", wireType) - } - m.ProposerIndex = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconBlock - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.ProposerIndex |= github_com_prysmaticlabs_eth2_types.ValidatorIndex(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ParentRoot", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconBlock - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return ErrInvalidLengthBeaconBlock - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthBeaconBlock - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ParentRoot = append(m.ParentRoot[:0], dAtA[iNdEx:postIndex]...) - if m.ParentRoot == nil { - m.ParentRoot = []byte{} - } - iNdEx = postIndex - case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field StateRoot", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconBlock - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return ErrInvalidLengthBeaconBlock - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthBeaconBlock - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.StateRoot = append(m.StateRoot[:0], dAtA[iNdEx:postIndex]...) - if m.StateRoot == nil { - m.StateRoot = []byte{} - } - iNdEx = postIndex - case 5: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field BodyRoot", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconBlock - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return ErrInvalidLengthBeaconBlock - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthBeaconBlock - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.BodyRoot = append(m.BodyRoot[:0], dAtA[iNdEx:postIndex]...) - if m.BodyRoot == nil { - m.BodyRoot = []byte{} - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipBeaconBlock(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthBeaconBlock - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthBeaconBlock - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *SignedBeaconBlockHeader) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconBlock - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: SignedBeaconBlockHeader: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: SignedBeaconBlockHeader: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Header", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconBlock - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthBeaconBlock - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthBeaconBlock - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Header == nil { - m.Header = &BeaconBlockHeader{} - } - if err := m.Header.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Signature", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconBlock - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return ErrInvalidLengthBeaconBlock - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthBeaconBlock - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Signature = append(m.Signature[:0], dAtA[iNdEx:postIndex]...) - if m.Signature == nil { - m.Signature = []byte{} - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipBeaconBlock(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthBeaconBlock - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthBeaconBlock - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *IndexedAttestation) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconBlock - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: IndexedAttestation: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: IndexedAttestation: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType == 0 { - var v uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconBlock - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.AttestingIndices = append(m.AttestingIndices, v) - } else if wireType == 2 { - var packedLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconBlock - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - packedLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if packedLen < 0 { - return ErrInvalidLengthBeaconBlock - } - postIndex := iNdEx + packedLen - if postIndex < 0 { - return ErrInvalidLengthBeaconBlock - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - var elementCount int - var count int - for _, integer := range dAtA[iNdEx:postIndex] { - if integer < 128 { - count++ - } - } - elementCount = count - if elementCount != 0 && len(m.AttestingIndices) == 0 { - m.AttestingIndices = make([]uint64, 0, elementCount) - } - for iNdEx < postIndex { - var v uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconBlock - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.AttestingIndices = append(m.AttestingIndices, v) - } - } else { - return fmt.Errorf("proto: wrong wireType = %d for field AttestingIndices", wireType) - } - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Data", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconBlock - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthBeaconBlock - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthBeaconBlock - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Data == nil { - m.Data = &AttestationData{} - } - if err := m.Data.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Signature", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconBlock - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return ErrInvalidLengthBeaconBlock - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthBeaconBlock - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Signature = append(m.Signature[:0], dAtA[iNdEx:postIndex]...) - if m.Signature == nil { - m.Signature = []byte{} - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipBeaconBlock(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthBeaconBlock - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthBeaconBlock - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func skipBeaconBlock(dAtA []byte) (n int, err error) { - l := len(dAtA) - iNdEx := 0 - depth := 0 - for iNdEx < l { - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return 0, ErrIntOverflowBeaconBlock - } - if iNdEx >= l { - return 0, io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= (uint64(b) & 0x7F) << shift - if b < 0x80 { - break - } - } - wireType := int(wire & 0x7) - switch wireType { - case 0: - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return 0, ErrIntOverflowBeaconBlock - } - if iNdEx >= l { - return 0, io.ErrUnexpectedEOF - } - iNdEx++ - if dAtA[iNdEx-1] < 0x80 { - break - } - } - case 1: - iNdEx += 8 - case 2: - var length int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return 0, ErrIntOverflowBeaconBlock - } - if iNdEx >= l { - return 0, io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - length |= (int(b) & 0x7F) << shift - if b < 0x80 { - break - } - } - if length < 0 { - return 0, ErrInvalidLengthBeaconBlock - } - iNdEx += length - case 3: - depth++ - case 4: - if depth == 0 { - return 0, ErrUnexpectedEndOfGroupBeaconBlock - } - depth-- - case 5: - iNdEx += 4 - default: - return 0, fmt.Errorf("proto: illegal wireType %d", wireType) - } - if iNdEx < 0 { - return 0, ErrInvalidLengthBeaconBlock - } - if depth == 0 { - return iNdEx, nil - } - } - return 0, io.ErrUnexpectedEOF -} - -var ( - ErrInvalidLengthBeaconBlock = fmt.Errorf("proto: negative length found during unmarshaling") - ErrIntOverflowBeaconBlock = fmt.Errorf("proto: integer overflow") - ErrUnexpectedEndOfGroupBeaconBlock = fmt.Errorf("proto: unexpected end of group") -) diff --git a/eth/v1alpha1/beacon_block.pb.gw.go b/eth/v1alpha1/beacon_block.pb.gw.go new file mode 100644 index 00000000..33d2475d --- /dev/null +++ b/eth/v1alpha1/beacon_block.pb.gw.go @@ -0,0 +1,3 @@ +// +build ignore + +package ignore diff --git a/eth/v1alpha1/beacon_block.proto b/eth/v1alpha1/beacon_block.proto index 32e757dd..ffd4339c 100644 --- a/eth/v1alpha1/beacon_block.proto +++ b/eth/v1alpha1/beacon_block.proto @@ -15,7 +15,7 @@ syntax = "proto3"; package ethereum.eth.v1alpha1; -import "github.com/gogo/protobuf/gogoproto/gogo.proto"; +import "eth/ext/options.proto"; import "eth/v1alpha1/attestation.proto"; option csharp_namespace = "Ethereum.Eth.v1alpha1"; @@ -28,16 +28,16 @@ option php_namespace = "Ethereum\\Eth\\v1alpha1"; // The Ethereum 2.0 beacon block. The message does not contain a validator signature. message BeaconBlock { // Beacon chain slot that this block represents. - uint64 slot = 1 [(gogoproto.casttype) = "github.com/prysmaticlabs/eth2-types.Slot"]; + uint64 slot = 1 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/eth2-types.Slot"]; // Validator index of the validator that proposed the block header. - uint64 proposer_index = 2 [(gogoproto.casttype) = "github.com/prysmaticlabs/eth2-types.ValidatorIndex"]; + uint64 proposer_index = 2 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/eth2-types.ValidatorIndex"]; // 32 byte root of the parent block. - bytes parent_root = 3 [(gogoproto.moretags) = "ssz-size:\"32\""]; + bytes parent_root = 3 [(ethereum.eth.ext.ssz_size) = "32"]; // 32 byte root of the resulting state after processing this block. - bytes state_root = 4 [(gogoproto.moretags) = "ssz-size:\"32\""]; + bytes state_root = 4 [(ethereum.eth.ext.ssz_size) = "32"]; // The block body itself. BeaconBlockBody body = 5; @@ -49,38 +49,38 @@ message SignedBeaconBlock { BeaconBlock block = 1; // 96 byte BLS signature from the validator that produced this block. - bytes signature = 2 [(gogoproto.moretags) = "ssz-size:\"96\""]; + bytes signature = 2 [(ethereum.eth.ext.ssz_size) = "96"]; } // The block body of an Ethereum 2.0 beacon block. message BeaconBlockBody { // The validators RANDAO reveal 96 byte value. - bytes randao_reveal = 1 [(gogoproto.moretags) = "ssz-size:\"96\""]; + bytes randao_reveal = 1 [(ethereum.eth.ext.ssz_size) = "96"]; // A reference to the Ethereum 1.x chain. Eth1Data eth1_data = 2; // 32 byte field of arbitrary data. This field may contain any data and // is not used for anything other than a fun message. - bytes graffiti = 3 [(gogoproto.moretags) = "ssz-size:\"32\""]; + bytes graffiti = 3 [(ethereum.eth.ext.ssz_size) = "32"]; // Block operations // Refer to spec constants at https://github.com/ethereum/eth2.0-specs/blob/dev/specs/core/0_beacon-chain.md#max-operations-per-block // At most MAX_PROPOSER_SLASHINGS. - repeated ProposerSlashing proposer_slashings = 4 [(gogoproto.moretags) = "ssz-max:\"16\""]; + repeated ProposerSlashing proposer_slashings = 4 [(ethereum.eth.ext.ssz_max) = "16"]; // At most MAX_ATTESTER_SLASHINGS. - repeated AttesterSlashing attester_slashings = 5 [(gogoproto.moretags) = "ssz-max:\"2\""]; + repeated AttesterSlashing attester_slashings = 5 [(ethereum.eth.ext.ssz_max) = "2"]; // At most MAX_ATTESTATIONS. - repeated Attestation attestations = 6 [(gogoproto.moretags) = "ssz-max:\"128\""]; + repeated Attestation attestations = 6 [(ethereum.eth.ext.ssz_max) = "128"]; // At most MAX_DEPOSITS. - repeated Deposit deposits = 7 [(gogoproto.moretags) = "ssz-max:\"16\""]; + repeated Deposit deposits = 7 [(ethereum.eth.ext.ssz_max) = "16"]; // At most MAX_VOLUNTARY_EXITS. - repeated SignedVoluntaryExit voluntary_exits = 8 [(gogoproto.moretags) = "ssz-max:\"16\""]; + repeated SignedVoluntaryExit voluntary_exits = 8 [(ethereum.eth.ext.ssz_max) = "16"]; } // Proposer slashings are proofs that a slashable offense has been committed by @@ -105,22 +105,22 @@ message AttesterSlashing { // Deposit into the Ethereum 2.0 from the Ethereum 1.x deposit contract. message Deposit { + // DepositData that is encoded into a deposit signature. message Data { // 48 byte BLS public key of the validator. - bytes public_key = 1 [(gogoproto.moretags) = "ssz-size:\"48\" spec-name:\"pubkey\""]; + bytes public_key = 1 [(ethereum.eth.ext.ssz_size) = "48", (ethereum.eth.ext.spec_name) = "pubkey"]; // A 32 byte hash of the withdrawal address public key. - bytes withdrawal_credentials = 2 [(gogoproto.moretags) = "ssz-size:\"32\""]; + bytes withdrawal_credentials = 2 [(ethereum.eth.ext.ssz_size) = "32"]; // Deposit amount in gwei. uint64 amount = 3; // 96 byte signature from the validators public key. - bytes signature = 4 [(gogoproto.moretags) = "ssz-size:\"96\""]; + bytes signature = 4 [(ethereum.eth.ext.ssz_size) = "96"]; } - // 32 byte roots in the deposit tree branch. - repeated bytes proof = 1 [(gogoproto.moretags) = "ssz-size:\"33,32\""]; + repeated bytes proof = 1 [(ethereum.eth.ext.ssz_size) = "33,32"]; Data data = 2; } @@ -130,10 +130,10 @@ message Deposit { // validator signature. message VoluntaryExit { // The epoch on when exit request becomes valid. - uint64 epoch = 1 [(gogoproto.casttype) = "github.com/prysmaticlabs/eth2-types.Epoch"]; + uint64 epoch = 1 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/eth2-types.Epoch"]; // Index of the exiting validator. - uint64 validator_index = 2 [(gogoproto.casttype) = "github.com/prysmaticlabs/eth2-types.ValidatorIndex"]; + uint64 validator_index = 2 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/eth2-types.ValidatorIndex"]; } // The signed version of voluntary exit. @@ -142,14 +142,14 @@ message SignedVoluntaryExit { VoluntaryExit exit = 1; // Validator's 96 byte signature - bytes signature = 2 [(gogoproto.moretags) = "ssz-size:\"96\""]; + bytes signature = 2 [(ethereum.eth.ext.ssz_size) = "96"]; } // Eth1Data represents references to the Ethereum 1.x deposit contract. message Eth1Data { // The 32 byte deposit tree root for the last deposit included in this // block. - bytes deposit_root = 1 [(gogoproto.moretags) = "ssz-size:\"32\""]; + bytes deposit_root = 1 [(ethereum.eth.ext.ssz_size) = "32"]; // The total number of deposits included in the beacon chain since genesis // including the deposits in this block. @@ -157,7 +157,7 @@ message Eth1Data { // The 32 byte block hash of the Ethereum 1.x block considered for deposit // inclusion. - bytes block_hash = 3 [(gogoproto.moretags) = "ssz-size:\"32\""]; + bytes block_hash = 3 [(ethereum.eth.ext.ssz_size) = "32"]; } // A beacon block header is essentially a beacon block with only a reference to @@ -166,19 +166,19 @@ message Eth1Data { // a validator signature. message BeaconBlockHeader { // Beacon chain slot that this block represents. - uint64 slot = 1 [(gogoproto.casttype) = "github.com/prysmaticlabs/eth2-types.Slot"]; + uint64 slot = 1 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/eth2-types.Slot"]; // Validator index of the validator that proposed the block header. - uint64 proposer_index = 2 [(gogoproto.casttype) = "github.com/prysmaticlabs/eth2-types.ValidatorIndex"]; + uint64 proposer_index = 2 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/eth2-types.ValidatorIndex"]; // 32 byte merkle tree root of the parent ssz encoded block. - bytes parent_root = 3 [(gogoproto.moretags) = "ssz-size:\"32\""]; + bytes parent_root = 3 [(ethereum.eth.ext.ssz_size) = "32"]; // 32 byte merkle tree root of the resulting ssz encoded state after processing this block. - bytes state_root = 4 [(gogoproto.moretags) = "ssz-size:\"32\""]; + bytes state_root = 4 [(ethereum.eth.ext.ssz_size) = "32"]; // 32 byte merkle tree root of the ssz encoded block body. - bytes body_root = 5 [(gogoproto.moretags) = "ssz-size:\"32\""]; + bytes body_root = 5 [(ethereum.eth.ext.ssz_size) = "32"]; } message SignedBeaconBlockHeader { @@ -186,14 +186,14 @@ message SignedBeaconBlockHeader { BeaconBlockHeader header = 1; // 96 byte BLS signature from the validator that produced this block header. - bytes signature = 2 [(gogoproto.moretags) = "ssz-size:\"96\""]; + bytes signature = 2 [(ethereum.eth.ext.ssz_size) = "96"]; } message IndexedAttestation { - repeated uint64 attesting_indices = 1 [(gogoproto.moretags) = "ssz-max:\"2048\""]; + repeated uint64 attesting_indices = 1 [(ethereum.eth.ext.ssz_max) = "2048"]; AttestationData data = 2; // 96 bytes aggregate signature. - bytes signature = 3 [(gogoproto.moretags) = "ssz-size:\"96\""]; + bytes signature = 3 [(ethereum.eth.ext.ssz_size) = "96"]; } diff --git a/eth/v1alpha1/beacon_block_altair.pb.go b/eth/v1alpha1/beacon_block_altair.pb.go new file mode 100644 index 00000000..a137437d --- /dev/null +++ b/eth/v1alpha1/beacon_block_altair.pb.go @@ -0,0 +1,558 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.25.0 +// protoc v3.15.6 +// source: eth/v1alpha1/beacon_block_altair.proto + +package eth + +import ( + reflect "reflect" + sync "sync" + + proto "github.com/golang/protobuf/proto" + github_com_prysmaticlabs_eth2_types "github.com/prysmaticlabs/eth2-types" + _ "github.com/prysmaticlabs/ethereumapis/eth/ext" + github_com_prysmaticlabs_go_bitfield "github.com/prysmaticlabs/go-bitfield" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" +) + +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 that a sufficiently up-to-date version +// of the legacy proto package is being used. +const _ = proto.ProtoPackageIsVersion4 + +type SignedBeaconBlockAltair struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Block *BeaconBlockAltair `protobuf:"bytes,1,opt,name=block,proto3" json:"block,omitempty"` + Signature []byte `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty" ssz-size:"96"` +} + +func (x *SignedBeaconBlockAltair) Reset() { + *x = SignedBeaconBlockAltair{} + if protoimpl.UnsafeEnabled { + mi := &file_eth_v1alpha1_beacon_block_altair_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SignedBeaconBlockAltair) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SignedBeaconBlockAltair) ProtoMessage() {} + +func (x *SignedBeaconBlockAltair) ProtoReflect() protoreflect.Message { + mi := &file_eth_v1alpha1_beacon_block_altair_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 SignedBeaconBlockAltair.ProtoReflect.Descriptor instead. +func (*SignedBeaconBlockAltair) Descriptor() ([]byte, []int) { + return file_eth_v1alpha1_beacon_block_altair_proto_rawDescGZIP(), []int{0} +} + +func (x *SignedBeaconBlockAltair) GetBlock() *BeaconBlockAltair { + if x != nil { + return x.Block + } + return nil +} + +func (x *SignedBeaconBlockAltair) GetSignature() []byte { + if x != nil { + return x.Signature + } + return nil +} + +type BeaconBlockAltair struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Slot github_com_prysmaticlabs_eth2_types.Slot `protobuf:"varint,1,opt,name=slot,proto3" json:"slot,omitempty" cast-type:"github.com/prysmaticlabs/eth2-types.Slot"` + ProposerIndex github_com_prysmaticlabs_eth2_types.ValidatorIndex `protobuf:"varint,2,opt,name=proposer_index,json=proposerIndex,proto3" json:"proposer_index,omitempty" cast-type:"github.com/prysmaticlabs/eth2-types.ValidatorIndex"` + ParentRoot []byte `protobuf:"bytes,3,opt,name=parent_root,json=parentRoot,proto3" json:"parent_root,omitempty" ssz-size:"32"` + StateRoot []byte `protobuf:"bytes,4,opt,name=state_root,json=stateRoot,proto3" json:"state_root,omitempty" ssz-size:"32"` + Body *BeaconBlockBodyAltair `protobuf:"bytes,5,opt,name=body,proto3" json:"body,omitempty"` +} + +func (x *BeaconBlockAltair) Reset() { + *x = BeaconBlockAltair{} + if protoimpl.UnsafeEnabled { + mi := &file_eth_v1alpha1_beacon_block_altair_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *BeaconBlockAltair) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*BeaconBlockAltair) ProtoMessage() {} + +func (x *BeaconBlockAltair) ProtoReflect() protoreflect.Message { + mi := &file_eth_v1alpha1_beacon_block_altair_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 BeaconBlockAltair.ProtoReflect.Descriptor instead. +func (*BeaconBlockAltair) Descriptor() ([]byte, []int) { + return file_eth_v1alpha1_beacon_block_altair_proto_rawDescGZIP(), []int{1} +} + +func (x *BeaconBlockAltair) GetSlot() github_com_prysmaticlabs_eth2_types.Slot { + if x != nil { + return x.Slot + } + return github_com_prysmaticlabs_eth2_types.Slot(0) +} + +func (x *BeaconBlockAltair) GetProposerIndex() github_com_prysmaticlabs_eth2_types.ValidatorIndex { + if x != nil { + return x.ProposerIndex + } + return github_com_prysmaticlabs_eth2_types.ValidatorIndex(0) +} + +func (x *BeaconBlockAltair) GetParentRoot() []byte { + if x != nil { + return x.ParentRoot + } + return nil +} + +func (x *BeaconBlockAltair) GetStateRoot() []byte { + if x != nil { + return x.StateRoot + } + return nil +} + +func (x *BeaconBlockAltair) GetBody() *BeaconBlockBodyAltair { + if x != nil { + return x.Body + } + return nil +} + +type BeaconBlockBodyAltair struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + RandaoReveal []byte `protobuf:"bytes,1,opt,name=randao_reveal,json=randaoReveal,proto3" json:"randao_reveal,omitempty" ssz-size:"96"` + Eth1Data *Eth1Data `protobuf:"bytes,2,opt,name=eth1_data,json=eth1Data,proto3" json:"eth1_data,omitempty"` + Graffiti []byte `protobuf:"bytes,3,opt,name=graffiti,proto3" json:"graffiti,omitempty" ssz-size:"32"` + ProposerSlashings []*ProposerSlashing `protobuf:"bytes,4,rep,name=proposer_slashings,json=proposerSlashings,proto3" json:"proposer_slashings,omitempty" ssz-max:"16"` + AttesterSlashings []*AttesterSlashing `protobuf:"bytes,5,rep,name=attester_slashings,json=attesterSlashings,proto3" json:"attester_slashings,omitempty" ssz-max:"2"` + Attestations []*Attestation `protobuf:"bytes,6,rep,name=attestations,proto3" json:"attestations,omitempty" ssz-max:"128"` + Deposits []*Deposit `protobuf:"bytes,7,rep,name=deposits,proto3" json:"deposits,omitempty" ssz-max:"16"` + VoluntaryExits []*SignedVoluntaryExit `protobuf:"bytes,8,rep,name=voluntary_exits,json=voluntaryExits,proto3" json:"voluntary_exits,omitempty" ssz-max:"16"` + SyncAggregate *SyncAggregate `protobuf:"bytes,9,opt,name=sync_aggregate,json=syncAggregate,proto3" json:"sync_aggregate,omitempty"` +} + +func (x *BeaconBlockBodyAltair) Reset() { + *x = BeaconBlockBodyAltair{} + if protoimpl.UnsafeEnabled { + mi := &file_eth_v1alpha1_beacon_block_altair_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *BeaconBlockBodyAltair) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*BeaconBlockBodyAltair) ProtoMessage() {} + +func (x *BeaconBlockBodyAltair) ProtoReflect() protoreflect.Message { + mi := &file_eth_v1alpha1_beacon_block_altair_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 BeaconBlockBodyAltair.ProtoReflect.Descriptor instead. +func (*BeaconBlockBodyAltair) Descriptor() ([]byte, []int) { + return file_eth_v1alpha1_beacon_block_altair_proto_rawDescGZIP(), []int{2} +} + +func (x *BeaconBlockBodyAltair) GetRandaoReveal() []byte { + if x != nil { + return x.RandaoReveal + } + return nil +} + +func (x *BeaconBlockBodyAltair) GetEth1Data() *Eth1Data { + if x != nil { + return x.Eth1Data + } + return nil +} + +func (x *BeaconBlockBodyAltair) GetGraffiti() []byte { + if x != nil { + return x.Graffiti + } + return nil +} + +func (x *BeaconBlockBodyAltair) GetProposerSlashings() []*ProposerSlashing { + if x != nil { + return x.ProposerSlashings + } + return nil +} + +func (x *BeaconBlockBodyAltair) GetAttesterSlashings() []*AttesterSlashing { + if x != nil { + return x.AttesterSlashings + } + return nil +} + +func (x *BeaconBlockBodyAltair) GetAttestations() []*Attestation { + if x != nil { + return x.Attestations + } + return nil +} + +func (x *BeaconBlockBodyAltair) GetDeposits() []*Deposit { + if x != nil { + return x.Deposits + } + return nil +} + +func (x *BeaconBlockBodyAltair) GetVoluntaryExits() []*SignedVoluntaryExit { + if x != nil { + return x.VoluntaryExits + } + return nil +} + +func (x *BeaconBlockBodyAltair) GetSyncAggregate() *SyncAggregate { + if x != nil { + return x.SyncAggregate + } + return nil +} + +type SyncAggregate struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + SyncCommitteeBits github_com_prysmaticlabs_go_bitfield.Bitvector1024 `protobuf:"bytes,1,opt,name=sync_committee_bits,json=syncCommitteeBits,proto3" json:"sync_committee_bits,omitempty" cast-type:"github.com/prysmaticlabs/go-bitfield.Bitvector1024" ssz-size:"1"` + SyncCommitteeSignature []byte `protobuf:"bytes,2,opt,name=sync_committee_signature,json=syncCommitteeSignature,proto3" json:"sync_committee_signature,omitempty" ssz-size:"96"` +} + +func (x *SyncAggregate) Reset() { + *x = SyncAggregate{} + if protoimpl.UnsafeEnabled { + mi := &file_eth_v1alpha1_beacon_block_altair_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SyncAggregate) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SyncAggregate) ProtoMessage() {} + +func (x *SyncAggregate) ProtoReflect() protoreflect.Message { + mi := &file_eth_v1alpha1_beacon_block_altair_proto_msgTypes[3] + 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 SyncAggregate.ProtoReflect.Descriptor instead. +func (*SyncAggregate) Descriptor() ([]byte, []int) { + return file_eth_v1alpha1_beacon_block_altair_proto_rawDescGZIP(), []int{3} +} + +func (x *SyncAggregate) GetSyncCommitteeBits() github_com_prysmaticlabs_go_bitfield.Bitvector1024 { + if x != nil { + return x.SyncCommitteeBits + } + return github_com_prysmaticlabs_go_bitfield.Bitvector1024(nil) +} + +func (x *SyncAggregate) GetSyncCommitteeSignature() []byte { + if x != nil { + return x.SyncCommitteeSignature + } + return nil +} + +var File_eth_v1alpha1_beacon_block_altair_proto protoreflect.FileDescriptor + +var file_eth_v1alpha1_beacon_block_altair_proto_rawDesc = []byte{ + 0x0a, 0x26, 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, 0x5f, 0x61, 0x6c, 0x74, 0x61, + 0x69, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x15, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, + 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x1a, + 0x15, 0x65, 0x74, 0x68, 0x2f, 0x65, 0x78, 0x74, 0x2f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 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, 0x22, 0x7f, 0x0a, 0x17, 0x53, 0x69, 0x67, 0x6e, 0x65, + 0x64, 0x42, 0x65, 0x61, 0x63, 0x6f, 0x6e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x41, 0x6c, 0x74, 0x61, + 0x69, 0x72, 0x12, 0x3e, 0x0a, 0x05, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x28, 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, 0x41, 0x6c, 0x74, 0x61, 0x69, 0x72, 0x52, 0x05, 0x62, 0x6c, 0x6f, + 0x63, 0x6b, 0x12, 0x24, 0x0a, 0x09, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x0c, 0x42, 0x06, 0x8a, 0xb5, 0x18, 0x02, 0x39, 0x36, 0x52, 0x09, 0x73, + 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x22, 0xc6, 0x02, 0x0a, 0x11, 0x42, 0x65, 0x61, + 0x63, 0x6f, 0x6e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x41, 0x6c, 0x74, 0x61, 0x69, 0x72, 0x12, 0x40, + 0x0a, 0x04, 0x73, 0x6c, 0x6f, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x42, 0x2c, 0x82, 0xb5, + 0x18, 0x28, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x72, 0x79, + 0x73, 0x6d, 0x61, 0x74, 0x69, 0x63, 0x6c, 0x61, 0x62, 0x73, 0x2f, 0x65, 0x74, 0x68, 0x32, 0x2d, + 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x53, 0x6c, 0x6f, 0x74, 0x52, 0x04, 0x73, 0x6c, 0x6f, 0x74, + 0x12, 0x5d, 0x0a, 0x0e, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x6e, 0x64, + 0x65, 0x78, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x42, 0x36, 0x82, 0xb5, 0x18, 0x32, 0x67, 0x69, + 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x72, 0x79, 0x73, 0x6d, 0x61, 0x74, + 0x69, 0x63, 0x6c, 0x61, 0x62, 0x73, 0x2f, 0x65, 0x74, 0x68, 0x32, 0x2d, 0x74, 0x79, 0x70, 0x65, + 0x73, 0x2e, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x49, 0x6e, 0x64, 0x65, 0x78, + 0x52, 0x0d, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x65, 0x72, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, + 0x27, 0x0a, 0x0b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x72, 0x6f, 0x6f, 0x74, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x0c, 0x42, 0x06, 0x8a, 0xb5, 0x18, 0x02, 0x33, 0x32, 0x52, 0x0a, 0x70, 0x61, + 0x72, 0x65, 0x6e, 0x74, 0x52, 0x6f, 0x6f, 0x74, 0x12, 0x25, 0x0a, 0x0a, 0x73, 0x74, 0x61, 0x74, + 0x65, 0x5f, 0x72, 0x6f, 0x6f, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x42, 0x06, 0x8a, 0xb5, + 0x18, 0x02, 0x33, 0x32, 0x52, 0x09, 0x73, 0x74, 0x61, 0x74, 0x65, 0x52, 0x6f, 0x6f, 0x74, 0x12, + 0x40, 0x0a, 0x04, 0x62, 0x6f, 0x64, 0x79, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2c, 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, 0x42, 0x6f, 0x64, 0x79, 0x41, 0x6c, 0x74, 0x61, 0x69, 0x72, 0x52, 0x04, 0x62, 0x6f, 0x64, + 0x79, 0x22, 0xa4, 0x05, 0x0a, 0x15, 0x42, 0x65, 0x61, 0x63, 0x6f, 0x6e, 0x42, 0x6c, 0x6f, 0x63, + 0x6b, 0x42, 0x6f, 0x64, 0x79, 0x41, 0x6c, 0x74, 0x61, 0x69, 0x72, 0x12, 0x2b, 0x0a, 0x0d, 0x72, + 0x61, 0x6e, 0x64, 0x61, 0x6f, 0x5f, 0x72, 0x65, 0x76, 0x65, 0x61, 0x6c, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0c, 0x42, 0x06, 0x8a, 0xb5, 0x18, 0x02, 0x39, 0x36, 0x52, 0x0c, 0x72, 0x61, 0x6e, 0x64, + 0x61, 0x6f, 0x52, 0x65, 0x76, 0x65, 0x61, 0x6c, 0x12, 0x3c, 0x0a, 0x09, 0x65, 0x74, 0x68, 0x31, + 0x5f, 0x64, 0x61, 0x74, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x65, 0x74, + 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, + 0x68, 0x61, 0x31, 0x2e, 0x45, 0x74, 0x68, 0x31, 0x44, 0x61, 0x74, 0x61, 0x52, 0x08, 0x65, 0x74, + 0x68, 0x31, 0x44, 0x61, 0x74, 0x61, 0x12, 0x22, 0x0a, 0x08, 0x67, 0x72, 0x61, 0x66, 0x66, 0x69, + 0x74, 0x69, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x42, 0x06, 0x8a, 0xb5, 0x18, 0x02, 0x33, 0x32, + 0x52, 0x08, 0x67, 0x72, 0x61, 0x66, 0x66, 0x69, 0x74, 0x69, 0x12, 0x5e, 0x0a, 0x12, 0x70, 0x72, + 0x6f, 0x70, 0x6f, 0x73, 0x65, 0x72, 0x5f, 0x73, 0x6c, 0x61, 0x73, 0x68, 0x69, 0x6e, 0x67, 0x73, + 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, + 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, + 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x65, 0x72, 0x53, 0x6c, 0x61, 0x73, 0x68, 0x69, 0x6e, 0x67, 0x42, + 0x06, 0x92, 0xb5, 0x18, 0x02, 0x31, 0x36, 0x52, 0x11, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x65, + 0x72, 0x53, 0x6c, 0x61, 0x73, 0x68, 0x69, 0x6e, 0x67, 0x73, 0x12, 0x5d, 0x0a, 0x12, 0x61, 0x74, + 0x74, 0x65, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x73, 0x6c, 0x61, 0x73, 0x68, 0x69, 0x6e, 0x67, 0x73, + 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x27, 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, 0x65, 0x72, 0x53, 0x6c, 0x61, 0x73, 0x68, 0x69, 0x6e, 0x67, 0x42, + 0x05, 0x92, 0xb5, 0x18, 0x01, 0x32, 0x52, 0x11, 0x61, 0x74, 0x74, 0x65, 0x73, 0x74, 0x65, 0x72, + 0x53, 0x6c, 0x61, 0x73, 0x68, 0x69, 0x6e, 0x67, 0x73, 0x12, 0x4f, 0x0a, 0x0c, 0x61, 0x74, 0x74, + 0x65, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x06, 0x20, 0x03, 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, 0x41, 0x74, 0x74, 0x65, 0x73, 0x74, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x42, 0x07, 0x92, 0xb5, 0x18, 0x03, 0x31, 0x32, 0x38, 0x52, 0x0c, 0x61, 0x74, + 0x74, 0x65, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x42, 0x0a, 0x08, 0x64, 0x65, + 0x70, 0x6f, 0x73, 0x69, 0x74, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x65, + 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x61, 0x6c, + 0x70, 0x68, 0x61, 0x31, 0x2e, 0x44, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x42, 0x06, 0x92, 0xb5, + 0x18, 0x02, 0x31, 0x36, 0x52, 0x08, 0x64, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x73, 0x12, 0x5b, + 0x0a, 0x0f, 0x76, 0x6f, 0x6c, 0x75, 0x6e, 0x74, 0x61, 0x72, 0x79, 0x5f, 0x65, 0x78, 0x69, 0x74, + 0x73, 0x18, 0x08, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, + 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, + 0x53, 0x69, 0x67, 0x6e, 0x65, 0x64, 0x56, 0x6f, 0x6c, 0x75, 0x6e, 0x74, 0x61, 0x72, 0x79, 0x45, + 0x78, 0x69, 0x74, 0x42, 0x06, 0x92, 0xb5, 0x18, 0x02, 0x31, 0x36, 0x52, 0x0e, 0x76, 0x6f, 0x6c, + 0x75, 0x6e, 0x74, 0x61, 0x72, 0x79, 0x45, 0x78, 0x69, 0x74, 0x73, 0x12, 0x4b, 0x0a, 0x0e, 0x73, + 0x79, 0x6e, 0x63, 0x5f, 0x61, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x65, 0x18, 0x09, 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, 0x53, 0x79, 0x6e, 0x63, + 0x41, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x65, 0x52, 0x0d, 0x73, 0x79, 0x6e, 0x63, 0x41, + 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x65, 0x22, 0xbe, 0x01, 0x0a, 0x0d, 0x53, 0x79, 0x6e, + 0x63, 0x41, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x65, 0x12, 0x6b, 0x0a, 0x13, 0x73, 0x79, + 0x6e, 0x63, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x74, 0x65, 0x65, 0x5f, 0x62, 0x69, 0x74, + 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x42, 0x3b, 0x8a, 0xb5, 0x18, 0x01, 0x31, 0x82, 0xb5, + 0x18, 0x32, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x72, 0x79, + 0x73, 0x6d, 0x61, 0x74, 0x69, 0x63, 0x6c, 0x61, 0x62, 0x73, 0x2f, 0x67, 0x6f, 0x2d, 0x62, 0x69, + 0x74, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x2e, 0x42, 0x69, 0x74, 0x76, 0x65, 0x63, 0x74, 0x6f, 0x72, + 0x31, 0x30, 0x32, 0x34, 0x52, 0x11, 0x73, 0x79, 0x6e, 0x63, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, + 0x74, 0x65, 0x65, 0x42, 0x69, 0x74, 0x73, 0x12, 0x40, 0x0a, 0x18, 0x73, 0x79, 0x6e, 0x63, 0x5f, + 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x74, 0x65, 0x65, 0x5f, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, + 0x75, 0x72, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x42, 0x06, 0x8a, 0xb5, 0x18, 0x02, 0x39, + 0x36, 0x52, 0x16, 0x73, 0x79, 0x6e, 0x63, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x74, 0x65, 0x65, + 0x53, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x42, 0x9d, 0x01, 0x0a, 0x19, 0x6f, 0x72, + 0x67, 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, + 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x42, 0x16, 0x42, 0x65, 0x61, 0x63, 0x6f, 0x6e, 0x42, + 0x6c, 0x6f, 0x63, 0x6b, 0x41, 0x6c, 0x74, 0x61, 0x69, 0x72, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, + 0x01, 0x5a, 0x36, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x72, + 0x79, 0x73, 0x6d, 0x61, 0x74, 0x69, 0x63, 0x6c, 0x61, 0x62, 0x73, 0x2f, 0x65, 0x74, 0x68, 0x65, + 0x72, 0x65, 0x75, 0x6d, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x65, 0x74, 0x68, 0x2f, 0x76, 0x31, 0x61, + 0x6c, 0x70, 0x68, 0x61, 0x31, 0x3b, 0x65, 0x74, 0x68, 0xaa, 0x02, 0x15, 0x45, 0x74, 0x68, 0x65, + 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x45, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, + 0x31, 0xca, 0x02, 0x15, 0x45, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x5c, 0x45, 0x74, 0x68, + 0x5c, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x33, +} + +var ( + file_eth_v1alpha1_beacon_block_altair_proto_rawDescOnce sync.Once + file_eth_v1alpha1_beacon_block_altair_proto_rawDescData = file_eth_v1alpha1_beacon_block_altair_proto_rawDesc +) + +func file_eth_v1alpha1_beacon_block_altair_proto_rawDescGZIP() []byte { + file_eth_v1alpha1_beacon_block_altair_proto_rawDescOnce.Do(func() { + file_eth_v1alpha1_beacon_block_altair_proto_rawDescData = protoimpl.X.CompressGZIP(file_eth_v1alpha1_beacon_block_altair_proto_rawDescData) + }) + return file_eth_v1alpha1_beacon_block_altair_proto_rawDescData +} + +var file_eth_v1alpha1_beacon_block_altair_proto_msgTypes = make([]protoimpl.MessageInfo, 4) +var file_eth_v1alpha1_beacon_block_altair_proto_goTypes = []interface{}{ + (*SignedBeaconBlockAltair)(nil), // 0: ethereum.eth.v1alpha1.SignedBeaconBlockAltair + (*BeaconBlockAltair)(nil), // 1: ethereum.eth.v1alpha1.BeaconBlockAltair + (*BeaconBlockBodyAltair)(nil), // 2: ethereum.eth.v1alpha1.BeaconBlockBodyAltair + (*SyncAggregate)(nil), // 3: ethereum.eth.v1alpha1.SyncAggregate + (*Eth1Data)(nil), // 4: ethereum.eth.v1alpha1.Eth1Data + (*ProposerSlashing)(nil), // 5: ethereum.eth.v1alpha1.ProposerSlashing + (*AttesterSlashing)(nil), // 6: ethereum.eth.v1alpha1.AttesterSlashing + (*Attestation)(nil), // 7: ethereum.eth.v1alpha1.Attestation + (*Deposit)(nil), // 8: ethereum.eth.v1alpha1.Deposit + (*SignedVoluntaryExit)(nil), // 9: ethereum.eth.v1alpha1.SignedVoluntaryExit +} +var file_eth_v1alpha1_beacon_block_altair_proto_depIdxs = []int32{ + 1, // 0: ethereum.eth.v1alpha1.SignedBeaconBlockAltair.block:type_name -> ethereum.eth.v1alpha1.BeaconBlockAltair + 2, // 1: ethereum.eth.v1alpha1.BeaconBlockAltair.body:type_name -> ethereum.eth.v1alpha1.BeaconBlockBodyAltair + 4, // 2: ethereum.eth.v1alpha1.BeaconBlockBodyAltair.eth1_data:type_name -> ethereum.eth.v1alpha1.Eth1Data + 5, // 3: ethereum.eth.v1alpha1.BeaconBlockBodyAltair.proposer_slashings:type_name -> ethereum.eth.v1alpha1.ProposerSlashing + 6, // 4: ethereum.eth.v1alpha1.BeaconBlockBodyAltair.attester_slashings:type_name -> ethereum.eth.v1alpha1.AttesterSlashing + 7, // 5: ethereum.eth.v1alpha1.BeaconBlockBodyAltair.attestations:type_name -> ethereum.eth.v1alpha1.Attestation + 8, // 6: ethereum.eth.v1alpha1.BeaconBlockBodyAltair.deposits:type_name -> ethereum.eth.v1alpha1.Deposit + 9, // 7: ethereum.eth.v1alpha1.BeaconBlockBodyAltair.voluntary_exits:type_name -> ethereum.eth.v1alpha1.SignedVoluntaryExit + 3, // 8: ethereum.eth.v1alpha1.BeaconBlockBodyAltair.sync_aggregate:type_name -> ethereum.eth.v1alpha1.SyncAggregate + 9, // [9:9] is the sub-list for method output_type + 9, // [9:9] is the sub-list for method input_type + 9, // [9:9] is the sub-list for extension type_name + 9, // [9:9] is the sub-list for extension extendee + 0, // [0:9] is the sub-list for field type_name +} + +func init() { file_eth_v1alpha1_beacon_block_altair_proto_init() } +func file_eth_v1alpha1_beacon_block_altair_proto_init() { + if File_eth_v1alpha1_beacon_block_altair_proto != nil { + return + } + file_eth_v1alpha1_attestation_proto_init() + file_eth_v1alpha1_beacon_block_proto_init() + if !protoimpl.UnsafeEnabled { + file_eth_v1alpha1_beacon_block_altair_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SignedBeaconBlockAltair); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_eth_v1alpha1_beacon_block_altair_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*BeaconBlockAltair); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_eth_v1alpha1_beacon_block_altair_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*BeaconBlockBodyAltair); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_eth_v1alpha1_beacon_block_altair_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SyncAggregate); 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_eth_v1alpha1_beacon_block_altair_proto_rawDesc, + NumEnums: 0, + NumMessages: 4, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_eth_v1alpha1_beacon_block_altair_proto_goTypes, + DependencyIndexes: file_eth_v1alpha1_beacon_block_altair_proto_depIdxs, + MessageInfos: file_eth_v1alpha1_beacon_block_altair_proto_msgTypes, + }.Build() + File_eth_v1alpha1_beacon_block_altair_proto = out.File + file_eth_v1alpha1_beacon_block_altair_proto_rawDesc = nil + file_eth_v1alpha1_beacon_block_altair_proto_goTypes = nil + file_eth_v1alpha1_beacon_block_altair_proto_depIdxs = nil +} diff --git a/eth/v1alpha1/beacon_block_altair.pb.gw.go b/eth/v1alpha1/beacon_block_altair.pb.gw.go new file mode 100644 index 00000000..33d2475d --- /dev/null +++ b/eth/v1alpha1/beacon_block_altair.pb.gw.go @@ -0,0 +1,3 @@ +// +build ignore + +package ignore diff --git a/eth/v1alpha1/beacon_block_altair.proto b/eth/v1alpha1/beacon_block_altair.proto index e0315b8f..cda98fc8 100644 --- a/eth/v1alpha1/beacon_block_altair.proto +++ b/eth/v1alpha1/beacon_block_altair.proto @@ -15,7 +15,7 @@ syntax = "proto3"; package ethereum.eth.v1alpha1; -import "github.com/gogo/protobuf/gogoproto/gogo.proto"; +import "eth/ext/options.proto"; import "eth/v1alpha1/attestation.proto"; import "eth/v1alpha1/beacon_block.proto"; @@ -32,22 +32,22 @@ message SignedBeaconBlockAltair { BeaconBlockAltair block = 1; // 96 byte BLS signature from the validator that produced this block. - bytes signature = 2 [(gogoproto.moretags) = "ssz-size:\"96\""]; + bytes signature = 2 [(ethereum.eth.ext.ssz_size) = "96"]; } // The unsigned version of a Altair(HF1) beacon block.. The message does not contain a validator signature. message BeaconBlockAltair { // Beacon chain slot that this block represents. - uint64 slot = 1 [(gogoproto.casttype) = "github.com/prysmaticlabs/eth2-types.Slot"]; + uint64 slot = 1 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/eth2-types.Slot"]; // Validator index of the validator that proposed the block header. - uint64 proposer_index = 2 [(gogoproto.casttype) = "github.com/prysmaticlabs/eth2-types.ValidatorIndex"]; + uint64 proposer_index = 2 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/eth2-types.ValidatorIndex"]; // 32 byte root of the parent block. - bytes parent_root = 3 [(gogoproto.moretags) = "ssz-size:\"32\""]; + bytes parent_root = 3 [(ethereum.eth.ext.ssz_size) = "32"]; // 32 byte root of the resulting state after processing this block. - bytes state_root = 4 [(gogoproto.moretags) = "ssz-size:\"32\""]; + bytes state_root = 4 [(ethereum.eth.ext.ssz_size) = "32"]; // The Altair beacon block body. BeaconBlockBodyAltair body = 5; @@ -57,32 +57,32 @@ message BeaconBlockAltair { // The new addition for Altair is SyncAggregate for light client support. message BeaconBlockBodyAltair { // The validators RANDAO reveal 96 byte value. - bytes randao_reveal = 1 [(gogoproto.moretags) = "ssz-size:\"96\""]; + bytes randao_reveal = 1 [(ethereum.eth.ext.ssz_size) = "96"]; // A reference to the Ethereum 1.x chain. Eth1Data eth1_data = 2; // 32 byte field of arbitrary data. This field may contain any data and // is not used for anything other than a fun message. - bytes graffiti = 3 [(gogoproto.moretags) = "ssz-size:\"32\""]; + bytes graffiti = 3 [(ethereum.eth.ext.ssz_size) = "32"]; // Block operations // Refer to spec constants at https://github.com/ethereum/eth2.0-specs/blob/dev/specs/core/0_beacon-chain.md#max-operations-per-block // At most MAX_PROPOSER_SLASHINGS. - repeated ProposerSlashing proposer_slashings = 4 [(gogoproto.moretags) = "ssz-max:\"16\""]; + repeated ProposerSlashing proposer_slashings = 4 [(ethereum.eth.ext.ssz_max) = "16"]; // At most MAX_ATTESTER_SLASHINGS. - repeated AttesterSlashing attester_slashings = 5 [(gogoproto.moretags) = "ssz-max:\"2\""]; + repeated AttesterSlashing attester_slashings = 5 [(ethereum.eth.ext.ssz_max) = "2"]; // At most MAX_ATTESTATIONS. - repeated Attestation attestations = 6 [(gogoproto.moretags) = "ssz-max:\"128\""]; + repeated Attestation attestations = 6 [(ethereum.eth.ext.ssz_max) = "128"]; // At most MAX_DEPOSITS. - repeated Deposit deposits = 7 [(gogoproto.moretags) = "ssz-max:\"16\""]; + repeated Deposit deposits = 7 [(ethereum.eth.ext.ssz_max) = "16"]; // At most MAX_VOLUNTARY_EXITS. - repeated SignedVoluntaryExit voluntary_exits = 8 [(gogoproto.moretags) = "ssz-max:\"16\""]; + repeated SignedVoluntaryExit voluntary_exits = 8 [(ethereum.eth.ext.ssz_max) = "16"]; // Sync aggregate object to track sync committee votes for light client support. [New in Altair] SyncAggregate sync_aggregate = 9; @@ -92,8 +92,8 @@ message BeaconBlockBodyAltair { // support light client infra. message SyncAggregate { // Sync committee bits as Bitvector to track votes. - bytes sync_committee_bits = 1 [(gogoproto.moretags) = "ssz-size:\"1\"", (gogoproto.casttype) = "github.com/prysmaticlabs/go-bitfield.Bitvector1024"]; + bytes sync_committee_bits = 1 [(ethereum.eth.ext.ssz_size) = "1", (ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/go-bitfield.Bitvector1024"]; // BLS aggregated signature of the sync committee for the ones that voted. - bytes sync_committee_signature = 2 [(gogoproto.moretags) = "ssz-size:\"96\""]; + bytes sync_committee_signature = 2 [(ethereum.eth.ext.ssz_size) = "96"]; } diff --git a/eth/v1alpha1/beacon_chain.pb.go b/eth/v1alpha1/beacon_chain.pb.go old mode 100755 new mode 100644 index 4ee69479..5f6de746 --- a/eth/v1alpha1/beacon_chain.pb.go +++ b/eth/v1alpha1/beacon_chain.pb.go @@ -1,36 +1,38 @@ -// Code generated by protoc-gen-gogo. DO NOT EDIT. +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.25.0 +// protoc v3.15.6 // source: eth/v1alpha1/beacon_chain.proto package eth import ( context "context" - encoding_binary "encoding/binary" - fmt "fmt" - io "io" - math "math" - math_bits "math/bits" - - _ "github.com/gogo/protobuf/gogoproto" - proto "github.com/gogo/protobuf/proto" - types "github.com/gogo/protobuf/types" + reflect "reflect" + sync "sync" + + proto "github.com/golang/protobuf/proto" + empty "github.com/golang/protobuf/ptypes/empty" github_com_prysmaticlabs_eth2_types "github.com/prysmaticlabs/eth2-types" + _ "github.com/prysmaticlabs/ethereumapis/eth/ext" _ "google.golang.org/genproto/googleapis/api/annotations" 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.GoGoProtoPackageIsVersion3 // 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 SetAction int32 @@ -40,142 +42,147 @@ const ( SetAction_SET_VALIDATOR_KEYS SetAction = 2 ) -var SetAction_name = map[int32]string{ - 0: "ADD_VALIDATOR_KEYS", - 1: "REMOVE_VALIDATOR_KEYS", - 2: "SET_VALIDATOR_KEYS", -} +// Enum value maps for SetAction. +var ( + SetAction_name = map[int32]string{ + 0: "ADD_VALIDATOR_KEYS", + 1: "REMOVE_VALIDATOR_KEYS", + 2: "SET_VALIDATOR_KEYS", + } + SetAction_value = map[string]int32{ + "ADD_VALIDATOR_KEYS": 0, + "REMOVE_VALIDATOR_KEYS": 1, + "SET_VALIDATOR_KEYS": 2, + } +) -var SetAction_value = map[string]int32{ - "ADD_VALIDATOR_KEYS": 0, - "REMOVE_VALIDATOR_KEYS": 1, - "SET_VALIDATOR_KEYS": 2, +func (x SetAction) Enum() *SetAction { + p := new(SetAction) + *p = x + return p } func (x SetAction) String() string { - return proto.EnumName(SetAction_name, int32(x)) + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (SetAction) Descriptor() protoreflect.EnumDescriptor { + return file_eth_v1alpha1_beacon_chain_proto_enumTypes[0].Descriptor() +} + +func (SetAction) Type() protoreflect.EnumType { + return &file_eth_v1alpha1_beacon_chain_proto_enumTypes[0] +} + +func (x SetAction) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) } +// Deprecated: Use SetAction.Descriptor instead. func (SetAction) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_e33ad64d6ced77c1, []int{0} + return file_eth_v1alpha1_beacon_chain_proto_rawDescGZIP(), []int{0} } type ValidatorChangeSet struct { - Action SetAction `protobuf:"varint,1,opt,name=action,proto3,enum=ethereum.eth.v1alpha1.SetAction" json:"action,omitempty"` - PublicKeys [][]byte `protobuf:"bytes,2,rep,name=public_keys,json=publicKeys,proto3" json:"public_keys,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Action SetAction `protobuf:"varint,1,opt,name=action,proto3,enum=ethereum.eth.v1alpha1.SetAction" json:"action,omitempty"` + PublicKeys [][]byte `protobuf:"bytes,2,rep,name=public_keys,json=publicKeys,proto3" json:"public_keys,omitempty"` } -func (m *ValidatorChangeSet) Reset() { *m = ValidatorChangeSet{} } -func (m *ValidatorChangeSet) String() string { return proto.CompactTextString(m) } -func (*ValidatorChangeSet) ProtoMessage() {} -func (*ValidatorChangeSet) Descriptor() ([]byte, []int) { - return fileDescriptor_e33ad64d6ced77c1, []int{0} -} -func (m *ValidatorChangeSet) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *ValidatorChangeSet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_ValidatorChangeSet.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *ValidatorChangeSet) Reset() { + *x = ValidatorChangeSet{} + if protoimpl.UnsafeEnabled { + mi := &file_eth_v1alpha1_beacon_chain_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *ValidatorChangeSet) XXX_Merge(src proto.Message) { - xxx_messageInfo_ValidatorChangeSet.Merge(m, src) -} -func (m *ValidatorChangeSet) XXX_Size() int { - return m.Size() + +func (x *ValidatorChangeSet) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ValidatorChangeSet) XXX_DiscardUnknown() { - xxx_messageInfo_ValidatorChangeSet.DiscardUnknown(m) + +func (*ValidatorChangeSet) ProtoMessage() {} + +func (x *ValidatorChangeSet) ProtoReflect() protoreflect.Message { + mi := &file_eth_v1alpha1_beacon_chain_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) } -var xxx_messageInfo_ValidatorChangeSet proto.InternalMessageInfo +// Deprecated: Use ValidatorChangeSet.ProtoReflect.Descriptor instead. +func (*ValidatorChangeSet) Descriptor() ([]byte, []int) { + return file_eth_v1alpha1_beacon_chain_proto_rawDescGZIP(), []int{0} +} -func (m *ValidatorChangeSet) GetAction() SetAction { - if m != nil { - return m.Action +func (x *ValidatorChangeSet) GetAction() SetAction { + if x != nil { + return x.Action } return SetAction_ADD_VALIDATOR_KEYS } -func (m *ValidatorChangeSet) GetPublicKeys() [][]byte { - if m != nil { - return m.PublicKeys +func (x *ValidatorChangeSet) GetPublicKeys() [][]byte { + if x != nil { + return x.PublicKeys } return nil } type ListIndexedAttestationsRequest struct { - // Types that are valid to be assigned to QueryFilter: + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Types that are assignable to QueryFilter: // *ListIndexedAttestationsRequest_Epoch // *ListIndexedAttestationsRequest_GenesisEpoch - QueryFilter isListIndexedAttestationsRequest_QueryFilter `protobuf_oneof:"query_filter"` - PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` - PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + QueryFilter isListIndexedAttestationsRequest_QueryFilter `protobuf_oneof:"query_filter"` + PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` + PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` } -func (m *ListIndexedAttestationsRequest) Reset() { *m = ListIndexedAttestationsRequest{} } -func (m *ListIndexedAttestationsRequest) String() string { return proto.CompactTextString(m) } -func (*ListIndexedAttestationsRequest) ProtoMessage() {} -func (*ListIndexedAttestationsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_e33ad64d6ced77c1, []int{1} -} -func (m *ListIndexedAttestationsRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *ListIndexedAttestationsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_ListIndexedAttestationsRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *ListIndexedAttestationsRequest) Reset() { + *x = ListIndexedAttestationsRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_eth_v1alpha1_beacon_chain_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *ListIndexedAttestationsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListIndexedAttestationsRequest.Merge(m, src) -} -func (m *ListIndexedAttestationsRequest) XXX_Size() int { - return m.Size() -} -func (m *ListIndexedAttestationsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListIndexedAttestationsRequest.DiscardUnknown(m) + +func (x *ListIndexedAttestationsRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -var xxx_messageInfo_ListIndexedAttestationsRequest proto.InternalMessageInfo +func (*ListIndexedAttestationsRequest) ProtoMessage() {} -type isListIndexedAttestationsRequest_QueryFilter interface { - isListIndexedAttestationsRequest_QueryFilter() - MarshalTo([]byte) (int, error) - Size() int +func (x *ListIndexedAttestationsRequest) ProtoReflect() protoreflect.Message { + mi := &file_eth_v1alpha1_beacon_chain_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) } -type ListIndexedAttestationsRequest_Epoch struct { - Epoch github_com_prysmaticlabs_eth2_types.Epoch `protobuf:"varint,1,opt,name=epoch,proto3,oneof,casttype=github.com/prysmaticlabs/eth2-types.Epoch" json:"epoch,omitempty"` -} -type ListIndexedAttestationsRequest_GenesisEpoch struct { - GenesisEpoch bool `protobuf:"varint,2,opt,name=genesis_epoch,json=genesisEpoch,proto3,oneof" json:"genesis_epoch,omitempty"` +// Deprecated: Use ListIndexedAttestationsRequest.ProtoReflect.Descriptor instead. +func (*ListIndexedAttestationsRequest) Descriptor() ([]byte, []int) { + return file_eth_v1alpha1_beacon_chain_proto_rawDescGZIP(), []int{1} } -func (*ListIndexedAttestationsRequest_Epoch) isListIndexedAttestationsRequest_QueryFilter() {} -func (*ListIndexedAttestationsRequest_GenesisEpoch) isListIndexedAttestationsRequest_QueryFilter() {} - func (m *ListIndexedAttestationsRequest) GetQueryFilter() isListIndexedAttestationsRequest_QueryFilter { if m != nil { return m.QueryFilter @@ -183,103 +190,95 @@ func (m *ListIndexedAttestationsRequest) GetQueryFilter() isListIndexedAttestati return nil } -func (m *ListIndexedAttestationsRequest) GetEpoch() github_com_prysmaticlabs_eth2_types.Epoch { - if x, ok := m.GetQueryFilter().(*ListIndexedAttestationsRequest_Epoch); ok { +func (x *ListIndexedAttestationsRequest) GetEpoch() github_com_prysmaticlabs_eth2_types.Epoch { + if x, ok := x.GetQueryFilter().(*ListIndexedAttestationsRequest_Epoch); ok { return x.Epoch } - return 0 + return github_com_prysmaticlabs_eth2_types.Epoch(0) } -func (m *ListIndexedAttestationsRequest) GetGenesisEpoch() bool { - if x, ok := m.GetQueryFilter().(*ListIndexedAttestationsRequest_GenesisEpoch); ok { +func (x *ListIndexedAttestationsRequest) GetGenesisEpoch() bool { + if x, ok := x.GetQueryFilter().(*ListIndexedAttestationsRequest_GenesisEpoch); ok { return x.GenesisEpoch } return false } -func (m *ListIndexedAttestationsRequest) GetPageSize() int32 { - if m != nil { - return m.PageSize +func (x *ListIndexedAttestationsRequest) GetPageSize() int32 { + if x != nil { + return x.PageSize } return 0 } -func (m *ListIndexedAttestationsRequest) GetPageToken() string { - if m != nil { - return m.PageToken +func (x *ListIndexedAttestationsRequest) GetPageToken() string { + if x != nil { + return x.PageToken } return "" } -// XXX_OneofWrappers is for the internal use of the proto package. -func (*ListIndexedAttestationsRequest) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*ListIndexedAttestationsRequest_Epoch)(nil), - (*ListIndexedAttestationsRequest_GenesisEpoch)(nil), - } +type isListIndexedAttestationsRequest_QueryFilter interface { + isListIndexedAttestationsRequest_QueryFilter() +} + +type ListIndexedAttestationsRequest_Epoch struct { + Epoch github_com_prysmaticlabs_eth2_types.Epoch `protobuf:"varint,1,opt,name=epoch,proto3,oneof" cast-type:"github.com/prysmaticlabs/eth2-types.Epoch"` } +type ListIndexedAttestationsRequest_GenesisEpoch struct { + GenesisEpoch bool `protobuf:"varint,2,opt,name=genesis_epoch,json=genesisEpoch,proto3,oneof"` +} + +func (*ListIndexedAttestationsRequest_Epoch) isListIndexedAttestationsRequest_QueryFilter() {} + +func (*ListIndexedAttestationsRequest_GenesisEpoch) isListIndexedAttestationsRequest_QueryFilter() {} + type ListAttestationsRequest struct { - // Types that are valid to be assigned to QueryFilter: + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Types that are assignable to QueryFilter: // *ListAttestationsRequest_Epoch // *ListAttestationsRequest_GenesisEpoch - QueryFilter isListAttestationsRequest_QueryFilter `protobuf_oneof:"query_filter"` - PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` - PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + QueryFilter isListAttestationsRequest_QueryFilter `protobuf_oneof:"query_filter"` + PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` + PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` } -func (m *ListAttestationsRequest) Reset() { *m = ListAttestationsRequest{} } -func (m *ListAttestationsRequest) String() string { return proto.CompactTextString(m) } -func (*ListAttestationsRequest) ProtoMessage() {} -func (*ListAttestationsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_e33ad64d6ced77c1, []int{2} -} -func (m *ListAttestationsRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *ListAttestationsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_ListAttestationsRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *ListAttestationsRequest) Reset() { + *x = ListAttestationsRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_eth_v1alpha1_beacon_chain_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *ListAttestationsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListAttestationsRequest.Merge(m, src) -} -func (m *ListAttestationsRequest) XXX_Size() int { - return m.Size() -} -func (m *ListAttestationsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListAttestationsRequest.DiscardUnknown(m) + +func (x *ListAttestationsRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -var xxx_messageInfo_ListAttestationsRequest proto.InternalMessageInfo +func (*ListAttestationsRequest) ProtoMessage() {} -type isListAttestationsRequest_QueryFilter interface { - isListAttestationsRequest_QueryFilter() - MarshalTo([]byte) (int, error) - Size() int +func (x *ListAttestationsRequest) ProtoReflect() protoreflect.Message { + mi := &file_eth_v1alpha1_beacon_chain_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) } -type ListAttestationsRequest_Epoch struct { - Epoch github_com_prysmaticlabs_eth2_types.Epoch `protobuf:"varint,1,opt,name=epoch,proto3,oneof,casttype=github.com/prysmaticlabs/eth2-types.Epoch" json:"epoch,omitempty"` -} -type ListAttestationsRequest_GenesisEpoch struct { - GenesisEpoch bool `protobuf:"varint,2,opt,name=genesis_epoch,json=genesisEpoch,proto3,oneof" json:"genesis_epoch,omitempty"` +// Deprecated: Use ListAttestationsRequest.ProtoReflect.Descriptor instead. +func (*ListAttestationsRequest) Descriptor() ([]byte, []int) { + return file_eth_v1alpha1_beacon_chain_proto_rawDescGZIP(), []int{2} } -func (*ListAttestationsRequest_Epoch) isListAttestationsRequest_QueryFilter() {} -func (*ListAttestationsRequest_GenesisEpoch) isListAttestationsRequest_QueryFilter() {} - func (m *ListAttestationsRequest) GetQueryFilter() isListAttestationsRequest_QueryFilter { if m != nil { return m.QueryFilter @@ -287,239 +286,223 @@ func (m *ListAttestationsRequest) GetQueryFilter() isListAttestationsRequest_Que return nil } -func (m *ListAttestationsRequest) GetEpoch() github_com_prysmaticlabs_eth2_types.Epoch { - if x, ok := m.GetQueryFilter().(*ListAttestationsRequest_Epoch); ok { +func (x *ListAttestationsRequest) GetEpoch() github_com_prysmaticlabs_eth2_types.Epoch { + if x, ok := x.GetQueryFilter().(*ListAttestationsRequest_Epoch); ok { return x.Epoch } - return 0 + return github_com_prysmaticlabs_eth2_types.Epoch(0) } -func (m *ListAttestationsRequest) GetGenesisEpoch() bool { - if x, ok := m.GetQueryFilter().(*ListAttestationsRequest_GenesisEpoch); ok { +func (x *ListAttestationsRequest) GetGenesisEpoch() bool { + if x, ok := x.GetQueryFilter().(*ListAttestationsRequest_GenesisEpoch); ok { return x.GenesisEpoch } return false } -func (m *ListAttestationsRequest) GetPageSize() int32 { - if m != nil { - return m.PageSize +func (x *ListAttestationsRequest) GetPageSize() int32 { + if x != nil { + return x.PageSize } return 0 } -func (m *ListAttestationsRequest) GetPageToken() string { - if m != nil { - return m.PageToken +func (x *ListAttestationsRequest) GetPageToken() string { + if x != nil { + return x.PageToken } return "" } -// XXX_OneofWrappers is for the internal use of the proto package. -func (*ListAttestationsRequest) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*ListAttestationsRequest_Epoch)(nil), - (*ListAttestationsRequest_GenesisEpoch)(nil), - } +type isListAttestationsRequest_QueryFilter interface { + isListAttestationsRequest_QueryFilter() +} + +type ListAttestationsRequest_Epoch struct { + Epoch github_com_prysmaticlabs_eth2_types.Epoch `protobuf:"varint,1,opt,name=epoch,proto3,oneof" cast-type:"github.com/prysmaticlabs/eth2-types.Epoch"` +} + +type ListAttestationsRequest_GenesisEpoch struct { + GenesisEpoch bool `protobuf:"varint,2,opt,name=genesis_epoch,json=genesisEpoch,proto3,oneof"` } +func (*ListAttestationsRequest_Epoch) isListAttestationsRequest_QueryFilter() {} + +func (*ListAttestationsRequest_GenesisEpoch) isListAttestationsRequest_QueryFilter() {} + type ListAttestationsResponse struct { - Attestations []*Attestation `protobuf:"bytes,1,rep,name=attestations,proto3" json:"attestations,omitempty"` - NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` - TotalSize int32 `protobuf:"varint,3,opt,name=total_size,json=totalSize,proto3" json:"total_size,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Attestations []*Attestation `protobuf:"bytes,1,rep,name=attestations,proto3" json:"attestations,omitempty"` + NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` + TotalSize int32 `protobuf:"varint,3,opt,name=total_size,json=totalSize,proto3" json:"total_size,omitempty"` } -func (m *ListAttestationsResponse) Reset() { *m = ListAttestationsResponse{} } -func (m *ListAttestationsResponse) String() string { return proto.CompactTextString(m) } -func (*ListAttestationsResponse) ProtoMessage() {} -func (*ListAttestationsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_e33ad64d6ced77c1, []int{3} -} -func (m *ListAttestationsResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *ListAttestationsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_ListAttestationsResponse.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *ListAttestationsResponse) Reset() { + *x = ListAttestationsResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_eth_v1alpha1_beacon_chain_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *ListAttestationsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListAttestationsResponse.Merge(m, src) -} -func (m *ListAttestationsResponse) XXX_Size() int { - return m.Size() + +func (x *ListAttestationsResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ListAttestationsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListAttestationsResponse.DiscardUnknown(m) + +func (*ListAttestationsResponse) ProtoMessage() {} + +func (x *ListAttestationsResponse) ProtoReflect() protoreflect.Message { + mi := &file_eth_v1alpha1_beacon_chain_proto_msgTypes[3] + 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) } -var xxx_messageInfo_ListAttestationsResponse proto.InternalMessageInfo +// Deprecated: Use ListAttestationsResponse.ProtoReflect.Descriptor instead. +func (*ListAttestationsResponse) Descriptor() ([]byte, []int) { + return file_eth_v1alpha1_beacon_chain_proto_rawDescGZIP(), []int{3} +} -func (m *ListAttestationsResponse) GetAttestations() []*Attestation { - if m != nil { - return m.Attestations +func (x *ListAttestationsResponse) GetAttestations() []*Attestation { + if x != nil { + return x.Attestations } return nil } -func (m *ListAttestationsResponse) GetNextPageToken() string { - if m != nil { - return m.NextPageToken +func (x *ListAttestationsResponse) GetNextPageToken() string { + if x != nil { + return x.NextPageToken } return "" } -func (m *ListAttestationsResponse) GetTotalSize() int32 { - if m != nil { - return m.TotalSize +func (x *ListAttestationsResponse) GetTotalSize() int32 { + if x != nil { + return x.TotalSize } return 0 } type ListIndexedAttestationsResponse struct { - IndexedAttestations []*IndexedAttestation `protobuf:"bytes,1,rep,name=indexed_attestations,json=indexedAttestations,proto3" json:"indexed_attestations,omitempty"` - NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` - TotalSize int32 `protobuf:"varint,3,opt,name=total_size,json=totalSize,proto3" json:"total_size,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + IndexedAttestations []*IndexedAttestation `protobuf:"bytes,1,rep,name=indexed_attestations,json=indexedAttestations,proto3" json:"indexed_attestations,omitempty"` + NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` + TotalSize int32 `protobuf:"varint,3,opt,name=total_size,json=totalSize,proto3" json:"total_size,omitempty"` } -func (m *ListIndexedAttestationsResponse) Reset() { *m = ListIndexedAttestationsResponse{} } -func (m *ListIndexedAttestationsResponse) String() string { return proto.CompactTextString(m) } -func (*ListIndexedAttestationsResponse) ProtoMessage() {} -func (*ListIndexedAttestationsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_e33ad64d6ced77c1, []int{4} -} -func (m *ListIndexedAttestationsResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *ListIndexedAttestationsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_ListIndexedAttestationsResponse.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *ListIndexedAttestationsResponse) Reset() { + *x = ListIndexedAttestationsResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_eth_v1alpha1_beacon_chain_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *ListIndexedAttestationsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListIndexedAttestationsResponse.Merge(m, src) -} -func (m *ListIndexedAttestationsResponse) XXX_Size() int { - return m.Size() + +func (x *ListIndexedAttestationsResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ListIndexedAttestationsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListIndexedAttestationsResponse.DiscardUnknown(m) + +func (*ListIndexedAttestationsResponse) ProtoMessage() {} + +func (x *ListIndexedAttestationsResponse) ProtoReflect() protoreflect.Message { + mi := &file_eth_v1alpha1_beacon_chain_proto_msgTypes[4] + 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) } -var xxx_messageInfo_ListIndexedAttestationsResponse proto.InternalMessageInfo +// Deprecated: Use ListIndexedAttestationsResponse.ProtoReflect.Descriptor instead. +func (*ListIndexedAttestationsResponse) Descriptor() ([]byte, []int) { + return file_eth_v1alpha1_beacon_chain_proto_rawDescGZIP(), []int{4} +} -func (m *ListIndexedAttestationsResponse) GetIndexedAttestations() []*IndexedAttestation { - if m != nil { - return m.IndexedAttestations +func (x *ListIndexedAttestationsResponse) GetIndexedAttestations() []*IndexedAttestation { + if x != nil { + return x.IndexedAttestations } return nil } -func (m *ListIndexedAttestationsResponse) GetNextPageToken() string { - if m != nil { - return m.NextPageToken +func (x *ListIndexedAttestationsResponse) GetNextPageToken() string { + if x != nil { + return x.NextPageToken } return "" } -func (m *ListIndexedAttestationsResponse) GetTotalSize() int32 { - if m != nil { - return m.TotalSize +func (x *ListIndexedAttestationsResponse) GetTotalSize() int32 { + if x != nil { + return x.TotalSize } return 0 } type ListBlocksRequest struct { - // Types that are valid to be assigned to QueryFilter: + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Types that are assignable to QueryFilter: // *ListBlocksRequest_Root // *ListBlocksRequest_Slot // *ListBlocksRequest_Epoch // *ListBlocksRequest_Genesis - QueryFilter isListBlocksRequest_QueryFilter `protobuf_oneof:"query_filter"` - PageSize int32 `protobuf:"varint,5,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` - PageToken string `protobuf:"bytes,6,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + QueryFilter isListBlocksRequest_QueryFilter `protobuf_oneof:"query_filter"` + PageSize int32 `protobuf:"varint,5,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` + PageToken string `protobuf:"bytes,6,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` } -func (m *ListBlocksRequest) Reset() { *m = ListBlocksRequest{} } -func (m *ListBlocksRequest) String() string { return proto.CompactTextString(m) } -func (*ListBlocksRequest) ProtoMessage() {} -func (*ListBlocksRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_e33ad64d6ced77c1, []int{5} -} -func (m *ListBlocksRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *ListBlocksRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_ListBlocksRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *ListBlocksRequest) Reset() { + *x = ListBlocksRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_eth_v1alpha1_beacon_chain_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *ListBlocksRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListBlocksRequest.Merge(m, src) -} -func (m *ListBlocksRequest) XXX_Size() int { - return m.Size() -} -func (m *ListBlocksRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListBlocksRequest.DiscardUnknown(m) + +func (x *ListBlocksRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -var xxx_messageInfo_ListBlocksRequest proto.InternalMessageInfo +func (*ListBlocksRequest) ProtoMessage() {} -type isListBlocksRequest_QueryFilter interface { - isListBlocksRequest_QueryFilter() - MarshalTo([]byte) (int, error) - Size() int +func (x *ListBlocksRequest) ProtoReflect() protoreflect.Message { + mi := &file_eth_v1alpha1_beacon_chain_proto_msgTypes[5] + 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) } -type ListBlocksRequest_Root struct { - Root []byte `protobuf:"bytes,1,opt,name=root,proto3,oneof" json:"root,omitempty"` -} -type ListBlocksRequest_Slot struct { - Slot github_com_prysmaticlabs_eth2_types.Slot `protobuf:"varint,2,opt,name=slot,proto3,oneof,casttype=github.com/prysmaticlabs/eth2-types.Slot" json:"slot,omitempty"` -} -type ListBlocksRequest_Epoch struct { - Epoch github_com_prysmaticlabs_eth2_types.Epoch `protobuf:"varint,3,opt,name=epoch,proto3,oneof,casttype=github.com/prysmaticlabs/eth2-types.Epoch" json:"epoch,omitempty"` -} -type ListBlocksRequest_Genesis struct { - Genesis bool `protobuf:"varint,4,opt,name=genesis,proto3,oneof" json:"genesis,omitempty"` +// Deprecated: Use ListBlocksRequest.ProtoReflect.Descriptor instead. +func (*ListBlocksRequest) Descriptor() ([]byte, []int) { + return file_eth_v1alpha1_beacon_chain_proto_rawDescGZIP(), []int{5} } -func (*ListBlocksRequest_Root) isListBlocksRequest_QueryFilter() {} -func (*ListBlocksRequest_Slot) isListBlocksRequest_QueryFilter() {} -func (*ListBlocksRequest_Epoch) isListBlocksRequest_QueryFilter() {} -func (*ListBlocksRequest_Genesis) isListBlocksRequest_QueryFilter() {} - func (m *ListBlocksRequest) GetQueryFilter() isListBlocksRequest_QueryFilter { if m != nil { return m.QueryFilter @@ -527,425 +510,427 @@ func (m *ListBlocksRequest) GetQueryFilter() isListBlocksRequest_QueryFilter { return nil } -func (m *ListBlocksRequest) GetRoot() []byte { - if x, ok := m.GetQueryFilter().(*ListBlocksRequest_Root); ok { +func (x *ListBlocksRequest) GetRoot() []byte { + if x, ok := x.GetQueryFilter().(*ListBlocksRequest_Root); ok { return x.Root } return nil } -func (m *ListBlocksRequest) GetSlot() github_com_prysmaticlabs_eth2_types.Slot { - if x, ok := m.GetQueryFilter().(*ListBlocksRequest_Slot); ok { +func (x *ListBlocksRequest) GetSlot() github_com_prysmaticlabs_eth2_types.Slot { + if x, ok := x.GetQueryFilter().(*ListBlocksRequest_Slot); ok { return x.Slot } - return 0 + return github_com_prysmaticlabs_eth2_types.Slot(0) } -func (m *ListBlocksRequest) GetEpoch() github_com_prysmaticlabs_eth2_types.Epoch { - if x, ok := m.GetQueryFilter().(*ListBlocksRequest_Epoch); ok { +func (x *ListBlocksRequest) GetEpoch() github_com_prysmaticlabs_eth2_types.Epoch { + if x, ok := x.GetQueryFilter().(*ListBlocksRequest_Epoch); ok { return x.Epoch } - return 0 + return github_com_prysmaticlabs_eth2_types.Epoch(0) } -func (m *ListBlocksRequest) GetGenesis() bool { - if x, ok := m.GetQueryFilter().(*ListBlocksRequest_Genesis); ok { +func (x *ListBlocksRequest) GetGenesis() bool { + if x, ok := x.GetQueryFilter().(*ListBlocksRequest_Genesis); ok { return x.Genesis } return false } -func (m *ListBlocksRequest) GetPageSize() int32 { - if m != nil { - return m.PageSize +func (x *ListBlocksRequest) GetPageSize() int32 { + if x != nil { + return x.PageSize } return 0 } -func (m *ListBlocksRequest) GetPageToken() string { - if m != nil { - return m.PageToken +func (x *ListBlocksRequest) GetPageToken() string { + if x != nil { + return x.PageToken } return "" } -// XXX_OneofWrappers is for the internal use of the proto package. -func (*ListBlocksRequest) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*ListBlocksRequest_Root)(nil), - (*ListBlocksRequest_Slot)(nil), - (*ListBlocksRequest_Epoch)(nil), - (*ListBlocksRequest_Genesis)(nil), - } +type isListBlocksRequest_QueryFilter interface { + isListBlocksRequest_QueryFilter() +} + +type ListBlocksRequest_Root struct { + Root []byte `protobuf:"bytes,1,opt,name=root,proto3,oneof"` +} + +type ListBlocksRequest_Slot struct { + Slot github_com_prysmaticlabs_eth2_types.Slot `protobuf:"varint,2,opt,name=slot,proto3,oneof" cast-type:"github.com/prysmaticlabs/eth2-types.Slot"` } +type ListBlocksRequest_Epoch struct { + Epoch github_com_prysmaticlabs_eth2_types.Epoch `protobuf:"varint,3,opt,name=epoch,proto3,oneof" cast-type:"github.com/prysmaticlabs/eth2-types.Epoch"` +} + +type ListBlocksRequest_Genesis struct { + Genesis bool `protobuf:"varint,4,opt,name=genesis,proto3,oneof"` +} + +func (*ListBlocksRequest_Root) isListBlocksRequest_QueryFilter() {} + +func (*ListBlocksRequest_Slot) isListBlocksRequest_QueryFilter() {} + +func (*ListBlocksRequest_Epoch) isListBlocksRequest_QueryFilter() {} + +func (*ListBlocksRequest_Genesis) isListBlocksRequest_QueryFilter() {} + type ListBlocksResponse struct { - BlockContainers []*BeaconBlockContainer `protobuf:"bytes,1,rep,name=blockContainers,proto3" json:"blockContainers,omitempty"` - NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` - TotalSize int32 `protobuf:"varint,3,opt,name=total_size,json=totalSize,proto3" json:"total_size,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + BlockContainers []*BeaconBlockContainer `protobuf:"bytes,1,rep,name=blockContainers,proto3" json:"blockContainers,omitempty"` + NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` + TotalSize int32 `protobuf:"varint,3,opt,name=total_size,json=totalSize,proto3" json:"total_size,omitempty"` } -func (m *ListBlocksResponse) Reset() { *m = ListBlocksResponse{} } -func (m *ListBlocksResponse) String() string { return proto.CompactTextString(m) } -func (*ListBlocksResponse) ProtoMessage() {} -func (*ListBlocksResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_e33ad64d6ced77c1, []int{6} -} -func (m *ListBlocksResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *ListBlocksResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_ListBlocksResponse.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *ListBlocksResponse) Reset() { + *x = ListBlocksResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_eth_v1alpha1_beacon_chain_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *ListBlocksResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListBlocksResponse.Merge(m, src) -} -func (m *ListBlocksResponse) XXX_Size() int { - return m.Size() + +func (x *ListBlocksResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ListBlocksResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListBlocksResponse.DiscardUnknown(m) + +func (*ListBlocksResponse) ProtoMessage() {} + +func (x *ListBlocksResponse) ProtoReflect() protoreflect.Message { + mi := &file_eth_v1alpha1_beacon_chain_proto_msgTypes[6] + 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) } -var xxx_messageInfo_ListBlocksResponse proto.InternalMessageInfo +// Deprecated: Use ListBlocksResponse.ProtoReflect.Descriptor instead. +func (*ListBlocksResponse) Descriptor() ([]byte, []int) { + return file_eth_v1alpha1_beacon_chain_proto_rawDescGZIP(), []int{6} +} -func (m *ListBlocksResponse) GetBlockContainers() []*BeaconBlockContainer { - if m != nil { - return m.BlockContainers +func (x *ListBlocksResponse) GetBlockContainers() []*BeaconBlockContainer { + if x != nil { + return x.BlockContainers } return nil } -func (m *ListBlocksResponse) GetNextPageToken() string { - if m != nil { - return m.NextPageToken +func (x *ListBlocksResponse) GetNextPageToken() string { + if x != nil { + return x.NextPageToken } return "" } -func (m *ListBlocksResponse) GetTotalSize() int32 { - if m != nil { - return m.TotalSize +func (x *ListBlocksResponse) GetTotalSize() int32 { + if x != nil { + return x.TotalSize } return 0 } type StreamBlocksRequest struct { - VerifiedOnly bool `protobuf:"varint,1,opt,name=verified_only,json=verifiedOnly,proto3" json:"verified_only,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + VerifiedOnly bool `protobuf:"varint,1,opt,name=verified_only,json=verifiedOnly,proto3" json:"verified_only,omitempty"` } -func (m *StreamBlocksRequest) Reset() { *m = StreamBlocksRequest{} } -func (m *StreamBlocksRequest) String() string { return proto.CompactTextString(m) } -func (*StreamBlocksRequest) ProtoMessage() {} -func (*StreamBlocksRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_e33ad64d6ced77c1, []int{7} -} -func (m *StreamBlocksRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *StreamBlocksRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_StreamBlocksRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *StreamBlocksRequest) Reset() { + *x = StreamBlocksRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_eth_v1alpha1_beacon_chain_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *StreamBlocksRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_StreamBlocksRequest.Merge(m, src) -} -func (m *StreamBlocksRequest) XXX_Size() int { - return m.Size() + +func (x *StreamBlocksRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *StreamBlocksRequest) XXX_DiscardUnknown() { - xxx_messageInfo_StreamBlocksRequest.DiscardUnknown(m) + +func (*StreamBlocksRequest) ProtoMessage() {} + +func (x *StreamBlocksRequest) ProtoReflect() protoreflect.Message { + mi := &file_eth_v1alpha1_beacon_chain_proto_msgTypes[7] + 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) } -var xxx_messageInfo_StreamBlocksRequest proto.InternalMessageInfo +// Deprecated: Use StreamBlocksRequest.ProtoReflect.Descriptor instead. +func (*StreamBlocksRequest) Descriptor() ([]byte, []int) { + return file_eth_v1alpha1_beacon_chain_proto_rawDescGZIP(), []int{7} +} -func (m *StreamBlocksRequest) GetVerifiedOnly() bool { - if m != nil { - return m.VerifiedOnly +func (x *StreamBlocksRequest) GetVerifiedOnly() bool { + if x != nil { + return x.VerifiedOnly } return false } type BeaconBlockContainer struct { - Block *SignedBeaconBlock `protobuf:"bytes,1,opt,name=block,proto3" json:"block,omitempty"` - BlockRoot []byte `protobuf:"bytes,2,opt,name=block_root,json=blockRoot,proto3" json:"block_root,omitempty"` - Canonical bool `protobuf:"varint,3,opt,name=canonical,proto3" json:"canonical,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Block *SignedBeaconBlock `protobuf:"bytes,1,opt,name=block,proto3" json:"block,omitempty"` + BlockRoot []byte `protobuf:"bytes,2,opt,name=block_root,json=blockRoot,proto3" json:"block_root,omitempty"` + Canonical bool `protobuf:"varint,3,opt,name=canonical,proto3" json:"canonical,omitempty"` } -func (m *BeaconBlockContainer) Reset() { *m = BeaconBlockContainer{} } -func (m *BeaconBlockContainer) String() string { return proto.CompactTextString(m) } -func (*BeaconBlockContainer) ProtoMessage() {} -func (*BeaconBlockContainer) Descriptor() ([]byte, []int) { - return fileDescriptor_e33ad64d6ced77c1, []int{8} -} -func (m *BeaconBlockContainer) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *BeaconBlockContainer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_BeaconBlockContainer.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *BeaconBlockContainer) Reset() { + *x = BeaconBlockContainer{} + if protoimpl.UnsafeEnabled { + mi := &file_eth_v1alpha1_beacon_chain_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *BeaconBlockContainer) XXX_Merge(src proto.Message) { - xxx_messageInfo_BeaconBlockContainer.Merge(m, src) -} -func (m *BeaconBlockContainer) XXX_Size() int { - return m.Size() + +func (x *BeaconBlockContainer) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *BeaconBlockContainer) XXX_DiscardUnknown() { - xxx_messageInfo_BeaconBlockContainer.DiscardUnknown(m) + +func (*BeaconBlockContainer) ProtoMessage() {} + +func (x *BeaconBlockContainer) ProtoReflect() protoreflect.Message { + mi := &file_eth_v1alpha1_beacon_chain_proto_msgTypes[8] + 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) } -var xxx_messageInfo_BeaconBlockContainer proto.InternalMessageInfo +// Deprecated: Use BeaconBlockContainer.ProtoReflect.Descriptor instead. +func (*BeaconBlockContainer) Descriptor() ([]byte, []int) { + return file_eth_v1alpha1_beacon_chain_proto_rawDescGZIP(), []int{8} +} -func (m *BeaconBlockContainer) GetBlock() *SignedBeaconBlock { - if m != nil { - return m.Block +func (x *BeaconBlockContainer) GetBlock() *SignedBeaconBlock { + if x != nil { + return x.Block } return nil } -func (m *BeaconBlockContainer) GetBlockRoot() []byte { - if m != nil { - return m.BlockRoot +func (x *BeaconBlockContainer) GetBlockRoot() []byte { + if x != nil { + return x.BlockRoot } return nil } -func (m *BeaconBlockContainer) GetCanonical() bool { - if m != nil { - return m.Canonical +func (x *BeaconBlockContainer) GetCanonical() bool { + if x != nil { + return x.Canonical } return false } type ChainHead struct { - HeadSlot github_com_prysmaticlabs_eth2_types.Slot `protobuf:"varint,1,opt,name=head_slot,json=headSlot,proto3,casttype=github.com/prysmaticlabs/eth2-types.Slot" json:"head_slot,omitempty"` - HeadEpoch github_com_prysmaticlabs_eth2_types.Epoch `protobuf:"varint,2,opt,name=head_epoch,json=headEpoch,proto3,casttype=github.com/prysmaticlabs/eth2-types.Epoch" json:"head_epoch,omitempty"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + HeadSlot github_com_prysmaticlabs_eth2_types.Slot `protobuf:"varint,1,opt,name=head_slot,json=headSlot,proto3" json:"head_slot,omitempty" cast-type:"github.com/prysmaticlabs/eth2-types.Slot"` + HeadEpoch github_com_prysmaticlabs_eth2_types.Epoch `protobuf:"varint,2,opt,name=head_epoch,json=headEpoch,proto3" json:"head_epoch,omitempty" cast-type:"github.com/prysmaticlabs/eth2-types.Epoch"` HeadBlockRoot []byte `protobuf:"bytes,3,opt,name=head_block_root,json=headBlockRoot,proto3" json:"head_block_root,omitempty" ssz-size:"32"` - FinalizedSlot github_com_prysmaticlabs_eth2_types.Slot `protobuf:"varint,4,opt,name=finalized_slot,json=finalizedSlot,proto3,casttype=github.com/prysmaticlabs/eth2-types.Slot" json:"finalized_slot,omitempty"` - FinalizedEpoch github_com_prysmaticlabs_eth2_types.Epoch `protobuf:"varint,5,opt,name=finalized_epoch,json=finalizedEpoch,proto3,casttype=github.com/prysmaticlabs/eth2-types.Epoch" json:"finalized_epoch,omitempty"` + FinalizedSlot github_com_prysmaticlabs_eth2_types.Slot `protobuf:"varint,4,opt,name=finalized_slot,json=finalizedSlot,proto3" json:"finalized_slot,omitempty" cast-type:"github.com/prysmaticlabs/eth2-types.Slot"` + FinalizedEpoch github_com_prysmaticlabs_eth2_types.Epoch `protobuf:"varint,5,opt,name=finalized_epoch,json=finalizedEpoch,proto3" json:"finalized_epoch,omitempty" cast-type:"github.com/prysmaticlabs/eth2-types.Epoch"` FinalizedBlockRoot []byte `protobuf:"bytes,6,opt,name=finalized_block_root,json=finalizedBlockRoot,proto3" json:"finalized_block_root,omitempty" ssz-size:"32"` - JustifiedSlot github_com_prysmaticlabs_eth2_types.Slot `protobuf:"varint,7,opt,name=justified_slot,json=justifiedSlot,proto3,casttype=github.com/prysmaticlabs/eth2-types.Slot" json:"justified_slot,omitempty"` - JustifiedEpoch github_com_prysmaticlabs_eth2_types.Epoch `protobuf:"varint,8,opt,name=justified_epoch,json=justifiedEpoch,proto3,casttype=github.com/prysmaticlabs/eth2-types.Epoch" json:"justified_epoch,omitempty"` + JustifiedSlot github_com_prysmaticlabs_eth2_types.Slot `protobuf:"varint,7,opt,name=justified_slot,json=justifiedSlot,proto3" json:"justified_slot,omitempty" cast-type:"github.com/prysmaticlabs/eth2-types.Slot"` + JustifiedEpoch github_com_prysmaticlabs_eth2_types.Epoch `protobuf:"varint,8,opt,name=justified_epoch,json=justifiedEpoch,proto3" json:"justified_epoch,omitempty" cast-type:"github.com/prysmaticlabs/eth2-types.Epoch"` JustifiedBlockRoot []byte `protobuf:"bytes,9,opt,name=justified_block_root,json=justifiedBlockRoot,proto3" json:"justified_block_root,omitempty" ssz-size:"32"` - PreviousJustifiedSlot github_com_prysmaticlabs_eth2_types.Slot `protobuf:"varint,10,opt,name=previous_justified_slot,json=previousJustifiedSlot,proto3,casttype=github.com/prysmaticlabs/eth2-types.Slot" json:"previous_justified_slot,omitempty"` - PreviousJustifiedEpoch github_com_prysmaticlabs_eth2_types.Epoch `protobuf:"varint,11,opt,name=previous_justified_epoch,json=previousJustifiedEpoch,proto3,casttype=github.com/prysmaticlabs/eth2-types.Epoch" json:"previous_justified_epoch,omitempty"` + PreviousJustifiedSlot github_com_prysmaticlabs_eth2_types.Slot `protobuf:"varint,10,opt,name=previous_justified_slot,json=previousJustifiedSlot,proto3" json:"previous_justified_slot,omitempty" cast-type:"github.com/prysmaticlabs/eth2-types.Slot"` + PreviousJustifiedEpoch github_com_prysmaticlabs_eth2_types.Epoch `protobuf:"varint,11,opt,name=previous_justified_epoch,json=previousJustifiedEpoch,proto3" json:"previous_justified_epoch,omitempty" cast-type:"github.com/prysmaticlabs/eth2-types.Epoch"` PreviousJustifiedBlockRoot []byte `protobuf:"bytes,12,opt,name=previous_justified_block_root,json=previousJustifiedBlockRoot,proto3" json:"previous_justified_block_root,omitempty" ssz-size:"32"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` } -func (m *ChainHead) Reset() { *m = ChainHead{} } -func (m *ChainHead) String() string { return proto.CompactTextString(m) } -func (*ChainHead) ProtoMessage() {} -func (*ChainHead) Descriptor() ([]byte, []int) { - return fileDescriptor_e33ad64d6ced77c1, []int{9} -} -func (m *ChainHead) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *ChainHead) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_ChainHead.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *ChainHead) Reset() { + *x = ChainHead{} + if protoimpl.UnsafeEnabled { + mi := &file_eth_v1alpha1_beacon_chain_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *ChainHead) XXX_Merge(src proto.Message) { - xxx_messageInfo_ChainHead.Merge(m, src) -} -func (m *ChainHead) XXX_Size() int { - return m.Size() + +func (x *ChainHead) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ChainHead) XXX_DiscardUnknown() { - xxx_messageInfo_ChainHead.DiscardUnknown(m) + +func (*ChainHead) ProtoMessage() {} + +func (x *ChainHead) ProtoReflect() protoreflect.Message { + mi := &file_eth_v1alpha1_beacon_chain_proto_msgTypes[9] + 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) } -var xxx_messageInfo_ChainHead proto.InternalMessageInfo +// Deprecated: Use ChainHead.ProtoReflect.Descriptor instead. +func (*ChainHead) Descriptor() ([]byte, []int) { + return file_eth_v1alpha1_beacon_chain_proto_rawDescGZIP(), []int{9} +} -func (m *ChainHead) GetHeadSlot() github_com_prysmaticlabs_eth2_types.Slot { - if m != nil { - return m.HeadSlot +func (x *ChainHead) GetHeadSlot() github_com_prysmaticlabs_eth2_types.Slot { + if x != nil { + return x.HeadSlot } - return 0 + return github_com_prysmaticlabs_eth2_types.Slot(0) } -func (m *ChainHead) GetHeadEpoch() github_com_prysmaticlabs_eth2_types.Epoch { - if m != nil { - return m.HeadEpoch +func (x *ChainHead) GetHeadEpoch() github_com_prysmaticlabs_eth2_types.Epoch { + if x != nil { + return x.HeadEpoch } - return 0 + return github_com_prysmaticlabs_eth2_types.Epoch(0) } -func (m *ChainHead) GetHeadBlockRoot() []byte { - if m != nil { - return m.HeadBlockRoot +func (x *ChainHead) GetHeadBlockRoot() []byte { + if x != nil { + return x.HeadBlockRoot } return nil } -func (m *ChainHead) GetFinalizedSlot() github_com_prysmaticlabs_eth2_types.Slot { - if m != nil { - return m.FinalizedSlot +func (x *ChainHead) GetFinalizedSlot() github_com_prysmaticlabs_eth2_types.Slot { + if x != nil { + return x.FinalizedSlot } - return 0 + return github_com_prysmaticlabs_eth2_types.Slot(0) } -func (m *ChainHead) GetFinalizedEpoch() github_com_prysmaticlabs_eth2_types.Epoch { - if m != nil { - return m.FinalizedEpoch +func (x *ChainHead) GetFinalizedEpoch() github_com_prysmaticlabs_eth2_types.Epoch { + if x != nil { + return x.FinalizedEpoch } - return 0 + return github_com_prysmaticlabs_eth2_types.Epoch(0) } -func (m *ChainHead) GetFinalizedBlockRoot() []byte { - if m != nil { - return m.FinalizedBlockRoot +func (x *ChainHead) GetFinalizedBlockRoot() []byte { + if x != nil { + return x.FinalizedBlockRoot } return nil } -func (m *ChainHead) GetJustifiedSlot() github_com_prysmaticlabs_eth2_types.Slot { - if m != nil { - return m.JustifiedSlot +func (x *ChainHead) GetJustifiedSlot() github_com_prysmaticlabs_eth2_types.Slot { + if x != nil { + return x.JustifiedSlot } - return 0 + return github_com_prysmaticlabs_eth2_types.Slot(0) } -func (m *ChainHead) GetJustifiedEpoch() github_com_prysmaticlabs_eth2_types.Epoch { - if m != nil { - return m.JustifiedEpoch +func (x *ChainHead) GetJustifiedEpoch() github_com_prysmaticlabs_eth2_types.Epoch { + if x != nil { + return x.JustifiedEpoch } - return 0 + return github_com_prysmaticlabs_eth2_types.Epoch(0) } -func (m *ChainHead) GetJustifiedBlockRoot() []byte { - if m != nil { - return m.JustifiedBlockRoot +func (x *ChainHead) GetJustifiedBlockRoot() []byte { + if x != nil { + return x.JustifiedBlockRoot } return nil } -func (m *ChainHead) GetPreviousJustifiedSlot() github_com_prysmaticlabs_eth2_types.Slot { - if m != nil { - return m.PreviousJustifiedSlot +func (x *ChainHead) GetPreviousJustifiedSlot() github_com_prysmaticlabs_eth2_types.Slot { + if x != nil { + return x.PreviousJustifiedSlot } - return 0 + return github_com_prysmaticlabs_eth2_types.Slot(0) } -func (m *ChainHead) GetPreviousJustifiedEpoch() github_com_prysmaticlabs_eth2_types.Epoch { - if m != nil { - return m.PreviousJustifiedEpoch +func (x *ChainHead) GetPreviousJustifiedEpoch() github_com_prysmaticlabs_eth2_types.Epoch { + if x != nil { + return x.PreviousJustifiedEpoch } - return 0 + return github_com_prysmaticlabs_eth2_types.Epoch(0) } -func (m *ChainHead) GetPreviousJustifiedBlockRoot() []byte { - if m != nil { - return m.PreviousJustifiedBlockRoot +func (x *ChainHead) GetPreviousJustifiedBlockRoot() []byte { + if x != nil { + return x.PreviousJustifiedBlockRoot } return nil } type ListCommitteesRequest struct { - // Types that are valid to be assigned to QueryFilter: + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Types that are assignable to QueryFilter: // *ListCommitteesRequest_Epoch // *ListCommitteesRequest_Genesis - QueryFilter isListCommitteesRequest_QueryFilter `protobuf_oneof:"query_filter"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + QueryFilter isListCommitteesRequest_QueryFilter `protobuf_oneof:"query_filter"` } -func (m *ListCommitteesRequest) Reset() { *m = ListCommitteesRequest{} } -func (m *ListCommitteesRequest) String() string { return proto.CompactTextString(m) } -func (*ListCommitteesRequest) ProtoMessage() {} -func (*ListCommitteesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_e33ad64d6ced77c1, []int{10} -} -func (m *ListCommitteesRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *ListCommitteesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_ListCommitteesRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *ListCommitteesRequest) Reset() { + *x = ListCommitteesRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_eth_v1alpha1_beacon_chain_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *ListCommitteesRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListCommitteesRequest.Merge(m, src) -} -func (m *ListCommitteesRequest) XXX_Size() int { - return m.Size() -} -func (m *ListCommitteesRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListCommitteesRequest.DiscardUnknown(m) + +func (x *ListCommitteesRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -var xxx_messageInfo_ListCommitteesRequest proto.InternalMessageInfo +func (*ListCommitteesRequest) ProtoMessage() {} -type isListCommitteesRequest_QueryFilter interface { - isListCommitteesRequest_QueryFilter() - MarshalTo([]byte) (int, error) - Size() int +func (x *ListCommitteesRequest) ProtoReflect() protoreflect.Message { + mi := &file_eth_v1alpha1_beacon_chain_proto_msgTypes[10] + 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) } -type ListCommitteesRequest_Epoch struct { - Epoch github_com_prysmaticlabs_eth2_types.Epoch `protobuf:"varint,1,opt,name=epoch,proto3,oneof,casttype=github.com/prysmaticlabs/eth2-types.Epoch" json:"epoch,omitempty"` -} -type ListCommitteesRequest_Genesis struct { - Genesis bool `protobuf:"varint,2,opt,name=genesis,proto3,oneof" json:"genesis,omitempty"` +// Deprecated: Use ListCommitteesRequest.ProtoReflect.Descriptor instead. +func (*ListCommitteesRequest) Descriptor() ([]byte, []int) { + return file_eth_v1alpha1_beacon_chain_proto_rawDescGZIP(), []int{10} } -func (*ListCommitteesRequest_Epoch) isListCommitteesRequest_QueryFilter() {} -func (*ListCommitteesRequest_Genesis) isListCommitteesRequest_QueryFilter() {} - func (m *ListCommitteesRequest) GetQueryFilter() isListCommitteesRequest_QueryFilter { if m != nil { return m.QueryFilter @@ -953,248 +938,146 @@ func (m *ListCommitteesRequest) GetQueryFilter() isListCommitteesRequest_QueryFi return nil } -func (m *ListCommitteesRequest) GetEpoch() github_com_prysmaticlabs_eth2_types.Epoch { - if x, ok := m.GetQueryFilter().(*ListCommitteesRequest_Epoch); ok { +func (x *ListCommitteesRequest) GetEpoch() github_com_prysmaticlabs_eth2_types.Epoch { + if x, ok := x.GetQueryFilter().(*ListCommitteesRequest_Epoch); ok { return x.Epoch } - return 0 + return github_com_prysmaticlabs_eth2_types.Epoch(0) } -func (m *ListCommitteesRequest) GetGenesis() bool { - if x, ok := m.GetQueryFilter().(*ListCommitteesRequest_Genesis); ok { +func (x *ListCommitteesRequest) GetGenesis() bool { + if x, ok := x.GetQueryFilter().(*ListCommitteesRequest_Genesis); ok { return x.Genesis } return false } -// XXX_OneofWrappers is for the internal use of the proto package. -func (*ListCommitteesRequest) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*ListCommitteesRequest_Epoch)(nil), - (*ListCommitteesRequest_Genesis)(nil), - } +type isListCommitteesRequest_QueryFilter interface { + isListCommitteesRequest_QueryFilter() } -type BeaconCommittees struct { - Epoch github_com_prysmaticlabs_eth2_types.Epoch `protobuf:"varint,1,opt,name=epoch,proto3,casttype=github.com/prysmaticlabs/eth2-types.Epoch" json:"epoch,omitempty"` - Committees map[uint64]*BeaconCommittees_CommitteesList `protobuf:"bytes,2,rep,name=committees,proto3" json:"committees,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - ActiveValidatorCount uint64 `protobuf:"varint,3,opt,name=active_validator_count,json=activeValidatorCount,proto3" json:"active_validator_count,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +type ListCommitteesRequest_Epoch struct { + Epoch github_com_prysmaticlabs_eth2_types.Epoch `protobuf:"varint,1,opt,name=epoch,proto3,oneof" cast-type:"github.com/prysmaticlabs/eth2-types.Epoch"` } -func (m *BeaconCommittees) Reset() { *m = BeaconCommittees{} } -func (m *BeaconCommittees) String() string { return proto.CompactTextString(m) } -func (*BeaconCommittees) ProtoMessage() {} -func (*BeaconCommittees) Descriptor() ([]byte, []int) { - return fileDescriptor_e33ad64d6ced77c1, []int{11} -} -func (m *BeaconCommittees) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *BeaconCommittees) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_BeaconCommittees.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil - } -} -func (m *BeaconCommittees) XXX_Merge(src proto.Message) { - xxx_messageInfo_BeaconCommittees.Merge(m, src) -} -func (m *BeaconCommittees) XXX_Size() int { - return m.Size() -} -func (m *BeaconCommittees) XXX_DiscardUnknown() { - xxx_messageInfo_BeaconCommittees.DiscardUnknown(m) +type ListCommitteesRequest_Genesis struct { + Genesis bool `protobuf:"varint,2,opt,name=genesis,proto3,oneof"` } -var xxx_messageInfo_BeaconCommittees proto.InternalMessageInfo +func (*ListCommitteesRequest_Epoch) isListCommitteesRequest_QueryFilter() {} -func (m *BeaconCommittees) GetEpoch() github_com_prysmaticlabs_eth2_types.Epoch { - if m != nil { - return m.Epoch - } - return 0 -} +func (*ListCommitteesRequest_Genesis) isListCommitteesRequest_QueryFilter() {} -func (m *BeaconCommittees) GetCommittees() map[uint64]*BeaconCommittees_CommitteesList { - if m != nil { - return m.Committees - } - return nil +type BeaconCommittees struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Epoch github_com_prysmaticlabs_eth2_types.Epoch `protobuf:"varint,1,opt,name=epoch,proto3" json:"epoch,omitempty" cast-type:"github.com/prysmaticlabs/eth2-types.Epoch"` + Committees map[uint64]*BeaconCommittees_CommitteesList `protobuf:"bytes,2,rep,name=committees,proto3" json:"committees,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + ActiveValidatorCount uint64 `protobuf:"varint,3,opt,name=active_validator_count,json=activeValidatorCount,proto3" json:"active_validator_count,omitempty"` } -func (m *BeaconCommittees) GetActiveValidatorCount() uint64 { - if m != nil { - return m.ActiveValidatorCount +func (x *BeaconCommittees) Reset() { + *x = BeaconCommittees{} + if protoimpl.UnsafeEnabled { + mi := &file_eth_v1alpha1_beacon_chain_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } - return 0 } -type BeaconCommittees_CommitteeItem struct { - ValidatorIndices []github_com_prysmaticlabs_eth2_types.ValidatorIndex `protobuf:"varint,1,rep,packed,name=validator_indices,json=validatorIndices,proto3,casttype=github.com/prysmaticlabs/eth2-types.ValidatorIndex" json:"validator_indices,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +func (x *BeaconCommittees) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *BeaconCommittees_CommitteeItem) Reset() { *m = BeaconCommittees_CommitteeItem{} } -func (m *BeaconCommittees_CommitteeItem) String() string { return proto.CompactTextString(m) } -func (*BeaconCommittees_CommitteeItem) ProtoMessage() {} -func (*BeaconCommittees_CommitteeItem) Descriptor() ([]byte, []int) { - return fileDescriptor_e33ad64d6ced77c1, []int{11, 0} -} -func (m *BeaconCommittees_CommitteeItem) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *BeaconCommittees_CommitteeItem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_BeaconCommittees_CommitteeItem.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err +func (*BeaconCommittees) ProtoMessage() {} + +func (x *BeaconCommittees) ProtoReflect() protoreflect.Message { + mi := &file_eth_v1alpha1_beacon_chain_proto_msgTypes[11] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - return b[:n], nil + return ms } + return mi.MessageOf(x) } -func (m *BeaconCommittees_CommitteeItem) XXX_Merge(src proto.Message) { - xxx_messageInfo_BeaconCommittees_CommitteeItem.Merge(m, src) -} -func (m *BeaconCommittees_CommitteeItem) XXX_Size() int { - return m.Size() -} -func (m *BeaconCommittees_CommitteeItem) XXX_DiscardUnknown() { - xxx_messageInfo_BeaconCommittees_CommitteeItem.DiscardUnknown(m) -} - -var xxx_messageInfo_BeaconCommittees_CommitteeItem proto.InternalMessageInfo -func (m *BeaconCommittees_CommitteeItem) GetValidatorIndices() []github_com_prysmaticlabs_eth2_types.ValidatorIndex { - if m != nil { - return m.ValidatorIndices - } - return nil +// Deprecated: Use BeaconCommittees.ProtoReflect.Descriptor instead. +func (*BeaconCommittees) Descriptor() ([]byte, []int) { + return file_eth_v1alpha1_beacon_chain_proto_rawDescGZIP(), []int{11} } -type BeaconCommittees_CommitteesList struct { - Committees []*BeaconCommittees_CommitteeItem `protobuf:"bytes,1,rep,name=committees,proto3" json:"committees,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +func (x *BeaconCommittees) GetEpoch() github_com_prysmaticlabs_eth2_types.Epoch { + if x != nil { + return x.Epoch + } + return github_com_prysmaticlabs_eth2_types.Epoch(0) } -func (m *BeaconCommittees_CommitteesList) Reset() { *m = BeaconCommittees_CommitteesList{} } -func (m *BeaconCommittees_CommitteesList) String() string { return proto.CompactTextString(m) } -func (*BeaconCommittees_CommitteesList) ProtoMessage() {} -func (*BeaconCommittees_CommitteesList) Descriptor() ([]byte, []int) { - return fileDescriptor_e33ad64d6ced77c1, []int{11, 1} -} -func (m *BeaconCommittees_CommitteesList) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *BeaconCommittees_CommitteesList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_BeaconCommittees_CommitteesList.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *BeaconCommittees) GetCommittees() map[uint64]*BeaconCommittees_CommitteesList { + if x != nil { + return x.Committees } + return nil } -func (m *BeaconCommittees_CommitteesList) XXX_Merge(src proto.Message) { - xxx_messageInfo_BeaconCommittees_CommitteesList.Merge(m, src) -} -func (m *BeaconCommittees_CommitteesList) XXX_Size() int { - return m.Size() -} -func (m *BeaconCommittees_CommitteesList) XXX_DiscardUnknown() { - xxx_messageInfo_BeaconCommittees_CommitteesList.DiscardUnknown(m) -} - -var xxx_messageInfo_BeaconCommittees_CommitteesList proto.InternalMessageInfo -func (m *BeaconCommittees_CommitteesList) GetCommittees() []*BeaconCommittees_CommitteeItem { - if m != nil { - return m.Committees +func (x *BeaconCommittees) GetActiveValidatorCount() uint64 { + if x != nil { + return x.ActiveValidatorCount } - return nil + return 0 } type ListValidatorBalancesRequest struct { - // Types that are valid to be assigned to QueryFilter: + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Types that are assignable to QueryFilter: // *ListValidatorBalancesRequest_Epoch // *ListValidatorBalancesRequest_Genesis - QueryFilter isListValidatorBalancesRequest_QueryFilter `protobuf_oneof:"query_filter"` - PublicKeys [][]byte `protobuf:"bytes,3,rep,name=public_keys,json=publicKeys,proto3" json:"public_keys,omitempty" ssz-size:"?,48"` - Indices []github_com_prysmaticlabs_eth2_types.ValidatorIndex `protobuf:"varint,4,rep,packed,name=indices,proto3,casttype=github.com/prysmaticlabs/eth2-types.ValidatorIndex" json:"indices,omitempty"` - PageSize int32 `protobuf:"varint,5,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` - PageToken string `protobuf:"bytes,6,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ListValidatorBalancesRequest) Reset() { *m = ListValidatorBalancesRequest{} } -func (m *ListValidatorBalancesRequest) String() string { return proto.CompactTextString(m) } -func (*ListValidatorBalancesRequest) ProtoMessage() {} -func (*ListValidatorBalancesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_e33ad64d6ced77c1, []int{12} -} -func (m *ListValidatorBalancesRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *ListValidatorBalancesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_ListValidatorBalancesRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil - } -} -func (m *ListValidatorBalancesRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListValidatorBalancesRequest.Merge(m, src) + QueryFilter isListValidatorBalancesRequest_QueryFilter `protobuf_oneof:"query_filter"` + PublicKeys [][]byte `protobuf:"bytes,3,rep,name=public_keys,json=publicKeys,proto3" json:"public_keys,omitempty" ssz-size:"?,48"` + Indices []github_com_prysmaticlabs_eth2_types.ValidatorIndex `protobuf:"varint,4,rep,packed,name=indices,proto3" json:"indices,omitempty" cast-type:"github.com/prysmaticlabs/eth2-types.ValidatorIndex"` + PageSize int32 `protobuf:"varint,5,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` + PageToken string `protobuf:"bytes,6,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` } -func (m *ListValidatorBalancesRequest) XXX_Size() int { - return m.Size() + +func (x *ListValidatorBalancesRequest) Reset() { + *x = ListValidatorBalancesRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_eth_v1alpha1_beacon_chain_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ListValidatorBalancesRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListValidatorBalancesRequest.DiscardUnknown(m) + +func (x *ListValidatorBalancesRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -var xxx_messageInfo_ListValidatorBalancesRequest proto.InternalMessageInfo +func (*ListValidatorBalancesRequest) ProtoMessage() {} -type isListValidatorBalancesRequest_QueryFilter interface { - isListValidatorBalancesRequest_QueryFilter() - MarshalTo([]byte) (int, error) - Size() int +func (x *ListValidatorBalancesRequest) ProtoReflect() protoreflect.Message { + mi := &file_eth_v1alpha1_beacon_chain_proto_msgTypes[12] + 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) } -type ListValidatorBalancesRequest_Epoch struct { - Epoch github_com_prysmaticlabs_eth2_types.Epoch `protobuf:"varint,1,opt,name=epoch,proto3,oneof,casttype=github.com/prysmaticlabs/eth2-types.Epoch" json:"epoch,omitempty"` -} -type ListValidatorBalancesRequest_Genesis struct { - Genesis bool `protobuf:"varint,2,opt,name=genesis,proto3,oneof" json:"genesis,omitempty"` +// Deprecated: Use ListValidatorBalancesRequest.ProtoReflect.Descriptor instead. +func (*ListValidatorBalancesRequest) Descriptor() ([]byte, []int) { + return file_eth_v1alpha1_beacon_chain_proto_rawDescGZIP(), []int{12} } -func (*ListValidatorBalancesRequest_Epoch) isListValidatorBalancesRequest_QueryFilter() {} -func (*ListValidatorBalancesRequest_Genesis) isListValidatorBalancesRequest_QueryFilter() {} - func (m *ListValidatorBalancesRequest) GetQueryFilter() isListValidatorBalancesRequest_QueryFilter { if m != nil { return m.QueryFilter @@ -1202,262 +1085,183 @@ func (m *ListValidatorBalancesRequest) GetQueryFilter() isListValidatorBalancesR return nil } -func (m *ListValidatorBalancesRequest) GetEpoch() github_com_prysmaticlabs_eth2_types.Epoch { - if x, ok := m.GetQueryFilter().(*ListValidatorBalancesRequest_Epoch); ok { +func (x *ListValidatorBalancesRequest) GetEpoch() github_com_prysmaticlabs_eth2_types.Epoch { + if x, ok := x.GetQueryFilter().(*ListValidatorBalancesRequest_Epoch); ok { return x.Epoch } - return 0 + return github_com_prysmaticlabs_eth2_types.Epoch(0) } -func (m *ListValidatorBalancesRequest) GetGenesis() bool { - if x, ok := m.GetQueryFilter().(*ListValidatorBalancesRequest_Genesis); ok { +func (x *ListValidatorBalancesRequest) GetGenesis() bool { + if x, ok := x.GetQueryFilter().(*ListValidatorBalancesRequest_Genesis); ok { return x.Genesis } return false } -func (m *ListValidatorBalancesRequest) GetPublicKeys() [][]byte { - if m != nil { - return m.PublicKeys +func (x *ListValidatorBalancesRequest) GetPublicKeys() [][]byte { + if x != nil { + return x.PublicKeys } return nil } -func (m *ListValidatorBalancesRequest) GetIndices() []github_com_prysmaticlabs_eth2_types.ValidatorIndex { - if m != nil { - return m.Indices +func (x *ListValidatorBalancesRequest) GetIndices() []github_com_prysmaticlabs_eth2_types.ValidatorIndex { + if x != nil { + return x.Indices } - return nil + return []github_com_prysmaticlabs_eth2_types.ValidatorIndex(nil) } -func (m *ListValidatorBalancesRequest) GetPageSize() int32 { - if m != nil { - return m.PageSize +func (x *ListValidatorBalancesRequest) GetPageSize() int32 { + if x != nil { + return x.PageSize } return 0 } -func (m *ListValidatorBalancesRequest) GetPageToken() string { - if m != nil { - return m.PageToken +func (x *ListValidatorBalancesRequest) GetPageToken() string { + if x != nil { + return x.PageToken } return "" } -// XXX_OneofWrappers is for the internal use of the proto package. -func (*ListValidatorBalancesRequest) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*ListValidatorBalancesRequest_Epoch)(nil), - (*ListValidatorBalancesRequest_Genesis)(nil), - } +type isListValidatorBalancesRequest_QueryFilter interface { + isListValidatorBalancesRequest_QueryFilter() } -type ValidatorBalances struct { - Epoch github_com_prysmaticlabs_eth2_types.Epoch `protobuf:"varint,1,opt,name=epoch,proto3,casttype=github.com/prysmaticlabs/eth2-types.Epoch" json:"epoch,omitempty"` - Balances []*ValidatorBalances_Balance `protobuf:"bytes,2,rep,name=balances,proto3" json:"balances,omitempty"` - NextPageToken string `protobuf:"bytes,3,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` - TotalSize int32 `protobuf:"varint,4,opt,name=total_size,json=totalSize,proto3" json:"total_size,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ValidatorBalances) Reset() { *m = ValidatorBalances{} } -func (m *ValidatorBalances) String() string { return proto.CompactTextString(m) } -func (*ValidatorBalances) ProtoMessage() {} -func (*ValidatorBalances) Descriptor() ([]byte, []int) { - return fileDescriptor_e33ad64d6ced77c1, []int{13} -} -func (m *ValidatorBalances) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *ValidatorBalances) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_ValidatorBalances.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil - } -} -func (m *ValidatorBalances) XXX_Merge(src proto.Message) { - xxx_messageInfo_ValidatorBalances.Merge(m, src) -} -func (m *ValidatorBalances) XXX_Size() int { - return m.Size() +type ListValidatorBalancesRequest_Epoch struct { + Epoch github_com_prysmaticlabs_eth2_types.Epoch `protobuf:"varint,1,opt,name=epoch,proto3,oneof" cast-type:"github.com/prysmaticlabs/eth2-types.Epoch"` } -func (m *ValidatorBalances) XXX_DiscardUnknown() { - xxx_messageInfo_ValidatorBalances.DiscardUnknown(m) + +type ListValidatorBalancesRequest_Genesis struct { + Genesis bool `protobuf:"varint,2,opt,name=genesis,proto3,oneof"` } -var xxx_messageInfo_ValidatorBalances proto.InternalMessageInfo +func (*ListValidatorBalancesRequest_Epoch) isListValidatorBalancesRequest_QueryFilter() {} -func (m *ValidatorBalances) GetEpoch() github_com_prysmaticlabs_eth2_types.Epoch { - if m != nil { - return m.Epoch - } - return 0 -} +func (*ListValidatorBalancesRequest_Genesis) isListValidatorBalancesRequest_QueryFilter() {} -func (m *ValidatorBalances) GetBalances() []*ValidatorBalances_Balance { - if m != nil { - return m.Balances - } - return nil +type ValidatorBalances struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Epoch github_com_prysmaticlabs_eth2_types.Epoch `protobuf:"varint,1,opt,name=epoch,proto3" json:"epoch,omitempty" cast-type:"github.com/prysmaticlabs/eth2-types.Epoch"` + Balances []*ValidatorBalances_Balance `protobuf:"bytes,2,rep,name=balances,proto3" json:"balances,omitempty"` + NextPageToken string `protobuf:"bytes,3,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` + TotalSize int32 `protobuf:"varint,4,opt,name=total_size,json=totalSize,proto3" json:"total_size,omitempty"` } -func (m *ValidatorBalances) GetNextPageToken() string { - if m != nil { - return m.NextPageToken +func (x *ValidatorBalances) Reset() { + *x = ValidatorBalances{} + if protoimpl.UnsafeEnabled { + mi := &file_eth_v1alpha1_beacon_chain_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } - return "" } -func (m *ValidatorBalances) GetTotalSize() int32 { - if m != nil { - return m.TotalSize - } - return 0 +func (x *ValidatorBalances) String() string { + return protoimpl.X.MessageStringOf(x) } -type ValidatorBalances_Balance struct { - PublicKey []byte `protobuf:"bytes,1,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty" ssz-size:"48"` - Index github_com_prysmaticlabs_eth2_types.ValidatorIndex `protobuf:"varint,2,opt,name=index,proto3,casttype=github.com/prysmaticlabs/eth2-types.ValidatorIndex" json:"index,omitempty"` - Balance uint64 `protobuf:"varint,3,opt,name=balance,proto3" json:"balance,omitempty"` - Status string `protobuf:"bytes,4,opt,name=status,proto3" json:"status,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ValidatorBalances_Balance) Reset() { *m = ValidatorBalances_Balance{} } -func (m *ValidatorBalances_Balance) String() string { return proto.CompactTextString(m) } -func (*ValidatorBalances_Balance) ProtoMessage() {} -func (*ValidatorBalances_Balance) Descriptor() ([]byte, []int) { - return fileDescriptor_e33ad64d6ced77c1, []int{13, 0} -} -func (m *ValidatorBalances_Balance) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *ValidatorBalances_Balance) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_ValidatorBalances_Balance.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err +func (*ValidatorBalances) ProtoMessage() {} + +func (x *ValidatorBalances) ProtoReflect() protoreflect.Message { + mi := &file_eth_v1alpha1_beacon_chain_proto_msgTypes[13] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - return b[:n], nil + return ms } -} -func (m *ValidatorBalances_Balance) XXX_Merge(src proto.Message) { - xxx_messageInfo_ValidatorBalances_Balance.Merge(m, src) -} -func (m *ValidatorBalances_Balance) XXX_Size() int { - return m.Size() -} -func (m *ValidatorBalances_Balance) XXX_DiscardUnknown() { - xxx_messageInfo_ValidatorBalances_Balance.DiscardUnknown(m) + return mi.MessageOf(x) } -var xxx_messageInfo_ValidatorBalances_Balance proto.InternalMessageInfo +// Deprecated: Use ValidatorBalances.ProtoReflect.Descriptor instead. +func (*ValidatorBalances) Descriptor() ([]byte, []int) { + return file_eth_v1alpha1_beacon_chain_proto_rawDescGZIP(), []int{13} +} -func (m *ValidatorBalances_Balance) GetPublicKey() []byte { - if m != nil { - return m.PublicKey +func (x *ValidatorBalances) GetEpoch() github_com_prysmaticlabs_eth2_types.Epoch { + if x != nil { + return x.Epoch } - return nil + return github_com_prysmaticlabs_eth2_types.Epoch(0) } -func (m *ValidatorBalances_Balance) GetIndex() github_com_prysmaticlabs_eth2_types.ValidatorIndex { - if m != nil { - return m.Index +func (x *ValidatorBalances) GetBalances() []*ValidatorBalances_Balance { + if x != nil { + return x.Balances } - return 0 + return nil } -func (m *ValidatorBalances_Balance) GetBalance() uint64 { - if m != nil { - return m.Balance +func (x *ValidatorBalances) GetNextPageToken() string { + if x != nil { + return x.NextPageToken } - return 0 + return "" } -func (m *ValidatorBalances_Balance) GetStatus() string { - if m != nil { - return m.Status +func (x *ValidatorBalances) GetTotalSize() int32 { + if x != nil { + return x.TotalSize } - return "" + return 0 } type ListValidatorsRequest struct { - // Types that are valid to be assigned to QueryFilter: + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Types that are assignable to QueryFilter: // *ListValidatorsRequest_Epoch // *ListValidatorsRequest_Genesis - QueryFilter isListValidatorsRequest_QueryFilter `protobuf_oneof:"query_filter"` - Active bool `protobuf:"varint,3,opt,name=active,proto3" json:"active,omitempty"` - PageSize int32 `protobuf:"varint,4,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` - PageToken string `protobuf:"bytes,5,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` - PublicKeys [][]byte `protobuf:"bytes,6,rep,name=public_keys,json=publicKeys,proto3" json:"public_keys,omitempty"` - Indices []github_com_prysmaticlabs_eth2_types.ValidatorIndex `protobuf:"varint,7,rep,packed,name=indices,proto3,casttype=github.com/prysmaticlabs/eth2-types.ValidatorIndex" json:"indices,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ListValidatorsRequest) Reset() { *m = ListValidatorsRequest{} } -func (m *ListValidatorsRequest) String() string { return proto.CompactTextString(m) } -func (*ListValidatorsRequest) ProtoMessage() {} -func (*ListValidatorsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_e33ad64d6ced77c1, []int{14} -} -func (m *ListValidatorsRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *ListValidatorsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_ListValidatorsRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil - } + QueryFilter isListValidatorsRequest_QueryFilter `protobuf_oneof:"query_filter"` + Active bool `protobuf:"varint,3,opt,name=active,proto3" json:"active,omitempty"` + PageSize int32 `protobuf:"varint,4,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` + PageToken string `protobuf:"bytes,5,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` + PublicKeys [][]byte `protobuf:"bytes,6,rep,name=public_keys,json=publicKeys,proto3" json:"public_keys,omitempty"` + Indices []github_com_prysmaticlabs_eth2_types.ValidatorIndex `protobuf:"varint,7,rep,packed,name=indices,proto3" json:"indices,omitempty" cast-type:"github.com/prysmaticlabs/eth2-types.ValidatorIndex"` } -func (m *ListValidatorsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListValidatorsRequest.Merge(m, src) -} -func (m *ListValidatorsRequest) XXX_Size() int { - return m.Size() + +func (x *ListValidatorsRequest) Reset() { + *x = ListValidatorsRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_eth_v1alpha1_beacon_chain_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ListValidatorsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListValidatorsRequest.DiscardUnknown(m) + +func (x *ListValidatorsRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -var xxx_messageInfo_ListValidatorsRequest proto.InternalMessageInfo +func (*ListValidatorsRequest) ProtoMessage() {} -type isListValidatorsRequest_QueryFilter interface { - isListValidatorsRequest_QueryFilter() - MarshalTo([]byte) (int, error) - Size() int +func (x *ListValidatorsRequest) ProtoReflect() protoreflect.Message { + mi := &file_eth_v1alpha1_beacon_chain_proto_msgTypes[14] + 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) } -type ListValidatorsRequest_Epoch struct { - Epoch github_com_prysmaticlabs_eth2_types.Epoch `protobuf:"varint,1,opt,name=epoch,proto3,oneof,casttype=github.com/prysmaticlabs/eth2-types.Epoch" json:"epoch,omitempty"` -} -type ListValidatorsRequest_Genesis struct { - Genesis bool `protobuf:"varint,2,opt,name=genesis,proto3,oneof" json:"genesis,omitempty"` +// Deprecated: Use ListValidatorsRequest.ProtoReflect.Descriptor instead. +func (*ListValidatorsRequest) Descriptor() ([]byte, []int) { + return file_eth_v1alpha1_beacon_chain_proto_rawDescGZIP(), []int{14} } -func (*ListValidatorsRequest_Epoch) isListValidatorsRequest_QueryFilter() {} -func (*ListValidatorsRequest_Genesis) isListValidatorsRequest_QueryFilter() {} - func (m *ListValidatorsRequest) GetQueryFilter() isListValidatorsRequest_QueryFilter { if m != nil { return m.QueryFilter @@ -1465,122 +1269,114 @@ func (m *ListValidatorsRequest) GetQueryFilter() isListValidatorsRequest_QueryFi return nil } -func (m *ListValidatorsRequest) GetEpoch() github_com_prysmaticlabs_eth2_types.Epoch { - if x, ok := m.GetQueryFilter().(*ListValidatorsRequest_Epoch); ok { +func (x *ListValidatorsRequest) GetEpoch() github_com_prysmaticlabs_eth2_types.Epoch { + if x, ok := x.GetQueryFilter().(*ListValidatorsRequest_Epoch); ok { return x.Epoch } - return 0 + return github_com_prysmaticlabs_eth2_types.Epoch(0) } -func (m *ListValidatorsRequest) GetGenesis() bool { - if x, ok := m.GetQueryFilter().(*ListValidatorsRequest_Genesis); ok { +func (x *ListValidatorsRequest) GetGenesis() bool { + if x, ok := x.GetQueryFilter().(*ListValidatorsRequest_Genesis); ok { return x.Genesis } return false } -func (m *ListValidatorsRequest) GetActive() bool { - if m != nil { - return m.Active +func (x *ListValidatorsRequest) GetActive() bool { + if x != nil { + return x.Active } return false } -func (m *ListValidatorsRequest) GetPageSize() int32 { - if m != nil { - return m.PageSize +func (x *ListValidatorsRequest) GetPageSize() int32 { + if x != nil { + return x.PageSize } return 0 } -func (m *ListValidatorsRequest) GetPageToken() string { - if m != nil { - return m.PageToken +func (x *ListValidatorsRequest) GetPageToken() string { + if x != nil { + return x.PageToken } return "" } -func (m *ListValidatorsRequest) GetPublicKeys() [][]byte { - if m != nil { - return m.PublicKeys +func (x *ListValidatorsRequest) GetPublicKeys() [][]byte { + if x != nil { + return x.PublicKeys } return nil } -func (m *ListValidatorsRequest) GetIndices() []github_com_prysmaticlabs_eth2_types.ValidatorIndex { - if m != nil { - return m.Indices +func (x *ListValidatorsRequest) GetIndices() []github_com_prysmaticlabs_eth2_types.ValidatorIndex { + if x != nil { + return x.Indices } - return nil + return []github_com_prysmaticlabs_eth2_types.ValidatorIndex(nil) } -// XXX_OneofWrappers is for the internal use of the proto package. -func (*ListValidatorsRequest) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*ListValidatorsRequest_Epoch)(nil), - (*ListValidatorsRequest_Genesis)(nil), - } +type isListValidatorsRequest_QueryFilter interface { + isListValidatorsRequest_QueryFilter() } +type ListValidatorsRequest_Epoch struct { + Epoch github_com_prysmaticlabs_eth2_types.Epoch `protobuf:"varint,1,opt,name=epoch,proto3,oneof" cast-type:"github.com/prysmaticlabs/eth2-types.Epoch"` +} + +type ListValidatorsRequest_Genesis struct { + Genesis bool `protobuf:"varint,2,opt,name=genesis,proto3,oneof"` +} + +func (*ListValidatorsRequest_Epoch) isListValidatorsRequest_QueryFilter() {} + +func (*ListValidatorsRequest_Genesis) isListValidatorsRequest_QueryFilter() {} + type GetValidatorRequest struct { - // Types that are valid to be assigned to QueryFilter: + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Types that are assignable to QueryFilter: // *GetValidatorRequest_Index // *GetValidatorRequest_PublicKey - QueryFilter isGetValidatorRequest_QueryFilter `protobuf_oneof:"query_filter"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + QueryFilter isGetValidatorRequest_QueryFilter `protobuf_oneof:"query_filter"` } -func (m *GetValidatorRequest) Reset() { *m = GetValidatorRequest{} } -func (m *GetValidatorRequest) String() string { return proto.CompactTextString(m) } -func (*GetValidatorRequest) ProtoMessage() {} -func (*GetValidatorRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_e33ad64d6ced77c1, []int{15} -} -func (m *GetValidatorRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *GetValidatorRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_GetValidatorRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *GetValidatorRequest) Reset() { + *x = GetValidatorRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_eth_v1alpha1_beacon_chain_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *GetValidatorRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetValidatorRequest.Merge(m, src) -} -func (m *GetValidatorRequest) XXX_Size() int { - return m.Size() -} -func (m *GetValidatorRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetValidatorRequest.DiscardUnknown(m) + +func (x *GetValidatorRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -var xxx_messageInfo_GetValidatorRequest proto.InternalMessageInfo +func (*GetValidatorRequest) ProtoMessage() {} -type isGetValidatorRequest_QueryFilter interface { - isGetValidatorRequest_QueryFilter() - MarshalTo([]byte) (int, error) - Size() int +func (x *GetValidatorRequest) ProtoReflect() protoreflect.Message { + mi := &file_eth_v1alpha1_beacon_chain_proto_msgTypes[15] + 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) } -type GetValidatorRequest_Index struct { - Index github_com_prysmaticlabs_eth2_types.ValidatorIndex `protobuf:"varint,1,opt,name=index,proto3,oneof,casttype=github.com/prysmaticlabs/eth2-types.ValidatorIndex" json:"index,omitempty"` -} -type GetValidatorRequest_PublicKey struct { - PublicKey []byte `protobuf:"bytes,2,opt,name=public_key,json=publicKey,proto3,oneof" json:"public_key,omitempty" ssz-size:"48"` +// Deprecated: Use GetValidatorRequest.ProtoReflect.Descriptor instead. +func (*GetValidatorRequest) Descriptor() ([]byte, []int) { + return file_eth_v1alpha1_beacon_chain_proto_rawDescGZIP(), []int{15} } -func (*GetValidatorRequest_Index) isGetValidatorRequest_QueryFilter() {} -func (*GetValidatorRequest_PublicKey) isGetValidatorRequest_QueryFilter() {} - func (m *GetValidatorRequest) GetQueryFilter() isGetValidatorRequest_QueryFilter { if m != nil { return m.QueryFilter @@ -1588,213 +1384,148 @@ func (m *GetValidatorRequest) GetQueryFilter() isGetValidatorRequest_QueryFilter return nil } -func (m *GetValidatorRequest) GetIndex() github_com_prysmaticlabs_eth2_types.ValidatorIndex { - if x, ok := m.GetQueryFilter().(*GetValidatorRequest_Index); ok { +func (x *GetValidatorRequest) GetIndex() github_com_prysmaticlabs_eth2_types.ValidatorIndex { + if x, ok := x.GetQueryFilter().(*GetValidatorRequest_Index); ok { return x.Index } - return 0 + return github_com_prysmaticlabs_eth2_types.ValidatorIndex(0) } -func (m *GetValidatorRequest) GetPublicKey() []byte { - if x, ok := m.GetQueryFilter().(*GetValidatorRequest_PublicKey); ok { +func (x *GetValidatorRequest) GetPublicKey() []byte { + if x, ok := x.GetQueryFilter().(*GetValidatorRequest_PublicKey); ok { return x.PublicKey } return nil } -// XXX_OneofWrappers is for the internal use of the proto package. -func (*GetValidatorRequest) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*GetValidatorRequest_Index)(nil), - (*GetValidatorRequest_PublicKey)(nil), - } +type isGetValidatorRequest_QueryFilter interface { + isGetValidatorRequest_QueryFilter() } -type Validators struct { - Epoch github_com_prysmaticlabs_eth2_types.Epoch `protobuf:"varint,1,opt,name=epoch,proto3,casttype=github.com/prysmaticlabs/eth2-types.Epoch" json:"epoch,omitempty"` - ValidatorList []*Validators_ValidatorContainer `protobuf:"bytes,2,rep,name=validator_list,json=validatorList,proto3" json:"validator_list,omitempty"` - NextPageToken string `protobuf:"bytes,3,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` - TotalSize int32 `protobuf:"varint,4,opt,name=total_size,json=totalSize,proto3" json:"total_size,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Validators) Reset() { *m = Validators{} } -func (m *Validators) String() string { return proto.CompactTextString(m) } -func (*Validators) ProtoMessage() {} -func (*Validators) Descriptor() ([]byte, []int) { - return fileDescriptor_e33ad64d6ced77c1, []int{16} -} -func (m *Validators) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *Validators) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_Validators.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil - } -} -func (m *Validators) XXX_Merge(src proto.Message) { - xxx_messageInfo_Validators.Merge(m, src) -} -func (m *Validators) XXX_Size() int { - return m.Size() +type GetValidatorRequest_Index struct { + Index github_com_prysmaticlabs_eth2_types.ValidatorIndex `protobuf:"varint,1,opt,name=index,proto3,oneof" cast-type:"github.com/prysmaticlabs/eth2-types.ValidatorIndex"` } -func (m *Validators) XXX_DiscardUnknown() { - xxx_messageInfo_Validators.DiscardUnknown(m) + +type GetValidatorRequest_PublicKey struct { + PublicKey []byte `protobuf:"bytes,2,opt,name=public_key,json=publicKey,proto3,oneof" ssz-size:"48"` } -var xxx_messageInfo_Validators proto.InternalMessageInfo +func (*GetValidatorRequest_Index) isGetValidatorRequest_QueryFilter() {} -func (m *Validators) GetEpoch() github_com_prysmaticlabs_eth2_types.Epoch { - if m != nil { - return m.Epoch - } - return 0 -} +func (*GetValidatorRequest_PublicKey) isGetValidatorRequest_QueryFilter() {} -func (m *Validators) GetValidatorList() []*Validators_ValidatorContainer { - if m != nil { - return m.ValidatorList - } - return nil -} +type Validators struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *Validators) GetNextPageToken() string { - if m != nil { - return m.NextPageToken - } - return "" + Epoch github_com_prysmaticlabs_eth2_types.Epoch `protobuf:"varint,1,opt,name=epoch,proto3" json:"epoch,omitempty" cast-type:"github.com/prysmaticlabs/eth2-types.Epoch"` + ValidatorList []*Validators_ValidatorContainer `protobuf:"bytes,2,rep,name=validator_list,json=validatorList,proto3" json:"validator_list,omitempty"` + NextPageToken string `protobuf:"bytes,3,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` + TotalSize int32 `protobuf:"varint,4,opt,name=total_size,json=totalSize,proto3" json:"total_size,omitempty"` } -func (m *Validators) GetTotalSize() int32 { - if m != nil { - return m.TotalSize +func (x *Validators) Reset() { + *x = Validators{} + if protoimpl.UnsafeEnabled { + mi := &file_eth_v1alpha1_beacon_chain_proto_msgTypes[16] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } - return 0 } -type Validators_ValidatorContainer struct { - Index github_com_prysmaticlabs_eth2_types.ValidatorIndex `protobuf:"varint,1,opt,name=index,proto3,casttype=github.com/prysmaticlabs/eth2-types.ValidatorIndex" json:"index,omitempty"` - Validator *Validator `protobuf:"bytes,2,opt,name=validator,proto3" json:"validator,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +func (x *Validators) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *Validators_ValidatorContainer) Reset() { *m = Validators_ValidatorContainer{} } -func (m *Validators_ValidatorContainer) String() string { return proto.CompactTextString(m) } -func (*Validators_ValidatorContainer) ProtoMessage() {} -func (*Validators_ValidatorContainer) Descriptor() ([]byte, []int) { - return fileDescriptor_e33ad64d6ced77c1, []int{16, 0} -} -func (m *Validators_ValidatorContainer) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *Validators_ValidatorContainer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_Validators_ValidatorContainer.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err +func (*Validators) ProtoMessage() {} + +func (x *Validators) ProtoReflect() protoreflect.Message { + mi := &file_eth_v1alpha1_beacon_chain_proto_msgTypes[16] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - return b[:n], nil + return ms } + return mi.MessageOf(x) } -func (m *Validators_ValidatorContainer) XXX_Merge(src proto.Message) { - xxx_messageInfo_Validators_ValidatorContainer.Merge(m, src) -} -func (m *Validators_ValidatorContainer) XXX_Size() int { - return m.Size() + +// Deprecated: Use Validators.ProtoReflect.Descriptor instead. +func (*Validators) Descriptor() ([]byte, []int) { + return file_eth_v1alpha1_beacon_chain_proto_rawDescGZIP(), []int{16} } -func (m *Validators_ValidatorContainer) XXX_DiscardUnknown() { - xxx_messageInfo_Validators_ValidatorContainer.DiscardUnknown(m) + +func (x *Validators) GetEpoch() github_com_prysmaticlabs_eth2_types.Epoch { + if x != nil { + return x.Epoch + } + return github_com_prysmaticlabs_eth2_types.Epoch(0) } -var xxx_messageInfo_Validators_ValidatorContainer proto.InternalMessageInfo +func (x *Validators) GetValidatorList() []*Validators_ValidatorContainer { + if x != nil { + return x.ValidatorList + } + return nil +} -func (m *Validators_ValidatorContainer) GetIndex() github_com_prysmaticlabs_eth2_types.ValidatorIndex { - if m != nil { - return m.Index +func (x *Validators) GetNextPageToken() string { + if x != nil { + return x.NextPageToken } - return 0 + return "" } -func (m *Validators_ValidatorContainer) GetValidator() *Validator { - if m != nil { - return m.Validator +func (x *Validators) GetTotalSize() int32 { + if x != nil { + return x.TotalSize } - return nil + return 0 } type GetValidatorActiveSetChangesRequest struct { - // Types that are valid to be assigned to QueryFilter: + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Types that are assignable to QueryFilter: // *GetValidatorActiveSetChangesRequest_Epoch // *GetValidatorActiveSetChangesRequest_Genesis - QueryFilter isGetValidatorActiveSetChangesRequest_QueryFilter `protobuf_oneof:"query_filter"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + QueryFilter isGetValidatorActiveSetChangesRequest_QueryFilter `protobuf_oneof:"query_filter"` } -func (m *GetValidatorActiveSetChangesRequest) Reset() { *m = GetValidatorActiveSetChangesRequest{} } -func (m *GetValidatorActiveSetChangesRequest) String() string { return proto.CompactTextString(m) } -func (*GetValidatorActiveSetChangesRequest) ProtoMessage() {} -func (*GetValidatorActiveSetChangesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_e33ad64d6ced77c1, []int{17} -} -func (m *GetValidatorActiveSetChangesRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *GetValidatorActiveSetChangesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_GetValidatorActiveSetChangesRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *GetValidatorActiveSetChangesRequest) Reset() { + *x = GetValidatorActiveSetChangesRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_eth_v1alpha1_beacon_chain_proto_msgTypes[17] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *GetValidatorActiveSetChangesRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetValidatorActiveSetChangesRequest.Merge(m, src) -} -func (m *GetValidatorActiveSetChangesRequest) XXX_Size() int { - return m.Size() -} -func (m *GetValidatorActiveSetChangesRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetValidatorActiveSetChangesRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetValidatorActiveSetChangesRequest proto.InternalMessageInfo -type isGetValidatorActiveSetChangesRequest_QueryFilter interface { - isGetValidatorActiveSetChangesRequest_QueryFilter() - MarshalTo([]byte) (int, error) - Size() int +func (x *GetValidatorActiveSetChangesRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -type GetValidatorActiveSetChangesRequest_Epoch struct { - Epoch github_com_prysmaticlabs_eth2_types.Epoch `protobuf:"varint,1,opt,name=epoch,proto3,oneof,casttype=github.com/prysmaticlabs/eth2-types.Epoch" json:"epoch,omitempty"` -} -type GetValidatorActiveSetChangesRequest_Genesis struct { - Genesis bool `protobuf:"varint,2,opt,name=genesis,proto3,oneof" json:"genesis,omitempty"` -} +func (*GetValidatorActiveSetChangesRequest) ProtoMessage() {} -func (*GetValidatorActiveSetChangesRequest_Epoch) isGetValidatorActiveSetChangesRequest_QueryFilter() { +func (x *GetValidatorActiveSetChangesRequest) ProtoReflect() protoreflect.Message { + mi := &file_eth_v1alpha1_beacon_chain_proto_msgTypes[17] + 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) } -func (*GetValidatorActiveSetChangesRequest_Genesis) isGetValidatorActiveSetChangesRequest_QueryFilter() { + +// Deprecated: Use GetValidatorActiveSetChangesRequest.ProtoReflect.Descriptor instead. +func (*GetValidatorActiveSetChangesRequest) Descriptor() ([]byte, []int) { + return file_eth_v1alpha1_beacon_chain_proto_rawDescGZIP(), []int{17} } func (m *GetValidatorActiveSetChangesRequest) GetQueryFilter() isGetValidatorActiveSetChangesRequest_QueryFilter { @@ -1804,199 +1535,214 @@ func (m *GetValidatorActiveSetChangesRequest) GetQueryFilter() isGetValidatorAct return nil } -func (m *GetValidatorActiveSetChangesRequest) GetEpoch() github_com_prysmaticlabs_eth2_types.Epoch { - if x, ok := m.GetQueryFilter().(*GetValidatorActiveSetChangesRequest_Epoch); ok { +func (x *GetValidatorActiveSetChangesRequest) GetEpoch() github_com_prysmaticlabs_eth2_types.Epoch { + if x, ok := x.GetQueryFilter().(*GetValidatorActiveSetChangesRequest_Epoch); ok { return x.Epoch } - return 0 + return github_com_prysmaticlabs_eth2_types.Epoch(0) } -func (m *GetValidatorActiveSetChangesRequest) GetGenesis() bool { - if x, ok := m.GetQueryFilter().(*GetValidatorActiveSetChangesRequest_Genesis); ok { +func (x *GetValidatorActiveSetChangesRequest) GetGenesis() bool { + if x, ok := x.GetQueryFilter().(*GetValidatorActiveSetChangesRequest_Genesis); ok { return x.Genesis } return false } -// XXX_OneofWrappers is for the internal use of the proto package. -func (*GetValidatorActiveSetChangesRequest) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*GetValidatorActiveSetChangesRequest_Epoch)(nil), - (*GetValidatorActiveSetChangesRequest_Genesis)(nil), - } +type isGetValidatorActiveSetChangesRequest_QueryFilter interface { + isGetValidatorActiveSetChangesRequest_QueryFilter() +} + +type GetValidatorActiveSetChangesRequest_Epoch struct { + Epoch github_com_prysmaticlabs_eth2_types.Epoch `protobuf:"varint,1,opt,name=epoch,proto3,oneof" cast-type:"github.com/prysmaticlabs/eth2-types.Epoch"` +} + +type GetValidatorActiveSetChangesRequest_Genesis struct { + Genesis bool `protobuf:"varint,2,opt,name=genesis,proto3,oneof"` +} + +func (*GetValidatorActiveSetChangesRequest_Epoch) isGetValidatorActiveSetChangesRequest_QueryFilter() { +} + +func (*GetValidatorActiveSetChangesRequest_Genesis) isGetValidatorActiveSetChangesRequest_QueryFilter() { } type ActiveSetChanges struct { - Epoch github_com_prysmaticlabs_eth2_types.Epoch `protobuf:"varint,1,opt,name=epoch,proto3,casttype=github.com/prysmaticlabs/eth2-types.Epoch" json:"epoch,omitempty"` - ActivatedPublicKeys [][]byte `protobuf:"bytes,2,rep,name=activated_public_keys,json=activatedPublicKeys,proto3" json:"activated_public_keys,omitempty" ssz-size:"?,48"` - ActivatedIndices []github_com_prysmaticlabs_eth2_types.ValidatorIndex `protobuf:"varint,3,rep,packed,name=activated_indices,json=activatedIndices,proto3,casttype=github.com/prysmaticlabs/eth2-types.ValidatorIndex" json:"activated_indices,omitempty"` - ExitedPublicKeys [][]byte `protobuf:"bytes,4,rep,name=exited_public_keys,json=exitedPublicKeys,proto3" json:"exited_public_keys,omitempty" ssz-size:"?,48"` - ExitedIndices []github_com_prysmaticlabs_eth2_types.ValidatorIndex `protobuf:"varint,5,rep,packed,name=exited_indices,json=exitedIndices,proto3,casttype=github.com/prysmaticlabs/eth2-types.ValidatorIndex" json:"exited_indices,omitempty"` - SlashedPublicKeys [][]byte `protobuf:"bytes,6,rep,name=slashed_public_keys,json=slashedPublicKeys,proto3" json:"slashed_public_keys,omitempty" ssz-size:"?,48"` - SlashedIndices []github_com_prysmaticlabs_eth2_types.ValidatorIndex `protobuf:"varint,7,rep,packed,name=slashed_indices,json=slashedIndices,proto3,casttype=github.com/prysmaticlabs/eth2-types.ValidatorIndex" json:"slashed_indices,omitempty"` - EjectedPublicKeys [][]byte `protobuf:"bytes,8,rep,name=ejected_public_keys,json=ejectedPublicKeys,proto3" json:"ejected_public_keys,omitempty" ssz-size:"?,48"` - EjectedIndices []github_com_prysmaticlabs_eth2_types.ValidatorIndex `protobuf:"varint,9,rep,packed,name=ejected_indices,json=ejectedIndices,proto3,casttype=github.com/prysmaticlabs/eth2-types.ValidatorIndex" json:"ejected_indices,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ActiveSetChanges) Reset() { *m = ActiveSetChanges{} } -func (m *ActiveSetChanges) String() string { return proto.CompactTextString(m) } -func (*ActiveSetChanges) ProtoMessage() {} -func (*ActiveSetChanges) Descriptor() ([]byte, []int) { - return fileDescriptor_e33ad64d6ced77c1, []int{18} -} -func (m *ActiveSetChanges) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *ActiveSetChanges) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_ActiveSetChanges.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil - } + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Epoch github_com_prysmaticlabs_eth2_types.Epoch `protobuf:"varint,1,opt,name=epoch,proto3" json:"epoch,omitempty" cast-type:"github.com/prysmaticlabs/eth2-types.Epoch"` + ActivatedPublicKeys [][]byte `protobuf:"bytes,2,rep,name=activated_public_keys,json=activatedPublicKeys,proto3" json:"activated_public_keys,omitempty" ssz-size:"?,48"` + ActivatedIndices []github_com_prysmaticlabs_eth2_types.ValidatorIndex `protobuf:"varint,3,rep,packed,name=activated_indices,json=activatedIndices,proto3" json:"activated_indices,omitempty" cast-type:"github.com/prysmaticlabs/eth2-types.ValidatorIndex"` + ExitedPublicKeys [][]byte `protobuf:"bytes,4,rep,name=exited_public_keys,json=exitedPublicKeys,proto3" json:"exited_public_keys,omitempty" ssz-size:"?,48"` + ExitedIndices []github_com_prysmaticlabs_eth2_types.ValidatorIndex `protobuf:"varint,5,rep,packed,name=exited_indices,json=exitedIndices,proto3" json:"exited_indices,omitempty" cast-type:"github.com/prysmaticlabs/eth2-types.ValidatorIndex"` + SlashedPublicKeys [][]byte `protobuf:"bytes,6,rep,name=slashed_public_keys,json=slashedPublicKeys,proto3" json:"slashed_public_keys,omitempty" ssz-size:"?,48"` + SlashedIndices []github_com_prysmaticlabs_eth2_types.ValidatorIndex `protobuf:"varint,7,rep,packed,name=slashed_indices,json=slashedIndices,proto3" json:"slashed_indices,omitempty" cast-type:"github.com/prysmaticlabs/eth2-types.ValidatorIndex"` + EjectedPublicKeys [][]byte `protobuf:"bytes,8,rep,name=ejected_public_keys,json=ejectedPublicKeys,proto3" json:"ejected_public_keys,omitempty" ssz-size:"?,48"` + EjectedIndices []github_com_prysmaticlabs_eth2_types.ValidatorIndex `protobuf:"varint,9,rep,packed,name=ejected_indices,json=ejectedIndices,proto3" json:"ejected_indices,omitempty" cast-type:"github.com/prysmaticlabs/eth2-types.ValidatorIndex"` } -func (m *ActiveSetChanges) XXX_Merge(src proto.Message) { - xxx_messageInfo_ActiveSetChanges.Merge(m, src) + +func (x *ActiveSetChanges) Reset() { + *x = ActiveSetChanges{} + if protoimpl.UnsafeEnabled { + mi := &file_eth_v1alpha1_beacon_chain_proto_msgTypes[18] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ActiveSetChanges) XXX_Size() int { - return m.Size() + +func (x *ActiveSetChanges) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ActiveSetChanges) XXX_DiscardUnknown() { - xxx_messageInfo_ActiveSetChanges.DiscardUnknown(m) + +func (*ActiveSetChanges) ProtoMessage() {} + +func (x *ActiveSetChanges) ProtoReflect() protoreflect.Message { + mi := &file_eth_v1alpha1_beacon_chain_proto_msgTypes[18] + 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) } -var xxx_messageInfo_ActiveSetChanges proto.InternalMessageInfo +// Deprecated: Use ActiveSetChanges.ProtoReflect.Descriptor instead. +func (*ActiveSetChanges) Descriptor() ([]byte, []int) { + return file_eth_v1alpha1_beacon_chain_proto_rawDescGZIP(), []int{18} +} -func (m *ActiveSetChanges) GetEpoch() github_com_prysmaticlabs_eth2_types.Epoch { - if m != nil { - return m.Epoch +func (x *ActiveSetChanges) GetEpoch() github_com_prysmaticlabs_eth2_types.Epoch { + if x != nil { + return x.Epoch } - return 0 + return github_com_prysmaticlabs_eth2_types.Epoch(0) } -func (m *ActiveSetChanges) GetActivatedPublicKeys() [][]byte { - if m != nil { - return m.ActivatedPublicKeys +func (x *ActiveSetChanges) GetActivatedPublicKeys() [][]byte { + if x != nil { + return x.ActivatedPublicKeys } return nil } -func (m *ActiveSetChanges) GetActivatedIndices() []github_com_prysmaticlabs_eth2_types.ValidatorIndex { - if m != nil { - return m.ActivatedIndices +func (x *ActiveSetChanges) GetActivatedIndices() []github_com_prysmaticlabs_eth2_types.ValidatorIndex { + if x != nil { + return x.ActivatedIndices } - return nil + return []github_com_prysmaticlabs_eth2_types.ValidatorIndex(nil) } -func (m *ActiveSetChanges) GetExitedPublicKeys() [][]byte { - if m != nil { - return m.ExitedPublicKeys +func (x *ActiveSetChanges) GetExitedPublicKeys() [][]byte { + if x != nil { + return x.ExitedPublicKeys } return nil } -func (m *ActiveSetChanges) GetExitedIndices() []github_com_prysmaticlabs_eth2_types.ValidatorIndex { - if m != nil { - return m.ExitedIndices +func (x *ActiveSetChanges) GetExitedIndices() []github_com_prysmaticlabs_eth2_types.ValidatorIndex { + if x != nil { + return x.ExitedIndices } - return nil + return []github_com_prysmaticlabs_eth2_types.ValidatorIndex(nil) } -func (m *ActiveSetChanges) GetSlashedPublicKeys() [][]byte { - if m != nil { - return m.SlashedPublicKeys +func (x *ActiveSetChanges) GetSlashedPublicKeys() [][]byte { + if x != nil { + return x.SlashedPublicKeys } return nil } -func (m *ActiveSetChanges) GetSlashedIndices() []github_com_prysmaticlabs_eth2_types.ValidatorIndex { - if m != nil { - return m.SlashedIndices +func (x *ActiveSetChanges) GetSlashedIndices() []github_com_prysmaticlabs_eth2_types.ValidatorIndex { + if x != nil { + return x.SlashedIndices } - return nil + return []github_com_prysmaticlabs_eth2_types.ValidatorIndex(nil) } -func (m *ActiveSetChanges) GetEjectedPublicKeys() [][]byte { - if m != nil { - return m.EjectedPublicKeys +func (x *ActiveSetChanges) GetEjectedPublicKeys() [][]byte { + if x != nil { + return x.EjectedPublicKeys } return nil } -func (m *ActiveSetChanges) GetEjectedIndices() []github_com_prysmaticlabs_eth2_types.ValidatorIndex { - if m != nil { - return m.EjectedIndices +func (x *ActiveSetChanges) GetEjectedIndices() []github_com_prysmaticlabs_eth2_types.ValidatorIndex { + if x != nil { + return x.EjectedIndices } - return nil + return []github_com_prysmaticlabs_eth2_types.ValidatorIndex(nil) } type ValidatorPerformanceRequest struct { - PublicKeys [][]byte `protobuf:"bytes,1,rep,name=public_keys,json=publicKeys,proto3" json:"public_keys,omitempty"` // Deprecated: Do not use. - Indices []github_com_prysmaticlabs_eth2_types.ValidatorIndex `protobuf:"varint,2,rep,packed,name=indices,proto3,casttype=github.com/prysmaticlabs/eth2-types.ValidatorIndex" json:"indices,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. + PublicKeys [][]byte `protobuf:"bytes,1,rep,name=public_keys,json=publicKeys,proto3" json:"public_keys,omitempty"` + Indices []github_com_prysmaticlabs_eth2_types.ValidatorIndex `protobuf:"varint,2,rep,packed,name=indices,proto3" json:"indices,omitempty" cast-type:"github.com/prysmaticlabs/eth2-types.ValidatorIndex"` } -func (m *ValidatorPerformanceRequest) Reset() { *m = ValidatorPerformanceRequest{} } -func (m *ValidatorPerformanceRequest) String() string { return proto.CompactTextString(m) } -func (*ValidatorPerformanceRequest) ProtoMessage() {} -func (*ValidatorPerformanceRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_e33ad64d6ced77c1, []int{19} -} -func (m *ValidatorPerformanceRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *ValidatorPerformanceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_ValidatorPerformanceRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *ValidatorPerformanceRequest) Reset() { + *x = ValidatorPerformanceRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_eth_v1alpha1_beacon_chain_proto_msgTypes[19] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *ValidatorPerformanceRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ValidatorPerformanceRequest.Merge(m, src) -} -func (m *ValidatorPerformanceRequest) XXX_Size() int { - return m.Size() + +func (x *ValidatorPerformanceRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ValidatorPerformanceRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ValidatorPerformanceRequest.DiscardUnknown(m) + +func (*ValidatorPerformanceRequest) ProtoMessage() {} + +func (x *ValidatorPerformanceRequest) ProtoReflect() protoreflect.Message { + mi := &file_eth_v1alpha1_beacon_chain_proto_msgTypes[19] + 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) } -var xxx_messageInfo_ValidatorPerformanceRequest proto.InternalMessageInfo +// Deprecated: Use ValidatorPerformanceRequest.ProtoReflect.Descriptor instead. +func (*ValidatorPerformanceRequest) Descriptor() ([]byte, []int) { + return file_eth_v1alpha1_beacon_chain_proto_rawDescGZIP(), []int{19} +} // Deprecated: Do not use. -func (m *ValidatorPerformanceRequest) GetPublicKeys() [][]byte { - if m != nil { - return m.PublicKeys +func (x *ValidatorPerformanceRequest) GetPublicKeys() [][]byte { + if x != nil { + return x.PublicKeys } return nil } -func (m *ValidatorPerformanceRequest) GetIndices() []github_com_prysmaticlabs_eth2_types.ValidatorIndex { - if m != nil { - return m.Indices +func (x *ValidatorPerformanceRequest) GetIndices() []github_com_prysmaticlabs_eth2_types.ValidatorIndex { + if x != nil { + return x.Indices } - return nil + return []github_com_prysmaticlabs_eth2_types.ValidatorIndex(nil) } type ValidatorPerformanceResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + CurrentEffectiveBalances []uint64 `protobuf:"varint,1,rep,packed,name=current_effective_balances,json=currentEffectiveBalances,proto3" json:"current_effective_balances,omitempty"` - InclusionSlots []github_com_prysmaticlabs_eth2_types.Slot `protobuf:"varint,2,rep,packed,name=inclusion_slots,json=inclusionSlots,proto3,casttype=github.com/prysmaticlabs/eth2-types.Slot" json:"inclusion_slots,omitempty"` - InclusionDistances []github_com_prysmaticlabs_eth2_types.Slot `protobuf:"varint,3,rep,packed,name=inclusion_distances,json=inclusionDistances,proto3,casttype=github.com/prysmaticlabs/eth2-types.Slot" json:"inclusion_distances,omitempty"` + InclusionSlots []github_com_prysmaticlabs_eth2_types.Slot `protobuf:"varint,2,rep,packed,name=inclusion_slots,json=inclusionSlots,proto3" json:"inclusion_slots,omitempty" cast-type:"github.com/prysmaticlabs/eth2-types.Slot"` + InclusionDistances []github_com_prysmaticlabs_eth2_types.Slot `protobuf:"varint,3,rep,packed,name=inclusion_distances,json=inclusionDistances,proto3" json:"inclusion_distances,omitempty" cast-type:"github.com/prysmaticlabs/eth2-types.Slot"` CorrectlyVotedSource []bool `protobuf:"varint,4,rep,packed,name=correctly_voted_source,json=correctlyVotedSource,proto3" json:"correctly_voted_source,omitempty"` CorrectlyVotedTarget []bool `protobuf:"varint,5,rep,packed,name=correctly_voted_target,json=correctlyVotedTarget,proto3" json:"correctly_voted_target,omitempty"` CorrectlyVotedHead []bool `protobuf:"varint,6,rep,packed,name=correctly_voted_head,json=correctlyVotedHead,proto3" json:"correctly_voted_head,omitempty"` @@ -2005,265 +1751,247 @@ type ValidatorPerformanceResponse struct { MissingValidators [][]byte `protobuf:"bytes,9,rep,name=missing_validators,json=missingValidators,proto3" json:"missing_validators,omitempty"` AverageActiveValidatorBalance float32 `protobuf:"fixed32,10,opt,name=average_active_validator_balance,json=averageActiveValidatorBalance,proto3" json:"average_active_validator_balance,omitempty"` PublicKeys [][]byte `protobuf:"bytes,11,rep,name=public_keys,json=publicKeys,proto3" json:"public_keys,omitempty" ssz-size:"?,48"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` } -func (m *ValidatorPerformanceResponse) Reset() { *m = ValidatorPerformanceResponse{} } -func (m *ValidatorPerformanceResponse) String() string { return proto.CompactTextString(m) } -func (*ValidatorPerformanceResponse) ProtoMessage() {} -func (*ValidatorPerformanceResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_e33ad64d6ced77c1, []int{20} -} -func (m *ValidatorPerformanceResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *ValidatorPerformanceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_ValidatorPerformanceResponse.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *ValidatorPerformanceResponse) Reset() { + *x = ValidatorPerformanceResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_eth_v1alpha1_beacon_chain_proto_msgTypes[20] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *ValidatorPerformanceResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ValidatorPerformanceResponse.Merge(m, src) -} -func (m *ValidatorPerformanceResponse) XXX_Size() int { - return m.Size() + +func (x *ValidatorPerformanceResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ValidatorPerformanceResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ValidatorPerformanceResponse.DiscardUnknown(m) + +func (*ValidatorPerformanceResponse) ProtoMessage() {} + +func (x *ValidatorPerformanceResponse) ProtoReflect() protoreflect.Message { + mi := &file_eth_v1alpha1_beacon_chain_proto_msgTypes[20] + 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) } -var xxx_messageInfo_ValidatorPerformanceResponse proto.InternalMessageInfo +// Deprecated: Use ValidatorPerformanceResponse.ProtoReflect.Descriptor instead. +func (*ValidatorPerformanceResponse) Descriptor() ([]byte, []int) { + return file_eth_v1alpha1_beacon_chain_proto_rawDescGZIP(), []int{20} +} -func (m *ValidatorPerformanceResponse) GetCurrentEffectiveBalances() []uint64 { - if m != nil { - return m.CurrentEffectiveBalances +func (x *ValidatorPerformanceResponse) GetCurrentEffectiveBalances() []uint64 { + if x != nil { + return x.CurrentEffectiveBalances } return nil } -func (m *ValidatorPerformanceResponse) GetInclusionSlots() []github_com_prysmaticlabs_eth2_types.Slot { - if m != nil { - return m.InclusionSlots +func (x *ValidatorPerformanceResponse) GetInclusionSlots() []github_com_prysmaticlabs_eth2_types.Slot { + if x != nil { + return x.InclusionSlots } - return nil + return []github_com_prysmaticlabs_eth2_types.Slot(nil) } -func (m *ValidatorPerformanceResponse) GetInclusionDistances() []github_com_prysmaticlabs_eth2_types.Slot { - if m != nil { - return m.InclusionDistances +func (x *ValidatorPerformanceResponse) GetInclusionDistances() []github_com_prysmaticlabs_eth2_types.Slot { + if x != nil { + return x.InclusionDistances } - return nil + return []github_com_prysmaticlabs_eth2_types.Slot(nil) } -func (m *ValidatorPerformanceResponse) GetCorrectlyVotedSource() []bool { - if m != nil { - return m.CorrectlyVotedSource +func (x *ValidatorPerformanceResponse) GetCorrectlyVotedSource() []bool { + if x != nil { + return x.CorrectlyVotedSource } return nil } -func (m *ValidatorPerformanceResponse) GetCorrectlyVotedTarget() []bool { - if m != nil { - return m.CorrectlyVotedTarget +func (x *ValidatorPerformanceResponse) GetCorrectlyVotedTarget() []bool { + if x != nil { + return x.CorrectlyVotedTarget } return nil } -func (m *ValidatorPerformanceResponse) GetCorrectlyVotedHead() []bool { - if m != nil { - return m.CorrectlyVotedHead +func (x *ValidatorPerformanceResponse) GetCorrectlyVotedHead() []bool { + if x != nil { + return x.CorrectlyVotedHead } return nil } -func (m *ValidatorPerformanceResponse) GetBalancesBeforeEpochTransition() []uint64 { - if m != nil { - return m.BalancesBeforeEpochTransition +func (x *ValidatorPerformanceResponse) GetBalancesBeforeEpochTransition() []uint64 { + if x != nil { + return x.BalancesBeforeEpochTransition } return nil } -func (m *ValidatorPerformanceResponse) GetBalancesAfterEpochTransition() []uint64 { - if m != nil { - return m.BalancesAfterEpochTransition +func (x *ValidatorPerformanceResponse) GetBalancesAfterEpochTransition() []uint64 { + if x != nil { + return x.BalancesAfterEpochTransition } return nil } -func (m *ValidatorPerformanceResponse) GetMissingValidators() [][]byte { - if m != nil { - return m.MissingValidators +func (x *ValidatorPerformanceResponse) GetMissingValidators() [][]byte { + if x != nil { + return x.MissingValidators } return nil } -func (m *ValidatorPerformanceResponse) GetAverageActiveValidatorBalance() float32 { - if m != nil { - return m.AverageActiveValidatorBalance +func (x *ValidatorPerformanceResponse) GetAverageActiveValidatorBalance() float32 { + if x != nil { + return x.AverageActiveValidatorBalance } return 0 } -func (m *ValidatorPerformanceResponse) GetPublicKeys() [][]byte { - if m != nil { - return m.PublicKeys +func (x *ValidatorPerformanceResponse) GetPublicKeys() [][]byte { + if x != nil { + return x.PublicKeys } return nil } type ValidatorQueue struct { - ChurnLimit uint64 `protobuf:"varint,1,opt,name=churn_limit,json=churnLimit,proto3" json:"churn_limit,omitempty"` - ActivationPublicKeys [][]byte `protobuf:"bytes,2,rep,name=activation_public_keys,json=activationPublicKeys,proto3" json:"activation_public_keys,omitempty" ssz-size:"?,48"` // Deprecated: Do not use. - ExitPublicKeys [][]byte `protobuf:"bytes,3,rep,name=exit_public_keys,json=exitPublicKeys,proto3" json:"exit_public_keys,omitempty" ssz-size:"?,48"` // Deprecated: Do not use. - ActivationValidatorIndices []github_com_prysmaticlabs_eth2_types.ValidatorIndex `protobuf:"varint,4,rep,packed,name=activation_validator_indices,json=activationValidatorIndices,proto3,casttype=github.com/prysmaticlabs/eth2-types.ValidatorIndex" json:"activation_validator_indices,omitempty"` - ExitValidatorIndices []github_com_prysmaticlabs_eth2_types.ValidatorIndex `protobuf:"varint,5,rep,packed,name=exit_validator_indices,json=exitValidatorIndices,proto3,casttype=github.com/prysmaticlabs/eth2-types.ValidatorIndex" json:"exit_validator_indices,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ValidatorQueue) Reset() { *m = ValidatorQueue{} } -func (m *ValidatorQueue) String() string { return proto.CompactTextString(m) } -func (*ValidatorQueue) ProtoMessage() {} -func (*ValidatorQueue) Descriptor() ([]byte, []int) { - return fileDescriptor_e33ad64d6ced77c1, []int{21} -} -func (m *ValidatorQueue) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *ValidatorQueue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_ValidatorQueue.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil - } + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ChurnLimit uint64 `protobuf:"varint,1,opt,name=churn_limit,json=churnLimit,proto3" json:"churn_limit,omitempty"` + // Deprecated: Do not use. + ActivationPublicKeys [][]byte `protobuf:"bytes,2,rep,name=activation_public_keys,json=activationPublicKeys,proto3" json:"activation_public_keys,omitempty" ssz-size:"?,48"` + // Deprecated: Do not use. + ExitPublicKeys [][]byte `protobuf:"bytes,3,rep,name=exit_public_keys,json=exitPublicKeys,proto3" json:"exit_public_keys,omitempty" ssz-size:"?,48"` + ActivationValidatorIndices []github_com_prysmaticlabs_eth2_types.ValidatorIndex `protobuf:"varint,4,rep,packed,name=activation_validator_indices,json=activationValidatorIndices,proto3" json:"activation_validator_indices,omitempty" cast-type:"github.com/prysmaticlabs/eth2-types.ValidatorIndex"` + ExitValidatorIndices []github_com_prysmaticlabs_eth2_types.ValidatorIndex `protobuf:"varint,5,rep,packed,name=exit_validator_indices,json=exitValidatorIndices,proto3" json:"exit_validator_indices,omitempty" cast-type:"github.com/prysmaticlabs/eth2-types.ValidatorIndex"` } -func (m *ValidatorQueue) XXX_Merge(src proto.Message) { - xxx_messageInfo_ValidatorQueue.Merge(m, src) + +func (x *ValidatorQueue) Reset() { + *x = ValidatorQueue{} + if protoimpl.UnsafeEnabled { + mi := &file_eth_v1alpha1_beacon_chain_proto_msgTypes[21] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ValidatorQueue) XXX_Size() int { - return m.Size() + +func (x *ValidatorQueue) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ValidatorQueue) XXX_DiscardUnknown() { - xxx_messageInfo_ValidatorQueue.DiscardUnknown(m) + +func (*ValidatorQueue) ProtoMessage() {} + +func (x *ValidatorQueue) ProtoReflect() protoreflect.Message { + mi := &file_eth_v1alpha1_beacon_chain_proto_msgTypes[21] + 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) } -var xxx_messageInfo_ValidatorQueue proto.InternalMessageInfo +// Deprecated: Use ValidatorQueue.ProtoReflect.Descriptor instead. +func (*ValidatorQueue) Descriptor() ([]byte, []int) { + return file_eth_v1alpha1_beacon_chain_proto_rawDescGZIP(), []int{21} +} -func (m *ValidatorQueue) GetChurnLimit() uint64 { - if m != nil { - return m.ChurnLimit +func (x *ValidatorQueue) GetChurnLimit() uint64 { + if x != nil { + return x.ChurnLimit } return 0 } // Deprecated: Do not use. -func (m *ValidatorQueue) GetActivationPublicKeys() [][]byte { - if m != nil { - return m.ActivationPublicKeys +func (x *ValidatorQueue) GetActivationPublicKeys() [][]byte { + if x != nil { + return x.ActivationPublicKeys } return nil } // Deprecated: Do not use. -func (m *ValidatorQueue) GetExitPublicKeys() [][]byte { - if m != nil { - return m.ExitPublicKeys +func (x *ValidatorQueue) GetExitPublicKeys() [][]byte { + if x != nil { + return x.ExitPublicKeys } return nil } -func (m *ValidatorQueue) GetActivationValidatorIndices() []github_com_prysmaticlabs_eth2_types.ValidatorIndex { - if m != nil { - return m.ActivationValidatorIndices +func (x *ValidatorQueue) GetActivationValidatorIndices() []github_com_prysmaticlabs_eth2_types.ValidatorIndex { + if x != nil { + return x.ActivationValidatorIndices } - return nil + return []github_com_prysmaticlabs_eth2_types.ValidatorIndex(nil) } -func (m *ValidatorQueue) GetExitValidatorIndices() []github_com_prysmaticlabs_eth2_types.ValidatorIndex { - if m != nil { - return m.ExitValidatorIndices +func (x *ValidatorQueue) GetExitValidatorIndices() []github_com_prysmaticlabs_eth2_types.ValidatorIndex { + if x != nil { + return x.ExitValidatorIndices } - return nil + return []github_com_prysmaticlabs_eth2_types.ValidatorIndex(nil) } type ListValidatorAssignmentsRequest struct { - // Types that are valid to be assigned to QueryFilter: + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Types that are assignable to QueryFilter: // *ListValidatorAssignmentsRequest_Epoch // *ListValidatorAssignmentsRequest_Genesis - QueryFilter isListValidatorAssignmentsRequest_QueryFilter `protobuf_oneof:"query_filter"` - PublicKeys [][]byte `protobuf:"bytes,3,rep,name=public_keys,json=publicKeys,proto3" json:"public_keys,omitempty" ssz-size:"?,48"` - Indices []github_com_prysmaticlabs_eth2_types.ValidatorIndex `protobuf:"varint,4,rep,packed,name=indices,proto3,casttype=github.com/prysmaticlabs/eth2-types.ValidatorIndex" json:"indices,omitempty"` - PageSize int32 `protobuf:"varint,5,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` - PageToken string `protobuf:"bytes,6,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ListValidatorAssignmentsRequest) Reset() { *m = ListValidatorAssignmentsRequest{} } -func (m *ListValidatorAssignmentsRequest) String() string { return proto.CompactTextString(m) } -func (*ListValidatorAssignmentsRequest) ProtoMessage() {} -func (*ListValidatorAssignmentsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_e33ad64d6ced77c1, []int{22} -} -func (m *ListValidatorAssignmentsRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *ListValidatorAssignmentsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_ListValidatorAssignmentsRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil - } + QueryFilter isListValidatorAssignmentsRequest_QueryFilter `protobuf_oneof:"query_filter"` + PublicKeys [][]byte `protobuf:"bytes,3,rep,name=public_keys,json=publicKeys,proto3" json:"public_keys,omitempty" ssz-size:"?,48"` + Indices []github_com_prysmaticlabs_eth2_types.ValidatorIndex `protobuf:"varint,4,rep,packed,name=indices,proto3" json:"indices,omitempty" cast-type:"github.com/prysmaticlabs/eth2-types.ValidatorIndex"` + PageSize int32 `protobuf:"varint,5,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` + PageToken string `protobuf:"bytes,6,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` } -func (m *ListValidatorAssignmentsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListValidatorAssignmentsRequest.Merge(m, src) -} -func (m *ListValidatorAssignmentsRequest) XXX_Size() int { - return m.Size() + +func (x *ListValidatorAssignmentsRequest) Reset() { + *x = ListValidatorAssignmentsRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_eth_v1alpha1_beacon_chain_proto_msgTypes[22] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ListValidatorAssignmentsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListValidatorAssignmentsRequest.DiscardUnknown(m) + +func (x *ListValidatorAssignmentsRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -var xxx_messageInfo_ListValidatorAssignmentsRequest proto.InternalMessageInfo +func (*ListValidatorAssignmentsRequest) ProtoMessage() {} -type isListValidatorAssignmentsRequest_QueryFilter interface { - isListValidatorAssignmentsRequest_QueryFilter() - MarshalTo([]byte) (int, error) - Size() int +func (x *ListValidatorAssignmentsRequest) ProtoReflect() protoreflect.Message { + mi := &file_eth_v1alpha1_beacon_chain_proto_msgTypes[22] + 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) } -type ListValidatorAssignmentsRequest_Epoch struct { - Epoch github_com_prysmaticlabs_eth2_types.Epoch `protobuf:"varint,1,opt,name=epoch,proto3,oneof,casttype=github.com/prysmaticlabs/eth2-types.Epoch" json:"epoch,omitempty"` -} -type ListValidatorAssignmentsRequest_Genesis struct { - Genesis bool `protobuf:"varint,2,opt,name=genesis,proto3,oneof" json:"genesis,omitempty"` +// Deprecated: Use ListValidatorAssignmentsRequest.ProtoReflect.Descriptor instead. +func (*ListValidatorAssignmentsRequest) Descriptor() ([]byte, []int) { + return file_eth_v1alpha1_beacon_chain_proto_rawDescGZIP(), []int{22} } -func (*ListValidatorAssignmentsRequest_Epoch) isListValidatorAssignmentsRequest_QueryFilter() {} -func (*ListValidatorAssignmentsRequest_Genesis) isListValidatorAssignmentsRequest_QueryFilter() {} - func (m *ListValidatorAssignmentsRequest) GetQueryFilter() isListValidatorAssignmentsRequest_QueryFilter { if m != nil { return m.QueryFilter @@ -2271,276 +1999,178 @@ func (m *ListValidatorAssignmentsRequest) GetQueryFilter() isListValidatorAssign return nil } -func (m *ListValidatorAssignmentsRequest) GetEpoch() github_com_prysmaticlabs_eth2_types.Epoch { - if x, ok := m.GetQueryFilter().(*ListValidatorAssignmentsRequest_Epoch); ok { +func (x *ListValidatorAssignmentsRequest) GetEpoch() github_com_prysmaticlabs_eth2_types.Epoch { + if x, ok := x.GetQueryFilter().(*ListValidatorAssignmentsRequest_Epoch); ok { return x.Epoch } - return 0 + return github_com_prysmaticlabs_eth2_types.Epoch(0) } -func (m *ListValidatorAssignmentsRequest) GetGenesis() bool { - if x, ok := m.GetQueryFilter().(*ListValidatorAssignmentsRequest_Genesis); ok { +func (x *ListValidatorAssignmentsRequest) GetGenesis() bool { + if x, ok := x.GetQueryFilter().(*ListValidatorAssignmentsRequest_Genesis); ok { return x.Genesis } return false } -func (m *ListValidatorAssignmentsRequest) GetPublicKeys() [][]byte { - if m != nil { - return m.PublicKeys +func (x *ListValidatorAssignmentsRequest) GetPublicKeys() [][]byte { + if x != nil { + return x.PublicKeys } return nil } -func (m *ListValidatorAssignmentsRequest) GetIndices() []github_com_prysmaticlabs_eth2_types.ValidatorIndex { - if m != nil { - return m.Indices +func (x *ListValidatorAssignmentsRequest) GetIndices() []github_com_prysmaticlabs_eth2_types.ValidatorIndex { + if x != nil { + return x.Indices } - return nil + return []github_com_prysmaticlabs_eth2_types.ValidatorIndex(nil) } -func (m *ListValidatorAssignmentsRequest) GetPageSize() int32 { - if m != nil { - return m.PageSize +func (x *ListValidatorAssignmentsRequest) GetPageSize() int32 { + if x != nil { + return x.PageSize } return 0 } -func (m *ListValidatorAssignmentsRequest) GetPageToken() string { - if m != nil { - return m.PageToken +func (x *ListValidatorAssignmentsRequest) GetPageToken() string { + if x != nil { + return x.PageToken } return "" } -// XXX_OneofWrappers is for the internal use of the proto package. -func (*ListValidatorAssignmentsRequest) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*ListValidatorAssignmentsRequest_Epoch)(nil), - (*ListValidatorAssignmentsRequest_Genesis)(nil), - } +type isListValidatorAssignmentsRequest_QueryFilter interface { + isListValidatorAssignmentsRequest_QueryFilter() } -type ValidatorAssignments struct { - Epoch github_com_prysmaticlabs_eth2_types.Epoch `protobuf:"varint,1,opt,name=epoch,proto3,casttype=github.com/prysmaticlabs/eth2-types.Epoch" json:"epoch,omitempty"` - Assignments []*ValidatorAssignments_CommitteeAssignment `protobuf:"bytes,2,rep,name=assignments,proto3" json:"assignments,omitempty"` - NextPageToken string `protobuf:"bytes,3,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` - TotalSize int32 `protobuf:"varint,4,opt,name=total_size,json=totalSize,proto3" json:"total_size,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ValidatorAssignments) Reset() { *m = ValidatorAssignments{} } -func (m *ValidatorAssignments) String() string { return proto.CompactTextString(m) } -func (*ValidatorAssignments) ProtoMessage() {} -func (*ValidatorAssignments) Descriptor() ([]byte, []int) { - return fileDescriptor_e33ad64d6ced77c1, []int{23} -} -func (m *ValidatorAssignments) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *ValidatorAssignments) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_ValidatorAssignments.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil - } -} -func (m *ValidatorAssignments) XXX_Merge(src proto.Message) { - xxx_messageInfo_ValidatorAssignments.Merge(m, src) -} -func (m *ValidatorAssignments) XXX_Size() int { - return m.Size() +type ListValidatorAssignmentsRequest_Epoch struct { + Epoch github_com_prysmaticlabs_eth2_types.Epoch `protobuf:"varint,1,opt,name=epoch,proto3,oneof" cast-type:"github.com/prysmaticlabs/eth2-types.Epoch"` } -func (m *ValidatorAssignments) XXX_DiscardUnknown() { - xxx_messageInfo_ValidatorAssignments.DiscardUnknown(m) + +type ListValidatorAssignmentsRequest_Genesis struct { + Genesis bool `protobuf:"varint,2,opt,name=genesis,proto3,oneof"` } -var xxx_messageInfo_ValidatorAssignments proto.InternalMessageInfo +func (*ListValidatorAssignmentsRequest_Epoch) isListValidatorAssignmentsRequest_QueryFilter() {} -func (m *ValidatorAssignments) GetEpoch() github_com_prysmaticlabs_eth2_types.Epoch { - if m != nil { - return m.Epoch - } - return 0 -} +func (*ListValidatorAssignmentsRequest_Genesis) isListValidatorAssignmentsRequest_QueryFilter() {} -func (m *ValidatorAssignments) GetAssignments() []*ValidatorAssignments_CommitteeAssignment { - if m != nil { - return m.Assignments - } - return nil -} +type ValidatorAssignments struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *ValidatorAssignments) GetNextPageToken() string { - if m != nil { - return m.NextPageToken - } - return "" + Epoch github_com_prysmaticlabs_eth2_types.Epoch `protobuf:"varint,1,opt,name=epoch,proto3" json:"epoch,omitempty" cast-type:"github.com/prysmaticlabs/eth2-types.Epoch"` + Assignments []*ValidatorAssignments_CommitteeAssignment `protobuf:"bytes,2,rep,name=assignments,proto3" json:"assignments,omitempty"` + NextPageToken string `protobuf:"bytes,3,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` + TotalSize int32 `protobuf:"varint,4,opt,name=total_size,json=totalSize,proto3" json:"total_size,omitempty"` } -func (m *ValidatorAssignments) GetTotalSize() int32 { - if m != nil { - return m.TotalSize +func (x *ValidatorAssignments) Reset() { + *x = ValidatorAssignments{} + if protoimpl.UnsafeEnabled { + mi := &file_eth_v1alpha1_beacon_chain_proto_msgTypes[23] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } - return 0 } -type ValidatorAssignments_CommitteeAssignment struct { - BeaconCommittees []github_com_prysmaticlabs_eth2_types.ValidatorIndex `protobuf:"varint,1,rep,packed,name=beacon_committees,json=beaconCommittees,proto3,casttype=github.com/prysmaticlabs/eth2-types.ValidatorIndex" json:"beacon_committees,omitempty"` - CommitteeIndex github_com_prysmaticlabs_eth2_types.CommitteeIndex `protobuf:"varint,2,opt,name=committee_index,json=committeeIndex,proto3,casttype=github.com/prysmaticlabs/eth2-types.CommitteeIndex" json:"committee_index,omitempty"` - AttesterSlot github_com_prysmaticlabs_eth2_types.Slot `protobuf:"varint,3,opt,name=attester_slot,json=attesterSlot,proto3,casttype=github.com/prysmaticlabs/eth2-types.Slot" json:"attester_slot,omitempty"` - ProposerSlots []github_com_prysmaticlabs_eth2_types.Slot `protobuf:"varint,4,rep,packed,name=proposer_slots,json=proposerSlots,proto3,casttype=github.com/prysmaticlabs/eth2-types.Slot" json:"proposer_slots,omitempty"` - PublicKey []byte `protobuf:"bytes,5,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty" ssz-size:"48"` // Deprecated: Do not use. - ValidatorIndex github_com_prysmaticlabs_eth2_types.ValidatorIndex `protobuf:"varint,6,opt,name=validator_index,json=validatorIndex,proto3,casttype=github.com/prysmaticlabs/eth2-types.ValidatorIndex" json:"validator_index,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ValidatorAssignments_CommitteeAssignment) Reset() { - *m = ValidatorAssignments_CommitteeAssignment{} -} -func (m *ValidatorAssignments_CommitteeAssignment) String() string { return proto.CompactTextString(m) } -func (*ValidatorAssignments_CommitteeAssignment) ProtoMessage() {} -func (*ValidatorAssignments_CommitteeAssignment) Descriptor() ([]byte, []int) { - return fileDescriptor_e33ad64d6ced77c1, []int{23, 0} -} -func (m *ValidatorAssignments_CommitteeAssignment) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *ValidatorAssignments_CommitteeAssignment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_ValidatorAssignments_CommitteeAssignment.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil - } -} -func (m *ValidatorAssignments_CommitteeAssignment) XXX_Merge(src proto.Message) { - xxx_messageInfo_ValidatorAssignments_CommitteeAssignment.Merge(m, src) -} -func (m *ValidatorAssignments_CommitteeAssignment) XXX_Size() int { - return m.Size() -} -func (m *ValidatorAssignments_CommitteeAssignment) XXX_DiscardUnknown() { - xxx_messageInfo_ValidatorAssignments_CommitteeAssignment.DiscardUnknown(m) +func (x *ValidatorAssignments) String() string { + return protoimpl.X.MessageStringOf(x) } -var xxx_messageInfo_ValidatorAssignments_CommitteeAssignment proto.InternalMessageInfo +func (*ValidatorAssignments) ProtoMessage() {} -func (m *ValidatorAssignments_CommitteeAssignment) GetBeaconCommittees() []github_com_prysmaticlabs_eth2_types.ValidatorIndex { - if m != nil { - return m.BeaconCommittees +func (x *ValidatorAssignments) ProtoReflect() protoreflect.Message { + mi := &file_eth_v1alpha1_beacon_chain_proto_msgTypes[23] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms } - return nil + return mi.MessageOf(x) } -func (m *ValidatorAssignments_CommitteeAssignment) GetCommitteeIndex() github_com_prysmaticlabs_eth2_types.CommitteeIndex { - if m != nil { - return m.CommitteeIndex - } - return 0 +// Deprecated: Use ValidatorAssignments.ProtoReflect.Descriptor instead. +func (*ValidatorAssignments) Descriptor() ([]byte, []int) { + return file_eth_v1alpha1_beacon_chain_proto_rawDescGZIP(), []int{23} } -func (m *ValidatorAssignments_CommitteeAssignment) GetAttesterSlot() github_com_prysmaticlabs_eth2_types.Slot { - if m != nil { - return m.AttesterSlot +func (x *ValidatorAssignments) GetEpoch() github_com_prysmaticlabs_eth2_types.Epoch { + if x != nil { + return x.Epoch } - return 0 + return github_com_prysmaticlabs_eth2_types.Epoch(0) } -func (m *ValidatorAssignments_CommitteeAssignment) GetProposerSlots() []github_com_prysmaticlabs_eth2_types.Slot { - if m != nil { - return m.ProposerSlots +func (x *ValidatorAssignments) GetAssignments() []*ValidatorAssignments_CommitteeAssignment { + if x != nil { + return x.Assignments } return nil } -// Deprecated: Do not use. -func (m *ValidatorAssignments_CommitteeAssignment) GetPublicKey() []byte { - if m != nil { - return m.PublicKey +func (x *ValidatorAssignments) GetNextPageToken() string { + if x != nil { + return x.NextPageToken } - return nil + return "" } -func (m *ValidatorAssignments_CommitteeAssignment) GetValidatorIndex() github_com_prysmaticlabs_eth2_types.ValidatorIndex { - if m != nil { - return m.ValidatorIndex +func (x *ValidatorAssignments) GetTotalSize() int32 { + if x != nil { + return x.TotalSize } return 0 } type GetValidatorParticipationRequest struct { - // Types that are valid to be assigned to QueryFilter: + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Types that are assignable to QueryFilter: // *GetValidatorParticipationRequest_Epoch // *GetValidatorParticipationRequest_Genesis - QueryFilter isGetValidatorParticipationRequest_QueryFilter `protobuf_oneof:"query_filter"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + QueryFilter isGetValidatorParticipationRequest_QueryFilter `protobuf_oneof:"query_filter"` } -func (m *GetValidatorParticipationRequest) Reset() { *m = GetValidatorParticipationRequest{} } -func (m *GetValidatorParticipationRequest) String() string { return proto.CompactTextString(m) } -func (*GetValidatorParticipationRequest) ProtoMessage() {} -func (*GetValidatorParticipationRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_e33ad64d6ced77c1, []int{24} -} -func (m *GetValidatorParticipationRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *GetValidatorParticipationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_GetValidatorParticipationRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *GetValidatorParticipationRequest) Reset() { + *x = GetValidatorParticipationRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_eth_v1alpha1_beacon_chain_proto_msgTypes[24] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *GetValidatorParticipationRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetValidatorParticipationRequest.Merge(m, src) -} -func (m *GetValidatorParticipationRequest) XXX_Size() int { - return m.Size() -} -func (m *GetValidatorParticipationRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetValidatorParticipationRequest.DiscardUnknown(m) + +func (x *GetValidatorParticipationRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -var xxx_messageInfo_GetValidatorParticipationRequest proto.InternalMessageInfo +func (*GetValidatorParticipationRequest) ProtoMessage() {} -type isGetValidatorParticipationRequest_QueryFilter interface { - isGetValidatorParticipationRequest_QueryFilter() - MarshalTo([]byte) (int, error) - Size() int +func (x *GetValidatorParticipationRequest) ProtoReflect() protoreflect.Message { + mi := &file_eth_v1alpha1_beacon_chain_proto_msgTypes[24] + 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) } -type GetValidatorParticipationRequest_Epoch struct { - Epoch github_com_prysmaticlabs_eth2_types.Epoch `protobuf:"varint,1,opt,name=epoch,proto3,oneof,casttype=github.com/prysmaticlabs/eth2-types.Epoch" json:"epoch,omitempty"` -} -type GetValidatorParticipationRequest_Genesis struct { - Genesis bool `protobuf:"varint,2,opt,name=genesis,proto3,oneof" json:"genesis,omitempty"` +// Deprecated: Use GetValidatorParticipationRequest.ProtoReflect.Descriptor instead. +func (*GetValidatorParticipationRequest) Descriptor() ([]byte, []int) { + return file_eth_v1alpha1_beacon_chain_proto_rawDescGZIP(), []int{24} } -func (*GetValidatorParticipationRequest_Epoch) isGetValidatorParticipationRequest_QueryFilter() {} -func (*GetValidatorParticipationRequest_Genesis) isGetValidatorParticipationRequest_QueryFilter() {} - func (m *GetValidatorParticipationRequest) GetQueryFilter() isGetValidatorParticipationRequest_QueryFilter { if m != nil { return m.QueryFilter @@ -2548,1265 +2178,2928 @@ func (m *GetValidatorParticipationRequest) GetQueryFilter() isGetValidatorPartic return nil } -func (m *GetValidatorParticipationRequest) GetEpoch() github_com_prysmaticlabs_eth2_types.Epoch { - if x, ok := m.GetQueryFilter().(*GetValidatorParticipationRequest_Epoch); ok { +func (x *GetValidatorParticipationRequest) GetEpoch() github_com_prysmaticlabs_eth2_types.Epoch { + if x, ok := x.GetQueryFilter().(*GetValidatorParticipationRequest_Epoch); ok { return x.Epoch } - return 0 + return github_com_prysmaticlabs_eth2_types.Epoch(0) } -func (m *GetValidatorParticipationRequest) GetGenesis() bool { - if x, ok := m.GetQueryFilter().(*GetValidatorParticipationRequest_Genesis); ok { +func (x *GetValidatorParticipationRequest) GetGenesis() bool { + if x, ok := x.GetQueryFilter().(*GetValidatorParticipationRequest_Genesis); ok { return x.Genesis } return false } -// XXX_OneofWrappers is for the internal use of the proto package. -func (*GetValidatorParticipationRequest) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*GetValidatorParticipationRequest_Epoch)(nil), - (*GetValidatorParticipationRequest_Genesis)(nil), - } +type isGetValidatorParticipationRequest_QueryFilter interface { + isGetValidatorParticipationRequest_QueryFilter() +} + +type GetValidatorParticipationRequest_Epoch struct { + Epoch github_com_prysmaticlabs_eth2_types.Epoch `protobuf:"varint,1,opt,name=epoch,proto3,oneof" cast-type:"github.com/prysmaticlabs/eth2-types.Epoch"` +} + +type GetValidatorParticipationRequest_Genesis struct { + Genesis bool `protobuf:"varint,2,opt,name=genesis,proto3,oneof"` } +func (*GetValidatorParticipationRequest_Epoch) isGetValidatorParticipationRequest_QueryFilter() {} + +func (*GetValidatorParticipationRequest_Genesis) isGetValidatorParticipationRequest_QueryFilter() {} + type ValidatorParticipationResponse struct { - Epoch github_com_prysmaticlabs_eth2_types.Epoch `protobuf:"varint,1,opt,name=epoch,proto3,casttype=github.com/prysmaticlabs/eth2-types.Epoch" json:"epoch,omitempty"` - Finalized bool `protobuf:"varint,2,opt,name=finalized,proto3" json:"finalized,omitempty"` - Participation *ValidatorParticipation `protobuf:"bytes,3,opt,name=participation,proto3" json:"participation,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Epoch github_com_prysmaticlabs_eth2_types.Epoch `protobuf:"varint,1,opt,name=epoch,proto3" json:"epoch,omitempty" cast-type:"github.com/prysmaticlabs/eth2-types.Epoch"` + Finalized bool `protobuf:"varint,2,opt,name=finalized,proto3" json:"finalized,omitempty"` + Participation *ValidatorParticipation `protobuf:"bytes,3,opt,name=participation,proto3" json:"participation,omitempty"` } -func (m *ValidatorParticipationResponse) Reset() { *m = ValidatorParticipationResponse{} } -func (m *ValidatorParticipationResponse) String() string { return proto.CompactTextString(m) } -func (*ValidatorParticipationResponse) ProtoMessage() {} -func (*ValidatorParticipationResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_e33ad64d6ced77c1, []int{25} -} -func (m *ValidatorParticipationResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *ValidatorParticipationResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_ValidatorParticipationResponse.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *ValidatorParticipationResponse) Reset() { + *x = ValidatorParticipationResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_eth_v1alpha1_beacon_chain_proto_msgTypes[25] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *ValidatorParticipationResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ValidatorParticipationResponse.Merge(m, src) -} -func (m *ValidatorParticipationResponse) XXX_Size() int { - return m.Size() + +func (x *ValidatorParticipationResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ValidatorParticipationResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ValidatorParticipationResponse.DiscardUnknown(m) + +func (*ValidatorParticipationResponse) ProtoMessage() {} + +func (x *ValidatorParticipationResponse) ProtoReflect() protoreflect.Message { + mi := &file_eth_v1alpha1_beacon_chain_proto_msgTypes[25] + 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) } -var xxx_messageInfo_ValidatorParticipationResponse proto.InternalMessageInfo +// Deprecated: Use ValidatorParticipationResponse.ProtoReflect.Descriptor instead. +func (*ValidatorParticipationResponse) Descriptor() ([]byte, []int) { + return file_eth_v1alpha1_beacon_chain_proto_rawDescGZIP(), []int{25} +} -func (m *ValidatorParticipationResponse) GetEpoch() github_com_prysmaticlabs_eth2_types.Epoch { - if m != nil { - return m.Epoch +func (x *ValidatorParticipationResponse) GetEpoch() github_com_prysmaticlabs_eth2_types.Epoch { + if x != nil { + return x.Epoch } - return 0 + return github_com_prysmaticlabs_eth2_types.Epoch(0) } -func (m *ValidatorParticipationResponse) GetFinalized() bool { - if m != nil { - return m.Finalized +func (x *ValidatorParticipationResponse) GetFinalized() bool { + if x != nil { + return x.Finalized } return false } -func (m *ValidatorParticipationResponse) GetParticipation() *ValidatorParticipation { - if m != nil { - return m.Participation +func (x *ValidatorParticipationResponse) GetParticipation() *ValidatorParticipation { + if x != nil { + return x.Participation } return nil } type AttestationPoolRequest struct { - PageSize int32 `protobuf:"varint,1,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` - PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + PageSize int32 `protobuf:"varint,1,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` + PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` } -func (m *AttestationPoolRequest) Reset() { *m = AttestationPoolRequest{} } -func (m *AttestationPoolRequest) String() string { return proto.CompactTextString(m) } -func (*AttestationPoolRequest) ProtoMessage() {} -func (*AttestationPoolRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_e33ad64d6ced77c1, []int{26} -} -func (m *AttestationPoolRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *AttestationPoolRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_AttestationPoolRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *AttestationPoolRequest) Reset() { + *x = AttestationPoolRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_eth_v1alpha1_beacon_chain_proto_msgTypes[26] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *AttestationPoolRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_AttestationPoolRequest.Merge(m, src) -} -func (m *AttestationPoolRequest) XXX_Size() int { - return m.Size() + +func (x *AttestationPoolRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *AttestationPoolRequest) XXX_DiscardUnknown() { - xxx_messageInfo_AttestationPoolRequest.DiscardUnknown(m) + +func (*AttestationPoolRequest) ProtoMessage() {} + +func (x *AttestationPoolRequest) ProtoReflect() protoreflect.Message { + mi := &file_eth_v1alpha1_beacon_chain_proto_msgTypes[26] + 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) } -var xxx_messageInfo_AttestationPoolRequest proto.InternalMessageInfo +// Deprecated: Use AttestationPoolRequest.ProtoReflect.Descriptor instead. +func (*AttestationPoolRequest) Descriptor() ([]byte, []int) { + return file_eth_v1alpha1_beacon_chain_proto_rawDescGZIP(), []int{26} +} -func (m *AttestationPoolRequest) GetPageSize() int32 { - if m != nil { - return m.PageSize +func (x *AttestationPoolRequest) GetPageSize() int32 { + if x != nil { + return x.PageSize } return 0 } -func (m *AttestationPoolRequest) GetPageToken() string { - if m != nil { - return m.PageToken +func (x *AttestationPoolRequest) GetPageToken() string { + if x != nil { + return x.PageToken } return "" } type AttestationPoolResponse struct { - Attestations []*Attestation `protobuf:"bytes,1,rep,name=attestations,proto3" json:"attestations,omitempty"` - NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` - TotalSize int32 `protobuf:"varint,3,opt,name=total_size,json=totalSize,proto3" json:"total_size,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Attestations []*Attestation `protobuf:"bytes,1,rep,name=attestations,proto3" json:"attestations,omitempty"` + NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` + TotalSize int32 `protobuf:"varint,3,opt,name=total_size,json=totalSize,proto3" json:"total_size,omitempty"` } -func (m *AttestationPoolResponse) Reset() { *m = AttestationPoolResponse{} } -func (m *AttestationPoolResponse) String() string { return proto.CompactTextString(m) } -func (*AttestationPoolResponse) ProtoMessage() {} -func (*AttestationPoolResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_e33ad64d6ced77c1, []int{27} -} -func (m *AttestationPoolResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *AttestationPoolResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_AttestationPoolResponse.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *AttestationPoolResponse) Reset() { + *x = AttestationPoolResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_eth_v1alpha1_beacon_chain_proto_msgTypes[27] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *AttestationPoolResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_AttestationPoolResponse.Merge(m, src) -} -func (m *AttestationPoolResponse) XXX_Size() int { - return m.Size() + +func (x *AttestationPoolResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *AttestationPoolResponse) XXX_DiscardUnknown() { - xxx_messageInfo_AttestationPoolResponse.DiscardUnknown(m) + +func (*AttestationPoolResponse) ProtoMessage() {} + +func (x *AttestationPoolResponse) ProtoReflect() protoreflect.Message { + mi := &file_eth_v1alpha1_beacon_chain_proto_msgTypes[27] + 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) } -var xxx_messageInfo_AttestationPoolResponse proto.InternalMessageInfo +// Deprecated: Use AttestationPoolResponse.ProtoReflect.Descriptor instead. +func (*AttestationPoolResponse) Descriptor() ([]byte, []int) { + return file_eth_v1alpha1_beacon_chain_proto_rawDescGZIP(), []int{27} +} -func (m *AttestationPoolResponse) GetAttestations() []*Attestation { - if m != nil { - return m.Attestations +func (x *AttestationPoolResponse) GetAttestations() []*Attestation { + if x != nil { + return x.Attestations } return nil } -func (m *AttestationPoolResponse) GetNextPageToken() string { - if m != nil { - return m.NextPageToken +func (x *AttestationPoolResponse) GetNextPageToken() string { + if x != nil { + return x.NextPageToken } return "" } -func (m *AttestationPoolResponse) GetTotalSize() int32 { - if m != nil { - return m.TotalSize +func (x *AttestationPoolResponse) GetTotalSize() int32 { + if x != nil { + return x.TotalSize } return 0 } type BeaconConfig struct { - Config map[string]string `protobuf:"bytes,1,rep,name=config,proto3" json:"config,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Config map[string]string `protobuf:"bytes,1,rep,name=config,proto3" json:"config,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` } -func (m *BeaconConfig) Reset() { *m = BeaconConfig{} } -func (m *BeaconConfig) String() string { return proto.CompactTextString(m) } -func (*BeaconConfig) ProtoMessage() {} -func (*BeaconConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_e33ad64d6ced77c1, []int{28} -} -func (m *BeaconConfig) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *BeaconConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_BeaconConfig.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *BeaconConfig) Reset() { + *x = BeaconConfig{} + if protoimpl.UnsafeEnabled { + mi := &file_eth_v1alpha1_beacon_chain_proto_msgTypes[28] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *BeaconConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_BeaconConfig.Merge(m, src) -} -func (m *BeaconConfig) XXX_Size() int { - return m.Size() -} -func (m *BeaconConfig) XXX_DiscardUnknown() { - xxx_messageInfo_BeaconConfig.DiscardUnknown(m) + +func (x *BeaconConfig) String() string { + return protoimpl.X.MessageStringOf(x) } -var xxx_messageInfo_BeaconConfig proto.InternalMessageInfo +func (*BeaconConfig) ProtoMessage() {} -func (m *BeaconConfig) GetConfig() map[string]string { - if m != nil { - return m.Config +func (x *BeaconConfig) ProtoReflect() protoreflect.Message { + mi := &file_eth_v1alpha1_beacon_chain_proto_msgTypes[28] + 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 BeaconConfig.ProtoReflect.Descriptor instead. +func (*BeaconConfig) Descriptor() ([]byte, []int) { + return file_eth_v1alpha1_beacon_chain_proto_rawDescGZIP(), []int{28} +} + +func (x *BeaconConfig) GetConfig() map[string]string { + if x != nil { + return x.Config } return nil } type SubmitSlashingResponse struct { - SlashedIndices []github_com_prysmaticlabs_eth2_types.ValidatorIndex `protobuf:"varint,1,rep,packed,name=slashed_indices,json=slashedIndices,proto3,casttype=github.com/prysmaticlabs/eth2-types.ValidatorIndex" json:"slashed_indices,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + SlashedIndices []github_com_prysmaticlabs_eth2_types.ValidatorIndex `protobuf:"varint,1,rep,packed,name=slashed_indices,json=slashedIndices,proto3" json:"slashed_indices,omitempty" cast-type:"github.com/prysmaticlabs/eth2-types.ValidatorIndex"` } -func (m *SubmitSlashingResponse) Reset() { *m = SubmitSlashingResponse{} } -func (m *SubmitSlashingResponse) String() string { return proto.CompactTextString(m) } -func (*SubmitSlashingResponse) ProtoMessage() {} -func (*SubmitSlashingResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_e33ad64d6ced77c1, []int{29} -} -func (m *SubmitSlashingResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *SubmitSlashingResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_SubmitSlashingResponse.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *SubmitSlashingResponse) Reset() { + *x = SubmitSlashingResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_eth_v1alpha1_beacon_chain_proto_msgTypes[29] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *SubmitSlashingResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_SubmitSlashingResponse.Merge(m, src) -} -func (m *SubmitSlashingResponse) XXX_Size() int { - return m.Size() + +func (x *SubmitSlashingResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *SubmitSlashingResponse) XXX_DiscardUnknown() { - xxx_messageInfo_SubmitSlashingResponse.DiscardUnknown(m) + +func (*SubmitSlashingResponse) ProtoMessage() {} + +func (x *SubmitSlashingResponse) ProtoReflect() protoreflect.Message { + mi := &file_eth_v1alpha1_beacon_chain_proto_msgTypes[29] + 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) } -var xxx_messageInfo_SubmitSlashingResponse proto.InternalMessageInfo +// Deprecated: Use SubmitSlashingResponse.ProtoReflect.Descriptor instead. +func (*SubmitSlashingResponse) Descriptor() ([]byte, []int) { + return file_eth_v1alpha1_beacon_chain_proto_rawDescGZIP(), []int{29} +} -func (m *SubmitSlashingResponse) GetSlashedIndices() []github_com_prysmaticlabs_eth2_types.ValidatorIndex { - if m != nil { - return m.SlashedIndices +func (x *SubmitSlashingResponse) GetSlashedIndices() []github_com_prysmaticlabs_eth2_types.ValidatorIndex { + if x != nil { + return x.SlashedIndices } - return nil + return []github_com_prysmaticlabs_eth2_types.ValidatorIndex(nil) } type IndividualVotesRequest struct { - Epoch github_com_prysmaticlabs_eth2_types.Epoch `protobuf:"varint,1,opt,name=epoch,proto3,casttype=github.com/prysmaticlabs/eth2-types.Epoch" json:"epoch,omitempty"` - PublicKeys [][]byte `protobuf:"bytes,2,rep,name=public_keys,json=publicKeys,proto3" json:"public_keys,omitempty"` - Indices []github_com_prysmaticlabs_eth2_types.ValidatorIndex `protobuf:"varint,3,rep,packed,name=indices,proto3,casttype=github.com/prysmaticlabs/eth2-types.ValidatorIndex" json:"indices,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Epoch github_com_prysmaticlabs_eth2_types.Epoch `protobuf:"varint,1,opt,name=epoch,proto3" json:"epoch,omitempty" cast-type:"github.com/prysmaticlabs/eth2-types.Epoch"` + PublicKeys [][]byte `protobuf:"bytes,2,rep,name=public_keys,json=publicKeys,proto3" json:"public_keys,omitempty"` + Indices []github_com_prysmaticlabs_eth2_types.ValidatorIndex `protobuf:"varint,3,rep,packed,name=indices,proto3" json:"indices,omitempty" cast-type:"github.com/prysmaticlabs/eth2-types.ValidatorIndex"` } -func (m *IndividualVotesRequest) Reset() { *m = IndividualVotesRequest{} } -func (m *IndividualVotesRequest) String() string { return proto.CompactTextString(m) } -func (*IndividualVotesRequest) ProtoMessage() {} -func (*IndividualVotesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_e33ad64d6ced77c1, []int{30} -} -func (m *IndividualVotesRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *IndividualVotesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_IndividualVotesRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *IndividualVotesRequest) Reset() { + *x = IndividualVotesRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_eth_v1alpha1_beacon_chain_proto_msgTypes[30] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *IndividualVotesRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_IndividualVotesRequest.Merge(m, src) -} -func (m *IndividualVotesRequest) XXX_Size() int { - return m.Size() + +func (x *IndividualVotesRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *IndividualVotesRequest) XXX_DiscardUnknown() { - xxx_messageInfo_IndividualVotesRequest.DiscardUnknown(m) + +func (*IndividualVotesRequest) ProtoMessage() {} + +func (x *IndividualVotesRequest) ProtoReflect() protoreflect.Message { + mi := &file_eth_v1alpha1_beacon_chain_proto_msgTypes[30] + 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) } -var xxx_messageInfo_IndividualVotesRequest proto.InternalMessageInfo +// Deprecated: Use IndividualVotesRequest.ProtoReflect.Descriptor instead. +func (*IndividualVotesRequest) Descriptor() ([]byte, []int) { + return file_eth_v1alpha1_beacon_chain_proto_rawDescGZIP(), []int{30} +} -func (m *IndividualVotesRequest) GetEpoch() github_com_prysmaticlabs_eth2_types.Epoch { - if m != nil { - return m.Epoch +func (x *IndividualVotesRequest) GetEpoch() github_com_prysmaticlabs_eth2_types.Epoch { + if x != nil { + return x.Epoch } - return 0 + return github_com_prysmaticlabs_eth2_types.Epoch(0) } -func (m *IndividualVotesRequest) GetPublicKeys() [][]byte { - if m != nil { - return m.PublicKeys +func (x *IndividualVotesRequest) GetPublicKeys() [][]byte { + if x != nil { + return x.PublicKeys } return nil } -func (m *IndividualVotesRequest) GetIndices() []github_com_prysmaticlabs_eth2_types.ValidatorIndex { - if m != nil { - return m.Indices +func (x *IndividualVotesRequest) GetIndices() []github_com_prysmaticlabs_eth2_types.ValidatorIndex { + if x != nil { + return x.Indices } - return nil + return []github_com_prysmaticlabs_eth2_types.ValidatorIndex(nil) } type IndividualVotesRespond struct { - IndividualVotes []*IndividualVotesRespond_IndividualVote `protobuf:"bytes,1,rep,name=individual_votes,json=individualVotes,proto3" json:"individual_votes,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + IndividualVotes []*IndividualVotesRespond_IndividualVote `protobuf:"bytes,1,rep,name=individual_votes,json=individualVotes,proto3" json:"individual_votes,omitempty"` } -func (m *IndividualVotesRespond) Reset() { *m = IndividualVotesRespond{} } -func (m *IndividualVotesRespond) String() string { return proto.CompactTextString(m) } -func (*IndividualVotesRespond) ProtoMessage() {} -func (*IndividualVotesRespond) Descriptor() ([]byte, []int) { - return fileDescriptor_e33ad64d6ced77c1, []int{31} -} -func (m *IndividualVotesRespond) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *IndividualVotesRespond) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_IndividualVotesRespond.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *IndividualVotesRespond) Reset() { + *x = IndividualVotesRespond{} + if protoimpl.UnsafeEnabled { + mi := &file_eth_v1alpha1_beacon_chain_proto_msgTypes[31] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *IndividualVotesRespond) XXX_Merge(src proto.Message) { - xxx_messageInfo_IndividualVotesRespond.Merge(m, src) -} -func (m *IndividualVotesRespond) XXX_Size() int { - return m.Size() -} -func (m *IndividualVotesRespond) XXX_DiscardUnknown() { - xxx_messageInfo_IndividualVotesRespond.DiscardUnknown(m) + +func (x *IndividualVotesRespond) String() string { + return protoimpl.X.MessageStringOf(x) } -var xxx_messageInfo_IndividualVotesRespond proto.InternalMessageInfo +func (*IndividualVotesRespond) ProtoMessage() {} -func (m *IndividualVotesRespond) GetIndividualVotes() []*IndividualVotesRespond_IndividualVote { - if m != nil { - return m.IndividualVotes +func (x *IndividualVotesRespond) ProtoReflect() protoreflect.Message { + mi := &file_eth_v1alpha1_beacon_chain_proto_msgTypes[31] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms } - return nil + return mi.MessageOf(x) } -type IndividualVotesRespond_IndividualVote struct { - Epoch github_com_prysmaticlabs_eth2_types.Epoch `protobuf:"varint,1,opt,name=epoch,proto3,casttype=github.com/prysmaticlabs/eth2-types.Epoch" json:"epoch,omitempty"` - PublicKey []byte `protobuf:"bytes,2,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"` - ValidatorIndex github_com_prysmaticlabs_eth2_types.ValidatorIndex `protobuf:"varint,3,opt,name=validator_index,json=validatorIndex,proto3,casttype=github.com/prysmaticlabs/eth2-types.ValidatorIndex" json:"validator_index,omitempty"` - IsSlashed bool `protobuf:"varint,4,opt,name=is_slashed,json=isSlashed,proto3" json:"is_slashed,omitempty"` - IsWithdrawableInCurrentEpoch bool `protobuf:"varint,5,opt,name=is_withdrawable_in_current_epoch,json=isWithdrawableInCurrentEpoch,proto3" json:"is_withdrawable_in_current_epoch,omitempty"` - IsActiveInCurrentEpoch bool `protobuf:"varint,6,opt,name=is_active_in_current_epoch,json=isActiveInCurrentEpoch,proto3" json:"is_active_in_current_epoch,omitempty"` - IsActiveInPreviousEpoch bool `protobuf:"varint,7,opt,name=is_active_in_previous_epoch,json=isActiveInPreviousEpoch,proto3" json:"is_active_in_previous_epoch,omitempty"` - IsCurrentEpochAttester bool `protobuf:"varint,8,opt,name=is_current_epoch_attester,json=isCurrentEpochAttester,proto3" json:"is_current_epoch_attester,omitempty"` - IsCurrentEpochTargetAttester bool `protobuf:"varint,9,opt,name=is_current_epoch_target_attester,json=isCurrentEpochTargetAttester,proto3" json:"is_current_epoch_target_attester,omitempty"` - IsPreviousEpochAttester bool `protobuf:"varint,10,opt,name=is_previous_epoch_attester,json=isPreviousEpochAttester,proto3" json:"is_previous_epoch_attester,omitempty"` - IsPreviousEpochTargetAttester bool `protobuf:"varint,11,opt,name=is_previous_epoch_target_attester,json=isPreviousEpochTargetAttester,proto3" json:"is_previous_epoch_target_attester,omitempty"` - IsPreviousEpochHeadAttester bool `protobuf:"varint,12,opt,name=is_previous_epoch_head_attester,json=isPreviousEpochHeadAttester,proto3" json:"is_previous_epoch_head_attester,omitempty"` - CurrentEpochEffectiveBalanceGwei uint64 `protobuf:"varint,13,opt,name=current_epoch_effective_balance_gwei,json=currentEpochEffectiveBalanceGwei,proto3" json:"current_epoch_effective_balance_gwei,omitempty"` - InclusionSlot github_com_prysmaticlabs_eth2_types.Slot `protobuf:"varint,14,opt,name=inclusion_slot,json=inclusionSlot,proto3,casttype=github.com/prysmaticlabs/eth2-types.Slot" json:"inclusion_slot,omitempty"` - InclusionDistance github_com_prysmaticlabs_eth2_types.Slot `protobuf:"varint,15,opt,name=inclusion_distance,json=inclusionDistance,proto3,casttype=github.com/prysmaticlabs/eth2-types.Slot" json:"inclusion_distance,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +// Deprecated: Use IndividualVotesRespond.ProtoReflect.Descriptor instead. +func (*IndividualVotesRespond) Descriptor() ([]byte, []int) { + return file_eth_v1alpha1_beacon_chain_proto_rawDescGZIP(), []int{31} } -func (m *IndividualVotesRespond_IndividualVote) Reset() { *m = IndividualVotesRespond_IndividualVote{} } -func (m *IndividualVotesRespond_IndividualVote) String() string { return proto.CompactTextString(m) } -func (*IndividualVotesRespond_IndividualVote) ProtoMessage() {} -func (*IndividualVotesRespond_IndividualVote) Descriptor() ([]byte, []int) { - return fileDescriptor_e33ad64d6ced77c1, []int{31, 0} -} -func (m *IndividualVotesRespond_IndividualVote) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *IndividualVotesRespond_IndividualVote) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_IndividualVotesRespond_IndividualVote.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *IndividualVotesRespond) GetIndividualVotes() []*IndividualVotesRespond_IndividualVote { + if x != nil { + return x.IndividualVotes } + return nil } -func (m *IndividualVotesRespond_IndividualVote) XXX_Merge(src proto.Message) { - xxx_messageInfo_IndividualVotesRespond_IndividualVote.Merge(m, src) + +type WeakSubjectivityCheckpoint struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + BlockRoot []byte `protobuf:"bytes,1,opt,name=block_root,json=blockRoot,proto3" json:"block_root,omitempty"` + StateRoot []byte `protobuf:"bytes,2,opt,name=state_root,json=stateRoot,proto3" json:"state_root,omitempty"` + Epoch github_com_prysmaticlabs_eth2_types.Epoch `protobuf:"varint,3,opt,name=epoch,proto3" json:"epoch,omitempty" cast-type:"github.com/prysmaticlabs/eth2-types.Epoch"` } -func (m *IndividualVotesRespond_IndividualVote) XXX_Size() int { - return m.Size() + +func (x *WeakSubjectivityCheckpoint) Reset() { + *x = WeakSubjectivityCheckpoint{} + if protoimpl.UnsafeEnabled { + mi := &file_eth_v1alpha1_beacon_chain_proto_msgTypes[32] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *IndividualVotesRespond_IndividualVote) XXX_DiscardUnknown() { - xxx_messageInfo_IndividualVotesRespond_IndividualVote.DiscardUnknown(m) + +func (x *WeakSubjectivityCheckpoint) String() string { + return protoimpl.X.MessageStringOf(x) } -var xxx_messageInfo_IndividualVotesRespond_IndividualVote proto.InternalMessageInfo +func (*WeakSubjectivityCheckpoint) ProtoMessage() {} -func (m *IndividualVotesRespond_IndividualVote) GetEpoch() github_com_prysmaticlabs_eth2_types.Epoch { - if m != nil { - return m.Epoch +func (x *WeakSubjectivityCheckpoint) ProtoReflect() protoreflect.Message { + mi := &file_eth_v1alpha1_beacon_chain_proto_msgTypes[32] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms } - return 0 + return mi.MessageOf(x) } -func (m *IndividualVotesRespond_IndividualVote) GetPublicKey() []byte { - if m != nil { - return m.PublicKey +// Deprecated: Use WeakSubjectivityCheckpoint.ProtoReflect.Descriptor instead. +func (*WeakSubjectivityCheckpoint) Descriptor() ([]byte, []int) { + return file_eth_v1alpha1_beacon_chain_proto_rawDescGZIP(), []int{32} +} + +func (x *WeakSubjectivityCheckpoint) GetBlockRoot() []byte { + if x != nil { + return x.BlockRoot } return nil } -func (m *IndividualVotesRespond_IndividualVote) GetValidatorIndex() github_com_prysmaticlabs_eth2_types.ValidatorIndex { - if m != nil { - return m.ValidatorIndex +func (x *WeakSubjectivityCheckpoint) GetStateRoot() []byte { + if x != nil { + return x.StateRoot } - return 0 + return nil } -func (m *IndividualVotesRespond_IndividualVote) GetIsSlashed() bool { - if m != nil { - return m.IsSlashed +func (x *WeakSubjectivityCheckpoint) GetEpoch() github_com_prysmaticlabs_eth2_types.Epoch { + if x != nil { + return x.Epoch } - return false + return github_com_prysmaticlabs_eth2_types.Epoch(0) } -func (m *IndividualVotesRespond_IndividualVote) GetIsWithdrawableInCurrentEpoch() bool { - if m != nil { - return m.IsWithdrawableInCurrentEpoch - } - return false +type BeaconCommittees_CommitteeItem struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ValidatorIndices []github_com_prysmaticlabs_eth2_types.ValidatorIndex `protobuf:"varint,1,rep,packed,name=validator_indices,json=validatorIndices,proto3" json:"validator_indices,omitempty" cast-type:"github.com/prysmaticlabs/eth2-types.ValidatorIndex"` } -func (m *IndividualVotesRespond_IndividualVote) GetIsActiveInCurrentEpoch() bool { - if m != nil { - return m.IsActiveInCurrentEpoch +func (x *BeaconCommittees_CommitteeItem) Reset() { + *x = BeaconCommittees_CommitteeItem{} + if protoimpl.UnsafeEnabled { + mi := &file_eth_v1alpha1_beacon_chain_proto_msgTypes[33] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } - return false } -func (m *IndividualVotesRespond_IndividualVote) GetIsActiveInPreviousEpoch() bool { - if m != nil { - return m.IsActiveInPreviousEpoch - } - return false +func (x *BeaconCommittees_CommitteeItem) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *IndividualVotesRespond_IndividualVote) GetIsCurrentEpochAttester() bool { - if m != nil { - return m.IsCurrentEpochAttester +func (*BeaconCommittees_CommitteeItem) ProtoMessage() {} + +func (x *BeaconCommittees_CommitteeItem) ProtoReflect() protoreflect.Message { + mi := &file_eth_v1alpha1_beacon_chain_proto_msgTypes[33] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms } - return false + return mi.MessageOf(x) } -func (m *IndividualVotesRespond_IndividualVote) GetIsCurrentEpochTargetAttester() bool { - if m != nil { - return m.IsCurrentEpochTargetAttester - } - return false +// Deprecated: Use BeaconCommittees_CommitteeItem.ProtoReflect.Descriptor instead. +func (*BeaconCommittees_CommitteeItem) Descriptor() ([]byte, []int) { + return file_eth_v1alpha1_beacon_chain_proto_rawDescGZIP(), []int{11, 0} } -func (m *IndividualVotesRespond_IndividualVote) GetIsPreviousEpochAttester() bool { - if m != nil { - return m.IsPreviousEpochAttester +func (x *BeaconCommittees_CommitteeItem) GetValidatorIndices() []github_com_prysmaticlabs_eth2_types.ValidatorIndex { + if x != nil { + return x.ValidatorIndices } - return false + return []github_com_prysmaticlabs_eth2_types.ValidatorIndex(nil) } -func (m *IndividualVotesRespond_IndividualVote) GetIsPreviousEpochTargetAttester() bool { - if m != nil { - return m.IsPreviousEpochTargetAttester - } - return false +type BeaconCommittees_CommitteesList struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Committees []*BeaconCommittees_CommitteeItem `protobuf:"bytes,1,rep,name=committees,proto3" json:"committees,omitempty"` } -func (m *IndividualVotesRespond_IndividualVote) GetIsPreviousEpochHeadAttester() bool { - if m != nil { - return m.IsPreviousEpochHeadAttester +func (x *BeaconCommittees_CommitteesList) Reset() { + *x = BeaconCommittees_CommitteesList{} + if protoimpl.UnsafeEnabled { + mi := &file_eth_v1alpha1_beacon_chain_proto_msgTypes[34] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } - return false } -func (m *IndividualVotesRespond_IndividualVote) GetCurrentEpochEffectiveBalanceGwei() uint64 { - if m != nil { - return m.CurrentEpochEffectiveBalanceGwei - } - return 0 +func (x *BeaconCommittees_CommitteesList) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *IndividualVotesRespond_IndividualVote) GetInclusionSlot() github_com_prysmaticlabs_eth2_types.Slot { - if m != nil { - return m.InclusionSlot +func (*BeaconCommittees_CommitteesList) ProtoMessage() {} + +func (x *BeaconCommittees_CommitteesList) ProtoReflect() protoreflect.Message { + mi := &file_eth_v1alpha1_beacon_chain_proto_msgTypes[34] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms } - return 0 + return mi.MessageOf(x) } -func (m *IndividualVotesRespond_IndividualVote) GetInclusionDistance() github_com_prysmaticlabs_eth2_types.Slot { - if m != nil { - return m.InclusionDistance +// Deprecated: Use BeaconCommittees_CommitteesList.ProtoReflect.Descriptor instead. +func (*BeaconCommittees_CommitteesList) Descriptor() ([]byte, []int) { + return file_eth_v1alpha1_beacon_chain_proto_rawDescGZIP(), []int{11, 1} +} + +func (x *BeaconCommittees_CommitteesList) GetCommittees() []*BeaconCommittees_CommitteeItem { + if x != nil { + return x.Committees } - return 0 + return nil } -type WeakSubjectivityCheckpoint struct { - BlockRoot []byte `protobuf:"bytes,1,opt,name=block_root,json=blockRoot,proto3" json:"block_root,omitempty"` - StateRoot []byte `protobuf:"bytes,2,opt,name=state_root,json=stateRoot,proto3" json:"state_root,omitempty"` - Epoch github_com_prysmaticlabs_eth2_types.Epoch `protobuf:"varint,3,opt,name=epoch,proto3,casttype=github.com/prysmaticlabs/eth2-types.Epoch" json:"epoch,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +type ValidatorBalances_Balance 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" ssz-size:"48"` + Index github_com_prysmaticlabs_eth2_types.ValidatorIndex `protobuf:"varint,2,opt,name=index,proto3" json:"index,omitempty" cast-type:"github.com/prysmaticlabs/eth2-types.ValidatorIndex"` + Balance uint64 `protobuf:"varint,3,opt,name=balance,proto3" json:"balance,omitempty"` + Status string `protobuf:"bytes,4,opt,name=status,proto3" json:"status,omitempty"` } -func (m *WeakSubjectivityCheckpoint) Reset() { *m = WeakSubjectivityCheckpoint{} } -func (m *WeakSubjectivityCheckpoint) String() string { return proto.CompactTextString(m) } -func (*WeakSubjectivityCheckpoint) ProtoMessage() {} -func (*WeakSubjectivityCheckpoint) Descriptor() ([]byte, []int) { - return fileDescriptor_e33ad64d6ced77c1, []int{32} -} -func (m *WeakSubjectivityCheckpoint) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *WeakSubjectivityCheckpoint) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_WeakSubjectivityCheckpoint.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *ValidatorBalances_Balance) Reset() { + *x = ValidatorBalances_Balance{} + if protoimpl.UnsafeEnabled { + mi := &file_eth_v1alpha1_beacon_chain_proto_msgTypes[36] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *WeakSubjectivityCheckpoint) XXX_Merge(src proto.Message) { - xxx_messageInfo_WeakSubjectivityCheckpoint.Merge(m, src) -} -func (m *WeakSubjectivityCheckpoint) XXX_Size() int { - return m.Size() + +func (x *ValidatorBalances_Balance) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *WeakSubjectivityCheckpoint) XXX_DiscardUnknown() { - xxx_messageInfo_WeakSubjectivityCheckpoint.DiscardUnknown(m) + +func (*ValidatorBalances_Balance) ProtoMessage() {} + +func (x *ValidatorBalances_Balance) ProtoReflect() protoreflect.Message { + mi := &file_eth_v1alpha1_beacon_chain_proto_msgTypes[36] + 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) } -var xxx_messageInfo_WeakSubjectivityCheckpoint proto.InternalMessageInfo +// Deprecated: Use ValidatorBalances_Balance.ProtoReflect.Descriptor instead. +func (*ValidatorBalances_Balance) Descriptor() ([]byte, []int) { + return file_eth_v1alpha1_beacon_chain_proto_rawDescGZIP(), []int{13, 0} +} -func (m *WeakSubjectivityCheckpoint) GetBlockRoot() []byte { - if m != nil { - return m.BlockRoot +func (x *ValidatorBalances_Balance) GetPublicKey() []byte { + if x != nil { + return x.PublicKey } return nil } -func (m *WeakSubjectivityCheckpoint) GetStateRoot() []byte { - if m != nil { - return m.StateRoot +func (x *ValidatorBalances_Balance) GetIndex() github_com_prysmaticlabs_eth2_types.ValidatorIndex { + if x != nil { + return x.Index } - return nil + return github_com_prysmaticlabs_eth2_types.ValidatorIndex(0) } -func (m *WeakSubjectivityCheckpoint) GetEpoch() github_com_prysmaticlabs_eth2_types.Epoch { - if m != nil { - return m.Epoch +func (x *ValidatorBalances_Balance) GetBalance() uint64 { + if x != nil { + return x.Balance } return 0 } -func init() { - proto.RegisterEnum("ethereum.eth.v1alpha1.SetAction", SetAction_name, SetAction_value) - proto.RegisterType((*ValidatorChangeSet)(nil), "ethereum.eth.v1alpha1.ValidatorChangeSet") - proto.RegisterType((*ListIndexedAttestationsRequest)(nil), "ethereum.eth.v1alpha1.ListIndexedAttestationsRequest") - proto.RegisterType((*ListAttestationsRequest)(nil), "ethereum.eth.v1alpha1.ListAttestationsRequest") - proto.RegisterType((*ListAttestationsResponse)(nil), "ethereum.eth.v1alpha1.ListAttestationsResponse") - proto.RegisterType((*ListIndexedAttestationsResponse)(nil), "ethereum.eth.v1alpha1.ListIndexedAttestationsResponse") - proto.RegisterType((*ListBlocksRequest)(nil), "ethereum.eth.v1alpha1.ListBlocksRequest") - proto.RegisterType((*ListBlocksResponse)(nil), "ethereum.eth.v1alpha1.ListBlocksResponse") - proto.RegisterType((*StreamBlocksRequest)(nil), "ethereum.eth.v1alpha1.StreamBlocksRequest") - proto.RegisterType((*BeaconBlockContainer)(nil), "ethereum.eth.v1alpha1.BeaconBlockContainer") - proto.RegisterType((*ChainHead)(nil), "ethereum.eth.v1alpha1.ChainHead") - proto.RegisterType((*ListCommitteesRequest)(nil), "ethereum.eth.v1alpha1.ListCommitteesRequest") - proto.RegisterType((*BeaconCommittees)(nil), "ethereum.eth.v1alpha1.BeaconCommittees") - proto.RegisterMapType((map[uint64]*BeaconCommittees_CommitteesList)(nil), "ethereum.eth.v1alpha1.BeaconCommittees.CommitteesEntry") - proto.RegisterType((*BeaconCommittees_CommitteeItem)(nil), "ethereum.eth.v1alpha1.BeaconCommittees.CommitteeItem") - proto.RegisterType((*BeaconCommittees_CommitteesList)(nil), "ethereum.eth.v1alpha1.BeaconCommittees.CommitteesList") - proto.RegisterType((*ListValidatorBalancesRequest)(nil), "ethereum.eth.v1alpha1.ListValidatorBalancesRequest") - proto.RegisterType((*ValidatorBalances)(nil), "ethereum.eth.v1alpha1.ValidatorBalances") - proto.RegisterType((*ValidatorBalances_Balance)(nil), "ethereum.eth.v1alpha1.ValidatorBalances.Balance") - proto.RegisterType((*ListValidatorsRequest)(nil), "ethereum.eth.v1alpha1.ListValidatorsRequest") - proto.RegisterType((*GetValidatorRequest)(nil), "ethereum.eth.v1alpha1.GetValidatorRequest") - proto.RegisterType((*Validators)(nil), "ethereum.eth.v1alpha1.Validators") - proto.RegisterType((*Validators_ValidatorContainer)(nil), "ethereum.eth.v1alpha1.Validators.ValidatorContainer") - proto.RegisterType((*GetValidatorActiveSetChangesRequest)(nil), "ethereum.eth.v1alpha1.GetValidatorActiveSetChangesRequest") - proto.RegisterType((*ActiveSetChanges)(nil), "ethereum.eth.v1alpha1.ActiveSetChanges") - proto.RegisterType((*ValidatorPerformanceRequest)(nil), "ethereum.eth.v1alpha1.ValidatorPerformanceRequest") - proto.RegisterType((*ValidatorPerformanceResponse)(nil), "ethereum.eth.v1alpha1.ValidatorPerformanceResponse") - proto.RegisterType((*ValidatorQueue)(nil), "ethereum.eth.v1alpha1.ValidatorQueue") - proto.RegisterType((*ListValidatorAssignmentsRequest)(nil), "ethereum.eth.v1alpha1.ListValidatorAssignmentsRequest") - proto.RegisterType((*ValidatorAssignments)(nil), "ethereum.eth.v1alpha1.ValidatorAssignments") - proto.RegisterType((*ValidatorAssignments_CommitteeAssignment)(nil), "ethereum.eth.v1alpha1.ValidatorAssignments.CommitteeAssignment") - proto.RegisterType((*GetValidatorParticipationRequest)(nil), "ethereum.eth.v1alpha1.GetValidatorParticipationRequest") - proto.RegisterType((*ValidatorParticipationResponse)(nil), "ethereum.eth.v1alpha1.ValidatorParticipationResponse") - proto.RegisterType((*AttestationPoolRequest)(nil), "ethereum.eth.v1alpha1.AttestationPoolRequest") - proto.RegisterType((*AttestationPoolResponse)(nil), "ethereum.eth.v1alpha1.AttestationPoolResponse") - proto.RegisterType((*BeaconConfig)(nil), "ethereum.eth.v1alpha1.BeaconConfig") - proto.RegisterMapType((map[string]string)(nil), "ethereum.eth.v1alpha1.BeaconConfig.ConfigEntry") - proto.RegisterType((*SubmitSlashingResponse)(nil), "ethereum.eth.v1alpha1.SubmitSlashingResponse") - proto.RegisterType((*IndividualVotesRequest)(nil), "ethereum.eth.v1alpha1.IndividualVotesRequest") - proto.RegisterType((*IndividualVotesRespond)(nil), "ethereum.eth.v1alpha1.IndividualVotesRespond") - proto.RegisterType((*IndividualVotesRespond_IndividualVote)(nil), "ethereum.eth.v1alpha1.IndividualVotesRespond.IndividualVote") - proto.RegisterType((*WeakSubjectivityCheckpoint)(nil), "ethereum.eth.v1alpha1.WeakSubjectivityCheckpoint") -} - -func init() { proto.RegisterFile("eth/v1alpha1/beacon_chain.proto", fileDescriptor_e33ad64d6ced77c1) } - -var fileDescriptor_e33ad64d6ced77c1 = []byte{ - // 3490 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x5b, 0x4d, 0x6c, 0x1b, 0xc7, - 0xf5, 0xf7, 0x92, 0xd4, 0x07, 0x9f, 0x3e, 0x28, 0x8d, 0x64, 0x99, 0xa6, 0x25, 0x8b, 0x5e, 0x3b, - 0xb6, 0xfc, 0x21, 0x52, 0x96, 0x1d, 0xc7, 0x71, 0x82, 0x04, 0xa2, 0xac, 0xc8, 0xfe, 0xc7, 0xff, - 0x44, 0x59, 0x3a, 0x0e, 0xda, 0xa4, 0x58, 0xac, 0x96, 0x23, 0x72, 0x22, 0x6a, 0x97, 0xd9, 0x5d, - 0xca, 0x96, 0xd1, 0x5e, 0xda, 0xa2, 0x28, 0x8a, 0x9e, 0x9a, 0xb6, 0x08, 0x82, 0xa2, 0x4d, 0x5a, - 0x14, 0x4d, 0x5b, 0x14, 0x28, 0x7a, 0xe8, 0x25, 0x3d, 0x17, 0x45, 0x4f, 0x29, 0x82, 0x02, 0x41, - 0x0f, 0x46, 0x11, 0xf4, 0xd0, 0x53, 0x0f, 0xe9, 0x2d, 0xa7, 0x62, 0x66, 0xf6, 0xfb, 0x83, 0xa4, - 0x24, 0x36, 0x29, 0x8a, 0x9e, 0xc4, 0x9d, 0x8f, 0xdf, 0xfc, 0xde, 0xcc, 0x9b, 0x99, 0xf7, 0xde, - 0x3c, 0xc1, 0x3c, 0xb6, 0x1a, 0xe5, 0xdd, 0xcb, 0x4a, 0xb3, 0xd5, 0x50, 0x2e, 0x97, 0x37, 0xb1, - 0xa2, 0xea, 0x9a, 0xac, 0x36, 0x14, 0xa2, 0x95, 0x5a, 0x86, 0x6e, 0xe9, 0xe8, 0x28, 0xb6, 0x1a, - 0xd8, 0xc0, 0xed, 0x9d, 0x12, 0xb6, 0x1a, 0x25, 0xa7, 0x65, 0x61, 0xb1, 0x4e, 0xac, 0x46, 0x7b, - 0xb3, 0xa4, 0xea, 0x3b, 0xe5, 0xba, 0x5e, 0xd7, 0xcb, 0xac, 0xf5, 0x66, 0x7b, 0x8b, 0x7d, 0xb1, - 0x0f, 0xf6, 0x8b, 0xa3, 0x14, 0x66, 0xeb, 0xba, 0x5e, 0x6f, 0xe2, 0xb2, 0xd2, 0x22, 0x65, 0x45, - 0xd3, 0x74, 0x4b, 0xb1, 0x88, 0xae, 0x99, 0x76, 0xed, 0x09, 0xbb, 0xd6, 0xc5, 0xc0, 0x3b, 0x2d, - 0x6b, 0xcf, 0xae, 0x3c, 0x19, 0x60, 0xa8, 0x58, 0x16, 0x36, 0x79, 0x6f, 0xbb, 0x3e, 0x56, 0x82, - 0xcd, 0xa6, 0xae, 0x6e, 0x3b, 0x63, 0x07, 0x1a, 0xec, 0x2a, 0x4d, 0x52, 0x53, 0x2c, 0xdd, 0xe0, - 0xb5, 0xa2, 0x0e, 0xe8, 0x9e, 0x53, 0xb4, 0xda, 0x50, 0xb4, 0x3a, 0xae, 0x62, 0x0b, 0x5d, 0x87, - 0x41, 0x45, 0xa5, 0x83, 0xe4, 0x85, 0xa2, 0xb0, 0x30, 0xbe, 0x5c, 0x2c, 0xc5, 0x4e, 0x43, 0xa9, - 0x8a, 0xad, 0x15, 0xd6, 0x4e, 0xb2, 0xdb, 0xa3, 0x79, 0x18, 0x69, 0xb5, 0x37, 0x9b, 0x44, 0x95, - 0xb7, 0xf1, 0x9e, 0x99, 0x4f, 0x15, 0xd3, 0x0b, 0xa3, 0x12, 0xf0, 0xa2, 0xe7, 0xf1, 0x9e, 0x29, - 0xfe, 0x45, 0x80, 0x93, 0x77, 0x88, 0x69, 0xdd, 0xd6, 0x6a, 0xf8, 0x01, 0xae, 0xad, 0x78, 0x02, - 0x99, 0x12, 0x7e, 0xa3, 0x8d, 0x4d, 0x0b, 0xad, 0xc1, 0x00, 0x6e, 0xe9, 0x6a, 0x83, 0x0d, 0x9e, - 0xa9, 0x2c, 0x7e, 0xfa, 0x68, 0xfe, 0xbc, 0x6f, 0xbe, 0x5b, 0xc6, 0x9e, 0xb9, 0xa3, 0x58, 0x44, - 0x6d, 0x2a, 0x9b, 0x66, 0x19, 0x5b, 0x8d, 0xe5, 0x45, 0x6b, 0xaf, 0x85, 0xcd, 0xd2, 0x1a, 0xed, - 0x74, 0xeb, 0x88, 0xc4, 0x7b, 0xa3, 0xc7, 0x60, 0xac, 0x8e, 0x35, 0x6c, 0x12, 0x53, 0xe6, 0x70, - 0xa9, 0xa2, 0xb0, 0x30, 0x7c, 0xeb, 0x88, 0x34, 0x6a, 0x17, 0xb3, 0xf6, 0xe8, 0x04, 0x64, 0x5b, - 0x4a, 0x1d, 0xcb, 0x26, 0x79, 0x88, 0xf3, 0xe9, 0xa2, 0xb0, 0x30, 0x20, 0x0d, 0xd3, 0x82, 0x2a, - 0x79, 0x88, 0xd1, 0x1c, 0x00, 0xab, 0xb4, 0xf4, 0x6d, 0xac, 0xe5, 0x33, 0x45, 0x61, 0x21, 0x2b, - 0xb1, 0xe6, 0x77, 0x69, 0x41, 0x65, 0x1c, 0x46, 0xdf, 0x68, 0x63, 0x63, 0x4f, 0xde, 0x22, 0x4d, - 0x0b, 0x1b, 0xe2, 0x87, 0x02, 0x1c, 0xa3, 0xc2, 0xfd, 0x77, 0x49, 0xf5, 0x73, 0x01, 0xf2, 0x51, - 0xa9, 0xcc, 0x96, 0xae, 0x99, 0x18, 0x3d, 0x07, 0xa3, 0x3e, 0xa5, 0x34, 0xf3, 0x42, 0x31, 0xbd, - 0x30, 0xb2, 0x2c, 0x26, 0x28, 0x8c, 0x0f, 0x42, 0x0a, 0xf4, 0x43, 0x67, 0x21, 0xa7, 0xe1, 0x07, - 0x96, 0xec, 0x23, 0x96, 0x62, 0xc4, 0xc6, 0x68, 0xf1, 0x86, 0x43, 0x8e, 0x72, 0xb7, 0x74, 0x4b, - 0x69, 0xfa, 0x25, 0xcb, 0xb2, 0x12, 0x2a, 0x9a, 0xf8, 0x7b, 0x01, 0xe6, 0x13, 0xd5, 0xcb, 0xa6, - 0xfc, 0x1a, 0x4c, 0x13, 0x5e, 0x2d, 0xc7, 0x50, 0x3f, 0x9f, 0x40, 0x3d, 0x8a, 0x28, 0x4d, 0x91, - 0xe8, 0x28, 0xfd, 0x12, 0xe4, 0x07, 0x29, 0x98, 0xa4, 0x82, 0x54, 0xe8, 0x56, 0x76, 0x95, 0x68, - 0x1a, 0x32, 0x86, 0xae, 0x5b, 0x4c, 0x87, 0x46, 0x6f, 0x1d, 0x91, 0xd8, 0x17, 0xaa, 0x40, 0xc6, - 0x6c, 0xea, 0x16, 0x1b, 0x27, 0x53, 0xb9, 0xf4, 0xe9, 0xa3, 0xf9, 0x85, 0x5e, 0x34, 0xab, 0xda, - 0xd4, 0x2d, 0x8a, 0x41, 0xfb, 0x7a, 0xea, 0x99, 0x3e, 0x94, 0x7a, 0x16, 0x60, 0xc8, 0xd6, 0x43, - 0xa6, 0x57, 0x54, 0x31, 0x9d, 0x82, 0xa0, 0x4e, 0x0e, 0x74, 0xd4, 0xc9, 0xc1, 0x6e, 0x3a, 0xf9, - 0x1b, 0x01, 0x90, 0x7f, 0x7a, 0xec, 0xa5, 0x7d, 0x19, 0x72, 0xec, 0xec, 0x5b, 0xd5, 0x35, 0x4b, - 0x21, 0x1a, 0x36, 0x9c, 0x55, 0xbd, 0x98, 0xb0, 0xaa, 0x15, 0x76, 0x60, 0x56, 0x02, 0x7d, 0xa4, - 0x30, 0x46, 0xbf, 0xd6, 0xf4, 0x06, 0x4c, 0x55, 0x2d, 0x03, 0x2b, 0x3b, 0xc1, 0x45, 0x3d, 0x0d, - 0x63, 0xbb, 0xd8, 0x20, 0x5b, 0x04, 0xd7, 0x64, 0x5d, 0x6b, 0xee, 0xb1, 0xd5, 0x1d, 0x96, 0x46, - 0x9d, 0xc2, 0x17, 0xb5, 0xe6, 0x9e, 0xf8, 0xa6, 0x00, 0xd3, 0x71, 0x64, 0xd1, 0x33, 0x30, 0xc0, - 0xe8, 0xb2, 0x5e, 0x23, 0xcb, 0x0b, 0x49, 0x47, 0x35, 0xa9, 0x6b, 0xb8, 0xe6, 0x43, 0x90, 0x78, - 0x37, 0xca, 0x99, 0xfd, 0x90, 0x99, 0x62, 0x51, 0xb1, 0x46, 0xa5, 0x2c, 0x2b, 0x91, 0xa8, 0x6e, - 0xcd, 0x42, 0x56, 0x55, 0x34, 0x5d, 0x23, 0xaa, 0xd2, 0x64, 0x12, 0x0d, 0x4b, 0x5e, 0x81, 0xf8, - 0xf7, 0x21, 0xc8, 0xae, 0xd2, 0xeb, 0xf2, 0x16, 0x56, 0x6a, 0xe8, 0x36, 0x64, 0x1b, 0x58, 0xa9, - 0xc9, 0x4c, 0x19, 0x85, 0xfd, 0x2b, 0xa3, 0x34, 0x4c, 0xbb, 0xd3, 0x5f, 0xe8, 0x0e, 0x00, 0x83, - 0xf2, 0xce, 0xb8, 0xfd, 0xea, 0xa4, 0xc4, 0xb8, 0xf0, 0xd3, 0xf0, 0x49, 0xc8, 0x31, 0x34, 0x9f, - 0xa0, 0x54, 0x94, 0xd1, 0xca, 0xe4, 0x27, 0x8f, 0xe6, 0xc7, 0x4c, 0xf3, 0xe1, 0x22, 0x5d, 0xb0, - 0x1b, 0xe2, 0x95, 0x65, 0x51, 0x1a, 0xa3, 0x2d, 0x2b, 0xae, 0xfc, 0x55, 0x18, 0xdf, 0x22, 0x9a, - 0xd2, 0x24, 0x0f, 0xb1, 0x2d, 0x58, 0xe6, 0x00, 0x82, 0x8d, 0xb9, 0x18, 0x4c, 0xba, 0x7b, 0x90, - 0xf3, 0x40, 0xb9, 0x88, 0x03, 0x07, 0x11, 0xd1, 0xa3, 0xc6, 0xe5, 0x5c, 0x85, 0x69, 0x0f, 0xd7, - 0x27, 0xec, 0x60, 0x92, 0xb0, 0xc8, 0x6d, 0x1e, 0x90, 0xf8, 0xf5, 0xb6, 0x69, 0x71, 0x7d, 0x64, - 0x12, 0x0f, 0x1d, 0x44, 0x62, 0x17, 0xc3, 0x91, 0xd8, 0x03, 0xe5, 0x12, 0x0f, 0x1f, 0x48, 0x62, - 0x17, 0xc5, 0x95, 0xd8, 0xc3, 0xf5, 0x49, 0x9c, 0x4d, 0x94, 0xd8, 0x6d, 0xee, 0x49, 0x5c, 0x83, - 0x63, 0x2d, 0x03, 0xef, 0x12, 0xbd, 0x6d, 0xca, 0x21, 0xd1, 0xe1, 0x00, 0xa2, 0x1f, 0x75, 0xc0, - 0xfe, 0x2f, 0x30, 0x05, 0x75, 0xc8, 0xc7, 0x8c, 0xc2, 0xe7, 0x62, 0xe4, 0x20, 0x73, 0x31, 0x13, - 0x19, 0x87, 0xcf, 0xc9, 0x5d, 0x98, 0x8b, 0x19, 0xc8, 0x37, 0x39, 0xa3, 0x49, 0x93, 0x53, 0x88, - 0x20, 0xba, 0x93, 0x24, 0x7e, 0x4b, 0x80, 0xa3, 0xf4, 0xc4, 0x5d, 0xd5, 0x77, 0x76, 0x88, 0x65, - 0x61, 0xdc, 0x6f, 0xcb, 0xc6, 0x77, 0x75, 0xa4, 0x42, 0x57, 0x47, 0xe4, 0xf8, 0xff, 0x5d, 0x06, - 0x26, 0xf8, 0x59, 0xe6, 0xd1, 0x41, 0xab, 0x87, 0xe1, 0xe1, 0xb0, 0x78, 0x05, 0x40, 0x75, 0x21, - 0x99, 0xfd, 0x3a, 0xb2, 0xfc, 0x44, 0xc7, 0xcb, 0xc3, 0x63, 0x50, 0xf2, 0x7e, 0xae, 0x69, 0x96, - 0xb1, 0x27, 0xf9, 0xa0, 0xd0, 0x55, 0x98, 0xa1, 0x36, 0xf2, 0x2e, 0x96, 0x5d, 0x1b, 0x5c, 0x56, - 0xf5, 0xb6, 0xc6, 0x8f, 0xa2, 0x8c, 0x34, 0xcd, 0x6b, 0x3d, 0x6b, 0x9c, 0xd6, 0x15, 0x2c, 0x18, - 0x73, 0x41, 0x6f, 0x5b, 0x78, 0x07, 0xa9, 0x30, 0xe9, 0xf5, 0x27, 0x5a, 0x8d, 0xa8, 0x98, 0xdf, - 0x71, 0x99, 0xca, 0xb5, 0x4f, 0x1f, 0xcd, 0x2f, 0xf7, 0x22, 0xb0, 0x3b, 0x06, 0xb3, 0x69, 0xa4, - 0x89, 0x5d, 0xdf, 0x37, 0xc5, 0x2b, 0xd4, 0x61, 0xdc, 0x13, 0x85, 0x2e, 0x3a, 0x7a, 0x39, 0x30, - 0x2d, 0xfc, 0x4e, 0x7d, 0x7c, 0xdf, 0xd3, 0x42, 0x25, 0xf0, 0x4f, 0x4a, 0xa1, 0x0d, 0xb9, 0xd0, - 0x9c, 0xa1, 0x09, 0x48, 0x6f, 0x63, 0x7e, 0x07, 0x66, 0x24, 0xfa, 0x13, 0xdd, 0x81, 0x81, 0x5d, - 0xa5, 0xd9, 0xc6, 0x4c, 0x2d, 0x46, 0x96, 0xaf, 0xed, 0x7f, 0x35, 0xa8, 0x08, 0x12, 0x07, 0xb9, - 0x91, 0xba, 0x2e, 0x88, 0x7f, 0x4e, 0xc1, 0x2c, 0x2d, 0x73, 0x27, 0xa2, 0xa2, 0x34, 0x15, 0x4d, - 0xfd, 0x2c, 0x55, 0x1a, 0x5d, 0x0d, 0x7a, 0x4a, 0x69, 0xea, 0x29, 0x55, 0xa6, 0x3e, 0x79, 0x34, - 0x9f, 0xf3, 0xf6, 0xe4, 0xb3, 0x97, 0xae, 0x5e, 0x17, 0xfd, 0xee, 0x13, 0xda, 0x80, 0x21, 0x67, - 0xd1, 0x33, 0x87, 0x5a, 0x74, 0x07, 0xa6, 0xaf, 0x56, 0xd9, 0x2f, 0xd3, 0x30, 0x19, 0x99, 0xd3, - 0xfe, 0xec, 0xcb, 0x3b, 0x30, 0xbc, 0x69, 0x03, 0xda, 0xbb, 0x72, 0x29, 0x41, 0x0f, 0x22, 0x04, - 0x4a, 0xf6, 0x0f, 0xc9, 0x45, 0x88, 0x33, 0xe8, 0xd2, 0xdd, 0x0d, 0xba, 0x4c, 0xc8, 0xa0, 0x2b, - 0xbc, 0x2f, 0xc0, 0x90, 0x0d, 0x8e, 0x96, 0x00, 0xbc, 0xf5, 0xe4, 0x06, 0x7a, 0xf8, 0x88, 0xa5, - 0x8b, 0x99, 0x75, 0x17, 0x93, 0xea, 0x35, 0x73, 0x20, 0x6c, 0xf3, 0xe6, 0xa0, 0x2b, 0xc9, 0x41, - 0x50, 0x1e, 0x86, 0x6c, 0xf1, 0xec, 0x03, 0xc5, 0xf9, 0x44, 0x33, 0x30, 0x48, 0xbd, 0x93, 0xb6, - 0x69, 0xbb, 0x7a, 0xf6, 0x97, 0xf8, 0xa7, 0x14, 0x3f, 0xd1, 0x5d, 0xbc, 0xcf, 0x52, 0xfd, 0x67, - 0x78, 0x88, 0x61, 0x17, 0xdb, 0x46, 0xa5, 0xfd, 0x15, 0x54, 0xc7, 0x4c, 0x47, 0x75, 0x1c, 0x08, - 0xa9, 0x63, 0x38, 0xf8, 0x30, 0x18, 0x0e, 0x3e, 0xf8, 0x77, 0xcf, 0x50, 0x5f, 0x76, 0x4f, 0x9c, - 0xaf, 0x3c, 0xb5, 0x8e, 0xbd, 0x29, 0x75, 0x66, 0xf4, 0x05, 0x67, 0xad, 0x85, 0xc3, 0xac, 0x35, - 0x9d, 0x5a, 0xbe, 0xda, 0xcb, 0x01, 0x6d, 0x4b, 0x25, 0x68, 0xdb, 0xad, 0x23, 0x3e, 0x7d, 0x8b, - 0x70, 0x7d, 0x3b, 0x0d, 0xe0, 0xad, 0x7d, 0x7f, 0xb6, 0xe9, 0xab, 0x30, 0xee, 0x5d, 0x4f, 0x4d, - 0x62, 0x5a, 0xf6, 0x66, 0xbd, 0xda, 0x6d, 0xb3, 0xfa, 0x44, 0xf5, 0x1c, 0xb1, 0x31, 0x17, 0x8b, - 0x5d, 0x42, 0x7d, 0xda, 0xb5, 0x3f, 0x16, 0xfc, 0x41, 0x2f, 0xd7, 0x91, 0xba, 0xd3, 0x97, 0x25, - 0x72, 0x16, 0xe8, 0x19, 0xc8, 0xba, 0xe4, 0xed, 0x8b, 0xab, 0xd8, 0x6d, 0x0e, 0x24, 0xaf, 0x8b, - 0xf8, 0x96, 0x00, 0xa7, 0xfd, 0x8a, 0xb4, 0xc2, 0xb6, 0x47, 0x15, 0x5b, 0x3c, 0x4a, 0xf7, 0x79, - 0x1a, 0x5f, 0xff, 0x1c, 0x80, 0x89, 0x30, 0x9d, 0xfe, 0x68, 0xcf, 0x3a, 0x1c, 0x65, 0xc7, 0x80, - 0x62, 0xe1, 0x9a, 0x1c, 0x89, 0x23, 0xc6, 0xdf, 0x8e, 0x53, 0x6e, 0x8f, 0x0d, 0x6f, 0xa3, 0xab, - 0x30, 0xe9, 0x01, 0x39, 0x5b, 0x3e, 0x7d, 0x38, 0x2b, 0xc9, 0x05, 0xb4, 0xad, 0x24, 0xb4, 0x02, - 0x08, 0x3f, 0x20, 0x61, 0xaa, 0x99, 0x64, 0xaa, 0x13, 0xbc, 0xb9, 0x8f, 0xe7, 0x97, 0x60, 0xdc, - 0x86, 0x70, 0x48, 0x0e, 0x1c, 0x8a, 0xe4, 0x18, 0x47, 0x73, 0x18, 0xae, 0xc2, 0x94, 0xd9, 0x54, - 0xcc, 0x46, 0x88, 0xe2, 0x60, 0x32, 0xc5, 0x49, 0xbb, 0xbd, 0x8f, 0xa3, 0x0c, 0x39, 0x07, 0xa4, - 0x3f, 0x87, 0xe7, 0xb8, 0x0d, 0xe7, 0x63, 0x89, 0x5f, 0xc7, 0x6a, 0x78, 0x22, 0x87, 0x3b, 0xb0, - 0xb4, 0xdb, 0x07, 0x59, 0x3a, 0x20, 0x0e, 0xcb, 0xec, 0xe1, 0x58, 0xda, 0x70, 0x36, 0x4b, 0xf1, - 0xbb, 0x02, 0x9c, 0x70, 0x9b, 0x6c, 0x60, 0x63, 0x4b, 0x37, 0x76, 0x98, 0x55, 0xe1, 0x46, 0x71, - 0x02, 0x97, 0x8f, 0xc0, 0xd8, 0xa7, 0xf2, 0x42, 0xd2, 0x05, 0x94, 0xea, 0xcb, 0x05, 0x24, 0xfe, - 0x63, 0x00, 0x66, 0xe3, 0x69, 0xd9, 0x21, 0xb1, 0xa7, 0xa1, 0xa0, 0xb6, 0x0d, 0x03, 0x6b, 0x96, - 0x8c, 0xb7, 0xb6, 0x30, 0x77, 0x41, 0x5c, 0x53, 0x8a, 0x79, 0x0e, 0x52, 0xde, 0x6e, 0xb1, 0xe6, - 0x34, 0x70, 0x6d, 0xb7, 0x97, 0x21, 0x47, 0x34, 0xb5, 0xd9, 0x36, 0x89, 0xae, 0x31, 0x8f, 0xd8, - 0x21, 0xbe, 0x3f, 0x97, 0x78, 0xdc, 0x05, 0xa1, 0x9f, 0x54, 0xef, 0xa7, 0x3c, 0xd8, 0x1a, 0x31, - 0x2d, 0xce, 0x26, 0x7d, 0x00, 0x68, 0xe4, 0x02, 0xdd, 0x74, 0x70, 0xa8, 0xaf, 0xa5, 0xea, 0x86, - 0x81, 0x55, 0xab, 0xb9, 0x27, 0xef, 0xea, 0x54, 0x29, 0x4c, 0xbd, 0x6d, 0xa8, 0x98, 0xed, 0xce, - 0x61, 0x69, 0xda, 0xad, 0xbd, 0x47, 0x2b, 0xab, 0xac, 0x2e, 0xae, 0x97, 0xa5, 0x18, 0x75, 0x6c, - 0xb1, 0x4d, 0x19, 0xe9, 0x75, 0x97, 0xd5, 0xa1, 0x25, 0x98, 0x0e, 0xf7, 0x6a, 0x60, 0xa5, 0xc6, - 0x36, 0xd9, 0xb0, 0x84, 0x82, 0x7d, 0x58, 0x98, 0x6c, 0x1d, 0x8a, 0xce, 0xfc, 0xcb, 0x9b, 0x78, - 0x4b, 0x37, 0x30, 0x8f, 0x02, 0xc8, 0x96, 0xa1, 0x68, 0x26, 0x61, 0xef, 0x2e, 0x6c, 0x87, 0x49, - 0x73, 0x4e, 0xbb, 0x0a, 0x6b, 0xc6, 0xce, 0xca, 0xbb, 0x6e, 0x23, 0xb4, 0x06, 0xf3, 0x2e, 0x90, - 0xb2, 0x65, 0x61, 0x23, 0x8a, 0x33, 0xcc, 0x70, 0x66, 0x9d, 0x66, 0x2b, 0xb4, 0x55, 0x18, 0x66, - 0x11, 0xd0, 0x0e, 0x31, 0x4d, 0xa2, 0xd5, 0x3d, 0xd7, 0x94, 0xef, 0x9e, 0x51, 0x69, 0xd2, 0xae, - 0xf1, 0xd9, 0x09, 0xeb, 0x50, 0x54, 0x76, 0xb1, 0x41, 0xef, 0xe0, 0x88, 0x43, 0xeb, 0x58, 0xa0, - 0x50, 0x14, 0x16, 0x52, 0xd2, 0x9c, 0xdd, 0x6e, 0x25, 0xe8, 0xd9, 0x3a, 0x16, 0x73, 0xc8, 0x03, - 0x1a, 0xe9, 0xc9, 0x03, 0x12, 0x7f, 0x96, 0x86, 0x71, 0x17, 0xea, 0xa5, 0x36, 0x6e, 0x63, 0x6a, - 0xf7, 0xa9, 0x8d, 0xb6, 0xa1, 0xc9, 0x4d, 0xb2, 0x43, 0xec, 0xc8, 0xa3, 0x04, 0xac, 0xe8, 0x0e, - 0x2d, 0x41, 0xcf, 0xdb, 0xbe, 0x37, 0x0b, 0xd1, 0xc7, 0x5c, 0x2c, 0x47, 0x63, 0x06, 0xcd, 0x0b, - 0xb6, 0x4b, 0xce, 0x3a, 0xf9, 0x4e, 0x9a, 0x67, 0x81, 0x9d, 0xe3, 0x72, 0xd4, 0x7b, 0x4b, 0x80, - 0x61, 0x47, 0xbc, 0x0f, 0xe0, 0x01, 0xcc, 0xfa, 0xd8, 0x44, 0xbd, 0xf9, 0xc3, 0x39, 0x76, 0x05, - 0x0f, 0xfb, 0x5e, 0xc8, 0xaf, 0x47, 0x4d, 0x98, 0x61, 0xd4, 0xa3, 0x63, 0x1e, 0xee, 0xda, 0x99, - 0xa6, 0xa8, 0xe1, 0xd1, 0xc4, 0x8f, 0x52, 0xfc, 0x2d, 0xc6, 0xb3, 0x61, 0x4c, 0x93, 0xd4, 0xb5, - 0x1d, 0xac, 0x59, 0xff, 0x73, 0xb4, 0x0f, 0xe7, 0x68, 0xbf, 0x33, 0x08, 0xd3, 0x71, 0xd3, 0xda, - 0x1f, 0x33, 0x4c, 0x81, 0x11, 0xc5, 0xc3, 0xb4, 0x2d, 0xf8, 0x67, 0xbb, 0x59, 0xaf, 0x3e, 0x1a, - 0x5e, 0xe8, 0xc5, 0x2b, 0x94, 0xfc, 0x98, 0xfd, 0x32, 0xe5, 0xdf, 0xca, 0xc0, 0x54, 0xcc, 0x58, - 0xd4, 0xfe, 0x73, 0x1e, 0xf3, 0x83, 0x51, 0xab, 0x43, 0xd8, 0x7f, 0x9b, 0xe1, 0x78, 0xa3, 0x0c, - 0x39, 0x17, 0x5d, 0x3e, 0x90, 0x27, 0xef, 0x05, 0xc6, 0xb8, 0xc9, 0xa1, 0x06, 0xbe, 0xd1, 0x4b, - 0x30, 0xc6, 0x1f, 0x28, 0xb1, 0xc1, 0xa3, 0xd1, 0xe9, 0x03, 0x44, 0xa3, 0x47, 0x1d, 0x08, 0x16, - 0x84, 0xae, 0xc2, 0x78, 0xcb, 0xd0, 0x5b, 0xba, 0x69, 0x43, 0x3a, 0xda, 0xbd, 0xcf, 0xe0, 0xbe, - 0x83, 0xc1, 0x6f, 0xf3, 0xa0, 0x33, 0x3a, 0xc0, 0x9c, 0xd1, 0xa9, 0x88, 0x33, 0x9a, 0x17, 0xfc, - 0xc1, 0x0f, 0x19, 0x72, 0x81, 0x53, 0x08, 0x3f, 0x60, 0x5a, 0x7f, 0x08, 0x7b, 0x6d, 0x37, 0xf0, - 0x2d, 0x7e, 0x4f, 0x80, 0xa2, 0xdf, 0x81, 0xda, 0x50, 0x0c, 0x8b, 0xa8, 0xa4, 0xc5, 0x9f, 0x6e, - 0x3f, 0x3f, 0xef, 0xe9, 0x23, 0x01, 0x4e, 0x26, 0x91, 0xb2, 0x4d, 0xb6, 0xbe, 0x6c, 0xe2, 0x59, - 0xc8, 0xba, 0x8f, 0x3b, 0x9c, 0x95, 0xe4, 0x15, 0xa0, 0x2a, 0x8c, 0xb5, 0xfc, 0x63, 0x33, 0xd5, - 0x1a, 0x59, 0x5e, 0xec, 0xb6, 0xc9, 0x83, 0x84, 0x83, 0x18, 0xe2, 0x5d, 0x98, 0xf1, 0x3d, 0x85, - 0x6f, 0xe8, 0x7a, 0xd3, 0x99, 0xe7, 0xc0, 0xd9, 0x27, 0x74, 0x3c, 0xfb, 0x52, 0xa1, 0xb3, 0x4f, - 0x7c, 0x4f, 0x80, 0x63, 0x11, 0xd8, 0xff, 0xcc, 0xec, 0x83, 0xef, 0x08, 0x30, 0xea, 0x84, 0xa1, - 0xb5, 0x2d, 0x52, 0x47, 0xeb, 0x30, 0xa8, 0xb2, 0x5f, 0x36, 0xb3, 0x72, 0x97, 0xd8, 0x35, 0x6d, - 0x5a, 0xe2, 0x7f, 0xf8, 0x0b, 0x82, 0xdd, 0xbd, 0xf0, 0x24, 0x8c, 0xf8, 0x8a, 0xfd, 0x41, 0xf2, - 0x2c, 0x0f, 0x92, 0x4f, 0xfb, 0x83, 0xe4, 0x59, 0x7f, 0xb0, 0x7b, 0x0f, 0x66, 0xaa, 0xed, 0xcd, - 0x1d, 0x62, 0x55, 0xa9, 0xdb, 0x45, 0xb4, 0xba, 0x3b, 0x7b, 0x31, 0x9e, 0x9d, 0xd0, 0x4f, 0xcf, - 0x4e, 0xfc, 0x40, 0x80, 0x19, 0xfa, 0x7b, 0x97, 0xd4, 0xda, 0x4a, 0x93, 0x5a, 0xc0, 0xee, 0xc5, - 0xdf, 0x17, 0x1d, 0xef, 0x96, 0x6d, 0xe4, 0xbf, 0xc5, 0xd3, 0xfd, 0xf1, 0xb7, 0xbe, 0x9d, 0x8d, - 0x11, 0x89, 0xce, 0x67, 0x0d, 0xd5, 0x61, 0x82, 0xb8, 0x35, 0xcc, 0x15, 0x70, 0x14, 0xf2, 0xe9, - 0xe4, 0x9c, 0x92, 0x18, 0xa0, 0x50, 0xb1, 0x94, 0x23, 0xc1, 0x66, 0x85, 0x6f, 0x0e, 0xc3, 0x78, - 0xb0, 0x4d, 0x7f, 0xa6, 0x73, 0x2e, 0x1a, 0x54, 0xec, 0x72, 0x64, 0xa7, 0xfb, 0x79, 0x64, 0xd3, - 0xf1, 0x89, 0x29, 0xdb, 0x3a, 0xc4, 0xf3, 0x47, 0xa4, 0x2c, 0x31, 0xab, 0xbc, 0x00, 0x3d, 0x07, - 0x45, 0x62, 0xca, 0xf7, 0x89, 0xd5, 0xa8, 0x19, 0xca, 0x7d, 0x65, 0xb3, 0x49, 0x6f, 0x5d, 0xd9, - 0x75, 0x6e, 0xdd, 0x67, 0xf4, 0x61, 0x69, 0x96, 0x98, 0xaf, 0xf8, 0x9a, 0xdd, 0xd6, 0x56, 0x6d, - 0xff, 0x96, 0x89, 0x79, 0x03, 0x0a, 0xc4, 0x74, 0x7c, 0x97, 0x08, 0xc2, 0x20, 0x43, 0x98, 0x21, - 0x26, 0xf7, 0x5a, 0x42, 0x7d, 0x9f, 0x86, 0x13, 0x81, 0xbe, 0xee, 0x43, 0x2b, 0xef, 0x3c, 0xc4, - 0x3a, 0x1f, 0xf3, 0x3a, 0x6f, 0xd8, 0xf5, 0x4e, 0x1e, 0xc2, 0x71, 0x62, 0x06, 0xc7, 0x93, 0x9d, - 0xeb, 0x99, 0xbd, 0x87, 0xb3, 0x81, 0xfd, 0x03, 0xae, 0xd8, 0xb5, 0xb6, 0xf0, 0xc1, 0xae, 0xdc, - 0x3b, 0xf5, 0x10, 0xb2, 0x8e, 0xf0, 0x7e, 0x04, 0xee, 0xa6, 0xba, 0x38, 0x4f, 0x31, 0xe1, 0x83, - 0xb4, 0x3d, 0x04, 0x70, 0xf8, 0x07, 0x78, 0xbb, 0x9d, 0x6f, 0xc1, 0xa9, 0x68, 0xe7, 0x30, 0x8b, - 0x11, 0x86, 0x31, 0x17, 0xc2, 0x08, 0xd1, 0xb8, 0x09, 0xf3, 0x51, 0x24, 0x96, 0xa3, 0xe1, 0xe2, - 0x8c, 0x32, 0x9c, 0x13, 0x21, 0x1c, 0xea, 0x41, 0xbb, 0x28, 0x2f, 0xc0, 0x99, 0xe0, 0x8c, 0x44, - 0x22, 0x1c, 0x72, 0xfd, 0x3e, 0x26, 0xf9, 0x31, 0xe6, 0x11, 0x16, 0x55, 0xdf, 0xb4, 0x84, 0x43, - 0x1d, 0xeb, 0xf7, 0x31, 0xa1, 0xd6, 0x51, 0x30, 0xda, 0x91, 0x1f, 0x3f, 0x48, 0xea, 0x43, 0x20, - 0xd8, 0x81, 0x5e, 0x05, 0x14, 0x8d, 0x75, 0xe4, 0x73, 0x07, 0x00, 0x9e, 0x8c, 0x84, 0x3a, 0xc4, - 0x1f, 0x09, 0x50, 0x78, 0x05, 0x2b, 0xdb, 0xd5, 0xf6, 0xe6, 0xeb, 0x4c, 0x1e, 0x62, 0xed, 0xad, - 0x36, 0xb0, 0xba, 0xdd, 0xd2, 0x89, 0x66, 0x85, 0x92, 0x7b, 0x84, 0x70, 0x72, 0xcf, 0x1c, 0x00, - 0xbd, 0x02, 0x71, 0x20, 0xf7, 0x87, 0x95, 0xb0, 0xea, 0xd5, 0xc3, 0xe4, 0x84, 0xd9, 0x87, 0xca, - 0x85, 0x7b, 0x90, 0x75, 0xd3, 0x44, 0xd1, 0x0c, 0xa0, 0x95, 0x9b, 0x37, 0xe5, 0x7b, 0x2b, 0x77, - 0x6e, 0xdf, 0x5c, 0xb9, 0xfb, 0xa2, 0x24, 0x3f, 0xbf, 0xf6, 0x85, 0xea, 0xc4, 0x11, 0x74, 0x1c, - 0x8e, 0x4a, 0x6b, 0xff, 0xff, 0xe2, 0xbd, 0xb5, 0x70, 0x95, 0x40, 0xbb, 0x54, 0xd7, 0xee, 0x86, - 0xcb, 0x53, 0xcb, 0x6f, 0xce, 0xc1, 0x88, 0x7d, 0x6d, 0x36, 0x14, 0xa2, 0xa1, 0x1f, 0x0a, 0x30, - 0x11, 0xce, 0x52, 0x44, 0xa5, 0x84, 0x83, 0x37, 0x21, 0x49, 0xb3, 0x50, 0xee, 0xb9, 0x3d, 0xbf, - 0x42, 0xc5, 0xf3, 0x5f, 0xfd, 0xf0, 0x6f, 0x6f, 0xa6, 0x4e, 0xa3, 0x53, 0xe5, 0x98, 0x3c, 0xdc, - 0x72, 0xc0, 0xc6, 0x78, 0xdf, 0x4e, 0x0e, 0x8d, 0x49, 0x4d, 0x44, 0x8f, 0x77, 0x18, 0x37, 0x39, - 0x53, 0xb6, 0x70, 0x6d, 0xbf, 0xdd, 0x6c, 0xd6, 0x97, 0x19, 0xeb, 0x8b, 0xe8, 0x7c, 0x57, 0xd6, - 0x65, 0x3b, 0xc5, 0x11, 0x7d, 0x5d, 0x00, 0xc4, 0x93, 0xd7, 0x02, 0xc4, 0x67, 0x4a, 0x3c, 0x79, - 0xb9, 0xe4, 0x24, 0x2f, 0x97, 0xd6, 0x76, 0x5a, 0xd6, 0x5e, 0xa1, 0x07, 0x13, 0x4c, 0x5c, 0x62, - 0x2c, 0x2e, 0xa0, 0x85, 0xee, 0x2c, 0x4c, 0x36, 0xf2, 0x92, 0x80, 0xde, 0x16, 0xe0, 0x38, 0xa7, - 0x11, 0x37, 0x8d, 0x49, 0x6c, 0x7a, 0xcf, 0xe9, 0x14, 0xaf, 0x33, 0x52, 0xcb, 0x68, 0xa9, 0xe7, - 0xa9, 0xf1, 0xc8, 0xbd, 0x23, 0x40, 0x2e, 0x64, 0xa9, 0xa2, 0xc5, 0xee, 0x13, 0xe1, 0x33, 0x94, - 0x0b, 0xa5, 0x5e, 0x9b, 0xdb, 0x2b, 0x59, 0x62, 0x74, 0x17, 0xd0, 0xd9, 0xee, 0x74, 0x5b, 0x94, - 0xce, 0x37, 0x04, 0x00, 0x2f, 0x6f, 0x12, 0x2d, 0x74, 0x50, 0xa0, 0x40, 0x92, 0x62, 0xe2, 0x14, - 0x46, 0x93, 0x30, 0xc5, 0xd3, 0x8c, 0xd3, 0x1c, 0x3a, 0x11, 0xcb, 0x69, 0x93, 0x8f, 0x4c, 0x4d, - 0x65, 0x7f, 0x32, 0x24, 0xba, 0x90, 0x94, 0xb8, 0x18, 0xcd, 0x98, 0x2c, 0xf4, 0x9c, 0xe4, 0x28, - 0x5e, 0x60, 0x5c, 0xce, 0x20, 0xb1, 0x03, 0x17, 0x6f, 0x01, 0xbf, 0x0c, 0x39, 0x3e, 0x9c, 0x97, - 0xd3, 0x98, 0xa4, 0x52, 0x49, 0x8f, 0x79, 0x6e, 0x4f, 0x71, 0x91, 0x0d, 0x7d, 0x0e, 0x3d, 0x16, - 0x3b, 0x34, 0xfb, 0x27, 0x03, 0x7a, 0xe1, 0x79, 0xa3, 0xb7, 0x60, 0x74, 0x9d, 0x3d, 0xa8, 0x1d, - 0x7a, 0xe8, 0xb3, 0x6c, 0xe8, 0x22, 0x3a, 0xd9, 0x79, 0x68, 0xf4, 0x53, 0x01, 0xe6, 0xd6, 0xb1, - 0xd5, 0xe1, 0x02, 0x49, 0xe2, 0x70, 0x39, 0x81, 0x43, 0x32, 0x94, 0xf8, 0x24, 0x23, 0x75, 0x05, - 0x5d, 0x8e, 0x25, 0x75, 0x1f, 0x2b, 0xdb, 0xb2, 0xe9, 0xeb, 0x29, 0xab, 0x1e, 0x8b, 0xef, 0x0b, - 0x30, 0xcd, 0x14, 0x2d, 0x1c, 0x82, 0xb9, 0xd4, 0x41, 0x2b, 0x23, 0x89, 0x6a, 0x85, 0x73, 0x3d, - 0x66, 0x0e, 0x89, 0xe7, 0x18, 0xd5, 0x53, 0x68, 0x3e, 0x7e, 0xfe, 0xbc, 0xf1, 0xdf, 0x15, 0x42, - 0x29, 0x14, 0xee, 0xc3, 0xc9, 0x95, 0x0e, 0xcc, 0x92, 0xd2, 0x8e, 0x12, 0xf5, 0x3a, 0xd2, 0x21, - 0xe9, 0xde, 0xf1, 0xe2, 0xf7, 0x65, 0x37, 0xd7, 0xe5, 0x6b, 0x02, 0x8c, 0x07, 0xd3, 0x3c, 0x3a, - 0x4e, 0x5b, 0x24, 0x1b, 0xa4, 0x70, 0xaa, 0xeb, 0xdb, 0xbd, 0x58, 0x64, 0x74, 0x0a, 0x28, 0x9f, - 0x44, 0x07, 0x7d, 0x85, 0x29, 0xb7, 0xdb, 0x25, 0x71, 0xbb, 0xc7, 0x24, 0x4f, 0x14, 0xba, 0x3e, - 0x9c, 0x8b, 0xf3, 0x6c, 0xfc, 0xe3, 0xe8, 0x58, 0xc2, 0xf8, 0xe8, 0xb7, 0x02, 0xcc, 0x76, 0x7a, - 0x4e, 0x47, 0x37, 0x7a, 0xe0, 0x93, 0xf0, 0x06, 0x9f, 0xa8, 0x57, 0xe1, 0xf6, 0x49, 0xf7, 0xae, - 0x6f, 0xd5, 0xb8, 0x67, 0x61, 0x62, 0x4b, 0xb5, 0x79, 0x3d, 0x84, 0x49, 0x3f, 0x05, 0xfe, 0xe0, - 0x91, 0xb4, 0x2b, 0x1f, 0xeb, 0x36, 0x51, 0xac, 0x7b, 0xd2, 0xf1, 0xe0, 0xa3, 0xf1, 0x06, 0x1b, - 0xe6, 0xd7, 0x02, 0x1c, 0x0b, 0x84, 0xd0, 0xbc, 0xe7, 0x45, 0xb4, 0xdc, 0x35, 0x52, 0x14, 0x79, - 0x22, 0x2d, 0x5c, 0xd9, 0x57, 0x1f, 0xfb, 0x36, 0xb9, 0xc4, 0xc8, 0x9e, 0x45, 0x67, 0x12, 0xc9, - 0xb6, 0x7c, 0xb4, 0x7e, 0x65, 0xff, 0xaf, 0x4a, 0x6c, 0x70, 0xfc, 0x5a, 0x2f, 0x6a, 0x1f, 0x7d, - 0xa4, 0x28, 0x5c, 0xdc, 0x47, 0xe8, 0xbb, 0x07, 0xbe, 0xfe, 0x38, 0xf8, 0xfb, 0x02, 0x1c, 0x4f, - 0x8c, 0x52, 0xa2, 0x27, 0x7a, 0x50, 0xca, 0xb8, 0xb8, 0x66, 0xe1, 0xf1, 0xfd, 0xc5, 0xf1, 0xba, - 0x58, 0x13, 0xfe, 0xb9, 0x0e, 0xf0, 0x33, 0x21, 0xb7, 0x8e, 0xad, 0x40, 0xc4, 0x2b, 0x49, 0x35, - 0x4f, 0xf7, 0x10, 0xf9, 0xea, 0x62, 0x39, 0xf0, 0x50, 0x18, 0xb5, 0xb2, 0xa6, 0xf9, 0x2d, 0xed, - 0x1d, 0x40, 0xb7, 0xb5, 0x2d, 0x1d, 0x9d, 0xef, 0x26, 0xb4, 0xfb, 0x0f, 0x6e, 0x85, 0x33, 0xdd, - 0x9a, 0x52, 0x40, 0xf1, 0x0a, 0xa3, 0xb3, 0x88, 0x2e, 0xc6, 0xd2, 0xf1, 0xcd, 0x0a, 0xd1, 0xb6, - 0x74, 0xfb, 0x1e, 0x5f, 0x10, 0x96, 0x04, 0xf4, 0x9e, 0xe0, 0xc4, 0xdc, 0x56, 0xdc, 0xe0, 0x3b, - 0x8f, 0xbd, 0xa1, 0x73, 0x1d, 0x0d, 0x3c, 0xaf, 0x61, 0x21, 0xc9, 0x70, 0x8c, 0x8f, 0xe5, 0x89, - 0xd7, 0x18, 0xd7, 0x25, 0x54, 0x8a, 0xe5, 0x6a, 0xda, 0xcd, 0xcd, 0xb2, 0xe3, 0x5e, 0x97, 0x4d, - 0x86, 0xe3, 0xa3, 0xba, 0xe1, 0xc6, 0xf4, 0xbb, 0x50, 0x0d, 0x37, 0xfc, 0x77, 0x51, 0x75, 0x1e, - 0x19, 0x1c, 0xaa, 0xef, 0x0a, 0x80, 0xd6, 0xb1, 0x15, 0x0a, 0x9a, 0x25, 0x5a, 0xd8, 0xf1, 0x81, - 0xc7, 0xc2, 0xe2, 0xbe, 0x62, 0x71, 0x5d, 0xac, 0xb8, 0x70, 0xbc, 0xaf, 0xf2, 0x13, 0xe1, 0x0f, - 0x1f, 0x9f, 0x14, 0x3e, 0xf8, 0xf8, 0xa4, 0xf0, 0xd7, 0x8f, 0x4f, 0x0a, 0x70, 0x5c, 0x37, 0xea, - 0xf1, 0xe3, 0x55, 0x26, 0x7c, 0xce, 0xeb, 0x06, 0xdd, 0x2b, 0x1b, 0xc2, 0x17, 0xaf, 0x75, 0xf2, - 0xae, 0x19, 0x86, 0xd2, 0x22, 0x66, 0x80, 0xc9, 0x53, 0xd8, 0x6a, 0xfc, 0x22, 0x75, 0x74, 0xcd, - 0x19, 0x63, 0xcd, 0x37, 0xc6, 0x1f, 0xbd, 0xf2, 0xd7, 0xd6, 0xac, 0xc6, 0x6b, 0x4e, 0xf9, 0xe6, - 0x20, 0xdb, 0x9c, 0x57, 0xfe, 0x15, 0x00, 0x00, 0xff, 0xff, 0xdb, 0x2b, 0xf3, 0xf3, 0xff, 0x3a, - 0x00, 0x00, +func (x *ValidatorBalances_Balance) GetStatus() string { + if x != nil { + return x.Status + } + return "" } -// Reference imports to suppress errors if they are not otherwise used. -var _ context.Context -var _ grpc.ClientConn - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the grpc package it is being compiled against. -const _ = grpc.SupportPackageIsVersion4 +type Validators_ValidatorContainer struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -// BeaconChainClient is the client API for BeaconChain service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type BeaconChainClient interface { - ListAttestations(ctx context.Context, in *ListAttestationsRequest, opts ...grpc.CallOption) (*ListAttestationsResponse, error) - ListIndexedAttestations(ctx context.Context, in *ListIndexedAttestationsRequest, opts ...grpc.CallOption) (*ListIndexedAttestationsResponse, error) - StreamAttestations(ctx context.Context, in *types.Empty, opts ...grpc.CallOption) (BeaconChain_StreamAttestationsClient, error) - StreamIndexedAttestations(ctx context.Context, in *types.Empty, opts ...grpc.CallOption) (BeaconChain_StreamIndexedAttestationsClient, error) - AttestationPool(ctx context.Context, in *AttestationPoolRequest, opts ...grpc.CallOption) (*AttestationPoolResponse, error) - ListBlocks(ctx context.Context, in *ListBlocksRequest, opts ...grpc.CallOption) (*ListBlocksResponse, error) - StreamBlocks(ctx context.Context, in *StreamBlocksRequest, opts ...grpc.CallOption) (BeaconChain_StreamBlocksClient, error) - StreamChainHead(ctx context.Context, in *types.Empty, opts ...grpc.CallOption) (BeaconChain_StreamChainHeadClient, error) - GetChainHead(ctx context.Context, in *types.Empty, opts ...grpc.CallOption) (*ChainHead, error) - GetWeakSubjectivityCheckpoint(ctx context.Context, in *types.Empty, opts ...grpc.CallOption) (*WeakSubjectivityCheckpoint, error) - ListBeaconCommittees(ctx context.Context, in *ListCommitteesRequest, opts ...grpc.CallOption) (*BeaconCommittees, error) - ListValidatorBalances(ctx context.Context, in *ListValidatorBalancesRequest, opts ...grpc.CallOption) (*ValidatorBalances, error) - ListValidators(ctx context.Context, in *ListValidatorsRequest, opts ...grpc.CallOption) (*Validators, error) - GetValidator(ctx context.Context, in *GetValidatorRequest, opts ...grpc.CallOption) (*Validator, error) - GetValidatorActiveSetChanges(ctx context.Context, in *GetValidatorActiveSetChangesRequest, opts ...grpc.CallOption) (*ActiveSetChanges, error) - GetValidatorQueue(ctx context.Context, in *types.Empty, opts ...grpc.CallOption) (*ValidatorQueue, error) - GetValidatorPerformance(ctx context.Context, in *ValidatorPerformanceRequest, opts ...grpc.CallOption) (*ValidatorPerformanceResponse, error) - ListValidatorAssignments(ctx context.Context, in *ListValidatorAssignmentsRequest, opts ...grpc.CallOption) (*ValidatorAssignments, error) - GetValidatorParticipation(ctx context.Context, in *GetValidatorParticipationRequest, opts ...grpc.CallOption) (*ValidatorParticipationResponse, error) - GetBeaconConfig(ctx context.Context, in *types.Empty, opts ...grpc.CallOption) (*BeaconConfig, error) - StreamValidatorsInfo(ctx context.Context, opts ...grpc.CallOption) (BeaconChain_StreamValidatorsInfoClient, error) - SubmitAttesterSlashing(ctx context.Context, in *AttesterSlashing, opts ...grpc.CallOption) (*SubmitSlashingResponse, error) - SubmitProposerSlashing(ctx context.Context, in *ProposerSlashing, opts ...grpc.CallOption) (*SubmitSlashingResponse, error) - GetIndividualVotes(ctx context.Context, in *IndividualVotesRequest, opts ...grpc.CallOption) (*IndividualVotesRespond, error) + Index github_com_prysmaticlabs_eth2_types.ValidatorIndex `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty" cast-type:"github.com/prysmaticlabs/eth2-types.ValidatorIndex"` + Validator *Validator `protobuf:"bytes,2,opt,name=validator,proto3" json:"validator,omitempty"` } -type beaconChainClient struct { - cc *grpc.ClientConn +func (x *Validators_ValidatorContainer) Reset() { + *x = Validators_ValidatorContainer{} + if protoimpl.UnsafeEnabled { + mi := &file_eth_v1alpha1_beacon_chain_proto_msgTypes[37] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func NewBeaconChainClient(cc *grpc.ClientConn) BeaconChainClient { - return &beaconChainClient{cc} +func (x *Validators_ValidatorContainer) String() string { + return protoimpl.X.MessageStringOf(x) } -func (c *beaconChainClient) ListAttestations(ctx context.Context, in *ListAttestationsRequest, opts ...grpc.CallOption) (*ListAttestationsResponse, error) { - out := new(ListAttestationsResponse) - err := c.cc.Invoke(ctx, "/ethereum.eth.v1alpha1.BeaconChain/ListAttestations", in, out, opts...) - if err != nil { - return nil, err +func (*Validators_ValidatorContainer) ProtoMessage() {} + +func (x *Validators_ValidatorContainer) ProtoReflect() protoreflect.Message { + mi := &file_eth_v1alpha1_beacon_chain_proto_msgTypes[37] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms } - return out, nil + return mi.MessageOf(x) } -func (c *beaconChainClient) ListIndexedAttestations(ctx context.Context, in *ListIndexedAttestationsRequest, opts ...grpc.CallOption) (*ListIndexedAttestationsResponse, error) { - out := new(ListIndexedAttestationsResponse) - err := c.cc.Invoke(ctx, "/ethereum.eth.v1alpha1.BeaconChain/ListIndexedAttestations", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil +// Deprecated: Use Validators_ValidatorContainer.ProtoReflect.Descriptor instead. +func (*Validators_ValidatorContainer) Descriptor() ([]byte, []int) { + return file_eth_v1alpha1_beacon_chain_proto_rawDescGZIP(), []int{16, 0} } -func (c *beaconChainClient) StreamAttestations(ctx context.Context, in *types.Empty, opts ...grpc.CallOption) (BeaconChain_StreamAttestationsClient, error) { - stream, err := c.cc.NewStream(ctx, &_BeaconChain_serviceDesc.Streams[0], "/ethereum.eth.v1alpha1.BeaconChain/StreamAttestations", opts...) - if err != nil { - return nil, err - } - x := &beaconChainStreamAttestationsClient{stream} - if err := x.ClientStream.SendMsg(in); err != nil { - return nil, err - } - if err := x.ClientStream.CloseSend(); err != nil { - return nil, err +func (x *Validators_ValidatorContainer) GetIndex() github_com_prysmaticlabs_eth2_types.ValidatorIndex { + if x != nil { + return x.Index } - return x, nil + return github_com_prysmaticlabs_eth2_types.ValidatorIndex(0) } -type BeaconChain_StreamAttestationsClient interface { - Recv() (*Attestation, error) - grpc.ClientStream +func (x *Validators_ValidatorContainer) GetValidator() *Validator { + if x != nil { + return x.Validator + } + return nil } -type beaconChainStreamAttestationsClient struct { - grpc.ClientStream +type ValidatorAssignments_CommitteeAssignment struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + BeaconCommittees []github_com_prysmaticlabs_eth2_types.ValidatorIndex `protobuf:"varint,1,rep,packed,name=beacon_committees,json=beaconCommittees,proto3" json:"beacon_committees,omitempty" cast-type:"github.com/prysmaticlabs/eth2-types.ValidatorIndex"` + CommitteeIndex github_com_prysmaticlabs_eth2_types.CommitteeIndex `protobuf:"varint,2,opt,name=committee_index,json=committeeIndex,proto3" json:"committee_index,omitempty" cast-type:"github.com/prysmaticlabs/eth2-types.CommitteeIndex"` + AttesterSlot github_com_prysmaticlabs_eth2_types.Slot `protobuf:"varint,3,opt,name=attester_slot,json=attesterSlot,proto3" json:"attester_slot,omitempty" cast-type:"github.com/prysmaticlabs/eth2-types.Slot"` + ProposerSlots []github_com_prysmaticlabs_eth2_types.Slot `protobuf:"varint,4,rep,packed,name=proposer_slots,json=proposerSlots,proto3" json:"proposer_slots,omitempty" cast-type:"github.com/prysmaticlabs/eth2-types.Slot"` + // Deprecated: Do not use. + PublicKey []byte `protobuf:"bytes,5,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty" ssz-size:"48"` + ValidatorIndex github_com_prysmaticlabs_eth2_types.ValidatorIndex `protobuf:"varint,6,opt,name=validator_index,json=validatorIndex,proto3" json:"validator_index,omitempty" cast-type:"github.com/prysmaticlabs/eth2-types.ValidatorIndex"` } -func (x *beaconChainStreamAttestationsClient) Recv() (*Attestation, error) { - m := new(Attestation) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err +func (x *ValidatorAssignments_CommitteeAssignment) Reset() { + *x = ValidatorAssignments_CommitteeAssignment{} + if protoimpl.UnsafeEnabled { + mi := &file_eth_v1alpha1_beacon_chain_proto_msgTypes[38] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } - return m, nil } -func (c *beaconChainClient) StreamIndexedAttestations(ctx context.Context, in *types.Empty, opts ...grpc.CallOption) (BeaconChain_StreamIndexedAttestationsClient, error) { - stream, err := c.cc.NewStream(ctx, &_BeaconChain_serviceDesc.Streams[1], "/ethereum.eth.v1alpha1.BeaconChain/StreamIndexedAttestations", opts...) - if err != nil { - return nil, err - } - x := &beaconChainStreamIndexedAttestationsClient{stream} - if err := x.ClientStream.SendMsg(in); err != nil { - return nil, err - } - if err := x.ClientStream.CloseSend(); err != nil { - return nil, err +func (x *ValidatorAssignments_CommitteeAssignment) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ValidatorAssignments_CommitteeAssignment) ProtoMessage() {} + +func (x *ValidatorAssignments_CommitteeAssignment) ProtoReflect() protoreflect.Message { + mi := &file_eth_v1alpha1_beacon_chain_proto_msgTypes[38] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms } - return x, nil + return mi.MessageOf(x) } -type BeaconChain_StreamIndexedAttestationsClient interface { - Recv() (*IndexedAttestation, error) - grpc.ClientStream +// Deprecated: Use ValidatorAssignments_CommitteeAssignment.ProtoReflect.Descriptor instead. +func (*ValidatorAssignments_CommitteeAssignment) Descriptor() ([]byte, []int) { + return file_eth_v1alpha1_beacon_chain_proto_rawDescGZIP(), []int{23, 0} } -type beaconChainStreamIndexedAttestationsClient struct { - grpc.ClientStream +func (x *ValidatorAssignments_CommitteeAssignment) GetBeaconCommittees() []github_com_prysmaticlabs_eth2_types.ValidatorIndex { + if x != nil { + return x.BeaconCommittees + } + return []github_com_prysmaticlabs_eth2_types.ValidatorIndex(nil) } -func (x *beaconChainStreamIndexedAttestationsClient) Recv() (*IndexedAttestation, error) { - m := new(IndexedAttestation) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err +func (x *ValidatorAssignments_CommitteeAssignment) GetCommitteeIndex() github_com_prysmaticlabs_eth2_types.CommitteeIndex { + if x != nil { + return x.CommitteeIndex } - return m, nil + return github_com_prysmaticlabs_eth2_types.CommitteeIndex(0) } -func (c *beaconChainClient) AttestationPool(ctx context.Context, in *AttestationPoolRequest, opts ...grpc.CallOption) (*AttestationPoolResponse, error) { - out := new(AttestationPoolResponse) - err := c.cc.Invoke(ctx, "/ethereum.eth.v1alpha1.BeaconChain/AttestationPool", in, out, opts...) - if err != nil { - return nil, err +func (x *ValidatorAssignments_CommitteeAssignment) GetAttesterSlot() github_com_prysmaticlabs_eth2_types.Slot { + if x != nil { + return x.AttesterSlot } - return out, nil + return github_com_prysmaticlabs_eth2_types.Slot(0) } -func (c *beaconChainClient) ListBlocks(ctx context.Context, in *ListBlocksRequest, opts ...grpc.CallOption) (*ListBlocksResponse, error) { - out := new(ListBlocksResponse) - err := c.cc.Invoke(ctx, "/ethereum.eth.v1alpha1.BeaconChain/ListBlocks", in, out, opts...) - if err != nil { - return nil, err +func (x *ValidatorAssignments_CommitteeAssignment) GetProposerSlots() []github_com_prysmaticlabs_eth2_types.Slot { + if x != nil { + return x.ProposerSlots } - return out, nil + return []github_com_prysmaticlabs_eth2_types.Slot(nil) } -func (c *beaconChainClient) StreamBlocks(ctx context.Context, in *StreamBlocksRequest, opts ...grpc.CallOption) (BeaconChain_StreamBlocksClient, error) { - stream, err := c.cc.NewStream(ctx, &_BeaconChain_serviceDesc.Streams[2], "/ethereum.eth.v1alpha1.BeaconChain/StreamBlocks", opts...) - if err != nil { - return nil, err - } - x := &beaconChainStreamBlocksClient{stream} - if err := x.ClientStream.SendMsg(in); err != nil { - return nil, err - } - if err := x.ClientStream.CloseSend(); err != nil { - return nil, err +// Deprecated: Do not use. +func (x *ValidatorAssignments_CommitteeAssignment) GetPublicKey() []byte { + if x != nil { + return x.PublicKey } - return x, nil + return nil } -type BeaconChain_StreamBlocksClient interface { - Recv() (*SignedBeaconBlock, error) - grpc.ClientStream +func (x *ValidatorAssignments_CommitteeAssignment) GetValidatorIndex() github_com_prysmaticlabs_eth2_types.ValidatorIndex { + if x != nil { + return x.ValidatorIndex + } + return github_com_prysmaticlabs_eth2_types.ValidatorIndex(0) } -type beaconChainStreamBlocksClient struct { - grpc.ClientStream +type IndividualVotesRespond_IndividualVote struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Epoch github_com_prysmaticlabs_eth2_types.Epoch `protobuf:"varint,1,opt,name=epoch,proto3" json:"epoch,omitempty" cast-type:"github.com/prysmaticlabs/eth2-types.Epoch"` + PublicKey []byte `protobuf:"bytes,2,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"` + ValidatorIndex github_com_prysmaticlabs_eth2_types.ValidatorIndex `protobuf:"varint,3,opt,name=validator_index,json=validatorIndex,proto3" json:"validator_index,omitempty" cast-type:"github.com/prysmaticlabs/eth2-types.ValidatorIndex"` + IsSlashed bool `protobuf:"varint,4,opt,name=is_slashed,json=isSlashed,proto3" json:"is_slashed,omitempty"` + IsWithdrawableInCurrentEpoch bool `protobuf:"varint,5,opt,name=is_withdrawable_in_current_epoch,json=isWithdrawableInCurrentEpoch,proto3" json:"is_withdrawable_in_current_epoch,omitempty"` + IsActiveInCurrentEpoch bool `protobuf:"varint,6,opt,name=is_active_in_current_epoch,json=isActiveInCurrentEpoch,proto3" json:"is_active_in_current_epoch,omitempty"` + IsActiveInPreviousEpoch bool `protobuf:"varint,7,opt,name=is_active_in_previous_epoch,json=isActiveInPreviousEpoch,proto3" json:"is_active_in_previous_epoch,omitempty"` + IsCurrentEpochAttester bool `protobuf:"varint,8,opt,name=is_current_epoch_attester,json=isCurrentEpochAttester,proto3" json:"is_current_epoch_attester,omitempty"` + IsCurrentEpochTargetAttester bool `protobuf:"varint,9,opt,name=is_current_epoch_target_attester,json=isCurrentEpochTargetAttester,proto3" json:"is_current_epoch_target_attester,omitempty"` + IsPreviousEpochAttester bool `protobuf:"varint,10,opt,name=is_previous_epoch_attester,json=isPreviousEpochAttester,proto3" json:"is_previous_epoch_attester,omitempty"` + IsPreviousEpochTargetAttester bool `protobuf:"varint,11,opt,name=is_previous_epoch_target_attester,json=isPreviousEpochTargetAttester,proto3" json:"is_previous_epoch_target_attester,omitempty"` + IsPreviousEpochHeadAttester bool `protobuf:"varint,12,opt,name=is_previous_epoch_head_attester,json=isPreviousEpochHeadAttester,proto3" json:"is_previous_epoch_head_attester,omitempty"` + CurrentEpochEffectiveBalanceGwei uint64 `protobuf:"varint,13,opt,name=current_epoch_effective_balance_gwei,json=currentEpochEffectiveBalanceGwei,proto3" json:"current_epoch_effective_balance_gwei,omitempty"` + InclusionSlot github_com_prysmaticlabs_eth2_types.Slot `protobuf:"varint,14,opt,name=inclusion_slot,json=inclusionSlot,proto3" json:"inclusion_slot,omitempty" cast-type:"github.com/prysmaticlabs/eth2-types.Slot"` + InclusionDistance github_com_prysmaticlabs_eth2_types.Slot `protobuf:"varint,15,opt,name=inclusion_distance,json=inclusionDistance,proto3" json:"inclusion_distance,omitempty" cast-type:"github.com/prysmaticlabs/eth2-types.Slot"` } -func (x *beaconChainStreamBlocksClient) Recv() (*SignedBeaconBlock, error) { - m := new(SignedBeaconBlock) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err +func (x *IndividualVotesRespond_IndividualVote) Reset() { + *x = IndividualVotesRespond_IndividualVote{} + if protoimpl.UnsafeEnabled { + mi := &file_eth_v1alpha1_beacon_chain_proto_msgTypes[40] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } - return m, nil } -func (c *beaconChainClient) StreamChainHead(ctx context.Context, in *types.Empty, opts ...grpc.CallOption) (BeaconChain_StreamChainHeadClient, error) { - stream, err := c.cc.NewStream(ctx, &_BeaconChain_serviceDesc.Streams[3], "/ethereum.eth.v1alpha1.BeaconChain/StreamChainHead", opts...) - if err != nil { - return nil, err - } - x := &beaconChainStreamChainHeadClient{stream} - if err := x.ClientStream.SendMsg(in); err != nil { - return nil, err +func (x *IndividualVotesRespond_IndividualVote) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*IndividualVotesRespond_IndividualVote) ProtoMessage() {} + +func (x *IndividualVotesRespond_IndividualVote) ProtoReflect() protoreflect.Message { + mi := &file_eth_v1alpha1_beacon_chain_proto_msgTypes[40] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms } - if err := x.ClientStream.CloseSend(); err != nil { - return nil, err + return mi.MessageOf(x) +} + +// Deprecated: Use IndividualVotesRespond_IndividualVote.ProtoReflect.Descriptor instead. +func (*IndividualVotesRespond_IndividualVote) Descriptor() ([]byte, []int) { + return file_eth_v1alpha1_beacon_chain_proto_rawDescGZIP(), []int{31, 0} +} + +func (x *IndividualVotesRespond_IndividualVote) GetEpoch() github_com_prysmaticlabs_eth2_types.Epoch { + if x != nil { + return x.Epoch } - return x, nil + return github_com_prysmaticlabs_eth2_types.Epoch(0) } -type BeaconChain_StreamChainHeadClient interface { - Recv() (*ChainHead, error) - grpc.ClientStream +func (x *IndividualVotesRespond_IndividualVote) GetPublicKey() []byte { + if x != nil { + return x.PublicKey + } + return nil } -type beaconChainStreamChainHeadClient struct { - grpc.ClientStream +func (x *IndividualVotesRespond_IndividualVote) GetValidatorIndex() github_com_prysmaticlabs_eth2_types.ValidatorIndex { + if x != nil { + return x.ValidatorIndex + } + return github_com_prysmaticlabs_eth2_types.ValidatorIndex(0) } -func (x *beaconChainStreamChainHeadClient) Recv() (*ChainHead, error) { - m := new(ChainHead) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err +func (x *IndividualVotesRespond_IndividualVote) GetIsSlashed() bool { + if x != nil { + return x.IsSlashed } - return m, nil + return false } -func (c *beaconChainClient) GetChainHead(ctx context.Context, in *types.Empty, opts ...grpc.CallOption) (*ChainHead, error) { - out := new(ChainHead) - err := c.cc.Invoke(ctx, "/ethereum.eth.v1alpha1.BeaconChain/GetChainHead", in, out, opts...) - if err != nil { - return nil, err +func (x *IndividualVotesRespond_IndividualVote) GetIsWithdrawableInCurrentEpoch() bool { + if x != nil { + return x.IsWithdrawableInCurrentEpoch } - return out, nil + return false } -func (c *beaconChainClient) GetWeakSubjectivityCheckpoint(ctx context.Context, in *types.Empty, opts ...grpc.CallOption) (*WeakSubjectivityCheckpoint, error) { - out := new(WeakSubjectivityCheckpoint) - err := c.cc.Invoke(ctx, "/ethereum.eth.v1alpha1.BeaconChain/GetWeakSubjectivityCheckpoint", in, out, opts...) - if err != nil { - return nil, err +func (x *IndividualVotesRespond_IndividualVote) GetIsActiveInCurrentEpoch() bool { + if x != nil { + return x.IsActiveInCurrentEpoch } - return out, nil + return false } -func (c *beaconChainClient) ListBeaconCommittees(ctx context.Context, in *ListCommitteesRequest, opts ...grpc.CallOption) (*BeaconCommittees, error) { - out := new(BeaconCommittees) - err := c.cc.Invoke(ctx, "/ethereum.eth.v1alpha1.BeaconChain/ListBeaconCommittees", in, out, opts...) - if err != nil { - return nil, err +func (x *IndividualVotesRespond_IndividualVote) GetIsActiveInPreviousEpoch() bool { + if x != nil { + return x.IsActiveInPreviousEpoch } - return out, nil + return false } -func (c *beaconChainClient) ListValidatorBalances(ctx context.Context, in *ListValidatorBalancesRequest, opts ...grpc.CallOption) (*ValidatorBalances, error) { - out := new(ValidatorBalances) - err := c.cc.Invoke(ctx, "/ethereum.eth.v1alpha1.BeaconChain/ListValidatorBalances", in, out, opts...) - if err != nil { - return nil, err +func (x *IndividualVotesRespond_IndividualVote) GetIsCurrentEpochAttester() bool { + if x != nil { + return x.IsCurrentEpochAttester } - return out, nil + return false } -func (c *beaconChainClient) ListValidators(ctx context.Context, in *ListValidatorsRequest, opts ...grpc.CallOption) (*Validators, error) { - out := new(Validators) - err := c.cc.Invoke(ctx, "/ethereum.eth.v1alpha1.BeaconChain/ListValidators", in, out, opts...) - if err != nil { - return nil, err +func (x *IndividualVotesRespond_IndividualVote) GetIsCurrentEpochTargetAttester() bool { + if x != nil { + return x.IsCurrentEpochTargetAttester } - return out, nil + return false } -func (c *beaconChainClient) GetValidator(ctx context.Context, in *GetValidatorRequest, opts ...grpc.CallOption) (*Validator, error) { - out := new(Validator) - err := c.cc.Invoke(ctx, "/ethereum.eth.v1alpha1.BeaconChain/GetValidator", in, out, opts...) - if err != nil { - return nil, err +func (x *IndividualVotesRespond_IndividualVote) GetIsPreviousEpochAttester() bool { + if x != nil { + return x.IsPreviousEpochAttester } - return out, nil + return false } -func (c *beaconChainClient) GetValidatorActiveSetChanges(ctx context.Context, in *GetValidatorActiveSetChangesRequest, opts ...grpc.CallOption) (*ActiveSetChanges, error) { - out := new(ActiveSetChanges) - err := c.cc.Invoke(ctx, "/ethereum.eth.v1alpha1.BeaconChain/GetValidatorActiveSetChanges", in, out, opts...) - if err != nil { - return nil, err +func (x *IndividualVotesRespond_IndividualVote) GetIsPreviousEpochTargetAttester() bool { + if x != nil { + return x.IsPreviousEpochTargetAttester } - return out, nil + return false } -func (c *beaconChainClient) GetValidatorQueue(ctx context.Context, in *types.Empty, opts ...grpc.CallOption) (*ValidatorQueue, error) { - out := new(ValidatorQueue) - err := c.cc.Invoke(ctx, "/ethereum.eth.v1alpha1.BeaconChain/GetValidatorQueue", in, out, opts...) - if err != nil { - return nil, err +func (x *IndividualVotesRespond_IndividualVote) GetIsPreviousEpochHeadAttester() bool { + if x != nil { + return x.IsPreviousEpochHeadAttester } - return out, nil + return false } -func (c *beaconChainClient) GetValidatorPerformance(ctx context.Context, in *ValidatorPerformanceRequest, opts ...grpc.CallOption) (*ValidatorPerformanceResponse, error) { - out := new(ValidatorPerformanceResponse) - err := c.cc.Invoke(ctx, "/ethereum.eth.v1alpha1.BeaconChain/GetValidatorPerformance", in, out, opts...) - if err != nil { - return nil, err +func (x *IndividualVotesRespond_IndividualVote) GetCurrentEpochEffectiveBalanceGwei() uint64 { + if x != nil { + return x.CurrentEpochEffectiveBalanceGwei } - return out, nil + return 0 } -func (c *beaconChainClient) ListValidatorAssignments(ctx context.Context, in *ListValidatorAssignmentsRequest, opts ...grpc.CallOption) (*ValidatorAssignments, error) { - out := new(ValidatorAssignments) - err := c.cc.Invoke(ctx, "/ethereum.eth.v1alpha1.BeaconChain/ListValidatorAssignments", in, out, opts...) - if err != nil { - return nil, err +func (x *IndividualVotesRespond_IndividualVote) GetInclusionSlot() github_com_prysmaticlabs_eth2_types.Slot { + if x != nil { + return x.InclusionSlot + } + return github_com_prysmaticlabs_eth2_types.Slot(0) +} + +func (x *IndividualVotesRespond_IndividualVote) GetInclusionDistance() github_com_prysmaticlabs_eth2_types.Slot { + if x != nil { + return x.InclusionDistance + } + return github_com_prysmaticlabs_eth2_types.Slot(0) +} + +var File_eth_v1alpha1_beacon_chain_proto protoreflect.FileDescriptor + +var file_eth_v1alpha1_beacon_chain_proto_rawDesc = []byte{ + 0x0a, 0x1f, 0x65, 0x74, 0x68, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2f, 0x62, + 0x65, 0x61, 0x63, 0x6f, 0x6e, 0x5f, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x12, 0x15, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, + 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 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, 0x1a, 0x15, 0x65, 0x74, 0x68, 0x2f, 0x65, 0x78, 0x74, 0x2f, 0x6f, 0x70, 0x74, + 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 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, 0x65, 0x74, 0x68, + 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, + 0x74, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x6f, 0x0a, 0x12, 0x56, 0x61, 0x6c, + 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x53, 0x65, 0x74, 0x12, + 0x38, 0x0a, 0x06, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, + 0x20, 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, + 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x53, 0x65, 0x74, 0x41, 0x63, 0x74, 0x69, 0x6f, + 0x6e, 0x52, 0x06, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1f, 0x0a, 0x0b, 0x70, 0x75, 0x62, + 0x6c, 0x69, 0x63, 0x5f, 0x6b, 0x65, 0x79, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x0a, + 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4b, 0x65, 0x79, 0x73, 0x22, 0xda, 0x01, 0x0a, 0x1e, 0x4c, + 0x69, 0x73, 0x74, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x65, 0x64, 0x41, 0x74, 0x74, 0x65, 0x73, 0x74, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x45, 0x0a, + 0x05, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x42, 0x2d, 0x82, 0xb5, + 0x18, 0x29, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x72, 0x79, + 0x73, 0x6d, 0x61, 0x74, 0x69, 0x63, 0x6c, 0x61, 0x62, 0x73, 0x2f, 0x65, 0x74, 0x68, 0x32, 0x2d, + 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x45, 0x70, 0x6f, 0x63, 0x68, 0x48, 0x00, 0x52, 0x05, 0x65, + 0x70, 0x6f, 0x63, 0x68, 0x12, 0x25, 0x0a, 0x0d, 0x67, 0x65, 0x6e, 0x65, 0x73, 0x69, 0x73, 0x5f, + 0x65, 0x70, 0x6f, 0x63, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x48, 0x00, 0x52, 0x0c, 0x67, + 0x65, 0x6e, 0x65, 0x73, 0x69, 0x73, 0x45, 0x70, 0x6f, 0x63, 0x68, 0x12, 0x1b, 0x0a, 0x09, 0x70, + 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, + 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, + 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, + 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x42, 0x0e, 0x0a, 0x0c, 0x71, 0x75, 0x65, 0x72, 0x79, + 0x5f, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x22, 0xd3, 0x01, 0x0a, 0x17, 0x4c, 0x69, 0x73, 0x74, + 0x41, 0x74, 0x74, 0x65, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x12, 0x45, 0x0a, 0x05, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x04, 0x42, 0x2d, 0x82, 0xb5, 0x18, 0x29, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, + 0x6f, 0x6d, 0x2f, 0x70, 0x72, 0x79, 0x73, 0x6d, 0x61, 0x74, 0x69, 0x63, 0x6c, 0x61, 0x62, 0x73, + 0x2f, 0x65, 0x74, 0x68, 0x32, 0x2d, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x45, 0x70, 0x6f, 0x63, + 0x68, 0x48, 0x00, 0x52, 0x05, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x12, 0x25, 0x0a, 0x0d, 0x67, 0x65, + 0x6e, 0x65, 0x73, 0x69, 0x73, 0x5f, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x08, 0x48, 0x00, 0x52, 0x0c, 0x67, 0x65, 0x6e, 0x65, 0x73, 0x69, 0x73, 0x45, 0x70, 0x6f, 0x63, + 0x68, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x1d, + 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x04, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x42, 0x0e, 0x0a, + 0x0c, 0x71, 0x75, 0x65, 0x72, 0x79, 0x5f, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x22, 0xa9, 0x01, + 0x0a, 0x18, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x74, 0x74, 0x65, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x46, 0x0a, 0x0c, 0x61, 0x74, + 0x74, 0x65, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 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, 0x41, 0x74, 0x74, 0x65, 0x73, 0x74, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0c, 0x61, 0x74, 0x74, 0x65, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, + 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78, + 0x74, 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x1d, 0x0a, 0x0a, 0x74, 0x6f, + 0x74, 0x61, 0x6c, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, + 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x53, 0x69, 0x7a, 0x65, 0x22, 0xc6, 0x01, 0x0a, 0x1f, 0x4c, 0x69, + 0x73, 0x74, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x65, 0x64, 0x41, 0x74, 0x74, 0x65, 0x73, 0x74, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5c, 0x0a, + 0x14, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x74, 0x65, 0x73, 0x74, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x65, 0x74, + 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, + 0x68, 0x61, 0x31, 0x2e, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x65, 0x64, 0x41, 0x74, 0x74, 0x65, 0x73, + 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x13, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x65, 0x64, 0x41, + 0x74, 0x74, 0x65, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6e, + 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, + 0x6b, 0x65, 0x6e, 0x12, 0x1d, 0x0a, 0x0a, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x73, 0x69, 0x7a, + 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x53, 0x69, + 0x7a, 0x65, 0x22, 0x9c, 0x02, 0x0a, 0x11, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, + 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x14, 0x0a, 0x04, 0x72, 0x6f, 0x6f, 0x74, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x48, 0x00, 0x52, 0x04, 0x72, 0x6f, 0x6f, 0x74, 0x12, 0x42, + 0x0a, 0x04, 0x73, 0x6c, 0x6f, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x42, 0x2c, 0x82, 0xb5, + 0x18, 0x28, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x72, 0x79, + 0x73, 0x6d, 0x61, 0x74, 0x69, 0x63, 0x6c, 0x61, 0x62, 0x73, 0x2f, 0x65, 0x74, 0x68, 0x32, 0x2d, + 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x53, 0x6c, 0x6f, 0x74, 0x48, 0x00, 0x52, 0x04, 0x73, 0x6c, + 0x6f, 0x74, 0x12, 0x45, 0x0a, 0x05, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x04, 0x42, 0x2d, 0x82, 0xb5, 0x18, 0x29, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, + 0x6d, 0x2f, 0x70, 0x72, 0x79, 0x73, 0x6d, 0x61, 0x74, 0x69, 0x63, 0x6c, 0x61, 0x62, 0x73, 0x2f, + 0x65, 0x74, 0x68, 0x32, 0x2d, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x45, 0x70, 0x6f, 0x63, 0x68, + 0x48, 0x00, 0x52, 0x05, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x12, 0x1a, 0x0a, 0x07, 0x67, 0x65, 0x6e, + 0x65, 0x73, 0x69, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x48, 0x00, 0x52, 0x07, 0x67, 0x65, + 0x6e, 0x65, 0x73, 0x69, 0x73, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, + 0x7a, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, + 0x7a, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, + 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, + 0x6e, 0x42, 0x0e, 0x0a, 0x0c, 0x71, 0x75, 0x65, 0x72, 0x79, 0x5f, 0x66, 0x69, 0x6c, 0x74, 0x65, + 0x72, 0x22, 0xb2, 0x01, 0x0a, 0x12, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x73, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x55, 0x0a, 0x0f, 0x62, 0x6c, 0x6f, 0x63, + 0x6b, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, + 0x0b, 0x32, 0x2b, 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, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x52, 0x0f, + 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x73, 0x12, + 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, + 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, + 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x1d, 0x0a, 0x0a, 0x74, 0x6f, 0x74, 0x61, 0x6c, + 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x74, 0x6f, 0x74, + 0x61, 0x6c, 0x53, 0x69, 0x7a, 0x65, 0x22, 0x3a, 0x0a, 0x13, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, + 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x23, 0x0a, + 0x0d, 0x76, 0x65, 0x72, 0x69, 0x66, 0x69, 0x65, 0x64, 0x5f, 0x6f, 0x6e, 0x6c, 0x79, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x76, 0x65, 0x72, 0x69, 0x66, 0x69, 0x65, 0x64, 0x4f, 0x6e, + 0x6c, 0x79, 0x22, 0x93, 0x01, 0x0a, 0x14, 0x42, 0x65, 0x61, 0x63, 0x6f, 0x6e, 0x42, 0x6c, 0x6f, + 0x63, 0x6b, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x12, 0x3e, 0x0a, 0x05, 0x62, + 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x65, 0x74, 0x68, + 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, + 0x61, 0x31, 0x2e, 0x53, 0x69, 0x67, 0x6e, 0x65, 0x64, 0x42, 0x65, 0x61, 0x63, 0x6f, 0x6e, 0x42, + 0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x05, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x1d, 0x0a, 0x0a, 0x62, + 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x72, 0x6f, 0x6f, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, + 0x09, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x6f, 0x6f, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x61, + 0x6e, 0x6f, 0x6e, 0x69, 0x63, 0x61, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x63, + 0x61, 0x6e, 0x6f, 0x6e, 0x69, 0x63, 0x61, 0x6c, 0x22, 0xbc, 0x07, 0x0a, 0x09, 0x43, 0x68, 0x61, + 0x69, 0x6e, 0x48, 0x65, 0x61, 0x64, 0x12, 0x49, 0x0a, 0x09, 0x68, 0x65, 0x61, 0x64, 0x5f, 0x73, + 0x6c, 0x6f, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x42, 0x2c, 0x82, 0xb5, 0x18, 0x28, 0x67, + 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x72, 0x79, 0x73, 0x6d, 0x61, + 0x74, 0x69, 0x63, 0x6c, 0x61, 0x62, 0x73, 0x2f, 0x65, 0x74, 0x68, 0x32, 0x2d, 0x74, 0x79, 0x70, + 0x65, 0x73, 0x2e, 0x53, 0x6c, 0x6f, 0x74, 0x52, 0x08, 0x68, 0x65, 0x61, 0x64, 0x53, 0x6c, 0x6f, + 0x74, 0x12, 0x4c, 0x0a, 0x0a, 0x68, 0x65, 0x61, 0x64, 0x5f, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x04, 0x42, 0x2d, 0x82, 0xb5, 0x18, 0x29, 0x67, 0x69, 0x74, 0x68, 0x75, + 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x72, 0x79, 0x73, 0x6d, 0x61, 0x74, 0x69, 0x63, 0x6c, + 0x61, 0x62, 0x73, 0x2f, 0x65, 0x74, 0x68, 0x32, 0x2d, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x45, + 0x70, 0x6f, 0x63, 0x68, 0x52, 0x09, 0x68, 0x65, 0x61, 0x64, 0x45, 0x70, 0x6f, 0x63, 0x68, 0x12, + 0x2e, 0x0a, 0x0f, 0x68, 0x65, 0x61, 0x64, 0x5f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x72, 0x6f, + 0x6f, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x42, 0x06, 0x8a, 0xb5, 0x18, 0x02, 0x33, 0x32, + 0x52, 0x0d, 0x68, 0x65, 0x61, 0x64, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x6f, 0x6f, 0x74, 0x12, + 0x53, 0x0a, 0x0e, 0x66, 0x69, 0x6e, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x64, 0x5f, 0x73, 0x6c, 0x6f, + 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 0x42, 0x2c, 0x82, 0xb5, 0x18, 0x28, 0x67, 0x69, 0x74, + 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x72, 0x79, 0x73, 0x6d, 0x61, 0x74, 0x69, + 0x63, 0x6c, 0x61, 0x62, 0x73, 0x2f, 0x65, 0x74, 0x68, 0x32, 0x2d, 0x74, 0x79, 0x70, 0x65, 0x73, + 0x2e, 0x53, 0x6c, 0x6f, 0x74, 0x52, 0x0d, 0x66, 0x69, 0x6e, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x64, + 0x53, 0x6c, 0x6f, 0x74, 0x12, 0x56, 0x0a, 0x0f, 0x66, 0x69, 0x6e, 0x61, 0x6c, 0x69, 0x7a, 0x65, + 0x64, 0x5f, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x18, 0x05, 0x20, 0x01, 0x28, 0x04, 0x42, 0x2d, 0x82, + 0xb5, 0x18, 0x29, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x72, + 0x79, 0x73, 0x6d, 0x61, 0x74, 0x69, 0x63, 0x6c, 0x61, 0x62, 0x73, 0x2f, 0x65, 0x74, 0x68, 0x32, + 0x2d, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x45, 0x70, 0x6f, 0x63, 0x68, 0x52, 0x0e, 0x66, 0x69, + 0x6e, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x64, 0x45, 0x70, 0x6f, 0x63, 0x68, 0x12, 0x38, 0x0a, 0x14, + 0x66, 0x69, 0x6e, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x64, 0x5f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, + 0x72, 0x6f, 0x6f, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0c, 0x42, 0x06, 0x8a, 0xb5, 0x18, 0x02, + 0x33, 0x32, 0x52, 0x12, 0x66, 0x69, 0x6e, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x64, 0x42, 0x6c, 0x6f, + 0x63, 0x6b, 0x52, 0x6f, 0x6f, 0x74, 0x12, 0x53, 0x0a, 0x0e, 0x6a, 0x75, 0x73, 0x74, 0x69, 0x66, + 0x69, 0x65, 0x64, 0x5f, 0x73, 0x6c, 0x6f, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x04, 0x42, 0x2c, + 0x82, 0xb5, 0x18, 0x28, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, + 0x72, 0x79, 0x73, 0x6d, 0x61, 0x74, 0x69, 0x63, 0x6c, 0x61, 0x62, 0x73, 0x2f, 0x65, 0x74, 0x68, + 0x32, 0x2d, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x53, 0x6c, 0x6f, 0x74, 0x52, 0x0d, 0x6a, 0x75, + 0x73, 0x74, 0x69, 0x66, 0x69, 0x65, 0x64, 0x53, 0x6c, 0x6f, 0x74, 0x12, 0x56, 0x0a, 0x0f, 0x6a, + 0x75, 0x73, 0x74, 0x69, 0x66, 0x69, 0x65, 0x64, 0x5f, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x18, 0x08, + 0x20, 0x01, 0x28, 0x04, 0x42, 0x2d, 0x82, 0xb5, 0x18, 0x29, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, + 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x72, 0x79, 0x73, 0x6d, 0x61, 0x74, 0x69, 0x63, 0x6c, 0x61, + 0x62, 0x73, 0x2f, 0x65, 0x74, 0x68, 0x32, 0x2d, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x45, 0x70, + 0x6f, 0x63, 0x68, 0x52, 0x0e, 0x6a, 0x75, 0x73, 0x74, 0x69, 0x66, 0x69, 0x65, 0x64, 0x45, 0x70, + 0x6f, 0x63, 0x68, 0x12, 0x38, 0x0a, 0x14, 0x6a, 0x75, 0x73, 0x74, 0x69, 0x66, 0x69, 0x65, 0x64, + 0x5f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x72, 0x6f, 0x6f, 0x74, 0x18, 0x09, 0x20, 0x01, 0x28, + 0x0c, 0x42, 0x06, 0x8a, 0xb5, 0x18, 0x02, 0x33, 0x32, 0x52, 0x12, 0x6a, 0x75, 0x73, 0x74, 0x69, + 0x66, 0x69, 0x65, 0x64, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x6f, 0x6f, 0x74, 0x12, 0x64, 0x0a, + 0x17, 0x70, 0x72, 0x65, 0x76, 0x69, 0x6f, 0x75, 0x73, 0x5f, 0x6a, 0x75, 0x73, 0x74, 0x69, 0x66, + 0x69, 0x65, 0x64, 0x5f, 0x73, 0x6c, 0x6f, 0x74, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x04, 0x42, 0x2c, + 0x82, 0xb5, 0x18, 0x28, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, + 0x72, 0x79, 0x73, 0x6d, 0x61, 0x74, 0x69, 0x63, 0x6c, 0x61, 0x62, 0x73, 0x2f, 0x65, 0x74, 0x68, + 0x32, 0x2d, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x53, 0x6c, 0x6f, 0x74, 0x52, 0x15, 0x70, 0x72, + 0x65, 0x76, 0x69, 0x6f, 0x75, 0x73, 0x4a, 0x75, 0x73, 0x74, 0x69, 0x66, 0x69, 0x65, 0x64, 0x53, + 0x6c, 0x6f, 0x74, 0x12, 0x67, 0x0a, 0x18, 0x70, 0x72, 0x65, 0x76, 0x69, 0x6f, 0x75, 0x73, 0x5f, + 0x6a, 0x75, 0x73, 0x74, 0x69, 0x66, 0x69, 0x65, 0x64, 0x5f, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x18, + 0x0b, 0x20, 0x01, 0x28, 0x04, 0x42, 0x2d, 0x82, 0xb5, 0x18, 0x29, 0x67, 0x69, 0x74, 0x68, 0x75, + 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x72, 0x79, 0x73, 0x6d, 0x61, 0x74, 0x69, 0x63, 0x6c, + 0x61, 0x62, 0x73, 0x2f, 0x65, 0x74, 0x68, 0x32, 0x2d, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x45, + 0x70, 0x6f, 0x63, 0x68, 0x52, 0x16, 0x70, 0x72, 0x65, 0x76, 0x69, 0x6f, 0x75, 0x73, 0x4a, 0x75, + 0x73, 0x74, 0x69, 0x66, 0x69, 0x65, 0x64, 0x45, 0x70, 0x6f, 0x63, 0x68, 0x12, 0x49, 0x0a, 0x1d, + 0x70, 0x72, 0x65, 0x76, 0x69, 0x6f, 0x75, 0x73, 0x5f, 0x6a, 0x75, 0x73, 0x74, 0x69, 0x66, 0x69, + 0x65, 0x64, 0x5f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x72, 0x6f, 0x6f, 0x74, 0x18, 0x0c, 0x20, + 0x01, 0x28, 0x0c, 0x42, 0x06, 0x8a, 0xb5, 0x18, 0x02, 0x33, 0x32, 0x52, 0x1a, 0x70, 0x72, 0x65, + 0x76, 0x69, 0x6f, 0x75, 0x73, 0x4a, 0x75, 0x73, 0x74, 0x69, 0x66, 0x69, 0x65, 0x64, 0x42, 0x6c, + 0x6f, 0x63, 0x6b, 0x52, 0x6f, 0x6f, 0x74, 0x22, 0x8a, 0x01, 0x0a, 0x15, 0x4c, 0x69, 0x73, 0x74, + 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x74, 0x65, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x12, 0x45, 0x0a, 0x05, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, + 0x42, 0x2d, 0x82, 0xb5, 0x18, 0x29, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, + 0x2f, 0x70, 0x72, 0x79, 0x73, 0x6d, 0x61, 0x74, 0x69, 0x63, 0x6c, 0x61, 0x62, 0x73, 0x2f, 0x65, + 0x74, 0x68, 0x32, 0x2d, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x45, 0x70, 0x6f, 0x63, 0x68, 0x48, + 0x00, 0x52, 0x05, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x12, 0x1a, 0x0a, 0x07, 0x67, 0x65, 0x6e, 0x65, + 0x73, 0x69, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x48, 0x00, 0x52, 0x07, 0x67, 0x65, 0x6e, + 0x65, 0x73, 0x69, 0x73, 0x42, 0x0e, 0x0a, 0x0c, 0x71, 0x75, 0x65, 0x72, 0x79, 0x5f, 0x66, 0x69, + 0x6c, 0x74, 0x65, 0x72, 0x22, 0xbc, 0x04, 0x0a, 0x10, 0x42, 0x65, 0x61, 0x63, 0x6f, 0x6e, 0x43, + 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x74, 0x65, 0x65, 0x73, 0x12, 0x43, 0x0a, 0x05, 0x65, 0x70, 0x6f, + 0x63, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x42, 0x2d, 0x82, 0xb5, 0x18, 0x29, 0x67, 0x69, + 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x72, 0x79, 0x73, 0x6d, 0x61, 0x74, + 0x69, 0x63, 0x6c, 0x61, 0x62, 0x73, 0x2f, 0x65, 0x74, 0x68, 0x32, 0x2d, 0x74, 0x79, 0x70, 0x65, + 0x73, 0x2e, 0x45, 0x70, 0x6f, 0x63, 0x68, 0x52, 0x05, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x12, 0x57, + 0x0a, 0x0a, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x74, 0x65, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, + 0x28, 0x0b, 0x32, 0x37, 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, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x74, 0x65, 0x65, 0x73, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, + 0x69, 0x74, 0x74, 0x65, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0a, 0x63, 0x6f, 0x6d, + 0x6d, 0x69, 0x74, 0x74, 0x65, 0x65, 0x73, 0x12, 0x34, 0x0a, 0x16, 0x61, 0x63, 0x74, 0x69, 0x76, + 0x65, 0x5f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x5f, 0x63, 0x6f, 0x75, 0x6e, + 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x14, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x56, + 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x1a, 0x74, 0x0a, + 0x0d, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x74, 0x65, 0x65, 0x49, 0x74, 0x65, 0x6d, 0x12, 0x63, + 0x0a, 0x11, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x5f, 0x69, 0x6e, 0x64, 0x69, + 0x63, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x04, 0x42, 0x36, 0x82, 0xb5, 0x18, 0x32, 0x67, + 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x72, 0x79, 0x73, 0x6d, 0x61, + 0x74, 0x69, 0x63, 0x6c, 0x61, 0x62, 0x73, 0x2f, 0x65, 0x74, 0x68, 0x32, 0x2d, 0x74, 0x79, 0x70, + 0x65, 0x73, 0x2e, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x49, 0x6e, 0x64, 0x65, + 0x78, 0x52, 0x10, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x49, 0x6e, 0x64, 0x69, + 0x63, 0x65, 0x73, 0x1a, 0x67, 0x0a, 0x0e, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x74, 0x65, 0x65, + 0x73, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x55, 0x0a, 0x0a, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x74, + 0x65, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x35, 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, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x74, 0x65, + 0x65, 0x73, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x74, 0x65, 0x65, 0x49, 0x74, 0x65, 0x6d, + 0x52, 0x0a, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x74, 0x65, 0x65, 0x73, 0x1a, 0x75, 0x0a, 0x0f, + 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x74, 0x65, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, + 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x03, 0x6b, 0x65, + 0x79, 0x12, 0x4c, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x36, 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, 0x43, + 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x74, 0x65, 0x65, 0x73, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, + 0x74, 0x65, 0x65, 0x73, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, + 0x02, 0x38, 0x01, 0x22, 0xca, 0x02, 0x0a, 0x1c, 0x4c, 0x69, 0x73, 0x74, 0x56, 0x61, 0x6c, 0x69, + 0x64, 0x61, 0x74, 0x6f, 0x72, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x12, 0x45, 0x0a, 0x05, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x04, 0x42, 0x2d, 0x82, 0xb5, 0x18, 0x29, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, + 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x72, 0x79, 0x73, 0x6d, 0x61, 0x74, 0x69, 0x63, 0x6c, 0x61, 0x62, + 0x73, 0x2f, 0x65, 0x74, 0x68, 0x32, 0x2d, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x45, 0x70, 0x6f, + 0x63, 0x68, 0x48, 0x00, 0x52, 0x05, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x12, 0x1a, 0x0a, 0x07, 0x67, + 0x65, 0x6e, 0x65, 0x73, 0x69, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x48, 0x00, 0x52, 0x07, + 0x67, 0x65, 0x6e, 0x65, 0x73, 0x69, 0x73, 0x12, 0x29, 0x0a, 0x0b, 0x70, 0x75, 0x62, 0x6c, 0x69, + 0x63, 0x5f, 0x6b, 0x65, 0x79, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0c, 0x42, 0x08, 0x8a, 0xb5, + 0x18, 0x04, 0x3f, 0x2c, 0x34, 0x38, 0x52, 0x0a, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4b, 0x65, + 0x79, 0x73, 0x12, 0x50, 0x0a, 0x07, 0x69, 0x6e, 0x64, 0x69, 0x63, 0x65, 0x73, 0x18, 0x04, 0x20, + 0x03, 0x28, 0x04, 0x42, 0x36, 0x82, 0xb5, 0x18, 0x32, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, + 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x72, 0x79, 0x73, 0x6d, 0x61, 0x74, 0x69, 0x63, 0x6c, 0x61, 0x62, + 0x73, 0x2f, 0x65, 0x74, 0x68, 0x32, 0x2d, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x56, 0x61, 0x6c, + 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x52, 0x07, 0x69, 0x6e, 0x64, + 0x69, 0x63, 0x65, 0x73, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, + 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, + 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, + 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, + 0x42, 0x0e, 0x0a, 0x0c, 0x71, 0x75, 0x65, 0x72, 0x79, 0x5f, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, + 0x22, 0xa0, 0x03, 0x0a, 0x11, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x42, 0x61, + 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x12, 0x43, 0x0a, 0x05, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x04, 0x42, 0x2d, 0x82, 0xb5, 0x18, 0x29, 0x67, 0x69, 0x74, 0x68, 0x75, + 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x72, 0x79, 0x73, 0x6d, 0x61, 0x74, 0x69, 0x63, 0x6c, + 0x61, 0x62, 0x73, 0x2f, 0x65, 0x74, 0x68, 0x32, 0x2d, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x45, + 0x70, 0x6f, 0x63, 0x68, 0x52, 0x05, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x12, 0x4c, 0x0a, 0x08, 0x62, + 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x30, 0x2e, + 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x61, + 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x42, + 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x2e, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x52, + 0x08, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78, + 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x03, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, + 0x6e, 0x12, 0x1d, 0x0a, 0x0a, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, + 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x53, 0x69, 0x7a, 0x65, + 0x1a, 0xb0, 0x01, 0x0a, 0x07, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x25, 0x0a, 0x0a, + 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, + 0x42, 0x06, 0x8a, 0xb5, 0x18, 0x02, 0x34, 0x38, 0x52, 0x09, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, + 0x4b, 0x65, 0x79, 0x12, 0x4c, 0x0a, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x04, 0x42, 0x36, 0x82, 0xb5, 0x18, 0x32, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, + 0x6f, 0x6d, 0x2f, 0x70, 0x72, 0x79, 0x73, 0x6d, 0x61, 0x74, 0x69, 0x63, 0x6c, 0x61, 0x62, 0x73, + 0x2f, 0x65, 0x74, 0x68, 0x32, 0x2d, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x56, 0x61, 0x6c, 0x69, + 0x64, 0x61, 0x74, 0x6f, 0x72, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x52, 0x05, 0x69, 0x6e, 0x64, 0x65, + 0x78, 0x12, 0x18, 0x0a, 0x07, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x03, 0x20, 0x01, + 0x28, 0x04, 0x52, 0x07, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x73, + 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x74, 0x61, + 0x74, 0x75, 0x73, 0x22, 0xd1, 0x02, 0x0a, 0x15, 0x4c, 0x69, 0x73, 0x74, 0x56, 0x61, 0x6c, 0x69, + 0x64, 0x61, 0x74, 0x6f, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x45, 0x0a, + 0x05, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x42, 0x2d, 0x82, 0xb5, + 0x18, 0x29, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x72, 0x79, + 0x73, 0x6d, 0x61, 0x74, 0x69, 0x63, 0x6c, 0x61, 0x62, 0x73, 0x2f, 0x65, 0x74, 0x68, 0x32, 0x2d, + 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x45, 0x70, 0x6f, 0x63, 0x68, 0x48, 0x00, 0x52, 0x05, 0x65, + 0x70, 0x6f, 0x63, 0x68, 0x12, 0x1a, 0x0a, 0x07, 0x67, 0x65, 0x6e, 0x65, 0x73, 0x69, 0x73, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x08, 0x48, 0x00, 0x52, 0x07, 0x67, 0x65, 0x6e, 0x65, 0x73, 0x69, 0x73, + 0x12, 0x16, 0x0a, 0x06, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, + 0x52, 0x06, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, + 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x61, 0x67, + 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, + 0x6b, 0x65, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x54, + 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x1f, 0x0a, 0x0b, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x5f, 0x6b, + 0x65, 0x79, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x0a, 0x70, 0x75, 0x62, 0x6c, 0x69, + 0x63, 0x4b, 0x65, 0x79, 0x73, 0x12, 0x50, 0x0a, 0x07, 0x69, 0x6e, 0x64, 0x69, 0x63, 0x65, 0x73, + 0x18, 0x07, 0x20, 0x03, 0x28, 0x04, 0x42, 0x36, 0x82, 0xb5, 0x18, 0x32, 0x67, 0x69, 0x74, 0x68, + 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x72, 0x79, 0x73, 0x6d, 0x61, 0x74, 0x69, 0x63, + 0x6c, 0x61, 0x62, 0x73, 0x2f, 0x65, 0x74, 0x68, 0x32, 0x2d, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, + 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x52, 0x07, + 0x69, 0x6e, 0x64, 0x69, 0x63, 0x65, 0x73, 0x42, 0x0e, 0x0a, 0x0c, 0x71, 0x75, 0x65, 0x72, 0x79, + 0x5f, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x22, 0x9e, 0x01, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x56, + 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, + 0x4e, 0x0a, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x42, 0x36, + 0x82, 0xb5, 0x18, 0x32, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, + 0x72, 0x79, 0x73, 0x6d, 0x61, 0x74, 0x69, 0x63, 0x6c, 0x61, 0x62, 0x73, 0x2f, 0x65, 0x74, 0x68, + 0x32, 0x2d, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, + 0x72, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x48, 0x00, 0x52, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x12, + 0x27, 0x0a, 0x0a, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x0c, 0x42, 0x06, 0x8a, 0xb5, 0x18, 0x02, 0x34, 0x38, 0x48, 0x00, 0x52, 0x09, 0x70, + 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4b, 0x65, 0x79, 0x42, 0x0e, 0x0a, 0x0c, 0x71, 0x75, 0x65, 0x72, + 0x79, 0x5f, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x22, 0x9a, 0x03, 0x0a, 0x0a, 0x56, 0x61, 0x6c, + 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x73, 0x12, 0x43, 0x0a, 0x05, 0x65, 0x70, 0x6f, 0x63, 0x68, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x42, 0x2d, 0x82, 0xb5, 0x18, 0x29, 0x67, 0x69, 0x74, 0x68, + 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x72, 0x79, 0x73, 0x6d, 0x61, 0x74, 0x69, 0x63, + 0x6c, 0x61, 0x62, 0x73, 0x2f, 0x65, 0x74, 0x68, 0x32, 0x2d, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, + 0x45, 0x70, 0x6f, 0x63, 0x68, 0x52, 0x05, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x12, 0x5b, 0x0a, 0x0e, + 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x02, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x34, 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, + 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x56, 0x61, 0x6c, + 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x73, 0x2e, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, + 0x72, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x52, 0x0d, 0x76, 0x61, 0x6c, 0x69, + 0x64, 0x61, 0x74, 0x6f, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78, + 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x03, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, + 0x6e, 0x12, 0x1d, 0x0a, 0x0a, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, + 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x53, 0x69, 0x7a, 0x65, + 0x1a, 0xa2, 0x01, 0x0a, 0x12, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x43, 0x6f, + 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x12, 0x4c, 0x0a, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x42, 0x36, 0x82, 0xb5, 0x18, 0x32, 0x67, 0x69, 0x74, 0x68, + 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x72, 0x79, 0x73, 0x6d, 0x61, 0x74, 0x69, 0x63, + 0x6c, 0x61, 0x62, 0x73, 0x2f, 0x65, 0x74, 0x68, 0x32, 0x2d, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, + 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x52, 0x05, + 0x69, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x3e, 0x0a, 0x09, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, + 0x6f, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, + 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, + 0x2e, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x52, 0x09, 0x76, 0x61, 0x6c, 0x69, + 0x64, 0x61, 0x74, 0x6f, 0x72, 0x22, 0x98, 0x01, 0x0a, 0x23, 0x47, 0x65, 0x74, 0x56, 0x61, 0x6c, + 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x41, 0x63, 0x74, 0x69, 0x76, 0x65, 0x53, 0x65, 0x74, 0x43, + 0x68, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x45, 0x0a, + 0x05, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x42, 0x2d, 0x82, 0xb5, + 0x18, 0x29, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x72, 0x79, + 0x73, 0x6d, 0x61, 0x74, 0x69, 0x63, 0x6c, 0x61, 0x62, 0x73, 0x2f, 0x65, 0x74, 0x68, 0x32, 0x2d, + 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x45, 0x70, 0x6f, 0x63, 0x68, 0x48, 0x00, 0x52, 0x05, 0x65, + 0x70, 0x6f, 0x63, 0x68, 0x12, 0x1a, 0x0a, 0x07, 0x67, 0x65, 0x6e, 0x65, 0x73, 0x69, 0x73, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x08, 0x48, 0x00, 0x52, 0x07, 0x67, 0x65, 0x6e, 0x65, 0x73, 0x69, 0x73, + 0x42, 0x0e, 0x0a, 0x0c, 0x71, 0x75, 0x65, 0x72, 0x79, 0x5f, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, + 0x22, 0xc7, 0x05, 0x0a, 0x10, 0x41, 0x63, 0x74, 0x69, 0x76, 0x65, 0x53, 0x65, 0x74, 0x43, 0x68, + 0x61, 0x6e, 0x67, 0x65, 0x73, 0x12, 0x43, 0x0a, 0x05, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x04, 0x42, 0x2d, 0x82, 0xb5, 0x18, 0x29, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, + 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x72, 0x79, 0x73, 0x6d, 0x61, 0x74, 0x69, 0x63, 0x6c, 0x61, + 0x62, 0x73, 0x2f, 0x65, 0x74, 0x68, 0x32, 0x2d, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x45, 0x70, + 0x6f, 0x63, 0x68, 0x52, 0x05, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x12, 0x3c, 0x0a, 0x15, 0x61, 0x63, + 0x74, 0x69, 0x76, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x5f, 0x6b, + 0x65, 0x79, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0c, 0x42, 0x08, 0x8a, 0xb5, 0x18, 0x04, 0x3f, + 0x2c, 0x34, 0x38, 0x52, 0x13, 0x61, 0x63, 0x74, 0x69, 0x76, 0x61, 0x74, 0x65, 0x64, 0x50, 0x75, + 0x62, 0x6c, 0x69, 0x63, 0x4b, 0x65, 0x79, 0x73, 0x12, 0x63, 0x0a, 0x11, 0x61, 0x63, 0x74, 0x69, + 0x76, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x69, 0x6e, 0x64, 0x69, 0x63, 0x65, 0x73, 0x18, 0x03, 0x20, + 0x03, 0x28, 0x04, 0x42, 0x36, 0x82, 0xb5, 0x18, 0x32, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, + 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x72, 0x79, 0x73, 0x6d, 0x61, 0x74, 0x69, 0x63, 0x6c, 0x61, 0x62, + 0x73, 0x2f, 0x65, 0x74, 0x68, 0x32, 0x2d, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x56, 0x61, 0x6c, + 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x52, 0x10, 0x61, 0x63, 0x74, + 0x69, 0x76, 0x61, 0x74, 0x65, 0x64, 0x49, 0x6e, 0x64, 0x69, 0x63, 0x65, 0x73, 0x12, 0x36, 0x0a, + 0x12, 0x65, 0x78, 0x69, 0x74, 0x65, 0x64, 0x5f, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x5f, 0x6b, + 0x65, 0x79, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0c, 0x42, 0x08, 0x8a, 0xb5, 0x18, 0x04, 0x3f, + 0x2c, 0x34, 0x38, 0x52, 0x10, 0x65, 0x78, 0x69, 0x74, 0x65, 0x64, 0x50, 0x75, 0x62, 0x6c, 0x69, + 0x63, 0x4b, 0x65, 0x79, 0x73, 0x12, 0x5d, 0x0a, 0x0e, 0x65, 0x78, 0x69, 0x74, 0x65, 0x64, 0x5f, + 0x69, 0x6e, 0x64, 0x69, 0x63, 0x65, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x04, 0x42, 0x36, 0x82, + 0xb5, 0x18, 0x32, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x72, + 0x79, 0x73, 0x6d, 0x61, 0x74, 0x69, 0x63, 0x6c, 0x61, 0x62, 0x73, 0x2f, 0x65, 0x74, 0x68, 0x32, + 0x2d, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, + 0x49, 0x6e, 0x64, 0x65, 0x78, 0x52, 0x0d, 0x65, 0x78, 0x69, 0x74, 0x65, 0x64, 0x49, 0x6e, 0x64, + 0x69, 0x63, 0x65, 0x73, 0x12, 0x38, 0x0a, 0x13, 0x73, 0x6c, 0x61, 0x73, 0x68, 0x65, 0x64, 0x5f, + 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x5f, 0x6b, 0x65, 0x79, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, + 0x0c, 0x42, 0x08, 0x8a, 0xb5, 0x18, 0x04, 0x3f, 0x2c, 0x34, 0x38, 0x52, 0x11, 0x73, 0x6c, 0x61, + 0x73, 0x68, 0x65, 0x64, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4b, 0x65, 0x79, 0x73, 0x12, 0x5f, + 0x0a, 0x0f, 0x73, 0x6c, 0x61, 0x73, 0x68, 0x65, 0x64, 0x5f, 0x69, 0x6e, 0x64, 0x69, 0x63, 0x65, + 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x04, 0x42, 0x36, 0x82, 0xb5, 0x18, 0x32, 0x67, 0x69, 0x74, + 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x72, 0x79, 0x73, 0x6d, 0x61, 0x74, 0x69, + 0x63, 0x6c, 0x61, 0x62, 0x73, 0x2f, 0x65, 0x74, 0x68, 0x32, 0x2d, 0x74, 0x79, 0x70, 0x65, 0x73, + 0x2e, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x52, + 0x0e, 0x73, 0x6c, 0x61, 0x73, 0x68, 0x65, 0x64, 0x49, 0x6e, 0x64, 0x69, 0x63, 0x65, 0x73, 0x12, + 0x38, 0x0a, 0x13, 0x65, 0x6a, 0x65, 0x63, 0x74, 0x65, 0x64, 0x5f, 0x70, 0x75, 0x62, 0x6c, 0x69, + 0x63, 0x5f, 0x6b, 0x65, 0x79, 0x73, 0x18, 0x08, 0x20, 0x03, 0x28, 0x0c, 0x42, 0x08, 0x8a, 0xb5, + 0x18, 0x04, 0x3f, 0x2c, 0x34, 0x38, 0x52, 0x11, 0x65, 0x6a, 0x65, 0x63, 0x74, 0x65, 0x64, 0x50, + 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4b, 0x65, 0x79, 0x73, 0x12, 0x5f, 0x0a, 0x0f, 0x65, 0x6a, 0x65, + 0x63, 0x74, 0x65, 0x64, 0x5f, 0x69, 0x6e, 0x64, 0x69, 0x63, 0x65, 0x73, 0x18, 0x09, 0x20, 0x03, + 0x28, 0x04, 0x42, 0x36, 0x82, 0xb5, 0x18, 0x32, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, + 0x6f, 0x6d, 0x2f, 0x70, 0x72, 0x79, 0x73, 0x6d, 0x61, 0x74, 0x69, 0x63, 0x6c, 0x61, 0x62, 0x73, + 0x2f, 0x65, 0x74, 0x68, 0x32, 0x2d, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x56, 0x61, 0x6c, 0x69, + 0x64, 0x61, 0x74, 0x6f, 0x72, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x52, 0x0e, 0x65, 0x6a, 0x65, 0x63, + 0x74, 0x65, 0x64, 0x49, 0x6e, 0x64, 0x69, 0x63, 0x65, 0x73, 0x22, 0x94, 0x01, 0x0a, 0x1b, 0x56, + 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x50, 0x65, 0x72, 0x66, 0x6f, 0x72, 0x6d, 0x61, + 0x6e, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x23, 0x0a, 0x0b, 0x70, 0x75, + 0x62, 0x6c, 0x69, 0x63, 0x5f, 0x6b, 0x65, 0x79, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0c, 0x42, + 0x02, 0x18, 0x01, 0x52, 0x0a, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4b, 0x65, 0x79, 0x73, 0x12, + 0x50, 0x0a, 0x07, 0x69, 0x6e, 0x64, 0x69, 0x63, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x04, + 0x42, 0x36, 0x82, 0xb5, 0x18, 0x32, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, + 0x2f, 0x70, 0x72, 0x79, 0x73, 0x6d, 0x61, 0x74, 0x69, 0x63, 0x6c, 0x61, 0x62, 0x73, 0x2f, 0x65, + 0x74, 0x68, 0x32, 0x2d, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, + 0x74, 0x6f, 0x72, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x52, 0x07, 0x69, 0x6e, 0x64, 0x69, 0x63, 0x65, + 0x73, 0x22, 0xe3, 0x05, 0x0a, 0x1c, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x50, + 0x65, 0x72, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x12, 0x3c, 0x0a, 0x1a, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x65, 0x66, + 0x66, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x73, + 0x18, 0x01, 0x20, 0x03, 0x28, 0x04, 0x52, 0x18, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x45, + 0x66, 0x66, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x73, + 0x12, 0x55, 0x0a, 0x0f, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x73, 0x6c, + 0x6f, 0x74, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x04, 0x42, 0x2c, 0x82, 0xb5, 0x18, 0x28, 0x67, + 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x72, 0x79, 0x73, 0x6d, 0x61, + 0x74, 0x69, 0x63, 0x6c, 0x61, 0x62, 0x73, 0x2f, 0x65, 0x74, 0x68, 0x32, 0x2d, 0x74, 0x79, 0x70, + 0x65, 0x73, 0x2e, 0x53, 0x6c, 0x6f, 0x74, 0x52, 0x0e, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x73, 0x69, + 0x6f, 0x6e, 0x53, 0x6c, 0x6f, 0x74, 0x73, 0x12, 0x5d, 0x0a, 0x13, 0x69, 0x6e, 0x63, 0x6c, 0x75, + 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x64, 0x69, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x18, 0x03, + 0x20, 0x03, 0x28, 0x04, 0x42, 0x2c, 0x82, 0xb5, 0x18, 0x28, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, + 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x72, 0x79, 0x73, 0x6d, 0x61, 0x74, 0x69, 0x63, 0x6c, 0x61, + 0x62, 0x73, 0x2f, 0x65, 0x74, 0x68, 0x32, 0x2d, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x53, 0x6c, + 0x6f, 0x74, 0x52, 0x12, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x73, 0x69, 0x6f, 0x6e, 0x44, 0x69, 0x73, + 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x12, 0x34, 0x0a, 0x16, 0x63, 0x6f, 0x72, 0x72, 0x65, 0x63, + 0x74, 0x6c, 0x79, 0x5f, 0x76, 0x6f, 0x74, 0x65, 0x64, 0x5f, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, + 0x18, 0x04, 0x20, 0x03, 0x28, 0x08, 0x52, 0x14, 0x63, 0x6f, 0x72, 0x72, 0x65, 0x63, 0x74, 0x6c, + 0x79, 0x56, 0x6f, 0x74, 0x65, 0x64, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x34, 0x0a, 0x16, + 0x63, 0x6f, 0x72, 0x72, 0x65, 0x63, 0x74, 0x6c, 0x79, 0x5f, 0x76, 0x6f, 0x74, 0x65, 0x64, 0x5f, + 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x18, 0x05, 0x20, 0x03, 0x28, 0x08, 0x52, 0x14, 0x63, 0x6f, + 0x72, 0x72, 0x65, 0x63, 0x74, 0x6c, 0x79, 0x56, 0x6f, 0x74, 0x65, 0x64, 0x54, 0x61, 0x72, 0x67, + 0x65, 0x74, 0x12, 0x30, 0x0a, 0x14, 0x63, 0x6f, 0x72, 0x72, 0x65, 0x63, 0x74, 0x6c, 0x79, 0x5f, + 0x76, 0x6f, 0x74, 0x65, 0x64, 0x5f, 0x68, 0x65, 0x61, 0x64, 0x18, 0x06, 0x20, 0x03, 0x28, 0x08, + 0x52, 0x12, 0x63, 0x6f, 0x72, 0x72, 0x65, 0x63, 0x74, 0x6c, 0x79, 0x56, 0x6f, 0x74, 0x65, 0x64, + 0x48, 0x65, 0x61, 0x64, 0x12, 0x47, 0x0a, 0x20, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x73, + 0x5f, 0x62, 0x65, 0x66, 0x6f, 0x72, 0x65, 0x5f, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x5f, 0x74, 0x72, + 0x61, 0x6e, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x07, 0x20, 0x03, 0x28, 0x04, 0x52, 0x1d, + 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x42, 0x65, 0x66, 0x6f, 0x72, 0x65, 0x45, 0x70, + 0x6f, 0x63, 0x68, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x45, 0x0a, + 0x1f, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x5f, 0x61, 0x66, 0x74, 0x65, 0x72, 0x5f, + 0x65, 0x70, 0x6f, 0x63, 0x68, 0x5f, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, + 0x18, 0x08, 0x20, 0x03, 0x28, 0x04, 0x52, 0x1c, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x73, + 0x41, 0x66, 0x74, 0x65, 0x72, 0x45, 0x70, 0x6f, 0x63, 0x68, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x69, + 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x2d, 0x0a, 0x12, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6e, 0x67, 0x5f, + 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x73, 0x18, 0x09, 0x20, 0x03, 0x28, 0x0c, + 0x52, 0x11, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, + 0x6f, 0x72, 0x73, 0x12, 0x47, 0x0a, 0x20, 0x61, 0x76, 0x65, 0x72, 0x61, 0x67, 0x65, 0x5f, 0x61, + 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x5f, + 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x02, 0x52, 0x1d, 0x61, + 0x76, 0x65, 0x72, 0x61, 0x67, 0x65, 0x41, 0x63, 0x74, 0x69, 0x76, 0x65, 0x56, 0x61, 0x6c, 0x69, + 0x64, 0x61, 0x74, 0x6f, 0x72, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x29, 0x0a, 0x0b, + 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x5f, 0x6b, 0x65, 0x79, 0x73, 0x18, 0x0b, 0x20, 0x03, 0x28, + 0x0c, 0x42, 0x08, 0x8a, 0xb5, 0x18, 0x04, 0x3f, 0x2c, 0x34, 0x38, 0x52, 0x0a, 0x70, 0x75, 0x62, + 0x6c, 0x69, 0x63, 0x4b, 0x65, 0x79, 0x73, 0x22, 0x91, 0x03, 0x0a, 0x0e, 0x56, 0x61, 0x6c, 0x69, + 0x64, 0x61, 0x74, 0x6f, 0x72, 0x51, 0x75, 0x65, 0x75, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x68, + 0x75, 0x72, 0x6e, 0x5f, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, + 0x0a, 0x63, 0x68, 0x75, 0x72, 0x6e, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x40, 0x0a, 0x16, 0x61, + 0x63, 0x74, 0x69, 0x76, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, + 0x5f, 0x6b, 0x65, 0x79, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0c, 0x42, 0x0a, 0x18, 0x01, 0x8a, + 0xb5, 0x18, 0x04, 0x3f, 0x2c, 0x34, 0x38, 0x52, 0x14, 0x61, 0x63, 0x74, 0x69, 0x76, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4b, 0x65, 0x79, 0x73, 0x12, 0x34, 0x0a, + 0x10, 0x65, 0x78, 0x69, 0x74, 0x5f, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x5f, 0x6b, 0x65, 0x79, + 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0c, 0x42, 0x0a, 0x18, 0x01, 0x8a, 0xb5, 0x18, 0x04, 0x3f, + 0x2c, 0x34, 0x38, 0x52, 0x0e, 0x65, 0x78, 0x69, 0x74, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4b, + 0x65, 0x79, 0x73, 0x12, 0x78, 0x0a, 0x1c, 0x61, 0x63, 0x74, 0x69, 0x76, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x5f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x5f, 0x69, 0x6e, 0x64, 0x69, + 0x63, 0x65, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x04, 0x42, 0x36, 0x82, 0xb5, 0x18, 0x32, 0x67, + 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x72, 0x79, 0x73, 0x6d, 0x61, + 0x74, 0x69, 0x63, 0x6c, 0x61, 0x62, 0x73, 0x2f, 0x65, 0x74, 0x68, 0x32, 0x2d, 0x74, 0x79, 0x70, + 0x65, 0x73, 0x2e, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x49, 0x6e, 0x64, 0x65, + 0x78, 0x52, 0x1a, 0x61, 0x63, 0x74, 0x69, 0x76, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x56, 0x61, 0x6c, + 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x49, 0x6e, 0x64, 0x69, 0x63, 0x65, 0x73, 0x12, 0x6c, 0x0a, + 0x16, 0x65, 0x78, 0x69, 0x74, 0x5f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x5f, + 0x69, 0x6e, 0x64, 0x69, 0x63, 0x65, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x04, 0x42, 0x36, 0x82, + 0xb5, 0x18, 0x32, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x72, + 0x79, 0x73, 0x6d, 0x61, 0x74, 0x69, 0x63, 0x6c, 0x61, 0x62, 0x73, 0x2f, 0x65, 0x74, 0x68, 0x32, + 0x2d, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, + 0x49, 0x6e, 0x64, 0x65, 0x78, 0x52, 0x14, 0x65, 0x78, 0x69, 0x74, 0x56, 0x61, 0x6c, 0x69, 0x64, + 0x61, 0x74, 0x6f, 0x72, 0x49, 0x6e, 0x64, 0x69, 0x63, 0x65, 0x73, 0x22, 0xcd, 0x02, 0x0a, 0x1f, + 0x4c, 0x69, 0x73, 0x74, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x41, 0x73, 0x73, + 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, + 0x45, 0x0a, 0x05, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x42, 0x2d, + 0x82, 0xb5, 0x18, 0x29, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, + 0x72, 0x79, 0x73, 0x6d, 0x61, 0x74, 0x69, 0x63, 0x6c, 0x61, 0x62, 0x73, 0x2f, 0x65, 0x74, 0x68, + 0x32, 0x2d, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x45, 0x70, 0x6f, 0x63, 0x68, 0x48, 0x00, 0x52, + 0x05, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x12, 0x1a, 0x0a, 0x07, 0x67, 0x65, 0x6e, 0x65, 0x73, 0x69, + 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x48, 0x00, 0x52, 0x07, 0x67, 0x65, 0x6e, 0x65, 0x73, + 0x69, 0x73, 0x12, 0x29, 0x0a, 0x0b, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x5f, 0x6b, 0x65, 0x79, + 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0c, 0x42, 0x08, 0x8a, 0xb5, 0x18, 0x04, 0x3f, 0x2c, 0x34, + 0x38, 0x52, 0x0a, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4b, 0x65, 0x79, 0x73, 0x12, 0x50, 0x0a, + 0x07, 0x69, 0x6e, 0x64, 0x69, 0x63, 0x65, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x04, 0x42, 0x36, + 0x82, 0xb5, 0x18, 0x32, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, + 0x72, 0x79, 0x73, 0x6d, 0x61, 0x74, 0x69, 0x63, 0x6c, 0x61, 0x62, 0x73, 0x2f, 0x65, 0x74, 0x68, + 0x32, 0x2d, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, + 0x72, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x52, 0x07, 0x69, 0x6e, 0x64, 0x69, 0x63, 0x65, 0x73, 0x12, + 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x05, 0x20, 0x01, + 0x28, 0x05, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x1d, 0x0a, 0x0a, + 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x42, 0x0e, 0x0a, 0x0c, 0x71, + 0x75, 0x65, 0x72, 0x79, 0x5f, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x22, 0x95, 0x06, 0x0a, 0x14, + 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d, + 0x65, 0x6e, 0x74, 0x73, 0x12, 0x43, 0x0a, 0x05, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x04, 0x42, 0x2d, 0x82, 0xb5, 0x18, 0x29, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, + 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x72, 0x79, 0x73, 0x6d, 0x61, 0x74, 0x69, 0x63, 0x6c, 0x61, 0x62, + 0x73, 0x2f, 0x65, 0x74, 0x68, 0x32, 0x2d, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x45, 0x70, 0x6f, + 0x63, 0x68, 0x52, 0x05, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x12, 0x61, 0x0a, 0x0b, 0x61, 0x73, 0x73, + 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3f, + 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, + 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, + 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, + 0x69, 0x74, 0x74, 0x65, 0x65, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x52, + 0x0b, 0x61, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x26, 0x0a, 0x0f, + 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, + 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, 0x67, 0x65, 0x54, + 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x1d, 0x0a, 0x0a, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x73, 0x69, + 0x7a, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x53, + 0x69, 0x7a, 0x65, 0x1a, 0x8d, 0x04, 0x0a, 0x13, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x74, 0x65, + 0x65, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x63, 0x0a, 0x11, 0x62, + 0x65, 0x61, 0x63, 0x6f, 0x6e, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x74, 0x65, 0x65, 0x73, + 0x18, 0x01, 0x20, 0x03, 0x28, 0x04, 0x42, 0x36, 0x82, 0xb5, 0x18, 0x32, 0x67, 0x69, 0x74, 0x68, + 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x72, 0x79, 0x73, 0x6d, 0x61, 0x74, 0x69, 0x63, + 0x6c, 0x61, 0x62, 0x73, 0x2f, 0x65, 0x74, 0x68, 0x32, 0x2d, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, + 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x52, 0x10, + 0x62, 0x65, 0x61, 0x63, 0x6f, 0x6e, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x74, 0x65, 0x65, 0x73, + 0x12, 0x5f, 0x0a, 0x0f, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x74, 0x65, 0x65, 0x5f, 0x69, 0x6e, + 0x64, 0x65, 0x78, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x42, 0x36, 0x82, 0xb5, 0x18, 0x32, 0x67, + 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x72, 0x79, 0x73, 0x6d, 0x61, + 0x74, 0x69, 0x63, 0x6c, 0x61, 0x62, 0x73, 0x2f, 0x65, 0x74, 0x68, 0x32, 0x2d, 0x74, 0x79, 0x70, + 0x65, 0x73, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x74, 0x65, 0x65, 0x49, 0x6e, 0x64, 0x65, + 0x78, 0x52, 0x0e, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x74, 0x65, 0x65, 0x49, 0x6e, 0x64, 0x65, + 0x78, 0x12, 0x51, 0x0a, 0x0d, 0x61, 0x74, 0x74, 0x65, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x73, 0x6c, + 0x6f, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x42, 0x2c, 0x82, 0xb5, 0x18, 0x28, 0x67, 0x69, + 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x72, 0x79, 0x73, 0x6d, 0x61, 0x74, + 0x69, 0x63, 0x6c, 0x61, 0x62, 0x73, 0x2f, 0x65, 0x74, 0x68, 0x32, 0x2d, 0x74, 0x79, 0x70, 0x65, + 0x73, 0x2e, 0x53, 0x6c, 0x6f, 0x74, 0x52, 0x0c, 0x61, 0x74, 0x74, 0x65, 0x73, 0x74, 0x65, 0x72, + 0x53, 0x6c, 0x6f, 0x74, 0x12, 0x53, 0x0a, 0x0e, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x65, 0x72, + 0x5f, 0x73, 0x6c, 0x6f, 0x74, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x04, 0x42, 0x2c, 0x82, 0xb5, + 0x18, 0x28, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x72, 0x79, + 0x73, 0x6d, 0x61, 0x74, 0x69, 0x63, 0x6c, 0x61, 0x62, 0x73, 0x2f, 0x65, 0x74, 0x68, 0x32, 0x2d, + 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x53, 0x6c, 0x6f, 0x74, 0x52, 0x0d, 0x70, 0x72, 0x6f, 0x70, + 0x6f, 0x73, 0x65, 0x72, 0x53, 0x6c, 0x6f, 0x74, 0x73, 0x12, 0x27, 0x0a, 0x0a, 0x70, 0x75, 0x62, + 0x6c, 0x69, 0x63, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0c, 0x42, 0x08, 0x18, + 0x01, 0x8a, 0xb5, 0x18, 0x02, 0x34, 0x38, 0x52, 0x09, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4b, + 0x65, 0x79, 0x12, 0x5f, 0x0a, 0x0f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x5f, + 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x06, 0x20, 0x01, 0x28, 0x04, 0x42, 0x36, 0x82, 0xb5, 0x18, + 0x32, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x72, 0x79, 0x73, + 0x6d, 0x61, 0x74, 0x69, 0x63, 0x6c, 0x61, 0x62, 0x73, 0x2f, 0x65, 0x74, 0x68, 0x32, 0x2d, 0x74, + 0x79, 0x70, 0x65, 0x73, 0x2e, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x49, 0x6e, + 0x64, 0x65, 0x78, 0x52, 0x0e, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x49, 0x6e, + 0x64, 0x65, 0x78, 0x22, 0x95, 0x01, 0x0a, 0x20, 0x47, 0x65, 0x74, 0x56, 0x61, 0x6c, 0x69, 0x64, + 0x61, 0x74, 0x6f, 0x72, 0x50, 0x61, 0x72, 0x74, 0x69, 0x63, 0x69, 0x70, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x45, 0x0a, 0x05, 0x65, 0x70, 0x6f, 0x63, + 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x42, 0x2d, 0x82, 0xb5, 0x18, 0x29, 0x67, 0x69, 0x74, + 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x72, 0x79, 0x73, 0x6d, 0x61, 0x74, 0x69, + 0x63, 0x6c, 0x61, 0x62, 0x73, 0x2f, 0x65, 0x74, 0x68, 0x32, 0x2d, 0x74, 0x79, 0x70, 0x65, 0x73, + 0x2e, 0x45, 0x70, 0x6f, 0x63, 0x68, 0x48, 0x00, 0x52, 0x05, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x12, + 0x1a, 0x0a, 0x07, 0x67, 0x65, 0x6e, 0x65, 0x73, 0x69, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, + 0x48, 0x00, 0x52, 0x07, 0x67, 0x65, 0x6e, 0x65, 0x73, 0x69, 0x73, 0x42, 0x0e, 0x0a, 0x0c, 0x71, + 0x75, 0x65, 0x72, 0x79, 0x5f, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x22, 0xd8, 0x01, 0x0a, 0x1e, + 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x50, 0x61, 0x72, 0x74, 0x69, 0x63, 0x69, + 0x70, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x43, + 0x0a, 0x05, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x42, 0x2d, 0x82, + 0xb5, 0x18, 0x29, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x72, + 0x79, 0x73, 0x6d, 0x61, 0x74, 0x69, 0x63, 0x6c, 0x61, 0x62, 0x73, 0x2f, 0x65, 0x74, 0x68, 0x32, + 0x2d, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x45, 0x70, 0x6f, 0x63, 0x68, 0x52, 0x05, 0x65, 0x70, + 0x6f, 0x63, 0x68, 0x12, 0x1c, 0x0a, 0x09, 0x66, 0x69, 0x6e, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x64, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x66, 0x69, 0x6e, 0x61, 0x6c, 0x69, 0x7a, 0x65, + 0x64, 0x12, 0x53, 0x0a, 0x0d, 0x70, 0x61, 0x72, 0x74, 0x69, 0x63, 0x69, 0x70, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, + 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, + 0x2e, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x50, 0x61, 0x72, 0x74, 0x69, 0x63, + 0x69, 0x70, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0d, 0x70, 0x61, 0x72, 0x74, 0x69, 0x63, 0x69, + 0x70, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x54, 0x0a, 0x16, 0x41, 0x74, 0x74, 0x65, 0x73, 0x74, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x6f, 0x6f, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x1d, 0x0a, + 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0xa8, 0x01, 0x0a, + 0x17, 0x41, 0x74, 0x74, 0x65, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x6f, 0x6f, 0x6c, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x46, 0x0a, 0x0c, 0x61, 0x74, 0x74, 0x65, + 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 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, 0x41, 0x74, 0x74, 0x65, 0x73, 0x74, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x52, 0x0c, 0x61, 0x74, 0x74, 0x65, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, + 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, + 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x50, + 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x1d, 0x0a, 0x0a, 0x74, 0x6f, 0x74, 0x61, + 0x6c, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x74, 0x6f, + 0x74, 0x61, 0x6c, 0x53, 0x69, 0x7a, 0x65, 0x22, 0x92, 0x01, 0x0a, 0x0c, 0x42, 0x65, 0x61, 0x63, + 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x47, 0x0a, 0x06, 0x63, 0x6f, 0x6e, 0x66, + 0x69, 0x67, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2f, 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, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x43, 0x6f, + 0x6e, 0x66, 0x69, 0x67, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, + 0x67, 0x1a, 0x39, 0x0a, 0x0b, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x45, 0x6e, 0x74, 0x72, 0x79, + 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, + 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x79, 0x0a, 0x16, + 0x53, 0x75, 0x62, 0x6d, 0x69, 0x74, 0x53, 0x6c, 0x61, 0x73, 0x68, 0x69, 0x6e, 0x67, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5f, 0x0a, 0x0f, 0x73, 0x6c, 0x61, 0x73, 0x68, 0x65, + 0x64, 0x5f, 0x69, 0x6e, 0x64, 0x69, 0x63, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x04, 0x42, + 0x36, 0x82, 0xb5, 0x18, 0x32, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, + 0x70, 0x72, 0x79, 0x73, 0x6d, 0x61, 0x74, 0x69, 0x63, 0x6c, 0x61, 0x62, 0x73, 0x2f, 0x65, 0x74, + 0x68, 0x32, 0x2d, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, + 0x6f, 0x72, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x52, 0x0e, 0x73, 0x6c, 0x61, 0x73, 0x68, 0x65, 0x64, + 0x49, 0x6e, 0x64, 0x69, 0x63, 0x65, 0x73, 0x22, 0xd0, 0x01, 0x0a, 0x16, 0x49, 0x6e, 0x64, 0x69, + 0x76, 0x69, 0x64, 0x75, 0x61, 0x6c, 0x56, 0x6f, 0x74, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x12, 0x43, 0x0a, 0x05, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x04, 0x42, 0x2d, 0x82, 0xb5, 0x18, 0x29, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, + 0x6d, 0x2f, 0x70, 0x72, 0x79, 0x73, 0x6d, 0x61, 0x74, 0x69, 0x63, 0x6c, 0x61, 0x62, 0x73, 0x2f, + 0x65, 0x74, 0x68, 0x32, 0x2d, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x45, 0x70, 0x6f, 0x63, 0x68, + 0x52, 0x05, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x12, 0x1f, 0x0a, 0x0b, 0x70, 0x75, 0x62, 0x6c, 0x69, + 0x63, 0x5f, 0x6b, 0x65, 0x79, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x0a, 0x70, 0x75, + 0x62, 0x6c, 0x69, 0x63, 0x4b, 0x65, 0x79, 0x73, 0x12, 0x50, 0x0a, 0x07, 0x69, 0x6e, 0x64, 0x69, + 0x63, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x04, 0x42, 0x36, 0x82, 0xb5, 0x18, 0x32, 0x67, + 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x72, 0x79, 0x73, 0x6d, 0x61, + 0x74, 0x69, 0x63, 0x6c, 0x61, 0x62, 0x73, 0x2f, 0x65, 0x74, 0x68, 0x32, 0x2d, 0x74, 0x79, 0x70, + 0x65, 0x73, 0x2e, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x49, 0x6e, 0x64, 0x65, + 0x78, 0x52, 0x07, 0x69, 0x6e, 0x64, 0x69, 0x63, 0x65, 0x73, 0x22, 0x8c, 0x09, 0x0a, 0x16, 0x49, + 0x6e, 0x64, 0x69, 0x76, 0x69, 0x64, 0x75, 0x61, 0x6c, 0x56, 0x6f, 0x74, 0x65, 0x73, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x64, 0x12, 0x67, 0x0a, 0x10, 0x69, 0x6e, 0x64, 0x69, 0x76, 0x69, 0x64, + 0x75, 0x61, 0x6c, 0x5f, 0x76, 0x6f, 0x74, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, + 0x3c, 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, + 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x49, 0x6e, 0x64, 0x69, 0x76, 0x69, 0x64, 0x75, + 0x61, 0x6c, 0x56, 0x6f, 0x74, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x64, 0x2e, 0x49, + 0x6e, 0x64, 0x69, 0x76, 0x69, 0x64, 0x75, 0x61, 0x6c, 0x56, 0x6f, 0x74, 0x65, 0x52, 0x0f, 0x69, + 0x6e, 0x64, 0x69, 0x76, 0x69, 0x64, 0x75, 0x61, 0x6c, 0x56, 0x6f, 0x74, 0x65, 0x73, 0x1a, 0x88, + 0x08, 0x0a, 0x0e, 0x49, 0x6e, 0x64, 0x69, 0x76, 0x69, 0x64, 0x75, 0x61, 0x6c, 0x56, 0x6f, 0x74, + 0x65, 0x12, 0x43, 0x0a, 0x05, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, + 0x42, 0x2d, 0x82, 0xb5, 0x18, 0x29, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, + 0x2f, 0x70, 0x72, 0x79, 0x73, 0x6d, 0x61, 0x74, 0x69, 0x63, 0x6c, 0x61, 0x62, 0x73, 0x2f, 0x65, + 0x74, 0x68, 0x32, 0x2d, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x45, 0x70, 0x6f, 0x63, 0x68, 0x52, + 0x05, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, + 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x70, 0x75, 0x62, 0x6c, + 0x69, 0x63, 0x4b, 0x65, 0x79, 0x12, 0x5f, 0x0a, 0x0f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, + 0x6f, 0x72, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x42, 0x36, + 0x82, 0xb5, 0x18, 0x32, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, + 0x72, 0x79, 0x73, 0x6d, 0x61, 0x74, 0x69, 0x63, 0x6c, 0x61, 0x62, 0x73, 0x2f, 0x65, 0x74, 0x68, + 0x32, 0x2d, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, + 0x72, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x52, 0x0e, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, + 0x72, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x1d, 0x0a, 0x0a, 0x69, 0x73, 0x5f, 0x73, 0x6c, 0x61, + 0x73, 0x68, 0x65, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x69, 0x73, 0x53, 0x6c, + 0x61, 0x73, 0x68, 0x65, 0x64, 0x12, 0x46, 0x0a, 0x20, 0x69, 0x73, 0x5f, 0x77, 0x69, 0x74, 0x68, + 0x64, 0x72, 0x61, 0x77, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x69, 0x6e, 0x5f, 0x63, 0x75, 0x72, 0x72, + 0x65, 0x6e, 0x74, 0x5f, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, + 0x1c, 0x69, 0x73, 0x57, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x61, 0x62, 0x6c, 0x65, 0x49, + 0x6e, 0x43, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x45, 0x70, 0x6f, 0x63, 0x68, 0x12, 0x3a, 0x0a, + 0x1a, 0x69, 0x73, 0x5f, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x69, 0x6e, 0x5f, 0x63, 0x75, + 0x72, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x18, 0x06, 0x20, 0x01, 0x28, + 0x08, 0x52, 0x16, 0x69, 0x73, 0x41, 0x63, 0x74, 0x69, 0x76, 0x65, 0x49, 0x6e, 0x43, 0x75, 0x72, + 0x72, 0x65, 0x6e, 0x74, 0x45, 0x70, 0x6f, 0x63, 0x68, 0x12, 0x3c, 0x0a, 0x1b, 0x69, 0x73, 0x5f, + 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x69, 0x6e, 0x5f, 0x70, 0x72, 0x65, 0x76, 0x69, 0x6f, + 0x75, 0x73, 0x5f, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x17, + 0x69, 0x73, 0x41, 0x63, 0x74, 0x69, 0x76, 0x65, 0x49, 0x6e, 0x50, 0x72, 0x65, 0x76, 0x69, 0x6f, + 0x75, 0x73, 0x45, 0x70, 0x6f, 0x63, 0x68, 0x12, 0x39, 0x0a, 0x19, 0x69, 0x73, 0x5f, 0x63, 0x75, + 0x72, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x5f, 0x61, 0x74, 0x74, 0x65, + 0x73, 0x74, 0x65, 0x72, 0x18, 0x08, 0x20, 0x01, 0x28, 0x08, 0x52, 0x16, 0x69, 0x73, 0x43, 0x75, + 0x72, 0x72, 0x65, 0x6e, 0x74, 0x45, 0x70, 0x6f, 0x63, 0x68, 0x41, 0x74, 0x74, 0x65, 0x73, 0x74, + 0x65, 0x72, 0x12, 0x46, 0x0a, 0x20, 0x69, 0x73, 0x5f, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, + 0x5f, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x5f, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x61, 0x74, + 0x74, 0x65, 0x73, 0x74, 0x65, 0x72, 0x18, 0x09, 0x20, 0x01, 0x28, 0x08, 0x52, 0x1c, 0x69, 0x73, + 0x43, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x45, 0x70, 0x6f, 0x63, 0x68, 0x54, 0x61, 0x72, 0x67, + 0x65, 0x74, 0x41, 0x74, 0x74, 0x65, 0x73, 0x74, 0x65, 0x72, 0x12, 0x3b, 0x0a, 0x1a, 0x69, 0x73, + 0x5f, 0x70, 0x72, 0x65, 0x76, 0x69, 0x6f, 0x75, 0x73, 0x5f, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x5f, + 0x61, 0x74, 0x74, 0x65, 0x73, 0x74, 0x65, 0x72, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x08, 0x52, 0x17, + 0x69, 0x73, 0x50, 0x72, 0x65, 0x76, 0x69, 0x6f, 0x75, 0x73, 0x45, 0x70, 0x6f, 0x63, 0x68, 0x41, + 0x74, 0x74, 0x65, 0x73, 0x74, 0x65, 0x72, 0x12, 0x48, 0x0a, 0x21, 0x69, 0x73, 0x5f, 0x70, 0x72, + 0x65, 0x76, 0x69, 0x6f, 0x75, 0x73, 0x5f, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x5f, 0x74, 0x61, 0x72, + 0x67, 0x65, 0x74, 0x5f, 0x61, 0x74, 0x74, 0x65, 0x73, 0x74, 0x65, 0x72, 0x18, 0x0b, 0x20, 0x01, + 0x28, 0x08, 0x52, 0x1d, 0x69, 0x73, 0x50, 0x72, 0x65, 0x76, 0x69, 0x6f, 0x75, 0x73, 0x45, 0x70, + 0x6f, 0x63, 0x68, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x41, 0x74, 0x74, 0x65, 0x73, 0x74, 0x65, + 0x72, 0x12, 0x44, 0x0a, 0x1f, 0x69, 0x73, 0x5f, 0x70, 0x72, 0x65, 0x76, 0x69, 0x6f, 0x75, 0x73, + 0x5f, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x5f, 0x68, 0x65, 0x61, 0x64, 0x5f, 0x61, 0x74, 0x74, 0x65, + 0x73, 0x74, 0x65, 0x72, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x08, 0x52, 0x1b, 0x69, 0x73, 0x50, 0x72, + 0x65, 0x76, 0x69, 0x6f, 0x75, 0x73, 0x45, 0x70, 0x6f, 0x63, 0x68, 0x48, 0x65, 0x61, 0x64, 0x41, + 0x74, 0x74, 0x65, 0x73, 0x74, 0x65, 0x72, 0x12, 0x4e, 0x0a, 0x24, 0x63, 0x75, 0x72, 0x72, 0x65, + 0x6e, 0x74, 0x5f, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x5f, 0x65, 0x66, 0x66, 0x65, 0x63, 0x74, 0x69, + 0x76, 0x65, 0x5f, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x5f, 0x67, 0x77, 0x65, 0x69, 0x18, + 0x0d, 0x20, 0x01, 0x28, 0x04, 0x52, 0x20, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x45, 0x70, + 0x6f, 0x63, 0x68, 0x45, 0x66, 0x66, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x42, 0x61, 0x6c, 0x61, + 0x6e, 0x63, 0x65, 0x47, 0x77, 0x65, 0x69, 0x12, 0x53, 0x0a, 0x0e, 0x69, 0x6e, 0x63, 0x6c, 0x75, + 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x73, 0x6c, 0x6f, 0x74, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x04, 0x42, + 0x2c, 0x82, 0xb5, 0x18, 0x28, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, + 0x70, 0x72, 0x79, 0x73, 0x6d, 0x61, 0x74, 0x69, 0x63, 0x6c, 0x61, 0x62, 0x73, 0x2f, 0x65, 0x74, + 0x68, 0x32, 0x2d, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x53, 0x6c, 0x6f, 0x74, 0x52, 0x0d, 0x69, + 0x6e, 0x63, 0x6c, 0x75, 0x73, 0x69, 0x6f, 0x6e, 0x53, 0x6c, 0x6f, 0x74, 0x12, 0x5b, 0x0a, 0x12, + 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x64, 0x69, 0x73, 0x74, 0x61, 0x6e, + 0x63, 0x65, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x04, 0x42, 0x2c, 0x82, 0xb5, 0x18, 0x28, 0x67, 0x69, + 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x72, 0x79, 0x73, 0x6d, 0x61, 0x74, + 0x69, 0x63, 0x6c, 0x61, 0x62, 0x73, 0x2f, 0x65, 0x74, 0x68, 0x32, 0x2d, 0x74, 0x79, 0x70, 0x65, + 0x73, 0x2e, 0x53, 0x6c, 0x6f, 0x74, 0x52, 0x11, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x73, 0x69, 0x6f, + 0x6e, 0x44, 0x69, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x22, 0x9f, 0x01, 0x0a, 0x1a, 0x57, 0x65, + 0x61, 0x6b, 0x53, 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x43, 0x68, + 0x65, 0x63, 0x6b, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x62, 0x6c, 0x6f, 0x63, + 0x6b, 0x5f, 0x72, 0x6f, 0x6f, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x62, 0x6c, + 0x6f, 0x63, 0x6b, 0x52, 0x6f, 0x6f, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x74, 0x61, 0x74, 0x65, + 0x5f, 0x72, 0x6f, 0x6f, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x73, 0x74, 0x61, + 0x74, 0x65, 0x52, 0x6f, 0x6f, 0x74, 0x12, 0x43, 0x0a, 0x05, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x18, + 0x03, 0x20, 0x01, 0x28, 0x04, 0x42, 0x2d, 0x82, 0xb5, 0x18, 0x29, 0x67, 0x69, 0x74, 0x68, 0x75, + 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x72, 0x79, 0x73, 0x6d, 0x61, 0x74, 0x69, 0x63, 0x6c, + 0x61, 0x62, 0x73, 0x2f, 0x65, 0x74, 0x68, 0x32, 0x2d, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x45, + 0x70, 0x6f, 0x63, 0x68, 0x52, 0x05, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x2a, 0x56, 0x0a, 0x09, 0x53, + 0x65, 0x74, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x16, 0x0a, 0x12, 0x41, 0x44, 0x44, 0x5f, + 0x56, 0x41, 0x4c, 0x49, 0x44, 0x41, 0x54, 0x4f, 0x52, 0x5f, 0x4b, 0x45, 0x59, 0x53, 0x10, 0x00, + 0x12, 0x19, 0x0a, 0x15, 0x52, 0x45, 0x4d, 0x4f, 0x56, 0x45, 0x5f, 0x56, 0x41, 0x4c, 0x49, 0x44, + 0x41, 0x54, 0x4f, 0x52, 0x5f, 0x4b, 0x45, 0x59, 0x53, 0x10, 0x01, 0x12, 0x16, 0x0a, 0x12, 0x53, + 0x45, 0x54, 0x5f, 0x56, 0x41, 0x4c, 0x49, 0x44, 0x41, 0x54, 0x4f, 0x52, 0x5f, 0x4b, 0x45, 0x59, + 0x53, 0x10, 0x02, 0x32, 0x93, 0x1d, 0x0a, 0x0b, 0x42, 0x65, 0x61, 0x63, 0x6f, 0x6e, 0x43, 0x68, + 0x61, 0x69, 0x6e, 0x12, 0x9e, 0x01, 0x0a, 0x10, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x74, 0x74, 0x65, + 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x2e, 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, + 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, + 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x74, 0x74, 0x65, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2f, 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, + 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, + 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x74, 0x74, 0x65, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x29, 0x82, 0xd3, 0xe4, 0x93, 0x02, + 0x23, 0x12, 0x21, 0x2f, 0x65, 0x74, 0x68, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, + 0x2f, 0x62, 0x65, 0x61, 0x63, 0x6f, 0x6e, 0x2f, 0x61, 0x74, 0x74, 0x65, 0x73, 0x74, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x73, 0x12, 0xbb, 0x01, 0x0a, 0x17, 0x4c, 0x69, 0x73, 0x74, 0x49, 0x6e, 0x64, + 0x65, 0x78, 0x65, 0x64, 0x41, 0x74, 0x74, 0x65, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, + 0x12, 0x35, 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, + 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x49, 0x6e, 0x64, + 0x65, 0x78, 0x65, 0x64, 0x41, 0x74, 0x74, 0x65, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x36, 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, + 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, + 0x4c, 0x69, 0x73, 0x74, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x65, 0x64, 0x41, 0x74, 0x74, 0x65, 0x73, + 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, + 0x31, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2b, 0x12, 0x29, 0x2f, 0x65, 0x74, 0x68, 0x2f, 0x76, 0x31, + 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2f, 0x62, 0x65, 0x61, 0x63, 0x6f, 0x6e, 0x2f, 0x61, 0x74, + 0x74, 0x65, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x69, 0x6e, 0x64, 0x65, 0x78, + 0x65, 0x64, 0x12, 0x84, 0x01, 0x0a, 0x12, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x41, 0x74, 0x74, + 0x65, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 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, 0x22, 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, 0x22, 0x30, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2a, 0x12, 0x28, 0x2f, + 0x65, 0x74, 0x68, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2f, 0x62, 0x65, 0x61, + 0x63, 0x6f, 0x6e, 0x2f, 0x61, 0x74, 0x74, 0x65, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, + 0x2f, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x30, 0x01, 0x12, 0x9a, 0x01, 0x0a, 0x19, 0x53, 0x74, + 0x72, 0x65, 0x61, 0x6d, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x65, 0x64, 0x41, 0x74, 0x74, 0x65, 0x73, + 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 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, + 0x29, 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, + 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x65, 0x64, 0x41, + 0x74, 0x74, 0x65, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x38, 0x82, 0xd3, 0xe4, 0x93, + 0x02, 0x32, 0x12, 0x30, 0x2f, 0x65, 0x74, 0x68, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, + 0x31, 0x2f, 0x62, 0x65, 0x61, 0x63, 0x6f, 0x6e, 0x2f, 0x61, 0x74, 0x74, 0x65, 0x73, 0x74, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x65, 0x64, 0x2f, 0x73, 0x74, + 0x72, 0x65, 0x61, 0x6d, 0x30, 0x01, 0x12, 0xa0, 0x01, 0x0a, 0x0f, 0x41, 0x74, 0x74, 0x65, 0x73, + 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x6f, 0x6f, 0x6c, 0x12, 0x2d, 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, 0x50, 0x6f, + 0x6f, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2e, 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, 0x50, 0x6f, 0x6f, + 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x2e, 0x82, 0xd3, 0xe4, 0x93, 0x02, + 0x28, 0x12, 0x26, 0x2f, 0x65, 0x74, 0x68, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, + 0x2f, 0x62, 0x65, 0x61, 0x63, 0x6f, 0x6e, 0x2f, 0x61, 0x74, 0x74, 0x65, 0x73, 0x74, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x70, 0x6f, 0x6f, 0x6c, 0x12, 0x86, 0x01, 0x0a, 0x0a, 0x4c, 0x69, + 0x73, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x73, 0x12, 0x28, 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, + 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, + 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x1a, 0x29, 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, + 0x68, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x42, + 0x6c, 0x6f, 0x63, 0x6b, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x23, 0x82, + 0xd3, 0xe4, 0x93, 0x02, 0x1d, 0x12, 0x1b, 0x2f, 0x65, 0x74, 0x68, 0x2f, 0x76, 0x31, 0x61, 0x6c, + 0x70, 0x68, 0x61, 0x31, 0x2f, 0x62, 0x65, 0x61, 0x63, 0x6f, 0x6e, 0x2f, 0x62, 0x6c, 0x6f, 0x63, + 0x6b, 0x73, 0x12, 0x92, 0x01, 0x0a, 0x0c, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x42, 0x6c, 0x6f, + 0x63, 0x6b, 0x73, 0x12, 0x2a, 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, + 0x74, 0x68, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x53, 0x74, 0x72, 0x65, + 0x61, 0x6d, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, + 0x28, 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, + 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x53, 0x69, 0x67, 0x6e, 0x65, 0x64, 0x42, 0x65, + 0x61, 0x63, 0x6f, 0x6e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x22, 0x2a, 0x82, 0xd3, 0xe4, 0x93, 0x02, + 0x24, 0x12, 0x22, 0x2f, 0x65, 0x74, 0x68, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, + 0x2f, 0x62, 0x65, 0x61, 0x63, 0x6f, 0x6e, 0x2f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x73, 0x2f, 0x73, + 0x74, 0x72, 0x65, 0x61, 0x6d, 0x30, 0x01, 0x12, 0x7c, 0x0a, 0x0f, 0x53, 0x74, 0x72, 0x65, 0x61, + 0x6d, 0x43, 0x68, 0x61, 0x69, 0x6e, 0x48, 0x65, 0x61, 0x64, 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, 0x20, 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, + 0x68, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x43, 0x68, 0x61, 0x69, 0x6e, + 0x48, 0x65, 0x61, 0x64, 0x22, 0x2d, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x27, 0x12, 0x25, 0x2f, 0x65, + 0x74, 0x68, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2f, 0x62, 0x65, 0x61, 0x63, + 0x6f, 0x6e, 0x2f, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x68, 0x65, 0x61, 0x64, 0x2f, 0x73, 0x74, 0x72, + 0x65, 0x61, 0x6d, 0x30, 0x01, 0x12, 0x70, 0x0a, 0x0c, 0x47, 0x65, 0x74, 0x43, 0x68, 0x61, 0x69, + 0x6e, 0x48, 0x65, 0x61, 0x64, 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, 0x20, 0x2e, + 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x61, + 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x43, 0x68, 0x61, 0x69, 0x6e, 0x48, 0x65, 0x61, 0x64, 0x22, + 0x26, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x20, 0x12, 0x1e, 0x2f, 0x65, 0x74, 0x68, 0x2f, 0x76, 0x31, + 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2f, 0x62, 0x65, 0x61, 0x63, 0x6f, 0x6e, 0x2f, 0x63, 0x68, + 0x61, 0x69, 0x6e, 0x68, 0x65, 0x61, 0x64, 0x12, 0xa5, 0x01, 0x0a, 0x1d, 0x47, 0x65, 0x74, 0x57, + 0x65, 0x61, 0x6b, 0x53, 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x43, + 0x68, 0x65, 0x63, 0x6b, 0x70, 0x6f, 0x69, 0x6e, 0x74, 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, 0x31, 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, + 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x57, 0x65, 0x61, 0x6b, 0x53, 0x75, + 0x62, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x70, + 0x6f, 0x69, 0x6e, 0x74, 0x22, 0x39, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x33, 0x12, 0x31, 0x2f, 0x65, + 0x74, 0x68, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2f, 0x62, 0x65, 0x61, 0x63, + 0x6f, 0x6e, 0x2f, 0x77, 0x65, 0x61, 0x6b, 0x5f, 0x73, 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x69, + 0x76, 0x69, 0x74, 0x79, 0x5f, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x12, + 0x96, 0x01, 0x0a, 0x14, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x65, 0x61, 0x63, 0x6f, 0x6e, 0x43, 0x6f, + 0x6d, 0x6d, 0x69, 0x74, 0x74, 0x65, 0x65, 0x73, 0x12, 0x2c, 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, + 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, + 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x74, 0x65, 0x65, 0x73, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x27, 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, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x74, 0x65, 0x65, 0x73, 0x22, + 0x27, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x21, 0x12, 0x1f, 0x2f, 0x65, 0x74, 0x68, 0x2f, 0x76, 0x31, + 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2f, 0x62, 0x65, 0x61, 0x63, 0x6f, 0x6e, 0x2f, 0x63, 0x6f, + 0x6d, 0x6d, 0x69, 0x74, 0x74, 0x65, 0x65, 0x73, 0x12, 0xa1, 0x01, 0x0a, 0x15, 0x4c, 0x69, 0x73, + 0x74, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, + 0x65, 0x73, 0x12, 0x33, 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, + 0x68, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x56, + 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x73, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x28, 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, + 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, + 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, + 0x73, 0x22, 0x29, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x23, 0x12, 0x21, 0x2f, 0x65, 0x74, 0x68, 0x2f, + 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, + 0x6f, 0x72, 0x73, 0x2f, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x12, 0x83, 0x01, 0x0a, + 0x0e, 0x4c, 0x69, 0x73, 0x74, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x73, 0x12, + 0x2c, 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, + 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x56, 0x61, 0x6c, 0x69, + 0x64, 0x61, 0x74, 0x6f, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, + 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x61, + 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x73, + 0x22, 0x20, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1a, 0x12, 0x18, 0x2f, 0x65, 0x74, 0x68, 0x2f, 0x76, + 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, + 0x72, 0x73, 0x12, 0x7d, 0x0a, 0x0c, 0x47, 0x65, 0x74, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, + 0x6f, 0x72, 0x12, 0x2a, 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, + 0x68, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x56, 0x61, + 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x20, + 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, + 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, + 0x22, 0x1f, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x19, 0x12, 0x17, 0x2f, 0x65, 0x74, 0x68, 0x2f, 0x76, + 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, + 0x72, 0x12, 0xb6, 0x01, 0x0a, 0x1c, 0x47, 0x65, 0x74, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, + 0x6f, 0x72, 0x41, 0x63, 0x74, 0x69, 0x76, 0x65, 0x53, 0x65, 0x74, 0x43, 0x68, 0x61, 0x6e, 0x67, + 0x65, 0x73, 0x12, 0x3a, 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, + 0x68, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x56, 0x61, + 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x41, 0x63, 0x74, 0x69, 0x76, 0x65, 0x53, 0x65, 0x74, + 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x27, + 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, + 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x41, 0x63, 0x74, 0x69, 0x76, 0x65, 0x53, 0x65, 0x74, + 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x22, 0x31, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2b, 0x12, + 0x29, 0x2f, 0x65, 0x74, 0x68, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2f, 0x76, + 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x73, 0x2f, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, + 0x73, 0x65, 0x74, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x12, 0x7a, 0x0a, 0x11, 0x47, 0x65, + 0x74, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x51, 0x75, 0x65, 0x75, 0x65, 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, 0x25, 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, + 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, + 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x51, 0x75, 0x65, 0x75, 0x65, 0x22, 0x26, + 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x20, 0x12, 0x1e, 0x2f, 0x65, 0x74, 0x68, 0x2f, 0x76, 0x31, 0x61, + 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x73, + 0x2f, 0x71, 0x75, 0x65, 0x75, 0x65, 0x12, 0xb0, 0x01, 0x0a, 0x17, 0x47, 0x65, 0x74, 0x56, 0x61, + 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x50, 0x65, 0x72, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, + 0x63, 0x65, 0x12, 0x32, 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, + 0x68, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x56, 0x61, 0x6c, 0x69, 0x64, + 0x61, 0x74, 0x6f, 0x72, 0x50, 0x65, 0x72, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x33, 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, + 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x56, + 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x50, 0x65, 0x72, 0x66, 0x6f, 0x72, 0x6d, 0x61, + 0x6e, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x2c, 0x82, 0xd3, 0xe4, + 0x93, 0x02, 0x26, 0x12, 0x24, 0x2f, 0x65, 0x74, 0x68, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, + 0x61, 0x31, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x73, 0x2f, 0x70, 0x65, + 0x72, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x12, 0xad, 0x01, 0x0a, 0x18, 0x4c, 0x69, + 0x73, 0x74, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x41, 0x73, 0x73, 0x69, 0x67, + 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x36, 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, + 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4c, + 0x69, 0x73, 0x74, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x41, 0x73, 0x73, 0x69, + 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2b, + 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, + 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, + 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x22, 0x2c, 0x82, 0xd3, 0xe4, + 0x93, 0x02, 0x26, 0x12, 0x24, 0x2f, 0x65, 0x74, 0x68, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, + 0x61, 0x31, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x73, 0x2f, 0x61, 0x73, + 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x12, 0xbb, 0x01, 0x0a, 0x19, 0x47, 0x65, + 0x74, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x50, 0x61, 0x72, 0x74, 0x69, 0x63, + 0x69, 0x70, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x37, 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, + 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, + 0x47, 0x65, 0x74, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x50, 0x61, 0x72, 0x74, + 0x69, 0x63, 0x69, 0x70, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x1a, 0x35, 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, + 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, + 0x6f, 0x72, 0x50, 0x61, 0x72, 0x74, 0x69, 0x63, 0x69, 0x70, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x2e, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x28, 0x12, + 0x26, 0x2f, 0x65, 0x74, 0x68, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2f, 0x76, + 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x73, 0x2f, 0x70, 0x61, 0x72, 0x74, 0x69, 0x63, + 0x69, 0x70, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x73, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x42, 0x65, + 0x61, 0x63, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 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, 0x23, 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, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x22, 0x23, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1d, 0x12, + 0x1b, 0x2f, 0x65, 0x74, 0x68, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2f, 0x62, + 0x65, 0x61, 0x63, 0x6f, 0x6e, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0xa0, 0x01, 0x0a, + 0x14, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, + 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x29, 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, + 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x56, 0x61, + 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x53, 0x65, 0x74, + 0x1a, 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, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, + 0x6f, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x22, 0x33, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2d, 0x12, 0x2b, + 0x2f, 0x65, 0x74, 0x68, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2f, 0x62, 0x65, + 0x61, 0x63, 0x6f, 0x6e, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x73, 0x2f, + 0x69, 0x6e, 0x66, 0x6f, 0x2f, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x28, 0x01, 0x30, 0x01, 0x12, + 0xa8, 0x01, 0x0a, 0x16, 0x53, 0x75, 0x62, 0x6d, 0x69, 0x74, 0x41, 0x74, 0x74, 0x65, 0x73, 0x74, + 0x65, 0x72, 0x53, 0x6c, 0x61, 0x73, 0x68, 0x69, 0x6e, 0x67, 0x12, 0x27, 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, 0x65, 0x72, 0x53, 0x6c, 0x61, 0x73, 0x68, + 0x69, 0x6e, 0x67, 0x1a, 0x2d, 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, + 0x74, 0x68, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x53, 0x75, 0x62, 0x6d, + 0x69, 0x74, 0x53, 0x6c, 0x61, 0x73, 0x68, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x22, 0x36, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x30, 0x12, 0x2e, 0x2f, 0x65, 0x74, 0x68, + 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2f, 0x62, 0x65, 0x61, 0x63, 0x6f, 0x6e, + 0x2f, 0x73, 0x6c, 0x61, 0x73, 0x68, 0x69, 0x6e, 0x67, 0x73, 0x2f, 0x61, 0x74, 0x74, 0x65, 0x73, + 0x74, 0x65, 0x72, 0x2f, 0x73, 0x75, 0x62, 0x6d, 0x69, 0x74, 0x12, 0xa8, 0x01, 0x0a, 0x16, 0x53, + 0x75, 0x62, 0x6d, 0x69, 0x74, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x65, 0x72, 0x53, 0x6c, 0x61, + 0x73, 0x68, 0x69, 0x6e, 0x67, 0x12, 0x27, 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, + 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x72, + 0x6f, 0x70, 0x6f, 0x73, 0x65, 0x72, 0x53, 0x6c, 0x61, 0x73, 0x68, 0x69, 0x6e, 0x67, 0x1a, 0x2d, + 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, + 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x53, 0x75, 0x62, 0x6d, 0x69, 0x74, 0x53, 0x6c, 0x61, + 0x73, 0x68, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x36, 0x82, + 0xd3, 0xe4, 0x93, 0x02, 0x30, 0x12, 0x2e, 0x2f, 0x65, 0x74, 0x68, 0x2f, 0x76, 0x31, 0x61, 0x6c, + 0x70, 0x68, 0x61, 0x31, 0x2f, 0x62, 0x65, 0x61, 0x63, 0x6f, 0x6e, 0x2f, 0x73, 0x6c, 0x61, 0x73, + 0x68, 0x69, 0x6e, 0x67, 0x73, 0x2f, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x65, 0x72, 0x2f, 0x73, + 0x75, 0x62, 0x6d, 0x69, 0x74, 0x12, 0xa1, 0x01, 0x0a, 0x12, 0x47, 0x65, 0x74, 0x49, 0x6e, 0x64, + 0x69, 0x76, 0x69, 0x64, 0x75, 0x61, 0x6c, 0x56, 0x6f, 0x74, 0x65, 0x73, 0x12, 0x2d, 0x2e, 0x65, + 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x61, 0x6c, + 0x70, 0x68, 0x61, 0x31, 0x2e, 0x49, 0x6e, 0x64, 0x69, 0x76, 0x69, 0x64, 0x75, 0x61, 0x6c, 0x56, + 0x6f, 0x74, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2d, 0x2e, 0x65, 0x74, + 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, + 0x68, 0x61, 0x31, 0x2e, 0x49, 0x6e, 0x64, 0x69, 0x76, 0x69, 0x64, 0x75, 0x61, 0x6c, 0x56, 0x6f, + 0x74, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x64, 0x22, 0x2d, 0x82, 0xd3, 0xe4, 0x93, + 0x02, 0x27, 0x12, 0x25, 0x2f, 0x65, 0x74, 0x68, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, + 0x31, 0x2f, 0x62, 0x65, 0x61, 0x63, 0x6f, 0x6e, 0x2f, 0x69, 0x6e, 0x64, 0x69, 0x76, 0x69, 0x64, + 0x75, 0x61, 0x6c, 0x5f, 0x76, 0x6f, 0x74, 0x65, 0x73, 0x42, 0x97, 0x01, 0x0a, 0x19, 0x6f, 0x72, + 0x67, 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, + 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x42, 0x10, 0x42, 0x65, 0x61, 0x63, 0x6f, 0x6e, 0x43, + 0x68, 0x61, 0x69, 0x6e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x36, 0x67, 0x69, 0x74, + 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x72, 0x79, 0x73, 0x6d, 0x61, 0x74, 0x69, + 0x63, 0x6c, 0x61, 0x62, 0x73, 0x2f, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x61, 0x70, + 0x69, 0x73, 0x2f, 0x65, 0x74, 0x68, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x3b, + 0x65, 0x74, 0x68, 0xaa, 0x02, 0x15, 0x45, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x45, + 0x74, 0x68, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xca, 0x02, 0x15, 0x45, 0x74, + 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x5c, 0x45, 0x74, 0x68, 0x5c, 0x76, 0x31, 0x61, 0x6c, 0x70, + 0x68, 0x61, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_eth_v1alpha1_beacon_chain_proto_rawDescOnce sync.Once + file_eth_v1alpha1_beacon_chain_proto_rawDescData = file_eth_v1alpha1_beacon_chain_proto_rawDesc +) + +func file_eth_v1alpha1_beacon_chain_proto_rawDescGZIP() []byte { + file_eth_v1alpha1_beacon_chain_proto_rawDescOnce.Do(func() { + file_eth_v1alpha1_beacon_chain_proto_rawDescData = protoimpl.X.CompressGZIP(file_eth_v1alpha1_beacon_chain_proto_rawDescData) + }) + return file_eth_v1alpha1_beacon_chain_proto_rawDescData +} + +var file_eth_v1alpha1_beacon_chain_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_eth_v1alpha1_beacon_chain_proto_msgTypes = make([]protoimpl.MessageInfo, 41) +var file_eth_v1alpha1_beacon_chain_proto_goTypes = []interface{}{ + (SetAction)(0), // 0: ethereum.eth.v1alpha1.SetAction + (*ValidatorChangeSet)(nil), // 1: ethereum.eth.v1alpha1.ValidatorChangeSet + (*ListIndexedAttestationsRequest)(nil), // 2: ethereum.eth.v1alpha1.ListIndexedAttestationsRequest + (*ListAttestationsRequest)(nil), // 3: ethereum.eth.v1alpha1.ListAttestationsRequest + (*ListAttestationsResponse)(nil), // 4: ethereum.eth.v1alpha1.ListAttestationsResponse + (*ListIndexedAttestationsResponse)(nil), // 5: ethereum.eth.v1alpha1.ListIndexedAttestationsResponse + (*ListBlocksRequest)(nil), // 6: ethereum.eth.v1alpha1.ListBlocksRequest + (*ListBlocksResponse)(nil), // 7: ethereum.eth.v1alpha1.ListBlocksResponse + (*StreamBlocksRequest)(nil), // 8: ethereum.eth.v1alpha1.StreamBlocksRequest + (*BeaconBlockContainer)(nil), // 9: ethereum.eth.v1alpha1.BeaconBlockContainer + (*ChainHead)(nil), // 10: ethereum.eth.v1alpha1.ChainHead + (*ListCommitteesRequest)(nil), // 11: ethereum.eth.v1alpha1.ListCommitteesRequest + (*BeaconCommittees)(nil), // 12: ethereum.eth.v1alpha1.BeaconCommittees + (*ListValidatorBalancesRequest)(nil), // 13: ethereum.eth.v1alpha1.ListValidatorBalancesRequest + (*ValidatorBalances)(nil), // 14: ethereum.eth.v1alpha1.ValidatorBalances + (*ListValidatorsRequest)(nil), // 15: ethereum.eth.v1alpha1.ListValidatorsRequest + (*GetValidatorRequest)(nil), // 16: ethereum.eth.v1alpha1.GetValidatorRequest + (*Validators)(nil), // 17: ethereum.eth.v1alpha1.Validators + (*GetValidatorActiveSetChangesRequest)(nil), // 18: ethereum.eth.v1alpha1.GetValidatorActiveSetChangesRequest + (*ActiveSetChanges)(nil), // 19: ethereum.eth.v1alpha1.ActiveSetChanges + (*ValidatorPerformanceRequest)(nil), // 20: ethereum.eth.v1alpha1.ValidatorPerformanceRequest + (*ValidatorPerformanceResponse)(nil), // 21: ethereum.eth.v1alpha1.ValidatorPerformanceResponse + (*ValidatorQueue)(nil), // 22: ethereum.eth.v1alpha1.ValidatorQueue + (*ListValidatorAssignmentsRequest)(nil), // 23: ethereum.eth.v1alpha1.ListValidatorAssignmentsRequest + (*ValidatorAssignments)(nil), // 24: ethereum.eth.v1alpha1.ValidatorAssignments + (*GetValidatorParticipationRequest)(nil), // 25: ethereum.eth.v1alpha1.GetValidatorParticipationRequest + (*ValidatorParticipationResponse)(nil), // 26: ethereum.eth.v1alpha1.ValidatorParticipationResponse + (*AttestationPoolRequest)(nil), // 27: ethereum.eth.v1alpha1.AttestationPoolRequest + (*AttestationPoolResponse)(nil), // 28: ethereum.eth.v1alpha1.AttestationPoolResponse + (*BeaconConfig)(nil), // 29: ethereum.eth.v1alpha1.BeaconConfig + (*SubmitSlashingResponse)(nil), // 30: ethereum.eth.v1alpha1.SubmitSlashingResponse + (*IndividualVotesRequest)(nil), // 31: ethereum.eth.v1alpha1.IndividualVotesRequest + (*IndividualVotesRespond)(nil), // 32: ethereum.eth.v1alpha1.IndividualVotesRespond + (*WeakSubjectivityCheckpoint)(nil), // 33: ethereum.eth.v1alpha1.WeakSubjectivityCheckpoint + (*BeaconCommittees_CommitteeItem)(nil), // 34: ethereum.eth.v1alpha1.BeaconCommittees.CommitteeItem + (*BeaconCommittees_CommitteesList)(nil), // 35: ethereum.eth.v1alpha1.BeaconCommittees.CommitteesList + nil, // 36: ethereum.eth.v1alpha1.BeaconCommittees.CommitteesEntry + (*ValidatorBalances_Balance)(nil), // 37: ethereum.eth.v1alpha1.ValidatorBalances.Balance + (*Validators_ValidatorContainer)(nil), // 38: ethereum.eth.v1alpha1.Validators.ValidatorContainer + (*ValidatorAssignments_CommitteeAssignment)(nil), // 39: ethereum.eth.v1alpha1.ValidatorAssignments.CommitteeAssignment + nil, // 40: ethereum.eth.v1alpha1.BeaconConfig.ConfigEntry + (*IndividualVotesRespond_IndividualVote)(nil), // 41: ethereum.eth.v1alpha1.IndividualVotesRespond.IndividualVote + (*Attestation)(nil), // 42: ethereum.eth.v1alpha1.Attestation + (*IndexedAttestation)(nil), // 43: ethereum.eth.v1alpha1.IndexedAttestation + (*SignedBeaconBlock)(nil), // 44: ethereum.eth.v1alpha1.SignedBeaconBlock + (*ValidatorParticipation)(nil), // 45: ethereum.eth.v1alpha1.ValidatorParticipation + (*Validator)(nil), // 46: ethereum.eth.v1alpha1.Validator + (*empty.Empty)(nil), // 47: google.protobuf.Empty + (*AttesterSlashing)(nil), // 48: ethereum.eth.v1alpha1.AttesterSlashing + (*ProposerSlashing)(nil), // 49: ethereum.eth.v1alpha1.ProposerSlashing + (*ValidatorInfo)(nil), // 50: ethereum.eth.v1alpha1.ValidatorInfo +} +var file_eth_v1alpha1_beacon_chain_proto_depIdxs = []int32{ + 0, // 0: ethereum.eth.v1alpha1.ValidatorChangeSet.action:type_name -> ethereum.eth.v1alpha1.SetAction + 42, // 1: ethereum.eth.v1alpha1.ListAttestationsResponse.attestations:type_name -> ethereum.eth.v1alpha1.Attestation + 43, // 2: ethereum.eth.v1alpha1.ListIndexedAttestationsResponse.indexed_attestations:type_name -> ethereum.eth.v1alpha1.IndexedAttestation + 9, // 3: ethereum.eth.v1alpha1.ListBlocksResponse.blockContainers:type_name -> ethereum.eth.v1alpha1.BeaconBlockContainer + 44, // 4: ethereum.eth.v1alpha1.BeaconBlockContainer.block:type_name -> ethereum.eth.v1alpha1.SignedBeaconBlock + 36, // 5: ethereum.eth.v1alpha1.BeaconCommittees.committees:type_name -> ethereum.eth.v1alpha1.BeaconCommittees.CommitteesEntry + 37, // 6: ethereum.eth.v1alpha1.ValidatorBalances.balances:type_name -> ethereum.eth.v1alpha1.ValidatorBalances.Balance + 38, // 7: ethereum.eth.v1alpha1.Validators.validator_list:type_name -> ethereum.eth.v1alpha1.Validators.ValidatorContainer + 39, // 8: ethereum.eth.v1alpha1.ValidatorAssignments.assignments:type_name -> ethereum.eth.v1alpha1.ValidatorAssignments.CommitteeAssignment + 45, // 9: ethereum.eth.v1alpha1.ValidatorParticipationResponse.participation:type_name -> ethereum.eth.v1alpha1.ValidatorParticipation + 42, // 10: ethereum.eth.v1alpha1.AttestationPoolResponse.attestations:type_name -> ethereum.eth.v1alpha1.Attestation + 40, // 11: ethereum.eth.v1alpha1.BeaconConfig.config:type_name -> ethereum.eth.v1alpha1.BeaconConfig.ConfigEntry + 41, // 12: ethereum.eth.v1alpha1.IndividualVotesRespond.individual_votes:type_name -> ethereum.eth.v1alpha1.IndividualVotesRespond.IndividualVote + 34, // 13: ethereum.eth.v1alpha1.BeaconCommittees.CommitteesList.committees:type_name -> ethereum.eth.v1alpha1.BeaconCommittees.CommitteeItem + 35, // 14: ethereum.eth.v1alpha1.BeaconCommittees.CommitteesEntry.value:type_name -> ethereum.eth.v1alpha1.BeaconCommittees.CommitteesList + 46, // 15: ethereum.eth.v1alpha1.Validators.ValidatorContainer.validator:type_name -> ethereum.eth.v1alpha1.Validator + 3, // 16: ethereum.eth.v1alpha1.BeaconChain.ListAttestations:input_type -> ethereum.eth.v1alpha1.ListAttestationsRequest + 2, // 17: ethereum.eth.v1alpha1.BeaconChain.ListIndexedAttestations:input_type -> ethereum.eth.v1alpha1.ListIndexedAttestationsRequest + 47, // 18: ethereum.eth.v1alpha1.BeaconChain.StreamAttestations:input_type -> google.protobuf.Empty + 47, // 19: ethereum.eth.v1alpha1.BeaconChain.StreamIndexedAttestations:input_type -> google.protobuf.Empty + 27, // 20: ethereum.eth.v1alpha1.BeaconChain.AttestationPool:input_type -> ethereum.eth.v1alpha1.AttestationPoolRequest + 6, // 21: ethereum.eth.v1alpha1.BeaconChain.ListBlocks:input_type -> ethereum.eth.v1alpha1.ListBlocksRequest + 8, // 22: ethereum.eth.v1alpha1.BeaconChain.StreamBlocks:input_type -> ethereum.eth.v1alpha1.StreamBlocksRequest + 47, // 23: ethereum.eth.v1alpha1.BeaconChain.StreamChainHead:input_type -> google.protobuf.Empty + 47, // 24: ethereum.eth.v1alpha1.BeaconChain.GetChainHead:input_type -> google.protobuf.Empty + 47, // 25: ethereum.eth.v1alpha1.BeaconChain.GetWeakSubjectivityCheckpoint:input_type -> google.protobuf.Empty + 11, // 26: ethereum.eth.v1alpha1.BeaconChain.ListBeaconCommittees:input_type -> ethereum.eth.v1alpha1.ListCommitteesRequest + 13, // 27: ethereum.eth.v1alpha1.BeaconChain.ListValidatorBalances:input_type -> ethereum.eth.v1alpha1.ListValidatorBalancesRequest + 15, // 28: ethereum.eth.v1alpha1.BeaconChain.ListValidators:input_type -> ethereum.eth.v1alpha1.ListValidatorsRequest + 16, // 29: ethereum.eth.v1alpha1.BeaconChain.GetValidator:input_type -> ethereum.eth.v1alpha1.GetValidatorRequest + 18, // 30: ethereum.eth.v1alpha1.BeaconChain.GetValidatorActiveSetChanges:input_type -> ethereum.eth.v1alpha1.GetValidatorActiveSetChangesRequest + 47, // 31: ethereum.eth.v1alpha1.BeaconChain.GetValidatorQueue:input_type -> google.protobuf.Empty + 20, // 32: ethereum.eth.v1alpha1.BeaconChain.GetValidatorPerformance:input_type -> ethereum.eth.v1alpha1.ValidatorPerformanceRequest + 23, // 33: ethereum.eth.v1alpha1.BeaconChain.ListValidatorAssignments:input_type -> ethereum.eth.v1alpha1.ListValidatorAssignmentsRequest + 25, // 34: ethereum.eth.v1alpha1.BeaconChain.GetValidatorParticipation:input_type -> ethereum.eth.v1alpha1.GetValidatorParticipationRequest + 47, // 35: ethereum.eth.v1alpha1.BeaconChain.GetBeaconConfig:input_type -> google.protobuf.Empty + 1, // 36: ethereum.eth.v1alpha1.BeaconChain.StreamValidatorsInfo:input_type -> ethereum.eth.v1alpha1.ValidatorChangeSet + 48, // 37: ethereum.eth.v1alpha1.BeaconChain.SubmitAttesterSlashing:input_type -> ethereum.eth.v1alpha1.AttesterSlashing + 49, // 38: ethereum.eth.v1alpha1.BeaconChain.SubmitProposerSlashing:input_type -> ethereum.eth.v1alpha1.ProposerSlashing + 31, // 39: ethereum.eth.v1alpha1.BeaconChain.GetIndividualVotes:input_type -> ethereum.eth.v1alpha1.IndividualVotesRequest + 4, // 40: ethereum.eth.v1alpha1.BeaconChain.ListAttestations:output_type -> ethereum.eth.v1alpha1.ListAttestationsResponse + 5, // 41: ethereum.eth.v1alpha1.BeaconChain.ListIndexedAttestations:output_type -> ethereum.eth.v1alpha1.ListIndexedAttestationsResponse + 42, // 42: ethereum.eth.v1alpha1.BeaconChain.StreamAttestations:output_type -> ethereum.eth.v1alpha1.Attestation + 43, // 43: ethereum.eth.v1alpha1.BeaconChain.StreamIndexedAttestations:output_type -> ethereum.eth.v1alpha1.IndexedAttestation + 28, // 44: ethereum.eth.v1alpha1.BeaconChain.AttestationPool:output_type -> ethereum.eth.v1alpha1.AttestationPoolResponse + 7, // 45: ethereum.eth.v1alpha1.BeaconChain.ListBlocks:output_type -> ethereum.eth.v1alpha1.ListBlocksResponse + 44, // 46: ethereum.eth.v1alpha1.BeaconChain.StreamBlocks:output_type -> ethereum.eth.v1alpha1.SignedBeaconBlock + 10, // 47: ethereum.eth.v1alpha1.BeaconChain.StreamChainHead:output_type -> ethereum.eth.v1alpha1.ChainHead + 10, // 48: ethereum.eth.v1alpha1.BeaconChain.GetChainHead:output_type -> ethereum.eth.v1alpha1.ChainHead + 33, // 49: ethereum.eth.v1alpha1.BeaconChain.GetWeakSubjectivityCheckpoint:output_type -> ethereum.eth.v1alpha1.WeakSubjectivityCheckpoint + 12, // 50: ethereum.eth.v1alpha1.BeaconChain.ListBeaconCommittees:output_type -> ethereum.eth.v1alpha1.BeaconCommittees + 14, // 51: ethereum.eth.v1alpha1.BeaconChain.ListValidatorBalances:output_type -> ethereum.eth.v1alpha1.ValidatorBalances + 17, // 52: ethereum.eth.v1alpha1.BeaconChain.ListValidators:output_type -> ethereum.eth.v1alpha1.Validators + 46, // 53: ethereum.eth.v1alpha1.BeaconChain.GetValidator:output_type -> ethereum.eth.v1alpha1.Validator + 19, // 54: ethereum.eth.v1alpha1.BeaconChain.GetValidatorActiveSetChanges:output_type -> ethereum.eth.v1alpha1.ActiveSetChanges + 22, // 55: ethereum.eth.v1alpha1.BeaconChain.GetValidatorQueue:output_type -> ethereum.eth.v1alpha1.ValidatorQueue + 21, // 56: ethereum.eth.v1alpha1.BeaconChain.GetValidatorPerformance:output_type -> ethereum.eth.v1alpha1.ValidatorPerformanceResponse + 24, // 57: ethereum.eth.v1alpha1.BeaconChain.ListValidatorAssignments:output_type -> ethereum.eth.v1alpha1.ValidatorAssignments + 26, // 58: ethereum.eth.v1alpha1.BeaconChain.GetValidatorParticipation:output_type -> ethereum.eth.v1alpha1.ValidatorParticipationResponse + 29, // 59: ethereum.eth.v1alpha1.BeaconChain.GetBeaconConfig:output_type -> ethereum.eth.v1alpha1.BeaconConfig + 50, // 60: ethereum.eth.v1alpha1.BeaconChain.StreamValidatorsInfo:output_type -> ethereum.eth.v1alpha1.ValidatorInfo + 30, // 61: ethereum.eth.v1alpha1.BeaconChain.SubmitAttesterSlashing:output_type -> ethereum.eth.v1alpha1.SubmitSlashingResponse + 30, // 62: ethereum.eth.v1alpha1.BeaconChain.SubmitProposerSlashing:output_type -> ethereum.eth.v1alpha1.SubmitSlashingResponse + 32, // 63: ethereum.eth.v1alpha1.BeaconChain.GetIndividualVotes:output_type -> ethereum.eth.v1alpha1.IndividualVotesRespond + 40, // [40:64] is the sub-list for method output_type + 16, // [16:40] is the sub-list for method input_type + 16, // [16:16] is the sub-list for extension type_name + 16, // [16:16] is the sub-list for extension extendee + 0, // [0:16] is the sub-list for field type_name +} + +func init() { file_eth_v1alpha1_beacon_chain_proto_init() } +func file_eth_v1alpha1_beacon_chain_proto_init() { + if File_eth_v1alpha1_beacon_chain_proto != nil { + return + } + file_eth_v1alpha1_attestation_proto_init() + file_eth_v1alpha1_beacon_block_proto_init() + file_eth_v1alpha1_validator_proto_init() + if !protoimpl.UnsafeEnabled { + file_eth_v1alpha1_beacon_chain_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ValidatorChangeSet); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_eth_v1alpha1_beacon_chain_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListIndexedAttestationsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_eth_v1alpha1_beacon_chain_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListAttestationsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_eth_v1alpha1_beacon_chain_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListAttestationsResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_eth_v1alpha1_beacon_chain_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListIndexedAttestationsResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_eth_v1alpha1_beacon_chain_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListBlocksRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_eth_v1alpha1_beacon_chain_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListBlocksResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_eth_v1alpha1_beacon_chain_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*StreamBlocksRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_eth_v1alpha1_beacon_chain_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*BeaconBlockContainer); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_eth_v1alpha1_beacon_chain_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ChainHead); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_eth_v1alpha1_beacon_chain_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListCommitteesRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_eth_v1alpha1_beacon_chain_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*BeaconCommittees); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_eth_v1alpha1_beacon_chain_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListValidatorBalancesRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_eth_v1alpha1_beacon_chain_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ValidatorBalances); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_eth_v1alpha1_beacon_chain_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListValidatorsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_eth_v1alpha1_beacon_chain_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetValidatorRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_eth_v1alpha1_beacon_chain_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Validators); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_eth_v1alpha1_beacon_chain_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetValidatorActiveSetChangesRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_eth_v1alpha1_beacon_chain_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ActiveSetChanges); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_eth_v1alpha1_beacon_chain_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ValidatorPerformanceRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_eth_v1alpha1_beacon_chain_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ValidatorPerformanceResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_eth_v1alpha1_beacon_chain_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ValidatorQueue); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_eth_v1alpha1_beacon_chain_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListValidatorAssignmentsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_eth_v1alpha1_beacon_chain_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ValidatorAssignments); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_eth_v1alpha1_beacon_chain_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetValidatorParticipationRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_eth_v1alpha1_beacon_chain_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ValidatorParticipationResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_eth_v1alpha1_beacon_chain_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AttestationPoolRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_eth_v1alpha1_beacon_chain_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AttestationPoolResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_eth_v1alpha1_beacon_chain_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*BeaconConfig); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_eth_v1alpha1_beacon_chain_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SubmitSlashingResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_eth_v1alpha1_beacon_chain_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*IndividualVotesRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_eth_v1alpha1_beacon_chain_proto_msgTypes[31].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*IndividualVotesRespond); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_eth_v1alpha1_beacon_chain_proto_msgTypes[32].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*WeakSubjectivityCheckpoint); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_eth_v1alpha1_beacon_chain_proto_msgTypes[33].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*BeaconCommittees_CommitteeItem); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_eth_v1alpha1_beacon_chain_proto_msgTypes[34].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*BeaconCommittees_CommitteesList); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_eth_v1alpha1_beacon_chain_proto_msgTypes[36].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ValidatorBalances_Balance); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_eth_v1alpha1_beacon_chain_proto_msgTypes[37].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Validators_ValidatorContainer); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_eth_v1alpha1_beacon_chain_proto_msgTypes[38].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ValidatorAssignments_CommitteeAssignment); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_eth_v1alpha1_beacon_chain_proto_msgTypes[40].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*IndividualVotesRespond_IndividualVote); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + file_eth_v1alpha1_beacon_chain_proto_msgTypes[1].OneofWrappers = []interface{}{ + (*ListIndexedAttestationsRequest_Epoch)(nil), + (*ListIndexedAttestationsRequest_GenesisEpoch)(nil), } - return out, nil + file_eth_v1alpha1_beacon_chain_proto_msgTypes[2].OneofWrappers = []interface{}{ + (*ListAttestationsRequest_Epoch)(nil), + (*ListAttestationsRequest_GenesisEpoch)(nil), + } + file_eth_v1alpha1_beacon_chain_proto_msgTypes[5].OneofWrappers = []interface{}{ + (*ListBlocksRequest_Root)(nil), + (*ListBlocksRequest_Slot)(nil), + (*ListBlocksRequest_Epoch)(nil), + (*ListBlocksRequest_Genesis)(nil), + } + file_eth_v1alpha1_beacon_chain_proto_msgTypes[10].OneofWrappers = []interface{}{ + (*ListCommitteesRequest_Epoch)(nil), + (*ListCommitteesRequest_Genesis)(nil), + } + file_eth_v1alpha1_beacon_chain_proto_msgTypes[12].OneofWrappers = []interface{}{ + (*ListValidatorBalancesRequest_Epoch)(nil), + (*ListValidatorBalancesRequest_Genesis)(nil), + } + file_eth_v1alpha1_beacon_chain_proto_msgTypes[14].OneofWrappers = []interface{}{ + (*ListValidatorsRequest_Epoch)(nil), + (*ListValidatorsRequest_Genesis)(nil), + } + file_eth_v1alpha1_beacon_chain_proto_msgTypes[15].OneofWrappers = []interface{}{ + (*GetValidatorRequest_Index)(nil), + (*GetValidatorRequest_PublicKey)(nil), + } + file_eth_v1alpha1_beacon_chain_proto_msgTypes[17].OneofWrappers = []interface{}{ + (*GetValidatorActiveSetChangesRequest_Epoch)(nil), + (*GetValidatorActiveSetChangesRequest_Genesis)(nil), + } + file_eth_v1alpha1_beacon_chain_proto_msgTypes[22].OneofWrappers = []interface{}{ + (*ListValidatorAssignmentsRequest_Epoch)(nil), + (*ListValidatorAssignmentsRequest_Genesis)(nil), + } + file_eth_v1alpha1_beacon_chain_proto_msgTypes[24].OneofWrappers = []interface{}{ + (*GetValidatorParticipationRequest_Epoch)(nil), + (*GetValidatorParticipationRequest_Genesis)(nil), + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_eth_v1alpha1_beacon_chain_proto_rawDesc, + NumEnums: 1, + NumMessages: 41, + NumExtensions: 0, + NumServices: 1, + }, + GoTypes: file_eth_v1alpha1_beacon_chain_proto_goTypes, + DependencyIndexes: file_eth_v1alpha1_beacon_chain_proto_depIdxs, + EnumInfos: file_eth_v1alpha1_beacon_chain_proto_enumTypes, + MessageInfos: file_eth_v1alpha1_beacon_chain_proto_msgTypes, + }.Build() + File_eth_v1alpha1_beacon_chain_proto = out.File + file_eth_v1alpha1_beacon_chain_proto_rawDesc = nil + file_eth_v1alpha1_beacon_chain_proto_goTypes = nil + file_eth_v1alpha1_beacon_chain_proto_depIdxs = nil } -func (c *beaconChainClient) GetValidatorParticipation(ctx context.Context, in *GetValidatorParticipationRequest, opts ...grpc.CallOption) (*ValidatorParticipationResponse, error) { - out := new(ValidatorParticipationResponse) - err := c.cc.Invoke(ctx, "/ethereum.eth.v1alpha1.BeaconChain/GetValidatorParticipation", in, out, opts...) +// Reference imports to suppress errors if they are not otherwise used. +var _ context.Context +var _ grpc.ClientConnInterface + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the grpc package it is being compiled against. +const _ = grpc.SupportPackageIsVersion6 + +// BeaconChainClient is the client API for BeaconChain service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. +type BeaconChainClient interface { + ListAttestations(ctx context.Context, in *ListAttestationsRequest, opts ...grpc.CallOption) (*ListAttestationsResponse, error) + ListIndexedAttestations(ctx context.Context, in *ListIndexedAttestationsRequest, opts ...grpc.CallOption) (*ListIndexedAttestationsResponse, error) + StreamAttestations(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (BeaconChain_StreamAttestationsClient, error) + StreamIndexedAttestations(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (BeaconChain_StreamIndexedAttestationsClient, error) + AttestationPool(ctx context.Context, in *AttestationPoolRequest, opts ...grpc.CallOption) (*AttestationPoolResponse, error) + ListBlocks(ctx context.Context, in *ListBlocksRequest, opts ...grpc.CallOption) (*ListBlocksResponse, error) + StreamBlocks(ctx context.Context, in *StreamBlocksRequest, opts ...grpc.CallOption) (BeaconChain_StreamBlocksClient, error) + StreamChainHead(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (BeaconChain_StreamChainHeadClient, error) + GetChainHead(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*ChainHead, error) + GetWeakSubjectivityCheckpoint(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*WeakSubjectivityCheckpoint, error) + ListBeaconCommittees(ctx context.Context, in *ListCommitteesRequest, opts ...grpc.CallOption) (*BeaconCommittees, error) + ListValidatorBalances(ctx context.Context, in *ListValidatorBalancesRequest, opts ...grpc.CallOption) (*ValidatorBalances, error) + ListValidators(ctx context.Context, in *ListValidatorsRequest, opts ...grpc.CallOption) (*Validators, error) + GetValidator(ctx context.Context, in *GetValidatorRequest, opts ...grpc.CallOption) (*Validator, error) + GetValidatorActiveSetChanges(ctx context.Context, in *GetValidatorActiveSetChangesRequest, opts ...grpc.CallOption) (*ActiveSetChanges, error) + GetValidatorQueue(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*ValidatorQueue, error) + GetValidatorPerformance(ctx context.Context, in *ValidatorPerformanceRequest, opts ...grpc.CallOption) (*ValidatorPerformanceResponse, error) + ListValidatorAssignments(ctx context.Context, in *ListValidatorAssignmentsRequest, opts ...grpc.CallOption) (*ValidatorAssignments, error) + GetValidatorParticipation(ctx context.Context, in *GetValidatorParticipationRequest, opts ...grpc.CallOption) (*ValidatorParticipationResponse, error) + GetBeaconConfig(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*BeaconConfig, error) + StreamValidatorsInfo(ctx context.Context, opts ...grpc.CallOption) (BeaconChain_StreamValidatorsInfoClient, error) + SubmitAttesterSlashing(ctx context.Context, in *AttesterSlashing, opts ...grpc.CallOption) (*SubmitSlashingResponse, error) + SubmitProposerSlashing(ctx context.Context, in *ProposerSlashing, opts ...grpc.CallOption) (*SubmitSlashingResponse, error) + GetIndividualVotes(ctx context.Context, in *IndividualVotesRequest, opts ...grpc.CallOption) (*IndividualVotesRespond, error) +} + +type beaconChainClient struct { + cc grpc.ClientConnInterface +} + +func NewBeaconChainClient(cc grpc.ClientConnInterface) BeaconChainClient { + return &beaconChainClient{cc} +} + +func (c *beaconChainClient) ListAttestations(ctx context.Context, in *ListAttestationsRequest, opts ...grpc.CallOption) (*ListAttestationsResponse, error) { + out := new(ListAttestationsResponse) + err := c.cc.Invoke(ctx, "/ethereum.eth.v1alpha1.BeaconChain/ListAttestations", in, out, opts...) if err != nil { return nil, err } return out, nil } -func (c *beaconChainClient) GetBeaconConfig(ctx context.Context, in *types.Empty, opts ...grpc.CallOption) (*BeaconConfig, error) { - out := new(BeaconConfig) - err := c.cc.Invoke(ctx, "/ethereum.eth.v1alpha1.BeaconChain/GetBeaconConfig", in, out, opts...) +func (c *beaconChainClient) ListIndexedAttestations(ctx context.Context, in *ListIndexedAttestationsRequest, opts ...grpc.CallOption) (*ListIndexedAttestationsResponse, error) { + out := new(ListIndexedAttestationsResponse) + err := c.cc.Invoke(ctx, "/ethereum.eth.v1alpha1.BeaconChain/ListIndexedAttestations", in, out, opts...) if err != nil { return nil, err } return out, nil } -func (c *beaconChainClient) StreamValidatorsInfo(ctx context.Context, opts ...grpc.CallOption) (BeaconChain_StreamValidatorsInfoClient, error) { - stream, err := c.cc.NewStream(ctx, &_BeaconChain_serviceDesc.Streams[4], "/ethereum.eth.v1alpha1.BeaconChain/StreamValidatorsInfo", opts...) +func (c *beaconChainClient) StreamAttestations(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (BeaconChain_StreamAttestationsClient, error) { + stream, err := c.cc.NewStream(ctx, &_BeaconChain_serviceDesc.Streams[0], "/ethereum.eth.v1alpha1.BeaconChain/StreamAttestations", opts...) if err != nil { return nil, err } - x := &beaconChainStreamValidatorsInfoClient{stream} + x := &beaconChainStreamAttestationsClient{stream} + if err := x.ClientStream.SendMsg(in); err != nil { + return nil, err + } + if err := x.ClientStream.CloseSend(); err != nil { + return nil, err + } return x, nil } -type BeaconChain_StreamValidatorsInfoClient interface { - Send(*ValidatorChangeSet) error - Recv() (*ValidatorInfo, error) +type BeaconChain_StreamAttestationsClient interface { + Recv() (*Attestation, error) grpc.ClientStream } -type beaconChainStreamValidatorsInfoClient struct { +type beaconChainStreamAttestationsClient struct { grpc.ClientStream } -func (x *beaconChainStreamValidatorsInfoClient) Send(m *ValidatorChangeSet) error { - return x.ClientStream.SendMsg(m) -} - -func (x *beaconChainStreamValidatorsInfoClient) Recv() (*ValidatorInfo, error) { - m := new(ValidatorInfo) +func (x *beaconChainStreamAttestationsClient) Recv() (*Attestation, error) { + m := new(Attestation) if err := x.ClientStream.RecvMsg(m); err != nil { return nil, err } return m, nil } -func (c *beaconChainClient) SubmitAttesterSlashing(ctx context.Context, in *AttesterSlashing, opts ...grpc.CallOption) (*SubmitSlashingResponse, error) { - out := new(SubmitSlashingResponse) - err := c.cc.Invoke(ctx, "/ethereum.eth.v1alpha1.BeaconChain/SubmitAttesterSlashing", in, out, opts...) +func (c *beaconChainClient) StreamIndexedAttestations(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (BeaconChain_StreamIndexedAttestationsClient, error) { + stream, err := c.cc.NewStream(ctx, &_BeaconChain_serviceDesc.Streams[1], "/ethereum.eth.v1alpha1.BeaconChain/StreamIndexedAttestations", opts...) if err != nil { return nil, err } - return out, nil -} - -func (c *beaconChainClient) SubmitProposerSlashing(ctx context.Context, in *ProposerSlashing, opts ...grpc.CallOption) (*SubmitSlashingResponse, error) { - out := new(SubmitSlashingResponse) + x := &beaconChainStreamIndexedAttestationsClient{stream} + if err := x.ClientStream.SendMsg(in); err != nil { + return nil, err + } + if err := x.ClientStream.CloseSend(); err != nil { + return nil, err + } + return x, nil +} + +type BeaconChain_StreamIndexedAttestationsClient interface { + Recv() (*IndexedAttestation, error) + grpc.ClientStream +} + +type beaconChainStreamIndexedAttestationsClient struct { + grpc.ClientStream +} + +func (x *beaconChainStreamIndexedAttestationsClient) Recv() (*IndexedAttestation, error) { + m := new(IndexedAttestation) + if err := x.ClientStream.RecvMsg(m); err != nil { + return nil, err + } + return m, nil +} + +func (c *beaconChainClient) AttestationPool(ctx context.Context, in *AttestationPoolRequest, opts ...grpc.CallOption) (*AttestationPoolResponse, error) { + out := new(AttestationPoolResponse) + err := c.cc.Invoke(ctx, "/ethereum.eth.v1alpha1.BeaconChain/AttestationPool", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *beaconChainClient) ListBlocks(ctx context.Context, in *ListBlocksRequest, opts ...grpc.CallOption) (*ListBlocksResponse, error) { + out := new(ListBlocksResponse) + err := c.cc.Invoke(ctx, "/ethereum.eth.v1alpha1.BeaconChain/ListBlocks", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *beaconChainClient) StreamBlocks(ctx context.Context, in *StreamBlocksRequest, opts ...grpc.CallOption) (BeaconChain_StreamBlocksClient, error) { + stream, err := c.cc.NewStream(ctx, &_BeaconChain_serviceDesc.Streams[2], "/ethereum.eth.v1alpha1.BeaconChain/StreamBlocks", opts...) + if err != nil { + return nil, err + } + x := &beaconChainStreamBlocksClient{stream} + if err := x.ClientStream.SendMsg(in); err != nil { + return nil, err + } + if err := x.ClientStream.CloseSend(); err != nil { + return nil, err + } + return x, nil +} + +type BeaconChain_StreamBlocksClient interface { + Recv() (*SignedBeaconBlock, error) + grpc.ClientStream +} + +type beaconChainStreamBlocksClient struct { + grpc.ClientStream +} + +func (x *beaconChainStreamBlocksClient) Recv() (*SignedBeaconBlock, error) { + m := new(SignedBeaconBlock) + if err := x.ClientStream.RecvMsg(m); err != nil { + return nil, err + } + return m, nil +} + +func (c *beaconChainClient) StreamChainHead(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (BeaconChain_StreamChainHeadClient, error) { + stream, err := c.cc.NewStream(ctx, &_BeaconChain_serviceDesc.Streams[3], "/ethereum.eth.v1alpha1.BeaconChain/StreamChainHead", opts...) + if err != nil { + return nil, err + } + x := &beaconChainStreamChainHeadClient{stream} + if err := x.ClientStream.SendMsg(in); err != nil { + return nil, err + } + if err := x.ClientStream.CloseSend(); err != nil { + return nil, err + } + return x, nil +} + +type BeaconChain_StreamChainHeadClient interface { + Recv() (*ChainHead, error) + grpc.ClientStream +} + +type beaconChainStreamChainHeadClient struct { + grpc.ClientStream +} + +func (x *beaconChainStreamChainHeadClient) Recv() (*ChainHead, error) { + m := new(ChainHead) + if err := x.ClientStream.RecvMsg(m); err != nil { + return nil, err + } + return m, nil +} + +func (c *beaconChainClient) GetChainHead(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*ChainHead, error) { + out := new(ChainHead) + err := c.cc.Invoke(ctx, "/ethereum.eth.v1alpha1.BeaconChain/GetChainHead", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *beaconChainClient) GetWeakSubjectivityCheckpoint(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*WeakSubjectivityCheckpoint, error) { + out := new(WeakSubjectivityCheckpoint) + err := c.cc.Invoke(ctx, "/ethereum.eth.v1alpha1.BeaconChain/GetWeakSubjectivityCheckpoint", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *beaconChainClient) ListBeaconCommittees(ctx context.Context, in *ListCommitteesRequest, opts ...grpc.CallOption) (*BeaconCommittees, error) { + out := new(BeaconCommittees) + err := c.cc.Invoke(ctx, "/ethereum.eth.v1alpha1.BeaconChain/ListBeaconCommittees", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *beaconChainClient) ListValidatorBalances(ctx context.Context, in *ListValidatorBalancesRequest, opts ...grpc.CallOption) (*ValidatorBalances, error) { + out := new(ValidatorBalances) + err := c.cc.Invoke(ctx, "/ethereum.eth.v1alpha1.BeaconChain/ListValidatorBalances", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *beaconChainClient) ListValidators(ctx context.Context, in *ListValidatorsRequest, opts ...grpc.CallOption) (*Validators, error) { + out := new(Validators) + err := c.cc.Invoke(ctx, "/ethereum.eth.v1alpha1.BeaconChain/ListValidators", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *beaconChainClient) GetValidator(ctx context.Context, in *GetValidatorRequest, opts ...grpc.CallOption) (*Validator, error) { + out := new(Validator) + err := c.cc.Invoke(ctx, "/ethereum.eth.v1alpha1.BeaconChain/GetValidator", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *beaconChainClient) GetValidatorActiveSetChanges(ctx context.Context, in *GetValidatorActiveSetChangesRequest, opts ...grpc.CallOption) (*ActiveSetChanges, error) { + out := new(ActiveSetChanges) + err := c.cc.Invoke(ctx, "/ethereum.eth.v1alpha1.BeaconChain/GetValidatorActiveSetChanges", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *beaconChainClient) GetValidatorQueue(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*ValidatorQueue, error) { + out := new(ValidatorQueue) + err := c.cc.Invoke(ctx, "/ethereum.eth.v1alpha1.BeaconChain/GetValidatorQueue", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *beaconChainClient) GetValidatorPerformance(ctx context.Context, in *ValidatorPerformanceRequest, opts ...grpc.CallOption) (*ValidatorPerformanceResponse, error) { + out := new(ValidatorPerformanceResponse) + err := c.cc.Invoke(ctx, "/ethereum.eth.v1alpha1.BeaconChain/GetValidatorPerformance", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *beaconChainClient) ListValidatorAssignments(ctx context.Context, in *ListValidatorAssignmentsRequest, opts ...grpc.CallOption) (*ValidatorAssignments, error) { + out := new(ValidatorAssignments) + err := c.cc.Invoke(ctx, "/ethereum.eth.v1alpha1.BeaconChain/ListValidatorAssignments", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *beaconChainClient) GetValidatorParticipation(ctx context.Context, in *GetValidatorParticipationRequest, opts ...grpc.CallOption) (*ValidatorParticipationResponse, error) { + out := new(ValidatorParticipationResponse) + err := c.cc.Invoke(ctx, "/ethereum.eth.v1alpha1.BeaconChain/GetValidatorParticipation", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *beaconChainClient) GetBeaconConfig(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*BeaconConfig, error) { + out := new(BeaconConfig) + err := c.cc.Invoke(ctx, "/ethereum.eth.v1alpha1.BeaconChain/GetBeaconConfig", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *beaconChainClient) StreamValidatorsInfo(ctx context.Context, opts ...grpc.CallOption) (BeaconChain_StreamValidatorsInfoClient, error) { + stream, err := c.cc.NewStream(ctx, &_BeaconChain_serviceDesc.Streams[4], "/ethereum.eth.v1alpha1.BeaconChain/StreamValidatorsInfo", opts...) + if err != nil { + return nil, err + } + x := &beaconChainStreamValidatorsInfoClient{stream} + return x, nil +} + +type BeaconChain_StreamValidatorsInfoClient interface { + Send(*ValidatorChangeSet) error + Recv() (*ValidatorInfo, error) + grpc.ClientStream +} + +type beaconChainStreamValidatorsInfoClient struct { + grpc.ClientStream +} + +func (x *beaconChainStreamValidatorsInfoClient) Send(m *ValidatorChangeSet) error { + return x.ClientStream.SendMsg(m) +} + +func (x *beaconChainStreamValidatorsInfoClient) Recv() (*ValidatorInfo, error) { + m := new(ValidatorInfo) + if err := x.ClientStream.RecvMsg(m); err != nil { + return nil, err + } + return m, nil +} + +func (c *beaconChainClient) SubmitAttesterSlashing(ctx context.Context, in *AttesterSlashing, opts ...grpc.CallOption) (*SubmitSlashingResponse, error) { + out := new(SubmitSlashingResponse) + err := c.cc.Invoke(ctx, "/ethereum.eth.v1alpha1.BeaconChain/SubmitAttesterSlashing", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *beaconChainClient) SubmitProposerSlashing(ctx context.Context, in *ProposerSlashing, opts ...grpc.CallOption) (*SubmitSlashingResponse, error) { + out := new(SubmitSlashingResponse) err := c.cc.Invoke(ctx, "/ethereum.eth.v1alpha1.BeaconChain/SubmitProposerSlashing", in, out, opts...) if err != nil { return nil, err @@ -3827,24 +5120,24 @@ func (c *beaconChainClient) GetIndividualVotes(ctx context.Context, in *Individu type BeaconChainServer interface { ListAttestations(context.Context, *ListAttestationsRequest) (*ListAttestationsResponse, error) ListIndexedAttestations(context.Context, *ListIndexedAttestationsRequest) (*ListIndexedAttestationsResponse, error) - StreamAttestations(*types.Empty, BeaconChain_StreamAttestationsServer) error - StreamIndexedAttestations(*types.Empty, BeaconChain_StreamIndexedAttestationsServer) error + StreamAttestations(*empty.Empty, BeaconChain_StreamAttestationsServer) error + StreamIndexedAttestations(*empty.Empty, BeaconChain_StreamIndexedAttestationsServer) error AttestationPool(context.Context, *AttestationPoolRequest) (*AttestationPoolResponse, error) ListBlocks(context.Context, *ListBlocksRequest) (*ListBlocksResponse, error) StreamBlocks(*StreamBlocksRequest, BeaconChain_StreamBlocksServer) error - StreamChainHead(*types.Empty, BeaconChain_StreamChainHeadServer) error - GetChainHead(context.Context, *types.Empty) (*ChainHead, error) - GetWeakSubjectivityCheckpoint(context.Context, *types.Empty) (*WeakSubjectivityCheckpoint, error) + StreamChainHead(*empty.Empty, BeaconChain_StreamChainHeadServer) error + GetChainHead(context.Context, *empty.Empty) (*ChainHead, error) + GetWeakSubjectivityCheckpoint(context.Context, *empty.Empty) (*WeakSubjectivityCheckpoint, error) ListBeaconCommittees(context.Context, *ListCommitteesRequest) (*BeaconCommittees, error) ListValidatorBalances(context.Context, *ListValidatorBalancesRequest) (*ValidatorBalances, error) ListValidators(context.Context, *ListValidatorsRequest) (*Validators, error) GetValidator(context.Context, *GetValidatorRequest) (*Validator, error) GetValidatorActiveSetChanges(context.Context, *GetValidatorActiveSetChangesRequest) (*ActiveSetChanges, error) - GetValidatorQueue(context.Context, *types.Empty) (*ValidatorQueue, error) + GetValidatorQueue(context.Context, *empty.Empty) (*ValidatorQueue, error) GetValidatorPerformance(context.Context, *ValidatorPerformanceRequest) (*ValidatorPerformanceResponse, error) ListValidatorAssignments(context.Context, *ListValidatorAssignmentsRequest) (*ValidatorAssignments, error) GetValidatorParticipation(context.Context, *GetValidatorParticipationRequest) (*ValidatorParticipationResponse, error) - GetBeaconConfig(context.Context, *types.Empty) (*BeaconConfig, error) + GetBeaconConfig(context.Context, *empty.Empty) (*BeaconConfig, error) StreamValidatorsInfo(BeaconChain_StreamValidatorsInfoServer) error SubmitAttesterSlashing(context.Context, *AttesterSlashing) (*SubmitSlashingResponse, error) SubmitProposerSlashing(context.Context, *ProposerSlashing) (*SubmitSlashingResponse, error) @@ -3855,76 +5148,76 @@ type BeaconChainServer interface { type UnimplementedBeaconChainServer struct { } -func (*UnimplementedBeaconChainServer) ListAttestations(ctx context.Context, req *ListAttestationsRequest) (*ListAttestationsResponse, error) { +func (*UnimplementedBeaconChainServer) ListAttestations(context.Context, *ListAttestationsRequest) (*ListAttestationsResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method ListAttestations not implemented") } -func (*UnimplementedBeaconChainServer) ListIndexedAttestations(ctx context.Context, req *ListIndexedAttestationsRequest) (*ListIndexedAttestationsResponse, error) { +func (*UnimplementedBeaconChainServer) ListIndexedAttestations(context.Context, *ListIndexedAttestationsRequest) (*ListIndexedAttestationsResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method ListIndexedAttestations not implemented") } -func (*UnimplementedBeaconChainServer) StreamAttestations(req *types.Empty, srv BeaconChain_StreamAttestationsServer) error { +func (*UnimplementedBeaconChainServer) StreamAttestations(*empty.Empty, BeaconChain_StreamAttestationsServer) error { return status.Errorf(codes.Unimplemented, "method StreamAttestations not implemented") } -func (*UnimplementedBeaconChainServer) StreamIndexedAttestations(req *types.Empty, srv BeaconChain_StreamIndexedAttestationsServer) error { +func (*UnimplementedBeaconChainServer) StreamIndexedAttestations(*empty.Empty, BeaconChain_StreamIndexedAttestationsServer) error { return status.Errorf(codes.Unimplemented, "method StreamIndexedAttestations not implemented") } -func (*UnimplementedBeaconChainServer) AttestationPool(ctx context.Context, req *AttestationPoolRequest) (*AttestationPoolResponse, error) { +func (*UnimplementedBeaconChainServer) AttestationPool(context.Context, *AttestationPoolRequest) (*AttestationPoolResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method AttestationPool not implemented") } -func (*UnimplementedBeaconChainServer) ListBlocks(ctx context.Context, req *ListBlocksRequest) (*ListBlocksResponse, error) { +func (*UnimplementedBeaconChainServer) ListBlocks(context.Context, *ListBlocksRequest) (*ListBlocksResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method ListBlocks not implemented") } -func (*UnimplementedBeaconChainServer) StreamBlocks(req *StreamBlocksRequest, srv BeaconChain_StreamBlocksServer) error { +func (*UnimplementedBeaconChainServer) StreamBlocks(*StreamBlocksRequest, BeaconChain_StreamBlocksServer) error { return status.Errorf(codes.Unimplemented, "method StreamBlocks not implemented") } -func (*UnimplementedBeaconChainServer) StreamChainHead(req *types.Empty, srv BeaconChain_StreamChainHeadServer) error { +func (*UnimplementedBeaconChainServer) StreamChainHead(*empty.Empty, BeaconChain_StreamChainHeadServer) error { return status.Errorf(codes.Unimplemented, "method StreamChainHead not implemented") } -func (*UnimplementedBeaconChainServer) GetChainHead(ctx context.Context, req *types.Empty) (*ChainHead, error) { +func (*UnimplementedBeaconChainServer) GetChainHead(context.Context, *empty.Empty) (*ChainHead, error) { return nil, status.Errorf(codes.Unimplemented, "method GetChainHead not implemented") } -func (*UnimplementedBeaconChainServer) GetWeakSubjectivityCheckpoint(ctx context.Context, req *types.Empty) (*WeakSubjectivityCheckpoint, error) { +func (*UnimplementedBeaconChainServer) GetWeakSubjectivityCheckpoint(context.Context, *empty.Empty) (*WeakSubjectivityCheckpoint, error) { return nil, status.Errorf(codes.Unimplemented, "method GetWeakSubjectivityCheckpoint not implemented") } -func (*UnimplementedBeaconChainServer) ListBeaconCommittees(ctx context.Context, req *ListCommitteesRequest) (*BeaconCommittees, error) { +func (*UnimplementedBeaconChainServer) ListBeaconCommittees(context.Context, *ListCommitteesRequest) (*BeaconCommittees, error) { return nil, status.Errorf(codes.Unimplemented, "method ListBeaconCommittees not implemented") } -func (*UnimplementedBeaconChainServer) ListValidatorBalances(ctx context.Context, req *ListValidatorBalancesRequest) (*ValidatorBalances, error) { +func (*UnimplementedBeaconChainServer) ListValidatorBalances(context.Context, *ListValidatorBalancesRequest) (*ValidatorBalances, error) { return nil, status.Errorf(codes.Unimplemented, "method ListValidatorBalances not implemented") } -func (*UnimplementedBeaconChainServer) ListValidators(ctx context.Context, req *ListValidatorsRequest) (*Validators, error) { +func (*UnimplementedBeaconChainServer) ListValidators(context.Context, *ListValidatorsRequest) (*Validators, error) { return nil, status.Errorf(codes.Unimplemented, "method ListValidators not implemented") } -func (*UnimplementedBeaconChainServer) GetValidator(ctx context.Context, req *GetValidatorRequest) (*Validator, error) { +func (*UnimplementedBeaconChainServer) GetValidator(context.Context, *GetValidatorRequest) (*Validator, error) { return nil, status.Errorf(codes.Unimplemented, "method GetValidator not implemented") } -func (*UnimplementedBeaconChainServer) GetValidatorActiveSetChanges(ctx context.Context, req *GetValidatorActiveSetChangesRequest) (*ActiveSetChanges, error) { +func (*UnimplementedBeaconChainServer) GetValidatorActiveSetChanges(context.Context, *GetValidatorActiveSetChangesRequest) (*ActiveSetChanges, error) { return nil, status.Errorf(codes.Unimplemented, "method GetValidatorActiveSetChanges not implemented") } -func (*UnimplementedBeaconChainServer) GetValidatorQueue(ctx context.Context, req *types.Empty) (*ValidatorQueue, error) { +func (*UnimplementedBeaconChainServer) GetValidatorQueue(context.Context, *empty.Empty) (*ValidatorQueue, error) { return nil, status.Errorf(codes.Unimplemented, "method GetValidatorQueue not implemented") } -func (*UnimplementedBeaconChainServer) GetValidatorPerformance(ctx context.Context, req *ValidatorPerformanceRequest) (*ValidatorPerformanceResponse, error) { +func (*UnimplementedBeaconChainServer) GetValidatorPerformance(context.Context, *ValidatorPerformanceRequest) (*ValidatorPerformanceResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method GetValidatorPerformance not implemented") } -func (*UnimplementedBeaconChainServer) ListValidatorAssignments(ctx context.Context, req *ListValidatorAssignmentsRequest) (*ValidatorAssignments, error) { +func (*UnimplementedBeaconChainServer) ListValidatorAssignments(context.Context, *ListValidatorAssignmentsRequest) (*ValidatorAssignments, error) { return nil, status.Errorf(codes.Unimplemented, "method ListValidatorAssignments not implemented") } -func (*UnimplementedBeaconChainServer) GetValidatorParticipation(ctx context.Context, req *GetValidatorParticipationRequest) (*ValidatorParticipationResponse, error) { +func (*UnimplementedBeaconChainServer) GetValidatorParticipation(context.Context, *GetValidatorParticipationRequest) (*ValidatorParticipationResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method GetValidatorParticipation not implemented") } -func (*UnimplementedBeaconChainServer) GetBeaconConfig(ctx context.Context, req *types.Empty) (*BeaconConfig, error) { +func (*UnimplementedBeaconChainServer) GetBeaconConfig(context.Context, *empty.Empty) (*BeaconConfig, error) { return nil, status.Errorf(codes.Unimplemented, "method GetBeaconConfig not implemented") } -func (*UnimplementedBeaconChainServer) StreamValidatorsInfo(srv BeaconChain_StreamValidatorsInfoServer) error { +func (*UnimplementedBeaconChainServer) StreamValidatorsInfo(BeaconChain_StreamValidatorsInfoServer) error { return status.Errorf(codes.Unimplemented, "method StreamValidatorsInfo not implemented") } -func (*UnimplementedBeaconChainServer) SubmitAttesterSlashing(ctx context.Context, req *AttesterSlashing) (*SubmitSlashingResponse, error) { +func (*UnimplementedBeaconChainServer) SubmitAttesterSlashing(context.Context, *AttesterSlashing) (*SubmitSlashingResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method SubmitAttesterSlashing not implemented") } -func (*UnimplementedBeaconChainServer) SubmitProposerSlashing(ctx context.Context, req *ProposerSlashing) (*SubmitSlashingResponse, error) { +func (*UnimplementedBeaconChainServer) SubmitProposerSlashing(context.Context, *ProposerSlashing) (*SubmitSlashingResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method SubmitProposerSlashing not implemented") } -func (*UnimplementedBeaconChainServer) GetIndividualVotes(ctx context.Context, req *IndividualVotesRequest) (*IndividualVotesRespond, error) { +func (*UnimplementedBeaconChainServer) GetIndividualVotes(context.Context, *IndividualVotesRequest) (*IndividualVotesRespond, error) { return nil, status.Errorf(codes.Unimplemented, "method GetIndividualVotes not implemented") } @@ -3969,7 +5262,7 @@ func _BeaconChain_ListIndexedAttestations_Handler(srv interface{}, ctx context.C } func _BeaconChain_StreamAttestations_Handler(srv interface{}, stream grpc.ServerStream) error { - m := new(types.Empty) + m := new(empty.Empty) if err := stream.RecvMsg(m); err != nil { return err } @@ -3990,7 +5283,7 @@ func (x *beaconChainStreamAttestationsServer) Send(m *Attestation) error { } func _BeaconChain_StreamIndexedAttestations_Handler(srv interface{}, stream grpc.ServerStream) error { - m := new(types.Empty) + m := new(empty.Empty) if err := stream.RecvMsg(m); err != nil { return err } @@ -4068,7 +5361,7 @@ func (x *beaconChainStreamBlocksServer) Send(m *SignedBeaconBlock) error { } func _BeaconChain_StreamChainHead_Handler(srv interface{}, stream grpc.ServerStream) error { - m := new(types.Empty) + m := new(empty.Empty) if err := stream.RecvMsg(m); err != nil { return err } @@ -4089,7 +5382,7 @@ func (x *beaconChainStreamChainHeadServer) Send(m *ChainHead) error { } func _BeaconChain_GetChainHead_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(types.Empty) + in := new(empty.Empty) if err := dec(in); err != nil { return nil, err } @@ -4101,13 +5394,13 @@ func _BeaconChain_GetChainHead_Handler(srv interface{}, ctx context.Context, dec FullMethod: "/ethereum.eth.v1alpha1.BeaconChain/GetChainHead", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(BeaconChainServer).GetChainHead(ctx, req.(*types.Empty)) + return srv.(BeaconChainServer).GetChainHead(ctx, req.(*empty.Empty)) } return interceptor(ctx, in, info, handler) } func _BeaconChain_GetWeakSubjectivityCheckpoint_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(types.Empty) + in := new(empty.Empty) if err := dec(in); err != nil { return nil, err } @@ -4119,7 +5412,7 @@ func _BeaconChain_GetWeakSubjectivityCheckpoint_Handler(srv interface{}, ctx con FullMethod: "/ethereum.eth.v1alpha1.BeaconChain/GetWeakSubjectivityCheckpoint", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(BeaconChainServer).GetWeakSubjectivityCheckpoint(ctx, req.(*types.Empty)) + return srv.(BeaconChainServer).GetWeakSubjectivityCheckpoint(ctx, req.(*empty.Empty)) } return interceptor(ctx, in, info, handler) } @@ -4215,7 +5508,7 @@ func _BeaconChain_GetValidatorActiveSetChanges_Handler(srv interface{}, ctx cont } func _BeaconChain_GetValidatorQueue_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(types.Empty) + in := new(empty.Empty) if err := dec(in); err != nil { return nil, err } @@ -4227,7 +5520,7 @@ func _BeaconChain_GetValidatorQueue_Handler(srv interface{}, ctx context.Context FullMethod: "/ethereum.eth.v1alpha1.BeaconChain/GetValidatorQueue", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(BeaconChainServer).GetValidatorQueue(ctx, req.(*types.Empty)) + return srv.(BeaconChainServer).GetValidatorQueue(ctx, req.(*empty.Empty)) } return interceptor(ctx, in, info, handler) } @@ -4287,7 +5580,7 @@ func _BeaconChain_GetValidatorParticipation_Handler(srv interface{}, ctx context } func _BeaconChain_GetBeaconConfig_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(types.Empty) + in := new(empty.Empty) if err := dec(in); err != nil { return nil, err } @@ -4299,7 +5592,7 @@ func _BeaconChain_GetBeaconConfig_Handler(srv interface{}, ctx context.Context, FullMethod: "/ethereum.eth.v1alpha1.BeaconChain/GetBeaconConfig", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(BeaconChainServer).GetBeaconConfig(ctx, req.(*types.Empty)) + return srv.(BeaconChainServer).GetBeaconConfig(ctx, req.(*empty.Empty)) } return interceptor(ctx, in, info, handler) } @@ -4495,11464 +5788,3 @@ var _BeaconChain_serviceDesc = grpc.ServiceDesc{ }, Metadata: "eth/v1alpha1/beacon_chain.proto", } - -func (m *ValidatorChangeSet) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *ValidatorChangeSet) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *ValidatorChangeSet) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if len(m.PublicKeys) > 0 { - for iNdEx := len(m.PublicKeys) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.PublicKeys[iNdEx]) - copy(dAtA[i:], m.PublicKeys[iNdEx]) - i = encodeVarintBeaconChain(dAtA, i, uint64(len(m.PublicKeys[iNdEx]))) - i-- - dAtA[i] = 0x12 - } - } - if m.Action != 0 { - i = encodeVarintBeaconChain(dAtA, i, uint64(m.Action)) - i-- - dAtA[i] = 0x8 - } - return len(dAtA) - i, nil -} - -func (m *ListIndexedAttestationsRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *ListIndexedAttestationsRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *ListIndexedAttestationsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if len(m.PageToken) > 0 { - i -= len(m.PageToken) - copy(dAtA[i:], m.PageToken) - i = encodeVarintBeaconChain(dAtA, i, uint64(len(m.PageToken))) - i-- - dAtA[i] = 0x22 - } - if m.PageSize != 0 { - i = encodeVarintBeaconChain(dAtA, i, uint64(m.PageSize)) - i-- - dAtA[i] = 0x18 - } - if m.QueryFilter != nil { - { - size := m.QueryFilter.Size() - i -= size - if _, err := m.QueryFilter.MarshalTo(dAtA[i:]); err != nil { - return 0, err - } - } - } - return len(dAtA) - i, nil -} - -func (m *ListIndexedAttestationsRequest_Epoch) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *ListIndexedAttestationsRequest_Epoch) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - i = encodeVarintBeaconChain(dAtA, i, uint64(m.Epoch)) - i-- - dAtA[i] = 0x8 - return len(dAtA) - i, nil -} -func (m *ListIndexedAttestationsRequest_GenesisEpoch) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *ListIndexedAttestationsRequest_GenesisEpoch) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - i-- - if m.GenesisEpoch { - dAtA[i] = 1 - } else { - dAtA[i] = 0 - } - i-- - dAtA[i] = 0x10 - return len(dAtA) - i, nil -} -func (m *ListAttestationsRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *ListAttestationsRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *ListAttestationsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if len(m.PageToken) > 0 { - i -= len(m.PageToken) - copy(dAtA[i:], m.PageToken) - i = encodeVarintBeaconChain(dAtA, i, uint64(len(m.PageToken))) - i-- - dAtA[i] = 0x22 - } - if m.PageSize != 0 { - i = encodeVarintBeaconChain(dAtA, i, uint64(m.PageSize)) - i-- - dAtA[i] = 0x18 - } - if m.QueryFilter != nil { - { - size := m.QueryFilter.Size() - i -= size - if _, err := m.QueryFilter.MarshalTo(dAtA[i:]); err != nil { - return 0, err - } - } - } - return len(dAtA) - i, nil -} - -func (m *ListAttestationsRequest_Epoch) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *ListAttestationsRequest_Epoch) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - i = encodeVarintBeaconChain(dAtA, i, uint64(m.Epoch)) - i-- - dAtA[i] = 0x8 - return len(dAtA) - i, nil -} -func (m *ListAttestationsRequest_GenesisEpoch) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *ListAttestationsRequest_GenesisEpoch) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - i-- - if m.GenesisEpoch { - dAtA[i] = 1 - } else { - dAtA[i] = 0 - } - i-- - dAtA[i] = 0x10 - return len(dAtA) - i, nil -} -func (m *ListAttestationsResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *ListAttestationsResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *ListAttestationsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if m.TotalSize != 0 { - i = encodeVarintBeaconChain(dAtA, i, uint64(m.TotalSize)) - i-- - dAtA[i] = 0x18 - } - if len(m.NextPageToken) > 0 { - i -= len(m.NextPageToken) - copy(dAtA[i:], m.NextPageToken) - i = encodeVarintBeaconChain(dAtA, i, uint64(len(m.NextPageToken))) - i-- - dAtA[i] = 0x12 - } - if len(m.Attestations) > 0 { - for iNdEx := len(m.Attestations) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Attestations[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintBeaconChain(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - } - return len(dAtA) - i, nil -} - -func (m *ListIndexedAttestationsResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *ListIndexedAttestationsResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *ListIndexedAttestationsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if m.TotalSize != 0 { - i = encodeVarintBeaconChain(dAtA, i, uint64(m.TotalSize)) - i-- - dAtA[i] = 0x18 - } - if len(m.NextPageToken) > 0 { - i -= len(m.NextPageToken) - copy(dAtA[i:], m.NextPageToken) - i = encodeVarintBeaconChain(dAtA, i, uint64(len(m.NextPageToken))) - i-- - dAtA[i] = 0x12 - } - if len(m.IndexedAttestations) > 0 { - for iNdEx := len(m.IndexedAttestations) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.IndexedAttestations[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintBeaconChain(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - } - return len(dAtA) - i, nil -} - -func (m *ListBlocksRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *ListBlocksRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *ListBlocksRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if len(m.PageToken) > 0 { - i -= len(m.PageToken) - copy(dAtA[i:], m.PageToken) - i = encodeVarintBeaconChain(dAtA, i, uint64(len(m.PageToken))) - i-- - dAtA[i] = 0x32 - } - if m.PageSize != 0 { - i = encodeVarintBeaconChain(dAtA, i, uint64(m.PageSize)) - i-- - dAtA[i] = 0x28 - } - if m.QueryFilter != nil { - { - size := m.QueryFilter.Size() - i -= size - if _, err := m.QueryFilter.MarshalTo(dAtA[i:]); err != nil { - return 0, err - } - } - } - return len(dAtA) - i, nil -} - -func (m *ListBlocksRequest_Root) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *ListBlocksRequest_Root) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - if m.Root != nil { - i -= len(m.Root) - copy(dAtA[i:], m.Root) - i = encodeVarintBeaconChain(dAtA, i, uint64(len(m.Root))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} -func (m *ListBlocksRequest_Slot) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *ListBlocksRequest_Slot) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - i = encodeVarintBeaconChain(dAtA, i, uint64(m.Slot)) - i-- - dAtA[i] = 0x10 - return len(dAtA) - i, nil -} -func (m *ListBlocksRequest_Epoch) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *ListBlocksRequest_Epoch) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - i = encodeVarintBeaconChain(dAtA, i, uint64(m.Epoch)) - i-- - dAtA[i] = 0x18 - return len(dAtA) - i, nil -} -func (m *ListBlocksRequest_Genesis) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *ListBlocksRequest_Genesis) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - i-- - if m.Genesis { - dAtA[i] = 1 - } else { - dAtA[i] = 0 - } - i-- - dAtA[i] = 0x20 - return len(dAtA) - i, nil -} -func (m *ListBlocksResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *ListBlocksResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *ListBlocksResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if m.TotalSize != 0 { - i = encodeVarintBeaconChain(dAtA, i, uint64(m.TotalSize)) - i-- - dAtA[i] = 0x18 - } - if len(m.NextPageToken) > 0 { - i -= len(m.NextPageToken) - copy(dAtA[i:], m.NextPageToken) - i = encodeVarintBeaconChain(dAtA, i, uint64(len(m.NextPageToken))) - i-- - dAtA[i] = 0x12 - } - if len(m.BlockContainers) > 0 { - for iNdEx := len(m.BlockContainers) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.BlockContainers[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintBeaconChain(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - } - return len(dAtA) - i, nil -} - -func (m *StreamBlocksRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *StreamBlocksRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *StreamBlocksRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if m.VerifiedOnly { - i-- - if m.VerifiedOnly { - dAtA[i] = 1 - } else { - dAtA[i] = 0 - } - i-- - dAtA[i] = 0x8 - } - return len(dAtA) - i, nil -} - -func (m *BeaconBlockContainer) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *BeaconBlockContainer) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *BeaconBlockContainer) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if m.Canonical { - i-- - if m.Canonical { - dAtA[i] = 1 - } else { - dAtA[i] = 0 - } - i-- - dAtA[i] = 0x18 - } - if len(m.BlockRoot) > 0 { - i -= len(m.BlockRoot) - copy(dAtA[i:], m.BlockRoot) - i = encodeVarintBeaconChain(dAtA, i, uint64(len(m.BlockRoot))) - i-- - dAtA[i] = 0x12 - } - if m.Block != nil { - { - size, err := m.Block.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintBeaconChain(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *ChainHead) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *ChainHead) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *ChainHead) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if len(m.PreviousJustifiedBlockRoot) > 0 { - i -= len(m.PreviousJustifiedBlockRoot) - copy(dAtA[i:], m.PreviousJustifiedBlockRoot) - i = encodeVarintBeaconChain(dAtA, i, uint64(len(m.PreviousJustifiedBlockRoot))) - i-- - dAtA[i] = 0x62 - } - if m.PreviousJustifiedEpoch != 0 { - i = encodeVarintBeaconChain(dAtA, i, uint64(m.PreviousJustifiedEpoch)) - i-- - dAtA[i] = 0x58 - } - if m.PreviousJustifiedSlot != 0 { - i = encodeVarintBeaconChain(dAtA, i, uint64(m.PreviousJustifiedSlot)) - i-- - dAtA[i] = 0x50 - } - if len(m.JustifiedBlockRoot) > 0 { - i -= len(m.JustifiedBlockRoot) - copy(dAtA[i:], m.JustifiedBlockRoot) - i = encodeVarintBeaconChain(dAtA, i, uint64(len(m.JustifiedBlockRoot))) - i-- - dAtA[i] = 0x4a - } - if m.JustifiedEpoch != 0 { - i = encodeVarintBeaconChain(dAtA, i, uint64(m.JustifiedEpoch)) - i-- - dAtA[i] = 0x40 - } - if m.JustifiedSlot != 0 { - i = encodeVarintBeaconChain(dAtA, i, uint64(m.JustifiedSlot)) - i-- - dAtA[i] = 0x38 - } - if len(m.FinalizedBlockRoot) > 0 { - i -= len(m.FinalizedBlockRoot) - copy(dAtA[i:], m.FinalizedBlockRoot) - i = encodeVarintBeaconChain(dAtA, i, uint64(len(m.FinalizedBlockRoot))) - i-- - dAtA[i] = 0x32 - } - if m.FinalizedEpoch != 0 { - i = encodeVarintBeaconChain(dAtA, i, uint64(m.FinalizedEpoch)) - i-- - dAtA[i] = 0x28 - } - if m.FinalizedSlot != 0 { - i = encodeVarintBeaconChain(dAtA, i, uint64(m.FinalizedSlot)) - i-- - dAtA[i] = 0x20 - } - if len(m.HeadBlockRoot) > 0 { - i -= len(m.HeadBlockRoot) - copy(dAtA[i:], m.HeadBlockRoot) - i = encodeVarintBeaconChain(dAtA, i, uint64(len(m.HeadBlockRoot))) - i-- - dAtA[i] = 0x1a - } - if m.HeadEpoch != 0 { - i = encodeVarintBeaconChain(dAtA, i, uint64(m.HeadEpoch)) - i-- - dAtA[i] = 0x10 - } - if m.HeadSlot != 0 { - i = encodeVarintBeaconChain(dAtA, i, uint64(m.HeadSlot)) - i-- - dAtA[i] = 0x8 - } - return len(dAtA) - i, nil -} - -func (m *ListCommitteesRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *ListCommitteesRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *ListCommitteesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if m.QueryFilter != nil { - { - size := m.QueryFilter.Size() - i -= size - if _, err := m.QueryFilter.MarshalTo(dAtA[i:]); err != nil { - return 0, err - } - } - } - return len(dAtA) - i, nil -} - -func (m *ListCommitteesRequest_Epoch) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *ListCommitteesRequest_Epoch) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - i = encodeVarintBeaconChain(dAtA, i, uint64(m.Epoch)) - i-- - dAtA[i] = 0x8 - return len(dAtA) - i, nil -} -func (m *ListCommitteesRequest_Genesis) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *ListCommitteesRequest_Genesis) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - i-- - if m.Genesis { - dAtA[i] = 1 - } else { - dAtA[i] = 0 - } - i-- - dAtA[i] = 0x10 - return len(dAtA) - i, nil -} -func (m *BeaconCommittees) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *BeaconCommittees) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *BeaconCommittees) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if m.ActiveValidatorCount != 0 { - i = encodeVarintBeaconChain(dAtA, i, uint64(m.ActiveValidatorCount)) - i-- - dAtA[i] = 0x18 - } - if len(m.Committees) > 0 { - for k := range m.Committees { - v := m.Committees[k] - baseI := i - if v != nil { - { - size, err := v.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintBeaconChain(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - } - i = encodeVarintBeaconChain(dAtA, i, uint64(k)) - i-- - dAtA[i] = 0x8 - i = encodeVarintBeaconChain(dAtA, i, uint64(baseI-i)) - i-- - dAtA[i] = 0x12 - } - } - if m.Epoch != 0 { - i = encodeVarintBeaconChain(dAtA, i, uint64(m.Epoch)) - i-- - dAtA[i] = 0x8 - } - return len(dAtA) - i, nil -} - -func (m *BeaconCommittees_CommitteeItem) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *BeaconCommittees_CommitteeItem) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *BeaconCommittees_CommitteeItem) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if len(m.ValidatorIndices) > 0 { - dAtA4 := make([]byte, len(m.ValidatorIndices)*10) - var j3 int - for _, num := range m.ValidatorIndices { - for num >= 1<<7 { - dAtA4[j3] = uint8(uint64(num)&0x7f | 0x80) - num >>= 7 - j3++ - } - dAtA4[j3] = uint8(num) - j3++ - } - i -= j3 - copy(dAtA[i:], dAtA4[:j3]) - i = encodeVarintBeaconChain(dAtA, i, uint64(j3)) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *BeaconCommittees_CommitteesList) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *BeaconCommittees_CommitteesList) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *BeaconCommittees_CommitteesList) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if len(m.Committees) > 0 { - for iNdEx := len(m.Committees) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Committees[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintBeaconChain(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - } - return len(dAtA) - i, nil -} - -func (m *ListValidatorBalancesRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *ListValidatorBalancesRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *ListValidatorBalancesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if len(m.PageToken) > 0 { - i -= len(m.PageToken) - copy(dAtA[i:], m.PageToken) - i = encodeVarintBeaconChain(dAtA, i, uint64(len(m.PageToken))) - i-- - dAtA[i] = 0x32 - } - if m.PageSize != 0 { - i = encodeVarintBeaconChain(dAtA, i, uint64(m.PageSize)) - i-- - dAtA[i] = 0x28 - } - if len(m.Indices) > 0 { - dAtA6 := make([]byte, len(m.Indices)*10) - var j5 int - for _, num := range m.Indices { - for num >= 1<<7 { - dAtA6[j5] = uint8(uint64(num)&0x7f | 0x80) - num >>= 7 - j5++ - } - dAtA6[j5] = uint8(num) - j5++ - } - i -= j5 - copy(dAtA[i:], dAtA6[:j5]) - i = encodeVarintBeaconChain(dAtA, i, uint64(j5)) - i-- - dAtA[i] = 0x22 - } - if len(m.PublicKeys) > 0 { - for iNdEx := len(m.PublicKeys) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.PublicKeys[iNdEx]) - copy(dAtA[i:], m.PublicKeys[iNdEx]) - i = encodeVarintBeaconChain(dAtA, i, uint64(len(m.PublicKeys[iNdEx]))) - i-- - dAtA[i] = 0x1a - } - } - if m.QueryFilter != nil { - { - size := m.QueryFilter.Size() - i -= size - if _, err := m.QueryFilter.MarshalTo(dAtA[i:]); err != nil { - return 0, err - } - } - } - return len(dAtA) - i, nil -} - -func (m *ListValidatorBalancesRequest_Epoch) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *ListValidatorBalancesRequest_Epoch) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - i = encodeVarintBeaconChain(dAtA, i, uint64(m.Epoch)) - i-- - dAtA[i] = 0x8 - return len(dAtA) - i, nil -} -func (m *ListValidatorBalancesRequest_Genesis) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *ListValidatorBalancesRequest_Genesis) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - i-- - if m.Genesis { - dAtA[i] = 1 - } else { - dAtA[i] = 0 - } - i-- - dAtA[i] = 0x10 - return len(dAtA) - i, nil -} -func (m *ValidatorBalances) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *ValidatorBalances) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *ValidatorBalances) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if m.TotalSize != 0 { - i = encodeVarintBeaconChain(dAtA, i, uint64(m.TotalSize)) - i-- - dAtA[i] = 0x20 - } - if len(m.NextPageToken) > 0 { - i -= len(m.NextPageToken) - copy(dAtA[i:], m.NextPageToken) - i = encodeVarintBeaconChain(dAtA, i, uint64(len(m.NextPageToken))) - i-- - dAtA[i] = 0x1a - } - if len(m.Balances) > 0 { - for iNdEx := len(m.Balances) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Balances[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintBeaconChain(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - } - } - if m.Epoch != 0 { - i = encodeVarintBeaconChain(dAtA, i, uint64(m.Epoch)) - i-- - dAtA[i] = 0x8 - } - return len(dAtA) - i, nil -} - -func (m *ValidatorBalances_Balance) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *ValidatorBalances_Balance) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *ValidatorBalances_Balance) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if len(m.Status) > 0 { - i -= len(m.Status) - copy(dAtA[i:], m.Status) - i = encodeVarintBeaconChain(dAtA, i, uint64(len(m.Status))) - i-- - dAtA[i] = 0x22 - } - if m.Balance != 0 { - i = encodeVarintBeaconChain(dAtA, i, uint64(m.Balance)) - i-- - dAtA[i] = 0x18 - } - if m.Index != 0 { - i = encodeVarintBeaconChain(dAtA, i, uint64(m.Index)) - i-- - dAtA[i] = 0x10 - } - if len(m.PublicKey) > 0 { - i -= len(m.PublicKey) - copy(dAtA[i:], m.PublicKey) - i = encodeVarintBeaconChain(dAtA, i, uint64(len(m.PublicKey))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *ListValidatorsRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *ListValidatorsRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *ListValidatorsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if len(m.Indices) > 0 { - dAtA8 := make([]byte, len(m.Indices)*10) - var j7 int - for _, num := range m.Indices { - for num >= 1<<7 { - dAtA8[j7] = uint8(uint64(num)&0x7f | 0x80) - num >>= 7 - j7++ - } - dAtA8[j7] = uint8(num) - j7++ - } - i -= j7 - copy(dAtA[i:], dAtA8[:j7]) - i = encodeVarintBeaconChain(dAtA, i, uint64(j7)) - i-- - dAtA[i] = 0x3a - } - if len(m.PublicKeys) > 0 { - for iNdEx := len(m.PublicKeys) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.PublicKeys[iNdEx]) - copy(dAtA[i:], m.PublicKeys[iNdEx]) - i = encodeVarintBeaconChain(dAtA, i, uint64(len(m.PublicKeys[iNdEx]))) - i-- - dAtA[i] = 0x32 - } - } - if len(m.PageToken) > 0 { - i -= len(m.PageToken) - copy(dAtA[i:], m.PageToken) - i = encodeVarintBeaconChain(dAtA, i, uint64(len(m.PageToken))) - i-- - dAtA[i] = 0x2a - } - if m.PageSize != 0 { - i = encodeVarintBeaconChain(dAtA, i, uint64(m.PageSize)) - i-- - dAtA[i] = 0x20 - } - if m.Active { - i-- - if m.Active { - dAtA[i] = 1 - } else { - dAtA[i] = 0 - } - i-- - dAtA[i] = 0x18 - } - if m.QueryFilter != nil { - { - size := m.QueryFilter.Size() - i -= size - if _, err := m.QueryFilter.MarshalTo(dAtA[i:]); err != nil { - return 0, err - } - } - } - return len(dAtA) - i, nil -} - -func (m *ListValidatorsRequest_Epoch) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *ListValidatorsRequest_Epoch) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - i = encodeVarintBeaconChain(dAtA, i, uint64(m.Epoch)) - i-- - dAtA[i] = 0x8 - return len(dAtA) - i, nil -} -func (m *ListValidatorsRequest_Genesis) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *ListValidatorsRequest_Genesis) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - i-- - if m.Genesis { - dAtA[i] = 1 - } else { - dAtA[i] = 0 - } - i-- - dAtA[i] = 0x10 - return len(dAtA) - i, nil -} -func (m *GetValidatorRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *GetValidatorRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *GetValidatorRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if m.QueryFilter != nil { - { - size := m.QueryFilter.Size() - i -= size - if _, err := m.QueryFilter.MarshalTo(dAtA[i:]); err != nil { - return 0, err - } - } - } - return len(dAtA) - i, nil -} - -func (m *GetValidatorRequest_Index) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *GetValidatorRequest_Index) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - i = encodeVarintBeaconChain(dAtA, i, uint64(m.Index)) - i-- - dAtA[i] = 0x8 - return len(dAtA) - i, nil -} -func (m *GetValidatorRequest_PublicKey) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *GetValidatorRequest_PublicKey) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - if m.PublicKey != nil { - i -= len(m.PublicKey) - copy(dAtA[i:], m.PublicKey) - i = encodeVarintBeaconChain(dAtA, i, uint64(len(m.PublicKey))) - i-- - dAtA[i] = 0x12 - } - return len(dAtA) - i, nil -} -func (m *Validators) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *Validators) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *Validators) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if m.TotalSize != 0 { - i = encodeVarintBeaconChain(dAtA, i, uint64(m.TotalSize)) - i-- - dAtA[i] = 0x20 - } - if len(m.NextPageToken) > 0 { - i -= len(m.NextPageToken) - copy(dAtA[i:], m.NextPageToken) - i = encodeVarintBeaconChain(dAtA, i, uint64(len(m.NextPageToken))) - i-- - dAtA[i] = 0x1a - } - if len(m.ValidatorList) > 0 { - for iNdEx := len(m.ValidatorList) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.ValidatorList[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintBeaconChain(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - } - } - if m.Epoch != 0 { - i = encodeVarintBeaconChain(dAtA, i, uint64(m.Epoch)) - i-- - dAtA[i] = 0x8 - } - return len(dAtA) - i, nil -} - -func (m *Validators_ValidatorContainer) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *Validators_ValidatorContainer) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *Validators_ValidatorContainer) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if m.Validator != nil { - { - size, err := m.Validator.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintBeaconChain(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - } - if m.Index != 0 { - i = encodeVarintBeaconChain(dAtA, i, uint64(m.Index)) - i-- - dAtA[i] = 0x8 - } - return len(dAtA) - i, nil -} - -func (m *GetValidatorActiveSetChangesRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *GetValidatorActiveSetChangesRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *GetValidatorActiveSetChangesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if m.QueryFilter != nil { - { - size := m.QueryFilter.Size() - i -= size - if _, err := m.QueryFilter.MarshalTo(dAtA[i:]); err != nil { - return 0, err - } - } - } - return len(dAtA) - i, nil -} - -func (m *GetValidatorActiveSetChangesRequest_Epoch) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *GetValidatorActiveSetChangesRequest_Epoch) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - i = encodeVarintBeaconChain(dAtA, i, uint64(m.Epoch)) - i-- - dAtA[i] = 0x8 - return len(dAtA) - i, nil -} -func (m *GetValidatorActiveSetChangesRequest_Genesis) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *GetValidatorActiveSetChangesRequest_Genesis) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - i-- - if m.Genesis { - dAtA[i] = 1 - } else { - dAtA[i] = 0 - } - i-- - dAtA[i] = 0x10 - return len(dAtA) - i, nil -} -func (m *ActiveSetChanges) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *ActiveSetChanges) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *ActiveSetChanges) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if len(m.EjectedIndices) > 0 { - dAtA11 := make([]byte, len(m.EjectedIndices)*10) - var j10 int - for _, num := range m.EjectedIndices { - for num >= 1<<7 { - dAtA11[j10] = uint8(uint64(num)&0x7f | 0x80) - num >>= 7 - j10++ - } - dAtA11[j10] = uint8(num) - j10++ - } - i -= j10 - copy(dAtA[i:], dAtA11[:j10]) - i = encodeVarintBeaconChain(dAtA, i, uint64(j10)) - i-- - dAtA[i] = 0x4a - } - if len(m.EjectedPublicKeys) > 0 { - for iNdEx := len(m.EjectedPublicKeys) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.EjectedPublicKeys[iNdEx]) - copy(dAtA[i:], m.EjectedPublicKeys[iNdEx]) - i = encodeVarintBeaconChain(dAtA, i, uint64(len(m.EjectedPublicKeys[iNdEx]))) - i-- - dAtA[i] = 0x42 - } - } - if len(m.SlashedIndices) > 0 { - dAtA13 := make([]byte, len(m.SlashedIndices)*10) - var j12 int - for _, num := range m.SlashedIndices { - for num >= 1<<7 { - dAtA13[j12] = uint8(uint64(num)&0x7f | 0x80) - num >>= 7 - j12++ - } - dAtA13[j12] = uint8(num) - j12++ - } - i -= j12 - copy(dAtA[i:], dAtA13[:j12]) - i = encodeVarintBeaconChain(dAtA, i, uint64(j12)) - i-- - dAtA[i] = 0x3a - } - if len(m.SlashedPublicKeys) > 0 { - for iNdEx := len(m.SlashedPublicKeys) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.SlashedPublicKeys[iNdEx]) - copy(dAtA[i:], m.SlashedPublicKeys[iNdEx]) - i = encodeVarintBeaconChain(dAtA, i, uint64(len(m.SlashedPublicKeys[iNdEx]))) - i-- - dAtA[i] = 0x32 - } - } - if len(m.ExitedIndices) > 0 { - dAtA15 := make([]byte, len(m.ExitedIndices)*10) - var j14 int - for _, num := range m.ExitedIndices { - for num >= 1<<7 { - dAtA15[j14] = uint8(uint64(num)&0x7f | 0x80) - num >>= 7 - j14++ - } - dAtA15[j14] = uint8(num) - j14++ - } - i -= j14 - copy(dAtA[i:], dAtA15[:j14]) - i = encodeVarintBeaconChain(dAtA, i, uint64(j14)) - i-- - dAtA[i] = 0x2a - } - if len(m.ExitedPublicKeys) > 0 { - for iNdEx := len(m.ExitedPublicKeys) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.ExitedPublicKeys[iNdEx]) - copy(dAtA[i:], m.ExitedPublicKeys[iNdEx]) - i = encodeVarintBeaconChain(dAtA, i, uint64(len(m.ExitedPublicKeys[iNdEx]))) - i-- - dAtA[i] = 0x22 - } - } - if len(m.ActivatedIndices) > 0 { - dAtA17 := make([]byte, len(m.ActivatedIndices)*10) - var j16 int - for _, num := range m.ActivatedIndices { - for num >= 1<<7 { - dAtA17[j16] = uint8(uint64(num)&0x7f | 0x80) - num >>= 7 - j16++ - } - dAtA17[j16] = uint8(num) - j16++ - } - i -= j16 - copy(dAtA[i:], dAtA17[:j16]) - i = encodeVarintBeaconChain(dAtA, i, uint64(j16)) - i-- - dAtA[i] = 0x1a - } - if len(m.ActivatedPublicKeys) > 0 { - for iNdEx := len(m.ActivatedPublicKeys) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.ActivatedPublicKeys[iNdEx]) - copy(dAtA[i:], m.ActivatedPublicKeys[iNdEx]) - i = encodeVarintBeaconChain(dAtA, i, uint64(len(m.ActivatedPublicKeys[iNdEx]))) - i-- - dAtA[i] = 0x12 - } - } - if m.Epoch != 0 { - i = encodeVarintBeaconChain(dAtA, i, uint64(m.Epoch)) - i-- - dAtA[i] = 0x8 - } - return len(dAtA) - i, nil -} - -func (m *ValidatorPerformanceRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *ValidatorPerformanceRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *ValidatorPerformanceRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if len(m.Indices) > 0 { - dAtA19 := make([]byte, len(m.Indices)*10) - var j18 int - for _, num := range m.Indices { - for num >= 1<<7 { - dAtA19[j18] = uint8(uint64(num)&0x7f | 0x80) - num >>= 7 - j18++ - } - dAtA19[j18] = uint8(num) - j18++ - } - i -= j18 - copy(dAtA[i:], dAtA19[:j18]) - i = encodeVarintBeaconChain(dAtA, i, uint64(j18)) - i-- - dAtA[i] = 0x12 - } - if len(m.PublicKeys) > 0 { - for iNdEx := len(m.PublicKeys) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.PublicKeys[iNdEx]) - copy(dAtA[i:], m.PublicKeys[iNdEx]) - i = encodeVarintBeaconChain(dAtA, i, uint64(len(m.PublicKeys[iNdEx]))) - i-- - dAtA[i] = 0xa - } - } - return len(dAtA) - i, nil -} - -func (m *ValidatorPerformanceResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *ValidatorPerformanceResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *ValidatorPerformanceResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if len(m.PublicKeys) > 0 { - for iNdEx := len(m.PublicKeys) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.PublicKeys[iNdEx]) - copy(dAtA[i:], m.PublicKeys[iNdEx]) - i = encodeVarintBeaconChain(dAtA, i, uint64(len(m.PublicKeys[iNdEx]))) - i-- - dAtA[i] = 0x5a - } - } - if m.AverageActiveValidatorBalance != 0 { - i -= 4 - encoding_binary.LittleEndian.PutUint32(dAtA[i:], uint32(math.Float32bits(float32(m.AverageActiveValidatorBalance)))) - i-- - dAtA[i] = 0x55 - } - if len(m.MissingValidators) > 0 { - for iNdEx := len(m.MissingValidators) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.MissingValidators[iNdEx]) - copy(dAtA[i:], m.MissingValidators[iNdEx]) - i = encodeVarintBeaconChain(dAtA, i, uint64(len(m.MissingValidators[iNdEx]))) - i-- - dAtA[i] = 0x4a - } - } - if len(m.BalancesAfterEpochTransition) > 0 { - dAtA21 := make([]byte, len(m.BalancesAfterEpochTransition)*10) - var j20 int - for _, num := range m.BalancesAfterEpochTransition { - for num >= 1<<7 { - dAtA21[j20] = uint8(uint64(num)&0x7f | 0x80) - num >>= 7 - j20++ - } - dAtA21[j20] = uint8(num) - j20++ - } - i -= j20 - copy(dAtA[i:], dAtA21[:j20]) - i = encodeVarintBeaconChain(dAtA, i, uint64(j20)) - i-- - dAtA[i] = 0x42 - } - if len(m.BalancesBeforeEpochTransition) > 0 { - dAtA23 := make([]byte, len(m.BalancesBeforeEpochTransition)*10) - var j22 int - for _, num := range m.BalancesBeforeEpochTransition { - for num >= 1<<7 { - dAtA23[j22] = uint8(uint64(num)&0x7f | 0x80) - num >>= 7 - j22++ - } - dAtA23[j22] = uint8(num) - j22++ - } - i -= j22 - copy(dAtA[i:], dAtA23[:j22]) - i = encodeVarintBeaconChain(dAtA, i, uint64(j22)) - i-- - dAtA[i] = 0x3a - } - if len(m.CorrectlyVotedHead) > 0 { - for iNdEx := len(m.CorrectlyVotedHead) - 1; iNdEx >= 0; iNdEx-- { - i-- - if m.CorrectlyVotedHead[iNdEx] { - dAtA[i] = 1 - } else { - dAtA[i] = 0 - } - } - i = encodeVarintBeaconChain(dAtA, i, uint64(len(m.CorrectlyVotedHead))) - i-- - dAtA[i] = 0x32 - } - if len(m.CorrectlyVotedTarget) > 0 { - for iNdEx := len(m.CorrectlyVotedTarget) - 1; iNdEx >= 0; iNdEx-- { - i-- - if m.CorrectlyVotedTarget[iNdEx] { - dAtA[i] = 1 - } else { - dAtA[i] = 0 - } - } - i = encodeVarintBeaconChain(dAtA, i, uint64(len(m.CorrectlyVotedTarget))) - i-- - dAtA[i] = 0x2a - } - if len(m.CorrectlyVotedSource) > 0 { - for iNdEx := len(m.CorrectlyVotedSource) - 1; iNdEx >= 0; iNdEx-- { - i-- - if m.CorrectlyVotedSource[iNdEx] { - dAtA[i] = 1 - } else { - dAtA[i] = 0 - } - } - i = encodeVarintBeaconChain(dAtA, i, uint64(len(m.CorrectlyVotedSource))) - i-- - dAtA[i] = 0x22 - } - if len(m.InclusionDistances) > 0 { - dAtA25 := make([]byte, len(m.InclusionDistances)*10) - var j24 int - for _, num := range m.InclusionDistances { - for num >= 1<<7 { - dAtA25[j24] = uint8(uint64(num)&0x7f | 0x80) - num >>= 7 - j24++ - } - dAtA25[j24] = uint8(num) - j24++ - } - i -= j24 - copy(dAtA[i:], dAtA25[:j24]) - i = encodeVarintBeaconChain(dAtA, i, uint64(j24)) - i-- - dAtA[i] = 0x1a - } - if len(m.InclusionSlots) > 0 { - dAtA27 := make([]byte, len(m.InclusionSlots)*10) - var j26 int - for _, num := range m.InclusionSlots { - for num >= 1<<7 { - dAtA27[j26] = uint8(uint64(num)&0x7f | 0x80) - num >>= 7 - j26++ - } - dAtA27[j26] = uint8(num) - j26++ - } - i -= j26 - copy(dAtA[i:], dAtA27[:j26]) - i = encodeVarintBeaconChain(dAtA, i, uint64(j26)) - i-- - dAtA[i] = 0x12 - } - if len(m.CurrentEffectiveBalances) > 0 { - dAtA29 := make([]byte, len(m.CurrentEffectiveBalances)*10) - var j28 int - for _, num := range m.CurrentEffectiveBalances { - for num >= 1<<7 { - dAtA29[j28] = uint8(uint64(num)&0x7f | 0x80) - num >>= 7 - j28++ - } - dAtA29[j28] = uint8(num) - j28++ - } - i -= j28 - copy(dAtA[i:], dAtA29[:j28]) - i = encodeVarintBeaconChain(dAtA, i, uint64(j28)) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *ValidatorQueue) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *ValidatorQueue) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *ValidatorQueue) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if len(m.ExitValidatorIndices) > 0 { - dAtA31 := make([]byte, len(m.ExitValidatorIndices)*10) - var j30 int - for _, num := range m.ExitValidatorIndices { - for num >= 1<<7 { - dAtA31[j30] = uint8(uint64(num)&0x7f | 0x80) - num >>= 7 - j30++ - } - dAtA31[j30] = uint8(num) - j30++ - } - i -= j30 - copy(dAtA[i:], dAtA31[:j30]) - i = encodeVarintBeaconChain(dAtA, i, uint64(j30)) - i-- - dAtA[i] = 0x2a - } - if len(m.ActivationValidatorIndices) > 0 { - dAtA33 := make([]byte, len(m.ActivationValidatorIndices)*10) - var j32 int - for _, num := range m.ActivationValidatorIndices { - for num >= 1<<7 { - dAtA33[j32] = uint8(uint64(num)&0x7f | 0x80) - num >>= 7 - j32++ - } - dAtA33[j32] = uint8(num) - j32++ - } - i -= j32 - copy(dAtA[i:], dAtA33[:j32]) - i = encodeVarintBeaconChain(dAtA, i, uint64(j32)) - i-- - dAtA[i] = 0x22 - } - if len(m.ExitPublicKeys) > 0 { - for iNdEx := len(m.ExitPublicKeys) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.ExitPublicKeys[iNdEx]) - copy(dAtA[i:], m.ExitPublicKeys[iNdEx]) - i = encodeVarintBeaconChain(dAtA, i, uint64(len(m.ExitPublicKeys[iNdEx]))) - i-- - dAtA[i] = 0x1a - } - } - if len(m.ActivationPublicKeys) > 0 { - for iNdEx := len(m.ActivationPublicKeys) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.ActivationPublicKeys[iNdEx]) - copy(dAtA[i:], m.ActivationPublicKeys[iNdEx]) - i = encodeVarintBeaconChain(dAtA, i, uint64(len(m.ActivationPublicKeys[iNdEx]))) - i-- - dAtA[i] = 0x12 - } - } - if m.ChurnLimit != 0 { - i = encodeVarintBeaconChain(dAtA, i, uint64(m.ChurnLimit)) - i-- - dAtA[i] = 0x8 - } - return len(dAtA) - i, nil -} - -func (m *ListValidatorAssignmentsRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *ListValidatorAssignmentsRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *ListValidatorAssignmentsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if len(m.PageToken) > 0 { - i -= len(m.PageToken) - copy(dAtA[i:], m.PageToken) - i = encodeVarintBeaconChain(dAtA, i, uint64(len(m.PageToken))) - i-- - dAtA[i] = 0x32 - } - if m.PageSize != 0 { - i = encodeVarintBeaconChain(dAtA, i, uint64(m.PageSize)) - i-- - dAtA[i] = 0x28 - } - if len(m.Indices) > 0 { - dAtA35 := make([]byte, len(m.Indices)*10) - var j34 int - for _, num := range m.Indices { - for num >= 1<<7 { - dAtA35[j34] = uint8(uint64(num)&0x7f | 0x80) - num >>= 7 - j34++ - } - dAtA35[j34] = uint8(num) - j34++ - } - i -= j34 - copy(dAtA[i:], dAtA35[:j34]) - i = encodeVarintBeaconChain(dAtA, i, uint64(j34)) - i-- - dAtA[i] = 0x22 - } - if len(m.PublicKeys) > 0 { - for iNdEx := len(m.PublicKeys) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.PublicKeys[iNdEx]) - copy(dAtA[i:], m.PublicKeys[iNdEx]) - i = encodeVarintBeaconChain(dAtA, i, uint64(len(m.PublicKeys[iNdEx]))) - i-- - dAtA[i] = 0x1a - } - } - if m.QueryFilter != nil { - { - size := m.QueryFilter.Size() - i -= size - if _, err := m.QueryFilter.MarshalTo(dAtA[i:]); err != nil { - return 0, err - } - } - } - return len(dAtA) - i, nil -} - -func (m *ListValidatorAssignmentsRequest_Epoch) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *ListValidatorAssignmentsRequest_Epoch) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - i = encodeVarintBeaconChain(dAtA, i, uint64(m.Epoch)) - i-- - dAtA[i] = 0x8 - return len(dAtA) - i, nil -} -func (m *ListValidatorAssignmentsRequest_Genesis) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *ListValidatorAssignmentsRequest_Genesis) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - i-- - if m.Genesis { - dAtA[i] = 1 - } else { - dAtA[i] = 0 - } - i-- - dAtA[i] = 0x10 - return len(dAtA) - i, nil -} -func (m *ValidatorAssignments) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *ValidatorAssignments) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *ValidatorAssignments) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if m.TotalSize != 0 { - i = encodeVarintBeaconChain(dAtA, i, uint64(m.TotalSize)) - i-- - dAtA[i] = 0x20 - } - if len(m.NextPageToken) > 0 { - i -= len(m.NextPageToken) - copy(dAtA[i:], m.NextPageToken) - i = encodeVarintBeaconChain(dAtA, i, uint64(len(m.NextPageToken))) - i-- - dAtA[i] = 0x1a - } - if len(m.Assignments) > 0 { - for iNdEx := len(m.Assignments) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Assignments[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintBeaconChain(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - } - } - if m.Epoch != 0 { - i = encodeVarintBeaconChain(dAtA, i, uint64(m.Epoch)) - i-- - dAtA[i] = 0x8 - } - return len(dAtA) - i, nil -} - -func (m *ValidatorAssignments_CommitteeAssignment) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *ValidatorAssignments_CommitteeAssignment) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *ValidatorAssignments_CommitteeAssignment) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if m.ValidatorIndex != 0 { - i = encodeVarintBeaconChain(dAtA, i, uint64(m.ValidatorIndex)) - i-- - dAtA[i] = 0x30 - } - if len(m.PublicKey) > 0 { - i -= len(m.PublicKey) - copy(dAtA[i:], m.PublicKey) - i = encodeVarintBeaconChain(dAtA, i, uint64(len(m.PublicKey))) - i-- - dAtA[i] = 0x2a - } - if len(m.ProposerSlots) > 0 { - dAtA37 := make([]byte, len(m.ProposerSlots)*10) - var j36 int - for _, num := range m.ProposerSlots { - for num >= 1<<7 { - dAtA37[j36] = uint8(uint64(num)&0x7f | 0x80) - num >>= 7 - j36++ - } - dAtA37[j36] = uint8(num) - j36++ - } - i -= j36 - copy(dAtA[i:], dAtA37[:j36]) - i = encodeVarintBeaconChain(dAtA, i, uint64(j36)) - i-- - dAtA[i] = 0x22 - } - if m.AttesterSlot != 0 { - i = encodeVarintBeaconChain(dAtA, i, uint64(m.AttesterSlot)) - i-- - dAtA[i] = 0x18 - } - if m.CommitteeIndex != 0 { - i = encodeVarintBeaconChain(dAtA, i, uint64(m.CommitteeIndex)) - i-- - dAtA[i] = 0x10 - } - if len(m.BeaconCommittees) > 0 { - dAtA39 := make([]byte, len(m.BeaconCommittees)*10) - var j38 int - for _, num := range m.BeaconCommittees { - for num >= 1<<7 { - dAtA39[j38] = uint8(uint64(num)&0x7f | 0x80) - num >>= 7 - j38++ - } - dAtA39[j38] = uint8(num) - j38++ - } - i -= j38 - copy(dAtA[i:], dAtA39[:j38]) - i = encodeVarintBeaconChain(dAtA, i, uint64(j38)) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *GetValidatorParticipationRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *GetValidatorParticipationRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *GetValidatorParticipationRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if m.QueryFilter != nil { - { - size := m.QueryFilter.Size() - i -= size - if _, err := m.QueryFilter.MarshalTo(dAtA[i:]); err != nil { - return 0, err - } - } - } - return len(dAtA) - i, nil -} - -func (m *GetValidatorParticipationRequest_Epoch) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *GetValidatorParticipationRequest_Epoch) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - i = encodeVarintBeaconChain(dAtA, i, uint64(m.Epoch)) - i-- - dAtA[i] = 0x8 - return len(dAtA) - i, nil -} -func (m *GetValidatorParticipationRequest_Genesis) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *GetValidatorParticipationRequest_Genesis) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - i-- - if m.Genesis { - dAtA[i] = 1 - } else { - dAtA[i] = 0 - } - i-- - dAtA[i] = 0x10 - return len(dAtA) - i, nil -} -func (m *ValidatorParticipationResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *ValidatorParticipationResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *ValidatorParticipationResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if m.Participation != nil { - { - size, err := m.Participation.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintBeaconChain(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x1a - } - if m.Finalized { - i-- - if m.Finalized { - dAtA[i] = 1 - } else { - dAtA[i] = 0 - } - i-- - dAtA[i] = 0x10 - } - if m.Epoch != 0 { - i = encodeVarintBeaconChain(dAtA, i, uint64(m.Epoch)) - i-- - dAtA[i] = 0x8 - } - return len(dAtA) - i, nil -} - -func (m *AttestationPoolRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *AttestationPoolRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *AttestationPoolRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if len(m.PageToken) > 0 { - i -= len(m.PageToken) - copy(dAtA[i:], m.PageToken) - i = encodeVarintBeaconChain(dAtA, i, uint64(len(m.PageToken))) - i-- - dAtA[i] = 0x12 - } - if m.PageSize != 0 { - i = encodeVarintBeaconChain(dAtA, i, uint64(m.PageSize)) - i-- - dAtA[i] = 0x8 - } - return len(dAtA) - i, nil -} - -func (m *AttestationPoolResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *AttestationPoolResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *AttestationPoolResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if m.TotalSize != 0 { - i = encodeVarintBeaconChain(dAtA, i, uint64(m.TotalSize)) - i-- - dAtA[i] = 0x18 - } - if len(m.NextPageToken) > 0 { - i -= len(m.NextPageToken) - copy(dAtA[i:], m.NextPageToken) - i = encodeVarintBeaconChain(dAtA, i, uint64(len(m.NextPageToken))) - i-- - dAtA[i] = 0x12 - } - if len(m.Attestations) > 0 { - for iNdEx := len(m.Attestations) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Attestations[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintBeaconChain(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - } - return len(dAtA) - i, nil -} - -func (m *BeaconConfig) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *BeaconConfig) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *BeaconConfig) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if len(m.Config) > 0 { - for k := range m.Config { - v := m.Config[k] - baseI := i - i -= len(v) - copy(dAtA[i:], v) - i = encodeVarintBeaconChain(dAtA, i, uint64(len(v))) - i-- - dAtA[i] = 0x12 - i -= len(k) - copy(dAtA[i:], k) - i = encodeVarintBeaconChain(dAtA, i, uint64(len(k))) - i-- - dAtA[i] = 0xa - i = encodeVarintBeaconChain(dAtA, i, uint64(baseI-i)) - i-- - dAtA[i] = 0xa - } - } - return len(dAtA) - i, nil -} - -func (m *SubmitSlashingResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *SubmitSlashingResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *SubmitSlashingResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if len(m.SlashedIndices) > 0 { - dAtA42 := make([]byte, len(m.SlashedIndices)*10) - var j41 int - for _, num := range m.SlashedIndices { - for num >= 1<<7 { - dAtA42[j41] = uint8(uint64(num)&0x7f | 0x80) - num >>= 7 - j41++ - } - dAtA42[j41] = uint8(num) - j41++ - } - i -= j41 - copy(dAtA[i:], dAtA42[:j41]) - i = encodeVarintBeaconChain(dAtA, i, uint64(j41)) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *IndividualVotesRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *IndividualVotesRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *IndividualVotesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if len(m.Indices) > 0 { - dAtA44 := make([]byte, len(m.Indices)*10) - var j43 int - for _, num := range m.Indices { - for num >= 1<<7 { - dAtA44[j43] = uint8(uint64(num)&0x7f | 0x80) - num >>= 7 - j43++ - } - dAtA44[j43] = uint8(num) - j43++ - } - i -= j43 - copy(dAtA[i:], dAtA44[:j43]) - i = encodeVarintBeaconChain(dAtA, i, uint64(j43)) - i-- - dAtA[i] = 0x1a - } - if len(m.PublicKeys) > 0 { - for iNdEx := len(m.PublicKeys) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.PublicKeys[iNdEx]) - copy(dAtA[i:], m.PublicKeys[iNdEx]) - i = encodeVarintBeaconChain(dAtA, i, uint64(len(m.PublicKeys[iNdEx]))) - i-- - dAtA[i] = 0x12 - } - } - if m.Epoch != 0 { - i = encodeVarintBeaconChain(dAtA, i, uint64(m.Epoch)) - i-- - dAtA[i] = 0x8 - } - return len(dAtA) - i, nil -} - -func (m *IndividualVotesRespond) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *IndividualVotesRespond) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *IndividualVotesRespond) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if len(m.IndividualVotes) > 0 { - for iNdEx := len(m.IndividualVotes) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.IndividualVotes[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintBeaconChain(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - } - return len(dAtA) - i, nil -} - -func (m *IndividualVotesRespond_IndividualVote) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *IndividualVotesRespond_IndividualVote) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *IndividualVotesRespond_IndividualVote) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if m.InclusionDistance != 0 { - i = encodeVarintBeaconChain(dAtA, i, uint64(m.InclusionDistance)) - i-- - dAtA[i] = 0x78 - } - if m.InclusionSlot != 0 { - i = encodeVarintBeaconChain(dAtA, i, uint64(m.InclusionSlot)) - i-- - dAtA[i] = 0x70 - } - if m.CurrentEpochEffectiveBalanceGwei != 0 { - i = encodeVarintBeaconChain(dAtA, i, uint64(m.CurrentEpochEffectiveBalanceGwei)) - i-- - dAtA[i] = 0x68 - } - if m.IsPreviousEpochHeadAttester { - i-- - if m.IsPreviousEpochHeadAttester { - dAtA[i] = 1 - } else { - dAtA[i] = 0 - } - i-- - dAtA[i] = 0x60 - } - if m.IsPreviousEpochTargetAttester { - i-- - if m.IsPreviousEpochTargetAttester { - dAtA[i] = 1 - } else { - dAtA[i] = 0 - } - i-- - dAtA[i] = 0x58 - } - if m.IsPreviousEpochAttester { - i-- - if m.IsPreviousEpochAttester { - dAtA[i] = 1 - } else { - dAtA[i] = 0 - } - i-- - dAtA[i] = 0x50 - } - if m.IsCurrentEpochTargetAttester { - i-- - if m.IsCurrentEpochTargetAttester { - dAtA[i] = 1 - } else { - dAtA[i] = 0 - } - i-- - dAtA[i] = 0x48 - } - if m.IsCurrentEpochAttester { - i-- - if m.IsCurrentEpochAttester { - dAtA[i] = 1 - } else { - dAtA[i] = 0 - } - i-- - dAtA[i] = 0x40 - } - if m.IsActiveInPreviousEpoch { - i-- - if m.IsActiveInPreviousEpoch { - dAtA[i] = 1 - } else { - dAtA[i] = 0 - } - i-- - dAtA[i] = 0x38 - } - if m.IsActiveInCurrentEpoch { - i-- - if m.IsActiveInCurrentEpoch { - dAtA[i] = 1 - } else { - dAtA[i] = 0 - } - i-- - dAtA[i] = 0x30 - } - if m.IsWithdrawableInCurrentEpoch { - i-- - if m.IsWithdrawableInCurrentEpoch { - dAtA[i] = 1 - } else { - dAtA[i] = 0 - } - i-- - dAtA[i] = 0x28 - } - if m.IsSlashed { - i-- - if m.IsSlashed { - dAtA[i] = 1 - } else { - dAtA[i] = 0 - } - i-- - dAtA[i] = 0x20 - } - if m.ValidatorIndex != 0 { - i = encodeVarintBeaconChain(dAtA, i, uint64(m.ValidatorIndex)) - i-- - dAtA[i] = 0x18 - } - if len(m.PublicKey) > 0 { - i -= len(m.PublicKey) - copy(dAtA[i:], m.PublicKey) - i = encodeVarintBeaconChain(dAtA, i, uint64(len(m.PublicKey))) - i-- - dAtA[i] = 0x12 - } - if m.Epoch != 0 { - i = encodeVarintBeaconChain(dAtA, i, uint64(m.Epoch)) - i-- - dAtA[i] = 0x8 - } - return len(dAtA) - i, nil -} - -func (m *WeakSubjectivityCheckpoint) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *WeakSubjectivityCheckpoint) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *WeakSubjectivityCheckpoint) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if m.Epoch != 0 { - i = encodeVarintBeaconChain(dAtA, i, uint64(m.Epoch)) - i-- - dAtA[i] = 0x18 - } - if len(m.StateRoot) > 0 { - i -= len(m.StateRoot) - copy(dAtA[i:], m.StateRoot) - i = encodeVarintBeaconChain(dAtA, i, uint64(len(m.StateRoot))) - i-- - dAtA[i] = 0x12 - } - if len(m.BlockRoot) > 0 { - i -= len(m.BlockRoot) - copy(dAtA[i:], m.BlockRoot) - i = encodeVarintBeaconChain(dAtA, i, uint64(len(m.BlockRoot))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func encodeVarintBeaconChain(dAtA []byte, offset int, v uint64) int { - offset -= sovBeaconChain(v) - base := offset - for v >= 1<<7 { - dAtA[offset] = uint8(v&0x7f | 0x80) - v >>= 7 - offset++ - } - dAtA[offset] = uint8(v) - return base -} -func (m *ValidatorChangeSet) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Action != 0 { - n += 1 + sovBeaconChain(uint64(m.Action)) - } - if len(m.PublicKeys) > 0 { - for _, b := range m.PublicKeys { - l = len(b) - n += 1 + l + sovBeaconChain(uint64(l)) - } - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *ListIndexedAttestationsRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.QueryFilter != nil { - n += m.QueryFilter.Size() - } - if m.PageSize != 0 { - n += 1 + sovBeaconChain(uint64(m.PageSize)) - } - l = len(m.PageToken) - if l > 0 { - n += 1 + l + sovBeaconChain(uint64(l)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *ListIndexedAttestationsRequest_Epoch) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - n += 1 + sovBeaconChain(uint64(m.Epoch)) - return n -} -func (m *ListIndexedAttestationsRequest_GenesisEpoch) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - n += 2 - return n -} -func (m *ListAttestationsRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.QueryFilter != nil { - n += m.QueryFilter.Size() - } - if m.PageSize != 0 { - n += 1 + sovBeaconChain(uint64(m.PageSize)) - } - l = len(m.PageToken) - if l > 0 { - n += 1 + l + sovBeaconChain(uint64(l)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *ListAttestationsRequest_Epoch) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - n += 1 + sovBeaconChain(uint64(m.Epoch)) - return n -} -func (m *ListAttestationsRequest_GenesisEpoch) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - n += 2 - return n -} -func (m *ListAttestationsResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if len(m.Attestations) > 0 { - for _, e := range m.Attestations { - l = e.Size() - n += 1 + l + sovBeaconChain(uint64(l)) - } - } - l = len(m.NextPageToken) - if l > 0 { - n += 1 + l + sovBeaconChain(uint64(l)) - } - if m.TotalSize != 0 { - n += 1 + sovBeaconChain(uint64(m.TotalSize)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *ListIndexedAttestationsResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if len(m.IndexedAttestations) > 0 { - for _, e := range m.IndexedAttestations { - l = e.Size() - n += 1 + l + sovBeaconChain(uint64(l)) - } - } - l = len(m.NextPageToken) - if l > 0 { - n += 1 + l + sovBeaconChain(uint64(l)) - } - if m.TotalSize != 0 { - n += 1 + sovBeaconChain(uint64(m.TotalSize)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *ListBlocksRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.QueryFilter != nil { - n += m.QueryFilter.Size() - } - if m.PageSize != 0 { - n += 1 + sovBeaconChain(uint64(m.PageSize)) - } - l = len(m.PageToken) - if l > 0 { - n += 1 + l + sovBeaconChain(uint64(l)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *ListBlocksRequest_Root) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Root != nil { - l = len(m.Root) - n += 1 + l + sovBeaconChain(uint64(l)) - } - return n -} -func (m *ListBlocksRequest_Slot) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - n += 1 + sovBeaconChain(uint64(m.Slot)) - return n -} -func (m *ListBlocksRequest_Epoch) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - n += 1 + sovBeaconChain(uint64(m.Epoch)) - return n -} -func (m *ListBlocksRequest_Genesis) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - n += 2 - return n -} -func (m *ListBlocksResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if len(m.BlockContainers) > 0 { - for _, e := range m.BlockContainers { - l = e.Size() - n += 1 + l + sovBeaconChain(uint64(l)) - } - } - l = len(m.NextPageToken) - if l > 0 { - n += 1 + l + sovBeaconChain(uint64(l)) - } - if m.TotalSize != 0 { - n += 1 + sovBeaconChain(uint64(m.TotalSize)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *StreamBlocksRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.VerifiedOnly { - n += 2 - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *BeaconBlockContainer) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Block != nil { - l = m.Block.Size() - n += 1 + l + sovBeaconChain(uint64(l)) - } - l = len(m.BlockRoot) - if l > 0 { - n += 1 + l + sovBeaconChain(uint64(l)) - } - if m.Canonical { - n += 2 - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *ChainHead) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.HeadSlot != 0 { - n += 1 + sovBeaconChain(uint64(m.HeadSlot)) - } - if m.HeadEpoch != 0 { - n += 1 + sovBeaconChain(uint64(m.HeadEpoch)) - } - l = len(m.HeadBlockRoot) - if l > 0 { - n += 1 + l + sovBeaconChain(uint64(l)) - } - if m.FinalizedSlot != 0 { - n += 1 + sovBeaconChain(uint64(m.FinalizedSlot)) - } - if m.FinalizedEpoch != 0 { - n += 1 + sovBeaconChain(uint64(m.FinalizedEpoch)) - } - l = len(m.FinalizedBlockRoot) - if l > 0 { - n += 1 + l + sovBeaconChain(uint64(l)) - } - if m.JustifiedSlot != 0 { - n += 1 + sovBeaconChain(uint64(m.JustifiedSlot)) - } - if m.JustifiedEpoch != 0 { - n += 1 + sovBeaconChain(uint64(m.JustifiedEpoch)) - } - l = len(m.JustifiedBlockRoot) - if l > 0 { - n += 1 + l + sovBeaconChain(uint64(l)) - } - if m.PreviousJustifiedSlot != 0 { - n += 1 + sovBeaconChain(uint64(m.PreviousJustifiedSlot)) - } - if m.PreviousJustifiedEpoch != 0 { - n += 1 + sovBeaconChain(uint64(m.PreviousJustifiedEpoch)) - } - l = len(m.PreviousJustifiedBlockRoot) - if l > 0 { - n += 1 + l + sovBeaconChain(uint64(l)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *ListCommitteesRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.QueryFilter != nil { - n += m.QueryFilter.Size() - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *ListCommitteesRequest_Epoch) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - n += 1 + sovBeaconChain(uint64(m.Epoch)) - return n -} -func (m *ListCommitteesRequest_Genesis) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - n += 2 - return n -} -func (m *BeaconCommittees) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Epoch != 0 { - n += 1 + sovBeaconChain(uint64(m.Epoch)) - } - if len(m.Committees) > 0 { - for k, v := range m.Committees { - _ = k - _ = v - l = 0 - if v != nil { - l = v.Size() - l += 1 + sovBeaconChain(uint64(l)) - } - mapEntrySize := 1 + sovBeaconChain(uint64(k)) + l - n += mapEntrySize + 1 + sovBeaconChain(uint64(mapEntrySize)) - } - } - if m.ActiveValidatorCount != 0 { - n += 1 + sovBeaconChain(uint64(m.ActiveValidatorCount)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *BeaconCommittees_CommitteeItem) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if len(m.ValidatorIndices) > 0 { - l = 0 - for _, e := range m.ValidatorIndices { - l += sovBeaconChain(uint64(e)) - } - n += 1 + sovBeaconChain(uint64(l)) + l - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *BeaconCommittees_CommitteesList) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if len(m.Committees) > 0 { - for _, e := range m.Committees { - l = e.Size() - n += 1 + l + sovBeaconChain(uint64(l)) - } - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *ListValidatorBalancesRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.QueryFilter != nil { - n += m.QueryFilter.Size() - } - if len(m.PublicKeys) > 0 { - for _, b := range m.PublicKeys { - l = len(b) - n += 1 + l + sovBeaconChain(uint64(l)) - } - } - if len(m.Indices) > 0 { - l = 0 - for _, e := range m.Indices { - l += sovBeaconChain(uint64(e)) - } - n += 1 + sovBeaconChain(uint64(l)) + l - } - if m.PageSize != 0 { - n += 1 + sovBeaconChain(uint64(m.PageSize)) - } - l = len(m.PageToken) - if l > 0 { - n += 1 + l + sovBeaconChain(uint64(l)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *ListValidatorBalancesRequest_Epoch) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - n += 1 + sovBeaconChain(uint64(m.Epoch)) - return n -} -func (m *ListValidatorBalancesRequest_Genesis) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - n += 2 - return n -} -func (m *ValidatorBalances) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Epoch != 0 { - n += 1 + sovBeaconChain(uint64(m.Epoch)) - } - if len(m.Balances) > 0 { - for _, e := range m.Balances { - l = e.Size() - n += 1 + l + sovBeaconChain(uint64(l)) - } - } - l = len(m.NextPageToken) - if l > 0 { - n += 1 + l + sovBeaconChain(uint64(l)) - } - if m.TotalSize != 0 { - n += 1 + sovBeaconChain(uint64(m.TotalSize)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *ValidatorBalances_Balance) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.PublicKey) - if l > 0 { - n += 1 + l + sovBeaconChain(uint64(l)) - } - if m.Index != 0 { - n += 1 + sovBeaconChain(uint64(m.Index)) - } - if m.Balance != 0 { - n += 1 + sovBeaconChain(uint64(m.Balance)) - } - l = len(m.Status) - if l > 0 { - n += 1 + l + sovBeaconChain(uint64(l)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *ListValidatorsRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.QueryFilter != nil { - n += m.QueryFilter.Size() - } - if m.Active { - n += 2 - } - if m.PageSize != 0 { - n += 1 + sovBeaconChain(uint64(m.PageSize)) - } - l = len(m.PageToken) - if l > 0 { - n += 1 + l + sovBeaconChain(uint64(l)) - } - if len(m.PublicKeys) > 0 { - for _, b := range m.PublicKeys { - l = len(b) - n += 1 + l + sovBeaconChain(uint64(l)) - } - } - if len(m.Indices) > 0 { - l = 0 - for _, e := range m.Indices { - l += sovBeaconChain(uint64(e)) - } - n += 1 + sovBeaconChain(uint64(l)) + l - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *ListValidatorsRequest_Epoch) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - n += 1 + sovBeaconChain(uint64(m.Epoch)) - return n -} -func (m *ListValidatorsRequest_Genesis) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - n += 2 - return n -} -func (m *GetValidatorRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.QueryFilter != nil { - n += m.QueryFilter.Size() - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *GetValidatorRequest_Index) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - n += 1 + sovBeaconChain(uint64(m.Index)) - return n -} -func (m *GetValidatorRequest_PublicKey) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.PublicKey != nil { - l = len(m.PublicKey) - n += 1 + l + sovBeaconChain(uint64(l)) - } - return n -} -func (m *Validators) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Epoch != 0 { - n += 1 + sovBeaconChain(uint64(m.Epoch)) - } - if len(m.ValidatorList) > 0 { - for _, e := range m.ValidatorList { - l = e.Size() - n += 1 + l + sovBeaconChain(uint64(l)) - } - } - l = len(m.NextPageToken) - if l > 0 { - n += 1 + l + sovBeaconChain(uint64(l)) - } - if m.TotalSize != 0 { - n += 1 + sovBeaconChain(uint64(m.TotalSize)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *Validators_ValidatorContainer) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Index != 0 { - n += 1 + sovBeaconChain(uint64(m.Index)) - } - if m.Validator != nil { - l = m.Validator.Size() - n += 1 + l + sovBeaconChain(uint64(l)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *GetValidatorActiveSetChangesRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.QueryFilter != nil { - n += m.QueryFilter.Size() - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *GetValidatorActiveSetChangesRequest_Epoch) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - n += 1 + sovBeaconChain(uint64(m.Epoch)) - return n -} -func (m *GetValidatorActiveSetChangesRequest_Genesis) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - n += 2 - return n -} -func (m *ActiveSetChanges) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Epoch != 0 { - n += 1 + sovBeaconChain(uint64(m.Epoch)) - } - if len(m.ActivatedPublicKeys) > 0 { - for _, b := range m.ActivatedPublicKeys { - l = len(b) - n += 1 + l + sovBeaconChain(uint64(l)) - } - } - if len(m.ActivatedIndices) > 0 { - l = 0 - for _, e := range m.ActivatedIndices { - l += sovBeaconChain(uint64(e)) - } - n += 1 + sovBeaconChain(uint64(l)) + l - } - if len(m.ExitedPublicKeys) > 0 { - for _, b := range m.ExitedPublicKeys { - l = len(b) - n += 1 + l + sovBeaconChain(uint64(l)) - } - } - if len(m.ExitedIndices) > 0 { - l = 0 - for _, e := range m.ExitedIndices { - l += sovBeaconChain(uint64(e)) - } - n += 1 + sovBeaconChain(uint64(l)) + l - } - if len(m.SlashedPublicKeys) > 0 { - for _, b := range m.SlashedPublicKeys { - l = len(b) - n += 1 + l + sovBeaconChain(uint64(l)) - } - } - if len(m.SlashedIndices) > 0 { - l = 0 - for _, e := range m.SlashedIndices { - l += sovBeaconChain(uint64(e)) - } - n += 1 + sovBeaconChain(uint64(l)) + l - } - if len(m.EjectedPublicKeys) > 0 { - for _, b := range m.EjectedPublicKeys { - l = len(b) - n += 1 + l + sovBeaconChain(uint64(l)) - } - } - if len(m.EjectedIndices) > 0 { - l = 0 - for _, e := range m.EjectedIndices { - l += sovBeaconChain(uint64(e)) - } - n += 1 + sovBeaconChain(uint64(l)) + l - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *ValidatorPerformanceRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if len(m.PublicKeys) > 0 { - for _, b := range m.PublicKeys { - l = len(b) - n += 1 + l + sovBeaconChain(uint64(l)) - } - } - if len(m.Indices) > 0 { - l = 0 - for _, e := range m.Indices { - l += sovBeaconChain(uint64(e)) - } - n += 1 + sovBeaconChain(uint64(l)) + l - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *ValidatorPerformanceResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if len(m.CurrentEffectiveBalances) > 0 { - l = 0 - for _, e := range m.CurrentEffectiveBalances { - l += sovBeaconChain(uint64(e)) - } - n += 1 + sovBeaconChain(uint64(l)) + l - } - if len(m.InclusionSlots) > 0 { - l = 0 - for _, e := range m.InclusionSlots { - l += sovBeaconChain(uint64(e)) - } - n += 1 + sovBeaconChain(uint64(l)) + l - } - if len(m.InclusionDistances) > 0 { - l = 0 - for _, e := range m.InclusionDistances { - l += sovBeaconChain(uint64(e)) - } - n += 1 + sovBeaconChain(uint64(l)) + l - } - if len(m.CorrectlyVotedSource) > 0 { - n += 1 + sovBeaconChain(uint64(len(m.CorrectlyVotedSource))) + len(m.CorrectlyVotedSource)*1 - } - if len(m.CorrectlyVotedTarget) > 0 { - n += 1 + sovBeaconChain(uint64(len(m.CorrectlyVotedTarget))) + len(m.CorrectlyVotedTarget)*1 - } - if len(m.CorrectlyVotedHead) > 0 { - n += 1 + sovBeaconChain(uint64(len(m.CorrectlyVotedHead))) + len(m.CorrectlyVotedHead)*1 - } - if len(m.BalancesBeforeEpochTransition) > 0 { - l = 0 - for _, e := range m.BalancesBeforeEpochTransition { - l += sovBeaconChain(uint64(e)) - } - n += 1 + sovBeaconChain(uint64(l)) + l - } - if len(m.BalancesAfterEpochTransition) > 0 { - l = 0 - for _, e := range m.BalancesAfterEpochTransition { - l += sovBeaconChain(uint64(e)) - } - n += 1 + sovBeaconChain(uint64(l)) + l - } - if len(m.MissingValidators) > 0 { - for _, b := range m.MissingValidators { - l = len(b) - n += 1 + l + sovBeaconChain(uint64(l)) - } - } - if m.AverageActiveValidatorBalance != 0 { - n += 5 - } - if len(m.PublicKeys) > 0 { - for _, b := range m.PublicKeys { - l = len(b) - n += 1 + l + sovBeaconChain(uint64(l)) - } - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *ValidatorQueue) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.ChurnLimit != 0 { - n += 1 + sovBeaconChain(uint64(m.ChurnLimit)) - } - if len(m.ActivationPublicKeys) > 0 { - for _, b := range m.ActivationPublicKeys { - l = len(b) - n += 1 + l + sovBeaconChain(uint64(l)) - } - } - if len(m.ExitPublicKeys) > 0 { - for _, b := range m.ExitPublicKeys { - l = len(b) - n += 1 + l + sovBeaconChain(uint64(l)) - } - } - if len(m.ActivationValidatorIndices) > 0 { - l = 0 - for _, e := range m.ActivationValidatorIndices { - l += sovBeaconChain(uint64(e)) - } - n += 1 + sovBeaconChain(uint64(l)) + l - } - if len(m.ExitValidatorIndices) > 0 { - l = 0 - for _, e := range m.ExitValidatorIndices { - l += sovBeaconChain(uint64(e)) - } - n += 1 + sovBeaconChain(uint64(l)) + l - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *ListValidatorAssignmentsRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.QueryFilter != nil { - n += m.QueryFilter.Size() - } - if len(m.PublicKeys) > 0 { - for _, b := range m.PublicKeys { - l = len(b) - n += 1 + l + sovBeaconChain(uint64(l)) - } - } - if len(m.Indices) > 0 { - l = 0 - for _, e := range m.Indices { - l += sovBeaconChain(uint64(e)) - } - n += 1 + sovBeaconChain(uint64(l)) + l - } - if m.PageSize != 0 { - n += 1 + sovBeaconChain(uint64(m.PageSize)) - } - l = len(m.PageToken) - if l > 0 { - n += 1 + l + sovBeaconChain(uint64(l)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *ListValidatorAssignmentsRequest_Epoch) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - n += 1 + sovBeaconChain(uint64(m.Epoch)) - return n -} -func (m *ListValidatorAssignmentsRequest_Genesis) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - n += 2 - return n -} -func (m *ValidatorAssignments) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Epoch != 0 { - n += 1 + sovBeaconChain(uint64(m.Epoch)) - } - if len(m.Assignments) > 0 { - for _, e := range m.Assignments { - l = e.Size() - n += 1 + l + sovBeaconChain(uint64(l)) - } - } - l = len(m.NextPageToken) - if l > 0 { - n += 1 + l + sovBeaconChain(uint64(l)) - } - if m.TotalSize != 0 { - n += 1 + sovBeaconChain(uint64(m.TotalSize)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *ValidatorAssignments_CommitteeAssignment) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if len(m.BeaconCommittees) > 0 { - l = 0 - for _, e := range m.BeaconCommittees { - l += sovBeaconChain(uint64(e)) - } - n += 1 + sovBeaconChain(uint64(l)) + l - } - if m.CommitteeIndex != 0 { - n += 1 + sovBeaconChain(uint64(m.CommitteeIndex)) - } - if m.AttesterSlot != 0 { - n += 1 + sovBeaconChain(uint64(m.AttesterSlot)) - } - if len(m.ProposerSlots) > 0 { - l = 0 - for _, e := range m.ProposerSlots { - l += sovBeaconChain(uint64(e)) - } - n += 1 + sovBeaconChain(uint64(l)) + l - } - l = len(m.PublicKey) - if l > 0 { - n += 1 + l + sovBeaconChain(uint64(l)) - } - if m.ValidatorIndex != 0 { - n += 1 + sovBeaconChain(uint64(m.ValidatorIndex)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *GetValidatorParticipationRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.QueryFilter != nil { - n += m.QueryFilter.Size() - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *GetValidatorParticipationRequest_Epoch) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - n += 1 + sovBeaconChain(uint64(m.Epoch)) - return n -} -func (m *GetValidatorParticipationRequest_Genesis) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - n += 2 - return n -} -func (m *ValidatorParticipationResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Epoch != 0 { - n += 1 + sovBeaconChain(uint64(m.Epoch)) - } - if m.Finalized { - n += 2 - } - if m.Participation != nil { - l = m.Participation.Size() - n += 1 + l + sovBeaconChain(uint64(l)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *AttestationPoolRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.PageSize != 0 { - n += 1 + sovBeaconChain(uint64(m.PageSize)) - } - l = len(m.PageToken) - if l > 0 { - n += 1 + l + sovBeaconChain(uint64(l)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *AttestationPoolResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if len(m.Attestations) > 0 { - for _, e := range m.Attestations { - l = e.Size() - n += 1 + l + sovBeaconChain(uint64(l)) - } - } - l = len(m.NextPageToken) - if l > 0 { - n += 1 + l + sovBeaconChain(uint64(l)) - } - if m.TotalSize != 0 { - n += 1 + sovBeaconChain(uint64(m.TotalSize)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *BeaconConfig) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if len(m.Config) > 0 { - for k, v := range m.Config { - _ = k - _ = v - mapEntrySize := 1 + len(k) + sovBeaconChain(uint64(len(k))) + 1 + len(v) + sovBeaconChain(uint64(len(v))) - n += mapEntrySize + 1 + sovBeaconChain(uint64(mapEntrySize)) - } - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *SubmitSlashingResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if len(m.SlashedIndices) > 0 { - l = 0 - for _, e := range m.SlashedIndices { - l += sovBeaconChain(uint64(e)) - } - n += 1 + sovBeaconChain(uint64(l)) + l - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *IndividualVotesRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Epoch != 0 { - n += 1 + sovBeaconChain(uint64(m.Epoch)) - } - if len(m.PublicKeys) > 0 { - for _, b := range m.PublicKeys { - l = len(b) - n += 1 + l + sovBeaconChain(uint64(l)) - } - } - if len(m.Indices) > 0 { - l = 0 - for _, e := range m.Indices { - l += sovBeaconChain(uint64(e)) - } - n += 1 + sovBeaconChain(uint64(l)) + l - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *IndividualVotesRespond) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if len(m.IndividualVotes) > 0 { - for _, e := range m.IndividualVotes { - l = e.Size() - n += 1 + l + sovBeaconChain(uint64(l)) - } - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *IndividualVotesRespond_IndividualVote) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Epoch != 0 { - n += 1 + sovBeaconChain(uint64(m.Epoch)) - } - l = len(m.PublicKey) - if l > 0 { - n += 1 + l + sovBeaconChain(uint64(l)) - } - if m.ValidatorIndex != 0 { - n += 1 + sovBeaconChain(uint64(m.ValidatorIndex)) - } - if m.IsSlashed { - n += 2 - } - if m.IsWithdrawableInCurrentEpoch { - n += 2 - } - if m.IsActiveInCurrentEpoch { - n += 2 - } - if m.IsActiveInPreviousEpoch { - n += 2 - } - if m.IsCurrentEpochAttester { - n += 2 - } - if m.IsCurrentEpochTargetAttester { - n += 2 - } - if m.IsPreviousEpochAttester { - n += 2 - } - if m.IsPreviousEpochTargetAttester { - n += 2 - } - if m.IsPreviousEpochHeadAttester { - n += 2 - } - if m.CurrentEpochEffectiveBalanceGwei != 0 { - n += 1 + sovBeaconChain(uint64(m.CurrentEpochEffectiveBalanceGwei)) - } - if m.InclusionSlot != 0 { - n += 1 + sovBeaconChain(uint64(m.InclusionSlot)) - } - if m.InclusionDistance != 0 { - n += 1 + sovBeaconChain(uint64(m.InclusionDistance)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *WeakSubjectivityCheckpoint) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.BlockRoot) - if l > 0 { - n += 1 + l + sovBeaconChain(uint64(l)) - } - l = len(m.StateRoot) - if l > 0 { - n += 1 + l + sovBeaconChain(uint64(l)) - } - if m.Epoch != 0 { - n += 1 + sovBeaconChain(uint64(m.Epoch)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func sovBeaconChain(x uint64) (n int) { - return (math_bits.Len64(x|1) + 6) / 7 -} -func sozBeaconChain(x uint64) (n int) { - return sovBeaconChain(uint64((x << 1) ^ uint64((int64(x) >> 63)))) -} -func (m *ValidatorChangeSet) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: ValidatorChangeSet: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: ValidatorChangeSet: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Action", wireType) - } - m.Action = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Action |= SetAction(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field PublicKeys", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return ErrInvalidLengthBeaconChain - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthBeaconChain - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.PublicKeys = append(m.PublicKeys, make([]byte, postIndex-iNdEx)) - copy(m.PublicKeys[len(m.PublicKeys)-1], dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipBeaconChain(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthBeaconChain - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthBeaconChain - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *ListIndexedAttestationsRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: ListIndexedAttestationsRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: ListIndexedAttestationsRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Epoch", wireType) - } - var v github_com_prysmaticlabs_eth2_types.Epoch - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= github_com_prysmaticlabs_eth2_types.Epoch(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.QueryFilter = &ListIndexedAttestationsRequest_Epoch{v} - case 2: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field GenesisEpoch", wireType) - } - var v int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - b := bool(v != 0) - m.QueryFilter = &ListIndexedAttestationsRequest_GenesisEpoch{b} - case 3: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field PageSize", wireType) - } - m.PageSize = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.PageSize |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field PageToken", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthBeaconChain - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthBeaconChain - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.PageToken = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipBeaconChain(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthBeaconChain - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthBeaconChain - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *ListAttestationsRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: ListAttestationsRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: ListAttestationsRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Epoch", wireType) - } - var v github_com_prysmaticlabs_eth2_types.Epoch - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= github_com_prysmaticlabs_eth2_types.Epoch(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.QueryFilter = &ListAttestationsRequest_Epoch{v} - case 2: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field GenesisEpoch", wireType) - } - var v int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - b := bool(v != 0) - m.QueryFilter = &ListAttestationsRequest_GenesisEpoch{b} - case 3: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field PageSize", wireType) - } - m.PageSize = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.PageSize |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field PageToken", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthBeaconChain - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthBeaconChain - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.PageToken = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipBeaconChain(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthBeaconChain - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthBeaconChain - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *ListAttestationsResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: ListAttestationsResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: ListAttestationsResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Attestations", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthBeaconChain - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthBeaconChain - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Attestations = append(m.Attestations, &Attestation{}) - if err := m.Attestations[len(m.Attestations)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field NextPageToken", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthBeaconChain - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthBeaconChain - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.NextPageToken = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field TotalSize", wireType) - } - m.TotalSize = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.TotalSize |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - default: - iNdEx = preIndex - skippy, err := skipBeaconChain(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthBeaconChain - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthBeaconChain - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *ListIndexedAttestationsResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: ListIndexedAttestationsResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: ListIndexedAttestationsResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field IndexedAttestations", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthBeaconChain - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthBeaconChain - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.IndexedAttestations = append(m.IndexedAttestations, &IndexedAttestation{}) - if err := m.IndexedAttestations[len(m.IndexedAttestations)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field NextPageToken", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthBeaconChain - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthBeaconChain - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.NextPageToken = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field TotalSize", wireType) - } - m.TotalSize = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.TotalSize |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - default: - iNdEx = preIndex - skippy, err := skipBeaconChain(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthBeaconChain - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthBeaconChain - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *ListBlocksRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: ListBlocksRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: ListBlocksRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Root", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return ErrInvalidLengthBeaconChain - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthBeaconChain - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - v := make([]byte, postIndex-iNdEx) - copy(v, dAtA[iNdEx:postIndex]) - m.QueryFilter = &ListBlocksRequest_Root{v} - iNdEx = postIndex - case 2: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Slot", wireType) - } - var v github_com_prysmaticlabs_eth2_types.Slot - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= github_com_prysmaticlabs_eth2_types.Slot(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.QueryFilter = &ListBlocksRequest_Slot{v} - case 3: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Epoch", wireType) - } - var v github_com_prysmaticlabs_eth2_types.Epoch - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= github_com_prysmaticlabs_eth2_types.Epoch(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.QueryFilter = &ListBlocksRequest_Epoch{v} - case 4: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Genesis", wireType) - } - var v int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - b := bool(v != 0) - m.QueryFilter = &ListBlocksRequest_Genesis{b} - case 5: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field PageSize", wireType) - } - m.PageSize = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.PageSize |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 6: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field PageToken", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthBeaconChain - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthBeaconChain - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.PageToken = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipBeaconChain(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthBeaconChain - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthBeaconChain - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *ListBlocksResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: ListBlocksResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: ListBlocksResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field BlockContainers", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthBeaconChain - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthBeaconChain - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.BlockContainers = append(m.BlockContainers, &BeaconBlockContainer{}) - if err := m.BlockContainers[len(m.BlockContainers)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field NextPageToken", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthBeaconChain - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthBeaconChain - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.NextPageToken = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field TotalSize", wireType) - } - m.TotalSize = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.TotalSize |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - default: - iNdEx = preIndex - skippy, err := skipBeaconChain(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthBeaconChain - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthBeaconChain - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *StreamBlocksRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: StreamBlocksRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: StreamBlocksRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field VerifiedOnly", wireType) - } - var v int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.VerifiedOnly = bool(v != 0) - default: - iNdEx = preIndex - skippy, err := skipBeaconChain(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthBeaconChain - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthBeaconChain - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *BeaconBlockContainer) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: BeaconBlockContainer: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: BeaconBlockContainer: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Block", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthBeaconChain - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthBeaconChain - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Block == nil { - m.Block = &SignedBeaconBlock{} - } - if err := m.Block.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field BlockRoot", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return ErrInvalidLengthBeaconChain - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthBeaconChain - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.BlockRoot = append(m.BlockRoot[:0], dAtA[iNdEx:postIndex]...) - if m.BlockRoot == nil { - m.BlockRoot = []byte{} - } - iNdEx = postIndex - case 3: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Canonical", wireType) - } - var v int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.Canonical = bool(v != 0) - default: - iNdEx = preIndex - skippy, err := skipBeaconChain(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthBeaconChain - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthBeaconChain - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *ChainHead) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: ChainHead: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: ChainHead: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field HeadSlot", wireType) - } - m.HeadSlot = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.HeadSlot |= github_com_prysmaticlabs_eth2_types.Slot(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 2: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field HeadEpoch", wireType) - } - m.HeadEpoch = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.HeadEpoch |= github_com_prysmaticlabs_eth2_types.Epoch(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field HeadBlockRoot", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return ErrInvalidLengthBeaconChain - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthBeaconChain - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.HeadBlockRoot = append(m.HeadBlockRoot[:0], dAtA[iNdEx:postIndex]...) - if m.HeadBlockRoot == nil { - m.HeadBlockRoot = []byte{} - } - iNdEx = postIndex - case 4: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field FinalizedSlot", wireType) - } - m.FinalizedSlot = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.FinalizedSlot |= github_com_prysmaticlabs_eth2_types.Slot(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 5: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field FinalizedEpoch", wireType) - } - m.FinalizedEpoch = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.FinalizedEpoch |= github_com_prysmaticlabs_eth2_types.Epoch(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 6: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field FinalizedBlockRoot", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return ErrInvalidLengthBeaconChain - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthBeaconChain - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.FinalizedBlockRoot = append(m.FinalizedBlockRoot[:0], dAtA[iNdEx:postIndex]...) - if m.FinalizedBlockRoot == nil { - m.FinalizedBlockRoot = []byte{} - } - iNdEx = postIndex - case 7: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field JustifiedSlot", wireType) - } - m.JustifiedSlot = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.JustifiedSlot |= github_com_prysmaticlabs_eth2_types.Slot(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 8: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field JustifiedEpoch", wireType) - } - m.JustifiedEpoch = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.JustifiedEpoch |= github_com_prysmaticlabs_eth2_types.Epoch(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 9: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field JustifiedBlockRoot", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return ErrInvalidLengthBeaconChain - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthBeaconChain - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.JustifiedBlockRoot = append(m.JustifiedBlockRoot[:0], dAtA[iNdEx:postIndex]...) - if m.JustifiedBlockRoot == nil { - m.JustifiedBlockRoot = []byte{} - } - iNdEx = postIndex - case 10: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field PreviousJustifiedSlot", wireType) - } - m.PreviousJustifiedSlot = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.PreviousJustifiedSlot |= github_com_prysmaticlabs_eth2_types.Slot(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 11: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field PreviousJustifiedEpoch", wireType) - } - m.PreviousJustifiedEpoch = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.PreviousJustifiedEpoch |= github_com_prysmaticlabs_eth2_types.Epoch(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 12: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field PreviousJustifiedBlockRoot", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return ErrInvalidLengthBeaconChain - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthBeaconChain - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.PreviousJustifiedBlockRoot = append(m.PreviousJustifiedBlockRoot[:0], dAtA[iNdEx:postIndex]...) - if m.PreviousJustifiedBlockRoot == nil { - m.PreviousJustifiedBlockRoot = []byte{} - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipBeaconChain(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthBeaconChain - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthBeaconChain - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *ListCommitteesRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: ListCommitteesRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: ListCommitteesRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Epoch", wireType) - } - var v github_com_prysmaticlabs_eth2_types.Epoch - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= github_com_prysmaticlabs_eth2_types.Epoch(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.QueryFilter = &ListCommitteesRequest_Epoch{v} - case 2: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Genesis", wireType) - } - var v int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - b := bool(v != 0) - m.QueryFilter = &ListCommitteesRequest_Genesis{b} - default: - iNdEx = preIndex - skippy, err := skipBeaconChain(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthBeaconChain - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthBeaconChain - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *BeaconCommittees) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: BeaconCommittees: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: BeaconCommittees: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Epoch", wireType) - } - m.Epoch = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Epoch |= github_com_prysmaticlabs_eth2_types.Epoch(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Committees", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthBeaconChain - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthBeaconChain - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Committees == nil { - m.Committees = make(map[uint64]*BeaconCommittees_CommitteesList) - } - var mapkey uint64 - var mapvalue *BeaconCommittees_CommitteesList - for iNdEx < postIndex { - entryPreIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - if fieldNum == 1 { - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - mapkey |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - } else if fieldNum == 2 { - var mapmsglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - mapmsglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if mapmsglen < 0 { - return ErrInvalidLengthBeaconChain - } - postmsgIndex := iNdEx + mapmsglen - if postmsgIndex < 0 { - return ErrInvalidLengthBeaconChain - } - if postmsgIndex > l { - return io.ErrUnexpectedEOF - } - mapvalue = &BeaconCommittees_CommitteesList{} - if err := mapvalue.Unmarshal(dAtA[iNdEx:postmsgIndex]); err != nil { - return err - } - iNdEx = postmsgIndex - } else { - iNdEx = entryPreIndex - skippy, err := skipBeaconChain(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthBeaconChain - } - if (iNdEx + skippy) > postIndex { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - m.Committees[mapkey] = mapvalue - iNdEx = postIndex - case 3: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field ActiveValidatorCount", wireType) - } - m.ActiveValidatorCount = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.ActiveValidatorCount |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - default: - iNdEx = preIndex - skippy, err := skipBeaconChain(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthBeaconChain - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthBeaconChain - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *BeaconCommittees_CommitteeItem) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: CommitteeItem: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: CommitteeItem: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType == 0 { - var v github_com_prysmaticlabs_eth2_types.ValidatorIndex - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= github_com_prysmaticlabs_eth2_types.ValidatorIndex(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.ValidatorIndices = append(m.ValidatorIndices, v) - } else if wireType == 2 { - var packedLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - packedLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if packedLen < 0 { - return ErrInvalidLengthBeaconChain - } - postIndex := iNdEx + packedLen - if postIndex < 0 { - return ErrInvalidLengthBeaconChain - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - var elementCount int - var count int - for _, integer := range dAtA[iNdEx:postIndex] { - if integer < 128 { - count++ - } - } - elementCount = count - if elementCount != 0 && len(m.ValidatorIndices) == 0 { - m.ValidatorIndices = make([]github_com_prysmaticlabs_eth2_types.ValidatorIndex, 0, elementCount) - } - for iNdEx < postIndex { - var v github_com_prysmaticlabs_eth2_types.ValidatorIndex - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= github_com_prysmaticlabs_eth2_types.ValidatorIndex(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.ValidatorIndices = append(m.ValidatorIndices, v) - } - } else { - return fmt.Errorf("proto: wrong wireType = %d for field ValidatorIndices", wireType) - } - default: - iNdEx = preIndex - skippy, err := skipBeaconChain(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthBeaconChain - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthBeaconChain - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *BeaconCommittees_CommitteesList) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: CommitteesList: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: CommitteesList: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Committees", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthBeaconChain - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthBeaconChain - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Committees = append(m.Committees, &BeaconCommittees_CommitteeItem{}) - if err := m.Committees[len(m.Committees)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipBeaconChain(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthBeaconChain - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthBeaconChain - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *ListValidatorBalancesRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: ListValidatorBalancesRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: ListValidatorBalancesRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Epoch", wireType) - } - var v github_com_prysmaticlabs_eth2_types.Epoch - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= github_com_prysmaticlabs_eth2_types.Epoch(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.QueryFilter = &ListValidatorBalancesRequest_Epoch{v} - case 2: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Genesis", wireType) - } - var v int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - b := bool(v != 0) - m.QueryFilter = &ListValidatorBalancesRequest_Genesis{b} - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field PublicKeys", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return ErrInvalidLengthBeaconChain - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthBeaconChain - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.PublicKeys = append(m.PublicKeys, make([]byte, postIndex-iNdEx)) - copy(m.PublicKeys[len(m.PublicKeys)-1], dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 4: - if wireType == 0 { - var v github_com_prysmaticlabs_eth2_types.ValidatorIndex - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= github_com_prysmaticlabs_eth2_types.ValidatorIndex(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.Indices = append(m.Indices, v) - } else if wireType == 2 { - var packedLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - packedLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if packedLen < 0 { - return ErrInvalidLengthBeaconChain - } - postIndex := iNdEx + packedLen - if postIndex < 0 { - return ErrInvalidLengthBeaconChain - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - var elementCount int - var count int - for _, integer := range dAtA[iNdEx:postIndex] { - if integer < 128 { - count++ - } - } - elementCount = count - if elementCount != 0 && len(m.Indices) == 0 { - m.Indices = make([]github_com_prysmaticlabs_eth2_types.ValidatorIndex, 0, elementCount) - } - for iNdEx < postIndex { - var v github_com_prysmaticlabs_eth2_types.ValidatorIndex - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= github_com_prysmaticlabs_eth2_types.ValidatorIndex(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.Indices = append(m.Indices, v) - } - } else { - return fmt.Errorf("proto: wrong wireType = %d for field Indices", wireType) - } - case 5: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field PageSize", wireType) - } - m.PageSize = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.PageSize |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 6: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field PageToken", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthBeaconChain - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthBeaconChain - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.PageToken = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipBeaconChain(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthBeaconChain - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthBeaconChain - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *ValidatorBalances) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: ValidatorBalances: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: ValidatorBalances: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Epoch", wireType) - } - m.Epoch = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Epoch |= github_com_prysmaticlabs_eth2_types.Epoch(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Balances", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthBeaconChain - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthBeaconChain - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Balances = append(m.Balances, &ValidatorBalances_Balance{}) - if err := m.Balances[len(m.Balances)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field NextPageToken", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthBeaconChain - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthBeaconChain - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.NextPageToken = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 4: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field TotalSize", wireType) - } - m.TotalSize = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.TotalSize |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - default: - iNdEx = preIndex - skippy, err := skipBeaconChain(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthBeaconChain - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthBeaconChain - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *ValidatorBalances_Balance) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: Balance: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: Balance: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field PublicKey", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return ErrInvalidLengthBeaconChain - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthBeaconChain - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.PublicKey = append(m.PublicKey[:0], dAtA[iNdEx:postIndex]...) - if m.PublicKey == nil { - m.PublicKey = []byte{} - } - iNdEx = postIndex - case 2: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Index", wireType) - } - m.Index = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Index |= github_com_prysmaticlabs_eth2_types.ValidatorIndex(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 3: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Balance", wireType) - } - m.Balance = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Balance |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthBeaconChain - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthBeaconChain - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Status = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipBeaconChain(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthBeaconChain - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthBeaconChain - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *ListValidatorsRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: ListValidatorsRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: ListValidatorsRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Epoch", wireType) - } - var v github_com_prysmaticlabs_eth2_types.Epoch - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= github_com_prysmaticlabs_eth2_types.Epoch(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.QueryFilter = &ListValidatorsRequest_Epoch{v} - case 2: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Genesis", wireType) - } - var v int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - b := bool(v != 0) - m.QueryFilter = &ListValidatorsRequest_Genesis{b} - case 3: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Active", wireType) - } - var v int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.Active = bool(v != 0) - case 4: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field PageSize", wireType) - } - m.PageSize = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.PageSize |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 5: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field PageToken", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthBeaconChain - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthBeaconChain - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.PageToken = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 6: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field PublicKeys", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return ErrInvalidLengthBeaconChain - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthBeaconChain - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.PublicKeys = append(m.PublicKeys, make([]byte, postIndex-iNdEx)) - copy(m.PublicKeys[len(m.PublicKeys)-1], dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 7: - if wireType == 0 { - var v github_com_prysmaticlabs_eth2_types.ValidatorIndex - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= github_com_prysmaticlabs_eth2_types.ValidatorIndex(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.Indices = append(m.Indices, v) - } else if wireType == 2 { - var packedLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - packedLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if packedLen < 0 { - return ErrInvalidLengthBeaconChain - } - postIndex := iNdEx + packedLen - if postIndex < 0 { - return ErrInvalidLengthBeaconChain - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - var elementCount int - var count int - for _, integer := range dAtA[iNdEx:postIndex] { - if integer < 128 { - count++ - } - } - elementCount = count - if elementCount != 0 && len(m.Indices) == 0 { - m.Indices = make([]github_com_prysmaticlabs_eth2_types.ValidatorIndex, 0, elementCount) - } - for iNdEx < postIndex { - var v github_com_prysmaticlabs_eth2_types.ValidatorIndex - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= github_com_prysmaticlabs_eth2_types.ValidatorIndex(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.Indices = append(m.Indices, v) - } - } else { - return fmt.Errorf("proto: wrong wireType = %d for field Indices", wireType) - } - default: - iNdEx = preIndex - skippy, err := skipBeaconChain(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthBeaconChain - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthBeaconChain - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *GetValidatorRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: GetValidatorRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: GetValidatorRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Index", wireType) - } - var v github_com_prysmaticlabs_eth2_types.ValidatorIndex - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= github_com_prysmaticlabs_eth2_types.ValidatorIndex(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.QueryFilter = &GetValidatorRequest_Index{v} - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field PublicKey", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return ErrInvalidLengthBeaconChain - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthBeaconChain - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - v := make([]byte, postIndex-iNdEx) - copy(v, dAtA[iNdEx:postIndex]) - m.QueryFilter = &GetValidatorRequest_PublicKey{v} - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipBeaconChain(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthBeaconChain - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthBeaconChain - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *Validators) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: Validators: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: Validators: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Epoch", wireType) - } - m.Epoch = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Epoch |= github_com_prysmaticlabs_eth2_types.Epoch(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ValidatorList", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthBeaconChain - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthBeaconChain - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ValidatorList = append(m.ValidatorList, &Validators_ValidatorContainer{}) - if err := m.ValidatorList[len(m.ValidatorList)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field NextPageToken", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthBeaconChain - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthBeaconChain - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.NextPageToken = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 4: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field TotalSize", wireType) - } - m.TotalSize = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.TotalSize |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - default: - iNdEx = preIndex - skippy, err := skipBeaconChain(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthBeaconChain - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthBeaconChain - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *Validators_ValidatorContainer) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: ValidatorContainer: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: ValidatorContainer: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Index", wireType) - } - m.Index = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Index |= github_com_prysmaticlabs_eth2_types.ValidatorIndex(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Validator", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthBeaconChain - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthBeaconChain - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Validator == nil { - m.Validator = &Validator{} - } - if err := m.Validator.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipBeaconChain(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthBeaconChain - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthBeaconChain - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *GetValidatorActiveSetChangesRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: GetValidatorActiveSetChangesRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: GetValidatorActiveSetChangesRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Epoch", wireType) - } - var v github_com_prysmaticlabs_eth2_types.Epoch - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= github_com_prysmaticlabs_eth2_types.Epoch(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.QueryFilter = &GetValidatorActiveSetChangesRequest_Epoch{v} - case 2: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Genesis", wireType) - } - var v int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - b := bool(v != 0) - m.QueryFilter = &GetValidatorActiveSetChangesRequest_Genesis{b} - default: - iNdEx = preIndex - skippy, err := skipBeaconChain(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthBeaconChain - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthBeaconChain - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *ActiveSetChanges) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: ActiveSetChanges: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: ActiveSetChanges: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Epoch", wireType) - } - m.Epoch = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Epoch |= github_com_prysmaticlabs_eth2_types.Epoch(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ActivatedPublicKeys", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return ErrInvalidLengthBeaconChain - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthBeaconChain - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ActivatedPublicKeys = append(m.ActivatedPublicKeys, make([]byte, postIndex-iNdEx)) - copy(m.ActivatedPublicKeys[len(m.ActivatedPublicKeys)-1], dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType == 0 { - var v github_com_prysmaticlabs_eth2_types.ValidatorIndex - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= github_com_prysmaticlabs_eth2_types.ValidatorIndex(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.ActivatedIndices = append(m.ActivatedIndices, v) - } else if wireType == 2 { - var packedLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - packedLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if packedLen < 0 { - return ErrInvalidLengthBeaconChain - } - postIndex := iNdEx + packedLen - if postIndex < 0 { - return ErrInvalidLengthBeaconChain - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - var elementCount int - var count int - for _, integer := range dAtA[iNdEx:postIndex] { - if integer < 128 { - count++ - } - } - elementCount = count - if elementCount != 0 && len(m.ActivatedIndices) == 0 { - m.ActivatedIndices = make([]github_com_prysmaticlabs_eth2_types.ValidatorIndex, 0, elementCount) - } - for iNdEx < postIndex { - var v github_com_prysmaticlabs_eth2_types.ValidatorIndex - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= github_com_prysmaticlabs_eth2_types.ValidatorIndex(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.ActivatedIndices = append(m.ActivatedIndices, v) - } - } else { - return fmt.Errorf("proto: wrong wireType = %d for field ActivatedIndices", wireType) - } - case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ExitedPublicKeys", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return ErrInvalidLengthBeaconChain - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthBeaconChain - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ExitedPublicKeys = append(m.ExitedPublicKeys, make([]byte, postIndex-iNdEx)) - copy(m.ExitedPublicKeys[len(m.ExitedPublicKeys)-1], dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 5: - if wireType == 0 { - var v github_com_prysmaticlabs_eth2_types.ValidatorIndex - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= github_com_prysmaticlabs_eth2_types.ValidatorIndex(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.ExitedIndices = append(m.ExitedIndices, v) - } else if wireType == 2 { - var packedLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - packedLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if packedLen < 0 { - return ErrInvalidLengthBeaconChain - } - postIndex := iNdEx + packedLen - if postIndex < 0 { - return ErrInvalidLengthBeaconChain - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - var elementCount int - var count int - for _, integer := range dAtA[iNdEx:postIndex] { - if integer < 128 { - count++ - } - } - elementCount = count - if elementCount != 0 && len(m.ExitedIndices) == 0 { - m.ExitedIndices = make([]github_com_prysmaticlabs_eth2_types.ValidatorIndex, 0, elementCount) - } - for iNdEx < postIndex { - var v github_com_prysmaticlabs_eth2_types.ValidatorIndex - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= github_com_prysmaticlabs_eth2_types.ValidatorIndex(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.ExitedIndices = append(m.ExitedIndices, v) - } - } else { - return fmt.Errorf("proto: wrong wireType = %d for field ExitedIndices", wireType) - } - case 6: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field SlashedPublicKeys", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return ErrInvalidLengthBeaconChain - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthBeaconChain - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.SlashedPublicKeys = append(m.SlashedPublicKeys, make([]byte, postIndex-iNdEx)) - copy(m.SlashedPublicKeys[len(m.SlashedPublicKeys)-1], dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 7: - if wireType == 0 { - var v github_com_prysmaticlabs_eth2_types.ValidatorIndex - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= github_com_prysmaticlabs_eth2_types.ValidatorIndex(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.SlashedIndices = append(m.SlashedIndices, v) - } else if wireType == 2 { - var packedLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - packedLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if packedLen < 0 { - return ErrInvalidLengthBeaconChain - } - postIndex := iNdEx + packedLen - if postIndex < 0 { - return ErrInvalidLengthBeaconChain - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - var elementCount int - var count int - for _, integer := range dAtA[iNdEx:postIndex] { - if integer < 128 { - count++ - } - } - elementCount = count - if elementCount != 0 && len(m.SlashedIndices) == 0 { - m.SlashedIndices = make([]github_com_prysmaticlabs_eth2_types.ValidatorIndex, 0, elementCount) - } - for iNdEx < postIndex { - var v github_com_prysmaticlabs_eth2_types.ValidatorIndex - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= github_com_prysmaticlabs_eth2_types.ValidatorIndex(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.SlashedIndices = append(m.SlashedIndices, v) - } - } else { - return fmt.Errorf("proto: wrong wireType = %d for field SlashedIndices", wireType) - } - case 8: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field EjectedPublicKeys", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return ErrInvalidLengthBeaconChain - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthBeaconChain - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.EjectedPublicKeys = append(m.EjectedPublicKeys, make([]byte, postIndex-iNdEx)) - copy(m.EjectedPublicKeys[len(m.EjectedPublicKeys)-1], dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 9: - if wireType == 0 { - var v github_com_prysmaticlabs_eth2_types.ValidatorIndex - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= github_com_prysmaticlabs_eth2_types.ValidatorIndex(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.EjectedIndices = append(m.EjectedIndices, v) - } else if wireType == 2 { - var packedLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - packedLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if packedLen < 0 { - return ErrInvalidLengthBeaconChain - } - postIndex := iNdEx + packedLen - if postIndex < 0 { - return ErrInvalidLengthBeaconChain - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - var elementCount int - var count int - for _, integer := range dAtA[iNdEx:postIndex] { - if integer < 128 { - count++ - } - } - elementCount = count - if elementCount != 0 && len(m.EjectedIndices) == 0 { - m.EjectedIndices = make([]github_com_prysmaticlabs_eth2_types.ValidatorIndex, 0, elementCount) - } - for iNdEx < postIndex { - var v github_com_prysmaticlabs_eth2_types.ValidatorIndex - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= github_com_prysmaticlabs_eth2_types.ValidatorIndex(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.EjectedIndices = append(m.EjectedIndices, v) - } - } else { - return fmt.Errorf("proto: wrong wireType = %d for field EjectedIndices", wireType) - } - default: - iNdEx = preIndex - skippy, err := skipBeaconChain(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthBeaconChain - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthBeaconChain - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *ValidatorPerformanceRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: ValidatorPerformanceRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: ValidatorPerformanceRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field PublicKeys", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return ErrInvalidLengthBeaconChain - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthBeaconChain - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.PublicKeys = append(m.PublicKeys, make([]byte, postIndex-iNdEx)) - copy(m.PublicKeys[len(m.PublicKeys)-1], dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType == 0 { - var v github_com_prysmaticlabs_eth2_types.ValidatorIndex - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= github_com_prysmaticlabs_eth2_types.ValidatorIndex(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.Indices = append(m.Indices, v) - } else if wireType == 2 { - var packedLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - packedLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if packedLen < 0 { - return ErrInvalidLengthBeaconChain - } - postIndex := iNdEx + packedLen - if postIndex < 0 { - return ErrInvalidLengthBeaconChain - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - var elementCount int - var count int - for _, integer := range dAtA[iNdEx:postIndex] { - if integer < 128 { - count++ - } - } - elementCount = count - if elementCount != 0 && len(m.Indices) == 0 { - m.Indices = make([]github_com_prysmaticlabs_eth2_types.ValidatorIndex, 0, elementCount) - } - for iNdEx < postIndex { - var v github_com_prysmaticlabs_eth2_types.ValidatorIndex - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= github_com_prysmaticlabs_eth2_types.ValidatorIndex(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.Indices = append(m.Indices, v) - } - } else { - return fmt.Errorf("proto: wrong wireType = %d for field Indices", wireType) - } - default: - iNdEx = preIndex - skippy, err := skipBeaconChain(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthBeaconChain - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthBeaconChain - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *ValidatorPerformanceResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: ValidatorPerformanceResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: ValidatorPerformanceResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType == 0 { - var v uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.CurrentEffectiveBalances = append(m.CurrentEffectiveBalances, v) - } else if wireType == 2 { - var packedLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - packedLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if packedLen < 0 { - return ErrInvalidLengthBeaconChain - } - postIndex := iNdEx + packedLen - if postIndex < 0 { - return ErrInvalidLengthBeaconChain - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - var elementCount int - var count int - for _, integer := range dAtA[iNdEx:postIndex] { - if integer < 128 { - count++ - } - } - elementCount = count - if elementCount != 0 && len(m.CurrentEffectiveBalances) == 0 { - m.CurrentEffectiveBalances = make([]uint64, 0, elementCount) - } - for iNdEx < postIndex { - var v uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.CurrentEffectiveBalances = append(m.CurrentEffectiveBalances, v) - } - } else { - return fmt.Errorf("proto: wrong wireType = %d for field CurrentEffectiveBalances", wireType) - } - case 2: - if wireType == 0 { - var v github_com_prysmaticlabs_eth2_types.Slot - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= github_com_prysmaticlabs_eth2_types.Slot(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.InclusionSlots = append(m.InclusionSlots, v) - } else if wireType == 2 { - var packedLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - packedLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if packedLen < 0 { - return ErrInvalidLengthBeaconChain - } - postIndex := iNdEx + packedLen - if postIndex < 0 { - return ErrInvalidLengthBeaconChain - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - var elementCount int - var count int - for _, integer := range dAtA[iNdEx:postIndex] { - if integer < 128 { - count++ - } - } - elementCount = count - if elementCount != 0 && len(m.InclusionSlots) == 0 { - m.InclusionSlots = make([]github_com_prysmaticlabs_eth2_types.Slot, 0, elementCount) - } - for iNdEx < postIndex { - var v github_com_prysmaticlabs_eth2_types.Slot - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= github_com_prysmaticlabs_eth2_types.Slot(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.InclusionSlots = append(m.InclusionSlots, v) - } - } else { - return fmt.Errorf("proto: wrong wireType = %d for field InclusionSlots", wireType) - } - case 3: - if wireType == 0 { - var v github_com_prysmaticlabs_eth2_types.Slot - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= github_com_prysmaticlabs_eth2_types.Slot(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.InclusionDistances = append(m.InclusionDistances, v) - } else if wireType == 2 { - var packedLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - packedLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if packedLen < 0 { - return ErrInvalidLengthBeaconChain - } - postIndex := iNdEx + packedLen - if postIndex < 0 { - return ErrInvalidLengthBeaconChain - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - var elementCount int - var count int - for _, integer := range dAtA[iNdEx:postIndex] { - if integer < 128 { - count++ - } - } - elementCount = count - if elementCount != 0 && len(m.InclusionDistances) == 0 { - m.InclusionDistances = make([]github_com_prysmaticlabs_eth2_types.Slot, 0, elementCount) - } - for iNdEx < postIndex { - var v github_com_prysmaticlabs_eth2_types.Slot - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= github_com_prysmaticlabs_eth2_types.Slot(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.InclusionDistances = append(m.InclusionDistances, v) - } - } else { - return fmt.Errorf("proto: wrong wireType = %d for field InclusionDistances", wireType) - } - case 4: - if wireType == 0 { - var v int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.CorrectlyVotedSource = append(m.CorrectlyVotedSource, bool(v != 0)) - } else if wireType == 2 { - var packedLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - packedLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if packedLen < 0 { - return ErrInvalidLengthBeaconChain - } - postIndex := iNdEx + packedLen - if postIndex < 0 { - return ErrInvalidLengthBeaconChain - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - var elementCount int - elementCount = packedLen - if elementCount != 0 && len(m.CorrectlyVotedSource) == 0 { - m.CorrectlyVotedSource = make([]bool, 0, elementCount) - } - for iNdEx < postIndex { - var v int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.CorrectlyVotedSource = append(m.CorrectlyVotedSource, bool(v != 0)) - } - } else { - return fmt.Errorf("proto: wrong wireType = %d for field CorrectlyVotedSource", wireType) - } - case 5: - if wireType == 0 { - var v int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.CorrectlyVotedTarget = append(m.CorrectlyVotedTarget, bool(v != 0)) - } else if wireType == 2 { - var packedLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - packedLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if packedLen < 0 { - return ErrInvalidLengthBeaconChain - } - postIndex := iNdEx + packedLen - if postIndex < 0 { - return ErrInvalidLengthBeaconChain - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - var elementCount int - elementCount = packedLen - if elementCount != 0 && len(m.CorrectlyVotedTarget) == 0 { - m.CorrectlyVotedTarget = make([]bool, 0, elementCount) - } - for iNdEx < postIndex { - var v int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.CorrectlyVotedTarget = append(m.CorrectlyVotedTarget, bool(v != 0)) - } - } else { - return fmt.Errorf("proto: wrong wireType = %d for field CorrectlyVotedTarget", wireType) - } - case 6: - if wireType == 0 { - var v int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.CorrectlyVotedHead = append(m.CorrectlyVotedHead, bool(v != 0)) - } else if wireType == 2 { - var packedLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - packedLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if packedLen < 0 { - return ErrInvalidLengthBeaconChain - } - postIndex := iNdEx + packedLen - if postIndex < 0 { - return ErrInvalidLengthBeaconChain - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - var elementCount int - elementCount = packedLen - if elementCount != 0 && len(m.CorrectlyVotedHead) == 0 { - m.CorrectlyVotedHead = make([]bool, 0, elementCount) - } - for iNdEx < postIndex { - var v int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.CorrectlyVotedHead = append(m.CorrectlyVotedHead, bool(v != 0)) - } - } else { - return fmt.Errorf("proto: wrong wireType = %d for field CorrectlyVotedHead", wireType) - } - case 7: - if wireType == 0 { - var v uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.BalancesBeforeEpochTransition = append(m.BalancesBeforeEpochTransition, v) - } else if wireType == 2 { - var packedLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - packedLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if packedLen < 0 { - return ErrInvalidLengthBeaconChain - } - postIndex := iNdEx + packedLen - if postIndex < 0 { - return ErrInvalidLengthBeaconChain - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - var elementCount int - var count int - for _, integer := range dAtA[iNdEx:postIndex] { - if integer < 128 { - count++ - } - } - elementCount = count - if elementCount != 0 && len(m.BalancesBeforeEpochTransition) == 0 { - m.BalancesBeforeEpochTransition = make([]uint64, 0, elementCount) - } - for iNdEx < postIndex { - var v uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.BalancesBeforeEpochTransition = append(m.BalancesBeforeEpochTransition, v) - } - } else { - return fmt.Errorf("proto: wrong wireType = %d for field BalancesBeforeEpochTransition", wireType) - } - case 8: - if wireType == 0 { - var v uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.BalancesAfterEpochTransition = append(m.BalancesAfterEpochTransition, v) - } else if wireType == 2 { - var packedLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - packedLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if packedLen < 0 { - return ErrInvalidLengthBeaconChain - } - postIndex := iNdEx + packedLen - if postIndex < 0 { - return ErrInvalidLengthBeaconChain - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - var elementCount int - var count int - for _, integer := range dAtA[iNdEx:postIndex] { - if integer < 128 { - count++ - } - } - elementCount = count - if elementCount != 0 && len(m.BalancesAfterEpochTransition) == 0 { - m.BalancesAfterEpochTransition = make([]uint64, 0, elementCount) - } - for iNdEx < postIndex { - var v uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.BalancesAfterEpochTransition = append(m.BalancesAfterEpochTransition, v) - } - } else { - return fmt.Errorf("proto: wrong wireType = %d for field BalancesAfterEpochTransition", wireType) - } - case 9: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field MissingValidators", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return ErrInvalidLengthBeaconChain - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthBeaconChain - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.MissingValidators = append(m.MissingValidators, make([]byte, postIndex-iNdEx)) - copy(m.MissingValidators[len(m.MissingValidators)-1], dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 10: - if wireType != 5 { - return fmt.Errorf("proto: wrong wireType = %d for field AverageActiveValidatorBalance", wireType) - } - var v uint32 - if (iNdEx + 4) > l { - return io.ErrUnexpectedEOF - } - v = uint32(encoding_binary.LittleEndian.Uint32(dAtA[iNdEx:])) - iNdEx += 4 - m.AverageActiveValidatorBalance = float32(math.Float32frombits(v)) - case 11: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field PublicKeys", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return ErrInvalidLengthBeaconChain - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthBeaconChain - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.PublicKeys = append(m.PublicKeys, make([]byte, postIndex-iNdEx)) - copy(m.PublicKeys[len(m.PublicKeys)-1], dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipBeaconChain(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthBeaconChain - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthBeaconChain - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *ValidatorQueue) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: ValidatorQueue: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: ValidatorQueue: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field ChurnLimit", wireType) - } - m.ChurnLimit = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.ChurnLimit |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ActivationPublicKeys", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return ErrInvalidLengthBeaconChain - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthBeaconChain - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ActivationPublicKeys = append(m.ActivationPublicKeys, make([]byte, postIndex-iNdEx)) - copy(m.ActivationPublicKeys[len(m.ActivationPublicKeys)-1], dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ExitPublicKeys", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return ErrInvalidLengthBeaconChain - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthBeaconChain - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ExitPublicKeys = append(m.ExitPublicKeys, make([]byte, postIndex-iNdEx)) - copy(m.ExitPublicKeys[len(m.ExitPublicKeys)-1], dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 4: - if wireType == 0 { - var v github_com_prysmaticlabs_eth2_types.ValidatorIndex - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= github_com_prysmaticlabs_eth2_types.ValidatorIndex(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.ActivationValidatorIndices = append(m.ActivationValidatorIndices, v) - } else if wireType == 2 { - var packedLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - packedLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if packedLen < 0 { - return ErrInvalidLengthBeaconChain - } - postIndex := iNdEx + packedLen - if postIndex < 0 { - return ErrInvalidLengthBeaconChain - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - var elementCount int - var count int - for _, integer := range dAtA[iNdEx:postIndex] { - if integer < 128 { - count++ - } - } - elementCount = count - if elementCount != 0 && len(m.ActivationValidatorIndices) == 0 { - m.ActivationValidatorIndices = make([]github_com_prysmaticlabs_eth2_types.ValidatorIndex, 0, elementCount) - } - for iNdEx < postIndex { - var v github_com_prysmaticlabs_eth2_types.ValidatorIndex - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= github_com_prysmaticlabs_eth2_types.ValidatorIndex(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.ActivationValidatorIndices = append(m.ActivationValidatorIndices, v) - } - } else { - return fmt.Errorf("proto: wrong wireType = %d for field ActivationValidatorIndices", wireType) - } - case 5: - if wireType == 0 { - var v github_com_prysmaticlabs_eth2_types.ValidatorIndex - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= github_com_prysmaticlabs_eth2_types.ValidatorIndex(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.ExitValidatorIndices = append(m.ExitValidatorIndices, v) - } else if wireType == 2 { - var packedLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - packedLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if packedLen < 0 { - return ErrInvalidLengthBeaconChain - } - postIndex := iNdEx + packedLen - if postIndex < 0 { - return ErrInvalidLengthBeaconChain - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - var elementCount int - var count int - for _, integer := range dAtA[iNdEx:postIndex] { - if integer < 128 { - count++ - } - } - elementCount = count - if elementCount != 0 && len(m.ExitValidatorIndices) == 0 { - m.ExitValidatorIndices = make([]github_com_prysmaticlabs_eth2_types.ValidatorIndex, 0, elementCount) - } - for iNdEx < postIndex { - var v github_com_prysmaticlabs_eth2_types.ValidatorIndex - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= github_com_prysmaticlabs_eth2_types.ValidatorIndex(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.ExitValidatorIndices = append(m.ExitValidatorIndices, v) - } - } else { - return fmt.Errorf("proto: wrong wireType = %d for field ExitValidatorIndices", wireType) - } - default: - iNdEx = preIndex - skippy, err := skipBeaconChain(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthBeaconChain - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthBeaconChain - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *ListValidatorAssignmentsRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: ListValidatorAssignmentsRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: ListValidatorAssignmentsRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Epoch", wireType) - } - var v github_com_prysmaticlabs_eth2_types.Epoch - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= github_com_prysmaticlabs_eth2_types.Epoch(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.QueryFilter = &ListValidatorAssignmentsRequest_Epoch{v} - case 2: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Genesis", wireType) - } - var v int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - b := bool(v != 0) - m.QueryFilter = &ListValidatorAssignmentsRequest_Genesis{b} - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field PublicKeys", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return ErrInvalidLengthBeaconChain - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthBeaconChain - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.PublicKeys = append(m.PublicKeys, make([]byte, postIndex-iNdEx)) - copy(m.PublicKeys[len(m.PublicKeys)-1], dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 4: - if wireType == 0 { - var v github_com_prysmaticlabs_eth2_types.ValidatorIndex - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= github_com_prysmaticlabs_eth2_types.ValidatorIndex(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.Indices = append(m.Indices, v) - } else if wireType == 2 { - var packedLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - packedLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if packedLen < 0 { - return ErrInvalidLengthBeaconChain - } - postIndex := iNdEx + packedLen - if postIndex < 0 { - return ErrInvalidLengthBeaconChain - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - var elementCount int - var count int - for _, integer := range dAtA[iNdEx:postIndex] { - if integer < 128 { - count++ - } - } - elementCount = count - if elementCount != 0 && len(m.Indices) == 0 { - m.Indices = make([]github_com_prysmaticlabs_eth2_types.ValidatorIndex, 0, elementCount) - } - for iNdEx < postIndex { - var v github_com_prysmaticlabs_eth2_types.ValidatorIndex - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= github_com_prysmaticlabs_eth2_types.ValidatorIndex(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.Indices = append(m.Indices, v) - } - } else { - return fmt.Errorf("proto: wrong wireType = %d for field Indices", wireType) - } - case 5: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field PageSize", wireType) - } - m.PageSize = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.PageSize |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 6: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field PageToken", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthBeaconChain - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthBeaconChain - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.PageToken = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipBeaconChain(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthBeaconChain - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthBeaconChain - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *ValidatorAssignments) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: ValidatorAssignments: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: ValidatorAssignments: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Epoch", wireType) - } - m.Epoch = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Epoch |= github_com_prysmaticlabs_eth2_types.Epoch(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Assignments", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthBeaconChain - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthBeaconChain - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Assignments = append(m.Assignments, &ValidatorAssignments_CommitteeAssignment{}) - if err := m.Assignments[len(m.Assignments)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field NextPageToken", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthBeaconChain - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthBeaconChain - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.NextPageToken = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 4: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field TotalSize", wireType) - } - m.TotalSize = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.TotalSize |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - default: - iNdEx = preIndex - skippy, err := skipBeaconChain(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthBeaconChain - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthBeaconChain - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *ValidatorAssignments_CommitteeAssignment) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: CommitteeAssignment: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: CommitteeAssignment: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType == 0 { - var v github_com_prysmaticlabs_eth2_types.ValidatorIndex - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= github_com_prysmaticlabs_eth2_types.ValidatorIndex(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.BeaconCommittees = append(m.BeaconCommittees, v) - } else if wireType == 2 { - var packedLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - packedLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if packedLen < 0 { - return ErrInvalidLengthBeaconChain - } - postIndex := iNdEx + packedLen - if postIndex < 0 { - return ErrInvalidLengthBeaconChain - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - var elementCount int - var count int - for _, integer := range dAtA[iNdEx:postIndex] { - if integer < 128 { - count++ - } - } - elementCount = count - if elementCount != 0 && len(m.BeaconCommittees) == 0 { - m.BeaconCommittees = make([]github_com_prysmaticlabs_eth2_types.ValidatorIndex, 0, elementCount) - } - for iNdEx < postIndex { - var v github_com_prysmaticlabs_eth2_types.ValidatorIndex - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= github_com_prysmaticlabs_eth2_types.ValidatorIndex(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.BeaconCommittees = append(m.BeaconCommittees, v) - } - } else { - return fmt.Errorf("proto: wrong wireType = %d for field BeaconCommittees", wireType) - } - case 2: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field CommitteeIndex", wireType) - } - m.CommitteeIndex = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.CommitteeIndex |= github_com_prysmaticlabs_eth2_types.CommitteeIndex(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 3: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field AttesterSlot", wireType) - } - m.AttesterSlot = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.AttesterSlot |= github_com_prysmaticlabs_eth2_types.Slot(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 4: - if wireType == 0 { - var v github_com_prysmaticlabs_eth2_types.Slot - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= github_com_prysmaticlabs_eth2_types.Slot(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.ProposerSlots = append(m.ProposerSlots, v) - } else if wireType == 2 { - var packedLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - packedLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if packedLen < 0 { - return ErrInvalidLengthBeaconChain - } - postIndex := iNdEx + packedLen - if postIndex < 0 { - return ErrInvalidLengthBeaconChain - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - var elementCount int - var count int - for _, integer := range dAtA[iNdEx:postIndex] { - if integer < 128 { - count++ - } - } - elementCount = count - if elementCount != 0 && len(m.ProposerSlots) == 0 { - m.ProposerSlots = make([]github_com_prysmaticlabs_eth2_types.Slot, 0, elementCount) - } - for iNdEx < postIndex { - var v github_com_prysmaticlabs_eth2_types.Slot - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= github_com_prysmaticlabs_eth2_types.Slot(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.ProposerSlots = append(m.ProposerSlots, v) - } - } else { - return fmt.Errorf("proto: wrong wireType = %d for field ProposerSlots", wireType) - } - case 5: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field PublicKey", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return ErrInvalidLengthBeaconChain - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthBeaconChain - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.PublicKey = append(m.PublicKey[:0], dAtA[iNdEx:postIndex]...) - if m.PublicKey == nil { - m.PublicKey = []byte{} - } - iNdEx = postIndex - case 6: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field ValidatorIndex", wireType) - } - m.ValidatorIndex = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.ValidatorIndex |= github_com_prysmaticlabs_eth2_types.ValidatorIndex(b&0x7F) << shift - if b < 0x80 { - break - } - } - default: - iNdEx = preIndex - skippy, err := skipBeaconChain(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthBeaconChain - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthBeaconChain - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *GetValidatorParticipationRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: GetValidatorParticipationRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: GetValidatorParticipationRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Epoch", wireType) - } - var v github_com_prysmaticlabs_eth2_types.Epoch - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= github_com_prysmaticlabs_eth2_types.Epoch(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.QueryFilter = &GetValidatorParticipationRequest_Epoch{v} - case 2: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Genesis", wireType) - } - var v int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - b := bool(v != 0) - m.QueryFilter = &GetValidatorParticipationRequest_Genesis{b} - default: - iNdEx = preIndex - skippy, err := skipBeaconChain(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthBeaconChain - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthBeaconChain - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *ValidatorParticipationResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: ValidatorParticipationResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: ValidatorParticipationResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Epoch", wireType) - } - m.Epoch = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Epoch |= github_com_prysmaticlabs_eth2_types.Epoch(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 2: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Finalized", wireType) - } - var v int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.Finalized = bool(v != 0) - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Participation", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthBeaconChain - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthBeaconChain - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Participation == nil { - m.Participation = &ValidatorParticipation{} - } - if err := m.Participation.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipBeaconChain(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthBeaconChain - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthBeaconChain - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *AttestationPoolRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: AttestationPoolRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: AttestationPoolRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field PageSize", wireType) - } - m.PageSize = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.PageSize |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field PageToken", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthBeaconChain - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthBeaconChain - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.PageToken = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipBeaconChain(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthBeaconChain - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthBeaconChain - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *AttestationPoolResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: AttestationPoolResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: AttestationPoolResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Attestations", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthBeaconChain - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthBeaconChain - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Attestations = append(m.Attestations, &Attestation{}) - if err := m.Attestations[len(m.Attestations)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field NextPageToken", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthBeaconChain - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthBeaconChain - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.NextPageToken = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field TotalSize", wireType) - } - m.TotalSize = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.TotalSize |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - default: - iNdEx = preIndex - skippy, err := skipBeaconChain(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthBeaconChain - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthBeaconChain - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *BeaconConfig) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: BeaconConfig: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: BeaconConfig: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Config", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthBeaconChain - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthBeaconChain - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Config == nil { - m.Config = make(map[string]string) - } - var mapkey string - var mapvalue string - for iNdEx < postIndex { - entryPreIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - if fieldNum == 1 { - var stringLenmapkey uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLenmapkey |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLenmapkey := int(stringLenmapkey) - if intStringLenmapkey < 0 { - return ErrInvalidLengthBeaconChain - } - postStringIndexmapkey := iNdEx + intStringLenmapkey - if postStringIndexmapkey < 0 { - return ErrInvalidLengthBeaconChain - } - if postStringIndexmapkey > l { - return io.ErrUnexpectedEOF - } - mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) - iNdEx = postStringIndexmapkey - } else if fieldNum == 2 { - var stringLenmapvalue uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLenmapvalue |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLenmapvalue := int(stringLenmapvalue) - if intStringLenmapvalue < 0 { - return ErrInvalidLengthBeaconChain - } - postStringIndexmapvalue := iNdEx + intStringLenmapvalue - if postStringIndexmapvalue < 0 { - return ErrInvalidLengthBeaconChain - } - if postStringIndexmapvalue > l { - return io.ErrUnexpectedEOF - } - mapvalue = string(dAtA[iNdEx:postStringIndexmapvalue]) - iNdEx = postStringIndexmapvalue - } else { - iNdEx = entryPreIndex - skippy, err := skipBeaconChain(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthBeaconChain - } - if (iNdEx + skippy) > postIndex { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - m.Config[mapkey] = mapvalue - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipBeaconChain(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthBeaconChain - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthBeaconChain - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *SubmitSlashingResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: SubmitSlashingResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: SubmitSlashingResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType == 0 { - var v github_com_prysmaticlabs_eth2_types.ValidatorIndex - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= github_com_prysmaticlabs_eth2_types.ValidatorIndex(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.SlashedIndices = append(m.SlashedIndices, v) - } else if wireType == 2 { - var packedLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - packedLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if packedLen < 0 { - return ErrInvalidLengthBeaconChain - } - postIndex := iNdEx + packedLen - if postIndex < 0 { - return ErrInvalidLengthBeaconChain - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - var elementCount int - var count int - for _, integer := range dAtA[iNdEx:postIndex] { - if integer < 128 { - count++ - } - } - elementCount = count - if elementCount != 0 && len(m.SlashedIndices) == 0 { - m.SlashedIndices = make([]github_com_prysmaticlabs_eth2_types.ValidatorIndex, 0, elementCount) - } - for iNdEx < postIndex { - var v github_com_prysmaticlabs_eth2_types.ValidatorIndex - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= github_com_prysmaticlabs_eth2_types.ValidatorIndex(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.SlashedIndices = append(m.SlashedIndices, v) - } - } else { - return fmt.Errorf("proto: wrong wireType = %d for field SlashedIndices", wireType) - } - default: - iNdEx = preIndex - skippy, err := skipBeaconChain(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthBeaconChain - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthBeaconChain - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *IndividualVotesRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: IndividualVotesRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: IndividualVotesRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Epoch", wireType) - } - m.Epoch = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Epoch |= github_com_prysmaticlabs_eth2_types.Epoch(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field PublicKeys", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return ErrInvalidLengthBeaconChain - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthBeaconChain - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.PublicKeys = append(m.PublicKeys, make([]byte, postIndex-iNdEx)) - copy(m.PublicKeys[len(m.PublicKeys)-1], dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType == 0 { - var v github_com_prysmaticlabs_eth2_types.ValidatorIndex - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= github_com_prysmaticlabs_eth2_types.ValidatorIndex(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.Indices = append(m.Indices, v) - } else if wireType == 2 { - var packedLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - packedLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if packedLen < 0 { - return ErrInvalidLengthBeaconChain - } - postIndex := iNdEx + packedLen - if postIndex < 0 { - return ErrInvalidLengthBeaconChain - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - var elementCount int - var count int - for _, integer := range dAtA[iNdEx:postIndex] { - if integer < 128 { - count++ - } - } - elementCount = count - if elementCount != 0 && len(m.Indices) == 0 { - m.Indices = make([]github_com_prysmaticlabs_eth2_types.ValidatorIndex, 0, elementCount) - } - for iNdEx < postIndex { - var v github_com_prysmaticlabs_eth2_types.ValidatorIndex - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= github_com_prysmaticlabs_eth2_types.ValidatorIndex(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.Indices = append(m.Indices, v) - } - } else { - return fmt.Errorf("proto: wrong wireType = %d for field Indices", wireType) - } - default: - iNdEx = preIndex - skippy, err := skipBeaconChain(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthBeaconChain - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthBeaconChain - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *IndividualVotesRespond) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: IndividualVotesRespond: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: IndividualVotesRespond: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field IndividualVotes", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthBeaconChain - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthBeaconChain - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.IndividualVotes = append(m.IndividualVotes, &IndividualVotesRespond_IndividualVote{}) - if err := m.IndividualVotes[len(m.IndividualVotes)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipBeaconChain(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthBeaconChain - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthBeaconChain - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *IndividualVotesRespond_IndividualVote) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: IndividualVote: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: IndividualVote: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Epoch", wireType) - } - m.Epoch = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Epoch |= github_com_prysmaticlabs_eth2_types.Epoch(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field PublicKey", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return ErrInvalidLengthBeaconChain - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthBeaconChain - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.PublicKey = append(m.PublicKey[:0], dAtA[iNdEx:postIndex]...) - if m.PublicKey == nil { - m.PublicKey = []byte{} - } - iNdEx = postIndex - case 3: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field ValidatorIndex", wireType) - } - m.ValidatorIndex = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.ValidatorIndex |= github_com_prysmaticlabs_eth2_types.ValidatorIndex(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 4: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field IsSlashed", wireType) - } - var v int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.IsSlashed = bool(v != 0) - case 5: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field IsWithdrawableInCurrentEpoch", wireType) - } - var v int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.IsWithdrawableInCurrentEpoch = bool(v != 0) - case 6: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field IsActiveInCurrentEpoch", wireType) - } - var v int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.IsActiveInCurrentEpoch = bool(v != 0) - case 7: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field IsActiveInPreviousEpoch", wireType) - } - var v int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.IsActiveInPreviousEpoch = bool(v != 0) - case 8: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field IsCurrentEpochAttester", wireType) - } - var v int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.IsCurrentEpochAttester = bool(v != 0) - case 9: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field IsCurrentEpochTargetAttester", wireType) - } - var v int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.IsCurrentEpochTargetAttester = bool(v != 0) - case 10: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field IsPreviousEpochAttester", wireType) - } - var v int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.IsPreviousEpochAttester = bool(v != 0) - case 11: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field IsPreviousEpochTargetAttester", wireType) - } - var v int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.IsPreviousEpochTargetAttester = bool(v != 0) - case 12: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field IsPreviousEpochHeadAttester", wireType) - } - var v int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.IsPreviousEpochHeadAttester = bool(v != 0) - case 13: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field CurrentEpochEffectiveBalanceGwei", wireType) - } - m.CurrentEpochEffectiveBalanceGwei = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.CurrentEpochEffectiveBalanceGwei |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 14: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field InclusionSlot", wireType) - } - m.InclusionSlot = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.InclusionSlot |= github_com_prysmaticlabs_eth2_types.Slot(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 15: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field InclusionDistance", wireType) - } - m.InclusionDistance = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.InclusionDistance |= github_com_prysmaticlabs_eth2_types.Slot(b&0x7F) << shift - if b < 0x80 { - break - } - } - default: - iNdEx = preIndex - skippy, err := skipBeaconChain(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthBeaconChain - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthBeaconChain - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *WeakSubjectivityCheckpoint) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: WeakSubjectivityCheckpoint: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: WeakSubjectivityCheckpoint: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field BlockRoot", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return ErrInvalidLengthBeaconChain - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthBeaconChain - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.BlockRoot = append(m.BlockRoot[:0], dAtA[iNdEx:postIndex]...) - if m.BlockRoot == nil { - m.BlockRoot = []byte{} - } - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field StateRoot", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return ErrInvalidLengthBeaconChain - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthBeaconChain - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.StateRoot = append(m.StateRoot[:0], dAtA[iNdEx:postIndex]...) - if m.StateRoot == nil { - m.StateRoot = []byte{} - } - iNdEx = postIndex - case 3: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Epoch", wireType) - } - m.Epoch = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Epoch |= github_com_prysmaticlabs_eth2_types.Epoch(b&0x7F) << shift - if b < 0x80 { - break - } - } - default: - iNdEx = preIndex - skippy, err := skipBeaconChain(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthBeaconChain - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthBeaconChain - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func skipBeaconChain(dAtA []byte) (n int, err error) { - l := len(dAtA) - iNdEx := 0 - depth := 0 - for iNdEx < l { - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return 0, ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return 0, io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= (uint64(b) & 0x7F) << shift - if b < 0x80 { - break - } - } - wireType := int(wire & 0x7) - switch wireType { - case 0: - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return 0, ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return 0, io.ErrUnexpectedEOF - } - iNdEx++ - if dAtA[iNdEx-1] < 0x80 { - break - } - } - case 1: - iNdEx += 8 - case 2: - var length int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return 0, ErrIntOverflowBeaconChain - } - if iNdEx >= l { - return 0, io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - length |= (int(b) & 0x7F) << shift - if b < 0x80 { - break - } - } - if length < 0 { - return 0, ErrInvalidLengthBeaconChain - } - iNdEx += length - case 3: - depth++ - case 4: - if depth == 0 { - return 0, ErrUnexpectedEndOfGroupBeaconChain - } - depth-- - case 5: - iNdEx += 4 - default: - return 0, fmt.Errorf("proto: illegal wireType %d", wireType) - } - if iNdEx < 0 { - return 0, ErrInvalidLengthBeaconChain - } - if depth == 0 { - return iNdEx, nil - } - } - return 0, io.ErrUnexpectedEOF -} - -var ( - ErrInvalidLengthBeaconChain = fmt.Errorf("proto: negative length found during unmarshaling") - ErrIntOverflowBeaconChain = fmt.Errorf("proto: integer overflow") - ErrUnexpectedEndOfGroupBeaconChain = fmt.Errorf("proto: unexpected end of group") -) diff --git a/eth/v1alpha1_gateway/beacon_chain.pb.gw.go b/eth/v1alpha1/beacon_chain.pb.gw.go old mode 100755 new mode 100644 similarity index 92% rename from eth/v1alpha1_gateway/beacon_chain.pb.gw.go rename to eth/v1alpha1/beacon_chain.pb.gw.go index ccfb6c54..06a09d8c --- a/eth/v1alpha1_gateway/beacon_chain.pb.gw.go +++ b/eth/v1alpha1/beacon_chain.pb.gw.go @@ -10,19 +10,19 @@ package eth import ( "context" - "io" - "net/http" - - "github.com/golang/protobuf/descriptor" - "github.com/golang/protobuf/proto" "github.com/golang/protobuf/ptypes/empty" - "github.com/grpc-ecosystem/grpc-gateway/runtime" - "github.com/grpc-ecosystem/grpc-gateway/utilities" + emptypb "github.com/golang/protobuf/ptypes/empty" + "github.com/grpc-ecosystem/grpc-gateway/v2/runtime" + "github.com/grpc-ecosystem/grpc-gateway/v2/utilities" + github_com_prysmaticlabs_eth2_types "github.com/prysmaticlabs/eth2-types" "google.golang.org/grpc" "google.golang.org/grpc/codes" "google.golang.org/grpc/grpclog" "google.golang.org/grpc/metadata" "google.golang.org/grpc/status" + "google.golang.org/protobuf/proto" + "io" + "net/http" ) // Suppress "imported and not used" errors @@ -31,8 +31,10 @@ var _ io.Reader var _ status.Status var _ = runtime.String var _ = utilities.NewDoubleArray -var _ = descriptor.ForMessage var _ = metadata.Join +var _ = github_com_prysmaticlabs_eth2_types.Epoch(0) +var _ = emptypb.Empty{} +var _ = empty.Empty{} var ( filter_BeaconChain_ListAttestations_0 = &utilities.DoubleArray{Encoding: map[string]int{}, Base: []int(nil), Check: []int(nil)} @@ -107,7 +109,7 @@ func local_request_BeaconChain_ListIndexedAttestations_0(ctx context.Context, ma } func request_BeaconChain_StreamAttestations_0(ctx context.Context, marshaler runtime.Marshaler, client BeaconChainClient, req *http.Request, pathParams map[string]string) (BeaconChain_StreamAttestationsClient, runtime.ServerMetadata, error) { - var protoReq empty.Empty + var protoReq emptypb.Empty var metadata runtime.ServerMetadata stream, err := client.StreamAttestations(ctx, &protoReq) @@ -124,7 +126,7 @@ func request_BeaconChain_StreamAttestations_0(ctx context.Context, marshaler run } func request_BeaconChain_StreamIndexedAttestations_0(ctx context.Context, marshaler runtime.Marshaler, client BeaconChainClient, req *http.Request, pathParams map[string]string) (BeaconChain_StreamIndexedAttestationsClient, runtime.ServerMetadata, error) { - var protoReq empty.Empty + var protoReq emptypb.Empty var metadata runtime.ServerMetadata stream, err := client.StreamIndexedAttestations(ctx, &protoReq) @@ -241,7 +243,7 @@ func request_BeaconChain_StreamBlocks_0(ctx context.Context, marshaler runtime.M } func request_BeaconChain_StreamChainHead_0(ctx context.Context, marshaler runtime.Marshaler, client BeaconChainClient, req *http.Request, pathParams map[string]string) (BeaconChain_StreamChainHeadClient, runtime.ServerMetadata, error) { - var protoReq empty.Empty + var protoReq emptypb.Empty var metadata runtime.ServerMetadata stream, err := client.StreamChainHead(ctx, &protoReq) @@ -258,7 +260,7 @@ func request_BeaconChain_StreamChainHead_0(ctx context.Context, marshaler runtim } func request_BeaconChain_GetChainHead_0(ctx context.Context, marshaler runtime.Marshaler, client BeaconChainClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq empty.Empty + var protoReq emptypb.Empty var metadata runtime.ServerMetadata msg, err := client.GetChainHead(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) @@ -267,7 +269,7 @@ func request_BeaconChain_GetChainHead_0(ctx context.Context, marshaler runtime.M } func local_request_BeaconChain_GetChainHead_0(ctx context.Context, marshaler runtime.Marshaler, server BeaconChainServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq empty.Empty + var protoReq emptypb.Empty var metadata runtime.ServerMetadata msg, err := server.GetChainHead(ctx, &protoReq) @@ -276,7 +278,7 @@ func local_request_BeaconChain_GetChainHead_0(ctx context.Context, marshaler run } func request_BeaconChain_GetWeakSubjectivityCheckpoint_0(ctx context.Context, marshaler runtime.Marshaler, client BeaconChainClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq empty.Empty + var protoReq emptypb.Empty var metadata runtime.ServerMetadata msg, err := client.GetWeakSubjectivityCheckpoint(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) @@ -285,7 +287,7 @@ func request_BeaconChain_GetWeakSubjectivityCheckpoint_0(ctx context.Context, ma } func local_request_BeaconChain_GetWeakSubjectivityCheckpoint_0(ctx context.Context, marshaler runtime.Marshaler, server BeaconChainServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq empty.Empty + var protoReq emptypb.Empty var metadata runtime.ServerMetadata msg, err := server.GetWeakSubjectivityCheckpoint(ctx, &protoReq) @@ -474,7 +476,7 @@ func local_request_BeaconChain_GetValidatorActiveSetChanges_0(ctx context.Contex } func request_BeaconChain_GetValidatorQueue_0(ctx context.Context, marshaler runtime.Marshaler, client BeaconChainClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq empty.Empty + var protoReq emptypb.Empty var metadata runtime.ServerMetadata msg, err := client.GetValidatorQueue(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) @@ -483,7 +485,7 @@ func request_BeaconChain_GetValidatorQueue_0(ctx context.Context, marshaler runt } func local_request_BeaconChain_GetValidatorQueue_0(ctx context.Context, marshaler runtime.Marshaler, server BeaconChainServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq empty.Empty + var protoReq emptypb.Empty var metadata runtime.ServerMetadata msg, err := server.GetValidatorQueue(ctx, &protoReq) @@ -600,7 +602,7 @@ func local_request_BeaconChain_GetValidatorParticipation_0(ctx context.Context, } func request_BeaconChain_GetBeaconConfig_0(ctx context.Context, marshaler runtime.Marshaler, client BeaconChainClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq empty.Empty + var protoReq emptypb.Empty var metadata runtime.ServerMetadata msg, err := client.GetBeaconConfig(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) @@ -609,7 +611,7 @@ func request_BeaconChain_GetBeaconConfig_0(ctx context.Context, marshaler runtim } func local_request_BeaconChain_GetBeaconConfig_0(ctx context.Context, marshaler runtime.Marshaler, server BeaconChainServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq empty.Empty + var protoReq emptypb.Empty var metadata runtime.ServerMetadata msg, err := server.GetBeaconConfig(ctx, &protoReq) @@ -789,7 +791,7 @@ func RegisterBeaconChainHandlerServer(ctx context.Context, mux *runtime.ServeMux var stream runtime.ServerTransportStream ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req) + rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/ethereum.eth.v1alpha1.BeaconChain/ListAttestations") if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return @@ -812,7 +814,7 @@ func RegisterBeaconChainHandlerServer(ctx context.Context, mux *runtime.ServeMux var stream runtime.ServerTransportStream ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req) + rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/ethereum.eth.v1alpha1.BeaconChain/ListIndexedAttestations") if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return @@ -849,7 +851,7 @@ func RegisterBeaconChainHandlerServer(ctx context.Context, mux *runtime.ServeMux var stream runtime.ServerTransportStream ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req) + rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/ethereum.eth.v1alpha1.BeaconChain/AttestationPool") if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return @@ -872,7 +874,7 @@ func RegisterBeaconChainHandlerServer(ctx context.Context, mux *runtime.ServeMux var stream runtime.ServerTransportStream ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req) + rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/ethereum.eth.v1alpha1.BeaconChain/ListBlocks") if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return @@ -909,7 +911,7 @@ func RegisterBeaconChainHandlerServer(ctx context.Context, mux *runtime.ServeMux var stream runtime.ServerTransportStream ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req) + rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/ethereum.eth.v1alpha1.BeaconChain/GetChainHead") if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return @@ -932,7 +934,7 @@ func RegisterBeaconChainHandlerServer(ctx context.Context, mux *runtime.ServeMux var stream runtime.ServerTransportStream ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req) + rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/ethereum.eth.v1alpha1.BeaconChain/GetWeakSubjectivityCheckpoint") if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return @@ -955,7 +957,7 @@ func RegisterBeaconChainHandlerServer(ctx context.Context, mux *runtime.ServeMux var stream runtime.ServerTransportStream ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req) + rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/ethereum.eth.v1alpha1.BeaconChain/ListBeaconCommittees") if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return @@ -978,7 +980,7 @@ func RegisterBeaconChainHandlerServer(ctx context.Context, mux *runtime.ServeMux var stream runtime.ServerTransportStream ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req) + rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/ethereum.eth.v1alpha1.BeaconChain/ListValidatorBalances") if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return @@ -1001,7 +1003,7 @@ func RegisterBeaconChainHandlerServer(ctx context.Context, mux *runtime.ServeMux var stream runtime.ServerTransportStream ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req) + rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/ethereum.eth.v1alpha1.BeaconChain/ListValidators") if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return @@ -1024,7 +1026,7 @@ func RegisterBeaconChainHandlerServer(ctx context.Context, mux *runtime.ServeMux var stream runtime.ServerTransportStream ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req) + rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/ethereum.eth.v1alpha1.BeaconChain/GetValidator") if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return @@ -1047,7 +1049,7 @@ func RegisterBeaconChainHandlerServer(ctx context.Context, mux *runtime.ServeMux var stream runtime.ServerTransportStream ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req) + rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/ethereum.eth.v1alpha1.BeaconChain/GetValidatorActiveSetChanges") if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return @@ -1070,7 +1072,7 @@ func RegisterBeaconChainHandlerServer(ctx context.Context, mux *runtime.ServeMux var stream runtime.ServerTransportStream ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req) + rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/ethereum.eth.v1alpha1.BeaconChain/GetValidatorQueue") if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return @@ -1093,7 +1095,7 @@ func RegisterBeaconChainHandlerServer(ctx context.Context, mux *runtime.ServeMux var stream runtime.ServerTransportStream ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req) + rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/ethereum.eth.v1alpha1.BeaconChain/GetValidatorPerformance") if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return @@ -1116,7 +1118,7 @@ func RegisterBeaconChainHandlerServer(ctx context.Context, mux *runtime.ServeMux var stream runtime.ServerTransportStream ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req) + rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/ethereum.eth.v1alpha1.BeaconChain/ListValidatorAssignments") if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return @@ -1139,7 +1141,7 @@ func RegisterBeaconChainHandlerServer(ctx context.Context, mux *runtime.ServeMux var stream runtime.ServerTransportStream ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req) + rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/ethereum.eth.v1alpha1.BeaconChain/GetValidatorParticipation") if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return @@ -1162,7 +1164,7 @@ func RegisterBeaconChainHandlerServer(ctx context.Context, mux *runtime.ServeMux var stream runtime.ServerTransportStream ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req) + rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/ethereum.eth.v1alpha1.BeaconChain/GetBeaconConfig") if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return @@ -1192,7 +1194,7 @@ func RegisterBeaconChainHandlerServer(ctx context.Context, mux *runtime.ServeMux var stream runtime.ServerTransportStream ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req) + rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/ethereum.eth.v1alpha1.BeaconChain/SubmitAttesterSlashing") if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return @@ -1215,7 +1217,7 @@ func RegisterBeaconChainHandlerServer(ctx context.Context, mux *runtime.ServeMux var stream runtime.ServerTransportStream ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req) + rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/ethereum.eth.v1alpha1.BeaconChain/SubmitProposerSlashing") if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return @@ -1238,7 +1240,7 @@ func RegisterBeaconChainHandlerServer(ctx context.Context, mux *runtime.ServeMux var stream runtime.ServerTransportStream ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req) + rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/ethereum.eth.v1alpha1.BeaconChain/GetIndividualVotes") if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return @@ -1300,7 +1302,7 @@ func RegisterBeaconChainHandlerClient(ctx context.Context, mux *runtime.ServeMux ctx, cancel := context.WithCancel(req.Context()) defer cancel() inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req) + rctx, err := runtime.AnnotateContext(ctx, mux, req, "/ethereum.eth.v1alpha1.BeaconChain/ListAttestations") if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return @@ -1320,7 +1322,7 @@ func RegisterBeaconChainHandlerClient(ctx context.Context, mux *runtime.ServeMux ctx, cancel := context.WithCancel(req.Context()) defer cancel() inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req) + rctx, err := runtime.AnnotateContext(ctx, mux, req, "/ethereum.eth.v1alpha1.BeaconChain/ListIndexedAttestations") if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return @@ -1340,7 +1342,7 @@ func RegisterBeaconChainHandlerClient(ctx context.Context, mux *runtime.ServeMux ctx, cancel := context.WithCancel(req.Context()) defer cancel() inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req) + rctx, err := runtime.AnnotateContext(ctx, mux, req, "/ethereum.eth.v1alpha1.BeaconChain/StreamAttestations") if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return @@ -1360,7 +1362,7 @@ func RegisterBeaconChainHandlerClient(ctx context.Context, mux *runtime.ServeMux ctx, cancel := context.WithCancel(req.Context()) defer cancel() inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req) + rctx, err := runtime.AnnotateContext(ctx, mux, req, "/ethereum.eth.v1alpha1.BeaconChain/StreamIndexedAttestations") if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return @@ -1380,7 +1382,7 @@ func RegisterBeaconChainHandlerClient(ctx context.Context, mux *runtime.ServeMux ctx, cancel := context.WithCancel(req.Context()) defer cancel() inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req) + rctx, err := runtime.AnnotateContext(ctx, mux, req, "/ethereum.eth.v1alpha1.BeaconChain/AttestationPool") if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return @@ -1400,7 +1402,7 @@ func RegisterBeaconChainHandlerClient(ctx context.Context, mux *runtime.ServeMux ctx, cancel := context.WithCancel(req.Context()) defer cancel() inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req) + rctx, err := runtime.AnnotateContext(ctx, mux, req, "/ethereum.eth.v1alpha1.BeaconChain/ListBlocks") if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return @@ -1420,7 +1422,7 @@ func RegisterBeaconChainHandlerClient(ctx context.Context, mux *runtime.ServeMux ctx, cancel := context.WithCancel(req.Context()) defer cancel() inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req) + rctx, err := runtime.AnnotateContext(ctx, mux, req, "/ethereum.eth.v1alpha1.BeaconChain/StreamBlocks") if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return @@ -1440,7 +1442,7 @@ func RegisterBeaconChainHandlerClient(ctx context.Context, mux *runtime.ServeMux ctx, cancel := context.WithCancel(req.Context()) defer cancel() inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req) + rctx, err := runtime.AnnotateContext(ctx, mux, req, "/ethereum.eth.v1alpha1.BeaconChain/StreamChainHead") if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return @@ -1460,7 +1462,7 @@ func RegisterBeaconChainHandlerClient(ctx context.Context, mux *runtime.ServeMux ctx, cancel := context.WithCancel(req.Context()) defer cancel() inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req) + rctx, err := runtime.AnnotateContext(ctx, mux, req, "/ethereum.eth.v1alpha1.BeaconChain/GetChainHead") if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return @@ -1480,7 +1482,7 @@ func RegisterBeaconChainHandlerClient(ctx context.Context, mux *runtime.ServeMux ctx, cancel := context.WithCancel(req.Context()) defer cancel() inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req) + rctx, err := runtime.AnnotateContext(ctx, mux, req, "/ethereum.eth.v1alpha1.BeaconChain/GetWeakSubjectivityCheckpoint") if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return @@ -1500,7 +1502,7 @@ func RegisterBeaconChainHandlerClient(ctx context.Context, mux *runtime.ServeMux ctx, cancel := context.WithCancel(req.Context()) defer cancel() inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req) + rctx, err := runtime.AnnotateContext(ctx, mux, req, "/ethereum.eth.v1alpha1.BeaconChain/ListBeaconCommittees") if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return @@ -1520,7 +1522,7 @@ func RegisterBeaconChainHandlerClient(ctx context.Context, mux *runtime.ServeMux ctx, cancel := context.WithCancel(req.Context()) defer cancel() inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req) + rctx, err := runtime.AnnotateContext(ctx, mux, req, "/ethereum.eth.v1alpha1.BeaconChain/ListValidatorBalances") if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return @@ -1540,7 +1542,7 @@ func RegisterBeaconChainHandlerClient(ctx context.Context, mux *runtime.ServeMux ctx, cancel := context.WithCancel(req.Context()) defer cancel() inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req) + rctx, err := runtime.AnnotateContext(ctx, mux, req, "/ethereum.eth.v1alpha1.BeaconChain/ListValidators") if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return @@ -1560,7 +1562,7 @@ func RegisterBeaconChainHandlerClient(ctx context.Context, mux *runtime.ServeMux ctx, cancel := context.WithCancel(req.Context()) defer cancel() inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req) + rctx, err := runtime.AnnotateContext(ctx, mux, req, "/ethereum.eth.v1alpha1.BeaconChain/GetValidator") if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return @@ -1580,7 +1582,7 @@ func RegisterBeaconChainHandlerClient(ctx context.Context, mux *runtime.ServeMux ctx, cancel := context.WithCancel(req.Context()) defer cancel() inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req) + rctx, err := runtime.AnnotateContext(ctx, mux, req, "/ethereum.eth.v1alpha1.BeaconChain/GetValidatorActiveSetChanges") if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return @@ -1600,7 +1602,7 @@ func RegisterBeaconChainHandlerClient(ctx context.Context, mux *runtime.ServeMux ctx, cancel := context.WithCancel(req.Context()) defer cancel() inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req) + rctx, err := runtime.AnnotateContext(ctx, mux, req, "/ethereum.eth.v1alpha1.BeaconChain/GetValidatorQueue") if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return @@ -1620,7 +1622,7 @@ func RegisterBeaconChainHandlerClient(ctx context.Context, mux *runtime.ServeMux ctx, cancel := context.WithCancel(req.Context()) defer cancel() inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req) + rctx, err := runtime.AnnotateContext(ctx, mux, req, "/ethereum.eth.v1alpha1.BeaconChain/GetValidatorPerformance") if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return @@ -1640,7 +1642,7 @@ func RegisterBeaconChainHandlerClient(ctx context.Context, mux *runtime.ServeMux ctx, cancel := context.WithCancel(req.Context()) defer cancel() inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req) + rctx, err := runtime.AnnotateContext(ctx, mux, req, "/ethereum.eth.v1alpha1.BeaconChain/ListValidatorAssignments") if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return @@ -1660,7 +1662,7 @@ func RegisterBeaconChainHandlerClient(ctx context.Context, mux *runtime.ServeMux ctx, cancel := context.WithCancel(req.Context()) defer cancel() inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req) + rctx, err := runtime.AnnotateContext(ctx, mux, req, "/ethereum.eth.v1alpha1.BeaconChain/GetValidatorParticipation") if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return @@ -1680,7 +1682,7 @@ func RegisterBeaconChainHandlerClient(ctx context.Context, mux *runtime.ServeMux ctx, cancel := context.WithCancel(req.Context()) defer cancel() inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req) + rctx, err := runtime.AnnotateContext(ctx, mux, req, "/ethereum.eth.v1alpha1.BeaconChain/GetBeaconConfig") if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return @@ -1700,7 +1702,7 @@ func RegisterBeaconChainHandlerClient(ctx context.Context, mux *runtime.ServeMux ctx, cancel := context.WithCancel(req.Context()) defer cancel() inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req) + rctx, err := runtime.AnnotateContext(ctx, mux, req, "/ethereum.eth.v1alpha1.BeaconChain/StreamValidatorsInfo") if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return @@ -1720,7 +1722,7 @@ func RegisterBeaconChainHandlerClient(ctx context.Context, mux *runtime.ServeMux ctx, cancel := context.WithCancel(req.Context()) defer cancel() inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req) + rctx, err := runtime.AnnotateContext(ctx, mux, req, "/ethereum.eth.v1alpha1.BeaconChain/SubmitAttesterSlashing") if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return @@ -1740,7 +1742,7 @@ func RegisterBeaconChainHandlerClient(ctx context.Context, mux *runtime.ServeMux ctx, cancel := context.WithCancel(req.Context()) defer cancel() inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req) + rctx, err := runtime.AnnotateContext(ctx, mux, req, "/ethereum.eth.v1alpha1.BeaconChain/SubmitProposerSlashing") if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return @@ -1760,7 +1762,7 @@ func RegisterBeaconChainHandlerClient(ctx context.Context, mux *runtime.ServeMux ctx, cancel := context.WithCancel(req.Context()) defer cancel() inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req) + rctx, err := runtime.AnnotateContext(ctx, mux, req, "/ethereum.eth.v1alpha1.BeaconChain/GetIndividualVotes") if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return @@ -1780,53 +1782,53 @@ func RegisterBeaconChainHandlerClient(ctx context.Context, mux *runtime.ServeMux } var ( - pattern_BeaconChain_ListAttestations_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"eth", "v1alpha1", "beacon", "attestations"}, "", runtime.AssumeColonVerbOpt(true))) + pattern_BeaconChain_ListAttestations_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"eth", "v1alpha1", "beacon", "attestations"}, "")) - pattern_BeaconChain_ListIndexedAttestations_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 2, 4}, []string{"eth", "v1alpha1", "beacon", "attestations", "indexed"}, "", runtime.AssumeColonVerbOpt(true))) + pattern_BeaconChain_ListIndexedAttestations_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 2, 4}, []string{"eth", "v1alpha1", "beacon", "attestations", "indexed"}, "")) - pattern_BeaconChain_StreamAttestations_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 2, 4}, []string{"eth", "v1alpha1", "beacon", "attestations", "stream"}, "", runtime.AssumeColonVerbOpt(true))) + pattern_BeaconChain_StreamAttestations_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 2, 4}, []string{"eth", "v1alpha1", "beacon", "attestations", "stream"}, "")) - pattern_BeaconChain_StreamIndexedAttestations_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 2, 4, 2, 5}, []string{"eth", "v1alpha1", "beacon", "attestations", "indexed", "stream"}, "", runtime.AssumeColonVerbOpt(true))) + pattern_BeaconChain_StreamIndexedAttestations_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 2, 4, 2, 5}, []string{"eth", "v1alpha1", "beacon", "attestations", "indexed", "stream"}, "")) - pattern_BeaconChain_AttestationPool_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 2, 4}, []string{"eth", "v1alpha1", "beacon", "attestations", "pool"}, "", runtime.AssumeColonVerbOpt(true))) + pattern_BeaconChain_AttestationPool_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 2, 4}, []string{"eth", "v1alpha1", "beacon", "attestations", "pool"}, "")) - pattern_BeaconChain_ListBlocks_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"eth", "v1alpha1", "beacon", "blocks"}, "", runtime.AssumeColonVerbOpt(true))) + pattern_BeaconChain_ListBlocks_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"eth", "v1alpha1", "beacon", "blocks"}, "")) - pattern_BeaconChain_StreamBlocks_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 2, 4}, []string{"eth", "v1alpha1", "beacon", "blocks", "stream"}, "", runtime.AssumeColonVerbOpt(true))) + pattern_BeaconChain_StreamBlocks_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 2, 4}, []string{"eth", "v1alpha1", "beacon", "blocks", "stream"}, "")) - pattern_BeaconChain_StreamChainHead_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 2, 4}, []string{"eth", "v1alpha1", "beacon", "chainhead", "stream"}, "", runtime.AssumeColonVerbOpt(true))) + pattern_BeaconChain_StreamChainHead_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 2, 4}, []string{"eth", "v1alpha1", "beacon", "chainhead", "stream"}, "")) - pattern_BeaconChain_GetChainHead_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"eth", "v1alpha1", "beacon", "chainhead"}, "", runtime.AssumeColonVerbOpt(true))) + pattern_BeaconChain_GetChainHead_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"eth", "v1alpha1", "beacon", "chainhead"}, "")) - pattern_BeaconChain_GetWeakSubjectivityCheckpoint_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"eth", "v1alpha1", "beacon", "weak_subjectivity_checkpoint"}, "", runtime.AssumeColonVerbOpt(true))) + pattern_BeaconChain_GetWeakSubjectivityCheckpoint_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"eth", "v1alpha1", "beacon", "weak_subjectivity_checkpoint"}, "")) - pattern_BeaconChain_ListBeaconCommittees_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"eth", "v1alpha1", "beacon", "committees"}, "", runtime.AssumeColonVerbOpt(true))) + pattern_BeaconChain_ListBeaconCommittees_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"eth", "v1alpha1", "beacon", "committees"}, "")) - pattern_BeaconChain_ListValidatorBalances_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"eth", "v1alpha1", "validators", "balances"}, "", runtime.AssumeColonVerbOpt(true))) + pattern_BeaconChain_ListValidatorBalances_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"eth", "v1alpha1", "validators", "balances"}, "")) - pattern_BeaconChain_ListValidators_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"eth", "v1alpha1", "validators"}, "", runtime.AssumeColonVerbOpt(true))) + pattern_BeaconChain_ListValidators_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"eth", "v1alpha1", "validators"}, "")) - pattern_BeaconChain_GetValidator_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"eth", "v1alpha1", "validator"}, "", runtime.AssumeColonVerbOpt(true))) + pattern_BeaconChain_GetValidator_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"eth", "v1alpha1", "validator"}, "")) - pattern_BeaconChain_GetValidatorActiveSetChanges_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"eth", "v1alpha1", "validators", "activesetchanges"}, "", runtime.AssumeColonVerbOpt(true))) + pattern_BeaconChain_GetValidatorActiveSetChanges_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"eth", "v1alpha1", "validators", "activesetchanges"}, "")) - pattern_BeaconChain_GetValidatorQueue_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"eth", "v1alpha1", "validators", "queue"}, "", runtime.AssumeColonVerbOpt(true))) + pattern_BeaconChain_GetValidatorQueue_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"eth", "v1alpha1", "validators", "queue"}, "")) - pattern_BeaconChain_GetValidatorPerformance_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"eth", "v1alpha1", "validators", "performance"}, "", runtime.AssumeColonVerbOpt(true))) + pattern_BeaconChain_GetValidatorPerformance_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"eth", "v1alpha1", "validators", "performance"}, "")) - pattern_BeaconChain_ListValidatorAssignments_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"eth", "v1alpha1", "validators", "assignments"}, "", runtime.AssumeColonVerbOpt(true))) + pattern_BeaconChain_ListValidatorAssignments_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"eth", "v1alpha1", "validators", "assignments"}, "")) - pattern_BeaconChain_GetValidatorParticipation_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"eth", "v1alpha1", "validators", "participation"}, "", runtime.AssumeColonVerbOpt(true))) + pattern_BeaconChain_GetValidatorParticipation_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"eth", "v1alpha1", "validators", "participation"}, "")) - pattern_BeaconChain_GetBeaconConfig_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"eth", "v1alpha1", "beacon", "config"}, "", runtime.AssumeColonVerbOpt(true))) + pattern_BeaconChain_GetBeaconConfig_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"eth", "v1alpha1", "beacon", "config"}, "")) - pattern_BeaconChain_StreamValidatorsInfo_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 2, 4, 2, 5}, []string{"eth", "v1alpha1", "beacon", "validators", "info", "stream"}, "", runtime.AssumeColonVerbOpt(true))) + pattern_BeaconChain_StreamValidatorsInfo_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 2, 4, 2, 5}, []string{"eth", "v1alpha1", "beacon", "validators", "info", "stream"}, "")) - pattern_BeaconChain_SubmitAttesterSlashing_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 2, 4, 2, 5}, []string{"eth", "v1alpha1", "beacon", "slashings", "attester", "submit"}, "", runtime.AssumeColonVerbOpt(true))) + pattern_BeaconChain_SubmitAttesterSlashing_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 2, 4, 2, 5}, []string{"eth", "v1alpha1", "beacon", "slashings", "attester", "submit"}, "")) - pattern_BeaconChain_SubmitProposerSlashing_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 2, 4, 2, 5}, []string{"eth", "v1alpha1", "beacon", "slashings", "proposer", "submit"}, "", runtime.AssumeColonVerbOpt(true))) + pattern_BeaconChain_SubmitProposerSlashing_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 2, 4, 2, 5}, []string{"eth", "v1alpha1", "beacon", "slashings", "proposer", "submit"}, "")) - pattern_BeaconChain_GetIndividualVotes_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"eth", "v1alpha1", "beacon", "individual_votes"}, "", runtime.AssumeColonVerbOpt(true))) + pattern_BeaconChain_GetIndividualVotes_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"eth", "v1alpha1", "beacon", "individual_votes"}, "")) ) var ( diff --git a/eth/v1alpha1/beacon_chain.proto b/eth/v1alpha1/beacon_chain.proto index 0499b499..690612d1 100644 --- a/eth/v1alpha1/beacon_chain.proto +++ b/eth/v1alpha1/beacon_chain.proto @@ -15,10 +15,10 @@ syntax = "proto3"; package ethereum.eth.v1alpha1; -import "github.com/gogo/protobuf/gogoproto/gogo.proto"; import "google/api/annotations.proto"; import "google/protobuf/empty.proto"; +import "eth/ext/options.proto"; import "eth/v1alpha1/attestation.proto"; import "eth/v1alpha1/beacon_block.proto"; import "eth/v1alpha1/validator.proto"; @@ -294,7 +294,7 @@ message ValidatorChangeSet { message ListIndexedAttestationsRequest { oneof query_filter { // Retrieve attestations by epoch processed. - uint64 epoch = 1 [(gogoproto.casttype) = "github.com/prysmaticlabs/eth2-types.Epoch"]; + uint64 epoch = 1 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/eth2-types.Epoch"]; // Optional criteria to retrieve genesis epoch attestations. bool genesis_epoch = 2; @@ -316,7 +316,7 @@ message ListAttestationsRequest { oneof query_filter { // Filter attestations by epoch processed. - uint64 epoch = 1 [(gogoproto.casttype) = "github.com/prysmaticlabs/eth2-types.Epoch"]; + uint64 epoch = 1 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/eth2-types.Epoch"]; // Optional criteria to retrieve attestations from 0 epoch. bool genesis_epoch = 2; @@ -364,11 +364,11 @@ message ListBlocksRequest { // Slot to lookup a block. If the slot is not yet finalized, this // criteria may yield multiple valid blocks if the node has seen blocks // from another fork. - uint64 slot = 2 [(gogoproto.casttype) = "github.com/prysmaticlabs/eth2-types.Slot"]; + uint64 slot = 2 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/eth2-types.Slot"]; // The epoch number for which to retrieve blocks. If specified, this // will return all blocks found within the span of the specified epoch. - uint64 epoch = 3 [(gogoproto.casttype) = "github.com/prysmaticlabs/eth2-types.Epoch"]; + uint64 epoch = 3 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/eth2-types.Epoch"]; // Optional criteria to retrieve genesis block. bool genesis = 4; @@ -417,46 +417,46 @@ message BeaconBlockContainer { // Information about the head of the beacon chain. message ChainHead { // Slot of the head block. - uint64 head_slot = 1 [(gogoproto.casttype) = "github.com/prysmaticlabs/eth2-types.Slot"]; + uint64 head_slot = 1 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/eth2-types.Slot"]; // Epoch of the head block. - uint64 head_epoch = 2 [(gogoproto.casttype) = "github.com/prysmaticlabs/eth2-types.Epoch"]; + uint64 head_epoch = 2 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/eth2-types.Epoch"]; // 32 byte merkle tree root of the canonical head block in the beacon node. - bytes head_block_root = 3 [(gogoproto.moretags) = "ssz-size:\"32\""]; + bytes head_block_root = 3 [(ethereum.eth.ext.ssz_size) = "32"]; // Most recent slot that contains the finalized block. - uint64 finalized_slot = 4 [(gogoproto.casttype) = "github.com/prysmaticlabs/eth2-types.Slot"]; + uint64 finalized_slot = 4 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/eth2-types.Slot"]; // Epoch of the finalized block. - uint64 finalized_epoch = 5 [(gogoproto.casttype) = "github.com/prysmaticlabs/eth2-types.Epoch"]; + uint64 finalized_epoch = 5 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/eth2-types.Epoch"]; // Most recent 32 byte finalized block root. - bytes finalized_block_root = 6 [(gogoproto.moretags) = "ssz-size:\"32\""]; + bytes finalized_block_root = 6 [(ethereum.eth.ext.ssz_size) = "32"]; // Most recent slot that contains the justified block. - uint64 justified_slot = 7 [(gogoproto.casttype) = "github.com/prysmaticlabs/eth2-types.Slot"]; + uint64 justified_slot = 7 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/eth2-types.Slot"]; // Epoch of the justified block. - uint64 justified_epoch = 8 [(gogoproto.casttype) = "github.com/prysmaticlabs/eth2-types.Epoch"]; + uint64 justified_epoch = 8 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/eth2-types.Epoch"]; // Most recent 32 byte justified block root. - bytes justified_block_root = 9 [(gogoproto.moretags) = "ssz-size:\"32\""]; + bytes justified_block_root = 9 [(ethereum.eth.ext.ssz_size) = "32"]; // Most recent slot that contains the previous justified block. - uint64 previous_justified_slot = 10 [(gogoproto.casttype) = "github.com/prysmaticlabs/eth2-types.Slot"]; + uint64 previous_justified_slot = 10 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/eth2-types.Slot"]; // Epoch of the previous justified block. - uint64 previous_justified_epoch = 11 [(gogoproto.casttype) = "github.com/prysmaticlabs/eth2-types.Epoch"]; + uint64 previous_justified_epoch = 11 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/eth2-types.Epoch"]; // Previous 32 byte justified block root. - bytes previous_justified_block_root = 12 [(gogoproto.moretags) = "ssz-size:\"32\""]; + bytes previous_justified_block_root = 12 [(ethereum.eth.ext.ssz_size) = "32"]; } message ListCommitteesRequest { oneof query_filter { // Optional criteria to retrieve data at a specific epoch. - uint64 epoch = 1 [(gogoproto.casttype) = "github.com/prysmaticlabs/eth2-types.Epoch"]; + uint64 epoch = 1 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/eth2-types.Epoch"]; // Optional criteria to retrieve genesis data. bool genesis = 2; @@ -466,7 +466,7 @@ message ListCommitteesRequest { message BeaconCommittees { message CommitteeItem { // A committee is a list of validator indices participating in consensus at a slot. - repeated uint64 validator_indices = 1 [(gogoproto.casttype) = "github.com/prysmaticlabs/eth2-types.ValidatorIndex"]; + repeated uint64 validator_indices = 1 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/eth2-types.ValidatorIndex"]; } message CommitteesList { @@ -475,7 +475,7 @@ message BeaconCommittees { } // The epoch for which the committees in the response belong to. - uint64 epoch = 1 [(gogoproto.casttype) = "github.com/prysmaticlabs/eth2-types.Epoch"]; + uint64 epoch = 1 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/eth2-types.Epoch"]; // A map of validator committees by slot. map committees = 2; @@ -487,7 +487,7 @@ message BeaconCommittees { message ListValidatorBalancesRequest { oneof query_filter { // Optional criteria to retrieve balances at a specific epoch. - uint64 epoch = 1 [(gogoproto.casttype) = "github.com/prysmaticlabs/eth2-types.Epoch"]; + uint64 epoch = 1 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/eth2-types.Epoch"]; // Optional criteria to retrieve the genesis list of balances. bool genesis = 2; @@ -495,9 +495,9 @@ message ListValidatorBalancesRequest { // Validator 48 byte BLS public keys to filter validators for the given // epoch. - repeated bytes public_keys = 3 [(gogoproto.moretags) = "ssz-size:\"?,48\""]; + repeated bytes public_keys = 3 [(ethereum.eth.ext.ssz_size) = "?,48"]; // Validator indices to filter validators for the given epoch. - repeated uint64 indices = 4 [(gogoproto.casttype) = "github.com/prysmaticlabs/eth2-types.ValidatorIndex"]; + repeated uint64 indices = 4 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/eth2-types.ValidatorIndex"]; // The maximum number of Validators to return in the response. // This field is optional. @@ -511,14 +511,14 @@ message ListValidatorBalancesRequest { message ValidatorBalances { // Epoch which the state was considered to determine the validator balances. - uint64 epoch = 1 [(gogoproto.casttype) = "github.com/prysmaticlabs/eth2-types.Epoch"]; + uint64 epoch = 1 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/eth2-types.Epoch"]; message Balance { // Validator's 48 byte BLS public key. - bytes public_key = 1 [(gogoproto.moretags) = "ssz-size:\"48\""]; + bytes public_key = 1 [(ethereum.eth.ext.ssz_size) = "48"]; // Validator's index in the validator set. - uint64 index = 2 [(gogoproto.casttype) = "github.com/prysmaticlabs/eth2-types.ValidatorIndex"]; + uint64 index = 2 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/eth2-types.ValidatorIndex"]; // Validator's balance in gwei. uint64 balance = 3; @@ -542,7 +542,7 @@ message ListValidatorsRequest { // Optional criteria to retrieve validators at a specific epoch. // Omitting this field or setting it to zero will retrieve a response // with the current active validator set. - uint64 epoch = 1 [(gogoproto.casttype) = "github.com/prysmaticlabs/eth2-types.Epoch"]; + uint64 epoch = 1 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/eth2-types.Epoch"]; // Optional criteria to retrieve the genesis set of validators. bool genesis = 2; @@ -566,16 +566,16 @@ message ListValidatorsRequest { // Specify which validators you would like to retrieve by their indices. // This field is optional. - repeated uint64 indices = 7 [(gogoproto.casttype) = "github.com/prysmaticlabs/eth2-types.ValidatorIndex"]; + repeated uint64 indices = 7 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/eth2-types.ValidatorIndex"]; } message GetValidatorRequest { oneof query_filter { // Validator index in the registry. - uint64 index = 1 [(gogoproto.casttype) = "github.com/prysmaticlabs/eth2-types.ValidatorIndex"]; + uint64 index = 1 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/eth2-types.ValidatorIndex"]; // 48 byte validator public key. - bytes public_key = 2 [(gogoproto.moretags) = "ssz-size:\"48\""]; + bytes public_key = 2 [(ethereum.eth.ext.ssz_size) = "48"]; } } @@ -583,10 +583,10 @@ message Validators { // Epoch which the state was considered to determine the active validator // set. This field is not optional. Zero value epoch indicates the validator // set is from the Ethereum 2.0 genesis set. - uint64 epoch = 1 [(gogoproto.casttype) = "github.com/prysmaticlabs/eth2-types.Epoch"]; + uint64 epoch = 1 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/eth2-types.Epoch"]; message ValidatorContainer { - uint64 index = 1 [(gogoproto.casttype) = "github.com/prysmaticlabs/eth2-types.ValidatorIndex"]; + uint64 index = 1 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/eth2-types.ValidatorIndex"]; Validator validator = 2; } @@ -604,7 +604,7 @@ message Validators { message GetValidatorActiveSetChangesRequest { oneof query_filter { // Optional criteria to retrieve balances at a specific epoch. - uint64 epoch = 1 [(gogoproto.casttype) = "github.com/prysmaticlabs/eth2-types.Epoch"]; + uint64 epoch = 1 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/eth2-types.Epoch"]; // Optional criteria to retrieve the genesis list of balances. bool genesis = 2; @@ -614,38 +614,38 @@ message GetValidatorActiveSetChangesRequest { message ActiveSetChanges { // Epoch which the state was considered to determine the active validator // set. - uint64 epoch = 1 [(gogoproto.casttype) = "github.com/prysmaticlabs/eth2-types.Epoch"]; + uint64 epoch = 1 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/eth2-types.Epoch"]; // 48 byte validator public keys that have been activated in the given epoch. - repeated bytes activated_public_keys = 2 [(gogoproto.moretags) = "ssz-size:\"?,48\""]; + repeated bytes activated_public_keys = 2 [(ethereum.eth.ext.ssz_size) = "?,48"]; // Indices of validators activated in the given epoch. - repeated uint64 activated_indices = 3 [(gogoproto.casttype) = "github.com/prysmaticlabs/eth2-types.ValidatorIndex"]; + repeated uint64 activated_indices = 3 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/eth2-types.ValidatorIndex"]; // 48 byte validator public keys that have been voluntarily exited in the given epoch. - repeated bytes exited_public_keys = 4 [(gogoproto.moretags) = "ssz-size:\"?,48\""]; + repeated bytes exited_public_keys = 4 [(ethereum.eth.ext.ssz_size) = "?,48"]; // Indices of validators exited in the given epoch. - repeated uint64 exited_indices = 5 [(gogoproto.casttype) = "github.com/prysmaticlabs/eth2-types.ValidatorIndex"]; + repeated uint64 exited_indices = 5 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/eth2-types.ValidatorIndex"]; // 48 byte validator public keys that have been slashed in the given epoch. - repeated bytes slashed_public_keys = 6 [(gogoproto.moretags) = "ssz-size:\"?,48\""]; + repeated bytes slashed_public_keys = 6 [(ethereum.eth.ext.ssz_size) = "?,48"]; // Indices of validators slashed in the given epoch. - repeated uint64 slashed_indices = 7 [(gogoproto.casttype) = "github.com/prysmaticlabs/eth2-types.ValidatorIndex"]; + repeated uint64 slashed_indices = 7 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/eth2-types.ValidatorIndex"]; // 48 byte validator public keys that have been involuntarily ejected in this epoch. - repeated bytes ejected_public_keys = 8 [(gogoproto.moretags) = "ssz-size:\"?,48\""]; + repeated bytes ejected_public_keys = 8 [(ethereum.eth.ext.ssz_size) = "?,48"]; // Indices of validators ejected in the given epoch. - repeated uint64 ejected_indices = 9 [(gogoproto.casttype) = "github.com/prysmaticlabs/eth2-types.ValidatorIndex"]; + repeated uint64 ejected_indices = 9 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/eth2-types.ValidatorIndex"]; } message ValidatorPerformanceRequest { // A list of 48 byte validator public keys. repeated bytes public_keys = 1 [deprecated = true]; // A list of validator indices to retrieve performance by their indices. - repeated uint64 indices = 2 [(gogoproto.casttype) = "github.com/prysmaticlabs/eth2-types.ValidatorIndex"]; + repeated uint64 indices = 2 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/eth2-types.ValidatorIndex"]; } message ValidatorPerformanceResponse { @@ -654,10 +654,10 @@ message ValidatorPerformanceResponse { repeated uint64 current_effective_balances = 1; // The slot of when validator's attestation got included in the chain at previous epoch, the slot // is mapped 1-to-1 with the request's public keys. - repeated uint64 inclusion_slots = 2 [(gogoproto.casttype) = "github.com/prysmaticlabs/eth2-types.Slot"]; + repeated uint64 inclusion_slots = 2 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/eth2-types.Slot"]; // The distance of when validator submitted and got included in the chain, the distance // is mapped 1-to-1 with the request's public keys. - repeated uint64 inclusion_distances = 3 [(gogoproto.casttype) = "github.com/prysmaticlabs/eth2-types.Slot"]; + repeated uint64 inclusion_distances = 3 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/eth2-types.Slot"]; // Whether the list of validator recently correctly voted for source at previous epoch, the result // is mapped 1-to-1 with the request's public keys. repeated bool correctly_voted_source = 4; @@ -679,7 +679,7 @@ message ValidatorPerformanceResponse { // The average active validator balance in the beacon chain. float average_active_validator_balance = 10; // The public keys in the order they are in of the response. - repeated bytes public_keys = 11 [(gogoproto.moretags) = "ssz-size:\"?,48\""]; + repeated bytes public_keys = 11 [(ethereum.eth.ext.ssz_size) = "?,48"]; } message ValidatorQueue { @@ -689,33 +689,33 @@ message ValidatorQueue { // Ordered list of 48 byte public keys awaiting activation. 0th index is the // next key to be processed. - repeated bytes activation_public_keys = 2 [(gogoproto.moretags) = "ssz-size:\"?,48\"", deprecated = true]; + repeated bytes activation_public_keys = 2 [(ethereum.eth.ext.ssz_size) = "?,48", deprecated = true]; // Ordered list of public keys awaiting exit. 0th index is the next key to // be processed. - repeated bytes exit_public_keys = 3 [(gogoproto.moretags) = "ssz-size:\"?,48\"", deprecated = true]; + repeated bytes exit_public_keys = 3 [(ethereum.eth.ext.ssz_size) = "?,48", deprecated = true]; // Ordered list of validator indices awaiting activation. 0th item in the list is the // next validator index to be processed. - repeated uint64 activation_validator_indices = 4 [(gogoproto.casttype) = "github.com/prysmaticlabs/eth2-types.ValidatorIndex"]; + repeated uint64 activation_validator_indices = 4 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/eth2-types.ValidatorIndex"]; // Ordered list of validator indices awaiting exit. 0th item in the list is the // next validator index to be processed. - repeated uint64 exit_validator_indices = 5 [(gogoproto.casttype) = "github.com/prysmaticlabs/eth2-types.ValidatorIndex"]; + repeated uint64 exit_validator_indices = 5 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/eth2-types.ValidatorIndex"]; } message ListValidatorAssignmentsRequest { oneof query_filter { // Epoch to validator assignments for. - uint64 epoch = 1 [(gogoproto.casttype) = "github.com/prysmaticlabs/eth2-types.Epoch"]; + uint64 epoch = 1 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/eth2-types.Epoch"]; // Whether or not to query for the genesis information. bool genesis = 2; } // 48 byte validator public keys to filter assignments for the given epoch. - repeated bytes public_keys = 3 [(gogoproto.moretags) = "ssz-size:\"?,48\""]; + repeated bytes public_keys = 3 [(ethereum.eth.ext.ssz_size) = "?,48"]; // Validator indicies to filter assignments for the given epoch. - repeated uint64 indices = 4 [(gogoproto.casttype) = "github.com/prysmaticlabs/eth2-types.ValidatorIndex"]; + repeated uint64 indices = 4 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/eth2-types.ValidatorIndex"]; // The maximum number of ValidatorAssignments to return in the response. // This field is optional. @@ -733,28 +733,28 @@ message ValidatorAssignments { // they also attest and produce beacon chain blocks. This is a list of validator indices that // are in the same committee as requested validator, everyone in the committee is assigned to the // same slot and same committee. - repeated uint64 beacon_committees = 1 [(gogoproto.casttype) = "github.com/prysmaticlabs/eth2-types.ValidatorIndex"]; + repeated uint64 beacon_committees = 1 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/eth2-types.ValidatorIndex"]; // Committee index represents the committee of validator that's in. - uint64 committee_index = 2 [(gogoproto.casttype) = "github.com/prysmaticlabs/eth2-types.CommitteeIndex"]; + uint64 committee_index = 2 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/eth2-types.CommitteeIndex"]; // Beacon chain slot in which the validator must perform its assigned // duty as an attester. - uint64 attester_slot = 3 [(gogoproto.casttype) = "github.com/prysmaticlabs/eth2-types.Slot"]; + uint64 attester_slot = 3 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/eth2-types.Slot"]; // Beacon chain slots in which the validator must perform its assigned // duty as a proposer. - repeated uint64 proposer_slots = 4 [(gogoproto.casttype) = "github.com/prysmaticlabs/eth2-types.Slot"]; + repeated uint64 proposer_slots = 4 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/eth2-types.Slot"]; // 48 byte BLS public key. - bytes public_key = 5 [(gogoproto.moretags) = "ssz-size:\"48\"", deprecated = true]; + bytes public_key = 5 [(ethereum.eth.ext.ssz_size) = "48", deprecated = true]; // Validator index in the beacon state. - uint64 validator_index = 6 [(gogoproto.casttype) = "github.com/prysmaticlabs/eth2-types.ValidatorIndex"]; + uint64 validator_index = 6 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/eth2-types.ValidatorIndex"]; } // The epoch for which this set of validator assignments is valid. - uint64 epoch = 1 [(gogoproto.casttype) = "github.com/prysmaticlabs/eth2-types.Epoch"]; + uint64 epoch = 1 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/eth2-types.Epoch"]; repeated CommitteeAssignment assignments = 2; @@ -770,7 +770,7 @@ message ValidatorAssignments { message GetValidatorParticipationRequest { oneof query_filter { // Epoch to request participation information. - uint64 epoch = 1 [(gogoproto.casttype) = "github.com/prysmaticlabs/eth2-types.Epoch"]; + uint64 epoch = 1 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/eth2-types.Epoch"]; // Whether or not to query for the genesis information. bool genesis = 2; @@ -779,7 +779,7 @@ message GetValidatorParticipationRequest { message ValidatorParticipationResponse { // Epoch which this message is applicable. - uint64 epoch = 1 [(gogoproto.casttype) = "github.com/prysmaticlabs/eth2-types.Epoch"]; + uint64 epoch = 1 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/eth2-types.Epoch"]; // Whether or not epoch has been finalized. bool finalized = 2; @@ -821,26 +821,26 @@ message BeaconConfig { message SubmitSlashingResponse { // Indices of the validators to be slashed by the submitted // proposer/attester slashing object. - repeated uint64 slashed_indices = 1 [(gogoproto.casttype) = "github.com/prysmaticlabs/eth2-types.ValidatorIndex"]; + repeated uint64 slashed_indices = 1 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/eth2-types.ValidatorIndex"]; } message IndividualVotesRequest { // Epoch of the request. - uint64 epoch = 1 [(gogoproto.casttype) = "github.com/prysmaticlabs/eth2-types.Epoch"]; + uint64 epoch = 1 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/eth2-types.Epoch"]; // Validator 48 byte BLS public keys to filter validators for the given epoch. repeated bytes public_keys = 2; // Validator indices to filter validators for the given epoch. - repeated uint64 indices = 3 [(gogoproto.casttype) = "github.com/prysmaticlabs/eth2-types.ValidatorIndex"]; + repeated uint64 indices = 3 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/eth2-types.ValidatorIndex"]; } message IndividualVotesRespond { message IndividualVote { // The epoch of the vote status request. - uint64 epoch = 1 [(gogoproto.casttype) = "github.com/prysmaticlabs/eth2-types.Epoch"]; + uint64 epoch = 1 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/eth2-types.Epoch"]; // The public key of the vote status request. bytes public_key = 2; // The validator index of the request. - uint64 validator_index = 3 [(gogoproto.casttype) = "github.com/prysmaticlabs/eth2-types.ValidatorIndex"]; + uint64 validator_index = 3 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/eth2-types.ValidatorIndex"]; // Has the validator been slashed. bool is_slashed = 4; // Is the validator withdrawable. @@ -862,9 +862,9 @@ message IndividualVotesRespond { // The current effective balance of the validator. uint64 current_epoch_effective_balance_gwei = 13; // The slots of when the validator's attestation got included in the block. - uint64 inclusion_slot = 14 [(gogoproto.casttype) = "github.com/prysmaticlabs/eth2-types.Slot"]; + uint64 inclusion_slot = 14 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/eth2-types.Slot"]; // How many slots have passed until the validator's attestation got included in the block. - uint64 inclusion_distance = 15 [(gogoproto.casttype) = "github.com/prysmaticlabs/eth2-types.Slot"]; + uint64 inclusion_distance = 15 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/eth2-types.Slot"]; } repeated IndividualVote individual_votes = 1; @@ -876,5 +876,5 @@ message WeakSubjectivityCheckpoint { // The state root of weak subjectivity checkpoint. bytes state_root = 2; // The epoch of weak subjectivity checkpoint. - uint64 epoch = 3 [(gogoproto.casttype) = "github.com/prysmaticlabs/eth2-types.Epoch"]; + uint64 epoch = 3 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/eth2-types.Epoch"]; } diff --git a/eth/v1alpha1/generated.ssz.go b/eth/v1alpha1/generated.ssz.go old mode 100755 new mode 100644 index be9a2510..6fbb4c68 --- a/eth/v1alpha1/generated.ssz.go +++ b/eth/v1alpha1/generated.ssz.go @@ -1527,117 +1527,6 @@ func (d *Deposit) HashTreeRootWith(hh *ssz.Hasher) (err error) { return } -// MarshalSSZ ssz marshals the Deposit_Data object -func (d *Deposit_Data) MarshalSSZ() ([]byte, error) { - return ssz.MarshalSSZ(d) -} - -// MarshalSSZTo ssz marshals the Deposit_Data object to a target array -func (d *Deposit_Data) MarshalSSZTo(buf []byte) (dst []byte, err error) { - dst = buf - - // Field (0) 'PublicKey' - if len(d.PublicKey) != 48 { - err = ssz.ErrBytesLength - return - } - dst = append(dst, d.PublicKey...) - - // Field (1) 'WithdrawalCredentials' - if len(d.WithdrawalCredentials) != 32 { - err = ssz.ErrBytesLength - return - } - dst = append(dst, d.WithdrawalCredentials...) - - // Field (2) 'Amount' - dst = ssz.MarshalUint64(dst, d.Amount) - - // Field (3) 'Signature' - if len(d.Signature) != 96 { - err = ssz.ErrBytesLength - return - } - dst = append(dst, d.Signature...) - - return -} - -// UnmarshalSSZ ssz unmarshals the Deposit_Data object -func (d *Deposit_Data) UnmarshalSSZ(buf []byte) error { - var err error - size := uint64(len(buf)) - if size != 184 { - return ssz.ErrSize - } - - // Field (0) 'PublicKey' - if cap(d.PublicKey) == 0 { - d.PublicKey = make([]byte, 0, len(buf[0:48])) - } - d.PublicKey = append(d.PublicKey, buf[0:48]...) - - // Field (1) 'WithdrawalCredentials' - if cap(d.WithdrawalCredentials) == 0 { - d.WithdrawalCredentials = make([]byte, 0, len(buf[48:80])) - } - d.WithdrawalCredentials = append(d.WithdrawalCredentials, buf[48:80]...) - - // Field (2) 'Amount' - d.Amount = ssz.UnmarshallUint64(buf[80:88]) - - // Field (3) 'Signature' - if cap(d.Signature) == 0 { - d.Signature = make([]byte, 0, len(buf[88:184])) - } - d.Signature = append(d.Signature, buf[88:184]...) - - return err -} - -// SizeSSZ returns the ssz encoded size in bytes for the Deposit_Data object -func (d *Deposit_Data) SizeSSZ() (size int) { - size = 184 - return -} - -// HashTreeRoot ssz hashes the Deposit_Data object -func (d *Deposit_Data) HashTreeRoot() ([32]byte, error) { - return ssz.HashWithDefaultHasher(d) -} - -// HashTreeRootWith ssz hashes the Deposit_Data object with a hasher -func (d *Deposit_Data) HashTreeRootWith(hh *ssz.Hasher) (err error) { - indx := hh.Index() - - // Field (0) 'PublicKey' - if len(d.PublicKey) != 48 { - err = ssz.ErrBytesLength - return - } - hh.PutBytes(d.PublicKey) - - // Field (1) 'WithdrawalCredentials' - if len(d.WithdrawalCredentials) != 32 { - err = ssz.ErrBytesLength - return - } - hh.PutBytes(d.WithdrawalCredentials) - - // Field (2) 'Amount' - hh.PutUint64(d.Amount) - - // Field (3) 'Signature' - if len(d.Signature) != 96 { - err = ssz.ErrBytesLength - return - } - hh.PutBytes(d.Signature) - - hh.Merkleize(indx) - return -} - // MarshalSSZ ssz marshals the VoluntaryExit object func (v *VoluntaryExit) MarshalSSZ() ([]byte, error) { return ssz.MarshalSSZ(v) @@ -2211,6 +2100,117 @@ func (i *IndexedAttestation) HashTreeRootWith(hh *ssz.Hasher) (err error) { return } +// MarshalSSZ ssz marshals the Deposit_Data object +func (d *Deposit_Data) MarshalSSZ() ([]byte, error) { + return ssz.MarshalSSZ(d) +} + +// MarshalSSZTo ssz marshals the Deposit_Data object to a target array +func (d *Deposit_Data) MarshalSSZTo(buf []byte) (dst []byte, err error) { + dst = buf + + // Field (0) 'PublicKey' + if len(d.PublicKey) != 48 { + err = ssz.ErrBytesLength + return + } + dst = append(dst, d.PublicKey...) + + // Field (1) 'WithdrawalCredentials' + if len(d.WithdrawalCredentials) != 32 { + err = ssz.ErrBytesLength + return + } + dst = append(dst, d.WithdrawalCredentials...) + + // Field (2) 'Amount' + dst = ssz.MarshalUint64(dst, d.Amount) + + // Field (3) 'Signature' + if len(d.Signature) != 96 { + err = ssz.ErrBytesLength + return + } + dst = append(dst, d.Signature...) + + return +} + +// UnmarshalSSZ ssz unmarshals the Deposit_Data object +func (d *Deposit_Data) UnmarshalSSZ(buf []byte) error { + var err error + size := uint64(len(buf)) + if size != 184 { + return ssz.ErrSize + } + + // Field (0) 'PublicKey' + if cap(d.PublicKey) == 0 { + d.PublicKey = make([]byte, 0, len(buf[0:48])) + } + d.PublicKey = append(d.PublicKey, buf[0:48]...) + + // Field (1) 'WithdrawalCredentials' + if cap(d.WithdrawalCredentials) == 0 { + d.WithdrawalCredentials = make([]byte, 0, len(buf[48:80])) + } + d.WithdrawalCredentials = append(d.WithdrawalCredentials, buf[48:80]...) + + // Field (2) 'Amount' + d.Amount = ssz.UnmarshallUint64(buf[80:88]) + + // Field (3) 'Signature' + if cap(d.Signature) == 0 { + d.Signature = make([]byte, 0, len(buf[88:184])) + } + d.Signature = append(d.Signature, buf[88:184]...) + + return err +} + +// SizeSSZ returns the ssz encoded size in bytes for the Deposit_Data object +func (d *Deposit_Data) SizeSSZ() (size int) { + size = 184 + return +} + +// HashTreeRoot ssz hashes the Deposit_Data object +func (d *Deposit_Data) HashTreeRoot() ([32]byte, error) { + return ssz.HashWithDefaultHasher(d) +} + +// HashTreeRootWith ssz hashes the Deposit_Data object with a hasher +func (d *Deposit_Data) HashTreeRootWith(hh *ssz.Hasher) (err error) { + indx := hh.Index() + + // Field (0) 'PublicKey' + if len(d.PublicKey) != 48 { + err = ssz.ErrBytesLength + return + } + hh.PutBytes(d.PublicKey) + + // Field (1) 'WithdrawalCredentials' + if len(d.WithdrawalCredentials) != 32 { + err = ssz.ErrBytesLength + return + } + hh.PutBytes(d.WithdrawalCredentials) + + // Field (2) 'Amount' + hh.PutUint64(d.Amount) + + // Field (3) 'Signature' + if len(d.Signature) != 96 { + err = ssz.ErrBytesLength + return + } + hh.PutBytes(d.Signature) + + hh.Merkleize(indx) + return +} + // MarshalSSZ ssz marshals the SignedBeaconBlockAltair object func (s *SignedBeaconBlockAltair) MarshalSSZ() ([]byte, error) { return ssz.MarshalSSZ(s) diff --git a/eth/v1alpha1/node.pb.go b/eth/v1alpha1/node.pb.go old mode 100755 new mode 100644 index 5af224c2..a85d6c78 --- a/eth/v1alpha1/node.pb.go +++ b/eth/v1alpha1/node.pb.go @@ -1,34 +1,38 @@ -// Code generated by protoc-gen-gogo. DO NOT EDIT. +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.25.0 +// protoc v3.15.6 // source: eth/v1alpha1/node.proto package eth import ( context "context" - fmt "fmt" - io "io" - math "math" - math_bits "math/bits" - - _ "github.com/gogo/protobuf/gogoproto" - proto "github.com/gogo/protobuf/proto" - types "github.com/gogo/protobuf/types" + reflect "reflect" + sync "sync" + + proto "github.com/golang/protobuf/proto" + empty "github.com/golang/protobuf/ptypes/empty" + timestamp "github.com/golang/protobuf/ptypes/timestamp" + _ "github.com/prysmaticlabs/ethereumapis/eth/ext" _ "google.golang.org/genproto/googleapis/api/annotations" 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.GoGoProtoPackageIsVersion3 // 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 PeerDirection int32 @@ -38,24 +42,45 @@ const ( PeerDirection_OUTBOUND PeerDirection = 2 ) -var PeerDirection_name = map[int32]string{ - 0: "UNKNOWN", - 1: "INBOUND", - 2: "OUTBOUND", -} +// Enum value maps for PeerDirection. +var ( + PeerDirection_name = map[int32]string{ + 0: "UNKNOWN", + 1: "INBOUND", + 2: "OUTBOUND", + } + PeerDirection_value = map[string]int32{ + "UNKNOWN": 0, + "INBOUND": 1, + "OUTBOUND": 2, + } +) -var PeerDirection_value = map[string]int32{ - "UNKNOWN": 0, - "INBOUND": 1, - "OUTBOUND": 2, +func (x PeerDirection) Enum() *PeerDirection { + p := new(PeerDirection) + *p = x + return p } func (x PeerDirection) String() string { - return proto.EnumName(PeerDirection_name, int32(x)) + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (PeerDirection) Descriptor() protoreflect.EnumDescriptor { + return file_eth_v1alpha1_node_proto_enumTypes[0].Descriptor() +} + +func (PeerDirection) Type() protoreflect.EnumType { + return &file_eth_v1alpha1_node_proto_enumTypes[0] +} + +func (x PeerDirection) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) } +// Deprecated: Use PeerDirection.Descriptor instead. func (PeerDirection) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_4d5c81e0a630f5ab, []int{0} + return file_eth_v1alpha1_node_proto_rawDescGZIP(), []int{0} } type ConnectionState int32 @@ -67,581 +92,836 @@ const ( ConnectionState_CONNECTING ConnectionState = 3 ) -var ConnectionState_name = map[int32]string{ - 0: "DISCONNECTED", - 1: "DISCONNECTING", - 2: "CONNECTED", - 3: "CONNECTING", -} +// Enum value maps for ConnectionState. +var ( + ConnectionState_name = map[int32]string{ + 0: "DISCONNECTED", + 1: "DISCONNECTING", + 2: "CONNECTED", + 3: "CONNECTING", + } + ConnectionState_value = map[string]int32{ + "DISCONNECTED": 0, + "DISCONNECTING": 1, + "CONNECTED": 2, + "CONNECTING": 3, + } +) -var ConnectionState_value = map[string]int32{ - "DISCONNECTED": 0, - "DISCONNECTING": 1, - "CONNECTED": 2, - "CONNECTING": 3, +func (x ConnectionState) Enum() *ConnectionState { + p := new(ConnectionState) + *p = x + return p } func (x ConnectionState) String() string { - return proto.EnumName(ConnectionState_name, int32(x)) + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (ConnectionState) Descriptor() protoreflect.EnumDescriptor { + return file_eth_v1alpha1_node_proto_enumTypes[1].Descriptor() +} + +func (ConnectionState) Type() protoreflect.EnumType { + return &file_eth_v1alpha1_node_proto_enumTypes[1] } +func (x ConnectionState) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use ConnectionState.Descriptor instead. func (ConnectionState) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_4d5c81e0a630f5ab, []int{1} + return file_eth_v1alpha1_node_proto_rawDescGZIP(), []int{1} } type SyncStatus struct { - Syncing bool `protobuf:"varint,1,opt,name=syncing,proto3" json:"syncing,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Syncing bool `protobuf:"varint,1,opt,name=syncing,proto3" json:"syncing,omitempty"` } -func (m *SyncStatus) Reset() { *m = SyncStatus{} } -func (m *SyncStatus) String() string { return proto.CompactTextString(m) } -func (*SyncStatus) ProtoMessage() {} -func (*SyncStatus) Descriptor() ([]byte, []int) { - return fileDescriptor_4d5c81e0a630f5ab, []int{0} -} -func (m *SyncStatus) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *SyncStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_SyncStatus.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *SyncStatus) Reset() { + *x = SyncStatus{} + if protoimpl.UnsafeEnabled { + mi := &file_eth_v1alpha1_node_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *SyncStatus) XXX_Merge(src proto.Message) { - xxx_messageInfo_SyncStatus.Merge(m, src) -} -func (m *SyncStatus) XXX_Size() int { - return m.Size() + +func (x *SyncStatus) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *SyncStatus) XXX_DiscardUnknown() { - xxx_messageInfo_SyncStatus.DiscardUnknown(m) + +func (*SyncStatus) ProtoMessage() {} + +func (x *SyncStatus) ProtoReflect() protoreflect.Message { + mi := &file_eth_v1alpha1_node_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) } -var xxx_messageInfo_SyncStatus proto.InternalMessageInfo +// Deprecated: Use SyncStatus.ProtoReflect.Descriptor instead. +func (*SyncStatus) Descriptor() ([]byte, []int) { + return file_eth_v1alpha1_node_proto_rawDescGZIP(), []int{0} +} -func (m *SyncStatus) GetSyncing() bool { - if m != nil { - return m.Syncing +func (x *SyncStatus) GetSyncing() bool { + if x != nil { + return x.Syncing } return false } type Genesis struct { - GenesisTime *types.Timestamp `protobuf:"bytes,1,opt,name=genesis_time,json=genesisTime,proto3" json:"genesis_time,omitempty"` - DepositContractAddress []byte `protobuf:"bytes,2,opt,name=deposit_contract_address,json=depositContractAddress,proto3" json:"deposit_contract_address,omitempty"` - GenesisValidatorsRoot []byte `protobuf:"bytes,3,opt,name=genesis_validators_root,json=genesisValidatorsRoot,proto3" json:"genesis_validators_root,omitempty" ssz-size:"32"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + GenesisTime *timestamp.Timestamp `protobuf:"bytes,1,opt,name=genesis_time,json=genesisTime,proto3" json:"genesis_time,omitempty"` + DepositContractAddress []byte `protobuf:"bytes,2,opt,name=deposit_contract_address,json=depositContractAddress,proto3" json:"deposit_contract_address,omitempty"` + GenesisValidatorsRoot []byte `protobuf:"bytes,3,opt,name=genesis_validators_root,json=genesisValidatorsRoot,proto3" json:"genesis_validators_root,omitempty" ssz-size:"32"` } -func (m *Genesis) Reset() { *m = Genesis{} } -func (m *Genesis) String() string { return proto.CompactTextString(m) } -func (*Genesis) ProtoMessage() {} -func (*Genesis) Descriptor() ([]byte, []int) { - return fileDescriptor_4d5c81e0a630f5ab, []int{1} -} -func (m *Genesis) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *Genesis) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_Genesis.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *Genesis) Reset() { + *x = Genesis{} + if protoimpl.UnsafeEnabled { + mi := &file_eth_v1alpha1_node_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *Genesis) XXX_Merge(src proto.Message) { - xxx_messageInfo_Genesis.Merge(m, src) -} -func (m *Genesis) XXX_Size() int { - return m.Size() + +func (x *Genesis) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *Genesis) XXX_DiscardUnknown() { - xxx_messageInfo_Genesis.DiscardUnknown(m) + +func (*Genesis) ProtoMessage() {} + +func (x *Genesis) ProtoReflect() protoreflect.Message { + mi := &file_eth_v1alpha1_node_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) } -var xxx_messageInfo_Genesis proto.InternalMessageInfo +// Deprecated: Use Genesis.ProtoReflect.Descriptor instead. +func (*Genesis) Descriptor() ([]byte, []int) { + return file_eth_v1alpha1_node_proto_rawDescGZIP(), []int{1} +} -func (m *Genesis) GetGenesisTime() *types.Timestamp { - if m != nil { - return m.GenesisTime +func (x *Genesis) GetGenesisTime() *timestamp.Timestamp { + if x != nil { + return x.GenesisTime } return nil } -func (m *Genesis) GetDepositContractAddress() []byte { - if m != nil { - return m.DepositContractAddress +func (x *Genesis) GetDepositContractAddress() []byte { + if x != nil { + return x.DepositContractAddress } return nil } -func (m *Genesis) GetGenesisValidatorsRoot() []byte { - if m != nil { - return m.GenesisValidatorsRoot +func (x *Genesis) GetGenesisValidatorsRoot() []byte { + if x != nil { + return x.GenesisValidatorsRoot } return nil } type Version struct { - Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` - Metadata string `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` + Metadata string `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"` } -func (m *Version) Reset() { *m = Version{} } -func (m *Version) String() string { return proto.CompactTextString(m) } -func (*Version) ProtoMessage() {} -func (*Version) Descriptor() ([]byte, []int) { - return fileDescriptor_4d5c81e0a630f5ab, []int{2} -} -func (m *Version) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *Version) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_Version.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *Version) Reset() { + *x = Version{} + if protoimpl.UnsafeEnabled { + mi := &file_eth_v1alpha1_node_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *Version) XXX_Merge(src proto.Message) { - xxx_messageInfo_Version.Merge(m, src) -} -func (m *Version) XXX_Size() int { - return m.Size() + +func (x *Version) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *Version) XXX_DiscardUnknown() { - xxx_messageInfo_Version.DiscardUnknown(m) + +func (*Version) ProtoMessage() {} + +func (x *Version) ProtoReflect() protoreflect.Message { + mi := &file_eth_v1alpha1_node_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) } -var xxx_messageInfo_Version proto.InternalMessageInfo +// Deprecated: Use Version.ProtoReflect.Descriptor instead. +func (*Version) Descriptor() ([]byte, []int) { + return file_eth_v1alpha1_node_proto_rawDescGZIP(), []int{2} +} -func (m *Version) GetVersion() string { - if m != nil { - return m.Version +func (x *Version) GetVersion() string { + if x != nil { + return x.Version } return "" } -func (m *Version) GetMetadata() string { - if m != nil { - return m.Metadata +func (x *Version) GetMetadata() string { + if x != nil { + return x.Metadata } return "" } type ImplementedServices struct { - Services []string `protobuf:"bytes,1,rep,name=services,proto3" json:"services,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Services []string `protobuf:"bytes,1,rep,name=services,proto3" json:"services,omitempty"` } -func (m *ImplementedServices) Reset() { *m = ImplementedServices{} } -func (m *ImplementedServices) String() string { return proto.CompactTextString(m) } -func (*ImplementedServices) ProtoMessage() {} -func (*ImplementedServices) Descriptor() ([]byte, []int) { - return fileDescriptor_4d5c81e0a630f5ab, []int{3} -} -func (m *ImplementedServices) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *ImplementedServices) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_ImplementedServices.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *ImplementedServices) Reset() { + *x = ImplementedServices{} + if protoimpl.UnsafeEnabled { + mi := &file_eth_v1alpha1_node_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *ImplementedServices) XXX_Merge(src proto.Message) { - xxx_messageInfo_ImplementedServices.Merge(m, src) -} -func (m *ImplementedServices) XXX_Size() int { - return m.Size() + +func (x *ImplementedServices) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ImplementedServices) XXX_DiscardUnknown() { - xxx_messageInfo_ImplementedServices.DiscardUnknown(m) + +func (*ImplementedServices) ProtoMessage() {} + +func (x *ImplementedServices) ProtoReflect() protoreflect.Message { + mi := &file_eth_v1alpha1_node_proto_msgTypes[3] + 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) } -var xxx_messageInfo_ImplementedServices proto.InternalMessageInfo +// Deprecated: Use ImplementedServices.ProtoReflect.Descriptor instead. +func (*ImplementedServices) Descriptor() ([]byte, []int) { + return file_eth_v1alpha1_node_proto_rawDescGZIP(), []int{3} +} -func (m *ImplementedServices) GetServices() []string { - if m != nil { - return m.Services +func (x *ImplementedServices) GetServices() []string { + if x != nil { + return x.Services } return nil } type PeerRequest struct { - PeerId string `protobuf:"bytes,1,opt,name=peer_id,json=peerId,proto3" json:"peer_id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + PeerId string `protobuf:"bytes,1,opt,name=peer_id,json=peerId,proto3" json:"peer_id,omitempty"` } -func (m *PeerRequest) Reset() { *m = PeerRequest{} } -func (m *PeerRequest) String() string { return proto.CompactTextString(m) } -func (*PeerRequest) ProtoMessage() {} -func (*PeerRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_4d5c81e0a630f5ab, []int{4} -} -func (m *PeerRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *PeerRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_PeerRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *PeerRequest) Reset() { + *x = PeerRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_eth_v1alpha1_node_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *PeerRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_PeerRequest.Merge(m, src) -} -func (m *PeerRequest) XXX_Size() int { - return m.Size() + +func (x *PeerRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *PeerRequest) XXX_DiscardUnknown() { - xxx_messageInfo_PeerRequest.DiscardUnknown(m) + +func (*PeerRequest) ProtoMessage() {} + +func (x *PeerRequest) ProtoReflect() protoreflect.Message { + mi := &file_eth_v1alpha1_node_proto_msgTypes[4] + 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) } -var xxx_messageInfo_PeerRequest proto.InternalMessageInfo +// Deprecated: Use PeerRequest.ProtoReflect.Descriptor instead. +func (*PeerRequest) Descriptor() ([]byte, []int) { + return file_eth_v1alpha1_node_proto_rawDescGZIP(), []int{4} +} -func (m *PeerRequest) GetPeerId() string { - if m != nil { - return m.PeerId +func (x *PeerRequest) GetPeerId() string { + if x != nil { + return x.PeerId } return "" } type Peers struct { - Peers []*Peer `protobuf:"bytes,1,rep,name=peers,proto3" json:"peers,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Peers []*Peer `protobuf:"bytes,1,rep,name=peers,proto3" json:"peers,omitempty"` } -func (m *Peers) Reset() { *m = Peers{} } -func (m *Peers) String() string { return proto.CompactTextString(m) } -func (*Peers) ProtoMessage() {} -func (*Peers) Descriptor() ([]byte, []int) { - return fileDescriptor_4d5c81e0a630f5ab, []int{5} -} -func (m *Peers) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *Peers) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_Peers.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *Peers) Reset() { + *x = Peers{} + if protoimpl.UnsafeEnabled { + mi := &file_eth_v1alpha1_node_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *Peers) XXX_Merge(src proto.Message) { - xxx_messageInfo_Peers.Merge(m, src) -} -func (m *Peers) XXX_Size() int { - return m.Size() + +func (x *Peers) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *Peers) XXX_DiscardUnknown() { - xxx_messageInfo_Peers.DiscardUnknown(m) + +func (*Peers) ProtoMessage() {} + +func (x *Peers) ProtoReflect() protoreflect.Message { + mi := &file_eth_v1alpha1_node_proto_msgTypes[5] + 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) } -var xxx_messageInfo_Peers proto.InternalMessageInfo +// Deprecated: Use Peers.ProtoReflect.Descriptor instead. +func (*Peers) Descriptor() ([]byte, []int) { + return file_eth_v1alpha1_node_proto_rawDescGZIP(), []int{5} +} -func (m *Peers) GetPeers() []*Peer { - if m != nil { - return m.Peers +func (x *Peers) GetPeers() []*Peer { + if x != nil { + return x.Peers } return nil } type Peer struct { - Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` - Direction PeerDirection `protobuf:"varint,2,opt,name=direction,proto3,enum=ethereum.eth.v1alpha1.PeerDirection" json:"direction,omitempty"` - ConnectionState ConnectionState `protobuf:"varint,3,opt,name=connection_state,json=connectionState,proto3,enum=ethereum.eth.v1alpha1.ConnectionState" json:"connection_state,omitempty"` - PeerId string `protobuf:"bytes,4,opt,name=peer_id,json=peerId,proto3" json:"peer_id,omitempty"` - Enr string `protobuf:"bytes,5,opt,name=enr,proto3" json:"enr,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Peer) Reset() { *m = Peer{} } -func (m *Peer) String() string { return proto.CompactTextString(m) } -func (*Peer) ProtoMessage() {} -func (*Peer) Descriptor() ([]byte, []int) { - return fileDescriptor_4d5c81e0a630f5ab, []int{6} -} -func (m *Peer) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *Peer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_Peer.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil - } + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` + Direction PeerDirection `protobuf:"varint,2,opt,name=direction,proto3,enum=ethereum.eth.v1alpha1.PeerDirection" json:"direction,omitempty"` + ConnectionState ConnectionState `protobuf:"varint,3,opt,name=connection_state,json=connectionState,proto3,enum=ethereum.eth.v1alpha1.ConnectionState" json:"connection_state,omitempty"` + PeerId string `protobuf:"bytes,4,opt,name=peer_id,json=peerId,proto3" json:"peer_id,omitempty"` + Enr string `protobuf:"bytes,5,opt,name=enr,proto3" json:"enr,omitempty"` } -func (m *Peer) XXX_Merge(src proto.Message) { - xxx_messageInfo_Peer.Merge(m, src) + +func (x *Peer) Reset() { + *x = Peer{} + if protoimpl.UnsafeEnabled { + mi := &file_eth_v1alpha1_node_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *Peer) XXX_Size() int { - return m.Size() + +func (x *Peer) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *Peer) XXX_DiscardUnknown() { - xxx_messageInfo_Peer.DiscardUnknown(m) + +func (*Peer) ProtoMessage() {} + +func (x *Peer) ProtoReflect() protoreflect.Message { + mi := &file_eth_v1alpha1_node_proto_msgTypes[6] + 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) } -var xxx_messageInfo_Peer proto.InternalMessageInfo +// Deprecated: Use Peer.ProtoReflect.Descriptor instead. +func (*Peer) Descriptor() ([]byte, []int) { + return file_eth_v1alpha1_node_proto_rawDescGZIP(), []int{6} +} -func (m *Peer) GetAddress() string { - if m != nil { - return m.Address +func (x *Peer) GetAddress() string { + if x != nil { + return x.Address } return "" } -func (m *Peer) GetDirection() PeerDirection { - if m != nil { - return m.Direction +func (x *Peer) GetDirection() PeerDirection { + if x != nil { + return x.Direction } return PeerDirection_UNKNOWN } -func (m *Peer) GetConnectionState() ConnectionState { - if m != nil { - return m.ConnectionState +func (x *Peer) GetConnectionState() ConnectionState { + if x != nil { + return x.ConnectionState } return ConnectionState_DISCONNECTED } -func (m *Peer) GetPeerId() string { - if m != nil { - return m.PeerId +func (x *Peer) GetPeerId() string { + if x != nil { + return x.PeerId } return "" } -func (m *Peer) GetEnr() string { - if m != nil { - return m.Enr +func (x *Peer) GetEnr() string { + if x != nil { + return x.Enr } return "" } type HostData struct { - Addresses []string `protobuf:"bytes,1,rep,name=addresses,proto3" json:"addresses,omitempty"` - PeerId string `protobuf:"bytes,2,opt,name=peer_id,json=peerId,proto3" json:"peer_id,omitempty"` - Enr string `protobuf:"bytes,3,opt,name=enr,proto3" json:"enr,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Addresses []string `protobuf:"bytes,1,rep,name=addresses,proto3" json:"addresses,omitempty"` + PeerId string `protobuf:"bytes,2,opt,name=peer_id,json=peerId,proto3" json:"peer_id,omitempty"` + Enr string `protobuf:"bytes,3,opt,name=enr,proto3" json:"enr,omitempty"` } -func (m *HostData) Reset() { *m = HostData{} } -func (m *HostData) String() string { return proto.CompactTextString(m) } -func (*HostData) ProtoMessage() {} -func (*HostData) Descriptor() ([]byte, []int) { - return fileDescriptor_4d5c81e0a630f5ab, []int{7} -} -func (m *HostData) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *HostData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_HostData.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *HostData) Reset() { + *x = HostData{} + if protoimpl.UnsafeEnabled { + mi := &file_eth_v1alpha1_node_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *HostData) XXX_Merge(src proto.Message) { - xxx_messageInfo_HostData.Merge(m, src) -} -func (m *HostData) XXX_Size() int { - return m.Size() + +func (x *HostData) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *HostData) XXX_DiscardUnknown() { - xxx_messageInfo_HostData.DiscardUnknown(m) + +func (*HostData) ProtoMessage() {} + +func (x *HostData) ProtoReflect() protoreflect.Message { + mi := &file_eth_v1alpha1_node_proto_msgTypes[7] + 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) } -var xxx_messageInfo_HostData proto.InternalMessageInfo +// Deprecated: Use HostData.ProtoReflect.Descriptor instead. +func (*HostData) Descriptor() ([]byte, []int) { + return file_eth_v1alpha1_node_proto_rawDescGZIP(), []int{7} +} -func (m *HostData) GetAddresses() []string { - if m != nil { - return m.Addresses +func (x *HostData) GetAddresses() []string { + if x != nil { + return x.Addresses } return nil } -func (m *HostData) GetPeerId() string { - if m != nil { - return m.PeerId +func (x *HostData) GetPeerId() string { + if x != nil { + return x.PeerId } return "" } -func (m *HostData) GetEnr() string { - if m != nil { - return m.Enr +func (x *HostData) GetEnr() string { + if x != nil { + return x.Enr } return "" } -func init() { - proto.RegisterEnum("ethereum.eth.v1alpha1.PeerDirection", PeerDirection_name, PeerDirection_value) - proto.RegisterEnum("ethereum.eth.v1alpha1.ConnectionState", ConnectionState_name, ConnectionState_value) - proto.RegisterType((*SyncStatus)(nil), "ethereum.eth.v1alpha1.SyncStatus") - proto.RegisterType((*Genesis)(nil), "ethereum.eth.v1alpha1.Genesis") - proto.RegisterType((*Version)(nil), "ethereum.eth.v1alpha1.Version") - proto.RegisterType((*ImplementedServices)(nil), "ethereum.eth.v1alpha1.ImplementedServices") - proto.RegisterType((*PeerRequest)(nil), "ethereum.eth.v1alpha1.PeerRequest") - proto.RegisterType((*Peers)(nil), "ethereum.eth.v1alpha1.Peers") - proto.RegisterType((*Peer)(nil), "ethereum.eth.v1alpha1.Peer") - proto.RegisterType((*HostData)(nil), "ethereum.eth.v1alpha1.HostData") -} - -func init() { proto.RegisterFile("eth/v1alpha1/node.proto", fileDescriptor_4d5c81e0a630f5ab) } - -var fileDescriptor_4d5c81e0a630f5ab = []byte{ - // 883 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x95, 0xe1, 0x6a, 0xe3, 0x46, - 0x10, 0xc7, 0x4f, 0x76, 0x12, 0xc7, 0xe3, 0x38, 0xe7, 0xdb, 0x92, 0x58, 0xe7, 0xa4, 0x4e, 0xaa, - 0x96, 0x70, 0x04, 0x4e, 0x22, 0x3e, 0x68, 0xcb, 0x95, 0x52, 0xea, 0xd8, 0xa4, 0xa6, 0x45, 0x49, - 0xe5, 0xe4, 0x0a, 0xe5, 0xc0, 0xac, 0xa5, 0xa9, 0x2d, 0x6a, 0x69, 0x55, 0xed, 0x3a, 0x90, 0xfb, - 0x78, 0xd0, 0x27, 0xe8, 0xd7, 0x3e, 0x41, 0x9f, 0xa4, 0x14, 0x0a, 0x85, 0x7e, 0x2f, 0xc5, 0xf4, - 0x09, 0xfa, 0x04, 0x65, 0x25, 0xad, 0xed, 0xdc, 0x59, 0x86, 0x7e, 0xdb, 0xff, 0xec, 0xcc, 0xfc, - 0x34, 0xe3, 0x9d, 0x31, 0xd4, 0x51, 0x8c, 0xad, 0xdb, 0x33, 0x3a, 0x89, 0xc6, 0xf4, 0xcc, 0x0a, - 0x99, 0x87, 0x66, 0x14, 0x33, 0xc1, 0xc8, 0x1e, 0x8a, 0x31, 0xc6, 0x38, 0x0d, 0x4c, 0x14, 0x63, - 0x53, 0x79, 0x34, 0x0e, 0x47, 0x8c, 0x8d, 0x26, 0x68, 0xd1, 0xc8, 0xb7, 0x68, 0x18, 0x32, 0x41, - 0x85, 0xcf, 0x42, 0x9e, 0x06, 0x35, 0x0e, 0xb2, 0xdb, 0x44, 0x0d, 0xa7, 0xdf, 0x59, 0x18, 0x44, - 0xe2, 0x2e, 0xbb, 0x3c, 0x7a, 0xf3, 0x52, 0xf8, 0x01, 0x72, 0x41, 0x83, 0x28, 0x73, 0x78, 0x3a, - 0xf2, 0xc5, 0x78, 0x3a, 0x34, 0x5d, 0x16, 0x58, 0x23, 0x36, 0x62, 0x0b, 0x4f, 0xa9, 0x12, 0x91, - 0x9c, 0x52, 0x77, 0xe3, 0x04, 0xa0, 0x7f, 0x17, 0xba, 0x7d, 0x41, 0xc5, 0x94, 0x13, 0x1d, 0x4a, - 0xfc, 0x2e, 0x74, 0xfd, 0x70, 0xa4, 0x6b, 0xc7, 0xda, 0x93, 0x6d, 0x47, 0x49, 0xe3, 0x77, 0x0d, - 0x4a, 0x17, 0x18, 0x22, 0xf7, 0x39, 0xf9, 0x14, 0x76, 0x46, 0xe9, 0x71, 0x20, 0xe9, 0x89, 0x6b, - 0xa5, 0xd5, 0x30, 0xd3, 0x4f, 0x33, 0x15, 0xd0, 0xbc, 0x56, 0x9f, 0xe6, 0x54, 0x32, 0x7f, 0x69, - 0x21, 0x1f, 0x83, 0xee, 0x61, 0xc4, 0xb8, 0x2f, 0x06, 0x2e, 0x0b, 0x45, 0x4c, 0x5d, 0x31, 0xa0, - 0x9e, 0x17, 0x23, 0xe7, 0x7a, 0xe1, 0x58, 0x7b, 0xb2, 0xe3, 0xec, 0x67, 0xf7, 0xe7, 0xd9, 0xf5, - 0xe7, 0xe9, 0x2d, 0xe9, 0x41, 0x5d, 0x81, 0x6f, 0xe9, 0xc4, 0xf7, 0xa8, 0x60, 0x31, 0x1f, 0xc4, - 0x8c, 0x09, 0xbd, 0x28, 0x03, 0xdb, 0x8f, 0xfe, 0xfd, 0xeb, 0xa8, 0xca, 0xf9, 0xab, 0xa7, 0xdc, - 0x7f, 0x85, 0xcf, 0x8d, 0x67, 0x2d, 0xc3, 0xd9, 0xcb, 0x22, 0x5e, 0xcc, 0x03, 0x1c, 0xc6, 0x84, - 0xf1, 0x19, 0x94, 0x5e, 0x60, 0xcc, 0x7d, 0x16, 0xca, 0xa2, 0x6f, 0xd3, 0x63, 0x52, 0x49, 0xd9, - 0x51, 0x92, 0x34, 0x60, 0x3b, 0x40, 0x41, 0x3d, 0x2a, 0x68, 0xf2, 0x65, 0x65, 0x67, 0xae, 0x8d, - 0x33, 0x78, 0xa7, 0x17, 0x44, 0x13, 0x0c, 0x30, 0x14, 0xe8, 0xf5, 0x31, 0xbe, 0xf5, 0x5d, 0xe4, - 0x32, 0x84, 0x67, 0x67, 0x5d, 0x3b, 0x2e, 0xca, 0x10, 0xa5, 0x8d, 0x13, 0xa8, 0x5c, 0x21, 0xc6, - 0x0e, 0xfe, 0x30, 0x45, 0x2e, 0x48, 0x1d, 0x4a, 0x11, 0x62, 0x3c, 0xf0, 0xbd, 0x8c, 0xbb, 0x25, - 0x65, 0xcf, 0x33, 0x9e, 0xc3, 0xa6, 0xf4, 0xe3, 0xe4, 0x0c, 0x36, 0xa5, 0x29, 0xcd, 0x54, 0x69, - 0x1d, 0x98, 0x2b, 0x9f, 0x93, 0x99, 0x24, 0x4d, 0x3d, 0x8d, 0x99, 0x06, 0x1b, 0x52, 0xcb, 0xaa, - 0x54, 0x53, 0xb3, 0xaa, 0x32, 0x49, 0xda, 0x50, 0xf6, 0xfc, 0x18, 0x5d, 0xf9, 0xe6, 0x92, 0xb2, - 0x76, 0x5b, 0x1f, 0xac, 0xc9, 0xdc, 0x51, 0xbe, 0xce, 0x22, 0x8c, 0x7c, 0x0d, 0x35, 0x97, 0x85, - 0x61, 0xaa, 0x06, 0x5c, 0x50, 0x81, 0xc9, 0x4f, 0xb0, 0xdb, 0x3a, 0xc9, 0x49, 0x75, 0x3e, 0x77, - 0x97, 0x6f, 0x0d, 0x9d, 0x87, 0xee, 0x7d, 0xc3, 0x72, 0x3b, 0x36, 0x96, 0xdb, 0x41, 0x6a, 0x50, - 0xc4, 0x30, 0xd6, 0x37, 0x13, 0xa3, 0x3c, 0x1a, 0x7d, 0xd8, 0xfe, 0x82, 0x71, 0xd1, 0xa1, 0x82, - 0x92, 0x43, 0x28, 0x67, 0x85, 0xcd, 0x3b, 0xbe, 0x30, 0x2c, 0x27, 0x2d, 0xac, 0x4a, 0x5a, 0x9c, - 0x27, 0x3d, 0xfd, 0x08, 0xaa, 0xf7, 0xca, 0x25, 0x15, 0x28, 0xdd, 0xd8, 0x5f, 0xda, 0x97, 0xdf, - 0xd8, 0xb5, 0x07, 0x52, 0xf4, 0xec, 0xf6, 0xe5, 0x8d, 0xdd, 0xa9, 0x69, 0x64, 0x07, 0xb6, 0x2f, - 0x6f, 0xae, 0x53, 0x55, 0x38, 0xbd, 0x81, 0x87, 0x6f, 0x14, 0x47, 0x6a, 0xb0, 0xd3, 0xe9, 0xf5, - 0xcf, 0x2f, 0x6d, 0xbb, 0x7b, 0x7e, 0xdd, 0xed, 0xd4, 0x1e, 0x90, 0x47, 0x50, 0x5d, 0x58, 0x7a, - 0xf6, 0x45, 0x4d, 0x23, 0x55, 0x28, 0x2f, 0x3c, 0x0a, 0x64, 0x17, 0x60, 0xe9, 0xba, 0xd8, 0xfa, - 0x71, 0x0b, 0x36, 0x6c, 0xe6, 0x21, 0x09, 0xa1, 0x7a, 0x81, 0x62, 0x69, 0x4a, 0xf7, 0xdf, 0x9a, - 0xb4, 0xae, 0xdc, 0x10, 0x8d, 0xf7, 0x72, 0x5a, 0xbf, 0x08, 0x35, 0x8c, 0xd7, 0x7f, 0xfe, 0xf3, - 0x53, 0xe1, 0x90, 0x34, 0xac, 0xb7, 0x56, 0x96, 0x95, 0x8d, 0x3a, 0x19, 0x03, 0x5c, 0xa0, 0x50, - 0xc3, 0x9e, 0x07, 0x6b, 0xe6, 0xc0, 0xb2, 0xb8, 0xb5, 0xa4, 0x6c, 0x24, 0x33, 0x92, 0x9a, 0xc3, - 0xff, 0x4b, 0xca, 0xe2, 0xd6, 0x92, 0xd4, 0x24, 0xbf, 0xd6, 0xa0, 0xfe, 0x95, 0xcf, 0xc5, 0xaa, - 0x91, 0xcd, 0xe3, 0x9e, 0xe6, 0x70, 0x57, 0xe4, 0x30, 0xde, 0x4f, 0xbe, 0xe1, 0x5d, 0x72, 0xb0, - 0xaa, 0xaf, 0x0a, 0x34, 0x94, 0x2b, 0x54, 0xc8, 0x97, 0x9b, 0xcb, 0x3c, 0xca, 0x61, 0xaa, 0xe7, - 0x6e, 0x34, 0x13, 0x90, 0x4e, 0xf6, 0x57, 0x80, 0xa2, 0x56, 0x44, 0xbe, 0x4f, 0x18, 0xc9, 0x06, - 0x30, 0xd6, 0xad, 0x8b, 0x74, 0x07, 0x35, 0xd6, 0xad, 0x14, 0xe3, 0x28, 0x61, 0x3d, 0x26, 0xf5, - 0x55, 0x2c, 0x49, 0x70, 0xa1, 0x2c, 0x9b, 0x9a, 0x2e, 0xab, 0xbc, 0x92, 0x0e, 0xd7, 0x20, 0xb8, - 0x71, 0x9c, 0x30, 0x1a, 0x44, 0xcf, 0x61, 0xf0, 0xf6, 0xcf, 0xda, 0xaf, 0xb3, 0xa6, 0xf6, 0xc7, - 0xac, 0xa9, 0xfd, 0x3d, 0x6b, 0x6a, 0xf0, 0x98, 0xc5, 0xa3, 0xd5, 0x19, 0xdb, 0x65, 0x39, 0x2e, - 0x57, 0x92, 0x7e, 0xa5, 0x7d, 0xfb, 0xe1, 0xd2, 0xff, 0x60, 0x14, 0xdf, 0xf1, 0x80, 0x0a, 0xdf, - 0x9d, 0xd0, 0x21, 0xb7, 0x54, 0x30, 0x8d, 0x7c, 0x7e, 0x8f, 0xfa, 0x09, 0x8a, 0xf1, 0x2f, 0x85, - 0xbd, 0xae, 0x4a, 0xde, 0x5d, 0x4a, 0xfe, 0xdb, 0xc2, 0xfe, 0xb2, 0x2b, 0xc6, 0x2f, 0x95, 0x7d, - 0xb8, 0x95, 0x94, 0xfb, 0xec, 0xbf, 0x00, 0x00, 0x00, 0xff, 0xff, 0x27, 0xda, 0x91, 0x9e, 0x04, - 0x08, 0x00, 0x00, +var File_eth_v1alpha1_node_proto protoreflect.FileDescriptor + +var file_eth_v1alpha1_node_proto_rawDesc = []byte{ + 0x0a, 0x17, 0x65, 0x74, 0x68, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2f, 0x6e, + 0x6f, 0x64, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x15, 0x65, 0x74, 0x68, 0x65, 0x72, + 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, + 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, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, + 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, + 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x15, 0x65, 0x74, + 0x68, 0x2f, 0x65, 0x78, 0x74, 0x2f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x22, 0x26, 0x0a, 0x0a, 0x53, 0x79, 0x6e, 0x63, 0x53, 0x74, 0x61, 0x74, 0x75, + 0x73, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x79, 0x6e, 0x63, 0x69, 0x6e, 0x67, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x08, 0x52, 0x07, 0x73, 0x79, 0x6e, 0x63, 0x69, 0x6e, 0x67, 0x22, 0xc2, 0x01, 0x0a, 0x07, + 0x47, 0x65, 0x6e, 0x65, 0x73, 0x69, 0x73, 0x12, 0x3d, 0x0a, 0x0c, 0x67, 0x65, 0x6e, 0x65, 0x73, + 0x69, 0x73, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, + 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, + 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0b, 0x67, 0x65, 0x6e, 0x65, 0x73, + 0x69, 0x73, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x38, 0x0a, 0x18, 0x64, 0x65, 0x70, 0x6f, 0x73, 0x69, + 0x74, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, + 0x73, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x16, 0x64, 0x65, 0x70, 0x6f, 0x73, 0x69, + 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, + 0x12, 0x3e, 0x0a, 0x17, 0x67, 0x65, 0x6e, 0x65, 0x73, 0x69, 0x73, 0x5f, 0x76, 0x61, 0x6c, 0x69, + 0x64, 0x61, 0x74, 0x6f, 0x72, 0x73, 0x5f, 0x72, 0x6f, 0x6f, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x0c, 0x42, 0x06, 0x8a, 0xb5, 0x18, 0x02, 0x33, 0x32, 0x52, 0x15, 0x67, 0x65, 0x6e, 0x65, 0x73, + 0x69, 0x73, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x73, 0x52, 0x6f, 0x6f, 0x74, + 0x22, 0x3f, 0x0a, 0x07, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x76, + 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x76, 0x65, + 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x1a, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, + 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, + 0x61, 0x22, 0x31, 0x0a, 0x13, 0x49, 0x6d, 0x70, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x65, 0x64, + 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x73, 0x65, 0x72, 0x76, + 0x69, 0x63, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x08, 0x73, 0x65, 0x72, 0x76, + 0x69, 0x63, 0x65, 0x73, 0x22, 0x26, 0x0a, 0x0b, 0x50, 0x65, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x12, 0x17, 0x0a, 0x07, 0x70, 0x65, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x70, 0x65, 0x65, 0x72, 0x49, 0x64, 0x22, 0x3a, 0x0a, 0x05, + 0x50, 0x65, 0x65, 0x72, 0x73, 0x12, 0x31, 0x0a, 0x05, 0x70, 0x65, 0x65, 0x72, 0x73, 0x18, 0x01, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, + 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x65, 0x65, + 0x72, 0x52, 0x05, 0x70, 0x65, 0x65, 0x72, 0x73, 0x22, 0xe2, 0x01, 0x0a, 0x04, 0x50, 0x65, 0x65, + 0x72, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x42, 0x0a, 0x09, 0x64, + 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 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, 0x50, 0x65, 0x65, 0x72, 0x44, 0x69, 0x72, 0x65, 0x63, + 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x09, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, + 0x51, 0x0a, 0x10, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x73, 0x74, + 0x61, 0x74, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 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, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, + 0x65, 0x52, 0x0f, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, + 0x74, 0x65, 0x12, 0x17, 0x0a, 0x07, 0x70, 0x65, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x06, 0x70, 0x65, 0x65, 0x72, 0x49, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x65, + 0x6e, 0x72, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x65, 0x6e, 0x72, 0x22, 0x53, 0x0a, + 0x08, 0x48, 0x6f, 0x73, 0x74, 0x44, 0x61, 0x74, 0x61, 0x12, 0x1c, 0x0a, 0x09, 0x61, 0x64, 0x64, + 0x72, 0x65, 0x73, 0x73, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x09, 0x61, 0x64, + 0x64, 0x72, 0x65, 0x73, 0x73, 0x65, 0x73, 0x12, 0x17, 0x0a, 0x07, 0x70, 0x65, 0x65, 0x72, 0x5f, + 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x70, 0x65, 0x65, 0x72, 0x49, 0x64, + 0x12, 0x10, 0x0a, 0x03, 0x65, 0x6e, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x65, + 0x6e, 0x72, 0x2a, 0x37, 0x0a, 0x0d, 0x50, 0x65, 0x65, 0x72, 0x44, 0x69, 0x72, 0x65, 0x63, 0x74, + 0x69, 0x6f, 0x6e, 0x12, 0x0b, 0x0a, 0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, + 0x12, 0x0b, 0x0a, 0x07, 0x49, 0x4e, 0x42, 0x4f, 0x55, 0x4e, 0x44, 0x10, 0x01, 0x12, 0x0c, 0x0a, + 0x08, 0x4f, 0x55, 0x54, 0x42, 0x4f, 0x55, 0x4e, 0x44, 0x10, 0x02, 0x2a, 0x55, 0x0a, 0x0f, 0x43, + 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x10, + 0x0a, 0x0c, 0x44, 0x49, 0x53, 0x43, 0x4f, 0x4e, 0x4e, 0x45, 0x43, 0x54, 0x45, 0x44, 0x10, 0x00, + 0x12, 0x11, 0x0a, 0x0d, 0x44, 0x49, 0x53, 0x43, 0x4f, 0x4e, 0x4e, 0x45, 0x43, 0x54, 0x49, 0x4e, + 0x47, 0x10, 0x01, 0x12, 0x0d, 0x0a, 0x09, 0x43, 0x4f, 0x4e, 0x4e, 0x45, 0x43, 0x54, 0x45, 0x44, + 0x10, 0x02, 0x12, 0x0e, 0x0a, 0x0a, 0x43, 0x4f, 0x4e, 0x4e, 0x45, 0x43, 0x54, 0x49, 0x4e, 0x47, + 0x10, 0x03, 0x32, 0x85, 0x06, 0x0a, 0x04, 0x4e, 0x6f, 0x64, 0x65, 0x12, 0x6e, 0x0a, 0x0d, 0x47, + 0x65, 0x74, 0x53, 0x79, 0x6e, 0x63, 0x53, 0x74, 0x61, 0x74, 0x75, 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, 0x21, 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, + 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x53, 0x79, 0x6e, + 0x63, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x22, 0x22, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1c, 0x12, + 0x1a, 0x2f, 0x65, 0x74, 0x68, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2f, 0x6e, + 0x6f, 0x64, 0x65, 0x2f, 0x73, 0x79, 0x6e, 0x63, 0x69, 0x6e, 0x67, 0x12, 0x68, 0x0a, 0x0a, 0x47, + 0x65, 0x74, 0x47, 0x65, 0x6e, 0x65, 0x73, 0x69, 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, 0x1e, 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, + 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x47, 0x65, 0x6e, 0x65, 0x73, 0x69, + 0x73, 0x22, 0x22, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1c, 0x12, 0x1a, 0x2f, 0x65, 0x74, 0x68, 0x2f, + 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2f, 0x6e, 0x6f, 0x64, 0x65, 0x2f, 0x67, 0x65, + 0x6e, 0x65, 0x73, 0x69, 0x73, 0x12, 0x68, 0x0a, 0x0a, 0x47, 0x65, 0x74, 0x56, 0x65, 0x72, 0x73, + 0x69, 0x6f, 0x6e, 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, 0x1e, 0x2e, 0x65, 0x74, + 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, + 0x68, 0x61, 0x31, 0x2e, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x22, 0x82, 0xd3, 0xe4, + 0x93, 0x02, 0x1c, 0x12, 0x1a, 0x2f, 0x65, 0x74, 0x68, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, + 0x61, 0x31, 0x2f, 0x6e, 0x6f, 0x64, 0x65, 0x2f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, + 0x82, 0x01, 0x0a, 0x17, 0x4c, 0x69, 0x73, 0x74, 0x49, 0x6d, 0x70, 0x6c, 0x65, 0x6d, 0x65, 0x6e, + 0x74, 0x65, 0x64, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 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, 0x2a, 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, + 0x74, 0x68, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x49, 0x6d, 0x70, 0x6c, + 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x65, 0x64, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x22, + 0x23, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1d, 0x12, 0x1b, 0x2f, 0x65, 0x74, 0x68, 0x2f, 0x76, 0x31, + 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2f, 0x6e, 0x6f, 0x64, 0x65, 0x2f, 0x73, 0x65, 0x72, 0x76, + 0x69, 0x63, 0x65, 0x73, 0x12, 0x62, 0x0a, 0x07, 0x47, 0x65, 0x74, 0x48, 0x6f, 0x73, 0x74, 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, 0x1f, 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, + 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, + 0x48, 0x6f, 0x73, 0x74, 0x44, 0x61, 0x74, 0x61, 0x22, 0x1e, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x18, + 0x12, 0x16, 0x2f, 0x65, 0x74, 0x68, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2f, + 0x6e, 0x6f, 0x64, 0x65, 0x2f, 0x70, 0x32, 0x70, 0x12, 0x6b, 0x0a, 0x07, 0x47, 0x65, 0x74, 0x50, + 0x65, 0x65, 0x72, 0x12, 0x22, 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, + 0x74, 0x68, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x65, 0x65, 0x72, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1b, 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, + 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, + 0x50, 0x65, 0x65, 0x72, 0x22, 0x1f, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x19, 0x12, 0x17, 0x2f, 0x65, + 0x74, 0x68, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2f, 0x6e, 0x6f, 0x64, 0x65, + 0x2f, 0x70, 0x65, 0x65, 0x72, 0x12, 0x63, 0x0a, 0x09, 0x4c, 0x69, 0x73, 0x74, 0x50, 0x65, 0x65, + 0x72, 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, 0x1c, 0x2e, 0x65, 0x74, 0x68, + 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, + 0x61, 0x31, 0x2e, 0x50, 0x65, 0x65, 0x72, 0x73, 0x22, 0x20, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1a, + 0x12, 0x18, 0x2f, 0x65, 0x74, 0x68, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2f, + 0x6e, 0x6f, 0x64, 0x65, 0x2f, 0x70, 0x65, 0x65, 0x72, 0x73, 0x42, 0x90, 0x01, 0x0a, 0x19, 0x6f, + 0x72, 0x67, 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, + 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x42, 0x09, 0x4e, 0x6f, 0x64, 0x65, 0x50, 0x72, + 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x36, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, + 0x6d, 0x2f, 0x70, 0x72, 0x79, 0x73, 0x6d, 0x61, 0x74, 0x69, 0x63, 0x6c, 0x61, 0x62, 0x73, 0x2f, + 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x65, 0x74, 0x68, + 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x3b, 0x65, 0x74, 0x68, 0xaa, 0x02, 0x15, + 0x45, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x45, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x61, + 0x6c, 0x70, 0x68, 0x61, 0x31, 0xca, 0x02, 0x15, 0x45, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, + 0x5c, 0x45, 0x74, 0x68, 0x5c, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_eth_v1alpha1_node_proto_rawDescOnce sync.Once + file_eth_v1alpha1_node_proto_rawDescData = file_eth_v1alpha1_node_proto_rawDesc +) + +func file_eth_v1alpha1_node_proto_rawDescGZIP() []byte { + file_eth_v1alpha1_node_proto_rawDescOnce.Do(func() { + file_eth_v1alpha1_node_proto_rawDescData = protoimpl.X.CompressGZIP(file_eth_v1alpha1_node_proto_rawDescData) + }) + return file_eth_v1alpha1_node_proto_rawDescData +} + +var file_eth_v1alpha1_node_proto_enumTypes = make([]protoimpl.EnumInfo, 2) +var file_eth_v1alpha1_node_proto_msgTypes = make([]protoimpl.MessageInfo, 8) +var file_eth_v1alpha1_node_proto_goTypes = []interface{}{ + (PeerDirection)(0), // 0: ethereum.eth.v1alpha1.PeerDirection + (ConnectionState)(0), // 1: ethereum.eth.v1alpha1.ConnectionState + (*SyncStatus)(nil), // 2: ethereum.eth.v1alpha1.SyncStatus + (*Genesis)(nil), // 3: ethereum.eth.v1alpha1.Genesis + (*Version)(nil), // 4: ethereum.eth.v1alpha1.Version + (*ImplementedServices)(nil), // 5: ethereum.eth.v1alpha1.ImplementedServices + (*PeerRequest)(nil), // 6: ethereum.eth.v1alpha1.PeerRequest + (*Peers)(nil), // 7: ethereum.eth.v1alpha1.Peers + (*Peer)(nil), // 8: ethereum.eth.v1alpha1.Peer + (*HostData)(nil), // 9: ethereum.eth.v1alpha1.HostData + (*timestamp.Timestamp)(nil), // 10: google.protobuf.Timestamp + (*empty.Empty)(nil), // 11: google.protobuf.Empty +} +var file_eth_v1alpha1_node_proto_depIdxs = []int32{ + 10, // 0: ethereum.eth.v1alpha1.Genesis.genesis_time:type_name -> google.protobuf.Timestamp + 8, // 1: ethereum.eth.v1alpha1.Peers.peers:type_name -> ethereum.eth.v1alpha1.Peer + 0, // 2: ethereum.eth.v1alpha1.Peer.direction:type_name -> ethereum.eth.v1alpha1.PeerDirection + 1, // 3: ethereum.eth.v1alpha1.Peer.connection_state:type_name -> ethereum.eth.v1alpha1.ConnectionState + 11, // 4: ethereum.eth.v1alpha1.Node.GetSyncStatus:input_type -> google.protobuf.Empty + 11, // 5: ethereum.eth.v1alpha1.Node.GetGenesis:input_type -> google.protobuf.Empty + 11, // 6: ethereum.eth.v1alpha1.Node.GetVersion:input_type -> google.protobuf.Empty + 11, // 7: ethereum.eth.v1alpha1.Node.ListImplementedServices:input_type -> google.protobuf.Empty + 11, // 8: ethereum.eth.v1alpha1.Node.GetHost:input_type -> google.protobuf.Empty + 6, // 9: ethereum.eth.v1alpha1.Node.GetPeer:input_type -> ethereum.eth.v1alpha1.PeerRequest + 11, // 10: ethereum.eth.v1alpha1.Node.ListPeers:input_type -> google.protobuf.Empty + 2, // 11: ethereum.eth.v1alpha1.Node.GetSyncStatus:output_type -> ethereum.eth.v1alpha1.SyncStatus + 3, // 12: ethereum.eth.v1alpha1.Node.GetGenesis:output_type -> ethereum.eth.v1alpha1.Genesis + 4, // 13: ethereum.eth.v1alpha1.Node.GetVersion:output_type -> ethereum.eth.v1alpha1.Version + 5, // 14: ethereum.eth.v1alpha1.Node.ListImplementedServices:output_type -> ethereum.eth.v1alpha1.ImplementedServices + 9, // 15: ethereum.eth.v1alpha1.Node.GetHost:output_type -> ethereum.eth.v1alpha1.HostData + 8, // 16: ethereum.eth.v1alpha1.Node.GetPeer:output_type -> ethereum.eth.v1alpha1.Peer + 7, // 17: ethereum.eth.v1alpha1.Node.ListPeers:output_type -> ethereum.eth.v1alpha1.Peers + 11, // [11:18] is the sub-list for method output_type + 4, // [4:11] is the sub-list for method input_type + 4, // [4:4] is the sub-list for extension type_name + 4, // [4:4] is the sub-list for extension extendee + 0, // [0:4] is the sub-list for field type_name +} + +func init() { file_eth_v1alpha1_node_proto_init() } +func file_eth_v1alpha1_node_proto_init() { + if File_eth_v1alpha1_node_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_eth_v1alpha1_node_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SyncStatus); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_eth_v1alpha1_node_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Genesis); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_eth_v1alpha1_node_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Version); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_eth_v1alpha1_node_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ImplementedServices); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_eth_v1alpha1_node_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PeerRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_eth_v1alpha1_node_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Peers); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_eth_v1alpha1_node_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Peer); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_eth_v1alpha1_node_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*HostData); 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_eth_v1alpha1_node_proto_rawDesc, + NumEnums: 2, + NumMessages: 8, + NumExtensions: 0, + NumServices: 1, + }, + GoTypes: file_eth_v1alpha1_node_proto_goTypes, + DependencyIndexes: file_eth_v1alpha1_node_proto_depIdxs, + EnumInfos: file_eth_v1alpha1_node_proto_enumTypes, + MessageInfos: file_eth_v1alpha1_node_proto_msgTypes, + }.Build() + File_eth_v1alpha1_node_proto = out.File + file_eth_v1alpha1_node_proto_rawDesc = nil + file_eth_v1alpha1_node_proto_goTypes = nil + file_eth_v1alpha1_node_proto_depIdxs = nil } // Reference imports to suppress errors if they are not otherwise used. var _ context.Context -var _ grpc.ClientConn +var _ grpc.ClientConnInterface // This is a compile-time assertion to ensure that this generated file // is compatible with the grpc package it is being compiled against. -const _ = grpc.SupportPackageIsVersion4 +const _ = grpc.SupportPackageIsVersion6 // NodeClient is the client API for Node service. // // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. type NodeClient interface { - GetSyncStatus(ctx context.Context, in *types.Empty, opts ...grpc.CallOption) (*SyncStatus, error) - GetGenesis(ctx context.Context, in *types.Empty, opts ...grpc.CallOption) (*Genesis, error) - GetVersion(ctx context.Context, in *types.Empty, opts ...grpc.CallOption) (*Version, error) - ListImplementedServices(ctx context.Context, in *types.Empty, opts ...grpc.CallOption) (*ImplementedServices, error) - GetHost(ctx context.Context, in *types.Empty, opts ...grpc.CallOption) (*HostData, error) + GetSyncStatus(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*SyncStatus, error) + GetGenesis(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*Genesis, error) + GetVersion(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*Version, error) + ListImplementedServices(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*ImplementedServices, error) + GetHost(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*HostData, error) GetPeer(ctx context.Context, in *PeerRequest, opts ...grpc.CallOption) (*Peer, error) - ListPeers(ctx context.Context, in *types.Empty, opts ...grpc.CallOption) (*Peers, error) + ListPeers(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*Peers, error) } type nodeClient struct { - cc *grpc.ClientConn + cc grpc.ClientConnInterface } -func NewNodeClient(cc *grpc.ClientConn) NodeClient { +func NewNodeClient(cc grpc.ClientConnInterface) NodeClient { return &nodeClient{cc} } -func (c *nodeClient) GetSyncStatus(ctx context.Context, in *types.Empty, opts ...grpc.CallOption) (*SyncStatus, error) { +func (c *nodeClient) GetSyncStatus(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*SyncStatus, error) { out := new(SyncStatus) err := c.cc.Invoke(ctx, "/ethereum.eth.v1alpha1.Node/GetSyncStatus", in, out, opts...) if err != nil { @@ -650,7 +930,7 @@ func (c *nodeClient) GetSyncStatus(ctx context.Context, in *types.Empty, opts .. return out, nil } -func (c *nodeClient) GetGenesis(ctx context.Context, in *types.Empty, opts ...grpc.CallOption) (*Genesis, error) { +func (c *nodeClient) GetGenesis(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*Genesis, error) { out := new(Genesis) err := c.cc.Invoke(ctx, "/ethereum.eth.v1alpha1.Node/GetGenesis", in, out, opts...) if err != nil { @@ -659,7 +939,7 @@ func (c *nodeClient) GetGenesis(ctx context.Context, in *types.Empty, opts ...gr return out, nil } -func (c *nodeClient) GetVersion(ctx context.Context, in *types.Empty, opts ...grpc.CallOption) (*Version, error) { +func (c *nodeClient) GetVersion(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*Version, error) { out := new(Version) err := c.cc.Invoke(ctx, "/ethereum.eth.v1alpha1.Node/GetVersion", in, out, opts...) if err != nil { @@ -668,7 +948,7 @@ func (c *nodeClient) GetVersion(ctx context.Context, in *types.Empty, opts ...gr return out, nil } -func (c *nodeClient) ListImplementedServices(ctx context.Context, in *types.Empty, opts ...grpc.CallOption) (*ImplementedServices, error) { +func (c *nodeClient) ListImplementedServices(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*ImplementedServices, error) { out := new(ImplementedServices) err := c.cc.Invoke(ctx, "/ethereum.eth.v1alpha1.Node/ListImplementedServices", in, out, opts...) if err != nil { @@ -677,7 +957,7 @@ func (c *nodeClient) ListImplementedServices(ctx context.Context, in *types.Empt return out, nil } -func (c *nodeClient) GetHost(ctx context.Context, in *types.Empty, opts ...grpc.CallOption) (*HostData, error) { +func (c *nodeClient) GetHost(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*HostData, error) { out := new(HostData) err := c.cc.Invoke(ctx, "/ethereum.eth.v1alpha1.Node/GetHost", in, out, opts...) if err != nil { @@ -695,7 +975,7 @@ func (c *nodeClient) GetPeer(ctx context.Context, in *PeerRequest, opts ...grpc. return out, nil } -func (c *nodeClient) ListPeers(ctx context.Context, in *types.Empty, opts ...grpc.CallOption) (*Peers, error) { +func (c *nodeClient) ListPeers(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*Peers, error) { out := new(Peers) err := c.cc.Invoke(ctx, "/ethereum.eth.v1alpha1.Node/ListPeers", in, out, opts...) if err != nil { @@ -706,38 +986,38 @@ func (c *nodeClient) ListPeers(ctx context.Context, in *types.Empty, opts ...grp // NodeServer is the server API for Node service. type NodeServer interface { - GetSyncStatus(context.Context, *types.Empty) (*SyncStatus, error) - GetGenesis(context.Context, *types.Empty) (*Genesis, error) - GetVersion(context.Context, *types.Empty) (*Version, error) - ListImplementedServices(context.Context, *types.Empty) (*ImplementedServices, error) - GetHost(context.Context, *types.Empty) (*HostData, error) + GetSyncStatus(context.Context, *empty.Empty) (*SyncStatus, error) + GetGenesis(context.Context, *empty.Empty) (*Genesis, error) + GetVersion(context.Context, *empty.Empty) (*Version, error) + ListImplementedServices(context.Context, *empty.Empty) (*ImplementedServices, error) + GetHost(context.Context, *empty.Empty) (*HostData, error) GetPeer(context.Context, *PeerRequest) (*Peer, error) - ListPeers(context.Context, *types.Empty) (*Peers, error) + ListPeers(context.Context, *empty.Empty) (*Peers, error) } // UnimplementedNodeServer can be embedded to have forward compatible implementations. type UnimplementedNodeServer struct { } -func (*UnimplementedNodeServer) GetSyncStatus(ctx context.Context, req *types.Empty) (*SyncStatus, error) { +func (*UnimplementedNodeServer) GetSyncStatus(context.Context, *empty.Empty) (*SyncStatus, error) { return nil, status.Errorf(codes.Unimplemented, "method GetSyncStatus not implemented") } -func (*UnimplementedNodeServer) GetGenesis(ctx context.Context, req *types.Empty) (*Genesis, error) { +func (*UnimplementedNodeServer) GetGenesis(context.Context, *empty.Empty) (*Genesis, error) { return nil, status.Errorf(codes.Unimplemented, "method GetGenesis not implemented") } -func (*UnimplementedNodeServer) GetVersion(ctx context.Context, req *types.Empty) (*Version, error) { +func (*UnimplementedNodeServer) GetVersion(context.Context, *empty.Empty) (*Version, error) { return nil, status.Errorf(codes.Unimplemented, "method GetVersion not implemented") } -func (*UnimplementedNodeServer) ListImplementedServices(ctx context.Context, req *types.Empty) (*ImplementedServices, error) { +func (*UnimplementedNodeServer) ListImplementedServices(context.Context, *empty.Empty) (*ImplementedServices, error) { return nil, status.Errorf(codes.Unimplemented, "method ListImplementedServices not implemented") } -func (*UnimplementedNodeServer) GetHost(ctx context.Context, req *types.Empty) (*HostData, error) { +func (*UnimplementedNodeServer) GetHost(context.Context, *empty.Empty) (*HostData, error) { return nil, status.Errorf(codes.Unimplemented, "method GetHost not implemented") } -func (*UnimplementedNodeServer) GetPeer(ctx context.Context, req *PeerRequest) (*Peer, error) { +func (*UnimplementedNodeServer) GetPeer(context.Context, *PeerRequest) (*Peer, error) { return nil, status.Errorf(codes.Unimplemented, "method GetPeer not implemented") } -func (*UnimplementedNodeServer) ListPeers(ctx context.Context, req *types.Empty) (*Peers, error) { +func (*UnimplementedNodeServer) ListPeers(context.Context, *empty.Empty) (*Peers, error) { return nil, status.Errorf(codes.Unimplemented, "method ListPeers not implemented") } @@ -746,7 +1026,7 @@ func RegisterNodeServer(s *grpc.Server, srv NodeServer) { } func _Node_GetSyncStatus_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(types.Empty) + in := new(empty.Empty) if err := dec(in); err != nil { return nil, err } @@ -758,13 +1038,13 @@ func _Node_GetSyncStatus_Handler(srv interface{}, ctx context.Context, dec func( FullMethod: "/ethereum.eth.v1alpha1.Node/GetSyncStatus", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(NodeServer).GetSyncStatus(ctx, req.(*types.Empty)) + return srv.(NodeServer).GetSyncStatus(ctx, req.(*empty.Empty)) } return interceptor(ctx, in, info, handler) } func _Node_GetGenesis_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(types.Empty) + in := new(empty.Empty) if err := dec(in); err != nil { return nil, err } @@ -776,13 +1056,13 @@ func _Node_GetGenesis_Handler(srv interface{}, ctx context.Context, dec func(int FullMethod: "/ethereum.eth.v1alpha1.Node/GetGenesis", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(NodeServer).GetGenesis(ctx, req.(*types.Empty)) + return srv.(NodeServer).GetGenesis(ctx, req.(*empty.Empty)) } return interceptor(ctx, in, info, handler) } func _Node_GetVersion_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(types.Empty) + in := new(empty.Empty) if err := dec(in); err != nil { return nil, err } @@ -794,13 +1074,13 @@ func _Node_GetVersion_Handler(srv interface{}, ctx context.Context, dec func(int FullMethod: "/ethereum.eth.v1alpha1.Node/GetVersion", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(NodeServer).GetVersion(ctx, req.(*types.Empty)) + return srv.(NodeServer).GetVersion(ctx, req.(*empty.Empty)) } return interceptor(ctx, in, info, handler) } func _Node_ListImplementedServices_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(types.Empty) + in := new(empty.Empty) if err := dec(in); err != nil { return nil, err } @@ -812,13 +1092,13 @@ func _Node_ListImplementedServices_Handler(srv interface{}, ctx context.Context, FullMethod: "/ethereum.eth.v1alpha1.Node/ListImplementedServices", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(NodeServer).ListImplementedServices(ctx, req.(*types.Empty)) + return srv.(NodeServer).ListImplementedServices(ctx, req.(*empty.Empty)) } return interceptor(ctx, in, info, handler) } func _Node_GetHost_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(types.Empty) + in := new(empty.Empty) if err := dec(in); err != nil { return nil, err } @@ -830,7 +1110,7 @@ func _Node_GetHost_Handler(srv interface{}, ctx context.Context, dec func(interf FullMethod: "/ethereum.eth.v1alpha1.Node/GetHost", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(NodeServer).GetHost(ctx, req.(*types.Empty)) + return srv.(NodeServer).GetHost(ctx, req.(*empty.Empty)) } return interceptor(ctx, in, info, handler) } @@ -854,7 +1134,7 @@ func _Node_GetPeer_Handler(srv interface{}, ctx context.Context, dec func(interf } func _Node_ListPeers_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(types.Empty) + in := new(empty.Empty) if err := dec(in); err != nil { return nil, err } @@ -866,7 +1146,7 @@ func _Node_ListPeers_Handler(srv interface{}, ctx context.Context, dec func(inte FullMethod: "/ethereum.eth.v1alpha1.Node/ListPeers", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(NodeServer).ListPeers(ctx, req.(*types.Empty)) + return srv.(NodeServer).ListPeers(ctx, req.(*empty.Empty)) } return interceptor(ctx, in, info, handler) } @@ -907,1570 +1187,3 @@ var _Node_serviceDesc = grpc.ServiceDesc{ Streams: []grpc.StreamDesc{}, Metadata: "eth/v1alpha1/node.proto", } - -func (m *SyncStatus) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *SyncStatus) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *SyncStatus) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if m.Syncing { - i-- - if m.Syncing { - dAtA[i] = 1 - } else { - dAtA[i] = 0 - } - i-- - dAtA[i] = 0x8 - } - return len(dAtA) - i, nil -} - -func (m *Genesis) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *Genesis) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *Genesis) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if len(m.GenesisValidatorsRoot) > 0 { - i -= len(m.GenesisValidatorsRoot) - copy(dAtA[i:], m.GenesisValidatorsRoot) - i = encodeVarintNode(dAtA, i, uint64(len(m.GenesisValidatorsRoot))) - i-- - dAtA[i] = 0x1a - } - if len(m.DepositContractAddress) > 0 { - i -= len(m.DepositContractAddress) - copy(dAtA[i:], m.DepositContractAddress) - i = encodeVarintNode(dAtA, i, uint64(len(m.DepositContractAddress))) - i-- - dAtA[i] = 0x12 - } - if m.GenesisTime != nil { - { - size, err := m.GenesisTime.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintNode(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *Version) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *Version) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *Version) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if len(m.Metadata) > 0 { - i -= len(m.Metadata) - copy(dAtA[i:], m.Metadata) - i = encodeVarintNode(dAtA, i, uint64(len(m.Metadata))) - i-- - dAtA[i] = 0x12 - } - if len(m.Version) > 0 { - i -= len(m.Version) - copy(dAtA[i:], m.Version) - i = encodeVarintNode(dAtA, i, uint64(len(m.Version))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *ImplementedServices) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *ImplementedServices) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *ImplementedServices) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if len(m.Services) > 0 { - for iNdEx := len(m.Services) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.Services[iNdEx]) - copy(dAtA[i:], m.Services[iNdEx]) - i = encodeVarintNode(dAtA, i, uint64(len(m.Services[iNdEx]))) - i-- - dAtA[i] = 0xa - } - } - return len(dAtA) - i, nil -} - -func (m *PeerRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *PeerRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *PeerRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if len(m.PeerId) > 0 { - i -= len(m.PeerId) - copy(dAtA[i:], m.PeerId) - i = encodeVarintNode(dAtA, i, uint64(len(m.PeerId))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *Peers) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *Peers) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *Peers) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if len(m.Peers) > 0 { - for iNdEx := len(m.Peers) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Peers[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintNode(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - } - return len(dAtA) - i, nil -} - -func (m *Peer) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *Peer) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *Peer) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if len(m.Enr) > 0 { - i -= len(m.Enr) - copy(dAtA[i:], m.Enr) - i = encodeVarintNode(dAtA, i, uint64(len(m.Enr))) - i-- - dAtA[i] = 0x2a - } - if len(m.PeerId) > 0 { - i -= len(m.PeerId) - copy(dAtA[i:], m.PeerId) - i = encodeVarintNode(dAtA, i, uint64(len(m.PeerId))) - i-- - dAtA[i] = 0x22 - } - if m.ConnectionState != 0 { - i = encodeVarintNode(dAtA, i, uint64(m.ConnectionState)) - i-- - dAtA[i] = 0x18 - } - if m.Direction != 0 { - i = encodeVarintNode(dAtA, i, uint64(m.Direction)) - i-- - dAtA[i] = 0x10 - } - if len(m.Address) > 0 { - i -= len(m.Address) - copy(dAtA[i:], m.Address) - i = encodeVarintNode(dAtA, i, uint64(len(m.Address))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *HostData) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *HostData) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *HostData) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if len(m.Enr) > 0 { - i -= len(m.Enr) - copy(dAtA[i:], m.Enr) - i = encodeVarintNode(dAtA, i, uint64(len(m.Enr))) - i-- - dAtA[i] = 0x1a - } - if len(m.PeerId) > 0 { - i -= len(m.PeerId) - copy(dAtA[i:], m.PeerId) - i = encodeVarintNode(dAtA, i, uint64(len(m.PeerId))) - i-- - dAtA[i] = 0x12 - } - if len(m.Addresses) > 0 { - for iNdEx := len(m.Addresses) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.Addresses[iNdEx]) - copy(dAtA[i:], m.Addresses[iNdEx]) - i = encodeVarintNode(dAtA, i, uint64(len(m.Addresses[iNdEx]))) - i-- - dAtA[i] = 0xa - } - } - return len(dAtA) - i, nil -} - -func encodeVarintNode(dAtA []byte, offset int, v uint64) int { - offset -= sovNode(v) - base := offset - for v >= 1<<7 { - dAtA[offset] = uint8(v&0x7f | 0x80) - v >>= 7 - offset++ - } - dAtA[offset] = uint8(v) - return base -} -func (m *SyncStatus) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Syncing { - n += 2 - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *Genesis) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.GenesisTime != nil { - l = m.GenesisTime.Size() - n += 1 + l + sovNode(uint64(l)) - } - l = len(m.DepositContractAddress) - if l > 0 { - n += 1 + l + sovNode(uint64(l)) - } - l = len(m.GenesisValidatorsRoot) - if l > 0 { - n += 1 + l + sovNode(uint64(l)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *Version) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Version) - if l > 0 { - n += 1 + l + sovNode(uint64(l)) - } - l = len(m.Metadata) - if l > 0 { - n += 1 + l + sovNode(uint64(l)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *ImplementedServices) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if len(m.Services) > 0 { - for _, s := range m.Services { - l = len(s) - n += 1 + l + sovNode(uint64(l)) - } - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *PeerRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.PeerId) - if l > 0 { - n += 1 + l + sovNode(uint64(l)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *Peers) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if len(m.Peers) > 0 { - for _, e := range m.Peers { - l = e.Size() - n += 1 + l + sovNode(uint64(l)) - } - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *Peer) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Address) - if l > 0 { - n += 1 + l + sovNode(uint64(l)) - } - if m.Direction != 0 { - n += 1 + sovNode(uint64(m.Direction)) - } - if m.ConnectionState != 0 { - n += 1 + sovNode(uint64(m.ConnectionState)) - } - l = len(m.PeerId) - if l > 0 { - n += 1 + l + sovNode(uint64(l)) - } - l = len(m.Enr) - if l > 0 { - n += 1 + l + sovNode(uint64(l)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *HostData) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if len(m.Addresses) > 0 { - for _, s := range m.Addresses { - l = len(s) - n += 1 + l + sovNode(uint64(l)) - } - } - l = len(m.PeerId) - if l > 0 { - n += 1 + l + sovNode(uint64(l)) - } - l = len(m.Enr) - if l > 0 { - n += 1 + l + sovNode(uint64(l)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func sovNode(x uint64) (n int) { - return (math_bits.Len64(x|1) + 6) / 7 -} -func sozNode(x uint64) (n int) { - return sovNode(uint64((x << 1) ^ uint64((int64(x) >> 63)))) -} -func (m *SyncStatus) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowNode - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: SyncStatus: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: SyncStatus: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Syncing", wireType) - } - var v int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowNode - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.Syncing = bool(v != 0) - default: - iNdEx = preIndex - skippy, err := skipNode(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthNode - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthNode - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *Genesis) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowNode - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: Genesis: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: Genesis: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field GenesisTime", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowNode - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthNode - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthNode - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.GenesisTime == nil { - m.GenesisTime = &types.Timestamp{} - } - if err := m.GenesisTime.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field DepositContractAddress", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowNode - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return ErrInvalidLengthNode - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthNode - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.DepositContractAddress = append(m.DepositContractAddress[:0], dAtA[iNdEx:postIndex]...) - if m.DepositContractAddress == nil { - m.DepositContractAddress = []byte{} - } - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field GenesisValidatorsRoot", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowNode - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return ErrInvalidLengthNode - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthNode - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.GenesisValidatorsRoot = append(m.GenesisValidatorsRoot[:0], dAtA[iNdEx:postIndex]...) - if m.GenesisValidatorsRoot == nil { - m.GenesisValidatorsRoot = []byte{} - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipNode(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthNode - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthNode - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *Version) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowNode - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: Version: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: Version: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Version", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowNode - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthNode - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthNode - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Version = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Metadata", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowNode - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthNode - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthNode - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Metadata = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipNode(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthNode - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthNode - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *ImplementedServices) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowNode - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: ImplementedServices: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: ImplementedServices: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Services", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowNode - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthNode - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthNode - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Services = append(m.Services, string(dAtA[iNdEx:postIndex])) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipNode(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthNode - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthNode - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *PeerRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowNode - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: PeerRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: PeerRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field PeerId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowNode - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthNode - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthNode - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.PeerId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipNode(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthNode - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthNode - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *Peers) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowNode - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: Peers: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: Peers: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Peers", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowNode - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthNode - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthNode - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Peers = append(m.Peers, &Peer{}) - if err := m.Peers[len(m.Peers)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipNode(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthNode - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthNode - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *Peer) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowNode - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: Peer: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: Peer: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Address", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowNode - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthNode - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthNode - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Address = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Direction", wireType) - } - m.Direction = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowNode - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Direction |= PeerDirection(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 3: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field ConnectionState", wireType) - } - m.ConnectionState = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowNode - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.ConnectionState |= ConnectionState(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field PeerId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowNode - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthNode - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthNode - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.PeerId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 5: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Enr", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowNode - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthNode - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthNode - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Enr = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipNode(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthNode - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthNode - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *HostData) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowNode - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: HostData: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: HostData: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Addresses", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowNode - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthNode - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthNode - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Addresses = append(m.Addresses, string(dAtA[iNdEx:postIndex])) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field PeerId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowNode - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthNode - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthNode - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.PeerId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Enr", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowNode - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthNode - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthNode - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Enr = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipNode(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthNode - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthNode - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func skipNode(dAtA []byte) (n int, err error) { - l := len(dAtA) - iNdEx := 0 - depth := 0 - for iNdEx < l { - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return 0, ErrIntOverflowNode - } - if iNdEx >= l { - return 0, io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= (uint64(b) & 0x7F) << shift - if b < 0x80 { - break - } - } - wireType := int(wire & 0x7) - switch wireType { - case 0: - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return 0, ErrIntOverflowNode - } - if iNdEx >= l { - return 0, io.ErrUnexpectedEOF - } - iNdEx++ - if dAtA[iNdEx-1] < 0x80 { - break - } - } - case 1: - iNdEx += 8 - case 2: - var length int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return 0, ErrIntOverflowNode - } - if iNdEx >= l { - return 0, io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - length |= (int(b) & 0x7F) << shift - if b < 0x80 { - break - } - } - if length < 0 { - return 0, ErrInvalidLengthNode - } - iNdEx += length - case 3: - depth++ - case 4: - if depth == 0 { - return 0, ErrUnexpectedEndOfGroupNode - } - depth-- - case 5: - iNdEx += 4 - default: - return 0, fmt.Errorf("proto: illegal wireType %d", wireType) - } - if iNdEx < 0 { - return 0, ErrInvalidLengthNode - } - if depth == 0 { - return iNdEx, nil - } - } - return 0, io.ErrUnexpectedEOF -} - -var ( - ErrInvalidLengthNode = fmt.Errorf("proto: negative length found during unmarshaling") - ErrIntOverflowNode = fmt.Errorf("proto: integer overflow") - ErrUnexpectedEndOfGroupNode = fmt.Errorf("proto: unexpected end of group") -) diff --git a/eth/v1alpha1_gateway/node.pb.gw.go b/eth/v1alpha1/node.pb.gw.go old mode 100755 new mode 100644 similarity index 90% rename from eth/v1alpha1_gateway/node.pb.gw.go rename to eth/v1alpha1/node.pb.gw.go index 58f37c91..387d58e8 --- a/eth/v1alpha1_gateway/node.pb.gw.go +++ b/eth/v1alpha1/node.pb.gw.go @@ -10,19 +10,19 @@ package eth import ( "context" - "io" - "net/http" - - "github.com/golang/protobuf/descriptor" - "github.com/golang/protobuf/proto" "github.com/golang/protobuf/ptypes/empty" - "github.com/grpc-ecosystem/grpc-gateway/runtime" - "github.com/grpc-ecosystem/grpc-gateway/utilities" + emptypb "github.com/golang/protobuf/ptypes/empty" + "github.com/grpc-ecosystem/grpc-gateway/v2/runtime" + "github.com/grpc-ecosystem/grpc-gateway/v2/utilities" + github_com_prysmaticlabs_eth2_types "github.com/prysmaticlabs/eth2-types" "google.golang.org/grpc" "google.golang.org/grpc/codes" "google.golang.org/grpc/grpclog" "google.golang.org/grpc/metadata" "google.golang.org/grpc/status" + "google.golang.org/protobuf/proto" + "io" + "net/http" ) // Suppress "imported and not used" errors @@ -31,11 +31,13 @@ var _ io.Reader var _ status.Status var _ = runtime.String var _ = utilities.NewDoubleArray -var _ = descriptor.ForMessage var _ = metadata.Join +var _ = github_com_prysmaticlabs_eth2_types.Epoch(0) +var _ = emptypb.Empty{} +var _ = empty.Empty{} func request_Node_GetSyncStatus_0(ctx context.Context, marshaler runtime.Marshaler, client NodeClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq empty.Empty + var protoReq emptypb.Empty var metadata runtime.ServerMetadata msg, err := client.GetSyncStatus(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) @@ -44,7 +46,7 @@ func request_Node_GetSyncStatus_0(ctx context.Context, marshaler runtime.Marshal } func local_request_Node_GetSyncStatus_0(ctx context.Context, marshaler runtime.Marshaler, server NodeServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq empty.Empty + var protoReq emptypb.Empty var metadata runtime.ServerMetadata msg, err := server.GetSyncStatus(ctx, &protoReq) @@ -53,7 +55,7 @@ func local_request_Node_GetSyncStatus_0(ctx context.Context, marshaler runtime.M } func request_Node_GetGenesis_0(ctx context.Context, marshaler runtime.Marshaler, client NodeClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq empty.Empty + var protoReq emptypb.Empty var metadata runtime.ServerMetadata msg, err := client.GetGenesis(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) @@ -62,7 +64,7 @@ func request_Node_GetGenesis_0(ctx context.Context, marshaler runtime.Marshaler, } func local_request_Node_GetGenesis_0(ctx context.Context, marshaler runtime.Marshaler, server NodeServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq empty.Empty + var protoReq emptypb.Empty var metadata runtime.ServerMetadata msg, err := server.GetGenesis(ctx, &protoReq) @@ -71,7 +73,7 @@ func local_request_Node_GetGenesis_0(ctx context.Context, marshaler runtime.Mars } func request_Node_GetVersion_0(ctx context.Context, marshaler runtime.Marshaler, client NodeClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq empty.Empty + var protoReq emptypb.Empty var metadata runtime.ServerMetadata msg, err := client.GetVersion(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) @@ -80,7 +82,7 @@ func request_Node_GetVersion_0(ctx context.Context, marshaler runtime.Marshaler, } func local_request_Node_GetVersion_0(ctx context.Context, marshaler runtime.Marshaler, server NodeServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq empty.Empty + var protoReq emptypb.Empty var metadata runtime.ServerMetadata msg, err := server.GetVersion(ctx, &protoReq) @@ -89,7 +91,7 @@ func local_request_Node_GetVersion_0(ctx context.Context, marshaler runtime.Mars } func request_Node_ListImplementedServices_0(ctx context.Context, marshaler runtime.Marshaler, client NodeClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq empty.Empty + var protoReq emptypb.Empty var metadata runtime.ServerMetadata msg, err := client.ListImplementedServices(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) @@ -98,7 +100,7 @@ func request_Node_ListImplementedServices_0(ctx context.Context, marshaler runti } func local_request_Node_ListImplementedServices_0(ctx context.Context, marshaler runtime.Marshaler, server NodeServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq empty.Empty + var protoReq emptypb.Empty var metadata runtime.ServerMetadata msg, err := server.ListImplementedServices(ctx, &protoReq) @@ -107,7 +109,7 @@ func local_request_Node_ListImplementedServices_0(ctx context.Context, marshaler } func request_Node_GetHost_0(ctx context.Context, marshaler runtime.Marshaler, client NodeClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq empty.Empty + var protoReq emptypb.Empty var metadata runtime.ServerMetadata msg, err := client.GetHost(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) @@ -116,7 +118,7 @@ func request_Node_GetHost_0(ctx context.Context, marshaler runtime.Marshaler, cl } func local_request_Node_GetHost_0(ctx context.Context, marshaler runtime.Marshaler, server NodeServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq empty.Empty + var protoReq emptypb.Empty var metadata runtime.ServerMetadata msg, err := server.GetHost(ctx, &protoReq) @@ -161,7 +163,7 @@ func local_request_Node_GetPeer_0(ctx context.Context, marshaler runtime.Marshal } func request_Node_ListPeers_0(ctx context.Context, marshaler runtime.Marshaler, client NodeClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq empty.Empty + var protoReq emptypb.Empty var metadata runtime.ServerMetadata msg, err := client.ListPeers(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) @@ -170,7 +172,7 @@ func request_Node_ListPeers_0(ctx context.Context, marshaler runtime.Marshaler, } func local_request_Node_ListPeers_0(ctx context.Context, marshaler runtime.Marshaler, server NodeServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq empty.Empty + var protoReq emptypb.Empty var metadata runtime.ServerMetadata msg, err := server.ListPeers(ctx, &protoReq) @@ -190,7 +192,7 @@ func RegisterNodeHandlerServer(ctx context.Context, mux *runtime.ServeMux, serve var stream runtime.ServerTransportStream ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req) + rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/ethereum.eth.v1alpha1.Node/GetSyncStatus") if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return @@ -213,7 +215,7 @@ func RegisterNodeHandlerServer(ctx context.Context, mux *runtime.ServeMux, serve var stream runtime.ServerTransportStream ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req) + rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/ethereum.eth.v1alpha1.Node/GetGenesis") if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return @@ -236,7 +238,7 @@ func RegisterNodeHandlerServer(ctx context.Context, mux *runtime.ServeMux, serve var stream runtime.ServerTransportStream ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req) + rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/ethereum.eth.v1alpha1.Node/GetVersion") if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return @@ -259,7 +261,7 @@ func RegisterNodeHandlerServer(ctx context.Context, mux *runtime.ServeMux, serve var stream runtime.ServerTransportStream ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req) + rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/ethereum.eth.v1alpha1.Node/ListImplementedServices") if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return @@ -282,7 +284,7 @@ func RegisterNodeHandlerServer(ctx context.Context, mux *runtime.ServeMux, serve var stream runtime.ServerTransportStream ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req) + rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/ethereum.eth.v1alpha1.Node/GetHost") if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return @@ -305,7 +307,7 @@ func RegisterNodeHandlerServer(ctx context.Context, mux *runtime.ServeMux, serve var stream runtime.ServerTransportStream ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req) + rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/ethereum.eth.v1alpha1.Node/GetPeer") if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return @@ -328,7 +330,7 @@ func RegisterNodeHandlerServer(ctx context.Context, mux *runtime.ServeMux, serve var stream runtime.ServerTransportStream ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req) + rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/ethereum.eth.v1alpha1.Node/ListPeers") if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return @@ -390,7 +392,7 @@ func RegisterNodeHandlerClient(ctx context.Context, mux *runtime.ServeMux, clien ctx, cancel := context.WithCancel(req.Context()) defer cancel() inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req) + rctx, err := runtime.AnnotateContext(ctx, mux, req, "/ethereum.eth.v1alpha1.Node/GetSyncStatus") if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return @@ -410,7 +412,7 @@ func RegisterNodeHandlerClient(ctx context.Context, mux *runtime.ServeMux, clien ctx, cancel := context.WithCancel(req.Context()) defer cancel() inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req) + rctx, err := runtime.AnnotateContext(ctx, mux, req, "/ethereum.eth.v1alpha1.Node/GetGenesis") if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return @@ -430,7 +432,7 @@ func RegisterNodeHandlerClient(ctx context.Context, mux *runtime.ServeMux, clien ctx, cancel := context.WithCancel(req.Context()) defer cancel() inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req) + rctx, err := runtime.AnnotateContext(ctx, mux, req, "/ethereum.eth.v1alpha1.Node/GetVersion") if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return @@ -450,7 +452,7 @@ func RegisterNodeHandlerClient(ctx context.Context, mux *runtime.ServeMux, clien ctx, cancel := context.WithCancel(req.Context()) defer cancel() inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req) + rctx, err := runtime.AnnotateContext(ctx, mux, req, "/ethereum.eth.v1alpha1.Node/ListImplementedServices") if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return @@ -470,7 +472,7 @@ func RegisterNodeHandlerClient(ctx context.Context, mux *runtime.ServeMux, clien ctx, cancel := context.WithCancel(req.Context()) defer cancel() inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req) + rctx, err := runtime.AnnotateContext(ctx, mux, req, "/ethereum.eth.v1alpha1.Node/GetHost") if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return @@ -490,7 +492,7 @@ func RegisterNodeHandlerClient(ctx context.Context, mux *runtime.ServeMux, clien ctx, cancel := context.WithCancel(req.Context()) defer cancel() inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req) + rctx, err := runtime.AnnotateContext(ctx, mux, req, "/ethereum.eth.v1alpha1.Node/GetPeer") if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return @@ -510,7 +512,7 @@ func RegisterNodeHandlerClient(ctx context.Context, mux *runtime.ServeMux, clien ctx, cancel := context.WithCancel(req.Context()) defer cancel() inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req) + rctx, err := runtime.AnnotateContext(ctx, mux, req, "/ethereum.eth.v1alpha1.Node/ListPeers") if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return @@ -530,19 +532,19 @@ func RegisterNodeHandlerClient(ctx context.Context, mux *runtime.ServeMux, clien } var ( - pattern_Node_GetSyncStatus_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"eth", "v1alpha1", "node", "syncing"}, "", runtime.AssumeColonVerbOpt(true))) + pattern_Node_GetSyncStatus_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"eth", "v1alpha1", "node", "syncing"}, "")) - pattern_Node_GetGenesis_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"eth", "v1alpha1", "node", "genesis"}, "", runtime.AssumeColonVerbOpt(true))) + pattern_Node_GetGenesis_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"eth", "v1alpha1", "node", "genesis"}, "")) - pattern_Node_GetVersion_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"eth", "v1alpha1", "node", "version"}, "", runtime.AssumeColonVerbOpt(true))) + pattern_Node_GetVersion_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"eth", "v1alpha1", "node", "version"}, "")) - pattern_Node_ListImplementedServices_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"eth", "v1alpha1", "node", "services"}, "", runtime.AssumeColonVerbOpt(true))) + pattern_Node_ListImplementedServices_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"eth", "v1alpha1", "node", "services"}, "")) - pattern_Node_GetHost_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"eth", "v1alpha1", "node", "p2p"}, "", runtime.AssumeColonVerbOpt(true))) + pattern_Node_GetHost_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"eth", "v1alpha1", "node", "p2p"}, "")) - pattern_Node_GetPeer_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"eth", "v1alpha1", "node", "peer"}, "", runtime.AssumeColonVerbOpt(true))) + pattern_Node_GetPeer_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"eth", "v1alpha1", "node", "peer"}, "")) - pattern_Node_ListPeers_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"eth", "v1alpha1", "node", "peers"}, "", runtime.AssumeColonVerbOpt(true))) + pattern_Node_ListPeers_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"eth", "v1alpha1", "node", "peers"}, "")) ) var ( diff --git a/eth/v1alpha1/node.proto b/eth/v1alpha1/node.proto index fd909560..b5d89bcd 100644 --- a/eth/v1alpha1/node.proto +++ b/eth/v1alpha1/node.proto @@ -18,7 +18,8 @@ package ethereum.eth.v1alpha1; import "google/api/annotations.proto"; import "google/protobuf/empty.proto"; import "google/protobuf/timestamp.proto"; -import "github.com/gogo/protobuf/gogoproto/gogo.proto"; + +import "eth/ext/options.proto"; option csharp_namespace = "Ethereum.Eth.v1alpha1"; option go_package = "github.com/prysmaticlabs/ethereumapis/eth/v1alpha1;eth"; @@ -102,7 +103,7 @@ message Genesis { // Root of the genesis validators deposits; used for domain separation // when signing data structures for this chain. - bytes genesis_validators_root = 3 [(gogoproto.moretags) = "ssz-size:\"32\""]; + bytes genesis_validators_root = 3 [(ethereum.eth.ext.ssz_size) = "32"]; } // Information about the node version. diff --git a/eth/v1alpha1/swagger.pb.go b/eth/v1alpha1/swagger.pb.go deleted file mode 100755 index f4281856..00000000 --- a/eth/v1alpha1/swagger.pb.go +++ /dev/null @@ -1,52 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: eth/v1alpha1/swagger.proto - -package eth - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "github.com/grpc-ecosystem/grpc-gateway/protoc-gen-swagger/options" -) - -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// 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 - -func init() { proto.RegisterFile("eth/v1alpha1/swagger.proto", fileDescriptor_711db93b3df67ba0) } - -var fileDescriptor_711db93b3df67ba0 = []byte{ - // 362 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x74, 0x92, 0xcf, 0x4a, 0x2b, 0x31, - 0x14, 0xc6, 0xb9, 0xed, 0xe5, 0x72, 0x99, 0xcd, 0xbd, 0x0e, 0xb8, 0x68, 0x57, 0x59, 0xb8, 0x90, - 0xe2, 0x24, 0xed, 0x08, 0x82, 0xe3, 0x6a, 0xd4, 0x5a, 0x0a, 0xd5, 0x16, 0xea, 0xca, 0x5d, 0x26, - 0x73, 0x3a, 0x89, 0x4c, 0x93, 0x90, 0x64, 0x1c, 0xfb, 0x1a, 0x6e, 0x5d, 0xf9, 0x54, 0xbe, 0x8e, - 0x4c, 0x6c, 0x4b, 0xa5, 0x74, 0x77, 0xfe, 0x7c, 0xe7, 0x17, 0xce, 0x77, 0x12, 0x74, 0xc1, 0x71, - 0xf2, 0x32, 0xa0, 0xa5, 0xe6, 0x74, 0x40, 0x6c, 0x4d, 0x8b, 0x02, 0x0c, 0xd6, 0x46, 0x39, 0x15, - 0x1e, 0x83, 0xe3, 0x60, 0xa0, 0x5a, 0x62, 0x70, 0x1c, 0x6f, 0x44, 0xdd, 0x33, 0xdf, 0x65, 0x51, - 0x01, 0x32, 0x5a, 0x0f, 0x10, 0xa5, 0x9d, 0x50, 0xd2, 0x12, 0x2a, 0xa5, 0x72, 0xd4, 0xc7, 0xdf, - 0x90, 0xeb, 0xcf, 0xf6, 0x5b, 0xfa, 0xde, 0x0e, 0x3f, 0x7e, 0x05, 0x47, 0xc3, 0x35, 0x0e, 0xc5, - 0xb8, 0x8f, 0xd2, 0xd9, 0xd8, 0x86, 0x97, 0x7b, 0x25, 0x8c, 0x1e, 0xa7, 0xb7, 0xd3, 0x04, 0xa5, - 0x79, 0x8e, 0x28, 0x5a, 0x54, 0x65, 0x89, 0x72, 0xb0, 0xcc, 0x08, 0xff, 0x00, 0xaa, 0x85, 0xe3, - 0x68, 0x74, 0x77, 0x8f, 0x7b, 0xa3, 0xa0, 0x33, 0x11, 0x0c, 0x24, 0x83, 0x1c, 0x55, 0x32, 0x07, - 0x83, 0x52, 0x4d, 0x19, 0x87, 0x86, 0x14, 0xf6, 0xb8, 0x73, 0x3a, 0x21, 0xa4, 0xae, 0x6b, 0x4c, - 0x7d, 0x19, 0x2b, 0x53, 0x90, 0xb2, 0x19, 0xb0, 0x60, 0xc9, 0x64, 0x7c, 0x33, 0x7c, 0x98, 0x0f, - 0xa3, 0x18, 0xf7, 0xe3, 0xbf, 0xdb, 0xc5, 0xfe, 0x51, 0x2d, 0xb0, 0x36, 0xab, 0x92, 0x66, 0x16, - 0x4b, 0x70, 0xbd, 0x56, 0xeb, 0x77, 0xfc, 0x9f, 0x6a, 0x5d, 0x0a, 0xe6, 0x77, 0x22, 0xcf, 0x56, - 0xc9, 0xb8, 0xb3, 0x5b, 0x29, 0x8c, 0x66, 0x51, 0x0d, 0x59, 0xe4, 0xe0, 0xd5, 0x1d, 0x68, 0x35, - 0x53, 0xc9, 0x1e, 0x27, 0x39, 0xcc, 0x49, 0x0e, 0x73, 0xcc, 0x2c, 0x38, 0xf9, 0x61, 0xda, 0x5c, - 0x03, 0x13, 0x8b, 0xb5, 0x16, 0x29, 0x89, 0x46, 0xc2, 0xf1, 0x2a, 0x0b, 0x4f, 0x1b, 0x0b, 0x6c, - 0x42, 0x48, 0xe1, 0x73, 0xcc, 0xd4, 0x92, 0x6c, 0xee, 0xd9, 0x04, 0x31, 0xee, 0x47, 0x56, 0x03, - 0xb3, 0x4f, 0x17, 0x3b, 0x0a, 0x6d, 0x56, 0x76, 0x49, 0x9d, 0x60, 0x8d, 0x07, 0x5b, 0x3d, 0xd5, - 0xc2, 0x27, 0xdb, 0x8f, 0x72, 0x05, 0x8e, 0x67, 0x7f, 0xfc, 0x81, 0xcf, 0xbf, 0x02, 0x00, 0x00, - 0xff, 0xff, 0x61, 0x95, 0xa8, 0x42, 0x43, 0x02, 0x00, 0x00, -} diff --git a/eth/v1alpha1/swagger.proto b/eth/v1alpha1/swagger.proto index afb91499..5e5e5d62 100644 --- a/eth/v1alpha1/swagger.proto +++ b/eth/v1alpha1/swagger.proto @@ -13,16 +13,16 @@ // limitations under the License. // This is an optional proto that provides some gRPC gateway metadata for -// generating the OpenAPI(swagger) header. +// generating the OpenAPIv2(swagger) header. syntax = "proto3"; package ethereum.eth.v1alpha1; -import "protoc-gen-swagger/options/annotations.proto"; +import "protoc-gen-openapiv2/options/annotations.proto"; option go_package = "github.com/prysmaticlabs/ethereumapis/eth/v1alpha1;eth"; -option (grpc.gateway.protoc_gen_swagger.options.openapiv2_swagger) = { +option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_swagger) = { info: { title: "Ethereum Serenity APIs"; version: "v1alpha1"; @@ -34,7 +34,7 @@ option (grpc.gateway.protoc_gen_swagger.options.openapiv2_swagger) = { }; external_docs: { url: "https://github.com/ethereum/eth2.0-specs"; - description : "Ethereum 2.0 Specification on Github"; + description: "Ethereum 2.0 Specification on Github"; }; host: "api.prylabs.net", schemes: HTTPS; diff --git a/eth/v1alpha1/swagger.swagger.json b/eth/v1alpha1/swagger.swagger.json new file mode 100644 index 00000000..6da9f358 --- /dev/null +++ b/eth/v1alpha1/swagger.swagger.json @@ -0,0 +1,64 @@ +{ + "swagger": "2.0", + "info": { + "title": "Ethereum Serenity APIs", + "description": "{{ index . description }}", + "version": "v1alpha1", + "license": { + "name": "Licenced under Apache 2.0", + "url": "http://www.apache.org/licenses/LICENSE-2.0" + } + }, + "host": "api.prylabs.net", + "schemes": [ + "https", + "wss" + ], + "consumes": [ + "application/json", + "application/grpc-web-text", + "application/grpc-web-json" + ], + "produces": [ + "application/json", + "application/grpc-web-text", + "application/grpc-web-json" + ], + "paths": {}, + "definitions": { + "protobufAny": { + "type": "object", + "properties": { + "typeUrl": { + "type": "string" + }, + "value": { + "type": "string", + "format": "byte" + } + } + }, + "rpcStatus": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int32" + }, + "message": { + "type": "string" + }, + "details": { + "type": "array", + "items": { + "$ref": "#/definitions/protobufAny" + } + } + } + } + }, + "externalDocs": { + "description": "Ethereum 2.0 Specification on Github", + "url": "https://github.com/ethereum/eth2.0-specs" + } +} diff --git a/eth/v1alpha1/swagger_generated.pb.go b/eth/v1alpha1/swagger_generated.pb.go old mode 100755 new mode 100644 index 656904e4..d752f0eb --- a/eth/v1alpha1/swagger_generated.pb.go +++ b/eth/v1alpha1/swagger_generated.pb.go @@ -1,156 +1,317 @@ -// Code generated by protoc-gen-gogo. DO NOT EDIT. +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.25.0 +// protoc v3.15.6 // source: eth/v1alpha1/swagger_generated.proto package eth import ( - fmt "fmt" - math "math" + reflect "reflect" - proto "github.com/gogo/protobuf/proto" - _ "github.com/grpc-ecosystem/grpc-gateway/protoc-gen-swagger/options" + proto "github.com/golang/protobuf/proto" + _ "github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2/options" + 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 that a sufficiently up-to-date version +// of the legacy proto package is being used. +const _ = proto.ProtoPackageIsVersion4 -// 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.GoGoProtoPackageIsVersion3 // please upgrade the proto package +var File_eth_v1alpha1_swagger_generated_proto protoreflect.FileDescriptor + +var file_eth_v1alpha1_swagger_generated_proto_rawDesc = []byte{ + 0x0a, 0x24, 0x65, 0x74, 0x68, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2f, 0x73, + 0x77, 0x61, 0x67, 0x67, 0x65, 0x72, 0x5f, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x64, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x15, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, + 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x1a, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x2d, 0x67, 0x65, 0x6e, 0x2d, 0x6f, 0x70, 0x65, 0x6e, 0x61, 0x70, + 0x69, 0x76, 0x32, 0x2f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, + 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x42, 0xc8, 0x1e, + 0x5a, 0x36, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x72, 0x79, + 0x73, 0x6d, 0x61, 0x74, 0x69, 0x63, 0x6c, 0x61, 0x62, 0x73, 0x2f, 0x65, 0x74, 0x68, 0x65, 0x72, + 0x65, 0x75, 0x6d, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x65, 0x74, 0x68, 0x2f, 0x76, 0x31, 0x61, 0x6c, + 0x70, 0x68, 0x61, 0x31, 0x3b, 0x65, 0x74, 0x68, 0x92, 0x41, 0x8c, 0x1e, 0x12, 0x92, 0x1c, 0x0a, + 0x16, 0x45, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x20, 0x53, 0x65, 0x72, 0x65, 0x6e, 0x69, + 0x74, 0x79, 0x20, 0x41, 0x50, 0x49, 0x73, 0x12, 0xa4, 0x1b, 0x5b, 0x21, 0x5b, 0x42, 0x75, 0x69, + 0x6c, 0x64, 0x20, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x5d, 0x28, 0x68, 0x74, 0x74, 0x70, 0x73, + 0x3a, 0x2f, 0x2f, 0x62, 0x61, 0x64, 0x67, 0x65, 0x2e, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x6b, 0x69, + 0x74, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x36, 0x32, 0x62, 0x65, 0x30, 0x38, 0x30, 0x39, 0x39, + 0x65, 0x39, 0x65, 0x32, 0x32, 0x38, 0x62, 0x31, 0x36, 0x35, 0x63, 0x32, 0x64, 0x62, 0x61, 0x36, + 0x39, 0x63, 0x36, 0x33, 0x37, 0x65, 0x62, 0x39, 0x63, 0x61, 0x37, 0x61, 0x31, 0x63, 0x61, 0x39, + 0x35, 0x65, 0x66, 0x64, 0x35, 0x34, 0x62, 0x39, 0x66, 0x2e, 0x73, 0x76, 0x67, 0x3f, 0x62, 0x72, + 0x61, 0x6e, 0x63, 0x68, 0x3d, 0x6d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x29, 0x5d, 0x28, 0x68, 0x74, + 0x74, 0x70, 0x73, 0x3a, 0x2f, 0x2f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x6b, 0x69, 0x74, 0x65, 0x2e, + 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x72, 0x79, 0x73, 0x6d, 0x61, 0x74, 0x69, 0x63, 0x2d, 0x6c, 0x61, + 0x62, 0x73, 0x2f, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2d, 0x61, 0x70, 0x69, 0x73, + 0x29, 0x5b, 0x21, 0x5b, 0x44, 0x69, 0x73, 0x63, 0x6f, 0x72, 0x64, 0x5d, 0x28, 0x68, 0x74, 0x74, + 0x70, 0x73, 0x3a, 0x2f, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x2d, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x73, + 0x2e, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x75, 0x73, 0x65, 0x72, 0x63, 0x6f, 0x6e, 0x74, 0x65, + 0x6e, 0x74, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x37, 0x32, 0x38, 0x38, 0x33, 0x32, 0x32, 0x2f, 0x33, + 0x34, 0x34, 0x37, 0x31, 0x39, 0x36, 0x37, 0x2d, 0x31, 0x64, 0x66, 0x37, 0x38, 0x30, 0x38, 0x61, + 0x2d, 0x65, 0x66, 0x62, 0x62, 0x2d, 0x31, 0x31, 0x65, 0x37, 0x2d, 0x39, 0x30, 0x38, 0x38, 0x2d, + 0x65, 0x64, 0x30, 0x62, 0x30, 0x34, 0x31, 0x35, 0x31, 0x32, 0x39, 0x31, 0x2e, 0x70, 0x6e, 0x67, + 0x29, 0x5d, 0x28, 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f, 0x2f, 0x64, 0x69, 0x73, 0x63, 0x6f, + 0x72, 0x64, 0x2e, 0x67, 0x67, 0x2f, 0x4b, 0x53, 0x41, 0x37, 0x72, 0x50, 0x72, 0x29, 0x5b, 0x21, + 0x5b, 0x47, 0x69, 0x74, 0x74, 0x65, 0x72, 0x5d, 0x28, 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f, + 0x2f, 0x62, 0x61, 0x64, 0x67, 0x65, 0x73, 0x2e, 0x67, 0x69, 0x74, 0x74, 0x65, 0x72, 0x2e, 0x69, + 0x6d, 0x2f, 0x4a, 0x6f, 0x69, 0x6e, 0x25, 0x32, 0x30, 0x43, 0x68, 0x61, 0x74, 0x2e, 0x73, 0x76, + 0x67, 0x29, 0x5d, 0x28, 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f, 0x2f, 0x67, 0x69, 0x74, 0x74, + 0x65, 0x72, 0x2e, 0x69, 0x6d, 0x2f, 0x70, 0x72, 0x79, 0x73, 0x6d, 0x61, 0x74, 0x69, 0x63, 0x6c, + 0x61, 0x62, 0x73, 0x2f, 0x67, 0x65, 0x74, 0x68, 0x2d, 0x73, 0x68, 0x61, 0x72, 0x64, 0x69, 0x6e, + 0x67, 0x3f, 0x75, 0x74, 0x6d, 0x5f, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x3d, 0x62, 0x61, 0x64, + 0x67, 0x65, 0x26, 0x75, 0x74, 0x6d, 0x5f, 0x6d, 0x65, 0x64, 0x69, 0x75, 0x6d, 0x3d, 0x62, 0x61, + 0x64, 0x67, 0x65, 0x26, 0x75, 0x74, 0x6d, 0x5f, 0x63, 0x61, 0x6d, 0x70, 0x61, 0x69, 0x67, 0x6e, + 0x3d, 0x70, 0x72, 0x2d, 0x62, 0x61, 0x64, 0x67, 0x65, 0x29, 0x5b, 0x21, 0x5b, 0x45, 0x54, 0x48, + 0x32, 0x2e, 0x30, 0x5f, 0x53, 0x70, 0x65, 0x63, 0x5f, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, + 0x20, 0x30, 0x2e, 0x31, 0x32, 0x2e, 0x31, 0x5d, 0x28, 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f, + 0x2f, 0x69, 0x6d, 0x67, 0x2e, 0x73, 0x68, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x2e, 0x69, 0x6f, 0x2f, + 0x62, 0x61, 0x64, 0x67, 0x65, 0x2f, 0x45, 0x54, 0x48, 0x32, 0x2e, 0x30, 0x25, 0x32, 0x30, 0x53, + 0x70, 0x65, 0x63, 0x25, 0x32, 0x30, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x2d, 0x76, 0x30, + 0x2e, 0x31, 0x32, 0x2e, 0x31, 0x2d, 0x62, 0x6c, 0x75, 0x65, 0x2e, 0x73, 0x76, 0x67, 0x29, 0x5d, + 0x28, 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f, 0x2f, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, + 0x63, 0x6f, 0x6d, 0x2f, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2f, 0x65, 0x74, 0x68, + 0x32, 0x2e, 0x30, 0x2d, 0x73, 0x70, 0x65, 0x63, 0x73, 0x2f, 0x74, 0x72, 0x65, 0x65, 0x2f, 0x76, + 0x30, 0x2e, 0x31, 0x32, 0x2e, 0x31, 0x29, 0x0a, 0x0a, 0x54, 0x68, 0x69, 0x73, 0x20, 0x73, 0x77, + 0x61, 0x67, 0x67, 0x65, 0x72, 0x20, 0x73, 0x69, 0x74, 0x65, 0x20, 0x68, 0x6f, 0x73, 0x74, 0x73, + 0x20, 0x74, 0x68, 0x65, 0x20, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x20, 0x69, 0x6e, 0x74, + 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 0x20, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, + 0x6e, 0x73, 0x20, 0x66, 0x6f, 0x72, 0x20, 0x74, 0x68, 0x65, 0x20, 0x45, 0x74, 0x68, 0x65, 0x72, + 0x65, 0x75, 0x6d, 0x20, 0x53, 0x65, 0x72, 0x65, 0x6e, 0x69, 0x74, 0x79, 0x20, 0x4a, 0x53, 0x4f, + 0x4e, 0x20, 0x41, 0x50, 0x49, 0x2e, 0x0a, 0x0a, 0x23, 0x23, 0x20, 0x53, 0x65, 0x72, 0x76, 0x69, + 0x63, 0x65, 0x20, 0x4f, 0x76, 0x65, 0x72, 0x76, 0x69, 0x65, 0x77, 0x0a, 0x0a, 0x41, 0x74, 0x20, + 0x74, 0x68, 0x65, 0x20, 0x63, 0x6f, 0x72, 0x65, 0x20, 0x6f, 0x66, 0x20, 0x45, 0x74, 0x68, 0x65, + 0x72, 0x65, 0x75, 0x6d, 0x20, 0x53, 0x65, 0x72, 0x65, 0x6e, 0x69, 0x74, 0x79, 0x20, 0x6c, 0x69, + 0x65, 0x73, 0x20, 0x74, 0x68, 0x65, 0x20, 0x22, 0x42, 0x65, 0x61, 0x63, 0x6f, 0x6e, 0x20, 0x43, + 0x68, 0x61, 0x69, 0x6e, 0x22, 0x2c, 0x20, 0x61, 0x20, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x2d, 0x6f, + 0x66, 0x2d, 0x73, 0x74, 0x61, 0x6b, 0x65, 0x20, 0x62, 0x61, 0x73, 0x65, 0x64, 0x20, 0x62, 0x6c, + 0x6f, 0x63, 0x6b, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x20, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x69, 0x6e, + 0x67, 0x20, 0x61, 0x20, 0x73, 0x65, 0x74, 0x20, 0x6f, 0x66, 0x20, 0x76, 0x61, 0x6c, 0x69, 0x64, + 0x61, 0x74, 0x6f, 0x72, 0x73, 0x20, 0x61, 0x6e, 0x64, 0x20, 0x22, 0x73, 0x68, 0x61, 0x72, 0x64, + 0x73, 0x22, 0x20, 0x61, 0x63, 0x72, 0x6f, 0x73, 0x73, 0x20, 0x61, 0x20, 0x6e, 0x65, 0x74, 0x77, + 0x6f, 0x72, 0x6b, 0x2c, 0x20, 0x77, 0x68, 0x69, 0x63, 0x68, 0x20, 0x61, 0x72, 0x65, 0x20, 0x73, + 0x74, 0x61, 0x74, 0x65, 0x66, 0x75, 0x6c, 0x2c, 0x20, 0x73, 0x6d, 0x61, 0x6c, 0x6c, 0x65, 0x72, + 0x20, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x73, 0x20, 0x75, 0x73, 0x65, + 0x64, 0x20, 0x66, 0x6f, 0x72, 0x20, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, + 0x6e, 0x20, 0x61, 0x6e, 0x64, 0x20, 0x73, 0x6d, 0x61, 0x72, 0x74, 0x20, 0x63, 0x6f, 0x6e, 0x74, + 0x72, 0x61, 0x63, 0x74, 0x20, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x20, + 0x54, 0x68, 0x65, 0x20, 0x42, 0x65, 0x61, 0x63, 0x6f, 0x6e, 0x20, 0x43, 0x68, 0x61, 0x69, 0x6e, + 0x20, 0x72, 0x65, 0x63, 0x6f, 0x6e, 0x63, 0x69, 0x6c, 0x65, 0x73, 0x20, 0x63, 0x6f, 0x6e, 0x73, + 0x65, 0x6e, 0x73, 0x75, 0x73, 0x20, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x20, 0x61, 0x63, + 0x72, 0x6f, 0x73, 0x73, 0x20, 0x73, 0x68, 0x61, 0x72, 0x64, 0x73, 0x20, 0x74, 0x6f, 0x20, 0x70, + 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x20, 0x74, 0x68, 0x65, 0x20, 0x62, 0x61, 0x63, 0x6b, 0x62, + 0x6f, 0x6e, 0x65, 0x20, 0x6f, 0x66, 0x20, 0x45, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x20, + 0x53, 0x65, 0x72, 0x65, 0x6e, 0x69, 0x74, 0x79, 0x2e, 0x20, 0x54, 0x68, 0x65, 0x20, 0x73, 0x65, + 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x20, 0x62, 0x65, 0x6c, 0x6f, 0x77, 0x20, 0x61, 0x6c, 0x6c, + 0x6f, 0x77, 0x20, 0x66, 0x6f, 0x72, 0x20, 0x72, 0x65, 0x74, 0x72, 0x69, 0x65, 0x76, 0x61, 0x6c, + 0x20, 0x6f, 0x66, 0x20, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x20, 0x61, 0x6e, 0x64, 0x20, + 0x68, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x69, 0x63, 0x61, 0x6c, 0x20, 0x69, 0x6e, 0x66, 0x6f, 0x72, + 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x20, 0x72, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x6e, 0x67, 0x20, + 0x74, 0x6f, 0x20, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x73, 0x2c, 0x20, 0x63, + 0x6f, 0x6e, 0x73, 0x65, 0x6e, 0x73, 0x75, 0x73, 0x2c, 0x20, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x73, + 0x2c, 0x20, 0x61, 0x6e, 0x64, 0x20, 0x73, 0x74, 0x61, 0x6b, 0x69, 0x6e, 0x67, 0x20, 0x70, 0x61, + 0x72, 0x74, 0x69, 0x63, 0x69, 0x70, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x0a, 0x0a, 0x7c, 0x20, + 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x20, 0x7c, 0x20, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, + 0x65, 0x20, 0x7c, 0x20, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x20, 0x7c, 0x20, 0x44, 0x65, + 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x20, 0x7c, 0x0a, 0x7c, 0x2d, 0x2d, 0x2d, + 0x2d, 0x2d, 0x2d, 0x2d, 0x2d, 0x2d, 0x7c, 0x2d, 0x2d, 0x2d, 0x2d, 0x2d, 0x2d, 0x2d, 0x2d, 0x2d, + 0x7c, 0x2d, 0x2d, 0x2d, 0x2d, 0x2d, 0x2d, 0x2d, 0x2d, 0x2d, 0x7c, 0x2d, 0x2d, 0x2d, 0x2d, 0x2d, + 0x2d, 0x2d, 0x2d, 0x2d, 0x2d, 0x2d, 0x2d, 0x2d, 0x7c, 0x0a, 0x7c, 0x20, 0x65, 0x74, 0x68, 0x20, + 0x7c, 0x20, 0x42, 0x65, 0x61, 0x63, 0x6f, 0x6e, 0x43, 0x68, 0x61, 0x69, 0x6e, 0x20, 0x7c, 0x20, + 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x20, 0x7c, 0x20, 0x54, 0x68, 0x69, 0x73, 0x20, + 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x20, 0x69, 0x73, 0x20, 0x75, 0x73, 0x65, 0x64, 0x20, + 0x74, 0x6f, 0x20, 0x72, 0x65, 0x74, 0x72, 0x69, 0x65, 0x76, 0x65, 0x20, 0x63, 0x72, 0x69, 0x74, + 0x69, 0x63, 0x61, 0x6c, 0x20, 0x64, 0x61, 0x74, 0x61, 0x20, 0x72, 0x65, 0x6c, 0x65, 0x76, 0x61, + 0x6e, 0x74, 0x20, 0x74, 0x6f, 0x20, 0x74, 0x68, 0x65, 0x20, 0x45, 0x74, 0x68, 0x65, 0x72, 0x65, + 0x75, 0x6d, 0x20, 0x32, 0x2e, 0x30, 0x20, 0x70, 0x68, 0x61, 0x73, 0x65, 0x20, 0x30, 0x20, 0x62, + 0x65, 0x61, 0x63, 0x6f, 0x6e, 0x20, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2c, 0x20, 0x69, 0x6e, 0x63, + 0x6c, 0x75, 0x64, 0x69, 0x6e, 0x67, 0x20, 0x74, 0x68, 0x65, 0x20, 0x6d, 0x6f, 0x73, 0x74, 0x20, + 0x72, 0x65, 0x63, 0x65, 0x6e, 0x74, 0x20, 0x68, 0x65, 0x61, 0x64, 0x20, 0x62, 0x6c, 0x6f, 0x63, + 0x6b, 0x2c, 0x20, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x20, 0x70, 0x65, 0x6e, 0x64, 0x69, + 0x6e, 0x67, 0x20, 0x64, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x73, 0x2c, 0x20, 0x74, 0x68, 0x65, + 0x20, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x20, 0x73, 0x74, 0x61, 0x74, 0x65, 0x20, 0x61, 0x6e, 0x64, + 0x20, 0x6d, 0x6f, 0x72, 0x65, 0x2e, 0x20, 0x7c, 0x0a, 0x7c, 0x20, 0x65, 0x74, 0x68, 0x20, 0x7c, + 0x20, 0x4e, 0x6f, 0x64, 0x65, 0x20, 0x7c, 0x20, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, + 0x20, 0x7c, 0x20, 0x54, 0x68, 0x65, 0x20, 0x4e, 0x6f, 0x64, 0x65, 0x20, 0x73, 0x65, 0x72, 0x76, + 0x69, 0x63, 0x65, 0x20, 0x72, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x73, 0x20, 0x69, 0x6e, 0x66, 0x6f, + 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x20, 0x61, 0x62, 0x6f, 0x75, 0x74, 0x20, 0x74, 0x68, + 0x65, 0x20, 0x45, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x20, 0x6e, 0x6f, 0x64, 0x65, 0x20, + 0x69, 0x74, 0x73, 0x65, 0x6c, 0x66, 0x2c, 0x20, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x69, 0x6e, + 0x67, 0x20, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x69, 0x6e, 0x67, 0x20, 0x61, 0x6e, 0x64, + 0x20, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x6c, 0x20, 0x69, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x20, 0x61, 0x73, 0x20, 0x77, 0x65, 0x6c, 0x6c, 0x20, 0x61, 0x73, 0x20, + 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x20, 0x73, 0x79, 0x6e, 0x63, 0x20, 0x73, 0x74, 0x61, + 0x74, 0x75, 0x73, 0x20, 0x61, 0x6e, 0x64, 0x20, 0x61, 0x20, 0x6c, 0x69, 0x73, 0x74, 0x20, 0x6f, + 0x66, 0x20, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x20, 0x63, 0x75, 0x72, 0x72, 0x65, + 0x6e, 0x74, 0x6c, 0x79, 0x20, 0x69, 0x6d, 0x70, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x65, 0x64, + 0x20, 0x6f, 0x6e, 0x20, 0x74, 0x68, 0x65, 0x20, 0x6e, 0x6f, 0x64, 0x65, 0x2e, 0x0a, 0x7c, 0x20, + 0x65, 0x74, 0x68, 0x20, 0x7c, 0x20, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x20, + 0x7c, 0x20, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x20, 0x7c, 0x20, 0x54, 0x68, 0x69, + 0x73, 0x20, 0x41, 0x50, 0x49, 0x20, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x73, 0x20, 0x74, + 0x68, 0x65, 0x20, 0x69, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x20, 0x61, + 0x20, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x20, 0x6e, 0x65, 0x65, 0x64, 0x73, + 0x20, 0x74, 0x6f, 0x20, 0x72, 0x65, 0x74, 0x72, 0x69, 0x65, 0x76, 0x65, 0x20, 0x74, 0x68, 0x72, + 0x6f, 0x75, 0x67, 0x68, 0x6f, 0x75, 0x74, 0x20, 0x69, 0x74, 0x73, 0x20, 0x6c, 0x69, 0x66, 0x65, + 0x63, 0x79, 0x63, 0x6c, 0x65, 0x2c, 0x20, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x69, 0x6e, 0x67, + 0x20, 0x72, 0x65, 0x63, 0x69, 0x65, 0x76, 0x65, 0x64, 0x20, 0x61, 0x73, 0x73, 0x69, 0x67, 0x6e, + 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x20, 0x66, 0x72, 0x6f, 0x6d, 0x20, 0x74, 0x68, 0x65, 0x20, 0x6e, + 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x2c, 0x20, 0x69, 0x74, 0x73, 0x20, 0x63, 0x75, 0x72, 0x72, + 0x65, 0x6e, 0x74, 0x20, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x20, 0x69, 0x6e, 0x20, 0x74, 0x68, 0x65, + 0x20, 0x73, 0x74, 0x61, 0x74, 0x65, 0x2c, 0x20, 0x61, 0x73, 0x20, 0x77, 0x65, 0x6c, 0x6c, 0x20, + 0x74, 0x68, 0x65, 0x20, 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, 0x73, 0x20, 0x61, 0x6e, 0x64, 0x20, + 0x70, 0x65, 0x6e, 0x61, 0x6c, 0x74, 0x69, 0x65, 0x73, 0x20, 0x74, 0x68, 0x61, 0x74, 0x20, 0x68, + 0x61, 0x76, 0x65, 0x20, 0x62, 0x65, 0x65, 0x6e, 0x20, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x65, 0x64, + 0x20, 0x74, 0x6f, 0x20, 0x69, 0x74, 0x2e, 0x0a, 0x0a, 0x23, 0x23, 0x23, 0x20, 0x4a, 0x53, 0x4f, + 0x4e, 0x20, 0x4d, 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x0a, 0x0a, 0x54, 0x68, 0x65, 0x20, 0x6d, + 0x61, 0x6a, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x20, 0x6f, 0x66, 0x20, 0x66, 0x69, 0x65, 0x6c, 0x64, + 0x20, 0x70, 0x72, 0x69, 0x6d, 0x69, 0x74, 0x69, 0x76, 0x65, 0x20, 0x74, 0x79, 0x70, 0x65, 0x73, + 0x20, 0x66, 0x6f, 0x72, 0x20, 0x45, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x20, 0x61, 0x72, + 0x65, 0x20, 0x65, 0x69, 0x74, 0x68, 0x65, 0x72, 0x20, 0x60, 0x62, 0x79, 0x74, 0x65, 0x73, 0x60, + 0x20, 0x6f, 0x72, 0x20, 0x60, 0x75, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x60, 0x2e, 0x20, 0x54, 0x68, + 0x65, 0x20, 0x63, 0x61, 0x6e, 0x6f, 0x6e, 0x69, 0x63, 0x61, 0x6c, 0x20, 0x4a, 0x53, 0x4f, 0x4e, + 0x20, 0x6d, 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x20, 0x66, 0x6f, 0x72, 0x20, 0x74, 0x68, 0x6f, + 0x73, 0x65, 0x20, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x20, 0x61, 0x72, 0x65, 0x20, 0x61, 0x20, + 0x42, 0x61, 0x73, 0x65, 0x36, 0x34, 0x20, 0x65, 0x6e, 0x63, 0x6f, 0x64, 0x65, 0x64, 0x20, 0x73, + 0x74, 0x72, 0x69, 0x6e, 0x67, 0x20, 0x66, 0x6f, 0x72, 0x20, 0x60, 0x62, 0x79, 0x74, 0x65, 0x73, + 0x60, 0x2c, 0x20, 0x6f, 0x72, 0x20, 0x61, 0x20, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x20, 0x72, + 0x65, 0x70, 0x72, 0x65, 0x73, 0x65, 0x6e, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x20, 0x6f, 0x66, + 0x20, 0x60, 0x75, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x60, 0x2e, 0x20, 0x53, 0x69, 0x6e, 0x63, 0x65, + 0x20, 0x4a, 0x61, 0x76, 0x61, 0x53, 0x63, 0x72, 0x69, 0x70, 0x74, 0x20, 0x6c, 0x6f, 0x73, 0x65, + 0x73, 0x20, 0x70, 0x72, 0x65, 0x63, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x20, 0x66, 0x6f, 0x72, 0x20, + 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x20, 0x6f, 0x76, 0x65, 0x72, 0x20, 0x5b, 0x4d, 0x41, 0x58, + 0x5f, 0x53, 0x41, 0x46, 0x45, 0x5f, 0x49, 0x4e, 0x54, 0x45, 0x47, 0x45, 0x52, 0x5d, 0x28, 0x68, + 0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f, 0x2f, 0x64, 0x65, 0x76, 0x65, 0x6c, 0x6f, 0x70, 0x65, 0x72, + 0x2e, 0x6d, 0x6f, 0x7a, 0x69, 0x6c, 0x6c, 0x61, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x65, 0x6e, 0x2d, + 0x55, 0x53, 0x2f, 0x64, 0x6f, 0x63, 0x73, 0x2f, 0x57, 0x65, 0x62, 0x2f, 0x4a, 0x61, 0x76, 0x61, + 0x53, 0x63, 0x72, 0x69, 0x70, 0x74, 0x2f, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, + 0x2f, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x5f, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, + 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x2f, 0x4d, 0x41, 0x58, 0x5f, 0x53, 0x41, 0x46, 0x45, 0x5f, + 0x49, 0x4e, 0x54, 0x45, 0x47, 0x45, 0x52, 0x29, 0x2c, 0x20, 0x75, 0x69, 0x6e, 0x74, 0x36, 0x34, + 0x20, 0x6d, 0x75, 0x73, 0x74, 0x20, 0x62, 0x65, 0x20, 0x61, 0x20, 0x4a, 0x53, 0x4f, 0x4e, 0x20, + 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x20, 0x69, 0x6e, 0x20, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x20, + 0x74, 0x6f, 0x20, 0x61, 0x63, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x64, 0x61, 0x74, 0x65, 0x20, 0x74, + 0x68, 0x6f, 0x73, 0x65, 0x20, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x2e, 0x20, 0x49, 0x66, 0x20, + 0x74, 0x68, 0x65, 0x20, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x20, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x20, + 0x6e, 0x6f, 0x74, 0x20, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x20, 0x61, 0x6e, 0x64, 0x20, + 0x69, 0x73, 0x20, 0x73, 0x74, 0x69, 0x6c, 0x6c, 0x20, 0x73, 0x65, 0x74, 0x20, 0x74, 0x6f, 0x20, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x27, 0x73, 0x20, 0x64, 0x65, 0x66, 0x61, 0x75, + 0x6c, 0x74, 0x2c, 0x20, 0x74, 0x68, 0x69, 0x73, 0x20, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x20, 0x77, + 0x69, 0x6c, 0x6c, 0x20, 0x62, 0x65, 0x20, 0x6f, 0x6d, 0x69, 0x74, 0x74, 0x65, 0x64, 0x20, 0x66, + 0x72, 0x6f, 0x6d, 0x20, 0x74, 0x68, 0x65, 0x20, 0x4a, 0x53, 0x4f, 0x4e, 0x20, 0x65, 0x6e, 0x63, + 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x20, 0x65, 0x6e, 0x74, 0x69, 0x72, 0x65, 0x6c, 0x79, 0x2e, 0x0a, + 0x0a, 0x46, 0x6f, 0x72, 0x20, 0x6d, 0x6f, 0x72, 0x65, 0x20, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, + 0x73, 0x20, 0x6f, 0x6e, 0x20, 0x4a, 0x53, 0x4f, 0x4e, 0x20, 0x6d, 0x61, 0x70, 0x70, 0x69, 0x6e, + 0x67, 0x20, 0x66, 0x6f, 0x72, 0x20, 0x6f, 0x74, 0x68, 0x65, 0x72, 0x20, 0x74, 0x79, 0x70, 0x65, + 0x73, 0x2c, 0x20, 0x76, 0x69, 0x65, 0x77, 0x20, 0x74, 0x68, 0x65, 0x20, 0x72, 0x65, 0x6c, 0x65, + 0x76, 0x61, 0x6e, 0x74, 0x20, 0x73, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x20, 0x69, 0x6e, 0x20, + 0x74, 0x68, 0x65, 0x20, 0x5b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 0x20, 0x6c, 0x61, 0x6e, 0x67, + 0x75, 0x61, 0x67, 0x65, 0x20, 0x67, 0x75, 0x69, 0x64, 0x65, 0x5d, 0x28, 0x68, 0x74, 0x74, 0x70, + 0x73, 0x3a, 0x2f, 0x2f, 0x64, 0x65, 0x76, 0x65, 0x6c, 0x6f, 0x70, 0x65, 0x72, 0x73, 0x2e, 0x67, + 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, + 0x6f, 0x6c, 0x2d, 0x62, 0x75, 0x66, 0x66, 0x65, 0x72, 0x73, 0x2f, 0x64, 0x6f, 0x63, 0x73, 0x2f, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 0x23, 0x6a, 0x73, 0x6f, 0x6e, 0x29, 0x2e, 0x0a, 0x0a, 0x23, + 0x23, 0x23, 0x20, 0x48, 0x65, 0x6c, 0x70, 0x66, 0x75, 0x6c, 0x20, 0x67, 0x52, 0x50, 0x43, 0x20, + 0x54, 0x6f, 0x6f, 0x6c, 0x69, 0x6e, 0x67, 0x20, 0x61, 0x6e, 0x64, 0x20, 0x52, 0x65, 0x73, 0x6f, + 0x75, 0x72, 0x63, 0x65, 0x73, 0x0a, 0x0a, 0x2d, 0x20, 0x5b, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, + 0x27, 0x73, 0x20, 0x41, 0x50, 0x49, 0x20, 0x53, 0x74, 0x79, 0x6c, 0x65, 0x20, 0x47, 0x75, 0x69, + 0x64, 0x65, 0x5d, 0x28, 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f, 0x2f, 0x63, 0x6c, 0x6f, 0x75, + 0x64, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x70, 0x69, + 0x73, 0x2f, 0x64, 0x65, 0x73, 0x69, 0x67, 0x6e, 0x2f, 0x29, 0x0a, 0x2d, 0x20, 0x5b, 0x4c, 0x61, + 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x20, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, + 0x20, 0x66, 0x6f, 0x72, 0x20, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x33, 0x5d, 0x28, 0x68, 0x74, + 0x74, 0x70, 0x73, 0x3a, 0x2f, 0x2f, 0x64, 0x65, 0x76, 0x65, 0x6c, 0x6f, 0x70, 0x65, 0x72, 0x73, + 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x63, 0x6f, 0x6c, 0x2d, 0x62, 0x75, 0x66, 0x66, 0x65, 0x72, 0x73, 0x2f, 0x64, 0x6f, 0x63, + 0x73, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 0x29, 0x0a, 0x2d, 0x20, 0x5b, 0x41, 0x77, 0x65, + 0x73, 0x6f, 0x6d, 0x65, 0x20, 0x67, 0x52, 0x50, 0x43, 0x5d, 0x28, 0x68, 0x74, 0x74, 0x70, 0x73, + 0x3a, 0x2f, 0x2f, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x72, + 0x70, 0x63, 0x2d, 0x65, 0x63, 0x6f, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x2f, 0x61, 0x77, 0x65, + 0x73, 0x6f, 0x6d, 0x65, 0x2d, 0x67, 0x72, 0x70, 0x63, 0x29, 0x0a, 0x2d, 0x20, 0x5b, 0x50, 0x72, + 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x20, 0x42, 0x75, 0x66, 0x66, 0x65, 0x72, 0x20, 0x42, 0x61, + 0x73, 0x69, 0x63, 0x73, 0x3a, 0x20, 0x47, 0x6f, 0x5d, 0x28, 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, + 0x2f, 0x2f, 0x64, 0x65, 0x76, 0x65, 0x6c, 0x6f, 0x70, 0x65, 0x72, 0x73, 0x2e, 0x67, 0x6f, 0x6f, + 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, + 0x2d, 0x62, 0x75, 0x66, 0x66, 0x65, 0x72, 0x73, 0x2f, 0x64, 0x6f, 0x63, 0x73, 0x2f, 0x67, 0x6f, + 0x74, 0x75, 0x74, 0x6f, 0x72, 0x69, 0x61, 0x6c, 0x29, 0x0a, 0x2d, 0x20, 0x5b, 0x54, 0x72, 0x61, + 0x6e, 0x73, 0x63, 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x20, 0x67, 0x52, 0x50, 0x43, 0x20, 0x74, 0x6f, + 0x20, 0x4a, 0x53, 0x4f, 0x4e, 0x2f, 0x48, 0x54, 0x54, 0x50, 0x20, 0x75, 0x73, 0x69, 0x6e, 0x67, + 0x20, 0x45, 0x6e, 0x76, 0x6f, 0x79, 0x5d, 0x28, 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f, 0x2f, + 0x62, 0x6c, 0x6f, 0x67, 0x2e, 0x6a, 0x64, 0x72, 0x69, 0x76, 0x65, 0x6e, 0x2e, 0x63, 0x6f, 0x6d, + 0x2f, 0x32, 0x30, 0x31, 0x38, 0x2f, 0x31, 0x31, 0x2f, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x63, 0x6f, + 0x64, 0x69, 0x6e, 0x67, 0x2d, 0x67, 0x72, 0x70, 0x63, 0x2d, 0x74, 0x6f, 0x2d, 0x68, 0x74, 0x74, + 0x70, 0x2d, 0x6a, 0x73, 0x6f, 0x6e, 0x2d, 0x75, 0x73, 0x69, 0x6e, 0x67, 0x2d, 0x65, 0x6e, 0x76, + 0x6f, 0x79, 0x2f, 0x29, 0x0a, 0x0a, 0x0a, 0x23, 0x23, 0x20, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x69, + 0x62, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x0a, 0x57, 0x65, 0x20, 0x68, 0x61, 0x76, 0x65, 0x20, 0x70, + 0x75, 0x74, 0x20, 0x61, 0x6c, 0x6c, 0x20, 0x6f, 0x66, 0x20, 0x6f, 0x75, 0x72, 0x20, 0x63, 0x6f, + 0x6e, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x20, 0x67, 0x75, 0x69, 0x64, 0x65, + 0x6c, 0x69, 0x6e, 0x65, 0x73, 0x20, 0x69, 0x6e, 0x74, 0x6f, 0x20, 0x5b, 0x43, 0x4f, 0x4e, 0x54, + 0x52, 0x49, 0x42, 0x55, 0x54, 0x49, 0x4e, 0x47, 0x2e, 0x6d, 0x64, 0x5d, 0x28, 0x68, 0x74, 0x74, + 0x70, 0x73, 0x3a, 0x2f, 0x2f, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, + 0x70, 0x72, 0x79, 0x73, 0x6d, 0x61, 0x74, 0x69, 0x63, 0x6c, 0x61, 0x62, 0x73, 0x2f, 0x70, 0x72, + 0x79, 0x73, 0x6d, 0x2f, 0x62, 0x6c, 0x6f, 0x62, 0x2f, 0x6d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x2f, + 0x43, 0x4f, 0x4e, 0x54, 0x52, 0x49, 0x42, 0x55, 0x54, 0x49, 0x4e, 0x47, 0x2e, 0x6d, 0x64, 0x29, + 0x21, 0x20, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x20, 0x69, 0x74, 0x20, 0x6f, 0x75, 0x74, 0x20, 0x74, + 0x6f, 0x20, 0x67, 0x65, 0x74, 0x20, 0x73, 0x74, 0x61, 0x72, 0x74, 0x65, 0x64, 0x2e, 0x2a, 0x47, + 0x0a, 0x19, 0x4c, 0x69, 0x63, 0x65, 0x6e, 0x63, 0x65, 0x64, 0x20, 0x75, 0x6e, 0x64, 0x65, 0x72, + 0x20, 0x41, 0x70, 0x61, 0x63, 0x68, 0x65, 0x20, 0x32, 0x2e, 0x30, 0x12, 0x2a, 0x68, 0x74, 0x74, + 0x70, 0x3a, 0x2f, 0x2f, 0x77, 0x77, 0x77, 0x2e, 0x61, 0x70, 0x61, 0x63, 0x68, 0x65, 0x2e, 0x6f, + 0x72, 0x67, 0x2f, 0x6c, 0x69, 0x63, 0x65, 0x6e, 0x73, 0x65, 0x73, 0x2f, 0x4c, 0x49, 0x43, 0x45, + 0x4e, 0x53, 0x45, 0x2d, 0x32, 0x2e, 0x30, 0x32, 0x08, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, + 0x31, 0x1a, 0x0f, 0x61, 0x70, 0x69, 0x2e, 0x70, 0x72, 0x79, 0x6c, 0x61, 0x62, 0x73, 0x2e, 0x6e, + 0x65, 0x74, 0x2a, 0x02, 0x02, 0x04, 0x32, 0x10, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x2f, 0x6a, 0x73, 0x6f, 0x6e, 0x32, 0x19, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x67, 0x72, 0x70, 0x63, 0x2d, 0x77, 0x65, 0x62, 0x2d, 0x74, + 0x65, 0x78, 0x74, 0x32, 0x19, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x2f, 0x67, 0x72, 0x70, 0x63, 0x2d, 0x77, 0x65, 0x62, 0x2d, 0x6a, 0x73, 0x6f, 0x6e, 0x3a, 0x10, + 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x6a, 0x73, 0x6f, 0x6e, + 0x3a, 0x19, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x67, 0x72, + 0x70, 0x63, 0x2d, 0x77, 0x65, 0x62, 0x2d, 0x74, 0x65, 0x78, 0x74, 0x3a, 0x19, 0x61, 0x70, 0x70, + 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x67, 0x72, 0x70, 0x63, 0x2d, 0x77, 0x65, + 0x62, 0x2d, 0x6a, 0x73, 0x6f, 0x6e, 0x72, 0x50, 0x0a, 0x24, 0x45, 0x74, 0x68, 0x65, 0x72, 0x65, + 0x75, 0x6d, 0x20, 0x32, 0x2e, 0x30, 0x20, 0x53, 0x70, 0x65, 0x63, 0x69, 0x66, 0x69, 0x63, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x20, 0x6f, 0x6e, 0x20, 0x47, 0x69, 0x74, 0x68, 0x75, 0x62, 0x12, 0x28, + 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f, 0x2f, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, + 0x6f, 0x6d, 0x2f, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2f, 0x65, 0x74, 0x68, 0x32, + 0x2e, 0x30, 0x2d, 0x73, 0x70, 0x65, 0x63, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} -func init() { - proto.RegisterFile("eth/v1alpha1/swagger_generated.proto", fileDescriptor_811e782e2b19a991) +var file_eth_v1alpha1_swagger_generated_proto_goTypes = []interface{}{} +var file_eth_v1alpha1_swagger_generated_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name } -var fileDescriptor_811e782e2b19a991 = []byte{ - // 1996 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x57, 0xdd, 0x6e, 0xdc, 0xc8, - 0xd1, 0x85, 0x17, 0x1f, 0x3e, 0x04, 0x73, 0x93, 0xc0, 0x40, 0x02, 0x6c, 0x12, 0x18, 0x65, 0x7b, - 0x9d, 0x8d, 0x8c, 0x21, 0x39, 0x33, 0x96, 0xf5, 0x17, 0x18, 0x0b, 0x49, 0xab, 0x95, 0xe5, 0x78, - 0x65, 0xc1, 0xd2, 0xee, 0x06, 0x11, 0x02, 0xb9, 0xd9, 0x2c, 0x92, 0x6d, 0x35, 0xbb, 0x89, 0xae, - 0xe6, 0x8c, 0x27, 0xd0, 0x23, 0xe4, 0x6a, 0x9f, 0x21, 0x0f, 0x93, 0xcb, 0x5c, 0xe4, 0x01, 0x02, - 0x3f, 0x49, 0x50, 0xdd, 0x1c, 0xcd, 0xc8, 0x96, 0x83, 0x20, 0xf1, 0x85, 0xc5, 0x69, 0x76, 0x57, - 0x9d, 0xaa, 0x3a, 0x75, 0xba, 0x38, 0xf8, 0x02, 0x7d, 0x9d, 0x4d, 0xc7, 0x42, 0xb7, 0xb5, 0x18, - 0x67, 0x34, 0x13, 0x55, 0x85, 0xee, 0xa2, 0x42, 0x83, 0x4e, 0x78, 0x2c, 0xd2, 0xd6, 0x59, 0x6f, - 0xef, 0xfe, 0x1c, 0x7d, 0x8d, 0x0e, 0xbb, 0x26, 0x45, 0x5f, 0xa7, 0x8b, 0xed, 0xbf, 0x1c, 0x86, - 0xb7, 0x32, 0xa9, 0xd0, 0x24, 0xfd, 0xd1, 0xcc, 0xb6, 0x5e, 0x59, 0x43, 0x99, 0x30, 0xc6, 0x7a, - 0x11, 0x9e, 0xa3, 0x91, 0xbd, 0x7f, 0xdc, 0xfb, 0x71, 0xf7, 0x2f, 0xf7, 0xee, 0xfe, 0xf8, 0xeb, - 0xc1, 0x2f, 0x0e, 0x7a, 0x73, 0x70, 0x8a, 0x0e, 0x8d, 0xf2, 0x73, 0xd8, 0x3d, 0x39, 0xa2, 0xbb, - 0x7f, 0xfd, 0xd5, 0xf9, 0xfd, 0xf3, 0xbd, 0x4e, 0xe9, 0x02, 0xc8, 0x0b, 0xdf, 0xd1, 0x9f, 0x7e, - 0x5b, 0x7b, 0xdf, 0xd2, 0x4e, 0x96, 0xe5, 0xa2, 0xa8, 0x30, 0xcd, 0xf9, 0xdd, 0xa5, 0xf2, 0x98, - 0x4a, 0xdb, 0x64, 0x1b, 0x93, 0x1c, 0x47, 0x5b, 0xa3, 0xed, 0x6d, 0xdc, 0xc6, 0xc9, 0x64, 0x2b, - 0x1f, 0x6f, 0x3c, 0x95, 0x93, 0x22, 0x17, 0x1b, 0xdb, 0x72, 0xe3, 0xc9, 0x26, 0xe6, 0xdb, 0x52, - 0x6c, 0x8a, 0xb1, 0x14, 0xdb, 0x4f, 0xb1, 0x2c, 0x9e, 0xae, 0xe7, 0xdb, 0x65, 0x4a, 0xd3, 0xea, - 0xab, 0xdc, 0x09, 0x23, 0xeb, 0x67, 0x8d, 0x20, 0x8f, 0x6e, 0x6d, 0xc5, 0xc5, 0x0d, 0xe3, 0xad, - 0x9b, 0x53, 0x23, 0xbc, 0x92, 0x89, 0x16, 0x39, 0x65, 0x8b, 0x04, 0x24, 0xa2, 0x55, 0xb4, 0x76, - 0x7e, 0xff, 0xfc, 0x6b, 0x45, 0xd2, 0xba, 0x62, 0x79, 0xbc, 0x23, 0x74, 0x89, 0x6a, 0x44, 0x85, - 0x94, 0x56, 0xca, 0xd7, 0x5d, 0xce, 0x2b, 0xd2, 0x1a, 0x8f, 0xc6, 0x07, 0x93, 0x9b, 0x93, 0xad, - 0xad, 0x27, 0x93, 0x49, 0xf6, 0x64, 0x7d, 0x7d, 0x73, 0xbc, 0xbd, 0xb1, 0x99, 0x8c, 0x8b, 0x72, - 0x73, 0x6b, 0xb4, 0x25, 0x12, 0x2c, 0xf3, 0x3c, 0x19, 0x8f, 0x71, 0x33, 0xd9, 0x1e, 0x6d, 0x6d, - 0x25, 0x58, 0x8c, 0xf2, 0xd1, 0xfa, 0xf8, 0xe9, 0x78, 0xb2, 0x3d, 0x4e, 0x5b, 0x53, 0xad, 0x80, - 0x2c, 0xa2, 0xdb, 0xb4, 0xaa, 0xb2, 0xdf, 0x9f, 0xee, 0x6e, 0xba, 0x13, 0xc7, 0x60, 0x0e, 0x95, - 0xf7, 0xe8, 0x3e, 0xc8, 0x56, 0x80, 0xe1, 0xd1, 0xa5, 0xaa, 0xc9, 0x5e, 0x58, 0x65, 0x1e, 0x4d, - 0x46, 0xfb, 0xb5, 0xf0, 0x9c, 0x83, 0x15, 0x83, 0xcb, 0x3d, 0xd7, 0x11, 0x87, 0x80, 0x2b, 0xf4, - 0x75, 0x42, 0xb5, 0x70, 0x85, 0x32, 0xd5, 0x57, 0x9d, 0x6f, 0x2e, 0xc8, 0x76, 0x4e, 0xe2, 0xb3, - 0x60, 0xfb, 0x37, 0xbc, 0xd0, 0x60, 0xa1, 0xba, 0x66, 0x65, 0x41, 0x8a, 0xa6, 0x15, 0xaa, 0x32, - 0xcf, 0x5a, 0x97, 0x84, 0x55, 0xc6, 0x76, 0x70, 0xf6, 0x7c, 0x92, 0x8e, 0x2e, 0x4e, 0x5b, 0x94, - 0x17, 0xdf, 0xa3, 0x23, 0x65, 0x0d, 0x8c, 0xd2, 0xf1, 0x24, 0x1d, 0x2f, 0x41, 0xa8, 0xa6, 0x4a, - 0xa9, 0x56, 0xa8, 0x0b, 0x4a, 0x95, 0x8d, 0xf0, 0xb3, 0x78, 0xf0, 0xd1, 0x64, 0xc4, 0x47, 0x1f, - 0x4d, 0x46, 0xfd, 0xe1, 0x64, 0x1a, 0x4f, 0x27, 0xb9, 0xee, 0xf0, 0xe3, 0x60, 0xea, 0x2e, 0x0f, - 0xc9, 0x5e, 0x14, 0x8c, 0x1f, 0x26, 0xe9, 0x28, 0xa1, 0x16, 0x25, 0x65, 0xde, 0x21, 0x66, 0xbd, - 0x81, 0xb5, 0xc1, 0xe0, 0xac, 0x56, 0x04, 0x3d, 0x73, 0x81, 0x94, 0x47, 0xa8, 0x2d, 0x79, 0x02, - 0x5f, 0x23, 0x10, 0xba, 0xa9, 0x92, 0x08, 0xca, 0x78, 0x74, 0xa5, 0x90, 0x08, 0x05, 0x96, 0xca, - 0xa8, 0x40, 0x69, 0x28, 0xad, 0x0b, 0xbb, 0x3e, 0x66, 0xf2, 0x8b, 0xd3, 0x57, 0xc7, 0x4c, 0xe7, - 0x74, 0x30, 0x78, 0xf8, 0x90, 0x97, 0x83, 0x95, 0x57, 0x53, 0x7e, 0xc0, 0xd9, 0x60, 0xb0, 0xeb, - 0xc3, 0x41, 0x69, 0x1d, 0x82, 0x2d, 0x6f, 0x31, 0xa0, 0x15, 0x46, 0x04, 0x0f, 0xf6, 0x50, 0x48, - 0x6b, 0x60, 0xbf, 0x16, 0xca, 0x3c, 0x18, 0x82, 0x80, 0xd6, 0x59, 0x5b, 0x26, 0xb6, 0x4c, 0xc8, - 0x8b, 0x4b, 0x84, 0x5c, 0x10, 0x16, 0x90, 0x6b, 0x2b, 0x2f, 0x25, 0xef, 0x81, 0x46, 0x18, 0x51, - 0x29, 0x53, 0x81, 0x00, 0x42, 0xcf, 0xe6, 0xa7, 0x42, 0xab, 0x42, 0x78, 0xeb, 0x08, 0x84, 0x29, - 0xe0, 0x41, 0xa8, 0x28, 0x3d, 0x00, 0x21, 0x9d, 0x25, 0x02, 0x01, 0x06, 0xfd, 0xcc, 0xba, 0xcb, - 0x21, 0xcc, 0x6a, 0x25, 0x6b, 0x10, 0x0e, 0x43, 0xef, 0x61, 0xd9, 0xe9, 0x21, 0x50, 0x23, 0xb4, - 0x46, 0xb7, 0xe2, 0x82, 0xa0, 0x63, 0x9f, 0x21, 0x7c, 0x27, 0x0c, 0x09, 0xc9, 0xf9, 0x08, 0xb6, - 0xa9, 0x11, 0xce, 0x03, 0x13, 0xde, 0x09, 0xe9, 0x01, 0xdf, 0xa1, 0xec, 0xf8, 0x65, 0x0a, 0x67, - 0x35, 0xc2, 0x6a, 0x2c, 0xe0, 0x50, 0x5a, 0x23, 0x95, 0x46, 0xe2, 0xfd, 0x84, 0x86, 0x3a, 0x02, - 0x87, 0xd4, 0x69, 0x4f, 0x0b, 0x68, 0x11, 0x29, 0x78, 0xcb, 0x51, 0x4f, 0x55, 0x81, 0x21, 0x27, - 0xb9, 0x90, 0x97, 0xb9, 0x35, 0xb7, 0xa7, 0x2e, 0x7a, 0xea, 0x0b, 0x47, 0x90, 0xa3, 0xb6, 0x33, - 0x10, 0x9a, 0xff, 0x67, 0xc0, 0x0e, 0xbd, 0x53, 0x38, 0x15, 0x9a, 0x0f, 0xcb, 0xce, 0x39, 0x34, - 0x3e, 0x20, 0xaf, 0x15, 0x79, 0xeb, 0x94, 0x14, 0x1a, 0x94, 0x29, 0xad, 0x6b, 0x82, 0x6e, 0x81, - 0x43, 0x2d, 0x3c, 0x67, 0xd3, 0xdb, 0x95, 0x3c, 0x0e, 0x97, 0x90, 0x87, 0x31, 0x31, 0x34, 0x8c, - 0xf1, 0x7b, 0x71, 0xc9, 0xbb, 0x5b, 0xe1, 0xbc, 0x92, 0xaa, 0x0d, 0x46, 0xd2, 0xc1, 0xe0, 0x0a, - 0x4e, 0x84, 0xbc, 0x14, 0x15, 0xc2, 0xd5, 0x35, 0x1d, 0xae, 0x60, 0xd1, 0x0a, 0x57, 0xf0, 0x35, - 0x92, 0x74, 0x2a, 0xc8, 0x26, 0x5c, 0x0d, 0xae, 0x92, 0xc5, 0xbf, 0x7f, 0xff, 0x14, 0x7e, 0x0d, - 0xae, 0x00, 0x7d, 0x0d, 0x57, 0x7d, 0x76, 0x63, 0x72, 0xaf, 0x60, 0x21, 0xd0, 0x70, 0x05, 0x91, - 0xe1, 0x0b, 0x2a, 0xf7, 0xd5, 0xf3, 0x76, 0x91, 0x0b, 0x04, 0xe9, 0x94, 0x0f, 0x91, 0x17, 0xc2, - 0x0b, 0x0e, 0x19, 0xa7, 0xc2, 0x78, 0xde, 0x72, 0x83, 0xde, 0x93, 0x74, 0x04, 0x6d, 0x2d, 0x08, - 0x61, 0x04, 0x79, 0x2c, 0x65, 0xe0, 0xc3, 0x10, 0x94, 0x91, 0xba, 0x2b, 0x42, 0x9a, 0x6a, 0x84, - 0xc6, 0x92, 0xe7, 0xf2, 0x72, 0x6a, 0x6b, 0x14, 0x3d, 0x3b, 0x87, 0xd7, 0xe9, 0x6e, 0xd1, 0x84, - 0xbd, 0x05, 0xb6, 0x96, 0x94, 0xa7, 0x61, 0x6c, 0x86, 0x00, 0x3c, 0xf0, 0x2e, 0xa4, 0xb2, 0xb1, - 0x0e, 0x53, 0x58, 0x86, 0x77, 0x6c, 0x0b, 0xfc, 0x30, 0x2e, 0x8c, 0xab, 0x8b, 0xd8, 0x1c, 0xfa, - 0xce, 0x19, 0xba, 0x51, 0x40, 0x91, 0xdb, 0xce, 0xdf, 0x8c, 0xc3, 0xf0, 0x19, 0xe5, 0x09, 0x75, - 0xb9, 0x0a, 0x7d, 0x1a, 0xab, 0x11, 0x5a, 0xc7, 0x14, 0x10, 0xef, 0xbf, 0x9b, 0x6c, 0x10, 0x04, - 0x33, 0xd4, 0x9a, 0xff, 0xf6, 0x3d, 0x03, 0x34, 0x37, 0xb2, 0xbf, 0xa9, 0xc2, 0x31, 0x01, 0x5a, - 0x51, 0x68, 0xbb, 0x6b, 0x0e, 0xf6, 0x71, 0xeb, 0x39, 0xa8, 0xa6, 0xd5, 0xd8, 0xa0, 0xf1, 0x58, - 0x80, 0x35, 0x01, 0x15, 0x83, 0x49, 0xaf, 0x83, 0xfc, 0x7e, 0x41, 0xb1, 0x5b, 0x2a, 0xb8, 0x7b, - 0x72, 0xb4, 0x68, 0x83, 0xa8, 0x0d, 0x37, 0x90, 0x2d, 0xd9, 0x09, 0x06, 0x31, 0x36, 0xcd, 0x75, - 0x81, 0x7d, 0xed, 0x6c, 0x57, 0xd5, 0x9c, 0x09, 0xe5, 0x09, 0xb4, 0x2a, 0x51, 0xce, 0xa5, 0xc6, - 0xd5, 0xf0, 0x1d, 0x4a, 0xde, 0x5b, 0x80, 0x20, 0x52, 0x95, 0x61, 0x94, 0x04, 0xa5, 0xb3, 0x4d, - 0x84, 0xb9, 0x90, 0x08, 0x3e, 0xbf, 0x28, 0xa4, 0x32, 0x05, 0xbe, 0x03, 0x15, 0x03, 0x09, 0x95, - 0x1b, 0x5e, 0xa7, 0x88, 0x97, 0x1c, 0xce, 0x42, 0xff, 0x72, 0x5e, 0x5a, 0x34, 0x42, 0xfb, 0x28, - 0x6b, 0xc2, 0x43, 0x2d, 0xa6, 0x08, 0x39, 0xa2, 0x01, 0xd1, 0xb6, 0x5a, 0x45, 0x42, 0x2a, 0x1f, - 0x04, 0xf3, 0x61, 0xd4, 0xcf, 0x6f, 0x45, 0xdb, 0x2a, 0x53, 0xb1, 0x42, 0x23, 0x34, 0xe2, 0xad, - 0x75, 0xac, 0x8c, 0xb6, 0x84, 0x92, 0x2f, 0x09, 0x68, 0x9d, 0x6a, 0x94, 0x57, 0x1c, 0xdd, 0xbc, - 0xc5, 0xa8, 0xc6, 0xd7, 0x25, 0x66, 0x09, 0x43, 0xc5, 0xbf, 0xe0, 0x4d, 0x3e, 0xf7, 0x48, 0x6f, - 0xc0, 0x3a, 0x78, 0xd3, 0x29, 0xe3, 0x37, 0xd6, 0xdf, 0x44, 0x8d, 0x90, 0xc2, 0x58, 0x13, 0x68, - 0x1f, 0xdc, 0x35, 0xd1, 0x5d, 0xaf, 0xea, 0x96, 0x30, 0xfa, 0xa1, 0x60, 0x4b, 0xc0, 0x9e, 0x20, - 0xdc, 0x58, 0x07, 0x34, 0xd2, 0x16, 0xc8, 0x8d, 0xee, 0x16, 0x9b, 0x7b, 0x07, 0x43, 0xf6, 0x20, - 0x16, 0x2f, 0x1c, 0xb6, 0x0e, 0x09, 0x4d, 0x1c, 0x7f, 0x18, 0xf5, 0xd2, 0xf9, 0xa9, 0x32, 0x12, - 0xe1, 0x85, 0x98, 0x8a, 0xd3, 0xd0, 0xf4, 0xa0, 0x2d, 0x21, 0x41, 0xcb, 0x15, 0x08, 0x7a, 0xc0, - 0x56, 0xa7, 0x42, 0x77, 0x48, 0x60, 0xa7, 0xe8, 0xe0, 0xfc, 0xdb, 0xdd, 0x3f, 0x5c, 0x9c, 0xee, - 0x7e, 0x73, 0x70, 0x71, 0x74, 0x7c, 0x76, 0x70, 0x78, 0xf0, 0x7a, 0x65, 0x16, 0xc0, 0x29, 0x6a, - 0xdb, 0xa2, 0x4b, 0x1b, 0xfb, 0x67, 0xa5, 0xb5, 0x48, 0xad, 0xab, 0x32, 0x34, 0xc9, 0x77, 0xa7, - 0x59, 0x61, 0x25, 0x65, 0x3f, 0x60, 0x9e, 0x2d, 0x5d, 0x65, 0xaf, 0xb1, 0x64, 0xa1, 0x94, 0x98, - 0x1d, 0x6a, 0x9b, 0x0b, 0x7d, 0xf1, 0x2a, 0x7f, 0x8b, 0xd2, 0x53, 0x76, 0xdc, 0x35, 0x39, 0xba, - 0xec, 0x43, 0x4f, 0x6b, 0x43, 0x88, 0xb8, 0xa1, 0xe9, 0xc8, 0x43, 0xce, 0xa9, 0x08, 0xe9, 0xea, - 0xe3, 0x54, 0x06, 0xac, 0x2b, 0xd0, 0x71, 0xf9, 0x84, 0x94, 0xb6, 0x69, 0x6c, 0xc1, 0x1d, 0x1c, - 0x33, 0x18, 0x83, 0x48, 0xe1, 0xa8, 0x0c, 0x7c, 0x88, 0x85, 0x0b, 0x8b, 0x60, 0xac, 0xe7, 0x96, - 0x37, 0x15, 0x33, 0xce, 0x14, 0xac, 0x4b, 0xe4, 0x95, 0xd6, 0xe1, 0xd2, 0x8a, 0x82, 0xef, 0x6d, - 0xde, 0x95, 0x5f, 0x12, 0xdf, 0xb9, 0xa2, 0xd3, 0x9e, 0x65, 0x42, 0x51, 0x6f, 0x64, 0xc6, 0x5b, - 0x73, 0x04, 0xdb, 0xf0, 0xec, 0x52, 0x2c, 0x89, 0x1a, 0xc0, 0x85, 0x2a, 0x31, 0x3c, 0x34, 0x5e, - 0x39, 0xd4, 0xf3, 0x74, 0x30, 0xf8, 0xc6, 0xba, 0xa0, 0x29, 0x50, 0xa0, 0x17, 0x4a, 0x13, 0x37, - 0xe0, 0x47, 0x85, 0xb7, 0x81, 0x32, 0x81, 0x50, 0x43, 0xe0, 0xbb, 0xba, 0xe7, 0x71, 0xaf, 0x88, - 0x84, 0xf1, 0xaa, 0xeb, 0x29, 0x7f, 0x1e, 0x40, 0x3e, 0x01, 0x2d, 0x4c, 0xd5, 0xb1, 0xb8, 0x57, - 0x9d, 0x2a, 0xf0, 0x96, 0xe2, 0x50, 0x5a, 0x59, 0x5b, 0xe9, 0xc5, 0x54, 0xc9, 0x03, 0xb3, 0xd5, - 0x49, 0xde, 0x95, 0x25, 0x3a, 0x8a, 0x75, 0x8a, 0xa6, 0x1e, 0xbe, 0x25, 0x6b, 0xd6, 0xfa, 0x2e, - 0x78, 0x8e, 0xba, 0x2d, 0x3b, 0x0d, 0xd5, 0xeb, 0x93, 0x7d, 0x38, 0xb3, 0x56, 0x2f, 0xa4, 0xe9, - 0x35, 0xc6, 0x39, 0x8c, 0x06, 0x83, 0x04, 0xce, 0x0f, 0x83, 0xe9, 0x2f, 0xa3, 0x40, 0x9c, 0xfa, - 0xb9, 0x46, 0x38, 0xbc, 0x89, 0x43, 0x6a, 0xdb, 0x15, 0xab, 0x10, 0x78, 0x80, 0xcd, 0x0a, 0xe4, - 0x3e, 0xcf, 0xd6, 0xd8, 0xc6, 0xcb, 0x45, 0x04, 0x6e, 0xc1, 0x8f, 0x90, 0x8e, 0x08, 0xf5, 0xc9, - 0xff, 0x12, 0x51, 0x30, 0xbf, 0x3b, 0x43, 0xb2, 0x0d, 0x86, 0x48, 0x6e, 0x9d, 0xd4, 0x2a, 0xd7, - 0xca, 0x04, 0xa5, 0xa5, 0x39, 0x79, 0x6c, 0x32, 0x11, 0xf7, 0x27, 0xbc, 0x1c, 0x0c, 0x9c, 0xf4, - 0x1e, 0x60, 0x2f, 0x78, 0xe0, 0x6e, 0x54, 0x92, 0x76, 0xe0, 0xd0, 0xfe, 0x77, 0xd8, 0x2a, 0xeb, - 0x3b, 0xbe, 0xee, 0x85, 0x0e, 0xe6, 0xcf, 0x78, 0x8c, 0xe9, 0x29, 0x13, 0xb2, 0xed, 0x6d, 0xe0, - 0x46, 0xf6, 0xfc, 0xec, 0xec, 0x04, 0x3a, 0xe2, 0xf5, 0x03, 0x33, 0xb5, 0xf3, 0x95, 0xf1, 0x5a, - 0xdb, 0x2a, 0x7d, 0x5b, 0x38, 0x35, 0x45, 0x13, 0x1c, 0x4d, 0x46, 0xe3, 0xad, 0x6c, 0x3c, 0xce, - 0xfc, 0xd2, 0x56, 0xc0, 0x9f, 0x78, 0x9b, 0xf0, 0xa1, 0x84, 0x4b, 0x9b, 0x04, 0x5b, 0x09, 0xb2, - 0xad, 0x6c, 0x6d, 0x10, 0xc6, 0xc3, 0x7d, 0x9e, 0x96, 0x54, 0xde, 0xf1, 0x98, 0x31, 0xf8, 0x01, - 0xa3, 0x34, 0xb6, 0x9d, 0xe7, 0xa9, 0x85, 0x85, 0xc3, 0x76, 0x2e, 0x4e, 0x54, 0x61, 0x8f, 0x35, - 0x91, 0x65, 0x5a, 0x19, 0xe4, 0x9b, 0xce, 0x5b, 0x38, 0xdf, 0x7f, 0x75, 0x7c, 0xf6, 0xfa, 0x68, - 0xef, 0xbb, 0xb3, 0xa3, 0xe3, 0xc3, 0xb4, 0x29, 0x6e, 0xcd, 0xf0, 0xcd, 0xc9, 0x3e, 0xfc, 0xe2, - 0x18, 0xf2, 0x2c, 0x7e, 0x03, 0x65, 0x1f, 0xd8, 0x58, 0xbb, 0x0f, 0xfb, 0x35, 0xca, 0x4b, 0x50, - 0x1e, 0xc2, 0x05, 0x6a, 0xa1, 0x42, 0xcf, 0x22, 0xef, 0xf8, 0x93, 0xf0, 0xf1, 0xe1, 0xe0, 0xf3, - 0x97, 0x4a, 0x32, 0x51, 0x0a, 0xe8, 0x0c, 0x0b, 0xc0, 0x6e, 0x2b, 0x64, 0x8d, 0x3c, 0x24, 0xdc, - 0x7d, 0xcc, 0xfe, 0x77, 0xb2, 0x6c, 0x36, 0x9b, 0xa5, 0x22, 0x2c, 0x07, 0x55, 0xd2, 0x7c, 0x80, - 0x90, 0xb2, 0x97, 0x47, 0xfb, 0x07, 0xc7, 0xa7, 0x07, 0xc9, 0x24, 0x1d, 0x4d, 0x7e, 0x72, 0xfd, - 0x25, 0xf9, 0x53, 0xd1, 0xaa, 0xb4, 0x75, 0x73, 0x06, 0x98, 0x1a, 0xf4, 0x8f, 0x3f, 0xfb, 0xec, - 0xff, 0x26, 0x3f, 0x0b, 0xd7, 0x83, 0x0c, 0x2a, 0x9a, 0x71, 0x06, 0x27, 0x9f, 0xaf, 0xae, 0x84, - 0x04, 0xcf, 0x30, 0x4f, 0x3c, 0xbe, 0xf3, 0x9f, 0x78, 0xc5, 0xa7, 0x76, 0x3e, 0xb2, 0xb3, 0xf3, - 0x69, 0x3b, 0x3b, 0x9f, 0xb6, 0xe3, 0x4e, 0x06, 0x5f, 0xdc, 0x98, 0x87, 0xf8, 0xbb, 0x44, 0x95, - 0xfd, 0x5e, 0x96, 0x94, 0xc3, 0x90, 0xf2, 0xbb, 0xff, 0xf1, 0xe7, 0xc8, 0xdf, 0xde, 0xdf, 0xbb, - 0xf3, 0xf7, 0xf7, 0xf7, 0xee, 0xfc, 0xf3, 0xfd, 0xbd, 0x3b, 0x7f, 0xdc, 0xf8, 0x64, 0xc1, 0x16, - 0x67, 0x43, 0xe7, 0xae, 0x7e, 0xaf, 0xff, 0x0e, 0x7d, 0x9d, 0xff, 0x7f, 0xec, 0xb5, 0x7f, 0x05, - 0x00, 0x00, 0xff, 0xff, 0x5d, 0x99, 0xf7, 0xc2, 0xca, 0x0f, 0x00, 0x00, +func init() { file_eth_v1alpha1_swagger_generated_proto_init() } +func file_eth_v1alpha1_swagger_generated_proto_init() { + if File_eth_v1alpha1_swagger_generated_proto != nil { + return + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_eth_v1alpha1_swagger_generated_proto_rawDesc, + NumEnums: 0, + NumMessages: 0, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_eth_v1alpha1_swagger_generated_proto_goTypes, + DependencyIndexes: file_eth_v1alpha1_swagger_generated_proto_depIdxs, + }.Build() + File_eth_v1alpha1_swagger_generated_proto = out.File + file_eth_v1alpha1_swagger_generated_proto_rawDesc = nil + file_eth_v1alpha1_swagger_generated_proto_goTypes = nil + file_eth_v1alpha1_swagger_generated_proto_depIdxs = nil } diff --git a/eth/v1alpha1/swagger_generated.pb.gw.go b/eth/v1alpha1/swagger_generated.pb.gw.go new file mode 100644 index 00000000..33d2475d --- /dev/null +++ b/eth/v1alpha1/swagger_generated.pb.gw.go @@ -0,0 +1,3 @@ +// +build ignore + +package ignore diff --git a/eth/v1alpha1/validator.pb.go b/eth/v1alpha1/validator.pb.go old mode 100755 new mode 100644 index 1af14457..b83f2fe7 --- a/eth/v1alpha1/validator.pb.go +++ b/eth/v1alpha1/validator.pb.go @@ -1,36 +1,38 @@ -// Code generated by protoc-gen-gogo. DO NOT EDIT. +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.25.0 +// protoc v3.15.6 // source: eth/v1alpha1/validator.proto package eth import ( context "context" - encoding_binary "encoding/binary" - fmt "fmt" - io "io" - math "math" - math_bits "math/bits" - - _ "github.com/gogo/protobuf/gogoproto" - proto "github.com/gogo/protobuf/proto" - types "github.com/gogo/protobuf/types" + reflect "reflect" + sync "sync" + + proto "github.com/golang/protobuf/proto" + empty "github.com/golang/protobuf/ptypes/empty" github_com_prysmaticlabs_eth2_types "github.com/prysmaticlabs/eth2-types" + _ "github.com/prysmaticlabs/ethereumapis/eth/ext" _ "google.golang.org/genproto/googleapis/api/annotations" 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.GoGoProtoPackageIsVersion3 // 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 ValidatorStatus int32 @@ -46,2025 +48,2891 @@ const ( ValidatorStatus_PARTIALLY_DEPOSITED ValidatorStatus = 8 ) -var ValidatorStatus_name = map[int32]string{ - 0: "UNKNOWN_STATUS", - 1: "DEPOSITED", - 2: "PENDING", - 3: "ACTIVE", - 4: "EXITING", - 5: "SLASHING", - 6: "EXITED", - 7: "INVALID", - 8: "PARTIALLY_DEPOSITED", -} - -var ValidatorStatus_value = map[string]int32{ - "UNKNOWN_STATUS": 0, - "DEPOSITED": 1, - "PENDING": 2, - "ACTIVE": 3, - "EXITING": 4, - "SLASHING": 5, - "EXITED": 6, - "INVALID": 7, - "PARTIALLY_DEPOSITED": 8, +// Enum value maps for ValidatorStatus. +var ( + ValidatorStatus_name = map[int32]string{ + 0: "UNKNOWN_STATUS", + 1: "DEPOSITED", + 2: "PENDING", + 3: "ACTIVE", + 4: "EXITING", + 5: "SLASHING", + 6: "EXITED", + 7: "INVALID", + 8: "PARTIALLY_DEPOSITED", + } + ValidatorStatus_value = map[string]int32{ + "UNKNOWN_STATUS": 0, + "DEPOSITED": 1, + "PENDING": 2, + "ACTIVE": 3, + "EXITING": 4, + "SLASHING": 5, + "EXITED": 6, + "INVALID": 7, + "PARTIALLY_DEPOSITED": 8, + } +) + +func (x ValidatorStatus) Enum() *ValidatorStatus { + p := new(ValidatorStatus) + *p = x + return p } func (x ValidatorStatus) String() string { - return proto.EnumName(ValidatorStatus_name, int32(x)) + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (ValidatorStatus) Descriptor() protoreflect.EnumDescriptor { + return file_eth_v1alpha1_validator_proto_enumTypes[0].Descriptor() +} + +func (ValidatorStatus) Type() protoreflect.EnumType { + return &file_eth_v1alpha1_validator_proto_enumTypes[0] +} + +func (x ValidatorStatus) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) } +// Deprecated: Use ValidatorStatus.Descriptor instead. func (ValidatorStatus) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_f8ef4b6a7db76675, []int{0} + return file_eth_v1alpha1_validator_proto_rawDescGZIP(), []int{0} } type DomainRequest struct { - Epoch github_com_prysmaticlabs_eth2_types.Epoch `protobuf:"varint,1,opt,name=epoch,proto3,casttype=github.com/prysmaticlabs/eth2-types.Epoch" json:"epoch,omitempty"` - Domain []byte `protobuf:"bytes,2,opt,name=domain,proto3" json:"domain,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Epoch github_com_prysmaticlabs_eth2_types.Epoch `protobuf:"varint,1,opt,name=epoch,proto3" json:"epoch,omitempty" cast-type:"github.com/prysmaticlabs/eth2-types.Epoch"` + Domain []byte `protobuf:"bytes,2,opt,name=domain,proto3" json:"domain,omitempty"` } -func (m *DomainRequest) Reset() { *m = DomainRequest{} } -func (m *DomainRequest) String() string { return proto.CompactTextString(m) } -func (*DomainRequest) ProtoMessage() {} -func (*DomainRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_f8ef4b6a7db76675, []int{0} -} -func (m *DomainRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *DomainRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_DomainRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *DomainRequest) Reset() { + *x = DomainRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_eth_v1alpha1_validator_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *DomainRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DomainRequest.Merge(m, src) -} -func (m *DomainRequest) XXX_Size() int { - return m.Size() + +func (x *DomainRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *DomainRequest) XXX_DiscardUnknown() { - xxx_messageInfo_DomainRequest.DiscardUnknown(m) + +func (*DomainRequest) ProtoMessage() {} + +func (x *DomainRequest) ProtoReflect() protoreflect.Message { + mi := &file_eth_v1alpha1_validator_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) } -var xxx_messageInfo_DomainRequest proto.InternalMessageInfo +// Deprecated: Use DomainRequest.ProtoReflect.Descriptor instead. +func (*DomainRequest) Descriptor() ([]byte, []int) { + return file_eth_v1alpha1_validator_proto_rawDescGZIP(), []int{0} +} -func (m *DomainRequest) GetEpoch() github_com_prysmaticlabs_eth2_types.Epoch { - if m != nil { - return m.Epoch +func (x *DomainRequest) GetEpoch() github_com_prysmaticlabs_eth2_types.Epoch { + if x != nil { + return x.Epoch } - return 0 + return github_com_prysmaticlabs_eth2_types.Epoch(0) } -func (m *DomainRequest) GetDomain() []byte { - if m != nil { - return m.Domain +func (x *DomainRequest) GetDomain() []byte { + if x != nil { + return x.Domain } return nil } type DomainResponse struct { - SignatureDomain []byte `protobuf:"bytes,1,opt,name=signature_domain,json=signatureDomain,proto3" json:"signature_domain,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + SignatureDomain []byte `protobuf:"bytes,1,opt,name=signature_domain,json=signatureDomain,proto3" json:"signature_domain,omitempty"` } -func (m *DomainResponse) Reset() { *m = DomainResponse{} } -func (m *DomainResponse) String() string { return proto.CompactTextString(m) } -func (*DomainResponse) ProtoMessage() {} -func (*DomainResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_f8ef4b6a7db76675, []int{1} -} -func (m *DomainResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *DomainResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_DomainResponse.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *DomainResponse) Reset() { + *x = DomainResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_eth_v1alpha1_validator_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *DomainResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_DomainResponse.Merge(m, src) -} -func (m *DomainResponse) XXX_Size() int { - return m.Size() + +func (x *DomainResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *DomainResponse) XXX_DiscardUnknown() { - xxx_messageInfo_DomainResponse.DiscardUnknown(m) + +func (*DomainResponse) ProtoMessage() {} + +func (x *DomainResponse) ProtoReflect() protoreflect.Message { + mi := &file_eth_v1alpha1_validator_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) } -var xxx_messageInfo_DomainResponse proto.InternalMessageInfo +// Deprecated: Use DomainResponse.ProtoReflect.Descriptor instead. +func (*DomainResponse) Descriptor() ([]byte, []int) { + return file_eth_v1alpha1_validator_proto_rawDescGZIP(), []int{1} +} -func (m *DomainResponse) GetSignatureDomain() []byte { - if m != nil { - return m.SignatureDomain +func (x *DomainResponse) GetSignatureDomain() []byte { + if x != nil { + return x.SignatureDomain } return nil } type ValidatorActivationRequest struct { - PublicKeys [][]byte `protobuf:"bytes,1,rep,name=public_keys,json=publicKeys,proto3" json:"public_keys,omitempty" ssz-size:"?,48"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + PublicKeys [][]byte `protobuf:"bytes,1,rep,name=public_keys,json=publicKeys,proto3" json:"public_keys,omitempty" ssz-size:"?,48"` } -func (m *ValidatorActivationRequest) Reset() { *m = ValidatorActivationRequest{} } -func (m *ValidatorActivationRequest) String() string { return proto.CompactTextString(m) } -func (*ValidatorActivationRequest) ProtoMessage() {} -func (*ValidatorActivationRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_f8ef4b6a7db76675, []int{2} -} -func (m *ValidatorActivationRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *ValidatorActivationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_ValidatorActivationRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *ValidatorActivationRequest) Reset() { + *x = ValidatorActivationRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_eth_v1alpha1_validator_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *ValidatorActivationRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ValidatorActivationRequest.Merge(m, src) -} -func (m *ValidatorActivationRequest) XXX_Size() int { - return m.Size() -} -func (m *ValidatorActivationRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ValidatorActivationRequest.DiscardUnknown(m) + +func (x *ValidatorActivationRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -var xxx_messageInfo_ValidatorActivationRequest proto.InternalMessageInfo +func (*ValidatorActivationRequest) ProtoMessage() {} -func (m *ValidatorActivationRequest) GetPublicKeys() [][]byte { - if m != nil { - return m.PublicKeys +func (x *ValidatorActivationRequest) ProtoReflect() protoreflect.Message { + mi := &file_eth_v1alpha1_validator_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 nil + return mi.MessageOf(x) } -type ValidatorActivationResponse struct { - Statuses []*ValidatorActivationResponse_Status `protobuf:"bytes,1,rep,name=statuses,proto3" json:"statuses,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +// Deprecated: Use ValidatorActivationRequest.ProtoReflect.Descriptor instead. +func (*ValidatorActivationRequest) Descriptor() ([]byte, []int) { + return file_eth_v1alpha1_validator_proto_rawDescGZIP(), []int{2} } -func (m *ValidatorActivationResponse) Reset() { *m = ValidatorActivationResponse{} } -func (m *ValidatorActivationResponse) String() string { return proto.CompactTextString(m) } -func (*ValidatorActivationResponse) ProtoMessage() {} -func (*ValidatorActivationResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_f8ef4b6a7db76675, []int{3} -} -func (m *ValidatorActivationResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *ValidatorActivationResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_ValidatorActivationResponse.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *ValidatorActivationRequest) GetPublicKeys() [][]byte { + if x != nil { + return x.PublicKeys } + return nil } -func (m *ValidatorActivationResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ValidatorActivationResponse.Merge(m, src) -} -func (m *ValidatorActivationResponse) XXX_Size() int { - return m.Size() -} -func (m *ValidatorActivationResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ValidatorActivationResponse.DiscardUnknown(m) -} -var xxx_messageInfo_ValidatorActivationResponse proto.InternalMessageInfo +type ValidatorActivationResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Statuses []*ValidatorActivationResponse_Status `protobuf:"bytes,1,rep,name=statuses,proto3" json:"statuses,omitempty"` +} -func (m *ValidatorActivationResponse) GetStatuses() []*ValidatorActivationResponse_Status { - if m != nil { - return m.Statuses +func (x *ValidatorActivationResponse) Reset() { + *x = ValidatorActivationResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_eth_v1alpha1_validator_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } - return nil } -type ValidatorActivationResponse_Status struct { - PublicKey []byte `protobuf:"bytes,1,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"` - Status *ValidatorStatusResponse `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"` - Index github_com_prysmaticlabs_eth2_types.ValidatorIndex `protobuf:"varint,3,opt,name=index,proto3,casttype=github.com/prysmaticlabs/eth2-types.ValidatorIndex" json:"index,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +func (x *ValidatorActivationResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ValidatorActivationResponse_Status) Reset() { *m = ValidatorActivationResponse_Status{} } -func (m *ValidatorActivationResponse_Status) String() string { return proto.CompactTextString(m) } -func (*ValidatorActivationResponse_Status) ProtoMessage() {} -func (*ValidatorActivationResponse_Status) Descriptor() ([]byte, []int) { - return fileDescriptor_f8ef4b6a7db76675, []int{3, 0} -} -func (m *ValidatorActivationResponse_Status) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *ValidatorActivationResponse_Status) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_ValidatorActivationResponse_Status.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err +func (*ValidatorActivationResponse) ProtoMessage() {} + +func (x *ValidatorActivationResponse) ProtoReflect() protoreflect.Message { + mi := &file_eth_v1alpha1_validator_proto_msgTypes[3] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - return b[:n], nil + return ms } -} -func (m *ValidatorActivationResponse_Status) XXX_Merge(src proto.Message) { - xxx_messageInfo_ValidatorActivationResponse_Status.Merge(m, src) -} -func (m *ValidatorActivationResponse_Status) XXX_Size() int { - return m.Size() -} -func (m *ValidatorActivationResponse_Status) XXX_DiscardUnknown() { - xxx_messageInfo_ValidatorActivationResponse_Status.DiscardUnknown(m) + return mi.MessageOf(x) } -var xxx_messageInfo_ValidatorActivationResponse_Status proto.InternalMessageInfo +// Deprecated: Use ValidatorActivationResponse.ProtoReflect.Descriptor instead. +func (*ValidatorActivationResponse) Descriptor() ([]byte, []int) { + return file_eth_v1alpha1_validator_proto_rawDescGZIP(), []int{3} +} -func (m *ValidatorActivationResponse_Status) GetPublicKey() []byte { - if m != nil { - return m.PublicKey +func (x *ValidatorActivationResponse) GetStatuses() []*ValidatorActivationResponse_Status { + if x != nil { + return x.Statuses } return nil } -func (m *ValidatorActivationResponse_Status) GetStatus() *ValidatorStatusResponse { - if m != nil { - return m.Status - } - return nil +type ChainStartResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Started bool `protobuf:"varint,1,opt,name=started,proto3" json:"started,omitempty"` + GenesisTime uint64 `protobuf:"varint,2,opt,name=genesis_time,json=genesisTime,proto3" json:"genesis_time,omitempty"` + GenesisValidatorsRoot []byte `protobuf:"bytes,3,opt,name=genesis_validators_root,json=genesisValidatorsRoot,proto3" json:"genesis_validators_root,omitempty" ssz-size:"32"` } -func (m *ValidatorActivationResponse_Status) GetIndex() github_com_prysmaticlabs_eth2_types.ValidatorIndex { - if m != nil { - return m.Index +func (x *ChainStartResponse) Reset() { + *x = ChainStartResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_eth_v1alpha1_validator_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } - return 0 } -type ChainStartResponse struct { - Started bool `protobuf:"varint,1,opt,name=started,proto3" json:"started,omitempty"` - GenesisTime uint64 `protobuf:"varint,2,opt,name=genesis_time,json=genesisTime,proto3" json:"genesis_time,omitempty"` - GenesisValidatorsRoot []byte `protobuf:"bytes,3,opt,name=genesis_validators_root,json=genesisValidatorsRoot,proto3" json:"genesis_validators_root,omitempty" ssz-size:"32"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +func (x *ChainStartResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ChainStartResponse) Reset() { *m = ChainStartResponse{} } -func (m *ChainStartResponse) String() string { return proto.CompactTextString(m) } -func (*ChainStartResponse) ProtoMessage() {} -func (*ChainStartResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_f8ef4b6a7db76675, []int{4} -} -func (m *ChainStartResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *ChainStartResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_ChainStartResponse.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err +func (*ChainStartResponse) ProtoMessage() {} + +func (x *ChainStartResponse) ProtoReflect() protoreflect.Message { + mi := &file_eth_v1alpha1_validator_proto_msgTypes[4] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - return b[:n], nil + return ms } -} -func (m *ChainStartResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ChainStartResponse.Merge(m, src) -} -func (m *ChainStartResponse) XXX_Size() int { - return m.Size() -} -func (m *ChainStartResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ChainStartResponse.DiscardUnknown(m) + return mi.MessageOf(x) } -var xxx_messageInfo_ChainStartResponse proto.InternalMessageInfo +// Deprecated: Use ChainStartResponse.ProtoReflect.Descriptor instead. +func (*ChainStartResponse) Descriptor() ([]byte, []int) { + return file_eth_v1alpha1_validator_proto_rawDescGZIP(), []int{4} +} -func (m *ChainStartResponse) GetStarted() bool { - if m != nil { - return m.Started +func (x *ChainStartResponse) GetStarted() bool { + if x != nil { + return x.Started } return false } -func (m *ChainStartResponse) GetGenesisTime() uint64 { - if m != nil { - return m.GenesisTime +func (x *ChainStartResponse) GetGenesisTime() uint64 { + if x != nil { + return x.GenesisTime } return 0 } -func (m *ChainStartResponse) GetGenesisValidatorsRoot() []byte { - if m != nil { - return m.GenesisValidatorsRoot +func (x *ChainStartResponse) GetGenesisValidatorsRoot() []byte { + if x != nil { + return x.GenesisValidatorsRoot } return nil } type SyncedResponse struct { - Synced bool `protobuf:"varint,1,opt,name=synced,proto3" json:"synced,omitempty"` - GenesisTime uint64 `protobuf:"varint,2,opt,name=genesis_time,json=genesisTime,proto3" json:"genesis_time,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Synced bool `protobuf:"varint,1,opt,name=synced,proto3" json:"synced,omitempty"` + GenesisTime uint64 `protobuf:"varint,2,opt,name=genesis_time,json=genesisTime,proto3" json:"genesis_time,omitempty"` } -func (m *SyncedResponse) Reset() { *m = SyncedResponse{} } -func (m *SyncedResponse) String() string { return proto.CompactTextString(m) } -func (*SyncedResponse) ProtoMessage() {} -func (*SyncedResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_f8ef4b6a7db76675, []int{5} -} -func (m *SyncedResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *SyncedResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_SyncedResponse.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *SyncedResponse) Reset() { + *x = SyncedResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_eth_v1alpha1_validator_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *SyncedResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_SyncedResponse.Merge(m, src) -} -func (m *SyncedResponse) XXX_Size() int { - return m.Size() + +func (x *SyncedResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *SyncedResponse) XXX_DiscardUnknown() { - xxx_messageInfo_SyncedResponse.DiscardUnknown(m) + +func (*SyncedResponse) ProtoMessage() {} + +func (x *SyncedResponse) ProtoReflect() protoreflect.Message { + mi := &file_eth_v1alpha1_validator_proto_msgTypes[5] + 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) } -var xxx_messageInfo_SyncedResponse proto.InternalMessageInfo +// Deprecated: Use SyncedResponse.ProtoReflect.Descriptor instead. +func (*SyncedResponse) Descriptor() ([]byte, []int) { + return file_eth_v1alpha1_validator_proto_rawDescGZIP(), []int{5} +} -func (m *SyncedResponse) GetSynced() bool { - if m != nil { - return m.Synced +func (x *SyncedResponse) GetSynced() bool { + if x != nil { + return x.Synced } return false } -func (m *SyncedResponse) GetGenesisTime() uint64 { - if m != nil { - return m.GenesisTime +func (x *SyncedResponse) GetGenesisTime() uint64 { + if x != nil { + return x.GenesisTime } return 0 } type ValidatorIndexRequest struct { - PublicKey []byte `protobuf:"bytes,1,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty" ssz-size:"48"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + 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" ssz-size:"48"` } -func (m *ValidatorIndexRequest) Reset() { *m = ValidatorIndexRequest{} } -func (m *ValidatorIndexRequest) String() string { return proto.CompactTextString(m) } -func (*ValidatorIndexRequest) ProtoMessage() {} -func (*ValidatorIndexRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_f8ef4b6a7db76675, []int{6} -} -func (m *ValidatorIndexRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *ValidatorIndexRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_ValidatorIndexRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *ValidatorIndexRequest) Reset() { + *x = ValidatorIndexRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_eth_v1alpha1_validator_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *ValidatorIndexRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ValidatorIndexRequest.Merge(m, src) -} -func (m *ValidatorIndexRequest) XXX_Size() int { - return m.Size() + +func (x *ValidatorIndexRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ValidatorIndexRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ValidatorIndexRequest.DiscardUnknown(m) + +func (*ValidatorIndexRequest) ProtoMessage() {} + +func (x *ValidatorIndexRequest) ProtoReflect() protoreflect.Message { + mi := &file_eth_v1alpha1_validator_proto_msgTypes[6] + 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) } -var xxx_messageInfo_ValidatorIndexRequest proto.InternalMessageInfo +// Deprecated: Use ValidatorIndexRequest.ProtoReflect.Descriptor instead. +func (*ValidatorIndexRequest) Descriptor() ([]byte, []int) { + return file_eth_v1alpha1_validator_proto_rawDescGZIP(), []int{6} +} -func (m *ValidatorIndexRequest) GetPublicKey() []byte { - if m != nil { - return m.PublicKey +func (x *ValidatorIndexRequest) GetPublicKey() []byte { + if x != nil { + return x.PublicKey } return nil } type ValidatorIndexResponse struct { - Index github_com_prysmaticlabs_eth2_types.ValidatorIndex `protobuf:"varint,1,opt,name=index,proto3,casttype=github.com/prysmaticlabs/eth2-types.ValidatorIndex" json:"index,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Index github_com_prysmaticlabs_eth2_types.ValidatorIndex `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty" cast-type:"github.com/prysmaticlabs/eth2-types.ValidatorIndex"` } -func (m *ValidatorIndexResponse) Reset() { *m = ValidatorIndexResponse{} } -func (m *ValidatorIndexResponse) String() string { return proto.CompactTextString(m) } -func (*ValidatorIndexResponse) ProtoMessage() {} -func (*ValidatorIndexResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_f8ef4b6a7db76675, []int{7} -} -func (m *ValidatorIndexResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *ValidatorIndexResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_ValidatorIndexResponse.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *ValidatorIndexResponse) Reset() { + *x = ValidatorIndexResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_eth_v1alpha1_validator_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *ValidatorIndexResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ValidatorIndexResponse.Merge(m, src) -} -func (m *ValidatorIndexResponse) XXX_Size() int { - return m.Size() + +func (x *ValidatorIndexResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ValidatorIndexResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ValidatorIndexResponse.DiscardUnknown(m) + +func (*ValidatorIndexResponse) ProtoMessage() {} + +func (x *ValidatorIndexResponse) ProtoReflect() protoreflect.Message { + mi := &file_eth_v1alpha1_validator_proto_msgTypes[7] + 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) } -var xxx_messageInfo_ValidatorIndexResponse proto.InternalMessageInfo +// Deprecated: Use ValidatorIndexResponse.ProtoReflect.Descriptor instead. +func (*ValidatorIndexResponse) Descriptor() ([]byte, []int) { + return file_eth_v1alpha1_validator_proto_rawDescGZIP(), []int{7} +} -func (m *ValidatorIndexResponse) GetIndex() github_com_prysmaticlabs_eth2_types.ValidatorIndex { - if m != nil { - return m.Index +func (x *ValidatorIndexResponse) GetIndex() github_com_prysmaticlabs_eth2_types.ValidatorIndex { + if x != nil { + return x.Index } - return 0 + return github_com_prysmaticlabs_eth2_types.ValidatorIndex(0) } type ValidatorStatusRequest struct { - PublicKey []byte `protobuf:"bytes,1,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty" ssz-size:"48"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + 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" ssz-size:"48"` } -func (m *ValidatorStatusRequest) Reset() { *m = ValidatorStatusRequest{} } -func (m *ValidatorStatusRequest) String() string { return proto.CompactTextString(m) } -func (*ValidatorStatusRequest) ProtoMessage() {} -func (*ValidatorStatusRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_f8ef4b6a7db76675, []int{8} -} -func (m *ValidatorStatusRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *ValidatorStatusRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_ValidatorStatusRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *ValidatorStatusRequest) Reset() { + *x = ValidatorStatusRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_eth_v1alpha1_validator_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *ValidatorStatusRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ValidatorStatusRequest.Merge(m, src) -} -func (m *ValidatorStatusRequest) XXX_Size() int { - return m.Size() + +func (x *ValidatorStatusRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ValidatorStatusRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ValidatorStatusRequest.DiscardUnknown(m) + +func (*ValidatorStatusRequest) ProtoMessage() {} + +func (x *ValidatorStatusRequest) ProtoReflect() protoreflect.Message { + mi := &file_eth_v1alpha1_validator_proto_msgTypes[8] + 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) } -var xxx_messageInfo_ValidatorStatusRequest proto.InternalMessageInfo +// Deprecated: Use ValidatorStatusRequest.ProtoReflect.Descriptor instead. +func (*ValidatorStatusRequest) Descriptor() ([]byte, []int) { + return file_eth_v1alpha1_validator_proto_rawDescGZIP(), []int{8} +} -func (m *ValidatorStatusRequest) GetPublicKey() []byte { - if m != nil { - return m.PublicKey +func (x *ValidatorStatusRequest) GetPublicKey() []byte { + if x != nil { + return x.PublicKey } return nil } type ValidatorStatusResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + Status ValidatorStatus `protobuf:"varint,1,opt,name=status,proto3,enum=ethereum.eth.v1alpha1.ValidatorStatus" json:"status,omitempty"` Eth1DepositBlockNumber uint64 `protobuf:"varint,2,opt,name=eth1_deposit_block_number,json=eth1DepositBlockNumber,proto3" json:"eth1_deposit_block_number,omitempty"` - DepositInclusionSlot github_com_prysmaticlabs_eth2_types.Slot `protobuf:"varint,3,opt,name=deposit_inclusion_slot,json=depositInclusionSlot,proto3,casttype=github.com/prysmaticlabs/eth2-types.Slot" json:"deposit_inclusion_slot,omitempty"` - ActivationEpoch github_com_prysmaticlabs_eth2_types.Epoch `protobuf:"varint,4,opt,name=activation_epoch,json=activationEpoch,proto3,casttype=github.com/prysmaticlabs/eth2-types.Epoch" json:"activation_epoch,omitempty"` + DepositInclusionSlot github_com_prysmaticlabs_eth2_types.Slot `protobuf:"varint,3,opt,name=deposit_inclusion_slot,json=depositInclusionSlot,proto3" json:"deposit_inclusion_slot,omitempty" cast-type:"github.com/prysmaticlabs/eth2-types.Slot"` + ActivationEpoch github_com_prysmaticlabs_eth2_types.Epoch `protobuf:"varint,4,opt,name=activation_epoch,json=activationEpoch,proto3" json:"activation_epoch,omitempty" cast-type:"github.com/prysmaticlabs/eth2-types.Epoch"` PositionInActivationQueue uint64 `protobuf:"varint,5,opt,name=position_in_activation_queue,json=positionInActivationQueue,proto3" json:"position_in_activation_queue,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` } -func (m *ValidatorStatusResponse) Reset() { *m = ValidatorStatusResponse{} } -func (m *ValidatorStatusResponse) String() string { return proto.CompactTextString(m) } -func (*ValidatorStatusResponse) ProtoMessage() {} -func (*ValidatorStatusResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_f8ef4b6a7db76675, []int{9} -} -func (m *ValidatorStatusResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *ValidatorStatusResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_ValidatorStatusResponse.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *ValidatorStatusResponse) Reset() { + *x = ValidatorStatusResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_eth_v1alpha1_validator_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *ValidatorStatusResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ValidatorStatusResponse.Merge(m, src) -} -func (m *ValidatorStatusResponse) XXX_Size() int { - return m.Size() + +func (x *ValidatorStatusResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ValidatorStatusResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ValidatorStatusResponse.DiscardUnknown(m) + +func (*ValidatorStatusResponse) ProtoMessage() {} + +func (x *ValidatorStatusResponse) ProtoReflect() protoreflect.Message { + mi := &file_eth_v1alpha1_validator_proto_msgTypes[9] + 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) } -var xxx_messageInfo_ValidatorStatusResponse proto.InternalMessageInfo +// Deprecated: Use ValidatorStatusResponse.ProtoReflect.Descriptor instead. +func (*ValidatorStatusResponse) Descriptor() ([]byte, []int) { + return file_eth_v1alpha1_validator_proto_rawDescGZIP(), []int{9} +} -func (m *ValidatorStatusResponse) GetStatus() ValidatorStatus { - if m != nil { - return m.Status +func (x *ValidatorStatusResponse) GetStatus() ValidatorStatus { + if x != nil { + return x.Status } return ValidatorStatus_UNKNOWN_STATUS } -func (m *ValidatorStatusResponse) GetEth1DepositBlockNumber() uint64 { - if m != nil { - return m.Eth1DepositBlockNumber +func (x *ValidatorStatusResponse) GetEth1DepositBlockNumber() uint64 { + if x != nil { + return x.Eth1DepositBlockNumber } return 0 } -func (m *ValidatorStatusResponse) GetDepositInclusionSlot() github_com_prysmaticlabs_eth2_types.Slot { - if m != nil { - return m.DepositInclusionSlot +func (x *ValidatorStatusResponse) GetDepositInclusionSlot() github_com_prysmaticlabs_eth2_types.Slot { + if x != nil { + return x.DepositInclusionSlot } - return 0 + return github_com_prysmaticlabs_eth2_types.Slot(0) } -func (m *ValidatorStatusResponse) GetActivationEpoch() github_com_prysmaticlabs_eth2_types.Epoch { - if m != nil { - return m.ActivationEpoch +func (x *ValidatorStatusResponse) GetActivationEpoch() github_com_prysmaticlabs_eth2_types.Epoch { + if x != nil { + return x.ActivationEpoch } - return 0 + return github_com_prysmaticlabs_eth2_types.Epoch(0) } -func (m *ValidatorStatusResponse) GetPositionInActivationQueue() uint64 { - if m != nil { - return m.PositionInActivationQueue +func (x *ValidatorStatusResponse) GetPositionInActivationQueue() uint64 { + if x != nil { + return x.PositionInActivationQueue } return 0 } type MultipleValidatorStatusRequest struct { - PublicKeys [][]byte `protobuf:"bytes,1,rep,name=public_keys,json=publicKeys,proto3" json:"public_keys,omitempty" ssz-size:"?,48"` - Indices []int64 `protobuf:"varint,2,rep,packed,name=indices,proto3" json:"indices,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + PublicKeys [][]byte `protobuf:"bytes,1,rep,name=public_keys,json=publicKeys,proto3" json:"public_keys,omitempty" ssz-size:"?,48"` + Indices []int64 `protobuf:"varint,2,rep,packed,name=indices,proto3" json:"indices,omitempty"` } -func (m *MultipleValidatorStatusRequest) Reset() { *m = MultipleValidatorStatusRequest{} } -func (m *MultipleValidatorStatusRequest) String() string { return proto.CompactTextString(m) } -func (*MultipleValidatorStatusRequest) ProtoMessage() {} -func (*MultipleValidatorStatusRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_f8ef4b6a7db76675, []int{10} -} -func (m *MultipleValidatorStatusRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *MultipleValidatorStatusRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_MultipleValidatorStatusRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *MultipleValidatorStatusRequest) Reset() { + *x = MultipleValidatorStatusRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_eth_v1alpha1_validator_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *MultipleValidatorStatusRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_MultipleValidatorStatusRequest.Merge(m, src) -} -func (m *MultipleValidatorStatusRequest) XXX_Size() int { - return m.Size() + +func (x *MultipleValidatorStatusRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *MultipleValidatorStatusRequest) XXX_DiscardUnknown() { - xxx_messageInfo_MultipleValidatorStatusRequest.DiscardUnknown(m) + +func (*MultipleValidatorStatusRequest) ProtoMessage() {} + +func (x *MultipleValidatorStatusRequest) ProtoReflect() protoreflect.Message { + mi := &file_eth_v1alpha1_validator_proto_msgTypes[10] + 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) } -var xxx_messageInfo_MultipleValidatorStatusRequest proto.InternalMessageInfo +// Deprecated: Use MultipleValidatorStatusRequest.ProtoReflect.Descriptor instead. +func (*MultipleValidatorStatusRequest) Descriptor() ([]byte, []int) { + return file_eth_v1alpha1_validator_proto_rawDescGZIP(), []int{10} +} -func (m *MultipleValidatorStatusRequest) GetPublicKeys() [][]byte { - if m != nil { - return m.PublicKeys +func (x *MultipleValidatorStatusRequest) GetPublicKeys() [][]byte { + if x != nil { + return x.PublicKeys } return nil } -func (m *MultipleValidatorStatusRequest) GetIndices() []int64 { - if m != nil { - return m.Indices +func (x *MultipleValidatorStatusRequest) GetIndices() []int64 { + if x != nil { + return x.Indices } return nil } type MultipleValidatorStatusResponse struct { - PublicKeys [][]byte `protobuf:"bytes,1,rep,name=public_keys,json=publicKeys,proto3" json:"public_keys,omitempty" ssz-size:"?,48"` - Statuses []*ValidatorStatusResponse `protobuf:"bytes,2,rep,name=statuses,proto3" json:"statuses,omitempty"` - Indices []github_com_prysmaticlabs_eth2_types.ValidatorIndex `protobuf:"varint,3,rep,packed,name=indices,proto3,casttype=github.com/prysmaticlabs/eth2-types.ValidatorIndex" json:"indices,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + PublicKeys [][]byte `protobuf:"bytes,1,rep,name=public_keys,json=publicKeys,proto3" json:"public_keys,omitempty" ssz-size:"?,48"` + Statuses []*ValidatorStatusResponse `protobuf:"bytes,2,rep,name=statuses,proto3" json:"statuses,omitempty"` + Indices []github_com_prysmaticlabs_eth2_types.ValidatorIndex `protobuf:"varint,3,rep,packed,name=indices,proto3" json:"indices,omitempty" cast-type:"github.com/prysmaticlabs/eth2-types.ValidatorIndex"` } -func (m *MultipleValidatorStatusResponse) Reset() { *m = MultipleValidatorStatusResponse{} } -func (m *MultipleValidatorStatusResponse) String() string { return proto.CompactTextString(m) } -func (*MultipleValidatorStatusResponse) ProtoMessage() {} -func (*MultipleValidatorStatusResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_f8ef4b6a7db76675, []int{11} -} -func (m *MultipleValidatorStatusResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *MultipleValidatorStatusResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_MultipleValidatorStatusResponse.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *MultipleValidatorStatusResponse) Reset() { + *x = MultipleValidatorStatusResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_eth_v1alpha1_validator_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *MultipleValidatorStatusResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_MultipleValidatorStatusResponse.Merge(m, src) -} -func (m *MultipleValidatorStatusResponse) XXX_Size() int { - return m.Size() -} -func (m *MultipleValidatorStatusResponse) XXX_DiscardUnknown() { - xxx_messageInfo_MultipleValidatorStatusResponse.DiscardUnknown(m) + +func (x *MultipleValidatorStatusResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -var xxx_messageInfo_MultipleValidatorStatusResponse proto.InternalMessageInfo +func (*MultipleValidatorStatusResponse) ProtoMessage() {} -func (m *MultipleValidatorStatusResponse) GetPublicKeys() [][]byte { - if m != nil { - return m.PublicKeys +func (x *MultipleValidatorStatusResponse) ProtoReflect() protoreflect.Message { + mi := &file_eth_v1alpha1_validator_proto_msgTypes[11] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms } - return nil + return mi.MessageOf(x) } -func (m *MultipleValidatorStatusResponse) GetStatuses() []*ValidatorStatusResponse { - if m != nil { - return m.Statuses - } - return nil +// Deprecated: Use MultipleValidatorStatusResponse.ProtoReflect.Descriptor instead. +func (*MultipleValidatorStatusResponse) Descriptor() ([]byte, []int) { + return file_eth_v1alpha1_validator_proto_rawDescGZIP(), []int{11} } -func (m *MultipleValidatorStatusResponse) GetIndices() []github_com_prysmaticlabs_eth2_types.ValidatorIndex { - if m != nil { - return m.Indices +func (x *MultipleValidatorStatusResponse) GetPublicKeys() [][]byte { + if x != nil { + return x.PublicKeys } return nil } -type DutiesRequest struct { - Epoch github_com_prysmaticlabs_eth2_types.Epoch `protobuf:"varint,1,opt,name=epoch,proto3,casttype=github.com/prysmaticlabs/eth2-types.Epoch" json:"epoch,omitempty"` - PublicKeys [][]byte `protobuf:"bytes,2,rep,name=public_keys,json=publicKeys,proto3" json:"public_keys,omitempty" ssz-size:"?,48"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +func (x *MultipleValidatorStatusResponse) GetStatuses() []*ValidatorStatusResponse { + if x != nil { + return x.Statuses + } + return nil } -func (m *DutiesRequest) Reset() { *m = DutiesRequest{} } -func (m *DutiesRequest) String() string { return proto.CompactTextString(m) } -func (*DutiesRequest) ProtoMessage() {} -func (*DutiesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_f8ef4b6a7db76675, []int{12} -} -func (m *DutiesRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *DutiesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_DutiesRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *MultipleValidatorStatusResponse) GetIndices() []github_com_prysmaticlabs_eth2_types.ValidatorIndex { + if x != nil { + return x.Indices } -} -func (m *DutiesRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DutiesRequest.Merge(m, src) -} -func (m *DutiesRequest) XXX_Size() int { - return m.Size() -} -func (m *DutiesRequest) XXX_DiscardUnknown() { - xxx_messageInfo_DutiesRequest.DiscardUnknown(m) + return []github_com_prysmaticlabs_eth2_types.ValidatorIndex(nil) } -var xxx_messageInfo_DutiesRequest proto.InternalMessageInfo +type DutiesRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *DutiesRequest) GetEpoch() github_com_prysmaticlabs_eth2_types.Epoch { - if m != nil { - return m.Epoch - } - return 0 + Epoch github_com_prysmaticlabs_eth2_types.Epoch `protobuf:"varint,1,opt,name=epoch,proto3" json:"epoch,omitempty" cast-type:"github.com/prysmaticlabs/eth2-types.Epoch"` + PublicKeys [][]byte `protobuf:"bytes,2,rep,name=public_keys,json=publicKeys,proto3" json:"public_keys,omitempty" ssz-size:"?,48"` } -func (m *DutiesRequest) GetPublicKeys() [][]byte { - if m != nil { - return m.PublicKeys +func (x *DutiesRequest) Reset() { + *x = DutiesRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_eth_v1alpha1_validator_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } - return nil } -type DutiesResponse struct { - Duties []*DutiesResponse_Duty `protobuf:"bytes,1,rep,name=duties,proto3" json:"duties,omitempty"` // Deprecated: Do not use. - CurrentEpochDuties []*DutiesResponse_Duty `protobuf:"bytes,2,rep,name=current_epoch_duties,json=currentEpochDuties,proto3" json:"current_epoch_duties,omitempty"` - NextEpochDuties []*DutiesResponse_Duty `protobuf:"bytes,3,rep,name=next_epoch_duties,json=nextEpochDuties,proto3" json:"next_epoch_duties,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +func (x *DutiesRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *DutiesResponse) Reset() { *m = DutiesResponse{} } -func (m *DutiesResponse) String() string { return proto.CompactTextString(m) } -func (*DutiesResponse) ProtoMessage() {} -func (*DutiesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_f8ef4b6a7db76675, []int{13} -} -func (m *DutiesResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *DutiesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_DutiesResponse.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err +func (*DutiesRequest) ProtoMessage() {} + +func (x *DutiesRequest) ProtoReflect() protoreflect.Message { + mi := &file_eth_v1alpha1_validator_proto_msgTypes[12] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - return b[:n], nil + return ms } -} -func (m *DutiesResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_DutiesResponse.Merge(m, src) -} -func (m *DutiesResponse) XXX_Size() int { - return m.Size() -} -func (m *DutiesResponse) XXX_DiscardUnknown() { - xxx_messageInfo_DutiesResponse.DiscardUnknown(m) + return mi.MessageOf(x) } -var xxx_messageInfo_DutiesResponse proto.InternalMessageInfo +// Deprecated: Use DutiesRequest.ProtoReflect.Descriptor instead. +func (*DutiesRequest) Descriptor() ([]byte, []int) { + return file_eth_v1alpha1_validator_proto_rawDescGZIP(), []int{12} +} -// Deprecated: Do not use. -func (m *DutiesResponse) GetDuties() []*DutiesResponse_Duty { - if m != nil { - return m.Duties +func (x *DutiesRequest) GetEpoch() github_com_prysmaticlabs_eth2_types.Epoch { + if x != nil { + return x.Epoch } - return nil + return github_com_prysmaticlabs_eth2_types.Epoch(0) } -func (m *DutiesResponse) GetCurrentEpochDuties() []*DutiesResponse_Duty { - if m != nil { - return m.CurrentEpochDuties +func (x *DutiesRequest) GetPublicKeys() [][]byte { + if x != nil { + return x.PublicKeys } return nil } -func (m *DutiesResponse) GetNextEpochDuties() []*DutiesResponse_Duty { - if m != nil { - return m.NextEpochDuties - } - return nil +type DutiesResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Deprecated: Do not use. + Duties []*DutiesResponse_Duty `protobuf:"bytes,1,rep,name=duties,proto3" json:"duties,omitempty"` + CurrentEpochDuties []*DutiesResponse_Duty `protobuf:"bytes,2,rep,name=current_epoch_duties,json=currentEpochDuties,proto3" json:"current_epoch_duties,omitempty"` + NextEpochDuties []*DutiesResponse_Duty `protobuf:"bytes,3,rep,name=next_epoch_duties,json=nextEpochDuties,proto3" json:"next_epoch_duties,omitempty"` } -type DutiesResponse_Duty struct { - Committee []github_com_prysmaticlabs_eth2_types.ValidatorIndex `protobuf:"varint,1,rep,packed,name=committee,proto3,casttype=github.com/prysmaticlabs/eth2-types.ValidatorIndex" json:"committee,omitempty"` - CommitteeIndex github_com_prysmaticlabs_eth2_types.CommitteeIndex `protobuf:"varint,2,opt,name=committee_index,json=committeeIndex,proto3,casttype=github.com/prysmaticlabs/eth2-types.CommitteeIndex" json:"committee_index,omitempty"` - AttesterSlot github_com_prysmaticlabs_eth2_types.Slot `protobuf:"varint,3,opt,name=attester_slot,json=attesterSlot,proto3,casttype=github.com/prysmaticlabs/eth2-types.Slot" json:"attester_slot,omitempty"` - ProposerSlots []github_com_prysmaticlabs_eth2_types.Slot `protobuf:"varint,4,rep,packed,name=proposer_slots,json=proposerSlots,proto3,casttype=github.com/prysmaticlabs/eth2-types.Slot" json:"proposer_slots,omitempty"` - PublicKey []byte `protobuf:"bytes,5,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty" ssz-size:"48"` - Status ValidatorStatus `protobuf:"varint,6,opt,name=status,proto3,enum=ethereum.eth.v1alpha1.ValidatorStatus" json:"status,omitempty"` - ValidatorIndex github_com_prysmaticlabs_eth2_types.ValidatorIndex `protobuf:"varint,7,opt,name=validator_index,json=validatorIndex,proto3,casttype=github.com/prysmaticlabs/eth2-types.ValidatorIndex" json:"validator_index,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *DutiesResponse_Duty) Reset() { *m = DutiesResponse_Duty{} } -func (m *DutiesResponse_Duty) String() string { return proto.CompactTextString(m) } -func (*DutiesResponse_Duty) ProtoMessage() {} -func (*DutiesResponse_Duty) Descriptor() ([]byte, []int) { - return fileDescriptor_f8ef4b6a7db76675, []int{13, 0} -} -func (m *DutiesResponse_Duty) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *DutiesResponse_Duty) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_DutiesResponse_Duty.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *DutiesResponse) Reset() { + *x = DutiesResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_eth_v1alpha1_validator_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *DutiesResponse_Duty) XXX_Merge(src proto.Message) { - xxx_messageInfo_DutiesResponse_Duty.Merge(m, src) -} -func (m *DutiesResponse_Duty) XXX_Size() int { - return m.Size() -} -func (m *DutiesResponse_Duty) XXX_DiscardUnknown() { - xxx_messageInfo_DutiesResponse_Duty.DiscardUnknown(m) + +func (x *DutiesResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -var xxx_messageInfo_DutiesResponse_Duty proto.InternalMessageInfo +func (*DutiesResponse) ProtoMessage() {} -func (m *DutiesResponse_Duty) GetCommittee() []github_com_prysmaticlabs_eth2_types.ValidatorIndex { - if m != nil { - return m.Committee +func (x *DutiesResponse) ProtoReflect() protoreflect.Message { + mi := &file_eth_v1alpha1_validator_proto_msgTypes[13] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms } - return nil + return mi.MessageOf(x) } -func (m *DutiesResponse_Duty) GetCommitteeIndex() github_com_prysmaticlabs_eth2_types.CommitteeIndex { - if m != nil { - return m.CommitteeIndex - } - return 0 +// Deprecated: Use DutiesResponse.ProtoReflect.Descriptor instead. +func (*DutiesResponse) Descriptor() ([]byte, []int) { + return file_eth_v1alpha1_validator_proto_rawDescGZIP(), []int{13} } -func (m *DutiesResponse_Duty) GetAttesterSlot() github_com_prysmaticlabs_eth2_types.Slot { - if m != nil { - return m.AttesterSlot +// Deprecated: Do not use. +func (x *DutiesResponse) GetDuties() []*DutiesResponse_Duty { + if x != nil { + return x.Duties } - return 0 + return nil } -func (m *DutiesResponse_Duty) GetProposerSlots() []github_com_prysmaticlabs_eth2_types.Slot { - if m != nil { - return m.ProposerSlots +func (x *DutiesResponse) GetCurrentEpochDuties() []*DutiesResponse_Duty { + if x != nil { + return x.CurrentEpochDuties } return nil } -func (m *DutiesResponse_Duty) GetPublicKey() []byte { - if m != nil { - return m.PublicKey +func (x *DutiesResponse) GetNextEpochDuties() []*DutiesResponse_Duty { + if x != nil { + return x.NextEpochDuties } return nil } -func (m *DutiesResponse_Duty) GetStatus() ValidatorStatus { - if m != nil { - return m.Status - } - return ValidatorStatus_UNKNOWN_STATUS +type BlockRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Slot github_com_prysmaticlabs_eth2_types.Slot `protobuf:"varint,1,opt,name=slot,proto3" json:"slot,omitempty" cast-type:"github.com/prysmaticlabs/eth2-types.Slot"` + RandaoReveal []byte `protobuf:"bytes,2,opt,name=randao_reveal,json=randaoReveal,proto3" json:"randao_reveal,omitempty" ssz-size:"48"` + Graffiti []byte `protobuf:"bytes,3,opt,name=graffiti,proto3" json:"graffiti,omitempty" ssz-size:"32"` } -func (m *DutiesResponse_Duty) GetValidatorIndex() github_com_prysmaticlabs_eth2_types.ValidatorIndex { - if m != nil { - return m.ValidatorIndex +func (x *BlockRequest) Reset() { + *x = BlockRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_eth_v1alpha1_validator_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } - return 0 } -type BlockRequest struct { - Slot github_com_prysmaticlabs_eth2_types.Slot `protobuf:"varint,1,opt,name=slot,proto3,casttype=github.com/prysmaticlabs/eth2-types.Slot" json:"slot,omitempty"` - RandaoReveal []byte `protobuf:"bytes,2,opt,name=randao_reveal,json=randaoReveal,proto3" json:"randao_reveal,omitempty" ssz-size:"48"` - Graffiti []byte `protobuf:"bytes,3,opt,name=graffiti,proto3" json:"graffiti,omitempty" ssz-size:"32"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +func (x *BlockRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *BlockRequest) Reset() { *m = BlockRequest{} } -func (m *BlockRequest) String() string { return proto.CompactTextString(m) } -func (*BlockRequest) ProtoMessage() {} -func (*BlockRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_f8ef4b6a7db76675, []int{14} -} -func (m *BlockRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *BlockRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_BlockRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err +func (*BlockRequest) ProtoMessage() {} + +func (x *BlockRequest) ProtoReflect() protoreflect.Message { + mi := &file_eth_v1alpha1_validator_proto_msgTypes[14] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - return b[:n], nil + return ms } -} -func (m *BlockRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_BlockRequest.Merge(m, src) -} -func (m *BlockRequest) XXX_Size() int { - return m.Size() -} -func (m *BlockRequest) XXX_DiscardUnknown() { - xxx_messageInfo_BlockRequest.DiscardUnknown(m) + return mi.MessageOf(x) } -var xxx_messageInfo_BlockRequest proto.InternalMessageInfo +// Deprecated: Use BlockRequest.ProtoReflect.Descriptor instead. +func (*BlockRequest) Descriptor() ([]byte, []int) { + return file_eth_v1alpha1_validator_proto_rawDescGZIP(), []int{14} +} -func (m *BlockRequest) GetSlot() github_com_prysmaticlabs_eth2_types.Slot { - if m != nil { - return m.Slot +func (x *BlockRequest) GetSlot() github_com_prysmaticlabs_eth2_types.Slot { + if x != nil { + return x.Slot } - return 0 + return github_com_prysmaticlabs_eth2_types.Slot(0) } -func (m *BlockRequest) GetRandaoReveal() []byte { - if m != nil { - return m.RandaoReveal +func (x *BlockRequest) GetRandaoReveal() []byte { + if x != nil { + return x.RandaoReveal } return nil } -func (m *BlockRequest) GetGraffiti() []byte { - if m != nil { - return m.Graffiti +func (x *BlockRequest) GetGraffiti() []byte { + if x != nil { + return x.Graffiti } return nil } type ProposeResponse struct { - BlockRoot []byte `protobuf:"bytes,1,opt,name=block_root,json=blockRoot,proto3" json:"block_root,omitempty" ssz-size:"32"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + BlockRoot []byte `protobuf:"bytes,1,opt,name=block_root,json=blockRoot,proto3" json:"block_root,omitempty" ssz-size:"32"` } -func (m *ProposeResponse) Reset() { *m = ProposeResponse{} } -func (m *ProposeResponse) String() string { return proto.CompactTextString(m) } -func (*ProposeResponse) ProtoMessage() {} -func (*ProposeResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_f8ef4b6a7db76675, []int{15} -} -func (m *ProposeResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *ProposeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_ProposeResponse.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *ProposeResponse) Reset() { + *x = ProposeResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_eth_v1alpha1_validator_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *ProposeResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ProposeResponse.Merge(m, src) -} -func (m *ProposeResponse) XXX_Size() int { - return m.Size() + +func (x *ProposeResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ProposeResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ProposeResponse.DiscardUnknown(m) + +func (*ProposeResponse) ProtoMessage() {} + +func (x *ProposeResponse) ProtoReflect() protoreflect.Message { + mi := &file_eth_v1alpha1_validator_proto_msgTypes[15] + 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) } -var xxx_messageInfo_ProposeResponse proto.InternalMessageInfo +// Deprecated: Use ProposeResponse.ProtoReflect.Descriptor instead. +func (*ProposeResponse) Descriptor() ([]byte, []int) { + return file_eth_v1alpha1_validator_proto_rawDescGZIP(), []int{15} +} -func (m *ProposeResponse) GetBlockRoot() []byte { - if m != nil { - return m.BlockRoot +func (x *ProposeResponse) GetBlockRoot() []byte { + if x != nil { + return x.BlockRoot } return nil } type ProposeExitResponse struct { - ExitRoot []byte `protobuf:"bytes,1,opt,name=exit_root,json=exitRoot,proto3" json:"exit_root,omitempty" ssz-size:"32"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ExitRoot []byte `protobuf:"bytes,1,opt,name=exit_root,json=exitRoot,proto3" json:"exit_root,omitempty" ssz-size:"32"` } -func (m *ProposeExitResponse) Reset() { *m = ProposeExitResponse{} } -func (m *ProposeExitResponse) String() string { return proto.CompactTextString(m) } -func (*ProposeExitResponse) ProtoMessage() {} -func (*ProposeExitResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_f8ef4b6a7db76675, []int{16} -} -func (m *ProposeExitResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *ProposeExitResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_ProposeExitResponse.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *ProposeExitResponse) Reset() { + *x = ProposeExitResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_eth_v1alpha1_validator_proto_msgTypes[16] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *ProposeExitResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ProposeExitResponse.Merge(m, src) -} -func (m *ProposeExitResponse) XXX_Size() int { - return m.Size() + +func (x *ProposeExitResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ProposeExitResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ProposeExitResponse.DiscardUnknown(m) + +func (*ProposeExitResponse) ProtoMessage() {} + +func (x *ProposeExitResponse) ProtoReflect() protoreflect.Message { + mi := &file_eth_v1alpha1_validator_proto_msgTypes[16] + 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) } -var xxx_messageInfo_ProposeExitResponse proto.InternalMessageInfo +// Deprecated: Use ProposeExitResponse.ProtoReflect.Descriptor instead. +func (*ProposeExitResponse) Descriptor() ([]byte, []int) { + return file_eth_v1alpha1_validator_proto_rawDescGZIP(), []int{16} +} -func (m *ProposeExitResponse) GetExitRoot() []byte { - if m != nil { - return m.ExitRoot +func (x *ProposeExitResponse) GetExitRoot() []byte { + if x != nil { + return x.ExitRoot } return nil } type AttestationDataRequest struct { - Slot github_com_prysmaticlabs_eth2_types.Slot `protobuf:"varint,1,opt,name=slot,proto3,casttype=github.com/prysmaticlabs/eth2-types.Slot" json:"slot,omitempty"` - CommitteeIndex github_com_prysmaticlabs_eth2_types.CommitteeIndex `protobuf:"varint,2,opt,name=committee_index,json=committeeIndex,proto3,casttype=github.com/prysmaticlabs/eth2-types.CommitteeIndex" json:"committee_index,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Slot github_com_prysmaticlabs_eth2_types.Slot `protobuf:"varint,1,opt,name=slot,proto3" json:"slot,omitempty" cast-type:"github.com/prysmaticlabs/eth2-types.Slot"` + CommitteeIndex github_com_prysmaticlabs_eth2_types.CommitteeIndex `protobuf:"varint,2,opt,name=committee_index,json=committeeIndex,proto3" json:"committee_index,omitempty" cast-type:"github.com/prysmaticlabs/eth2-types.CommitteeIndex"` } -func (m *AttestationDataRequest) Reset() { *m = AttestationDataRequest{} } -func (m *AttestationDataRequest) String() string { return proto.CompactTextString(m) } -func (*AttestationDataRequest) ProtoMessage() {} -func (*AttestationDataRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_f8ef4b6a7db76675, []int{17} -} -func (m *AttestationDataRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *AttestationDataRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_AttestationDataRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *AttestationDataRequest) Reset() { + *x = AttestationDataRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_eth_v1alpha1_validator_proto_msgTypes[17] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *AttestationDataRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_AttestationDataRequest.Merge(m, src) -} -func (m *AttestationDataRequest) XXX_Size() int { - return m.Size() + +func (x *AttestationDataRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *AttestationDataRequest) XXX_DiscardUnknown() { - xxx_messageInfo_AttestationDataRequest.DiscardUnknown(m) + +func (*AttestationDataRequest) ProtoMessage() {} + +func (x *AttestationDataRequest) ProtoReflect() protoreflect.Message { + mi := &file_eth_v1alpha1_validator_proto_msgTypes[17] + 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) } -var xxx_messageInfo_AttestationDataRequest proto.InternalMessageInfo +// Deprecated: Use AttestationDataRequest.ProtoReflect.Descriptor instead. +func (*AttestationDataRequest) Descriptor() ([]byte, []int) { + return file_eth_v1alpha1_validator_proto_rawDescGZIP(), []int{17} +} -func (m *AttestationDataRequest) GetSlot() github_com_prysmaticlabs_eth2_types.Slot { - if m != nil { - return m.Slot +func (x *AttestationDataRequest) GetSlot() github_com_prysmaticlabs_eth2_types.Slot { + if x != nil { + return x.Slot } - return 0 + return github_com_prysmaticlabs_eth2_types.Slot(0) } -func (m *AttestationDataRequest) GetCommitteeIndex() github_com_prysmaticlabs_eth2_types.CommitteeIndex { - if m != nil { - return m.CommitteeIndex +func (x *AttestationDataRequest) GetCommitteeIndex() github_com_prysmaticlabs_eth2_types.CommitteeIndex { + if x != nil { + return x.CommitteeIndex } - return 0 + return github_com_prysmaticlabs_eth2_types.CommitteeIndex(0) } type AttestResponse struct { - AttestationDataRoot []byte `protobuf:"bytes,1,opt,name=attestation_data_root,json=attestationDataRoot,proto3" json:"attestation_data_root,omitempty" ssz-size:"32"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + AttestationDataRoot []byte `protobuf:"bytes,1,opt,name=attestation_data_root,json=attestationDataRoot,proto3" json:"attestation_data_root,omitempty" ssz-size:"32"` } -func (m *AttestResponse) Reset() { *m = AttestResponse{} } -func (m *AttestResponse) String() string { return proto.CompactTextString(m) } -func (*AttestResponse) ProtoMessage() {} -func (*AttestResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_f8ef4b6a7db76675, []int{18} -} -func (m *AttestResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *AttestResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_AttestResponse.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *AttestResponse) Reset() { + *x = AttestResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_eth_v1alpha1_validator_proto_msgTypes[18] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *AttestResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_AttestResponse.Merge(m, src) -} -func (m *AttestResponse) XXX_Size() int { - return m.Size() -} -func (m *AttestResponse) XXX_DiscardUnknown() { - xxx_messageInfo_AttestResponse.DiscardUnknown(m) + +func (x *AttestResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -var xxx_messageInfo_AttestResponse proto.InternalMessageInfo +func (*AttestResponse) ProtoMessage() {} -func (m *AttestResponse) GetAttestationDataRoot() []byte { - if m != nil { - return m.AttestationDataRoot +func (x *AttestResponse) ProtoReflect() protoreflect.Message { + mi := &file_eth_v1alpha1_validator_proto_msgTypes[18] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms } - return nil + return mi.MessageOf(x) } -type AggregateSelectionRequest struct { - Slot github_com_prysmaticlabs_eth2_types.Slot `protobuf:"varint,1,opt,name=slot,proto3,casttype=github.com/prysmaticlabs/eth2-types.Slot" json:"slot,omitempty"` - CommitteeIndex github_com_prysmaticlabs_eth2_types.CommitteeIndex `protobuf:"varint,2,opt,name=committee_index,json=committeeIndex,proto3,casttype=github.com/prysmaticlabs/eth2-types.CommitteeIndex" json:"committee_index,omitempty"` - PublicKey []byte `protobuf:"bytes,3,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty" ssz-size:"48" spec-name:"pubkey"` - SlotSignature []byte `protobuf:"bytes,4,opt,name=slot_signature,json=slotSignature,proto3" json:"slot_signature,omitempty" ssz-size:"96"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *AggregateSelectionRequest) Reset() { *m = AggregateSelectionRequest{} } -func (m *AggregateSelectionRequest) String() string { return proto.CompactTextString(m) } -func (*AggregateSelectionRequest) ProtoMessage() {} -func (*AggregateSelectionRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_f8ef4b6a7db76675, []int{19} -} -func (m *AggregateSelectionRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *AggregateSelectionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_AggregateSelectionRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +// Deprecated: Use AttestResponse.ProtoReflect.Descriptor instead. +func (*AttestResponse) Descriptor() ([]byte, []int) { + return file_eth_v1alpha1_validator_proto_rawDescGZIP(), []int{18} +} + +func (x *AttestResponse) GetAttestationDataRoot() []byte { + if x != nil { + return x.AttestationDataRoot } + return nil } -func (m *AggregateSelectionRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_AggregateSelectionRequest.Merge(m, src) + +type AggregateSelectionRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Slot github_com_prysmaticlabs_eth2_types.Slot `protobuf:"varint,1,opt,name=slot,proto3" json:"slot,omitempty" cast-type:"github.com/prysmaticlabs/eth2-types.Slot"` + CommitteeIndex github_com_prysmaticlabs_eth2_types.CommitteeIndex `protobuf:"varint,2,opt,name=committee_index,json=committeeIndex,proto3" json:"committee_index,omitempty" cast-type:"github.com/prysmaticlabs/eth2-types.CommitteeIndex"` + PublicKey []byte `protobuf:"bytes,3,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty" spec-name:"pubkey" ssz-size:"48"` + SlotSignature []byte `protobuf:"bytes,4,opt,name=slot_signature,json=slotSignature,proto3" json:"slot_signature,omitempty" ssz-size:"96"` } -func (m *AggregateSelectionRequest) XXX_Size() int { - return m.Size() + +func (x *AggregateSelectionRequest) Reset() { + *x = AggregateSelectionRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_eth_v1alpha1_validator_proto_msgTypes[19] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *AggregateSelectionRequest) XXX_DiscardUnknown() { - xxx_messageInfo_AggregateSelectionRequest.DiscardUnknown(m) + +func (x *AggregateSelectionRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -var xxx_messageInfo_AggregateSelectionRequest proto.InternalMessageInfo +func (*AggregateSelectionRequest) ProtoMessage() {} -func (m *AggregateSelectionRequest) GetSlot() github_com_prysmaticlabs_eth2_types.Slot { - if m != nil { - return m.Slot +func (x *AggregateSelectionRequest) ProtoReflect() protoreflect.Message { + mi := &file_eth_v1alpha1_validator_proto_msgTypes[19] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms } - return 0 + return mi.MessageOf(x) +} + +// Deprecated: Use AggregateSelectionRequest.ProtoReflect.Descriptor instead. +func (*AggregateSelectionRequest) Descriptor() ([]byte, []int) { + return file_eth_v1alpha1_validator_proto_rawDescGZIP(), []int{19} } -func (m *AggregateSelectionRequest) GetCommitteeIndex() github_com_prysmaticlabs_eth2_types.CommitteeIndex { - if m != nil { - return m.CommitteeIndex +func (x *AggregateSelectionRequest) GetSlot() github_com_prysmaticlabs_eth2_types.Slot { + if x != nil { + return x.Slot } - return 0 + return github_com_prysmaticlabs_eth2_types.Slot(0) +} + +func (x *AggregateSelectionRequest) GetCommitteeIndex() github_com_prysmaticlabs_eth2_types.CommitteeIndex { + if x != nil { + return x.CommitteeIndex + } + return github_com_prysmaticlabs_eth2_types.CommitteeIndex(0) } -func (m *AggregateSelectionRequest) GetPublicKey() []byte { - if m != nil { - return m.PublicKey +func (x *AggregateSelectionRequest) GetPublicKey() []byte { + if x != nil { + return x.PublicKey } return nil } -func (m *AggregateSelectionRequest) GetSlotSignature() []byte { - if m != nil { - return m.SlotSignature +func (x *AggregateSelectionRequest) GetSlotSignature() []byte { + if x != nil { + return x.SlotSignature } return nil } type AggregateSelectionResponse struct { - AggregateAndProof *AggregateAttestationAndProof `protobuf:"bytes,1,opt,name=aggregate_and_proof,json=aggregateAndProof,proto3" json:"aggregate_and_proof,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + AggregateAndProof *AggregateAttestationAndProof `protobuf:"bytes,1,opt,name=aggregate_and_proof,json=aggregateAndProof,proto3" json:"aggregate_and_proof,omitempty"` } -func (m *AggregateSelectionResponse) Reset() { *m = AggregateSelectionResponse{} } -func (m *AggregateSelectionResponse) String() string { return proto.CompactTextString(m) } -func (*AggregateSelectionResponse) ProtoMessage() {} -func (*AggregateSelectionResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_f8ef4b6a7db76675, []int{20} -} -func (m *AggregateSelectionResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *AggregateSelectionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_AggregateSelectionResponse.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *AggregateSelectionResponse) Reset() { + *x = AggregateSelectionResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_eth_v1alpha1_validator_proto_msgTypes[20] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *AggregateSelectionResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_AggregateSelectionResponse.Merge(m, src) -} -func (m *AggregateSelectionResponse) XXX_Size() int { - return m.Size() + +func (x *AggregateSelectionResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *AggregateSelectionResponse) XXX_DiscardUnknown() { - xxx_messageInfo_AggregateSelectionResponse.DiscardUnknown(m) + +func (*AggregateSelectionResponse) ProtoMessage() {} + +func (x *AggregateSelectionResponse) ProtoReflect() protoreflect.Message { + mi := &file_eth_v1alpha1_validator_proto_msgTypes[20] + 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) } -var xxx_messageInfo_AggregateSelectionResponse proto.InternalMessageInfo +// Deprecated: Use AggregateSelectionResponse.ProtoReflect.Descriptor instead. +func (*AggregateSelectionResponse) Descriptor() ([]byte, []int) { + return file_eth_v1alpha1_validator_proto_rawDescGZIP(), []int{20} +} -func (m *AggregateSelectionResponse) GetAggregateAndProof() *AggregateAttestationAndProof { - if m != nil { - return m.AggregateAndProof +func (x *AggregateSelectionResponse) GetAggregateAndProof() *AggregateAttestationAndProof { + if x != nil { + return x.AggregateAndProof } return nil } type SignedAggregateSubmitRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + SignedAggregateAndProof *SignedAggregateAttestationAndProof `protobuf:"bytes,1,opt,name=signed_aggregate_and_proof,json=signedAggregateAndProof,proto3" json:"signed_aggregate_and_proof,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` } -func (m *SignedAggregateSubmitRequest) Reset() { *m = SignedAggregateSubmitRequest{} } -func (m *SignedAggregateSubmitRequest) String() string { return proto.CompactTextString(m) } -func (*SignedAggregateSubmitRequest) ProtoMessage() {} -func (*SignedAggregateSubmitRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_f8ef4b6a7db76675, []int{21} -} -func (m *SignedAggregateSubmitRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *SignedAggregateSubmitRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_SignedAggregateSubmitRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *SignedAggregateSubmitRequest) Reset() { + *x = SignedAggregateSubmitRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_eth_v1alpha1_validator_proto_msgTypes[21] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *SignedAggregateSubmitRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_SignedAggregateSubmitRequest.Merge(m, src) -} -func (m *SignedAggregateSubmitRequest) XXX_Size() int { - return m.Size() + +func (x *SignedAggregateSubmitRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *SignedAggregateSubmitRequest) XXX_DiscardUnknown() { - xxx_messageInfo_SignedAggregateSubmitRequest.DiscardUnknown(m) + +func (*SignedAggregateSubmitRequest) ProtoMessage() {} + +func (x *SignedAggregateSubmitRequest) ProtoReflect() protoreflect.Message { + mi := &file_eth_v1alpha1_validator_proto_msgTypes[21] + 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) } -var xxx_messageInfo_SignedAggregateSubmitRequest proto.InternalMessageInfo +// Deprecated: Use SignedAggregateSubmitRequest.ProtoReflect.Descriptor instead. +func (*SignedAggregateSubmitRequest) Descriptor() ([]byte, []int) { + return file_eth_v1alpha1_validator_proto_rawDescGZIP(), []int{21} +} -func (m *SignedAggregateSubmitRequest) GetSignedAggregateAndProof() *SignedAggregateAttestationAndProof { - if m != nil { - return m.SignedAggregateAndProof +func (x *SignedAggregateSubmitRequest) GetSignedAggregateAndProof() *SignedAggregateAttestationAndProof { + if x != nil { + return x.SignedAggregateAndProof } return nil } type SignedAggregateSubmitResponse struct { - AttestationDataRoot []byte `protobuf:"bytes,1,opt,name=attestation_data_root,json=attestationDataRoot,proto3" json:"attestation_data_root,omitempty" ssz-size:"32"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + AttestationDataRoot []byte `protobuf:"bytes,1,opt,name=attestation_data_root,json=attestationDataRoot,proto3" json:"attestation_data_root,omitempty" ssz-size:"32"` } -func (m *SignedAggregateSubmitResponse) Reset() { *m = SignedAggregateSubmitResponse{} } -func (m *SignedAggregateSubmitResponse) String() string { return proto.CompactTextString(m) } -func (*SignedAggregateSubmitResponse) ProtoMessage() {} -func (*SignedAggregateSubmitResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_f8ef4b6a7db76675, []int{22} -} -func (m *SignedAggregateSubmitResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *SignedAggregateSubmitResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_SignedAggregateSubmitResponse.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *SignedAggregateSubmitResponse) Reset() { + *x = SignedAggregateSubmitResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_eth_v1alpha1_validator_proto_msgTypes[22] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *SignedAggregateSubmitResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_SignedAggregateSubmitResponse.Merge(m, src) -} -func (m *SignedAggregateSubmitResponse) XXX_Size() int { - return m.Size() + +func (x *SignedAggregateSubmitResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *SignedAggregateSubmitResponse) XXX_DiscardUnknown() { - xxx_messageInfo_SignedAggregateSubmitResponse.DiscardUnknown(m) + +func (*SignedAggregateSubmitResponse) ProtoMessage() {} + +func (x *SignedAggregateSubmitResponse) ProtoReflect() protoreflect.Message { + mi := &file_eth_v1alpha1_validator_proto_msgTypes[22] + 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) } -var xxx_messageInfo_SignedAggregateSubmitResponse proto.InternalMessageInfo +// Deprecated: Use SignedAggregateSubmitResponse.ProtoReflect.Descriptor instead. +func (*SignedAggregateSubmitResponse) Descriptor() ([]byte, []int) { + return file_eth_v1alpha1_validator_proto_rawDescGZIP(), []int{22} +} -func (m *SignedAggregateSubmitResponse) GetAttestationDataRoot() []byte { - if m != nil { - return m.AttestationDataRoot +func (x *SignedAggregateSubmitResponse) GetAttestationDataRoot() []byte { + if x != nil { + return x.AttestationDataRoot } return nil } type CommitteeSubnetsSubscribeRequest struct { - Slots []github_com_prysmaticlabs_eth2_types.Slot `protobuf:"varint,1,rep,packed,name=slots,proto3,casttype=github.com/prysmaticlabs/eth2-types.Slot" json:"slots,omitempty"` - CommitteeIds []github_com_prysmaticlabs_eth2_types.CommitteeIndex `protobuf:"varint,2,rep,packed,name=committee_ids,json=committeeIds,proto3,casttype=github.com/prysmaticlabs/eth2-types.CommitteeIndex" json:"committee_ids,omitempty"` - IsAggregator []bool `protobuf:"varint,3,rep,packed,name=is_aggregator,json=isAggregator,proto3" json:"is_aggregator,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Slots []github_com_prysmaticlabs_eth2_types.Slot `protobuf:"varint,1,rep,packed,name=slots,proto3" json:"slots,omitempty" cast-type:"github.com/prysmaticlabs/eth2-types.Slot"` + CommitteeIds []github_com_prysmaticlabs_eth2_types.CommitteeIndex `protobuf:"varint,2,rep,packed,name=committee_ids,json=committeeIds,proto3" json:"committee_ids,omitempty" cast-type:"github.com/prysmaticlabs/eth2-types.CommitteeIndex"` + IsAggregator []bool `protobuf:"varint,3,rep,packed,name=is_aggregator,json=isAggregator,proto3" json:"is_aggregator,omitempty"` } -func (m *CommitteeSubnetsSubscribeRequest) Reset() { *m = CommitteeSubnetsSubscribeRequest{} } -func (m *CommitteeSubnetsSubscribeRequest) String() string { return proto.CompactTextString(m) } -func (*CommitteeSubnetsSubscribeRequest) ProtoMessage() {} -func (*CommitteeSubnetsSubscribeRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_f8ef4b6a7db76675, []int{23} -} -func (m *CommitteeSubnetsSubscribeRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *CommitteeSubnetsSubscribeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_CommitteeSubnetsSubscribeRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *CommitteeSubnetsSubscribeRequest) Reset() { + *x = CommitteeSubnetsSubscribeRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_eth_v1alpha1_validator_proto_msgTypes[23] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *CommitteeSubnetsSubscribeRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CommitteeSubnetsSubscribeRequest.Merge(m, src) -} -func (m *CommitteeSubnetsSubscribeRequest) XXX_Size() int { - return m.Size() + +func (x *CommitteeSubnetsSubscribeRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *CommitteeSubnetsSubscribeRequest) XXX_DiscardUnknown() { - xxx_messageInfo_CommitteeSubnetsSubscribeRequest.DiscardUnknown(m) + +func (*CommitteeSubnetsSubscribeRequest) ProtoMessage() {} + +func (x *CommitteeSubnetsSubscribeRequest) ProtoReflect() protoreflect.Message { + mi := &file_eth_v1alpha1_validator_proto_msgTypes[23] + 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) } -var xxx_messageInfo_CommitteeSubnetsSubscribeRequest proto.InternalMessageInfo +// Deprecated: Use CommitteeSubnetsSubscribeRequest.ProtoReflect.Descriptor instead. +func (*CommitteeSubnetsSubscribeRequest) Descriptor() ([]byte, []int) { + return file_eth_v1alpha1_validator_proto_rawDescGZIP(), []int{23} +} -func (m *CommitteeSubnetsSubscribeRequest) GetSlots() []github_com_prysmaticlabs_eth2_types.Slot { - if m != nil { - return m.Slots +func (x *CommitteeSubnetsSubscribeRequest) GetSlots() []github_com_prysmaticlabs_eth2_types.Slot { + if x != nil { + return x.Slots } - return nil + return []github_com_prysmaticlabs_eth2_types.Slot(nil) } -func (m *CommitteeSubnetsSubscribeRequest) GetCommitteeIds() []github_com_prysmaticlabs_eth2_types.CommitteeIndex { - if m != nil { - return m.CommitteeIds +func (x *CommitteeSubnetsSubscribeRequest) GetCommitteeIds() []github_com_prysmaticlabs_eth2_types.CommitteeIndex { + if x != nil { + return x.CommitteeIds } - return nil + return []github_com_prysmaticlabs_eth2_types.CommitteeIndex(nil) } -func (m *CommitteeSubnetsSubscribeRequest) GetIsAggregator() []bool { - if m != nil { - return m.IsAggregator +func (x *CommitteeSubnetsSubscribeRequest) GetIsAggregator() []bool { + if x != nil { + return x.IsAggregator } return nil } type Validator struct { - PublicKey []byte `protobuf:"bytes,1,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty" ssz-size:"48" spec-name:"pubkey"` + 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" spec-name:"pubkey" ssz-size:"48"` WithdrawalCredentials []byte `protobuf:"bytes,2,opt,name=withdrawal_credentials,json=withdrawalCredentials,proto3" json:"withdrawal_credentials,omitempty" ssz-size:"32"` EffectiveBalance uint64 `protobuf:"varint,3,opt,name=effective_balance,json=effectiveBalance,proto3" json:"effective_balance,omitempty"` Slashed bool `protobuf:"varint,4,opt,name=slashed,proto3" json:"slashed,omitempty"` - ActivationEligibilityEpoch github_com_prysmaticlabs_eth2_types.Epoch `protobuf:"varint,5,opt,name=activation_eligibility_epoch,json=activationEligibilityEpoch,proto3,casttype=github.com/prysmaticlabs/eth2-types.Epoch" json:"activation_eligibility_epoch,omitempty"` - ActivationEpoch github_com_prysmaticlabs_eth2_types.Epoch `protobuf:"varint,6,opt,name=activation_epoch,json=activationEpoch,proto3,casttype=github.com/prysmaticlabs/eth2-types.Epoch" json:"activation_epoch,omitempty"` - ExitEpoch github_com_prysmaticlabs_eth2_types.Epoch `protobuf:"varint,7,opt,name=exit_epoch,json=exitEpoch,proto3,casttype=github.com/prysmaticlabs/eth2-types.Epoch" json:"exit_epoch,omitempty"` - WithdrawableEpoch github_com_prysmaticlabs_eth2_types.Epoch `protobuf:"varint,8,opt,name=withdrawable_epoch,json=withdrawableEpoch,proto3,casttype=github.com/prysmaticlabs/eth2-types.Epoch" json:"withdrawable_epoch,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Validator) Reset() { *m = Validator{} } -func (m *Validator) String() string { return proto.CompactTextString(m) } -func (*Validator) ProtoMessage() {} -func (*Validator) Descriptor() ([]byte, []int) { - return fileDescriptor_f8ef4b6a7db76675, []int{24} -} -func (m *Validator) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *Validator) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_Validator.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil - } + ActivationEligibilityEpoch github_com_prysmaticlabs_eth2_types.Epoch `protobuf:"varint,5,opt,name=activation_eligibility_epoch,json=activationEligibilityEpoch,proto3" json:"activation_eligibility_epoch,omitempty" cast-type:"github.com/prysmaticlabs/eth2-types.Epoch"` + ActivationEpoch github_com_prysmaticlabs_eth2_types.Epoch `protobuf:"varint,6,opt,name=activation_epoch,json=activationEpoch,proto3" json:"activation_epoch,omitempty" cast-type:"github.com/prysmaticlabs/eth2-types.Epoch"` + ExitEpoch github_com_prysmaticlabs_eth2_types.Epoch `protobuf:"varint,7,opt,name=exit_epoch,json=exitEpoch,proto3" json:"exit_epoch,omitempty" cast-type:"github.com/prysmaticlabs/eth2-types.Epoch"` + WithdrawableEpoch github_com_prysmaticlabs_eth2_types.Epoch `protobuf:"varint,8,opt,name=withdrawable_epoch,json=withdrawableEpoch,proto3" json:"withdrawable_epoch,omitempty" cast-type:"github.com/prysmaticlabs/eth2-types.Epoch"` } -func (m *Validator) XXX_Merge(src proto.Message) { - xxx_messageInfo_Validator.Merge(m, src) + +func (x *Validator) Reset() { + *x = Validator{} + if protoimpl.UnsafeEnabled { + mi := &file_eth_v1alpha1_validator_proto_msgTypes[24] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *Validator) XXX_Size() int { - return m.Size() + +func (x *Validator) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *Validator) XXX_DiscardUnknown() { - xxx_messageInfo_Validator.DiscardUnknown(m) + +func (*Validator) ProtoMessage() {} + +func (x *Validator) ProtoReflect() protoreflect.Message { + mi := &file_eth_v1alpha1_validator_proto_msgTypes[24] + 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) } -var xxx_messageInfo_Validator proto.InternalMessageInfo +// Deprecated: Use Validator.ProtoReflect.Descriptor instead. +func (*Validator) Descriptor() ([]byte, []int) { + return file_eth_v1alpha1_validator_proto_rawDescGZIP(), []int{24} +} -func (m *Validator) GetPublicKey() []byte { - if m != nil { - return m.PublicKey +func (x *Validator) GetPublicKey() []byte { + if x != nil { + return x.PublicKey } return nil } -func (m *Validator) GetWithdrawalCredentials() []byte { - if m != nil { - return m.WithdrawalCredentials +func (x *Validator) GetWithdrawalCredentials() []byte { + if x != nil { + return x.WithdrawalCredentials } return nil } -func (m *Validator) GetEffectiveBalance() uint64 { - if m != nil { - return m.EffectiveBalance +func (x *Validator) GetEffectiveBalance() uint64 { + if x != nil { + return x.EffectiveBalance } return 0 } -func (m *Validator) GetSlashed() bool { - if m != nil { - return m.Slashed +func (x *Validator) GetSlashed() bool { + if x != nil { + return x.Slashed } return false } -func (m *Validator) GetActivationEligibilityEpoch() github_com_prysmaticlabs_eth2_types.Epoch { - if m != nil { - return m.ActivationEligibilityEpoch +func (x *Validator) GetActivationEligibilityEpoch() github_com_prysmaticlabs_eth2_types.Epoch { + if x != nil { + return x.ActivationEligibilityEpoch } - return 0 + return github_com_prysmaticlabs_eth2_types.Epoch(0) } -func (m *Validator) GetActivationEpoch() github_com_prysmaticlabs_eth2_types.Epoch { - if m != nil { - return m.ActivationEpoch +func (x *Validator) GetActivationEpoch() github_com_prysmaticlabs_eth2_types.Epoch { + if x != nil { + return x.ActivationEpoch } - return 0 + return github_com_prysmaticlabs_eth2_types.Epoch(0) } -func (m *Validator) GetExitEpoch() github_com_prysmaticlabs_eth2_types.Epoch { - if m != nil { - return m.ExitEpoch +func (x *Validator) GetExitEpoch() github_com_prysmaticlabs_eth2_types.Epoch { + if x != nil { + return x.ExitEpoch } - return 0 + return github_com_prysmaticlabs_eth2_types.Epoch(0) } -func (m *Validator) GetWithdrawableEpoch() github_com_prysmaticlabs_eth2_types.Epoch { - if m != nil { - return m.WithdrawableEpoch +func (x *Validator) GetWithdrawableEpoch() github_com_prysmaticlabs_eth2_types.Epoch { + if x != nil { + return x.WithdrawableEpoch } - return 0 + return github_com_prysmaticlabs_eth2_types.Epoch(0) } type ValidatorParticipation struct { - GlobalParticipationRate float32 `protobuf:"fixed32,1,opt,name=global_participation_rate,json=globalParticipationRate,proto3" json:"global_participation_rate,omitempty"` // Deprecated: Do not use. - VotedEther uint64 `protobuf:"varint,2,opt,name=voted_ether,json=votedEther,proto3" json:"voted_ether,omitempty"` // Deprecated: Do not use. - EligibleEther uint64 `protobuf:"varint,3,opt,name=eligible_ether,json=eligibleEther,proto3" json:"eligible_ether,omitempty"` // Deprecated: Do not use. - CurrentEpochActiveGwei uint64 `protobuf:"varint,4,opt,name=current_epoch_active_gwei,json=currentEpochActiveGwei,proto3" json:"current_epoch_active_gwei,omitempty"` - CurrentEpochAttestingGwei uint64 `protobuf:"varint,5,opt,name=current_epoch_attesting_gwei,json=currentEpochAttestingGwei,proto3" json:"current_epoch_attesting_gwei,omitempty"` - CurrentEpochTargetAttestingGwei uint64 `protobuf:"varint,6,opt,name=current_epoch_target_attesting_gwei,json=currentEpochTargetAttestingGwei,proto3" json:"current_epoch_target_attesting_gwei,omitempty"` - PreviousEpochActiveGwei uint64 `protobuf:"varint,7,opt,name=previous_epoch_active_gwei,json=previousEpochActiveGwei,proto3" json:"previous_epoch_active_gwei,omitempty"` - PreviousEpochAttestingGwei uint64 `protobuf:"varint,8,opt,name=previous_epoch_attesting_gwei,json=previousEpochAttestingGwei,proto3" json:"previous_epoch_attesting_gwei,omitempty"` - PreviousEpochTargetAttestingGwei uint64 `protobuf:"varint,9,opt,name=previous_epoch_target_attesting_gwei,json=previousEpochTargetAttestingGwei,proto3" json:"previous_epoch_target_attesting_gwei,omitempty"` - PreviousEpochHeadAttestingGwei uint64 `protobuf:"varint,10,opt,name=previous_epoch_head_attesting_gwei,json=previousEpochHeadAttestingGwei,proto3" json:"previous_epoch_head_attesting_gwei,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ValidatorParticipation) Reset() { *m = ValidatorParticipation{} } -func (m *ValidatorParticipation) String() string { return proto.CompactTextString(m) } -func (*ValidatorParticipation) ProtoMessage() {} -func (*ValidatorParticipation) Descriptor() ([]byte, []int) { - return fileDescriptor_f8ef4b6a7db76675, []int{25} -} -func (m *ValidatorParticipation) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *ValidatorParticipation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_ValidatorParticipation.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil - } + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Deprecated: Do not use. + GlobalParticipationRate float32 `protobuf:"fixed32,1,opt,name=global_participation_rate,json=globalParticipationRate,proto3" json:"global_participation_rate,omitempty"` + // Deprecated: Do not use. + VotedEther uint64 `protobuf:"varint,2,opt,name=voted_ether,json=votedEther,proto3" json:"voted_ether,omitempty"` + // Deprecated: Do not use. + EligibleEther uint64 `protobuf:"varint,3,opt,name=eligible_ether,json=eligibleEther,proto3" json:"eligible_ether,omitempty"` + CurrentEpochActiveGwei uint64 `protobuf:"varint,4,opt,name=current_epoch_active_gwei,json=currentEpochActiveGwei,proto3" json:"current_epoch_active_gwei,omitempty"` + CurrentEpochAttestingGwei uint64 `protobuf:"varint,5,opt,name=current_epoch_attesting_gwei,json=currentEpochAttestingGwei,proto3" json:"current_epoch_attesting_gwei,omitempty"` + CurrentEpochTargetAttestingGwei uint64 `protobuf:"varint,6,opt,name=current_epoch_target_attesting_gwei,json=currentEpochTargetAttestingGwei,proto3" json:"current_epoch_target_attesting_gwei,omitempty"` + PreviousEpochActiveGwei uint64 `protobuf:"varint,7,opt,name=previous_epoch_active_gwei,json=previousEpochActiveGwei,proto3" json:"previous_epoch_active_gwei,omitempty"` + PreviousEpochAttestingGwei uint64 `protobuf:"varint,8,opt,name=previous_epoch_attesting_gwei,json=previousEpochAttestingGwei,proto3" json:"previous_epoch_attesting_gwei,omitempty"` + PreviousEpochTargetAttestingGwei uint64 `protobuf:"varint,9,opt,name=previous_epoch_target_attesting_gwei,json=previousEpochTargetAttestingGwei,proto3" json:"previous_epoch_target_attesting_gwei,omitempty"` + PreviousEpochHeadAttestingGwei uint64 `protobuf:"varint,10,opt,name=previous_epoch_head_attesting_gwei,json=previousEpochHeadAttestingGwei,proto3" json:"previous_epoch_head_attesting_gwei,omitempty"` } -func (m *ValidatorParticipation) XXX_Merge(src proto.Message) { - xxx_messageInfo_ValidatorParticipation.Merge(m, src) + +func (x *ValidatorParticipation) Reset() { + *x = ValidatorParticipation{} + if protoimpl.UnsafeEnabled { + mi := &file_eth_v1alpha1_validator_proto_msgTypes[25] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ValidatorParticipation) XXX_Size() int { - return m.Size() + +func (x *ValidatorParticipation) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ValidatorParticipation) XXX_DiscardUnknown() { - xxx_messageInfo_ValidatorParticipation.DiscardUnknown(m) + +func (*ValidatorParticipation) ProtoMessage() {} + +func (x *ValidatorParticipation) ProtoReflect() protoreflect.Message { + mi := &file_eth_v1alpha1_validator_proto_msgTypes[25] + 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) } -var xxx_messageInfo_ValidatorParticipation proto.InternalMessageInfo +// Deprecated: Use ValidatorParticipation.ProtoReflect.Descriptor instead. +func (*ValidatorParticipation) Descriptor() ([]byte, []int) { + return file_eth_v1alpha1_validator_proto_rawDescGZIP(), []int{25} +} // Deprecated: Do not use. -func (m *ValidatorParticipation) GetGlobalParticipationRate() float32 { - if m != nil { - return m.GlobalParticipationRate +func (x *ValidatorParticipation) GetGlobalParticipationRate() float32 { + if x != nil { + return x.GlobalParticipationRate } return 0 } // Deprecated: Do not use. -func (m *ValidatorParticipation) GetVotedEther() uint64 { - if m != nil { - return m.VotedEther +func (x *ValidatorParticipation) GetVotedEther() uint64 { + if x != nil { + return x.VotedEther } return 0 } // Deprecated: Do not use. -func (m *ValidatorParticipation) GetEligibleEther() uint64 { - if m != nil { - return m.EligibleEther +func (x *ValidatorParticipation) GetEligibleEther() uint64 { + if x != nil { + return x.EligibleEther } return 0 } -func (m *ValidatorParticipation) GetCurrentEpochActiveGwei() uint64 { - if m != nil { - return m.CurrentEpochActiveGwei +func (x *ValidatorParticipation) GetCurrentEpochActiveGwei() uint64 { + if x != nil { + return x.CurrentEpochActiveGwei } return 0 } -func (m *ValidatorParticipation) GetCurrentEpochAttestingGwei() uint64 { - if m != nil { - return m.CurrentEpochAttestingGwei +func (x *ValidatorParticipation) GetCurrentEpochAttestingGwei() uint64 { + if x != nil { + return x.CurrentEpochAttestingGwei } return 0 } -func (m *ValidatorParticipation) GetCurrentEpochTargetAttestingGwei() uint64 { - if m != nil { - return m.CurrentEpochTargetAttestingGwei +func (x *ValidatorParticipation) GetCurrentEpochTargetAttestingGwei() uint64 { + if x != nil { + return x.CurrentEpochTargetAttestingGwei } return 0 } -func (m *ValidatorParticipation) GetPreviousEpochActiveGwei() uint64 { - if m != nil { - return m.PreviousEpochActiveGwei +func (x *ValidatorParticipation) GetPreviousEpochActiveGwei() uint64 { + if x != nil { + return x.PreviousEpochActiveGwei } return 0 } -func (m *ValidatorParticipation) GetPreviousEpochAttestingGwei() uint64 { - if m != nil { - return m.PreviousEpochAttestingGwei +func (x *ValidatorParticipation) GetPreviousEpochAttestingGwei() uint64 { + if x != nil { + return x.PreviousEpochAttestingGwei } return 0 } -func (m *ValidatorParticipation) GetPreviousEpochTargetAttestingGwei() uint64 { - if m != nil { - return m.PreviousEpochTargetAttestingGwei +func (x *ValidatorParticipation) GetPreviousEpochTargetAttestingGwei() uint64 { + if x != nil { + return x.PreviousEpochTargetAttestingGwei } return 0 } -func (m *ValidatorParticipation) GetPreviousEpochHeadAttestingGwei() uint64 { - if m != nil { - return m.PreviousEpochHeadAttestingGwei +func (x *ValidatorParticipation) GetPreviousEpochHeadAttestingGwei() uint64 { + if x != nil { + return x.PreviousEpochHeadAttestingGwei } return 0 } type ValidatorInfo struct { - PublicKey []byte `protobuf:"bytes,1,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"` - Index github_com_prysmaticlabs_eth2_types.ValidatorIndex `protobuf:"varint,2,opt,name=index,proto3,casttype=github.com/prysmaticlabs/eth2-types.ValidatorIndex" json:"index,omitempty"` - Epoch github_com_prysmaticlabs_eth2_types.Epoch `protobuf:"varint,3,opt,name=epoch,proto3,casttype=github.com/prysmaticlabs/eth2-types.Epoch" json:"epoch,omitempty"` - Status ValidatorStatus `protobuf:"varint,4,opt,name=status,proto3,enum=ethereum.eth.v1alpha1.ValidatorStatus" json:"status,omitempty"` - TransitionTimestamp uint64 `protobuf:"varint,5,opt,name=transition_timestamp,json=transitionTimestamp,proto3" json:"transition_timestamp,omitempty"` - Balance uint64 `protobuf:"varint,6,opt,name=balance,proto3" json:"balance,omitempty"` - EffectiveBalance uint64 `protobuf:"varint,7,opt,name=effective_balance,json=effectiveBalance,proto3" json:"effective_balance,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ValidatorInfo) Reset() { *m = ValidatorInfo{} } -func (m *ValidatorInfo) String() string { return proto.CompactTextString(m) } -func (*ValidatorInfo) ProtoMessage() {} -func (*ValidatorInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_f8ef4b6a7db76675, []int{26} -} -func (m *ValidatorInfo) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *ValidatorInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_ValidatorInfo.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil - } + 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"` + Index github_com_prysmaticlabs_eth2_types.ValidatorIndex `protobuf:"varint,2,opt,name=index,proto3" json:"index,omitempty" cast-type:"github.com/prysmaticlabs/eth2-types.ValidatorIndex"` + Epoch github_com_prysmaticlabs_eth2_types.Epoch `protobuf:"varint,3,opt,name=epoch,proto3" json:"epoch,omitempty" cast-type:"github.com/prysmaticlabs/eth2-types.Epoch"` + Status ValidatorStatus `protobuf:"varint,4,opt,name=status,proto3,enum=ethereum.eth.v1alpha1.ValidatorStatus" json:"status,omitempty"` + TransitionTimestamp uint64 `protobuf:"varint,5,opt,name=transition_timestamp,json=transitionTimestamp,proto3" json:"transition_timestamp,omitempty"` + Balance uint64 `protobuf:"varint,6,opt,name=balance,proto3" json:"balance,omitempty"` + EffectiveBalance uint64 `protobuf:"varint,7,opt,name=effective_balance,json=effectiveBalance,proto3" json:"effective_balance,omitempty"` } -func (m *ValidatorInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_ValidatorInfo.Merge(m, src) + +func (x *ValidatorInfo) Reset() { + *x = ValidatorInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_eth_v1alpha1_validator_proto_msgTypes[26] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ValidatorInfo) XXX_Size() int { - return m.Size() + +func (x *ValidatorInfo) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ValidatorInfo) XXX_DiscardUnknown() { - xxx_messageInfo_ValidatorInfo.DiscardUnknown(m) + +func (*ValidatorInfo) ProtoMessage() {} + +func (x *ValidatorInfo) ProtoReflect() protoreflect.Message { + mi := &file_eth_v1alpha1_validator_proto_msgTypes[26] + 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) } -var xxx_messageInfo_ValidatorInfo proto.InternalMessageInfo +// Deprecated: Use ValidatorInfo.ProtoReflect.Descriptor instead. +func (*ValidatorInfo) Descriptor() ([]byte, []int) { + return file_eth_v1alpha1_validator_proto_rawDescGZIP(), []int{26} +} -func (m *ValidatorInfo) GetPublicKey() []byte { - if m != nil { - return m.PublicKey +func (x *ValidatorInfo) GetPublicKey() []byte { + if x != nil { + return x.PublicKey } return nil } -func (m *ValidatorInfo) GetIndex() github_com_prysmaticlabs_eth2_types.ValidatorIndex { - if m != nil { - return m.Index +func (x *ValidatorInfo) GetIndex() github_com_prysmaticlabs_eth2_types.ValidatorIndex { + if x != nil { + return x.Index } - return 0 + return github_com_prysmaticlabs_eth2_types.ValidatorIndex(0) } -func (m *ValidatorInfo) GetEpoch() github_com_prysmaticlabs_eth2_types.Epoch { - if m != nil { - return m.Epoch +func (x *ValidatorInfo) GetEpoch() github_com_prysmaticlabs_eth2_types.Epoch { + if x != nil { + return x.Epoch } - return 0 + return github_com_prysmaticlabs_eth2_types.Epoch(0) } -func (m *ValidatorInfo) GetStatus() ValidatorStatus { - if m != nil { - return m.Status +func (x *ValidatorInfo) GetStatus() ValidatorStatus { + if x != nil { + return x.Status } return ValidatorStatus_UNKNOWN_STATUS } -func (m *ValidatorInfo) GetTransitionTimestamp() uint64 { - if m != nil { - return m.TransitionTimestamp +func (x *ValidatorInfo) GetTransitionTimestamp() uint64 { + if x != nil { + return x.TransitionTimestamp } return 0 } -func (m *ValidatorInfo) GetBalance() uint64 { - if m != nil { - return m.Balance +func (x *ValidatorInfo) GetBalance() uint64 { + if x != nil { + return x.Balance } return 0 } -func (m *ValidatorInfo) GetEffectiveBalance() uint64 { - if m != nil { - return m.EffectiveBalance +func (x *ValidatorInfo) GetEffectiveBalance() uint64 { + if x != nil { + return x.EffectiveBalance } return 0 } -func init() { - proto.RegisterEnum("ethereum.eth.v1alpha1.ValidatorStatus", ValidatorStatus_name, ValidatorStatus_value) - proto.RegisterType((*DomainRequest)(nil), "ethereum.eth.v1alpha1.DomainRequest") - proto.RegisterType((*DomainResponse)(nil), "ethereum.eth.v1alpha1.DomainResponse") - proto.RegisterType((*ValidatorActivationRequest)(nil), "ethereum.eth.v1alpha1.ValidatorActivationRequest") - proto.RegisterType((*ValidatorActivationResponse)(nil), "ethereum.eth.v1alpha1.ValidatorActivationResponse") - proto.RegisterType((*ValidatorActivationResponse_Status)(nil), "ethereum.eth.v1alpha1.ValidatorActivationResponse.Status") - proto.RegisterType((*ChainStartResponse)(nil), "ethereum.eth.v1alpha1.ChainStartResponse") - proto.RegisterType((*SyncedResponse)(nil), "ethereum.eth.v1alpha1.SyncedResponse") - proto.RegisterType((*ValidatorIndexRequest)(nil), "ethereum.eth.v1alpha1.ValidatorIndexRequest") - proto.RegisterType((*ValidatorIndexResponse)(nil), "ethereum.eth.v1alpha1.ValidatorIndexResponse") - proto.RegisterType((*ValidatorStatusRequest)(nil), "ethereum.eth.v1alpha1.ValidatorStatusRequest") - proto.RegisterType((*ValidatorStatusResponse)(nil), "ethereum.eth.v1alpha1.ValidatorStatusResponse") - proto.RegisterType((*MultipleValidatorStatusRequest)(nil), "ethereum.eth.v1alpha1.MultipleValidatorStatusRequest") - proto.RegisterType((*MultipleValidatorStatusResponse)(nil), "ethereum.eth.v1alpha1.MultipleValidatorStatusResponse") - proto.RegisterType((*DutiesRequest)(nil), "ethereum.eth.v1alpha1.DutiesRequest") - proto.RegisterType((*DutiesResponse)(nil), "ethereum.eth.v1alpha1.DutiesResponse") - proto.RegisterType((*DutiesResponse_Duty)(nil), "ethereum.eth.v1alpha1.DutiesResponse.Duty") - proto.RegisterType((*BlockRequest)(nil), "ethereum.eth.v1alpha1.BlockRequest") - proto.RegisterType((*ProposeResponse)(nil), "ethereum.eth.v1alpha1.ProposeResponse") - proto.RegisterType((*ProposeExitResponse)(nil), "ethereum.eth.v1alpha1.ProposeExitResponse") - proto.RegisterType((*AttestationDataRequest)(nil), "ethereum.eth.v1alpha1.AttestationDataRequest") - proto.RegisterType((*AttestResponse)(nil), "ethereum.eth.v1alpha1.AttestResponse") - proto.RegisterType((*AggregateSelectionRequest)(nil), "ethereum.eth.v1alpha1.AggregateSelectionRequest") - proto.RegisterType((*AggregateSelectionResponse)(nil), "ethereum.eth.v1alpha1.AggregateSelectionResponse") - proto.RegisterType((*SignedAggregateSubmitRequest)(nil), "ethereum.eth.v1alpha1.SignedAggregateSubmitRequest") - proto.RegisterType((*SignedAggregateSubmitResponse)(nil), "ethereum.eth.v1alpha1.SignedAggregateSubmitResponse") - proto.RegisterType((*CommitteeSubnetsSubscribeRequest)(nil), "ethereum.eth.v1alpha1.CommitteeSubnetsSubscribeRequest") - proto.RegisterType((*Validator)(nil), "ethereum.eth.v1alpha1.Validator") - proto.RegisterType((*ValidatorParticipation)(nil), "ethereum.eth.v1alpha1.ValidatorParticipation") - proto.RegisterType((*ValidatorInfo)(nil), "ethereum.eth.v1alpha1.ValidatorInfo") -} - -func init() { proto.RegisterFile("eth/v1alpha1/validator.proto", fileDescriptor_f8ef4b6a7db76675) } - -var fileDescriptor_f8ef4b6a7db76675 = []byte{ - // 2517 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x59, 0x4d, 0x6c, 0x1b, 0xc7, - 0xf5, 0xff, 0x2f, 0xf5, 0xfd, 0x44, 0x52, 0xd2, 0x28, 0xd6, 0x07, 0x23, 0x4b, 0xca, 0x2a, 0x76, - 0x64, 0xd9, 0xa2, 0x2c, 0xd9, 0x7f, 0x37, 0xb6, 0x81, 0xa4, 0x94, 0x44, 0xdb, 0xb4, 0x55, 0x45, - 0x59, 0xca, 0x76, 0xda, 0x1a, 0x58, 0x0c, 0xc9, 0x11, 0x39, 0xf0, 0x72, 0x97, 0xd9, 0x1d, 0xca, - 0x96, 0x4f, 0x4d, 0x4f, 0x45, 0x50, 0xb8, 0x87, 0x14, 0x45, 0x51, 0xf4, 0x92, 0x6b, 0x2f, 0x05, - 0x82, 0xa2, 0x2d, 0x50, 0xa4, 0xe7, 0xb6, 0xa7, 0x02, 0xbd, 0xf4, 0x24, 0x14, 0x46, 0x0f, 0x3d, - 0x1b, 0xe8, 0xc5, 0xbd, 0x14, 0x33, 0xb3, 0x9f, 0x34, 0x57, 0x94, 0x68, 0x05, 0xe8, 0x89, 0x9c, - 0x99, 0xf7, 0x7e, 0xf3, 0x9b, 0x37, 0x6f, 0xde, 0xcc, 0x7b, 0x0b, 0x33, 0x84, 0xd5, 0x56, 0xf6, - 0x57, 0xb1, 0xd1, 0xa8, 0xe1, 0xd5, 0x95, 0x7d, 0x6c, 0xd0, 0x0a, 0x66, 0x96, 0x9d, 0x6d, 0xd8, - 0x16, 0xb3, 0xd0, 0x19, 0xc2, 0x6a, 0xc4, 0x26, 0xcd, 0x7a, 0x96, 0xb0, 0x5a, 0xd6, 0x13, 0xcb, - 0x2c, 0x57, 0x29, 0xab, 0x35, 0x4b, 0xd9, 0xb2, 0x55, 0x5f, 0xa9, 0x5a, 0x55, 0x6b, 0x45, 0x48, - 0x97, 0x9a, 0x7b, 0xa2, 0x25, 0x1a, 0xe2, 0x9f, 0x44, 0xc9, 0xcc, 0x54, 0x2d, 0xab, 0x6a, 0x90, - 0x15, 0xdc, 0xa0, 0x2b, 0xd8, 0x34, 0x2d, 0x86, 0x19, 0xb5, 0x4c, 0xc7, 0x1d, 0x7d, 0xdb, 0x1d, - 0xf5, 0x31, 0x48, 0xbd, 0xc1, 0x0e, 0xdc, 0xc1, 0xb9, 0x08, 0xbd, 0x12, 0xc1, 0x65, 0xcb, 0xd4, - 0x4b, 0x86, 0x55, 0x7e, 0xec, 0x0a, 0xcc, 0x46, 0x04, 0x30, 0x63, 0xc4, 0x91, 0xf0, 0x72, 0x5c, - 0x35, 0x20, 0xb5, 0x69, 0xd5, 0x31, 0x35, 0x35, 0xf2, 0x69, 0x93, 0x38, 0x0c, 0x6d, 0x40, 0x1f, - 0x69, 0x58, 0xe5, 0xda, 0x94, 0x32, 0xaf, 0x2c, 0xf6, 0xae, 0x2f, 0xbf, 0x3a, 0x9c, 0xbb, 0x10, - 0x5a, 0x4e, 0xc3, 0x3e, 0x70, 0xea, 0x98, 0xd1, 0xb2, 0x81, 0x4b, 0xce, 0x0a, 0x61, 0xb5, 0xb5, - 0x65, 0x76, 0xd0, 0x20, 0x4e, 0x36, 0xcf, 0x95, 0x34, 0xa9, 0x8b, 0x26, 0xa0, 0xbf, 0x22, 0x50, - 0xa7, 0x12, 0xf3, 0xca, 0x62, 0x52, 0x73, 0x5b, 0xea, 0x4d, 0x48, 0x7b, 0xb3, 0x39, 0x0d, 0xcb, - 0x74, 0x08, 0xba, 0x00, 0xa3, 0x0e, 0xad, 0x9a, 0x98, 0x35, 0x6d, 0xa2, 0xbb, 0x3a, 0x8a, 0xd0, - 0x19, 0xf1, 0xfb, 0xa5, 0x8a, 0xaa, 0x41, 0xe6, 0x81, 0x67, 0xff, 0x5c, 0x99, 0xd1, 0x7d, 0xb1, - 0x0e, 0x8f, 0xf7, 0x55, 0x18, 0x6e, 0x34, 0x4b, 0x06, 0x2d, 0xeb, 0x8f, 0xc9, 0x81, 0x33, 0xa5, - 0xcc, 0xf7, 0x2c, 0x26, 0xd7, 0xc7, 0x5f, 0x1e, 0xce, 0x8d, 0x38, 0xce, 0xb3, 0x65, 0x87, 0x3e, - 0x23, 0x37, 0xd4, 0x0f, 0x2f, 0x5d, 0x7d, 0x5f, 0xd5, 0x40, 0xca, 0xdd, 0x23, 0x07, 0x8e, 0xfa, - 0x9b, 0x04, 0xbc, 0xdd, 0x16, 0xd4, 0xa5, 0x77, 0x1f, 0x06, 0xb9, 0xbd, 0x9a, 0x0e, 0x91, 0x90, - 0xc3, 0x6b, 0xd7, 0xb3, 0x6d, 0xf7, 0x3c, 0x7b, 0x04, 0x4a, 0xb6, 0x28, 0x20, 0x34, 0x1f, 0x2a, - 0xf3, 0xb5, 0x02, 0xfd, 0xb2, 0x13, 0x9d, 0x05, 0x08, 0x78, 0xbb, 0x4b, 0x1f, 0xf2, 0x19, 0xa2, - 0x5b, 0xd0, 0x2f, 0xb5, 0x84, 0x25, 0x87, 0xd7, 0xb2, 0x9d, 0xa6, 0x77, 0xe7, 0x72, 0xa7, 0xd6, - 0x5c, 0x6d, 0xb4, 0x05, 0x7d, 0xd4, 0xac, 0x90, 0xa7, 0x53, 0x3d, 0x62, 0x5b, 0xaf, 0xbd, 0x3a, - 0x9c, 0x5b, 0x3b, 0xce, 0xb6, 0xfa, 0xb8, 0x05, 0xae, 0xad, 0x49, 0x10, 0xf5, 0x97, 0x0a, 0xa0, - 0x8d, 0x1a, 0xa6, 0x66, 0x91, 0x61, 0x9b, 0xf9, 0xd6, 0x9a, 0x82, 0x01, 0x87, 0x77, 0x90, 0x8a, - 0x58, 0xc8, 0xa0, 0xe6, 0x35, 0xd1, 0x3b, 0x90, 0xac, 0x12, 0x93, 0x38, 0xd4, 0xd1, 0x19, 0xad, - 0x13, 0xb1, 0x98, 0x5e, 0x6d, 0xd8, 0xed, 0xdb, 0xa5, 0x75, 0x82, 0x0a, 0x30, 0xe9, 0x89, 0xf8, - 0xc7, 0xcc, 0xd1, 0x6d, 0xcb, 0x62, 0x82, 0x73, 0x72, 0x7d, 0xec, 0xe5, 0xe1, 0x5c, 0x2a, 0xd8, - 0xcc, 0x2b, 0x6b, 0xaa, 0x76, 0xc6, 0xd5, 0xf0, 0x59, 0x3a, 0x9a, 0x65, 0x31, 0xf5, 0x1e, 0xa4, - 0x8b, 0x07, 0x66, 0x99, 0x54, 0x7c, 0x66, 0x13, 0xd0, 0xef, 0x88, 0x1e, 0x97, 0x98, 0xdb, 0x3a, - 0x06, 0x2f, 0xb5, 0x00, 0x67, 0x5a, 0x8c, 0xe0, 0x7a, 0xdc, 0xe5, 0xd7, 0x77, 0xae, 0x95, 0x23, - 0x77, 0xb7, 0x60, 0x33, 0xd5, 0x3d, 0x98, 0x68, 0x85, 0x72, 0xf9, 0xf9, 0xdb, 0xa3, 0x9c, 0xc6, - 0xf6, 0xdc, 0x0d, 0xcd, 0xe3, 0xf9, 0x43, 0xb7, 0x9c, 0xbf, 0xe8, 0x81, 0xc9, 0x18, 0xe7, 0x42, - 0x1f, 0xf8, 0xce, 0xc9, 0x91, 0xd2, 0x6b, 0xe7, 0x8f, 0xe9, 0x9c, 0x9e, 0x53, 0x5e, 0x87, 0x69, - 0xc2, 0x6a, 0xab, 0x7a, 0x85, 0x34, 0x2c, 0x87, 0x32, 0x19, 0xb8, 0x74, 0xb3, 0x59, 0x2f, 0x11, - 0xdb, 0xdd, 0x8a, 0x09, 0x2e, 0xb0, 0x29, 0xc7, 0xd7, 0xf9, 0xf0, 0xb6, 0x18, 0x45, 0x25, 0x98, - 0xf0, 0xb4, 0xa8, 0x59, 0x36, 0x9a, 0x0e, 0xb5, 0x4c, 0xdd, 0x31, 0x5c, 0x67, 0xe9, 0x5d, 0xbf, - 0xf4, 0xea, 0x70, 0x6e, 0xf1, 0x38, 0x16, 0x2c, 0x1a, 0x16, 0xd3, 0xde, 0x72, 0xb1, 0x0a, 0x1e, - 0x14, 0xef, 0x45, 0x9f, 0xc0, 0x28, 0xf6, 0x0f, 0xb3, 0x2e, 0xa3, 0x62, 0x6f, 0x37, 0x51, 0x71, - 0x24, 0x80, 0x11, 0x1d, 0xe8, 0x43, 0x98, 0x11, 0xf3, 0x71, 0x5c, 0x6a, 0xea, 0xa1, 0x59, 0x3e, - 0x6d, 0x92, 0x26, 0x99, 0xea, 0x13, 0x6b, 0x9f, 0xf6, 0x64, 0x0a, 0x66, 0x10, 0x54, 0x3e, 0xe6, - 0x02, 0x6a, 0x03, 0x66, 0xbf, 0xd3, 0x34, 0x18, 0x6d, 0x18, 0x24, 0x66, 0xa7, 0xbb, 0x8a, 0x87, - 0xfc, 0x04, 0x53, 0xb3, 0x42, 0xcb, 0x84, 0xc7, 0x9b, 0x9e, 0xc5, 0x1e, 0xcd, 0x6b, 0xaa, 0xff, - 0x56, 0x60, 0x2e, 0x76, 0x4a, 0xd7, 0x1f, 0xba, 0x9b, 0xf3, 0x6e, 0x28, 0xc6, 0x26, 0x44, 0x8c, - 0x3d, 0x69, 0x90, 0xf3, 0xf5, 0xd1, 0x4e, 0xc0, 0xbf, 0x67, 0xbe, 0xe7, 0x0d, 0x4e, 0x92, 0xbf, - 0xee, 0xcf, 0x15, 0x48, 0x6d, 0x36, 0x19, 0x25, 0xce, 0xa9, 0xde, 0x90, 0x2d, 0xa6, 0x4a, 0x1c, - 0xef, 0xba, 0xfa, 0x73, 0x3f, 0xa4, 0x3d, 0x32, 0xae, 0xcd, 0x6f, 0x41, 0x7f, 0x45, 0xf4, 0xb8, - 0xf7, 0xd3, 0x52, 0x8c, 0xed, 0xa2, 0x6a, 0xbc, 0x79, 0xb0, 0x9e, 0x98, 0x52, 0x34, 0x57, 0x1b, - 0x3d, 0x82, 0xb7, 0xca, 0x4d, 0xdb, 0x26, 0x26, 0x93, 0x9e, 0xae, 0xbb, 0xa8, 0x89, 0x93, 0xa2, - 0x6a, 0xc8, 0xc5, 0x11, 0xeb, 0x95, 0x02, 0xe8, 0x01, 0x8c, 0x99, 0xe4, 0x69, 0x0b, 0x74, 0xcf, - 0x89, 0xa1, 0x47, 0x38, 0x48, 0x08, 0x37, 0xf3, 0xfb, 0x5e, 0xe8, 0xe5, 0x23, 0x68, 0x17, 0x86, - 0xca, 0x56, 0xbd, 0x4e, 0x19, 0x23, 0x44, 0x58, 0xa2, 0xfb, 0xad, 0x0f, 0x80, 0x90, 0x0e, 0x23, - 0x7e, 0x43, 0x97, 0x01, 0x3a, 0x71, 0xb2, 0x00, 0xbd, 0xe1, 0xa9, 0x4b, 0xec, 0x74, 0x39, 0xd2, - 0x46, 0x1f, 0x43, 0x4a, 0xbe, 0xc9, 0x88, 0xdd, 0x7d, 0xf4, 0x4a, 0x7a, 0x10, 0x22, 0x6a, 0x15, - 0x21, 0xdd, 0xb0, 0xad, 0x86, 0xe5, 0xb8, 0x90, 0xce, 0x54, 0xaf, 0x30, 0xc7, 0xc9, 0x30, 0x53, - 0x1e, 0x06, 0x6f, 0x39, 0x2d, 0xf7, 0x46, 0x5f, 0xe7, 0x7b, 0x23, 0x74, 0x37, 0xf4, 0x77, 0x75, - 0x37, 0xe8, 0x30, 0xe2, 0x3f, 0x03, 0x5c, 0xd3, 0x0f, 0xbc, 0xd1, 0xdd, 0x98, 0xde, 0x8f, 0xb4, - 0xd5, 0xdf, 0x29, 0x90, 0x14, 0x37, 0x8a, 0x77, 0xae, 0xbf, 0x0d, 0xbd, 0x62, 0x0b, 0x94, 0x2e, - 0xb6, 0x40, 0x68, 0xa2, 0x6b, 0x90, 0xb2, 0xb1, 0x59, 0xc1, 0x96, 0x6e, 0x93, 0x7d, 0x82, 0x0d, - 0xf9, 0xfa, 0x6d, 0x67, 0xa8, 0xa4, 0x94, 0xd3, 0x84, 0x18, 0x5a, 0x86, 0xc1, 0xaa, 0x8d, 0xf7, - 0xf6, 0x28, 0xa3, 0xf1, 0x6f, 0x1d, 0x5f, 0x44, 0xdd, 0x80, 0x91, 0x1d, 0xb9, 0x3b, 0x7e, 0x14, - 0xb8, 0x0c, 0x20, 0x2f, 0x4f, 0xf1, 0x5e, 0x52, 0xe2, 0x30, 0x86, 0x84, 0x90, 0x78, 0x23, 0xe5, - 0x61, 0xdc, 0x05, 0xc9, 0x3f, 0xa5, 0xc1, 0x13, 0x2e, 0x0b, 0x43, 0xe4, 0x29, 0x65, 0x1d, 0x70, - 0x06, 0xb9, 0x8c, 0x80, 0xf9, 0x83, 0x02, 0x13, 0xb9, 0x20, 0xab, 0xd8, 0xc4, 0x0c, 0x9f, 0x9e, - 0x3d, 0xbf, 0xe9, 0xe3, 0xa7, 0x3e, 0x84, 0xb4, 0x24, 0xef, 0xaf, 0x3f, 0x0f, 0x67, 0x42, 0x49, - 0x92, 0x5e, 0xc1, 0x0c, 0x77, 0xb0, 0xc5, 0x38, 0x6e, 0x59, 0x3e, 0x37, 0xcb, 0xd7, 0x09, 0x98, - 0xce, 0x55, 0xab, 0x36, 0xa9, 0x62, 0x46, 0x8a, 0xc4, 0x20, 0xe5, 0x70, 0xae, 0xf2, 0xbf, 0x6f, - 0x19, 0xb4, 0x11, 0x39, 0xf0, 0xd2, 0x29, 0xdf, 0x7d, 0x79, 0x38, 0x37, 0x1f, 0xf1, 0xe3, 0x79, - 0xa7, 0x41, 0xca, 0xcb, 0x26, 0xae, 0x93, 0x1b, 0x6a, 0xa3, 0x59, 0x7a, 0x4c, 0x0e, 0x22, 0x31, - 0xe0, 0x7d, 0x48, 0x73, 0xb6, 0xba, 0x9f, 0xc9, 0x89, 0xe7, 0xd3, 0x6b, 0x56, 0xbc, 0x7e, 0x4d, - 0xd5, 0x52, 0x5c, 0xb0, 0xe8, 0xc9, 0xa9, 0x9f, 0x29, 0x90, 0x69, 0x67, 0x3f, 0x77, 0x97, 0xca, - 0x30, 0x8e, 0xbd, 0x51, 0x1d, 0x9b, 0x15, 0xbd, 0x61, 0x5b, 0xd6, 0x9e, 0xb0, 0xe7, 0xf0, 0xda, - 0x95, 0x98, 0x48, 0xe3, 0xe3, 0x85, 0xfc, 0x35, 0x67, 0x56, 0x76, 0xb8, 0xaa, 0x36, 0xe6, 0xe3, - 0x79, 0x5d, 0xea, 0xcf, 0x14, 0x98, 0xe1, 0x8c, 0x48, 0x25, 0x60, 0xd2, 0x2c, 0xd5, 0xf9, 0x61, - 0x91, 0xdb, 0xb8, 0x0f, 0x19, 0x47, 0x8c, 0xeb, 0xf1, 0x64, 0xe2, 0xd2, 0xc5, 0x16, 0xe0, 0x76, - 0x94, 0x26, 0x9d, 0x16, 0x19, 0x8f, 0xd8, 0x1e, 0x9c, 0x8d, 0xe1, 0x75, 0xba, 0x4e, 0xfc, 0x2f, - 0x05, 0xe6, 0x7d, 0x37, 0x29, 0x36, 0x4b, 0x26, 0x61, 0x4e, 0xb1, 0x59, 0x72, 0xca, 0x36, 0x2d, - 0x11, 0xcf, 0x08, 0xeb, 0xd0, 0x27, 0x6f, 0x19, 0xa5, 0x8b, 0x5b, 0x46, 0xaa, 0xa2, 0xef, 0x43, - 0x2a, 0xe4, 0xcd, 0x15, 0xf9, 0xe8, 0xe8, 0xde, 0x97, 0x93, 0x81, 0x2f, 0x57, 0x1c, 0xb4, 0x00, - 0x29, 0xea, 0xf8, 0x3b, 0x64, 0xd9, 0xe2, 0xd9, 0x31, 0xa8, 0x25, 0xa9, 0x93, 0xf3, 0xfb, 0xd4, - 0xbf, 0xf7, 0xc2, 0x90, 0x7f, 0x5f, 0xb4, 0x38, 0xbf, 0xd2, 0x9d, 0xf3, 0xdf, 0x81, 0x89, 0x27, - 0x94, 0xd5, 0x2a, 0x36, 0x7e, 0x82, 0x0d, 0xbd, 0x6c, 0x93, 0x0a, 0x31, 0x19, 0xc5, 0x86, 0xd3, - 0xfe, 0x56, 0x10, 0xe9, 0x6c, 0xa0, 0xb0, 0x11, 0xc8, 0xa3, 0x8b, 0x30, 0x46, 0xf6, 0xf6, 0xf8, - 0x11, 0xd8, 0x27, 0x7a, 0x09, 0x1b, 0xd8, 0x2c, 0x13, 0xf9, 0x50, 0xd0, 0x46, 0xfd, 0x81, 0x75, - 0xd9, 0x2f, 0x72, 0x70, 0x03, 0x3b, 0x35, 0x52, 0x11, 0x87, 0x8d, 0xe7, 0xe0, 0xb2, 0x89, 0x2c, - 0x98, 0x09, 0xa7, 0x33, 0x06, 0xad, 0xd2, 0x12, 0x35, 0x28, 0x3b, 0x70, 0x53, 0x9b, 0xbe, 0x6e, - 0x9e, 0xb3, 0x99, 0x50, 0x6a, 0x13, 0x20, 0xca, 0x2c, 0xa7, 0x5d, 0xfe, 0xd4, 0x7f, 0x2a, 0xf9, - 0xd3, 0x16, 0x80, 0xb8, 0xa5, 0x24, 0xe6, 0x40, 0x37, 0x98, 0xe2, 0x9a, 0x93, 0x68, 0x8f, 0x00, - 0xf9, 0x86, 0x2f, 0x19, 0xc4, 0x45, 0x1d, 0xec, 0x06, 0x75, 0x2c, 0x0c, 0x24, 0xba, 0xd4, 0xe7, - 0x7d, 0xa1, 0x6c, 0x7c, 0x07, 0xdb, 0x8c, 0x96, 0x69, 0x43, 0xac, 0x05, 0x7d, 0x00, 0xd3, 0x55, - 0xc3, 0x2a, 0x61, 0x43, 0x6f, 0x84, 0xfb, 0x75, 0x1b, 0x33, 0x22, 0xdc, 0x2e, 0x21, 0x9e, 0xe8, - 0x93, 0x52, 0x28, 0xa2, 0xab, 0x61, 0x46, 0xd0, 0x02, 0x0c, 0xef, 0x5b, 0x8c, 0x54, 0x74, 0x11, - 0x63, 0xdc, 0x1b, 0x80, 0x6b, 0x80, 0xe8, 0xce, 0xf3, 0x5e, 0x74, 0x01, 0xd2, 0x72, 0xaf, 0xf9, - 0xca, 0x84, 0x5c, 0x8f, 0x2f, 0x97, 0xf2, 0x46, 0xa4, 0xe8, 0x75, 0x98, 0x8e, 0xe6, 0x00, 0x58, - 0xfa, 0x5c, 0xf5, 0x09, 0xa1, 0x32, 0xf3, 0xd5, 0x26, 0xc2, 0x8f, 0x7b, 0x91, 0x95, 0x92, 0xdb, - 0x4f, 0x08, 0xe5, 0x19, 0x6d, 0x8b, 0xaa, 0x08, 0x28, 0xd4, 0xac, 0x4a, 0x6d, 0x37, 0xa3, 0x8d, - 0x68, 0x7b, 0x12, 0x02, 0x60, 0x0b, 0x16, 0xa2, 0x00, 0x0c, 0xdb, 0x55, 0xc2, 0x5a, 0x71, 0x84, - 0xff, 0x68, 0x73, 0x61, 0x9c, 0x5d, 0x21, 0x18, 0x45, 0xbb, 0x09, 0x99, 0x86, 0x4d, 0xf6, 0xa9, - 0xd5, 0x74, 0xda, 0x2c, 0x45, 0x38, 0x8c, 0x36, 0xe9, 0x49, 0xb4, 0xae, 0x25, 0x07, 0x67, 0x5b, - 0x95, 0xa3, 0x24, 0x84, 0x6b, 0x68, 0x99, 0xa8, 0x7e, 0x64, 0xfe, 0x6d, 0x78, 0xb7, 0x05, 0xa2, - 0xfd, 0x72, 0x86, 0x04, 0xd2, 0x7c, 0x04, 0xa9, 0xdd, 0x7a, 0xee, 0x82, 0xda, 0x82, 0x57, 0x23, - 0xb8, 0xd2, 0x8a, 0x06, 0x02, 0x6d, 0x36, 0x82, 0x76, 0x87, 0xe0, 0x4a, 0x04, 0x4b, 0xfd, 0x4f, - 0x02, 0x52, 0xa1, 0xb7, 0xf1, 0x9e, 0xd5, 0xa9, 0x06, 0xe9, 0x17, 0xa7, 0x12, 0xa7, 0x50, 0x9c, - 0x0a, 0xd2, 0xe7, 0x9e, 0x37, 0x48, 0x9f, 0x83, 0xec, 0xa2, 0xb7, 0xab, 0xec, 0x62, 0x15, 0xde, - 0x62, 0x36, 0x36, 0xdd, 0x12, 0x0c, 0xa3, 0x75, 0x7e, 0xf9, 0xd5, 0x1b, 0xae, 0x9b, 0x8e, 0x07, - 0x63, 0xbb, 0xde, 0x10, 0x0f, 0xac, 0x5e, 0xec, 0x95, 0x4e, 0xe8, 0x35, 0xdb, 0xc7, 0xe7, 0x81, - 0xf6, 0xf1, 0x79, 0xe9, 0x17, 0x0a, 0x8c, 0xb4, 0xb0, 0x42, 0x08, 0xd2, 0xf7, 0xb7, 0xef, 0x6d, - 0x7f, 0xf4, 0x70, 0x5b, 0x2f, 0xee, 0xe6, 0x76, 0xef, 0x17, 0x47, 0xff, 0x0f, 0xa5, 0x60, 0x68, - 0x33, 0xbf, 0xf3, 0x51, 0xb1, 0xb0, 0x9b, 0xdf, 0x1c, 0x55, 0xd0, 0x30, 0x0c, 0xec, 0xe4, 0xb7, - 0x37, 0x0b, 0xdb, 0xb7, 0x47, 0x13, 0x08, 0xa0, 0x3f, 0xb7, 0xb1, 0x5b, 0x78, 0x90, 0x1f, 0xed, - 0xe1, 0x03, 0xf9, 0x4f, 0x0a, 0xbb, 0x7c, 0xa0, 0x17, 0x25, 0x61, 0xb0, 0xb8, 0x95, 0x2b, 0xde, - 0xe1, 0xad, 0x3e, 0x2e, 0xc6, 0x87, 0xf2, 0x9b, 0xa3, 0xfd, 0x5c, 0xac, 0xb0, 0xfd, 0x20, 0xb7, - 0x55, 0xd8, 0x1c, 0x1d, 0x40, 0x93, 0x30, 0xbe, 0x93, 0xd3, 0x76, 0x0b, 0xb9, 0xad, 0xad, 0xef, - 0xea, 0xc1, 0x2c, 0x83, 0x6b, 0xbf, 0x1d, 0x87, 0xf1, 0x75, 0xf1, 0x11, 0x61, 0xdb, 0xaa, 0x04, - 0x65, 0x1e, 0xf4, 0x03, 0x05, 0x86, 0x6e, 0x13, 0xe6, 0x26, 0xf3, 0xef, 0x76, 0xc8, 0xd8, 0xc5, - 0xc3, 0x20, 0x73, 0xee, 0x58, 0x79, 0xbd, 0x7a, 0xfe, 0x87, 0x7f, 0xfb, 0xe7, 0x17, 0x89, 0x79, - 0x34, 0xbb, 0xd2, 0xfe, 0x4b, 0xcb, 0x8a, 0x5b, 0x9f, 0xf8, 0xb1, 0x02, 0xc9, 0x22, 0xb3, 0x09, - 0xae, 0x7f, 0x13, 0x2c, 0x96, 0x05, 0x8b, 0xf7, 0xd0, 0xb9, 0xa3, 0x59, 0xac, 0x38, 0x82, 0xc1, - 0x65, 0x05, 0x7d, 0xa6, 0x00, 0xc8, 0xef, 0x12, 0xfc, 0xb9, 0x14, 0x4f, 0x26, 0xfc, 0x6d, 0x25, - 0x9e, 0x4c, 0xe4, 0x9b, 0xc8, 0x31, 0x4c, 0x22, 0xe4, 0xd1, 0x73, 0x05, 0xc6, 0x1e, 0x62, 0xca, - 0x6e, 0x59, 0x76, 0x50, 0x8c, 0x47, 0x13, 0x59, 0xf9, 0xc1, 0x28, 0xeb, 0x7d, 0x30, 0xca, 0xe6, - 0xeb, 0x0d, 0x76, 0x90, 0xb9, 0x10, 0x33, 0xf9, 0xeb, 0x75, 0x7c, 0xf5, 0xaa, 0x20, 0x70, 0x11, - 0x5d, 0x88, 0x23, 0x50, 0xe6, 0x3a, 0xa2, 0xb6, 0xef, 0x5a, 0xe4, 0x47, 0x09, 0xe5, 0xb2, 0x82, - 0x7e, 0x1d, 0x10, 0x0a, 0x0a, 0x96, 0x68, 0xf5, 0x24, 0x5f, 0x4c, 0xa4, 0xa1, 0xd6, 0x4e, 0xfe, - 0x91, 0x45, 0x5d, 0xed, 0x44, 0x3a, 0x78, 0x44, 0x04, 0xdb, 0xf8, 0x53, 0x05, 0xd2, 0xd1, 0x30, - 0x85, 0x2e, 0x75, 0x9a, 0x3b, 0xfc, 0x11, 0x20, 0xb3, 0x7c, 0x4c, 0x69, 0x97, 0xe4, 0x39, 0x41, - 0x72, 0x0e, 0x9d, 0x8d, 0x23, 0x29, 0x63, 0xe4, 0xcf, 0xdb, 0x04, 0x89, 0xe5, 0xe3, 0x16, 0x45, - 0x25, 0xb1, 0x13, 0xd6, 0x50, 0x3b, 0x3b, 0x9d, 0x1b, 0x39, 0xbf, 0x52, 0x60, 0x32, 0xa6, 0x0e, - 0x8c, 0xfe, 0x3f, 0x66, 0xce, 0xa3, 0x4b, 0xd5, 0x99, 0x6b, 0x27, 0x55, 0x73, 0x29, 0x2f, 0x0a, - 0xca, 0x2a, 0x9a, 0x3f, 0x9a, 0x32, 0x71, 0xd0, 0x33, 0x18, 0xbc, 0x4d, 0xe4, 0xf7, 0x03, 0xb4, - 0x10, 0x33, 0x5b, 0xb8, 0x16, 0x94, 0x51, 0xe3, 0x84, 0x44, 0x70, 0x14, 0xa2, 0x9d, 0xf7, 0x52, - 0x14, 0x5b, 0xd0, 0xe7, 0x0a, 0x24, 0xdd, 0x4a, 0x8b, 0x24, 0xb0, 0x78, 0x64, 0x4a, 0x18, 0x9a, - 0x21, 0x13, 0x77, 0xab, 0xb5, 0x54, 0x7f, 0x3c, 0x43, 0xa8, 0x47, 0x33, 0xb9, 0xa1, 0x2c, 0x71, - 0xc7, 0x42, 0xb7, 0xbd, 0xc7, 0x85, 0x9f, 0xed, 0xc5, 0xfa, 0x56, 0xfb, 0xca, 0x4e, 0x2c, 0xaf, - 0x16, 0x71, 0xf5, 0xa2, 0xe0, 0x75, 0x0e, 0x2d, 0xc4, 0x1e, 0xc9, 0x40, 0x01, 0xfd, 0x44, 0x01, - 0xe4, 0x2e, 0x2c, 0x84, 0x83, 0xd4, 0xce, 0x73, 0xc5, 0xc6, 0xd5, 0x68, 0x6d, 0x47, 0xcd, 0x0a, - 0x3a, 0x8b, 0xea, 0x71, 0xe8, 0x70, 0x63, 0x7d, 0xa5, 0xc0, 0x59, 0x99, 0x59, 0xbf, 0x5e, 0x8a, - 0x10, 0x99, 0x38, 0xba, 0xdc, 0xa9, 0xd4, 0xd0, 0x5a, 0xfa, 0xc9, 0xac, 0x9e, 0x40, 0xc3, 0xa5, - 0x7d, 0x49, 0xd0, 0x3e, 0xaf, 0xbe, 0x13, 0x4b, 0xdb, 0xd3, 0xe5, 0xa4, 0xff, 0xa8, 0xc0, 0x82, - 0x24, 0xdd, 0x5a, 0x23, 0x88, 0x52, 0xbf, 0x72, 0xbc, 0xc2, 0x44, 0xa4, 0xe2, 0x91, 0xb9, 0x7a, - 0x32, 0xa5, 0xae, 0x16, 0xf0, 0x5c, 0x81, 0xe1, 0x50, 0x65, 0x12, 0x2d, 0x1d, 0x39, 0xe7, 0x03, - 0xcb, 0x68, 0x9a, 0x0c, 0xdb, 0x07, 0x5c, 0x36, 0xb3, 0x74, 0xf4, 0x81, 0x09, 0x57, 0x3a, 0xd5, - 0xf7, 0x04, 0xab, 0x77, 0xd4, 0x99, 0x38, 0x56, 0x3c, 0x41, 0xe4, 0x84, 0xbe, 0x54, 0x60, 0xda, - 0x2f, 0x7b, 0xb4, 0xd6, 0x43, 0xd0, 0xb7, 0xe2, 0xae, 0xd5, 0x0e, 0x85, 0x93, 0x4c, 0xcc, 0x3d, - 0xad, 0x5e, 0x11, 0xbc, 0x96, 0xd5, 0xc5, 0xd8, 0xa8, 0x26, 0x00, 0xf9, 0x8f, 0x04, 0xbc, 0xa1, - 0x2c, 0xad, 0x7f, 0xa9, 0xfc, 0xe9, 0xc5, 0xac, 0xf2, 0xd7, 0x17, 0xb3, 0xca, 0x3f, 0x5e, 0xcc, - 0x2a, 0x30, 0x6d, 0xd9, 0xd5, 0xf6, 0xbc, 0xd6, 0x83, 0xeb, 0x6e, 0x87, 0xcf, 0xbb, 0xa3, 0x7c, - 0xef, 0xda, 0x51, 0xaf, 0x6f, 0x81, 0x80, 0x1b, 0xd4, 0x89, 0xb0, 0xb9, 0x49, 0x58, 0xed, 0x57, - 0x89, 0x33, 0x79, 0x6f, 0x86, 0x7c, 0x68, 0x86, 0xbf, 0x04, 0xfd, 0x8f, 0xf2, 0xac, 0xf6, 0xc8, - 0xeb, 0x2f, 0xf5, 0x8b, 0x85, 0x5e, 0xf9, 0x6f, 0x00, 0x00, 0x00, 0xff, 0xff, 0xe6, 0x7f, 0x3a, - 0xa0, 0x53, 0x23, 0x00, 0x00, +type ValidatorActivationResponse_Status 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"` + Status *ValidatorStatusResponse `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"` + Index github_com_prysmaticlabs_eth2_types.ValidatorIndex `protobuf:"varint,3,opt,name=index,proto3" json:"index,omitempty" cast-type:"github.com/prysmaticlabs/eth2-types.ValidatorIndex"` +} + +func (x *ValidatorActivationResponse_Status) Reset() { + *x = ValidatorActivationResponse_Status{} + if protoimpl.UnsafeEnabled { + mi := &file_eth_v1alpha1_validator_proto_msgTypes[27] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ValidatorActivationResponse_Status) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ValidatorActivationResponse_Status) ProtoMessage() {} + +func (x *ValidatorActivationResponse_Status) ProtoReflect() protoreflect.Message { + mi := &file_eth_v1alpha1_validator_proto_msgTypes[27] + 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 ValidatorActivationResponse_Status.ProtoReflect.Descriptor instead. +func (*ValidatorActivationResponse_Status) Descriptor() ([]byte, []int) { + return file_eth_v1alpha1_validator_proto_rawDescGZIP(), []int{3, 0} +} + +func (x *ValidatorActivationResponse_Status) GetPublicKey() []byte { + if x != nil { + return x.PublicKey + } + return nil +} + +func (x *ValidatorActivationResponse_Status) GetStatus() *ValidatorStatusResponse { + if x != nil { + return x.Status + } + return nil +} + +func (x *ValidatorActivationResponse_Status) GetIndex() github_com_prysmaticlabs_eth2_types.ValidatorIndex { + if x != nil { + return x.Index + } + return github_com_prysmaticlabs_eth2_types.ValidatorIndex(0) +} + +type DutiesResponse_Duty struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Committee []github_com_prysmaticlabs_eth2_types.ValidatorIndex `protobuf:"varint,1,rep,packed,name=committee,proto3" json:"committee,omitempty" cast-type:"github.com/prysmaticlabs/eth2-types.ValidatorIndex"` + CommitteeIndex github_com_prysmaticlabs_eth2_types.CommitteeIndex `protobuf:"varint,2,opt,name=committee_index,json=committeeIndex,proto3" json:"committee_index,omitempty" cast-type:"github.com/prysmaticlabs/eth2-types.CommitteeIndex"` + AttesterSlot github_com_prysmaticlabs_eth2_types.Slot `protobuf:"varint,3,opt,name=attester_slot,json=attesterSlot,proto3" json:"attester_slot,omitempty" cast-type:"github.com/prysmaticlabs/eth2-types.Slot"` + ProposerSlots []github_com_prysmaticlabs_eth2_types.Slot `protobuf:"varint,4,rep,packed,name=proposer_slots,json=proposerSlots,proto3" json:"proposer_slots,omitempty" cast-type:"github.com/prysmaticlabs/eth2-types.Slot"` + PublicKey []byte `protobuf:"bytes,5,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty" ssz-size:"48"` + Status ValidatorStatus `protobuf:"varint,6,opt,name=status,proto3,enum=ethereum.eth.v1alpha1.ValidatorStatus" json:"status,omitempty"` + ValidatorIndex github_com_prysmaticlabs_eth2_types.ValidatorIndex `protobuf:"varint,7,opt,name=validator_index,json=validatorIndex,proto3" json:"validator_index,omitempty" cast-type:"github.com/prysmaticlabs/eth2-types.ValidatorIndex"` +} + +func (x *DutiesResponse_Duty) Reset() { + *x = DutiesResponse_Duty{} + if protoimpl.UnsafeEnabled { + mi := &file_eth_v1alpha1_validator_proto_msgTypes[28] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DutiesResponse_Duty) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DutiesResponse_Duty) ProtoMessage() {} + +func (x *DutiesResponse_Duty) ProtoReflect() protoreflect.Message { + mi := &file_eth_v1alpha1_validator_proto_msgTypes[28] + 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 DutiesResponse_Duty.ProtoReflect.Descriptor instead. +func (*DutiesResponse_Duty) Descriptor() ([]byte, []int) { + return file_eth_v1alpha1_validator_proto_rawDescGZIP(), []int{13, 0} +} + +func (x *DutiesResponse_Duty) GetCommittee() []github_com_prysmaticlabs_eth2_types.ValidatorIndex { + if x != nil { + return x.Committee + } + return []github_com_prysmaticlabs_eth2_types.ValidatorIndex(nil) +} + +func (x *DutiesResponse_Duty) GetCommitteeIndex() github_com_prysmaticlabs_eth2_types.CommitteeIndex { + if x != nil { + return x.CommitteeIndex + } + return github_com_prysmaticlabs_eth2_types.CommitteeIndex(0) +} + +func (x *DutiesResponse_Duty) GetAttesterSlot() github_com_prysmaticlabs_eth2_types.Slot { + if x != nil { + return x.AttesterSlot + } + return github_com_prysmaticlabs_eth2_types.Slot(0) +} + +func (x *DutiesResponse_Duty) GetProposerSlots() []github_com_prysmaticlabs_eth2_types.Slot { + if x != nil { + return x.ProposerSlots + } + return []github_com_prysmaticlabs_eth2_types.Slot(nil) +} + +func (x *DutiesResponse_Duty) GetPublicKey() []byte { + if x != nil { + return x.PublicKey + } + return nil +} + +func (x *DutiesResponse_Duty) GetStatus() ValidatorStatus { + if x != nil { + return x.Status + } + return ValidatorStatus_UNKNOWN_STATUS +} + +func (x *DutiesResponse_Duty) GetValidatorIndex() github_com_prysmaticlabs_eth2_types.ValidatorIndex { + if x != nil { + return x.ValidatorIndex + } + return github_com_prysmaticlabs_eth2_types.ValidatorIndex(0) +} + +var File_eth_v1alpha1_validator_proto protoreflect.FileDescriptor + +var file_eth_v1alpha1_validator_proto_rawDesc = []byte{ + 0x0a, 0x1c, 0x65, 0x74, 0x68, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2f, 0x76, + 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x15, + 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x61, + 0x6c, 0x70, 0x68, 0x61, 0x31, 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, + 0x1a, 0x15, 0x65, 0x74, 0x68, 0x2f, 0x65, 0x78, 0x74, 0x2f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, + 0x73, 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, 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, 0x22, 0x6c, 0x0a, 0x0d, 0x44, 0x6f, 0x6d, 0x61, + 0x69, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x43, 0x0a, 0x05, 0x65, 0x70, 0x6f, + 0x63, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x42, 0x2d, 0x82, 0xb5, 0x18, 0x29, 0x67, 0x69, + 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x72, 0x79, 0x73, 0x6d, 0x61, 0x74, + 0x69, 0x63, 0x6c, 0x61, 0x62, 0x73, 0x2f, 0x65, 0x74, 0x68, 0x32, 0x2d, 0x74, 0x79, 0x70, 0x65, + 0x73, 0x2e, 0x45, 0x70, 0x6f, 0x63, 0x68, 0x52, 0x05, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x12, 0x16, + 0x0a, 0x06, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, + 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x22, 0x3b, 0x0a, 0x0e, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x29, 0x0a, 0x10, 0x73, 0x69, 0x67, 0x6e, + 0x61, 0x74, 0x75, 0x72, 0x65, 0x5f, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0c, 0x52, 0x0f, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x44, 0x6f, 0x6d, + 0x61, 0x69, 0x6e, 0x22, 0x47, 0x0a, 0x1a, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, + 0x41, 0x63, 0x74, 0x69, 0x76, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x12, 0x29, 0x0a, 0x0b, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x5f, 0x6b, 0x65, 0x79, 0x73, + 0x18, 0x01, 0x20, 0x03, 0x28, 0x0c, 0x42, 0x08, 0x8a, 0xb5, 0x18, 0x04, 0x3f, 0x2c, 0x34, 0x38, + 0x52, 0x0a, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4b, 0x65, 0x79, 0x73, 0x22, 0xb4, 0x02, 0x0a, + 0x1b, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x41, 0x63, 0x74, 0x69, 0x76, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x55, 0x0a, 0x08, + 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x39, + 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, + 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, + 0x41, 0x63, 0x74, 0x69, 0x76, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x08, 0x73, 0x74, 0x61, 0x74, 0x75, + 0x73, 0x65, 0x73, 0x1a, 0xbd, 0x01, 0x0a, 0x06, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 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, 0x46, 0x0a, + 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2e, 0x2e, + 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x61, + 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x53, + 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x52, 0x06, 0x73, + 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x4c, 0x0a, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x04, 0x42, 0x36, 0x82, 0xb5, 0x18, 0x32, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, + 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x72, 0x79, 0x73, 0x6d, 0x61, 0x74, 0x69, 0x63, 0x6c, 0x61, + 0x62, 0x73, 0x2f, 0x65, 0x74, 0x68, 0x32, 0x2d, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x56, 0x61, + 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x52, 0x05, 0x69, 0x6e, + 0x64, 0x65, 0x78, 0x22, 0x91, 0x01, 0x0a, 0x12, 0x43, 0x68, 0x61, 0x69, 0x6e, 0x53, 0x74, 0x61, + 0x72, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x74, + 0x61, 0x72, 0x74, 0x65, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x73, 0x74, 0x61, + 0x72, 0x74, 0x65, 0x64, 0x12, 0x21, 0x0a, 0x0c, 0x67, 0x65, 0x6e, 0x65, 0x73, 0x69, 0x73, 0x5f, + 0x74, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0b, 0x67, 0x65, 0x6e, 0x65, + 0x73, 0x69, 0x73, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x3e, 0x0a, 0x17, 0x67, 0x65, 0x6e, 0x65, 0x73, + 0x69, 0x73, 0x5f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x73, 0x5f, 0x72, 0x6f, + 0x6f, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x42, 0x06, 0x8a, 0xb5, 0x18, 0x02, 0x33, 0x32, + 0x52, 0x15, 0x67, 0x65, 0x6e, 0x65, 0x73, 0x69, 0x73, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, + 0x6f, 0x72, 0x73, 0x52, 0x6f, 0x6f, 0x74, 0x22, 0x4b, 0x0a, 0x0e, 0x53, 0x79, 0x6e, 0x63, 0x65, + 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x79, 0x6e, + 0x63, 0x65, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x73, 0x79, 0x6e, 0x63, 0x65, + 0x64, 0x12, 0x21, 0x0a, 0x0c, 0x67, 0x65, 0x6e, 0x65, 0x73, 0x69, 0x73, 0x5f, 0x74, 0x69, 0x6d, + 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0b, 0x67, 0x65, 0x6e, 0x65, 0x73, 0x69, 0x73, + 0x54, 0x69, 0x6d, 0x65, 0x22, 0x3e, 0x0a, 0x15, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, + 0x72, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x25, 0x0a, + 0x0a, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0c, 0x42, 0x06, 0x8a, 0xb5, 0x18, 0x02, 0x34, 0x38, 0x52, 0x09, 0x70, 0x75, 0x62, 0x6c, 0x69, + 0x63, 0x4b, 0x65, 0x79, 0x22, 0x66, 0x0a, 0x16, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, + 0x72, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4c, + 0x0a, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x42, 0x36, 0x82, + 0xb5, 0x18, 0x32, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x72, + 0x79, 0x73, 0x6d, 0x61, 0x74, 0x69, 0x63, 0x6c, 0x61, 0x62, 0x73, 0x2f, 0x65, 0x74, 0x68, 0x32, + 0x2d, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, + 0x49, 0x6e, 0x64, 0x65, 0x78, 0x52, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x22, 0x3f, 0x0a, 0x16, + 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x25, 0x0a, 0x0a, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, + 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x42, 0x06, 0x8a, 0xb5, 0x18, 0x02, + 0x34, 0x38, 0x52, 0x09, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4b, 0x65, 0x79, 0x22, 0x93, 0x03, + 0x0a, 0x17, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x53, 0x74, 0x61, 0x74, 0x75, + 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3e, 0x0a, 0x06, 0x73, 0x74, 0x61, + 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 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, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x53, 0x74, 0x61, 0x74, 0x75, + 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x39, 0x0a, 0x19, 0x65, 0x74, 0x68, + 0x31, 0x5f, 0x64, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x5f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, + 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x16, 0x65, 0x74, + 0x68, 0x31, 0x44, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x4e, 0x75, + 0x6d, 0x62, 0x65, 0x72, 0x12, 0x62, 0x0a, 0x16, 0x64, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x5f, + 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x73, 0x6c, 0x6f, 0x74, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x04, 0x42, 0x2c, 0x82, 0xb5, 0x18, 0x28, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, + 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x72, 0x79, 0x73, 0x6d, 0x61, 0x74, 0x69, 0x63, 0x6c, 0x61, + 0x62, 0x73, 0x2f, 0x65, 0x74, 0x68, 0x32, 0x2d, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x53, 0x6c, + 0x6f, 0x74, 0x52, 0x14, 0x64, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x49, 0x6e, 0x63, 0x6c, 0x75, + 0x73, 0x69, 0x6f, 0x6e, 0x53, 0x6c, 0x6f, 0x74, 0x12, 0x58, 0x0a, 0x10, 0x61, 0x63, 0x74, 0x69, + 0x76, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x18, 0x04, 0x20, 0x01, + 0x28, 0x04, 0x42, 0x2d, 0x82, 0xb5, 0x18, 0x29, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, + 0x6f, 0x6d, 0x2f, 0x70, 0x72, 0x79, 0x73, 0x6d, 0x61, 0x74, 0x69, 0x63, 0x6c, 0x61, 0x62, 0x73, + 0x2f, 0x65, 0x74, 0x68, 0x32, 0x2d, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x45, 0x70, 0x6f, 0x63, + 0x68, 0x52, 0x0f, 0x61, 0x63, 0x74, 0x69, 0x76, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x70, 0x6f, + 0x63, 0x68, 0x12, 0x3f, 0x0a, 0x1c, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, + 0x6e, 0x5f, 0x61, 0x63, 0x74, 0x69, 0x76, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x71, 0x75, 0x65, + 0x75, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x04, 0x52, 0x19, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, + 0x6f, 0x6e, 0x49, 0x6e, 0x41, 0x63, 0x74, 0x69, 0x76, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x51, 0x75, + 0x65, 0x75, 0x65, 0x22, 0x65, 0x0a, 0x1e, 0x4d, 0x75, 0x6c, 0x74, 0x69, 0x70, 0x6c, 0x65, 0x56, + 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x29, 0x0a, 0x0b, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x5f, + 0x6b, 0x65, 0x79, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0c, 0x42, 0x08, 0x8a, 0xb5, 0x18, 0x04, + 0x3f, 0x2c, 0x34, 0x38, 0x52, 0x0a, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4b, 0x65, 0x79, 0x73, + 0x12, 0x18, 0x0a, 0x07, 0x69, 0x6e, 0x64, 0x69, 0x63, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, + 0x03, 0x52, 0x07, 0x69, 0x6e, 0x64, 0x69, 0x63, 0x65, 0x73, 0x22, 0xea, 0x01, 0x0a, 0x1f, 0x4d, + 0x75, 0x6c, 0x74, 0x69, 0x70, 0x6c, 0x65, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, + 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x29, + 0x0a, 0x0b, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x5f, 0x6b, 0x65, 0x79, 0x73, 0x18, 0x01, 0x20, + 0x03, 0x28, 0x0c, 0x42, 0x08, 0x8a, 0xb5, 0x18, 0x04, 0x3f, 0x2c, 0x34, 0x38, 0x52, 0x0a, 0x70, + 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4b, 0x65, 0x79, 0x73, 0x12, 0x4a, 0x0a, 0x08, 0x73, 0x74, 0x61, + 0x74, 0x75, 0x73, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x65, 0x74, + 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, + 0x68, 0x61, 0x31, 0x2e, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x53, 0x74, 0x61, + 0x74, 0x75, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x52, 0x08, 0x73, 0x74, 0x61, + 0x74, 0x75, 0x73, 0x65, 0x73, 0x12, 0x50, 0x0a, 0x07, 0x69, 0x6e, 0x64, 0x69, 0x63, 0x65, 0x73, + 0x18, 0x03, 0x20, 0x03, 0x28, 0x04, 0x42, 0x36, 0x82, 0xb5, 0x18, 0x32, 0x67, 0x69, 0x74, 0x68, + 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x72, 0x79, 0x73, 0x6d, 0x61, 0x74, 0x69, 0x63, + 0x6c, 0x61, 0x62, 0x73, 0x2f, 0x65, 0x74, 0x68, 0x32, 0x2d, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, + 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x52, 0x07, + 0x69, 0x6e, 0x64, 0x69, 0x63, 0x65, 0x73, 0x22, 0x7f, 0x0a, 0x0d, 0x44, 0x75, 0x74, 0x69, 0x65, + 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x43, 0x0a, 0x05, 0x65, 0x70, 0x6f, 0x63, + 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x42, 0x2d, 0x82, 0xb5, 0x18, 0x29, 0x67, 0x69, 0x74, + 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x72, 0x79, 0x73, 0x6d, 0x61, 0x74, 0x69, + 0x63, 0x6c, 0x61, 0x62, 0x73, 0x2f, 0x65, 0x74, 0x68, 0x32, 0x2d, 0x74, 0x79, 0x70, 0x65, 0x73, + 0x2e, 0x45, 0x70, 0x6f, 0x63, 0x68, 0x52, 0x05, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x12, 0x29, 0x0a, + 0x0b, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x5f, 0x6b, 0x65, 0x79, 0x73, 0x18, 0x02, 0x20, 0x03, + 0x28, 0x0c, 0x42, 0x08, 0x8a, 0xb5, 0x18, 0x04, 0x3f, 0x2c, 0x34, 0x38, 0x52, 0x0a, 0x70, 0x75, + 0x62, 0x6c, 0x69, 0x63, 0x4b, 0x65, 0x79, 0x73, 0x22, 0xbe, 0x06, 0x0a, 0x0e, 0x44, 0x75, 0x74, + 0x69, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x46, 0x0a, 0x06, 0x64, + 0x75, 0x74, 0x69, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x65, 0x74, + 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, + 0x68, 0x61, 0x31, 0x2e, 0x44, 0x75, 0x74, 0x69, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x2e, 0x44, 0x75, 0x74, 0x79, 0x42, 0x02, 0x18, 0x01, 0x52, 0x06, 0x64, 0x75, 0x74, + 0x69, 0x65, 0x73, 0x12, 0x5c, 0x0a, 0x14, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x65, + 0x70, 0x6f, 0x63, 0x68, 0x5f, 0x64, 0x75, 0x74, 0x69, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, + 0x0b, 0x32, 0x2a, 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, + 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x44, 0x75, 0x74, 0x69, 0x65, 0x73, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x44, 0x75, 0x74, 0x79, 0x52, 0x12, 0x63, + 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x45, 0x70, 0x6f, 0x63, 0x68, 0x44, 0x75, 0x74, 0x69, 0x65, + 0x73, 0x12, 0x56, 0x0a, 0x11, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x5f, + 0x64, 0x75, 0x74, 0x69, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x65, + 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x61, 0x6c, + 0x70, 0x68, 0x61, 0x31, 0x2e, 0x44, 0x75, 0x74, 0x69, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x2e, 0x44, 0x75, 0x74, 0x79, 0x52, 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x45, 0x70, + 0x6f, 0x63, 0x68, 0x44, 0x75, 0x74, 0x69, 0x65, 0x73, 0x1a, 0xad, 0x04, 0x0a, 0x04, 0x44, 0x75, + 0x74, 0x79, 0x12, 0x54, 0x0a, 0x09, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x74, 0x65, 0x65, 0x18, + 0x01, 0x20, 0x03, 0x28, 0x04, 0x42, 0x36, 0x82, 0xb5, 0x18, 0x32, 0x67, 0x69, 0x74, 0x68, 0x75, + 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x72, 0x79, 0x73, 0x6d, 0x61, 0x74, 0x69, 0x63, 0x6c, + 0x61, 0x62, 0x73, 0x2f, 0x65, 0x74, 0x68, 0x32, 0x2d, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x56, + 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x52, 0x09, 0x63, + 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x74, 0x65, 0x65, 0x12, 0x5f, 0x0a, 0x0f, 0x63, 0x6f, 0x6d, 0x6d, + 0x69, 0x74, 0x74, 0x65, 0x65, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x04, 0x42, 0x36, 0x82, 0xb5, 0x18, 0x32, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, + 0x6d, 0x2f, 0x70, 0x72, 0x79, 0x73, 0x6d, 0x61, 0x74, 0x69, 0x63, 0x6c, 0x61, 0x62, 0x73, 0x2f, + 0x65, 0x74, 0x68, 0x32, 0x2d, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x69, + 0x74, 0x74, 0x65, 0x65, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x52, 0x0e, 0x63, 0x6f, 0x6d, 0x6d, 0x69, + 0x74, 0x74, 0x65, 0x65, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x51, 0x0a, 0x0d, 0x61, 0x74, 0x74, + 0x65, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x73, 0x6c, 0x6f, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, + 0x42, 0x2c, 0x82, 0xb5, 0x18, 0x28, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, + 0x2f, 0x70, 0x72, 0x79, 0x73, 0x6d, 0x61, 0x74, 0x69, 0x63, 0x6c, 0x61, 0x62, 0x73, 0x2f, 0x65, + 0x74, 0x68, 0x32, 0x2d, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x53, 0x6c, 0x6f, 0x74, 0x52, 0x0c, + 0x61, 0x74, 0x74, 0x65, 0x73, 0x74, 0x65, 0x72, 0x53, 0x6c, 0x6f, 0x74, 0x12, 0x53, 0x0a, 0x0e, + 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x65, 0x72, 0x5f, 0x73, 0x6c, 0x6f, 0x74, 0x73, 0x18, 0x04, + 0x20, 0x03, 0x28, 0x04, 0x42, 0x2c, 0x82, 0xb5, 0x18, 0x28, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, + 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x72, 0x79, 0x73, 0x6d, 0x61, 0x74, 0x69, 0x63, 0x6c, 0x61, + 0x62, 0x73, 0x2f, 0x65, 0x74, 0x68, 0x32, 0x2d, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x53, 0x6c, + 0x6f, 0x74, 0x52, 0x0d, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x65, 0x72, 0x53, 0x6c, 0x6f, 0x74, + 0x73, 0x12, 0x25, 0x0a, 0x0a, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x5f, 0x6b, 0x65, 0x79, 0x18, + 0x05, 0x20, 0x01, 0x28, 0x0c, 0x42, 0x06, 0x8a, 0xb5, 0x18, 0x02, 0x34, 0x38, 0x52, 0x09, 0x70, + 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4b, 0x65, 0x79, 0x12, 0x3e, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, + 0x75, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0e, 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, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, + 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x5f, 0x0a, 0x0f, 0x76, 0x61, 0x6c, 0x69, + 0x64, 0x61, 0x74, 0x6f, 0x72, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x07, 0x20, 0x01, 0x28, + 0x04, 0x42, 0x36, 0x82, 0xb5, 0x18, 0x32, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, + 0x6d, 0x2f, 0x70, 0x72, 0x79, 0x73, 0x6d, 0x61, 0x74, 0x69, 0x63, 0x6c, 0x61, 0x62, 0x73, 0x2f, + 0x65, 0x74, 0x68, 0x32, 0x2d, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x56, 0x61, 0x6c, 0x69, 0x64, + 0x61, 0x74, 0x6f, 0x72, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x52, 0x0e, 0x76, 0x61, 0x6c, 0x69, 0x64, + 0x61, 0x74, 0x6f, 0x72, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x22, 0xa1, 0x01, 0x0a, 0x0c, 0x42, 0x6c, + 0x6f, 0x63, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x40, 0x0a, 0x04, 0x73, 0x6c, + 0x6f, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x42, 0x2c, 0x82, 0xb5, 0x18, 0x28, 0x67, 0x69, + 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x72, 0x79, 0x73, 0x6d, 0x61, 0x74, + 0x69, 0x63, 0x6c, 0x61, 0x62, 0x73, 0x2f, 0x65, 0x74, 0x68, 0x32, 0x2d, 0x74, 0x79, 0x70, 0x65, + 0x73, 0x2e, 0x53, 0x6c, 0x6f, 0x74, 0x52, 0x04, 0x73, 0x6c, 0x6f, 0x74, 0x12, 0x2b, 0x0a, 0x0d, + 0x72, 0x61, 0x6e, 0x64, 0x61, 0x6f, 0x5f, 0x72, 0x65, 0x76, 0x65, 0x61, 0x6c, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x0c, 0x42, 0x06, 0x8a, 0xb5, 0x18, 0x02, 0x34, 0x38, 0x52, 0x0c, 0x72, 0x61, 0x6e, + 0x64, 0x61, 0x6f, 0x52, 0x65, 0x76, 0x65, 0x61, 0x6c, 0x12, 0x22, 0x0a, 0x08, 0x67, 0x72, 0x61, + 0x66, 0x66, 0x69, 0x74, 0x69, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x42, 0x06, 0x8a, 0xb5, 0x18, + 0x02, 0x33, 0x32, 0x52, 0x08, 0x67, 0x72, 0x61, 0x66, 0x66, 0x69, 0x74, 0x69, 0x22, 0x38, 0x0a, + 0x0f, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x12, 0x25, 0x0a, 0x0a, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x72, 0x6f, 0x6f, 0x74, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x0c, 0x42, 0x06, 0x8a, 0xb5, 0x18, 0x02, 0x33, 0x32, 0x52, 0x09, 0x62, 0x6c, + 0x6f, 0x63, 0x6b, 0x52, 0x6f, 0x6f, 0x74, 0x22, 0x3a, 0x0a, 0x13, 0x50, 0x72, 0x6f, 0x70, 0x6f, + 0x73, 0x65, 0x45, 0x78, 0x69, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x23, + 0x0a, 0x09, 0x65, 0x78, 0x69, 0x74, 0x5f, 0x72, 0x6f, 0x6f, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0c, 0x42, 0x06, 0x8a, 0xb5, 0x18, 0x02, 0x33, 0x32, 0x52, 0x08, 0x65, 0x78, 0x69, 0x74, 0x52, + 0x6f, 0x6f, 0x74, 0x22, 0xbb, 0x01, 0x0a, 0x16, 0x41, 0x74, 0x74, 0x65, 0x73, 0x74, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x44, 0x61, 0x74, 0x61, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x40, + 0x0a, 0x04, 0x73, 0x6c, 0x6f, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x42, 0x2c, 0x82, 0xb5, + 0x18, 0x28, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x72, 0x79, + 0x73, 0x6d, 0x61, 0x74, 0x69, 0x63, 0x6c, 0x61, 0x62, 0x73, 0x2f, 0x65, 0x74, 0x68, 0x32, 0x2d, + 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x53, 0x6c, 0x6f, 0x74, 0x52, 0x04, 0x73, 0x6c, 0x6f, 0x74, + 0x12, 0x5f, 0x0a, 0x0f, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x74, 0x65, 0x65, 0x5f, 0x69, 0x6e, + 0x64, 0x65, 0x78, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x42, 0x36, 0x82, 0xb5, 0x18, 0x32, 0x67, + 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x72, 0x79, 0x73, 0x6d, 0x61, + 0x74, 0x69, 0x63, 0x6c, 0x61, 0x62, 0x73, 0x2f, 0x65, 0x74, 0x68, 0x32, 0x2d, 0x74, 0x79, 0x70, + 0x65, 0x73, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x74, 0x65, 0x65, 0x49, 0x6e, 0x64, 0x65, + 0x78, 0x52, 0x0e, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x74, 0x65, 0x65, 0x49, 0x6e, 0x64, 0x65, + 0x78, 0x22, 0x4c, 0x0a, 0x0e, 0x41, 0x74, 0x74, 0x65, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x12, 0x3a, 0x0a, 0x15, 0x61, 0x74, 0x74, 0x65, 0x73, 0x74, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x72, 0x6f, 0x6f, 0x74, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0c, 0x42, 0x06, 0x8a, 0xb5, 0x18, 0x02, 0x33, 0x32, 0x52, 0x13, 0x61, 0x74, 0x74, 0x65, + 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x61, 0x74, 0x61, 0x52, 0x6f, 0x6f, 0x74, 0x22, + 0x9e, 0x02, 0x0a, 0x19, 0x41, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x65, 0x53, 0x65, 0x6c, + 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x40, 0x0a, + 0x04, 0x73, 0x6c, 0x6f, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x42, 0x2c, 0x82, 0xb5, 0x18, + 0x28, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x72, 0x79, 0x73, + 0x6d, 0x61, 0x74, 0x69, 0x63, 0x6c, 0x61, 0x62, 0x73, 0x2f, 0x65, 0x74, 0x68, 0x32, 0x2d, 0x74, + 0x79, 0x70, 0x65, 0x73, 0x2e, 0x53, 0x6c, 0x6f, 0x74, 0x52, 0x04, 0x73, 0x6c, 0x6f, 0x74, 0x12, + 0x5f, 0x0a, 0x0f, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x74, 0x65, 0x65, 0x5f, 0x69, 0x6e, 0x64, + 0x65, 0x78, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x42, 0x36, 0x82, 0xb5, 0x18, 0x32, 0x67, 0x69, + 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x72, 0x79, 0x73, 0x6d, 0x61, 0x74, + 0x69, 0x63, 0x6c, 0x61, 0x62, 0x73, 0x2f, 0x65, 0x74, 0x68, 0x32, 0x2d, 0x74, 0x79, 0x70, 0x65, + 0x73, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x74, 0x65, 0x65, 0x49, 0x6e, 0x64, 0x65, 0x78, + 0x52, 0x0e, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x74, 0x65, 0x65, 0x49, 0x6e, 0x64, 0x65, 0x78, + 0x12, 0x2f, 0x0a, 0x0a, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x0c, 0x42, 0x10, 0x8a, 0xb5, 0x18, 0x02, 0x34, 0x38, 0x9a, 0xb5, 0x18, 0x06, + 0x70, 0x75, 0x62, 0x6b, 0x65, 0x79, 0x52, 0x09, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4b, 0x65, + 0x79, 0x12, 0x2d, 0x0a, 0x0e, 0x73, 0x6c, 0x6f, 0x74, 0x5f, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, + 0x75, 0x72, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x42, 0x06, 0x8a, 0xb5, 0x18, 0x02, 0x39, + 0x36, 0x52, 0x0d, 0x73, 0x6c, 0x6f, 0x74, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, + 0x22, 0x81, 0x01, 0x0a, 0x1a, 0x41, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x65, 0x53, 0x65, + 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, + 0x63, 0x0a, 0x13, 0x61, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x65, 0x5f, 0x61, 0x6e, 0x64, + 0x5f, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x18, 0x01, 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, 0x52, 0x11, 0x61, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x65, 0x41, 0x6e, 0x64, 0x50, + 0x72, 0x6f, 0x6f, 0x66, 0x22, 0x96, 0x01, 0x0a, 0x1c, 0x53, 0x69, 0x67, 0x6e, 0x65, 0x64, 0x41, + 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x65, 0x53, 0x75, 0x62, 0x6d, 0x69, 0x74, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x76, 0x0a, 0x1a, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x64, 0x5f, + 0x61, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x65, 0x5f, 0x61, 0x6e, 0x64, 0x5f, 0x70, 0x72, + 0x6f, 0x6f, 0x66, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x39, 0x2e, 0x65, 0x74, 0x68, 0x65, + 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, + 0x31, 0x2e, 0x53, 0x69, 0x67, 0x6e, 0x65, 0x64, 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, 0x52, 0x17, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x64, 0x41, 0x67, 0x67, 0x72, + 0x65, 0x67, 0x61, 0x74, 0x65, 0x41, 0x6e, 0x64, 0x50, 0x72, 0x6f, 0x6f, 0x66, 0x22, 0x5b, 0x0a, + 0x1d, 0x53, 0x69, 0x67, 0x6e, 0x65, 0x64, 0x41, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x65, + 0x53, 0x75, 0x62, 0x6d, 0x69, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3a, + 0x0a, 0x15, 0x61, 0x74, 0x74, 0x65, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x64, 0x61, + 0x74, 0x61, 0x5f, 0x72, 0x6f, 0x6f, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x42, 0x06, 0x8a, + 0xb5, 0x18, 0x02, 0x33, 0x32, 0x52, 0x13, 0x61, 0x74, 0x74, 0x65, 0x73, 0x74, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x44, 0x61, 0x74, 0x61, 0x52, 0x6f, 0x6f, 0x74, 0x22, 0xe8, 0x01, 0x0a, 0x20, 0x43, + 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x74, 0x65, 0x65, 0x53, 0x75, 0x62, 0x6e, 0x65, 0x74, 0x73, 0x53, + 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, + 0x42, 0x0a, 0x05, 0x73, 0x6c, 0x6f, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x04, 0x42, 0x2c, + 0x82, 0xb5, 0x18, 0x28, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, + 0x72, 0x79, 0x73, 0x6d, 0x61, 0x74, 0x69, 0x63, 0x6c, 0x61, 0x62, 0x73, 0x2f, 0x65, 0x74, 0x68, + 0x32, 0x2d, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x53, 0x6c, 0x6f, 0x74, 0x52, 0x05, 0x73, 0x6c, + 0x6f, 0x74, 0x73, 0x12, 0x5b, 0x0a, 0x0d, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x74, 0x65, 0x65, + 0x5f, 0x69, 0x64, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x04, 0x42, 0x36, 0x82, 0xb5, 0x18, 0x32, + 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x72, 0x79, 0x73, 0x6d, + 0x61, 0x74, 0x69, 0x63, 0x6c, 0x61, 0x62, 0x73, 0x2f, 0x65, 0x74, 0x68, 0x32, 0x2d, 0x74, 0x79, + 0x70, 0x65, 0x73, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x74, 0x65, 0x65, 0x49, 0x6e, 0x64, + 0x65, 0x78, 0x52, 0x0c, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x74, 0x65, 0x65, 0x49, 0x64, 0x73, + 0x12, 0x23, 0x0a, 0x0d, 0x69, 0x73, 0x5f, 0x61, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x6f, + 0x72, 0x18, 0x03, 0x20, 0x03, 0x28, 0x08, 0x52, 0x0c, 0x69, 0x73, 0x41, 0x67, 0x67, 0x72, 0x65, + 0x67, 0x61, 0x74, 0x6f, 0x72, 0x22, 0xb9, 0x04, 0x0a, 0x09, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, + 0x74, 0x6f, 0x72, 0x12, 0x2f, 0x0a, 0x0a, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x5f, 0x6b, 0x65, + 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x42, 0x10, 0x8a, 0xb5, 0x18, 0x02, 0x34, 0x38, 0x9a, + 0xb5, 0x18, 0x06, 0x70, 0x75, 0x62, 0x6b, 0x65, 0x79, 0x52, 0x09, 0x70, 0x75, 0x62, 0x6c, 0x69, + 0x63, 0x4b, 0x65, 0x79, 0x12, 0x3d, 0x0a, 0x16, 0x77, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, + 0x61, 0x6c, 0x5f, 0x63, 0x72, 0x65, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x73, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x0c, 0x42, 0x06, 0x8a, 0xb5, 0x18, 0x02, 0x33, 0x32, 0x52, 0x15, 0x77, 0x69, + 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x61, 0x6c, 0x43, 0x72, 0x65, 0x64, 0x65, 0x6e, 0x74, 0x69, + 0x61, 0x6c, 0x73, 0x12, 0x2b, 0x0a, 0x11, 0x65, 0x66, 0x66, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, + 0x5f, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x10, + 0x65, 0x66, 0x66, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, + 0x12, 0x18, 0x0a, 0x07, 0x73, 0x6c, 0x61, 0x73, 0x68, 0x65, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, + 0x08, 0x52, 0x07, 0x73, 0x6c, 0x61, 0x73, 0x68, 0x65, 0x64, 0x12, 0x6f, 0x0a, 0x1c, 0x61, 0x63, + 0x74, 0x69, 0x76, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x65, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, + 0x6c, 0x69, 0x74, 0x79, 0x5f, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x18, 0x05, 0x20, 0x01, 0x28, 0x04, + 0x42, 0x2d, 0x82, 0xb5, 0x18, 0x29, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, + 0x2f, 0x70, 0x72, 0x79, 0x73, 0x6d, 0x61, 0x74, 0x69, 0x63, 0x6c, 0x61, 0x62, 0x73, 0x2f, 0x65, + 0x74, 0x68, 0x32, 0x2d, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x45, 0x70, 0x6f, 0x63, 0x68, 0x52, + 0x1a, 0x61, 0x63, 0x74, 0x69, 0x76, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x6c, 0x69, 0x67, 0x69, + 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x45, 0x70, 0x6f, 0x63, 0x68, 0x12, 0x58, 0x0a, 0x10, 0x61, + 0x63, 0x74, 0x69, 0x76, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x18, + 0x06, 0x20, 0x01, 0x28, 0x04, 0x42, 0x2d, 0x82, 0xb5, 0x18, 0x29, 0x67, 0x69, 0x74, 0x68, 0x75, + 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x72, 0x79, 0x73, 0x6d, 0x61, 0x74, 0x69, 0x63, 0x6c, + 0x61, 0x62, 0x73, 0x2f, 0x65, 0x74, 0x68, 0x32, 0x2d, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x45, + 0x70, 0x6f, 0x63, 0x68, 0x52, 0x0f, 0x61, 0x63, 0x74, 0x69, 0x76, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x45, 0x70, 0x6f, 0x63, 0x68, 0x12, 0x4c, 0x0a, 0x0a, 0x65, 0x78, 0x69, 0x74, 0x5f, 0x65, 0x70, + 0x6f, 0x63, 0x68, 0x18, 0x07, 0x20, 0x01, 0x28, 0x04, 0x42, 0x2d, 0x82, 0xb5, 0x18, 0x29, 0x67, + 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x72, 0x79, 0x73, 0x6d, 0x61, + 0x74, 0x69, 0x63, 0x6c, 0x61, 0x62, 0x73, 0x2f, 0x65, 0x74, 0x68, 0x32, 0x2d, 0x74, 0x79, 0x70, + 0x65, 0x73, 0x2e, 0x45, 0x70, 0x6f, 0x63, 0x68, 0x52, 0x09, 0x65, 0x78, 0x69, 0x74, 0x45, 0x70, + 0x6f, 0x63, 0x68, 0x12, 0x5c, 0x0a, 0x12, 0x77, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x61, + 0x62, 0x6c, 0x65, 0x5f, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x18, 0x08, 0x20, 0x01, 0x28, 0x04, 0x42, + 0x2d, 0x82, 0xb5, 0x18, 0x29, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, + 0x70, 0x72, 0x79, 0x73, 0x6d, 0x61, 0x74, 0x69, 0x63, 0x6c, 0x61, 0x62, 0x73, 0x2f, 0x65, 0x74, + 0x68, 0x32, 0x2d, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x45, 0x70, 0x6f, 0x63, 0x68, 0x52, 0x11, + 0x77, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x61, 0x62, 0x6c, 0x65, 0x45, 0x70, 0x6f, 0x63, + 0x68, 0x22, 0x8e, 0x05, 0x0a, 0x16, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x50, + 0x61, 0x72, 0x74, 0x69, 0x63, 0x69, 0x70, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x3e, 0x0a, 0x19, + 0x67, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x5f, 0x70, 0x61, 0x72, 0x74, 0x69, 0x63, 0x69, 0x70, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x72, 0x61, 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x02, 0x42, + 0x02, 0x18, 0x01, 0x52, 0x17, 0x67, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x50, 0x61, 0x72, 0x74, 0x69, + 0x63, 0x69, 0x70, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x61, 0x74, 0x65, 0x12, 0x23, 0x0a, 0x0b, + 0x76, 0x6f, 0x74, 0x65, 0x64, 0x5f, 0x65, 0x74, 0x68, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x04, 0x42, 0x02, 0x18, 0x01, 0x52, 0x0a, 0x76, 0x6f, 0x74, 0x65, 0x64, 0x45, 0x74, 0x68, 0x65, + 0x72, 0x12, 0x29, 0x0a, 0x0e, 0x65, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x6c, 0x65, 0x5f, 0x65, 0x74, + 0x68, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x42, 0x02, 0x18, 0x01, 0x52, 0x0d, 0x65, + 0x6c, 0x69, 0x67, 0x69, 0x62, 0x6c, 0x65, 0x45, 0x74, 0x68, 0x65, 0x72, 0x12, 0x39, 0x0a, 0x19, + 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x5f, 0x61, 0x63, + 0x74, 0x69, 0x76, 0x65, 0x5f, 0x67, 0x77, 0x65, 0x69, 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 0x52, + 0x16, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x45, 0x70, 0x6f, 0x63, 0x68, 0x41, 0x63, 0x74, + 0x69, 0x76, 0x65, 0x47, 0x77, 0x65, 0x69, 0x12, 0x3f, 0x0a, 0x1c, 0x63, 0x75, 0x72, 0x72, 0x65, + 0x6e, 0x74, 0x5f, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x5f, 0x61, 0x74, 0x74, 0x65, 0x73, 0x74, 0x69, + 0x6e, 0x67, 0x5f, 0x67, 0x77, 0x65, 0x69, 0x18, 0x05, 0x20, 0x01, 0x28, 0x04, 0x52, 0x19, 0x63, + 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x45, 0x70, 0x6f, 0x63, 0x68, 0x41, 0x74, 0x74, 0x65, 0x73, + 0x74, 0x69, 0x6e, 0x67, 0x47, 0x77, 0x65, 0x69, 0x12, 0x4c, 0x0a, 0x23, 0x63, 0x75, 0x72, 0x72, + 0x65, 0x6e, 0x74, 0x5f, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x5f, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, + 0x5f, 0x61, 0x74, 0x74, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x5f, 0x67, 0x77, 0x65, 0x69, 0x18, + 0x06, 0x20, 0x01, 0x28, 0x04, 0x52, 0x1f, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x45, 0x70, + 0x6f, 0x63, 0x68, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x41, 0x74, 0x74, 0x65, 0x73, 0x74, 0x69, + 0x6e, 0x67, 0x47, 0x77, 0x65, 0x69, 0x12, 0x3b, 0x0a, 0x1a, 0x70, 0x72, 0x65, 0x76, 0x69, 0x6f, + 0x75, 0x73, 0x5f, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x5f, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, + 0x67, 0x77, 0x65, 0x69, 0x18, 0x07, 0x20, 0x01, 0x28, 0x04, 0x52, 0x17, 0x70, 0x72, 0x65, 0x76, + 0x69, 0x6f, 0x75, 0x73, 0x45, 0x70, 0x6f, 0x63, 0x68, 0x41, 0x63, 0x74, 0x69, 0x76, 0x65, 0x47, + 0x77, 0x65, 0x69, 0x12, 0x41, 0x0a, 0x1d, 0x70, 0x72, 0x65, 0x76, 0x69, 0x6f, 0x75, 0x73, 0x5f, + 0x65, 0x70, 0x6f, 0x63, 0x68, 0x5f, 0x61, 0x74, 0x74, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x5f, + 0x67, 0x77, 0x65, 0x69, 0x18, 0x08, 0x20, 0x01, 0x28, 0x04, 0x52, 0x1a, 0x70, 0x72, 0x65, 0x76, + 0x69, 0x6f, 0x75, 0x73, 0x45, 0x70, 0x6f, 0x63, 0x68, 0x41, 0x74, 0x74, 0x65, 0x73, 0x74, 0x69, + 0x6e, 0x67, 0x47, 0x77, 0x65, 0x69, 0x12, 0x4e, 0x0a, 0x24, 0x70, 0x72, 0x65, 0x76, 0x69, 0x6f, + 0x75, 0x73, 0x5f, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x5f, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, + 0x61, 0x74, 0x74, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x5f, 0x67, 0x77, 0x65, 0x69, 0x18, 0x09, + 0x20, 0x01, 0x28, 0x04, 0x52, 0x20, 0x70, 0x72, 0x65, 0x76, 0x69, 0x6f, 0x75, 0x73, 0x45, 0x70, + 0x6f, 0x63, 0x68, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x41, 0x74, 0x74, 0x65, 0x73, 0x74, 0x69, + 0x6e, 0x67, 0x47, 0x77, 0x65, 0x69, 0x12, 0x4a, 0x0a, 0x22, 0x70, 0x72, 0x65, 0x76, 0x69, 0x6f, + 0x75, 0x73, 0x5f, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x5f, 0x68, 0x65, 0x61, 0x64, 0x5f, 0x61, 0x74, + 0x74, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x5f, 0x67, 0x77, 0x65, 0x69, 0x18, 0x0a, 0x20, 0x01, + 0x28, 0x04, 0x52, 0x1e, 0x70, 0x72, 0x65, 0x76, 0x69, 0x6f, 0x75, 0x73, 0x45, 0x70, 0x6f, 0x63, + 0x68, 0x48, 0x65, 0x61, 0x64, 0x41, 0x74, 0x74, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x47, 0x77, + 0x65, 0x69, 0x22, 0xfb, 0x02, 0x0a, 0x0d, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, + 0x49, 0x6e, 0x66, 0x6f, 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, 0x4c, 0x0a, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x04, 0x42, 0x36, 0x82, 0xb5, 0x18, 0x32, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, + 0x6f, 0x6d, 0x2f, 0x70, 0x72, 0x79, 0x73, 0x6d, 0x61, 0x74, 0x69, 0x63, 0x6c, 0x61, 0x62, 0x73, + 0x2f, 0x65, 0x74, 0x68, 0x32, 0x2d, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x56, 0x61, 0x6c, 0x69, + 0x64, 0x61, 0x74, 0x6f, 0x72, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x52, 0x05, 0x69, 0x6e, 0x64, 0x65, + 0x78, 0x12, 0x43, 0x0a, 0x05, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, + 0x42, 0x2d, 0x82, 0xb5, 0x18, 0x29, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, + 0x2f, 0x70, 0x72, 0x79, 0x73, 0x6d, 0x61, 0x74, 0x69, 0x63, 0x6c, 0x61, 0x62, 0x73, 0x2f, 0x65, + 0x74, 0x68, 0x32, 0x2d, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x45, 0x70, 0x6f, 0x63, 0x68, 0x52, + 0x05, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x12, 0x3e, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, + 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 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, 0x56, + 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, + 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x31, 0x0a, 0x14, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x69, + 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x05, + 0x20, 0x01, 0x28, 0x04, 0x52, 0x13, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, + 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x62, 0x61, 0x6c, + 0x61, 0x6e, 0x63, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x62, 0x61, 0x6c, 0x61, + 0x6e, 0x63, 0x65, 0x12, 0x2b, 0x0a, 0x11, 0x65, 0x66, 0x66, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, + 0x5f, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x04, 0x52, 0x10, + 0x65, 0x66, 0x66, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, + 0x2a, 0x9a, 0x01, 0x0a, 0x0f, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x53, 0x74, + 0x61, 0x74, 0x75, 0x73, 0x12, 0x12, 0x0a, 0x0e, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x5f, + 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, 0x10, 0x00, 0x12, 0x0d, 0x0a, 0x09, 0x44, 0x45, 0x50, 0x4f, + 0x53, 0x49, 0x54, 0x45, 0x44, 0x10, 0x01, 0x12, 0x0b, 0x0a, 0x07, 0x50, 0x45, 0x4e, 0x44, 0x49, + 0x4e, 0x47, 0x10, 0x02, 0x12, 0x0a, 0x0a, 0x06, 0x41, 0x43, 0x54, 0x49, 0x56, 0x45, 0x10, 0x03, + 0x12, 0x0b, 0x0a, 0x07, 0x45, 0x58, 0x49, 0x54, 0x49, 0x4e, 0x47, 0x10, 0x04, 0x12, 0x0c, 0x0a, + 0x08, 0x53, 0x4c, 0x41, 0x53, 0x48, 0x49, 0x4e, 0x47, 0x10, 0x05, 0x12, 0x0a, 0x0a, 0x06, 0x45, + 0x58, 0x49, 0x54, 0x45, 0x44, 0x10, 0x06, 0x12, 0x0b, 0x0a, 0x07, 0x49, 0x4e, 0x56, 0x41, 0x4c, + 0x49, 0x44, 0x10, 0x07, 0x12, 0x17, 0x0a, 0x13, 0x50, 0x41, 0x52, 0x54, 0x49, 0x41, 0x4c, 0x4c, + 0x59, 0x5f, 0x44, 0x45, 0x50, 0x4f, 0x53, 0x49, 0x54, 0x45, 0x44, 0x10, 0x08, 0x32, 0xb6, 0x13, + 0x0a, 0x13, 0x42, 0x65, 0x61, 0x63, 0x6f, 0x6e, 0x4e, 0x6f, 0x64, 0x65, 0x56, 0x61, 0x6c, 0x69, + 0x64, 0x61, 0x74, 0x6f, 0x72, 0x12, 0x80, 0x01, 0x0a, 0x09, 0x47, 0x65, 0x74, 0x44, 0x75, 0x74, + 0x69, 0x65, 0x73, 0x12, 0x24, 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, + 0x74, 0x68, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x44, 0x75, 0x74, 0x69, + 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x25, 0x2e, 0x65, 0x74, 0x68, 0x65, + 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, + 0x31, 0x2e, 0x44, 0x75, 0x74, 0x69, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x22, 0x26, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x20, 0x12, 0x1e, 0x2f, 0x65, 0x74, 0x68, 0x2f, 0x76, + 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, + 0x72, 0x2f, 0x64, 0x75, 0x74, 0x69, 0x65, 0x73, 0x12, 0x8c, 0x01, 0x0a, 0x0c, 0x53, 0x74, 0x72, + 0x65, 0x61, 0x6d, 0x44, 0x75, 0x74, 0x69, 0x65, 0x73, 0x12, 0x24, 0x2e, 0x65, 0x74, 0x68, 0x65, + 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, + 0x31, 0x2e, 0x44, 0x75, 0x74, 0x69, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, + 0x25, 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, + 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x44, 0x75, 0x74, 0x69, 0x65, 0x73, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x2d, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x27, 0x12, 0x25, + 0x2f, 0x65, 0x74, 0x68, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2f, 0x76, 0x61, + 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x2f, 0x64, 0x75, 0x74, 0x69, 0x65, 0x73, 0x2f, 0x73, + 0x74, 0x72, 0x65, 0x61, 0x6d, 0x30, 0x01, 0x12, 0x81, 0x01, 0x0a, 0x0a, 0x44, 0x6f, 0x6d, 0x61, + 0x69, 0x6e, 0x44, 0x61, 0x74, 0x61, 0x12, 0x24, 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, + 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x44, + 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x25, 0x2e, 0x65, + 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x61, 0x6c, + 0x70, 0x68, 0x61, 0x31, 0x2e, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x22, 0x26, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x20, 0x12, 0x1e, 0x2f, 0x65, 0x74, + 0x68, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, + 0x61, 0x74, 0x6f, 0x72, 0x2f, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x12, 0x8e, 0x01, 0x0a, 0x11, + 0x57, 0x61, 0x69, 0x74, 0x46, 0x6f, 0x72, 0x43, 0x68, 0x61, 0x69, 0x6e, 0x53, 0x74, 0x61, 0x72, + 0x74, 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, 0x29, 0x2e, 0x65, 0x74, 0x68, 0x65, + 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, + 0x31, 0x2e, 0x43, 0x68, 0x61, 0x69, 0x6e, 0x53, 0x74, 0x61, 0x72, 0x74, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x34, 0x88, 0x02, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2b, 0x12, + 0x29, 0x2f, 0x65, 0x74, 0x68, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2f, 0x76, + 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x2f, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x73, 0x74, + 0x61, 0x72, 0x74, 0x2f, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x30, 0x01, 0x12, 0xaf, 0x01, 0x0a, + 0x11, 0x57, 0x61, 0x69, 0x74, 0x46, 0x6f, 0x72, 0x41, 0x63, 0x74, 0x69, 0x76, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x12, 0x31, 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, + 0x68, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x56, 0x61, 0x6c, 0x69, 0x64, + 0x61, 0x74, 0x6f, 0x72, 0x41, 0x63, 0x74, 0x69, 0x76, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x32, 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, + 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x56, 0x61, + 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x41, 0x63, 0x74, 0x69, 0x76, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x31, 0x82, 0xd3, 0xe4, 0x93, 0x02, + 0x2b, 0x12, 0x29, 0x2f, 0x65, 0x74, 0x68, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, + 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x2f, 0x61, 0x63, 0x74, 0x69, 0x76, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x30, 0x01, 0x12, 0x94, + 0x01, 0x0a, 0x0e, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x49, 0x6e, 0x64, 0x65, + 0x78, 0x12, 0x2c, 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, + 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, + 0x74, 0x6f, 0x72, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, + 0x2d, 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, + 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, + 0x72, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x25, + 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1f, 0x12, 0x1d, 0x2f, 0x65, 0x74, 0x68, 0x2f, 0x76, 0x31, 0x61, + 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x2f, + 0x69, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x98, 0x01, 0x0a, 0x0f, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, + 0x74, 0x6f, 0x72, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x2d, 0x2e, 0x65, 0x74, 0x68, 0x65, + 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, + 0x31, 0x2e, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x53, 0x74, 0x61, 0x74, 0x75, + 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2e, 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, + 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, + 0x2e, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x26, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x20, + 0x12, 0x1e, 0x2f, 0x65, 0x74, 0x68, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2f, + 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, + 0x12, 0xb2, 0x01, 0x0a, 0x17, 0x4d, 0x75, 0x6c, 0x74, 0x69, 0x70, 0x6c, 0x65, 0x56, 0x61, 0x6c, + 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x35, 0x2e, 0x65, + 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x61, 0x6c, + 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4d, 0x75, 0x6c, 0x74, 0x69, 0x70, 0x6c, 0x65, 0x56, 0x61, 0x6c, + 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x1a, 0x36, 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, + 0x74, 0x68, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4d, 0x75, 0x6c, 0x74, + 0x69, 0x70, 0x6c, 0x65, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x53, 0x74, 0x61, + 0x74, 0x75, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x28, 0x82, 0xd3, 0xe4, + 0x93, 0x02, 0x22, 0x12, 0x20, 0x2f, 0x65, 0x74, 0x68, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, + 0x61, 0x31, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x2f, 0x73, 0x74, 0x61, + 0x74, 0x75, 0x73, 0x65, 0x73, 0x12, 0x7a, 0x0a, 0x08, 0x47, 0x65, 0x74, 0x42, 0x6c, 0x6f, 0x63, + 0x6b, 0x12, 0x23, 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, + 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 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, 0x22, 0x25, 0x82, 0xd3, 0xe4, 0x93, + 0x02, 0x1f, 0x12, 0x1d, 0x2f, 0x65, 0x74, 0x68, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, + 0x31, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x2f, 0x62, 0x6c, 0x6f, 0x63, + 0x6b, 0x12, 0x8a, 0x01, 0x0a, 0x0c, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x65, 0x42, 0x6c, 0x6f, + 0x63, 0x6b, 0x12, 0x28, 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, + 0x68, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x53, 0x69, 0x67, 0x6e, 0x65, + 0x64, 0x42, 0x65, 0x61, 0x63, 0x6f, 0x6e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x1a, 0x26, 0x2e, 0x65, + 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x61, 0x6c, + 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x65, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x28, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x22, 0x22, 0x1d, 0x2f, 0x65, + 0x74, 0x68, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2f, 0x76, 0x61, 0x6c, 0x69, + 0x64, 0x61, 0x74, 0x6f, 0x72, 0x2f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x3a, 0x01, 0x2a, 0x12, 0x98, + 0x01, 0x0a, 0x12, 0x47, 0x65, 0x74, 0x41, 0x74, 0x74, 0x65, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x44, 0x61, 0x74, 0x61, 0x12, 0x2d, 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, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x1a, 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, 0x22, 0x2b, 0x82, 0xd3, + 0xe4, 0x93, 0x02, 0x25, 0x12, 0x23, 0x2f, 0x65, 0x74, 0x68, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, + 0x68, 0x61, 0x31, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x2f, 0x61, 0x74, + 0x74, 0x65, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x8f, 0x01, 0x0a, 0x12, 0x50, 0x72, + 0x6f, 0x70, 0x6f, 0x73, 0x65, 0x41, 0x74, 0x74, 0x65, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x12, 0x22, 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, 0x1a, 0x25, 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, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x2e, 0x82, 0xd3, 0xe4, + 0x93, 0x02, 0x28, 0x22, 0x23, 0x2f, 0x65, 0x74, 0x68, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, + 0x61, 0x31, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x2f, 0x61, 0x74, 0x74, + 0x65, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x3a, 0x01, 0x2a, 0x12, 0xb2, 0x01, 0x0a, 0x1d, + 0x53, 0x75, 0x62, 0x6d, 0x69, 0x74, 0x41, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x65, 0x53, + 0x65, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x6f, 0x6f, 0x66, 0x12, 0x30, 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, 0x53, + 0x65, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, + 0x31, 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, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x22, 0x2c, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x26, 0x22, 0x21, 0x2f, 0x65, 0x74, 0x68, + 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, + 0x74, 0x6f, 0x72, 0x2f, 0x61, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x65, 0x3a, 0x01, 0x2a, + 0x12, 0xbe, 0x01, 0x0a, 0x23, 0x53, 0x75, 0x62, 0x6d, 0x69, 0x74, 0x53, 0x69, 0x67, 0x6e, 0x65, + 0x64, 0x41, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x65, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, + 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x6f, 0x6f, 0x66, 0x12, 0x33, 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, + 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, + 0x2e, 0x53, 0x69, 0x67, 0x6e, 0x65, 0x64, 0x41, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x65, + 0x53, 0x75, 0x62, 0x6d, 0x69, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x34, 0x2e, + 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x61, + 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x53, 0x69, 0x67, 0x6e, 0x65, 0x64, 0x41, 0x67, 0x67, 0x72, + 0x65, 0x67, 0x61, 0x74, 0x65, 0x53, 0x75, 0x62, 0x6d, 0x69, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x22, 0x2c, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x26, 0x22, 0x21, 0x2f, 0x65, 0x74, + 0x68, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, + 0x61, 0x74, 0x6f, 0x72, 0x2f, 0x61, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x65, 0x3a, 0x01, + 0x2a, 0x12, 0x8e, 0x01, 0x0a, 0x0b, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x65, 0x45, 0x78, 0x69, + 0x74, 0x12, 0x2a, 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, + 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x53, 0x69, 0x67, 0x6e, 0x65, 0x64, + 0x56, 0x6f, 0x6c, 0x75, 0x6e, 0x74, 0x61, 0x72, 0x79, 0x45, 0x78, 0x69, 0x74, 0x1a, 0x2a, 0x2e, + 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x61, + 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x65, 0x45, 0x78, 0x69, + 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x27, 0x82, 0xd3, 0xe4, 0x93, 0x02, + 0x21, 0x22, 0x1c, 0x2f, 0x65, 0x74, 0x68, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, + 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x2f, 0x65, 0x78, 0x69, 0x74, 0x3a, + 0x01, 0x2a, 0x12, 0xa1, 0x01, 0x0a, 0x19, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, + 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x74, 0x65, 0x65, 0x53, 0x75, 0x62, 0x6e, 0x65, 0x74, 0x73, + 0x12, 0x37, 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, + 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x74, + 0x65, 0x65, 0x53, 0x75, 0x62, 0x6e, 0x65, 0x74, 0x73, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, + 0x62, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, + 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, + 0x79, 0x22, 0x33, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2d, 0x22, 0x28, 0x2f, 0x65, 0x74, 0x68, 0x2f, + 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, + 0x6f, 0x72, 0x2f, 0x73, 0x75, 0x62, 0x6e, 0x65, 0x74, 0x2f, 0x73, 0x75, 0x62, 0x73, 0x63, 0x72, + 0x69, 0x62, 0x65, 0x3a, 0x01, 0x2a, 0x42, 0x95, 0x01, 0x0a, 0x19, 0x6f, 0x72, 0x67, 0x2e, 0x65, + 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x61, 0x6c, + 0x70, 0x68, 0x61, 0x31, 0x42, 0x0e, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x50, + 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x36, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, + 0x6f, 0x6d, 0x2f, 0x70, 0x72, 0x79, 0x73, 0x6d, 0x61, 0x74, 0x69, 0x63, 0x6c, 0x61, 0x62, 0x73, + 0x2f, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x65, 0x74, + 0x68, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x3b, 0x65, 0x74, 0x68, 0xaa, 0x02, + 0x15, 0x45, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x45, 0x74, 0x68, 0x2e, 0x76, 0x31, + 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xca, 0x02, 0x15, 0x45, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, + 0x6d, 0x5c, 0x45, 0x74, 0x68, 0x5c, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_eth_v1alpha1_validator_proto_rawDescOnce sync.Once + file_eth_v1alpha1_validator_proto_rawDescData = file_eth_v1alpha1_validator_proto_rawDesc +) + +func file_eth_v1alpha1_validator_proto_rawDescGZIP() []byte { + file_eth_v1alpha1_validator_proto_rawDescOnce.Do(func() { + file_eth_v1alpha1_validator_proto_rawDescData = protoimpl.X.CompressGZIP(file_eth_v1alpha1_validator_proto_rawDescData) + }) + return file_eth_v1alpha1_validator_proto_rawDescData +} + +var file_eth_v1alpha1_validator_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_eth_v1alpha1_validator_proto_msgTypes = make([]protoimpl.MessageInfo, 29) +var file_eth_v1alpha1_validator_proto_goTypes = []interface{}{ + (ValidatorStatus)(0), // 0: ethereum.eth.v1alpha1.ValidatorStatus + (*DomainRequest)(nil), // 1: ethereum.eth.v1alpha1.DomainRequest + (*DomainResponse)(nil), // 2: ethereum.eth.v1alpha1.DomainResponse + (*ValidatorActivationRequest)(nil), // 3: ethereum.eth.v1alpha1.ValidatorActivationRequest + (*ValidatorActivationResponse)(nil), // 4: ethereum.eth.v1alpha1.ValidatorActivationResponse + (*ChainStartResponse)(nil), // 5: ethereum.eth.v1alpha1.ChainStartResponse + (*SyncedResponse)(nil), // 6: ethereum.eth.v1alpha1.SyncedResponse + (*ValidatorIndexRequest)(nil), // 7: ethereum.eth.v1alpha1.ValidatorIndexRequest + (*ValidatorIndexResponse)(nil), // 8: ethereum.eth.v1alpha1.ValidatorIndexResponse + (*ValidatorStatusRequest)(nil), // 9: ethereum.eth.v1alpha1.ValidatorStatusRequest + (*ValidatorStatusResponse)(nil), // 10: ethereum.eth.v1alpha1.ValidatorStatusResponse + (*MultipleValidatorStatusRequest)(nil), // 11: ethereum.eth.v1alpha1.MultipleValidatorStatusRequest + (*MultipleValidatorStatusResponse)(nil), // 12: ethereum.eth.v1alpha1.MultipleValidatorStatusResponse + (*DutiesRequest)(nil), // 13: ethereum.eth.v1alpha1.DutiesRequest + (*DutiesResponse)(nil), // 14: ethereum.eth.v1alpha1.DutiesResponse + (*BlockRequest)(nil), // 15: ethereum.eth.v1alpha1.BlockRequest + (*ProposeResponse)(nil), // 16: ethereum.eth.v1alpha1.ProposeResponse + (*ProposeExitResponse)(nil), // 17: ethereum.eth.v1alpha1.ProposeExitResponse + (*AttestationDataRequest)(nil), // 18: ethereum.eth.v1alpha1.AttestationDataRequest + (*AttestResponse)(nil), // 19: ethereum.eth.v1alpha1.AttestResponse + (*AggregateSelectionRequest)(nil), // 20: ethereum.eth.v1alpha1.AggregateSelectionRequest + (*AggregateSelectionResponse)(nil), // 21: ethereum.eth.v1alpha1.AggregateSelectionResponse + (*SignedAggregateSubmitRequest)(nil), // 22: ethereum.eth.v1alpha1.SignedAggregateSubmitRequest + (*SignedAggregateSubmitResponse)(nil), // 23: ethereum.eth.v1alpha1.SignedAggregateSubmitResponse + (*CommitteeSubnetsSubscribeRequest)(nil), // 24: ethereum.eth.v1alpha1.CommitteeSubnetsSubscribeRequest + (*Validator)(nil), // 25: ethereum.eth.v1alpha1.Validator + (*ValidatorParticipation)(nil), // 26: ethereum.eth.v1alpha1.ValidatorParticipation + (*ValidatorInfo)(nil), // 27: ethereum.eth.v1alpha1.ValidatorInfo + (*ValidatorActivationResponse_Status)(nil), // 28: ethereum.eth.v1alpha1.ValidatorActivationResponse.Status + (*DutiesResponse_Duty)(nil), // 29: ethereum.eth.v1alpha1.DutiesResponse.Duty + (*AggregateAttestationAndProof)(nil), // 30: ethereum.eth.v1alpha1.AggregateAttestationAndProof + (*SignedAggregateAttestationAndProof)(nil), // 31: ethereum.eth.v1alpha1.SignedAggregateAttestationAndProof + (*empty.Empty)(nil), // 32: google.protobuf.Empty + (*SignedBeaconBlock)(nil), // 33: ethereum.eth.v1alpha1.SignedBeaconBlock + (*Attestation)(nil), // 34: ethereum.eth.v1alpha1.Attestation + (*SignedVoluntaryExit)(nil), // 35: ethereum.eth.v1alpha1.SignedVoluntaryExit + (*BeaconBlock)(nil), // 36: ethereum.eth.v1alpha1.BeaconBlock + (*AttestationData)(nil), // 37: ethereum.eth.v1alpha1.AttestationData +} +var file_eth_v1alpha1_validator_proto_depIdxs = []int32{ + 28, // 0: ethereum.eth.v1alpha1.ValidatorActivationResponse.statuses:type_name -> ethereum.eth.v1alpha1.ValidatorActivationResponse.Status + 0, // 1: ethereum.eth.v1alpha1.ValidatorStatusResponse.status:type_name -> ethereum.eth.v1alpha1.ValidatorStatus + 10, // 2: ethereum.eth.v1alpha1.MultipleValidatorStatusResponse.statuses:type_name -> ethereum.eth.v1alpha1.ValidatorStatusResponse + 29, // 3: ethereum.eth.v1alpha1.DutiesResponse.duties:type_name -> ethereum.eth.v1alpha1.DutiesResponse.Duty + 29, // 4: ethereum.eth.v1alpha1.DutiesResponse.current_epoch_duties:type_name -> ethereum.eth.v1alpha1.DutiesResponse.Duty + 29, // 5: ethereum.eth.v1alpha1.DutiesResponse.next_epoch_duties:type_name -> ethereum.eth.v1alpha1.DutiesResponse.Duty + 30, // 6: ethereum.eth.v1alpha1.AggregateSelectionResponse.aggregate_and_proof:type_name -> ethereum.eth.v1alpha1.AggregateAttestationAndProof + 31, // 7: ethereum.eth.v1alpha1.SignedAggregateSubmitRequest.signed_aggregate_and_proof:type_name -> ethereum.eth.v1alpha1.SignedAggregateAttestationAndProof + 0, // 8: ethereum.eth.v1alpha1.ValidatorInfo.status:type_name -> ethereum.eth.v1alpha1.ValidatorStatus + 10, // 9: ethereum.eth.v1alpha1.ValidatorActivationResponse.Status.status:type_name -> ethereum.eth.v1alpha1.ValidatorStatusResponse + 0, // 10: ethereum.eth.v1alpha1.DutiesResponse.Duty.status:type_name -> ethereum.eth.v1alpha1.ValidatorStatus + 13, // 11: ethereum.eth.v1alpha1.BeaconNodeValidator.GetDuties:input_type -> ethereum.eth.v1alpha1.DutiesRequest + 13, // 12: ethereum.eth.v1alpha1.BeaconNodeValidator.StreamDuties:input_type -> ethereum.eth.v1alpha1.DutiesRequest + 1, // 13: ethereum.eth.v1alpha1.BeaconNodeValidator.DomainData:input_type -> ethereum.eth.v1alpha1.DomainRequest + 32, // 14: ethereum.eth.v1alpha1.BeaconNodeValidator.WaitForChainStart:input_type -> google.protobuf.Empty + 3, // 15: ethereum.eth.v1alpha1.BeaconNodeValidator.WaitForActivation:input_type -> ethereum.eth.v1alpha1.ValidatorActivationRequest + 7, // 16: ethereum.eth.v1alpha1.BeaconNodeValidator.ValidatorIndex:input_type -> ethereum.eth.v1alpha1.ValidatorIndexRequest + 9, // 17: ethereum.eth.v1alpha1.BeaconNodeValidator.ValidatorStatus:input_type -> ethereum.eth.v1alpha1.ValidatorStatusRequest + 11, // 18: ethereum.eth.v1alpha1.BeaconNodeValidator.MultipleValidatorStatus:input_type -> ethereum.eth.v1alpha1.MultipleValidatorStatusRequest + 15, // 19: ethereum.eth.v1alpha1.BeaconNodeValidator.GetBlock:input_type -> ethereum.eth.v1alpha1.BlockRequest + 33, // 20: ethereum.eth.v1alpha1.BeaconNodeValidator.ProposeBlock:input_type -> ethereum.eth.v1alpha1.SignedBeaconBlock + 18, // 21: ethereum.eth.v1alpha1.BeaconNodeValidator.GetAttestationData:input_type -> ethereum.eth.v1alpha1.AttestationDataRequest + 34, // 22: ethereum.eth.v1alpha1.BeaconNodeValidator.ProposeAttestation:input_type -> ethereum.eth.v1alpha1.Attestation + 20, // 23: ethereum.eth.v1alpha1.BeaconNodeValidator.SubmitAggregateSelectionProof:input_type -> ethereum.eth.v1alpha1.AggregateSelectionRequest + 22, // 24: ethereum.eth.v1alpha1.BeaconNodeValidator.SubmitSignedAggregateSelectionProof:input_type -> ethereum.eth.v1alpha1.SignedAggregateSubmitRequest + 35, // 25: ethereum.eth.v1alpha1.BeaconNodeValidator.ProposeExit:input_type -> ethereum.eth.v1alpha1.SignedVoluntaryExit + 24, // 26: ethereum.eth.v1alpha1.BeaconNodeValidator.SubscribeCommitteeSubnets:input_type -> ethereum.eth.v1alpha1.CommitteeSubnetsSubscribeRequest + 14, // 27: ethereum.eth.v1alpha1.BeaconNodeValidator.GetDuties:output_type -> ethereum.eth.v1alpha1.DutiesResponse + 14, // 28: ethereum.eth.v1alpha1.BeaconNodeValidator.StreamDuties:output_type -> ethereum.eth.v1alpha1.DutiesResponse + 2, // 29: ethereum.eth.v1alpha1.BeaconNodeValidator.DomainData:output_type -> ethereum.eth.v1alpha1.DomainResponse + 5, // 30: ethereum.eth.v1alpha1.BeaconNodeValidator.WaitForChainStart:output_type -> ethereum.eth.v1alpha1.ChainStartResponse + 4, // 31: ethereum.eth.v1alpha1.BeaconNodeValidator.WaitForActivation:output_type -> ethereum.eth.v1alpha1.ValidatorActivationResponse + 8, // 32: ethereum.eth.v1alpha1.BeaconNodeValidator.ValidatorIndex:output_type -> ethereum.eth.v1alpha1.ValidatorIndexResponse + 10, // 33: ethereum.eth.v1alpha1.BeaconNodeValidator.ValidatorStatus:output_type -> ethereum.eth.v1alpha1.ValidatorStatusResponse + 12, // 34: ethereum.eth.v1alpha1.BeaconNodeValidator.MultipleValidatorStatus:output_type -> ethereum.eth.v1alpha1.MultipleValidatorStatusResponse + 36, // 35: ethereum.eth.v1alpha1.BeaconNodeValidator.GetBlock:output_type -> ethereum.eth.v1alpha1.BeaconBlock + 16, // 36: ethereum.eth.v1alpha1.BeaconNodeValidator.ProposeBlock:output_type -> ethereum.eth.v1alpha1.ProposeResponse + 37, // 37: ethereum.eth.v1alpha1.BeaconNodeValidator.GetAttestationData:output_type -> ethereum.eth.v1alpha1.AttestationData + 19, // 38: ethereum.eth.v1alpha1.BeaconNodeValidator.ProposeAttestation:output_type -> ethereum.eth.v1alpha1.AttestResponse + 21, // 39: ethereum.eth.v1alpha1.BeaconNodeValidator.SubmitAggregateSelectionProof:output_type -> ethereum.eth.v1alpha1.AggregateSelectionResponse + 23, // 40: ethereum.eth.v1alpha1.BeaconNodeValidator.SubmitSignedAggregateSelectionProof:output_type -> ethereum.eth.v1alpha1.SignedAggregateSubmitResponse + 17, // 41: ethereum.eth.v1alpha1.BeaconNodeValidator.ProposeExit:output_type -> ethereum.eth.v1alpha1.ProposeExitResponse + 32, // 42: ethereum.eth.v1alpha1.BeaconNodeValidator.SubscribeCommitteeSubnets:output_type -> google.protobuf.Empty + 27, // [27:43] is the sub-list for method output_type + 11, // [11:27] is the sub-list for method input_type + 11, // [11:11] is the sub-list for extension type_name + 11, // [11:11] is the sub-list for extension extendee + 0, // [0:11] is the sub-list for field type_name +} + +func init() { file_eth_v1alpha1_validator_proto_init() } +func file_eth_v1alpha1_validator_proto_init() { + if File_eth_v1alpha1_validator_proto != nil { + return + } + file_eth_v1alpha1_beacon_block_proto_init() + file_eth_v1alpha1_attestation_proto_init() + if !protoimpl.UnsafeEnabled { + file_eth_v1alpha1_validator_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DomainRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_eth_v1alpha1_validator_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DomainResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_eth_v1alpha1_validator_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ValidatorActivationRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_eth_v1alpha1_validator_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ValidatorActivationResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_eth_v1alpha1_validator_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ChainStartResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_eth_v1alpha1_validator_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SyncedResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_eth_v1alpha1_validator_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ValidatorIndexRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_eth_v1alpha1_validator_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ValidatorIndexResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_eth_v1alpha1_validator_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ValidatorStatusRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_eth_v1alpha1_validator_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ValidatorStatusResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_eth_v1alpha1_validator_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MultipleValidatorStatusRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_eth_v1alpha1_validator_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MultipleValidatorStatusResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_eth_v1alpha1_validator_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DutiesRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_eth_v1alpha1_validator_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DutiesResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_eth_v1alpha1_validator_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*BlockRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_eth_v1alpha1_validator_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ProposeResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_eth_v1alpha1_validator_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ProposeExitResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_eth_v1alpha1_validator_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AttestationDataRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_eth_v1alpha1_validator_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AttestResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_eth_v1alpha1_validator_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AggregateSelectionRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_eth_v1alpha1_validator_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AggregateSelectionResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_eth_v1alpha1_validator_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SignedAggregateSubmitRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_eth_v1alpha1_validator_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SignedAggregateSubmitResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_eth_v1alpha1_validator_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CommitteeSubnetsSubscribeRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_eth_v1alpha1_validator_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Validator); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_eth_v1alpha1_validator_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ValidatorParticipation); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_eth_v1alpha1_validator_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ValidatorInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_eth_v1alpha1_validator_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ValidatorActivationResponse_Status); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_eth_v1alpha1_validator_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DutiesResponse_Duty); 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_eth_v1alpha1_validator_proto_rawDesc, + NumEnums: 1, + NumMessages: 29, + NumExtensions: 0, + NumServices: 1, + }, + GoTypes: file_eth_v1alpha1_validator_proto_goTypes, + DependencyIndexes: file_eth_v1alpha1_validator_proto_depIdxs, + EnumInfos: file_eth_v1alpha1_validator_proto_enumTypes, + MessageInfos: file_eth_v1alpha1_validator_proto_msgTypes, + }.Build() + File_eth_v1alpha1_validator_proto = out.File + file_eth_v1alpha1_validator_proto_rawDesc = nil + file_eth_v1alpha1_validator_proto_goTypes = nil + file_eth_v1alpha1_validator_proto_depIdxs = nil } // Reference imports to suppress errors if they are not otherwise used. var _ context.Context -var _ grpc.ClientConn +var _ grpc.ClientConnInterface // This is a compile-time assertion to ensure that this generated file // is compatible with the grpc package it is being compiled against. -const _ = grpc.SupportPackageIsVersion4 +const _ = grpc.SupportPackageIsVersion6 // BeaconNodeValidatorClient is the client API for BeaconNodeValidator service. // @@ -2073,7 +2941,8 @@ type BeaconNodeValidatorClient interface { GetDuties(ctx context.Context, in *DutiesRequest, opts ...grpc.CallOption) (*DutiesResponse, error) StreamDuties(ctx context.Context, in *DutiesRequest, opts ...grpc.CallOption) (BeaconNodeValidator_StreamDutiesClient, error) DomainData(ctx context.Context, in *DomainRequest, opts ...grpc.CallOption) (*DomainResponse, error) - WaitForChainStart(ctx context.Context, in *types.Empty, opts ...grpc.CallOption) (BeaconNodeValidator_WaitForChainStartClient, error) + // Deprecated: Do not use. + WaitForChainStart(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (BeaconNodeValidator_WaitForChainStartClient, error) WaitForActivation(ctx context.Context, in *ValidatorActivationRequest, opts ...grpc.CallOption) (BeaconNodeValidator_WaitForActivationClient, error) ValidatorIndex(ctx context.Context, in *ValidatorIndexRequest, opts ...grpc.CallOption) (*ValidatorIndexResponse, error) ValidatorStatus(ctx context.Context, in *ValidatorStatusRequest, opts ...grpc.CallOption) (*ValidatorStatusResponse, error) @@ -2085,14 +2954,14 @@ type BeaconNodeValidatorClient interface { SubmitAggregateSelectionProof(ctx context.Context, in *AggregateSelectionRequest, opts ...grpc.CallOption) (*AggregateSelectionResponse, error) SubmitSignedAggregateSelectionProof(ctx context.Context, in *SignedAggregateSubmitRequest, opts ...grpc.CallOption) (*SignedAggregateSubmitResponse, error) ProposeExit(ctx context.Context, in *SignedVoluntaryExit, opts ...grpc.CallOption) (*ProposeExitResponse, error) - SubscribeCommitteeSubnets(ctx context.Context, in *CommitteeSubnetsSubscribeRequest, opts ...grpc.CallOption) (*types.Empty, error) + SubscribeCommitteeSubnets(ctx context.Context, in *CommitteeSubnetsSubscribeRequest, opts ...grpc.CallOption) (*empty.Empty, error) } type beaconNodeValidatorClient struct { - cc *grpc.ClientConn + cc grpc.ClientConnInterface } -func NewBeaconNodeValidatorClient(cc *grpc.ClientConn) BeaconNodeValidatorClient { +func NewBeaconNodeValidatorClient(cc grpc.ClientConnInterface) BeaconNodeValidatorClient { return &beaconNodeValidatorClient{cc} } @@ -2147,7 +3016,7 @@ func (c *beaconNodeValidatorClient) DomainData(ctx context.Context, in *DomainRe } // Deprecated: Do not use. -func (c *beaconNodeValidatorClient) WaitForChainStart(ctx context.Context, in *types.Empty, opts ...grpc.CallOption) (BeaconNodeValidator_WaitForChainStartClient, error) { +func (c *beaconNodeValidatorClient) WaitForChainStart(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (BeaconNodeValidator_WaitForChainStartClient, error) { stream, err := c.cc.NewStream(ctx, &_BeaconNodeValidator_serviceDesc.Streams[1], "/ethereum.eth.v1alpha1.BeaconNodeValidator/WaitForChainStart", opts...) if err != nil { return nil, err @@ -2301,8 +3170,8 @@ func (c *beaconNodeValidatorClient) ProposeExit(ctx context.Context, in *SignedV return out, nil } -func (c *beaconNodeValidatorClient) SubscribeCommitteeSubnets(ctx context.Context, in *CommitteeSubnetsSubscribeRequest, opts ...grpc.CallOption) (*types.Empty, error) { - out := new(types.Empty) +func (c *beaconNodeValidatorClient) SubscribeCommitteeSubnets(ctx context.Context, in *CommitteeSubnetsSubscribeRequest, opts ...grpc.CallOption) (*empty.Empty, error) { + out := new(empty.Empty) err := c.cc.Invoke(ctx, "/ethereum.eth.v1alpha1.BeaconNodeValidator/SubscribeCommitteeSubnets", in, out, opts...) if err != nil { return nil, err @@ -2315,7 +3184,8 @@ type BeaconNodeValidatorServer interface { GetDuties(context.Context, *DutiesRequest) (*DutiesResponse, error) StreamDuties(*DutiesRequest, BeaconNodeValidator_StreamDutiesServer) error DomainData(context.Context, *DomainRequest) (*DomainResponse, error) - WaitForChainStart(*types.Empty, BeaconNodeValidator_WaitForChainStartServer) error + // Deprecated: Do not use. + WaitForChainStart(*empty.Empty, BeaconNodeValidator_WaitForChainStartServer) error WaitForActivation(*ValidatorActivationRequest, BeaconNodeValidator_WaitForActivationServer) error ValidatorIndex(context.Context, *ValidatorIndexRequest) (*ValidatorIndexResponse, error) ValidatorStatus(context.Context, *ValidatorStatusRequest) (*ValidatorStatusResponse, error) @@ -2327,59 +3197,59 @@ type BeaconNodeValidatorServer interface { SubmitAggregateSelectionProof(context.Context, *AggregateSelectionRequest) (*AggregateSelectionResponse, error) SubmitSignedAggregateSelectionProof(context.Context, *SignedAggregateSubmitRequest) (*SignedAggregateSubmitResponse, error) ProposeExit(context.Context, *SignedVoluntaryExit) (*ProposeExitResponse, error) - SubscribeCommitteeSubnets(context.Context, *CommitteeSubnetsSubscribeRequest) (*types.Empty, error) + SubscribeCommitteeSubnets(context.Context, *CommitteeSubnetsSubscribeRequest) (*empty.Empty, error) } // UnimplementedBeaconNodeValidatorServer can be embedded to have forward compatible implementations. type UnimplementedBeaconNodeValidatorServer struct { } -func (*UnimplementedBeaconNodeValidatorServer) GetDuties(ctx context.Context, req *DutiesRequest) (*DutiesResponse, error) { +func (*UnimplementedBeaconNodeValidatorServer) GetDuties(context.Context, *DutiesRequest) (*DutiesResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method GetDuties not implemented") } -func (*UnimplementedBeaconNodeValidatorServer) StreamDuties(req *DutiesRequest, srv BeaconNodeValidator_StreamDutiesServer) error { +func (*UnimplementedBeaconNodeValidatorServer) StreamDuties(*DutiesRequest, BeaconNodeValidator_StreamDutiesServer) error { return status.Errorf(codes.Unimplemented, "method StreamDuties not implemented") } -func (*UnimplementedBeaconNodeValidatorServer) DomainData(ctx context.Context, req *DomainRequest) (*DomainResponse, error) { +func (*UnimplementedBeaconNodeValidatorServer) DomainData(context.Context, *DomainRequest) (*DomainResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method DomainData not implemented") } -func (*UnimplementedBeaconNodeValidatorServer) WaitForChainStart(req *types.Empty, srv BeaconNodeValidator_WaitForChainStartServer) error { +func (*UnimplementedBeaconNodeValidatorServer) WaitForChainStart(*empty.Empty, BeaconNodeValidator_WaitForChainStartServer) error { return status.Errorf(codes.Unimplemented, "method WaitForChainStart not implemented") } -func (*UnimplementedBeaconNodeValidatorServer) WaitForActivation(req *ValidatorActivationRequest, srv BeaconNodeValidator_WaitForActivationServer) error { +func (*UnimplementedBeaconNodeValidatorServer) WaitForActivation(*ValidatorActivationRequest, BeaconNodeValidator_WaitForActivationServer) error { return status.Errorf(codes.Unimplemented, "method WaitForActivation not implemented") } -func (*UnimplementedBeaconNodeValidatorServer) ValidatorIndex(ctx context.Context, req *ValidatorIndexRequest) (*ValidatorIndexResponse, error) { +func (*UnimplementedBeaconNodeValidatorServer) ValidatorIndex(context.Context, *ValidatorIndexRequest) (*ValidatorIndexResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method ValidatorIndex not implemented") } -func (*UnimplementedBeaconNodeValidatorServer) ValidatorStatus(ctx context.Context, req *ValidatorStatusRequest) (*ValidatorStatusResponse, error) { +func (*UnimplementedBeaconNodeValidatorServer) ValidatorStatus(context.Context, *ValidatorStatusRequest) (*ValidatorStatusResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method ValidatorStatus not implemented") } -func (*UnimplementedBeaconNodeValidatorServer) MultipleValidatorStatus(ctx context.Context, req *MultipleValidatorStatusRequest) (*MultipleValidatorStatusResponse, error) { +func (*UnimplementedBeaconNodeValidatorServer) MultipleValidatorStatus(context.Context, *MultipleValidatorStatusRequest) (*MultipleValidatorStatusResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method MultipleValidatorStatus not implemented") } -func (*UnimplementedBeaconNodeValidatorServer) GetBlock(ctx context.Context, req *BlockRequest) (*BeaconBlock, error) { +func (*UnimplementedBeaconNodeValidatorServer) GetBlock(context.Context, *BlockRequest) (*BeaconBlock, error) { return nil, status.Errorf(codes.Unimplemented, "method GetBlock not implemented") } -func (*UnimplementedBeaconNodeValidatorServer) ProposeBlock(ctx context.Context, req *SignedBeaconBlock) (*ProposeResponse, error) { +func (*UnimplementedBeaconNodeValidatorServer) ProposeBlock(context.Context, *SignedBeaconBlock) (*ProposeResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method ProposeBlock not implemented") } -func (*UnimplementedBeaconNodeValidatorServer) GetAttestationData(ctx context.Context, req *AttestationDataRequest) (*AttestationData, error) { +func (*UnimplementedBeaconNodeValidatorServer) GetAttestationData(context.Context, *AttestationDataRequest) (*AttestationData, error) { return nil, status.Errorf(codes.Unimplemented, "method GetAttestationData not implemented") } -func (*UnimplementedBeaconNodeValidatorServer) ProposeAttestation(ctx context.Context, req *Attestation) (*AttestResponse, error) { +func (*UnimplementedBeaconNodeValidatorServer) ProposeAttestation(context.Context, *Attestation) (*AttestResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method ProposeAttestation not implemented") } -func (*UnimplementedBeaconNodeValidatorServer) SubmitAggregateSelectionProof(ctx context.Context, req *AggregateSelectionRequest) (*AggregateSelectionResponse, error) { +func (*UnimplementedBeaconNodeValidatorServer) SubmitAggregateSelectionProof(context.Context, *AggregateSelectionRequest) (*AggregateSelectionResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method SubmitAggregateSelectionProof not implemented") } -func (*UnimplementedBeaconNodeValidatorServer) SubmitSignedAggregateSelectionProof(ctx context.Context, req *SignedAggregateSubmitRequest) (*SignedAggregateSubmitResponse, error) { +func (*UnimplementedBeaconNodeValidatorServer) SubmitSignedAggregateSelectionProof(context.Context, *SignedAggregateSubmitRequest) (*SignedAggregateSubmitResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method SubmitSignedAggregateSelectionProof not implemented") } -func (*UnimplementedBeaconNodeValidatorServer) ProposeExit(ctx context.Context, req *SignedVoluntaryExit) (*ProposeExitResponse, error) { +func (*UnimplementedBeaconNodeValidatorServer) ProposeExit(context.Context, *SignedVoluntaryExit) (*ProposeExitResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method ProposeExit not implemented") } -func (*UnimplementedBeaconNodeValidatorServer) SubscribeCommitteeSubnets(ctx context.Context, req *CommitteeSubnetsSubscribeRequest) (*types.Empty, error) { +func (*UnimplementedBeaconNodeValidatorServer) SubscribeCommitteeSubnets(context.Context, *CommitteeSubnetsSubscribeRequest) (*empty.Empty, error) { return nil, status.Errorf(codes.Unimplemented, "method SubscribeCommitteeSubnets not implemented") } @@ -2445,7 +3315,7 @@ func _BeaconNodeValidator_DomainData_Handler(srv interface{}, ctx context.Contex } func _BeaconNodeValidator_WaitForChainStart_Handler(srv interface{}, stream grpc.ServerStream) error { - m := new(types.Empty) + m := new(empty.Empty) if err := stream.RecvMsg(m); err != nil { return err } @@ -2760,6118 +3630,3 @@ var _BeaconNodeValidator_serviceDesc = grpc.ServiceDesc{ }, Metadata: "eth/v1alpha1/validator.proto", } - -func (m *DomainRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *DomainRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *DomainRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if len(m.Domain) > 0 { - i -= len(m.Domain) - copy(dAtA[i:], m.Domain) - i = encodeVarintValidator(dAtA, i, uint64(len(m.Domain))) - i-- - dAtA[i] = 0x12 - } - if m.Epoch != 0 { - i = encodeVarintValidator(dAtA, i, uint64(m.Epoch)) - i-- - dAtA[i] = 0x8 - } - return len(dAtA) - i, nil -} - -func (m *DomainResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *DomainResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *DomainResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if len(m.SignatureDomain) > 0 { - i -= len(m.SignatureDomain) - copy(dAtA[i:], m.SignatureDomain) - i = encodeVarintValidator(dAtA, i, uint64(len(m.SignatureDomain))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *ValidatorActivationRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *ValidatorActivationRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *ValidatorActivationRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if len(m.PublicKeys) > 0 { - for iNdEx := len(m.PublicKeys) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.PublicKeys[iNdEx]) - copy(dAtA[i:], m.PublicKeys[iNdEx]) - i = encodeVarintValidator(dAtA, i, uint64(len(m.PublicKeys[iNdEx]))) - i-- - dAtA[i] = 0xa - } - } - return len(dAtA) - i, nil -} - -func (m *ValidatorActivationResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *ValidatorActivationResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *ValidatorActivationResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if len(m.Statuses) > 0 { - for iNdEx := len(m.Statuses) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Statuses[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintValidator(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - } - return len(dAtA) - i, nil -} - -func (m *ValidatorActivationResponse_Status) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *ValidatorActivationResponse_Status) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *ValidatorActivationResponse_Status) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if m.Index != 0 { - i = encodeVarintValidator(dAtA, i, uint64(m.Index)) - i-- - dAtA[i] = 0x18 - } - if m.Status != nil { - { - size, err := m.Status.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintValidator(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - } - if len(m.PublicKey) > 0 { - i -= len(m.PublicKey) - copy(dAtA[i:], m.PublicKey) - i = encodeVarintValidator(dAtA, i, uint64(len(m.PublicKey))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *ChainStartResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *ChainStartResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *ChainStartResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if len(m.GenesisValidatorsRoot) > 0 { - i -= len(m.GenesisValidatorsRoot) - copy(dAtA[i:], m.GenesisValidatorsRoot) - i = encodeVarintValidator(dAtA, i, uint64(len(m.GenesisValidatorsRoot))) - i-- - dAtA[i] = 0x1a - } - if m.GenesisTime != 0 { - i = encodeVarintValidator(dAtA, i, uint64(m.GenesisTime)) - i-- - dAtA[i] = 0x10 - } - if m.Started { - i-- - if m.Started { - dAtA[i] = 1 - } else { - dAtA[i] = 0 - } - i-- - dAtA[i] = 0x8 - } - return len(dAtA) - i, nil -} - -func (m *SyncedResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *SyncedResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *SyncedResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if m.GenesisTime != 0 { - i = encodeVarintValidator(dAtA, i, uint64(m.GenesisTime)) - i-- - dAtA[i] = 0x10 - } - if m.Synced { - i-- - if m.Synced { - dAtA[i] = 1 - } else { - dAtA[i] = 0 - } - i-- - dAtA[i] = 0x8 - } - return len(dAtA) - i, nil -} - -func (m *ValidatorIndexRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *ValidatorIndexRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *ValidatorIndexRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if len(m.PublicKey) > 0 { - i -= len(m.PublicKey) - copy(dAtA[i:], m.PublicKey) - i = encodeVarintValidator(dAtA, i, uint64(len(m.PublicKey))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *ValidatorIndexResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *ValidatorIndexResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *ValidatorIndexResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if m.Index != 0 { - i = encodeVarintValidator(dAtA, i, uint64(m.Index)) - i-- - dAtA[i] = 0x8 - } - return len(dAtA) - i, nil -} - -func (m *ValidatorStatusRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *ValidatorStatusRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *ValidatorStatusRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if len(m.PublicKey) > 0 { - i -= len(m.PublicKey) - copy(dAtA[i:], m.PublicKey) - i = encodeVarintValidator(dAtA, i, uint64(len(m.PublicKey))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *ValidatorStatusResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *ValidatorStatusResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *ValidatorStatusResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if m.PositionInActivationQueue != 0 { - i = encodeVarintValidator(dAtA, i, uint64(m.PositionInActivationQueue)) - i-- - dAtA[i] = 0x28 - } - if m.ActivationEpoch != 0 { - i = encodeVarintValidator(dAtA, i, uint64(m.ActivationEpoch)) - i-- - dAtA[i] = 0x20 - } - if m.DepositInclusionSlot != 0 { - i = encodeVarintValidator(dAtA, i, uint64(m.DepositInclusionSlot)) - i-- - dAtA[i] = 0x18 - } - if m.Eth1DepositBlockNumber != 0 { - i = encodeVarintValidator(dAtA, i, uint64(m.Eth1DepositBlockNumber)) - i-- - dAtA[i] = 0x10 - } - if m.Status != 0 { - i = encodeVarintValidator(dAtA, i, uint64(m.Status)) - i-- - dAtA[i] = 0x8 - } - return len(dAtA) - i, nil -} - -func (m *MultipleValidatorStatusRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *MultipleValidatorStatusRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *MultipleValidatorStatusRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if len(m.Indices) > 0 { - dAtA3 := make([]byte, len(m.Indices)*10) - var j2 int - for _, num1 := range m.Indices { - num := uint64(num1) - for num >= 1<<7 { - dAtA3[j2] = uint8(uint64(num)&0x7f | 0x80) - num >>= 7 - j2++ - } - dAtA3[j2] = uint8(num) - j2++ - } - i -= j2 - copy(dAtA[i:], dAtA3[:j2]) - i = encodeVarintValidator(dAtA, i, uint64(j2)) - i-- - dAtA[i] = 0x12 - } - if len(m.PublicKeys) > 0 { - for iNdEx := len(m.PublicKeys) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.PublicKeys[iNdEx]) - copy(dAtA[i:], m.PublicKeys[iNdEx]) - i = encodeVarintValidator(dAtA, i, uint64(len(m.PublicKeys[iNdEx]))) - i-- - dAtA[i] = 0xa - } - } - return len(dAtA) - i, nil -} - -func (m *MultipleValidatorStatusResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *MultipleValidatorStatusResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *MultipleValidatorStatusResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if len(m.Indices) > 0 { - dAtA5 := make([]byte, len(m.Indices)*10) - var j4 int - for _, num := range m.Indices { - for num >= 1<<7 { - dAtA5[j4] = uint8(uint64(num)&0x7f | 0x80) - num >>= 7 - j4++ - } - dAtA5[j4] = uint8(num) - j4++ - } - i -= j4 - copy(dAtA[i:], dAtA5[:j4]) - i = encodeVarintValidator(dAtA, i, uint64(j4)) - i-- - dAtA[i] = 0x1a - } - if len(m.Statuses) > 0 { - for iNdEx := len(m.Statuses) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Statuses[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintValidator(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - } - } - if len(m.PublicKeys) > 0 { - for iNdEx := len(m.PublicKeys) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.PublicKeys[iNdEx]) - copy(dAtA[i:], m.PublicKeys[iNdEx]) - i = encodeVarintValidator(dAtA, i, uint64(len(m.PublicKeys[iNdEx]))) - i-- - dAtA[i] = 0xa - } - } - return len(dAtA) - i, nil -} - -func (m *DutiesRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *DutiesRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *DutiesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if len(m.PublicKeys) > 0 { - for iNdEx := len(m.PublicKeys) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.PublicKeys[iNdEx]) - copy(dAtA[i:], m.PublicKeys[iNdEx]) - i = encodeVarintValidator(dAtA, i, uint64(len(m.PublicKeys[iNdEx]))) - i-- - dAtA[i] = 0x12 - } - } - if m.Epoch != 0 { - i = encodeVarintValidator(dAtA, i, uint64(m.Epoch)) - i-- - dAtA[i] = 0x8 - } - return len(dAtA) - i, nil -} - -func (m *DutiesResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *DutiesResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *DutiesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if len(m.NextEpochDuties) > 0 { - for iNdEx := len(m.NextEpochDuties) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.NextEpochDuties[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintValidator(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x1a - } - } - if len(m.CurrentEpochDuties) > 0 { - for iNdEx := len(m.CurrentEpochDuties) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.CurrentEpochDuties[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintValidator(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - } - } - if len(m.Duties) > 0 { - for iNdEx := len(m.Duties) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Duties[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintValidator(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - } - return len(dAtA) - i, nil -} - -func (m *DutiesResponse_Duty) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *DutiesResponse_Duty) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *DutiesResponse_Duty) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if m.ValidatorIndex != 0 { - i = encodeVarintValidator(dAtA, i, uint64(m.ValidatorIndex)) - i-- - dAtA[i] = 0x38 - } - if m.Status != 0 { - i = encodeVarintValidator(dAtA, i, uint64(m.Status)) - i-- - dAtA[i] = 0x30 - } - if len(m.PublicKey) > 0 { - i -= len(m.PublicKey) - copy(dAtA[i:], m.PublicKey) - i = encodeVarintValidator(dAtA, i, uint64(len(m.PublicKey))) - i-- - dAtA[i] = 0x2a - } - if len(m.ProposerSlots) > 0 { - dAtA7 := make([]byte, len(m.ProposerSlots)*10) - var j6 int - for _, num := range m.ProposerSlots { - for num >= 1<<7 { - dAtA7[j6] = uint8(uint64(num)&0x7f | 0x80) - num >>= 7 - j6++ - } - dAtA7[j6] = uint8(num) - j6++ - } - i -= j6 - copy(dAtA[i:], dAtA7[:j6]) - i = encodeVarintValidator(dAtA, i, uint64(j6)) - i-- - dAtA[i] = 0x22 - } - if m.AttesterSlot != 0 { - i = encodeVarintValidator(dAtA, i, uint64(m.AttesterSlot)) - i-- - dAtA[i] = 0x18 - } - if m.CommitteeIndex != 0 { - i = encodeVarintValidator(dAtA, i, uint64(m.CommitteeIndex)) - i-- - dAtA[i] = 0x10 - } - if len(m.Committee) > 0 { - dAtA9 := make([]byte, len(m.Committee)*10) - var j8 int - for _, num := range m.Committee { - for num >= 1<<7 { - dAtA9[j8] = uint8(uint64(num)&0x7f | 0x80) - num >>= 7 - j8++ - } - dAtA9[j8] = uint8(num) - j8++ - } - i -= j8 - copy(dAtA[i:], dAtA9[:j8]) - i = encodeVarintValidator(dAtA, i, uint64(j8)) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *BlockRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *BlockRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *BlockRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if len(m.Graffiti) > 0 { - i -= len(m.Graffiti) - copy(dAtA[i:], m.Graffiti) - i = encodeVarintValidator(dAtA, i, uint64(len(m.Graffiti))) - i-- - dAtA[i] = 0x1a - } - if len(m.RandaoReveal) > 0 { - i -= len(m.RandaoReveal) - copy(dAtA[i:], m.RandaoReveal) - i = encodeVarintValidator(dAtA, i, uint64(len(m.RandaoReveal))) - i-- - dAtA[i] = 0x12 - } - if m.Slot != 0 { - i = encodeVarintValidator(dAtA, i, uint64(m.Slot)) - i-- - dAtA[i] = 0x8 - } - return len(dAtA) - i, nil -} - -func (m *ProposeResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *ProposeResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *ProposeResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if len(m.BlockRoot) > 0 { - i -= len(m.BlockRoot) - copy(dAtA[i:], m.BlockRoot) - i = encodeVarintValidator(dAtA, i, uint64(len(m.BlockRoot))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *ProposeExitResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *ProposeExitResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *ProposeExitResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if len(m.ExitRoot) > 0 { - i -= len(m.ExitRoot) - copy(dAtA[i:], m.ExitRoot) - i = encodeVarintValidator(dAtA, i, uint64(len(m.ExitRoot))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *AttestationDataRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *AttestationDataRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *AttestationDataRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if m.CommitteeIndex != 0 { - i = encodeVarintValidator(dAtA, i, uint64(m.CommitteeIndex)) - i-- - dAtA[i] = 0x10 - } - if m.Slot != 0 { - i = encodeVarintValidator(dAtA, i, uint64(m.Slot)) - i-- - dAtA[i] = 0x8 - } - return len(dAtA) - i, nil -} - -func (m *AttestResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *AttestResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *AttestResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if len(m.AttestationDataRoot) > 0 { - i -= len(m.AttestationDataRoot) - copy(dAtA[i:], m.AttestationDataRoot) - i = encodeVarintValidator(dAtA, i, uint64(len(m.AttestationDataRoot))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *AggregateSelectionRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *AggregateSelectionRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *AggregateSelectionRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if len(m.SlotSignature) > 0 { - i -= len(m.SlotSignature) - copy(dAtA[i:], m.SlotSignature) - i = encodeVarintValidator(dAtA, i, uint64(len(m.SlotSignature))) - i-- - dAtA[i] = 0x22 - } - if len(m.PublicKey) > 0 { - i -= len(m.PublicKey) - copy(dAtA[i:], m.PublicKey) - i = encodeVarintValidator(dAtA, i, uint64(len(m.PublicKey))) - i-- - dAtA[i] = 0x1a - } - if m.CommitteeIndex != 0 { - i = encodeVarintValidator(dAtA, i, uint64(m.CommitteeIndex)) - i-- - dAtA[i] = 0x10 - } - if m.Slot != 0 { - i = encodeVarintValidator(dAtA, i, uint64(m.Slot)) - i-- - dAtA[i] = 0x8 - } - return len(dAtA) - i, nil -} - -func (m *AggregateSelectionResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *AggregateSelectionResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *AggregateSelectionResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if m.AggregateAndProof != nil { - { - size, err := m.AggregateAndProof.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintValidator(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *SignedAggregateSubmitRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *SignedAggregateSubmitRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *SignedAggregateSubmitRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if m.SignedAggregateAndProof != nil { - { - size, err := m.SignedAggregateAndProof.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintValidator(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *SignedAggregateSubmitResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *SignedAggregateSubmitResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *SignedAggregateSubmitResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if len(m.AttestationDataRoot) > 0 { - i -= len(m.AttestationDataRoot) - copy(dAtA[i:], m.AttestationDataRoot) - i = encodeVarintValidator(dAtA, i, uint64(len(m.AttestationDataRoot))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *CommitteeSubnetsSubscribeRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *CommitteeSubnetsSubscribeRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *CommitteeSubnetsSubscribeRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if len(m.IsAggregator) > 0 { - for iNdEx := len(m.IsAggregator) - 1; iNdEx >= 0; iNdEx-- { - i-- - if m.IsAggregator[iNdEx] { - dAtA[i] = 1 - } else { - dAtA[i] = 0 - } - } - i = encodeVarintValidator(dAtA, i, uint64(len(m.IsAggregator))) - i-- - dAtA[i] = 0x1a - } - if len(m.CommitteeIds) > 0 { - dAtA13 := make([]byte, len(m.CommitteeIds)*10) - var j12 int - for _, num := range m.CommitteeIds { - for num >= 1<<7 { - dAtA13[j12] = uint8(uint64(num)&0x7f | 0x80) - num >>= 7 - j12++ - } - dAtA13[j12] = uint8(num) - j12++ - } - i -= j12 - copy(dAtA[i:], dAtA13[:j12]) - i = encodeVarintValidator(dAtA, i, uint64(j12)) - i-- - dAtA[i] = 0x12 - } - if len(m.Slots) > 0 { - dAtA15 := make([]byte, len(m.Slots)*10) - var j14 int - for _, num := range m.Slots { - for num >= 1<<7 { - dAtA15[j14] = uint8(uint64(num)&0x7f | 0x80) - num >>= 7 - j14++ - } - dAtA15[j14] = uint8(num) - j14++ - } - i -= j14 - copy(dAtA[i:], dAtA15[:j14]) - i = encodeVarintValidator(dAtA, i, uint64(j14)) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *Validator) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *Validator) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *Validator) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if m.WithdrawableEpoch != 0 { - i = encodeVarintValidator(dAtA, i, uint64(m.WithdrawableEpoch)) - i-- - dAtA[i] = 0x40 - } - if m.ExitEpoch != 0 { - i = encodeVarintValidator(dAtA, i, uint64(m.ExitEpoch)) - i-- - dAtA[i] = 0x38 - } - if m.ActivationEpoch != 0 { - i = encodeVarintValidator(dAtA, i, uint64(m.ActivationEpoch)) - i-- - dAtA[i] = 0x30 - } - if m.ActivationEligibilityEpoch != 0 { - i = encodeVarintValidator(dAtA, i, uint64(m.ActivationEligibilityEpoch)) - i-- - dAtA[i] = 0x28 - } - if m.Slashed { - i-- - if m.Slashed { - dAtA[i] = 1 - } else { - dAtA[i] = 0 - } - i-- - dAtA[i] = 0x20 - } - if m.EffectiveBalance != 0 { - i = encodeVarintValidator(dAtA, i, uint64(m.EffectiveBalance)) - i-- - dAtA[i] = 0x18 - } - if len(m.WithdrawalCredentials) > 0 { - i -= len(m.WithdrawalCredentials) - copy(dAtA[i:], m.WithdrawalCredentials) - i = encodeVarintValidator(dAtA, i, uint64(len(m.WithdrawalCredentials))) - i-- - dAtA[i] = 0x12 - } - if len(m.PublicKey) > 0 { - i -= len(m.PublicKey) - copy(dAtA[i:], m.PublicKey) - i = encodeVarintValidator(dAtA, i, uint64(len(m.PublicKey))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *ValidatorParticipation) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *ValidatorParticipation) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *ValidatorParticipation) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if m.PreviousEpochHeadAttestingGwei != 0 { - i = encodeVarintValidator(dAtA, i, uint64(m.PreviousEpochHeadAttestingGwei)) - i-- - dAtA[i] = 0x50 - } - if m.PreviousEpochTargetAttestingGwei != 0 { - i = encodeVarintValidator(dAtA, i, uint64(m.PreviousEpochTargetAttestingGwei)) - i-- - dAtA[i] = 0x48 - } - if m.PreviousEpochAttestingGwei != 0 { - i = encodeVarintValidator(dAtA, i, uint64(m.PreviousEpochAttestingGwei)) - i-- - dAtA[i] = 0x40 - } - if m.PreviousEpochActiveGwei != 0 { - i = encodeVarintValidator(dAtA, i, uint64(m.PreviousEpochActiveGwei)) - i-- - dAtA[i] = 0x38 - } - if m.CurrentEpochTargetAttestingGwei != 0 { - i = encodeVarintValidator(dAtA, i, uint64(m.CurrentEpochTargetAttestingGwei)) - i-- - dAtA[i] = 0x30 - } - if m.CurrentEpochAttestingGwei != 0 { - i = encodeVarintValidator(dAtA, i, uint64(m.CurrentEpochAttestingGwei)) - i-- - dAtA[i] = 0x28 - } - if m.CurrentEpochActiveGwei != 0 { - i = encodeVarintValidator(dAtA, i, uint64(m.CurrentEpochActiveGwei)) - i-- - dAtA[i] = 0x20 - } - if m.EligibleEther != 0 { - i = encodeVarintValidator(dAtA, i, uint64(m.EligibleEther)) - i-- - dAtA[i] = 0x18 - } - if m.VotedEther != 0 { - i = encodeVarintValidator(dAtA, i, uint64(m.VotedEther)) - i-- - dAtA[i] = 0x10 - } - if m.GlobalParticipationRate != 0 { - i -= 4 - encoding_binary.LittleEndian.PutUint32(dAtA[i:], uint32(math.Float32bits(float32(m.GlobalParticipationRate)))) - i-- - dAtA[i] = 0xd - } - return len(dAtA) - i, nil -} - -func (m *ValidatorInfo) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *ValidatorInfo) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *ValidatorInfo) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if m.EffectiveBalance != 0 { - i = encodeVarintValidator(dAtA, i, uint64(m.EffectiveBalance)) - i-- - dAtA[i] = 0x38 - } - if m.Balance != 0 { - i = encodeVarintValidator(dAtA, i, uint64(m.Balance)) - i-- - dAtA[i] = 0x30 - } - if m.TransitionTimestamp != 0 { - i = encodeVarintValidator(dAtA, i, uint64(m.TransitionTimestamp)) - i-- - dAtA[i] = 0x28 - } - if m.Status != 0 { - i = encodeVarintValidator(dAtA, i, uint64(m.Status)) - i-- - dAtA[i] = 0x20 - } - if m.Epoch != 0 { - i = encodeVarintValidator(dAtA, i, uint64(m.Epoch)) - i-- - dAtA[i] = 0x18 - } - if m.Index != 0 { - i = encodeVarintValidator(dAtA, i, uint64(m.Index)) - i-- - dAtA[i] = 0x10 - } - if len(m.PublicKey) > 0 { - i -= len(m.PublicKey) - copy(dAtA[i:], m.PublicKey) - i = encodeVarintValidator(dAtA, i, uint64(len(m.PublicKey))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func encodeVarintValidator(dAtA []byte, offset int, v uint64) int { - offset -= sovValidator(v) - base := offset - for v >= 1<<7 { - dAtA[offset] = uint8(v&0x7f | 0x80) - v >>= 7 - offset++ - } - dAtA[offset] = uint8(v) - return base -} -func (m *DomainRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Epoch != 0 { - n += 1 + sovValidator(uint64(m.Epoch)) - } - l = len(m.Domain) - if l > 0 { - n += 1 + l + sovValidator(uint64(l)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *DomainResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.SignatureDomain) - if l > 0 { - n += 1 + l + sovValidator(uint64(l)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *ValidatorActivationRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if len(m.PublicKeys) > 0 { - for _, b := range m.PublicKeys { - l = len(b) - n += 1 + l + sovValidator(uint64(l)) - } - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *ValidatorActivationResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if len(m.Statuses) > 0 { - for _, e := range m.Statuses { - l = e.Size() - n += 1 + l + sovValidator(uint64(l)) - } - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *ValidatorActivationResponse_Status) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.PublicKey) - if l > 0 { - n += 1 + l + sovValidator(uint64(l)) - } - if m.Status != nil { - l = m.Status.Size() - n += 1 + l + sovValidator(uint64(l)) - } - if m.Index != 0 { - n += 1 + sovValidator(uint64(m.Index)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *ChainStartResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Started { - n += 2 - } - if m.GenesisTime != 0 { - n += 1 + sovValidator(uint64(m.GenesisTime)) - } - l = len(m.GenesisValidatorsRoot) - if l > 0 { - n += 1 + l + sovValidator(uint64(l)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *SyncedResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Synced { - n += 2 - } - if m.GenesisTime != 0 { - n += 1 + sovValidator(uint64(m.GenesisTime)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *ValidatorIndexRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.PublicKey) - if l > 0 { - n += 1 + l + sovValidator(uint64(l)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *ValidatorIndexResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Index != 0 { - n += 1 + sovValidator(uint64(m.Index)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *ValidatorStatusRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.PublicKey) - if l > 0 { - n += 1 + l + sovValidator(uint64(l)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *ValidatorStatusResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Status != 0 { - n += 1 + sovValidator(uint64(m.Status)) - } - if m.Eth1DepositBlockNumber != 0 { - n += 1 + sovValidator(uint64(m.Eth1DepositBlockNumber)) - } - if m.DepositInclusionSlot != 0 { - n += 1 + sovValidator(uint64(m.DepositInclusionSlot)) - } - if m.ActivationEpoch != 0 { - n += 1 + sovValidator(uint64(m.ActivationEpoch)) - } - if m.PositionInActivationQueue != 0 { - n += 1 + sovValidator(uint64(m.PositionInActivationQueue)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *MultipleValidatorStatusRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if len(m.PublicKeys) > 0 { - for _, b := range m.PublicKeys { - l = len(b) - n += 1 + l + sovValidator(uint64(l)) - } - } - if len(m.Indices) > 0 { - l = 0 - for _, e := range m.Indices { - l += sovValidator(uint64(e)) - } - n += 1 + sovValidator(uint64(l)) + l - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *MultipleValidatorStatusResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if len(m.PublicKeys) > 0 { - for _, b := range m.PublicKeys { - l = len(b) - n += 1 + l + sovValidator(uint64(l)) - } - } - if len(m.Statuses) > 0 { - for _, e := range m.Statuses { - l = e.Size() - n += 1 + l + sovValidator(uint64(l)) - } - } - if len(m.Indices) > 0 { - l = 0 - for _, e := range m.Indices { - l += sovValidator(uint64(e)) - } - n += 1 + sovValidator(uint64(l)) + l - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *DutiesRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Epoch != 0 { - n += 1 + sovValidator(uint64(m.Epoch)) - } - if len(m.PublicKeys) > 0 { - for _, b := range m.PublicKeys { - l = len(b) - n += 1 + l + sovValidator(uint64(l)) - } - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *DutiesResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if len(m.Duties) > 0 { - for _, e := range m.Duties { - l = e.Size() - n += 1 + l + sovValidator(uint64(l)) - } - } - if len(m.CurrentEpochDuties) > 0 { - for _, e := range m.CurrentEpochDuties { - l = e.Size() - n += 1 + l + sovValidator(uint64(l)) - } - } - if len(m.NextEpochDuties) > 0 { - for _, e := range m.NextEpochDuties { - l = e.Size() - n += 1 + l + sovValidator(uint64(l)) - } - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *DutiesResponse_Duty) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if len(m.Committee) > 0 { - l = 0 - for _, e := range m.Committee { - l += sovValidator(uint64(e)) - } - n += 1 + sovValidator(uint64(l)) + l - } - if m.CommitteeIndex != 0 { - n += 1 + sovValidator(uint64(m.CommitteeIndex)) - } - if m.AttesterSlot != 0 { - n += 1 + sovValidator(uint64(m.AttesterSlot)) - } - if len(m.ProposerSlots) > 0 { - l = 0 - for _, e := range m.ProposerSlots { - l += sovValidator(uint64(e)) - } - n += 1 + sovValidator(uint64(l)) + l - } - l = len(m.PublicKey) - if l > 0 { - n += 1 + l + sovValidator(uint64(l)) - } - if m.Status != 0 { - n += 1 + sovValidator(uint64(m.Status)) - } - if m.ValidatorIndex != 0 { - n += 1 + sovValidator(uint64(m.ValidatorIndex)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *BlockRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Slot != 0 { - n += 1 + sovValidator(uint64(m.Slot)) - } - l = len(m.RandaoReveal) - if l > 0 { - n += 1 + l + sovValidator(uint64(l)) - } - l = len(m.Graffiti) - if l > 0 { - n += 1 + l + sovValidator(uint64(l)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *ProposeResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.BlockRoot) - if l > 0 { - n += 1 + l + sovValidator(uint64(l)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *ProposeExitResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.ExitRoot) - if l > 0 { - n += 1 + l + sovValidator(uint64(l)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *AttestationDataRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Slot != 0 { - n += 1 + sovValidator(uint64(m.Slot)) - } - if m.CommitteeIndex != 0 { - n += 1 + sovValidator(uint64(m.CommitteeIndex)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *AttestResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.AttestationDataRoot) - if l > 0 { - n += 1 + l + sovValidator(uint64(l)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *AggregateSelectionRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Slot != 0 { - n += 1 + sovValidator(uint64(m.Slot)) - } - if m.CommitteeIndex != 0 { - n += 1 + sovValidator(uint64(m.CommitteeIndex)) - } - l = len(m.PublicKey) - if l > 0 { - n += 1 + l + sovValidator(uint64(l)) - } - l = len(m.SlotSignature) - if l > 0 { - n += 1 + l + sovValidator(uint64(l)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *AggregateSelectionResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.AggregateAndProof != nil { - l = m.AggregateAndProof.Size() - n += 1 + l + sovValidator(uint64(l)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *SignedAggregateSubmitRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.SignedAggregateAndProof != nil { - l = m.SignedAggregateAndProof.Size() - n += 1 + l + sovValidator(uint64(l)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *SignedAggregateSubmitResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.AttestationDataRoot) - if l > 0 { - n += 1 + l + sovValidator(uint64(l)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *CommitteeSubnetsSubscribeRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if len(m.Slots) > 0 { - l = 0 - for _, e := range m.Slots { - l += sovValidator(uint64(e)) - } - n += 1 + sovValidator(uint64(l)) + l - } - if len(m.CommitteeIds) > 0 { - l = 0 - for _, e := range m.CommitteeIds { - l += sovValidator(uint64(e)) - } - n += 1 + sovValidator(uint64(l)) + l - } - if len(m.IsAggregator) > 0 { - n += 1 + sovValidator(uint64(len(m.IsAggregator))) + len(m.IsAggregator)*1 - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *Validator) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.PublicKey) - if l > 0 { - n += 1 + l + sovValidator(uint64(l)) - } - l = len(m.WithdrawalCredentials) - if l > 0 { - n += 1 + l + sovValidator(uint64(l)) - } - if m.EffectiveBalance != 0 { - n += 1 + sovValidator(uint64(m.EffectiveBalance)) - } - if m.Slashed { - n += 2 - } - if m.ActivationEligibilityEpoch != 0 { - n += 1 + sovValidator(uint64(m.ActivationEligibilityEpoch)) - } - if m.ActivationEpoch != 0 { - n += 1 + sovValidator(uint64(m.ActivationEpoch)) - } - if m.ExitEpoch != 0 { - n += 1 + sovValidator(uint64(m.ExitEpoch)) - } - if m.WithdrawableEpoch != 0 { - n += 1 + sovValidator(uint64(m.WithdrawableEpoch)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *ValidatorParticipation) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.GlobalParticipationRate != 0 { - n += 5 - } - if m.VotedEther != 0 { - n += 1 + sovValidator(uint64(m.VotedEther)) - } - if m.EligibleEther != 0 { - n += 1 + sovValidator(uint64(m.EligibleEther)) - } - if m.CurrentEpochActiveGwei != 0 { - n += 1 + sovValidator(uint64(m.CurrentEpochActiveGwei)) - } - if m.CurrentEpochAttestingGwei != 0 { - n += 1 + sovValidator(uint64(m.CurrentEpochAttestingGwei)) - } - if m.CurrentEpochTargetAttestingGwei != 0 { - n += 1 + sovValidator(uint64(m.CurrentEpochTargetAttestingGwei)) - } - if m.PreviousEpochActiveGwei != 0 { - n += 1 + sovValidator(uint64(m.PreviousEpochActiveGwei)) - } - if m.PreviousEpochAttestingGwei != 0 { - n += 1 + sovValidator(uint64(m.PreviousEpochAttestingGwei)) - } - if m.PreviousEpochTargetAttestingGwei != 0 { - n += 1 + sovValidator(uint64(m.PreviousEpochTargetAttestingGwei)) - } - if m.PreviousEpochHeadAttestingGwei != 0 { - n += 1 + sovValidator(uint64(m.PreviousEpochHeadAttestingGwei)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *ValidatorInfo) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.PublicKey) - if l > 0 { - n += 1 + l + sovValidator(uint64(l)) - } - if m.Index != 0 { - n += 1 + sovValidator(uint64(m.Index)) - } - if m.Epoch != 0 { - n += 1 + sovValidator(uint64(m.Epoch)) - } - if m.Status != 0 { - n += 1 + sovValidator(uint64(m.Status)) - } - if m.TransitionTimestamp != 0 { - n += 1 + sovValidator(uint64(m.TransitionTimestamp)) - } - if m.Balance != 0 { - n += 1 + sovValidator(uint64(m.Balance)) - } - if m.EffectiveBalance != 0 { - n += 1 + sovValidator(uint64(m.EffectiveBalance)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func sovValidator(x uint64) (n int) { - return (math_bits.Len64(x|1) + 6) / 7 -} -func sozValidator(x uint64) (n int) { - return sovValidator(uint64((x << 1) ^ uint64((int64(x) >> 63)))) -} -func (m *DomainRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowValidator - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: DomainRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: DomainRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Epoch", wireType) - } - m.Epoch = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowValidator - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Epoch |= github_com_prysmaticlabs_eth2_types.Epoch(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Domain", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowValidator - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return ErrInvalidLengthValidator - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthValidator - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Domain = append(m.Domain[:0], dAtA[iNdEx:postIndex]...) - if m.Domain == nil { - m.Domain = []byte{} - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipValidator(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthValidator - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthValidator - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *DomainResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowValidator - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: DomainResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: DomainResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field SignatureDomain", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowValidator - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return ErrInvalidLengthValidator - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthValidator - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.SignatureDomain = append(m.SignatureDomain[:0], dAtA[iNdEx:postIndex]...) - if m.SignatureDomain == nil { - m.SignatureDomain = []byte{} - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipValidator(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthValidator - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthValidator - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *ValidatorActivationRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowValidator - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: ValidatorActivationRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: ValidatorActivationRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field PublicKeys", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowValidator - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return ErrInvalidLengthValidator - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthValidator - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.PublicKeys = append(m.PublicKeys, make([]byte, postIndex-iNdEx)) - copy(m.PublicKeys[len(m.PublicKeys)-1], dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipValidator(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthValidator - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthValidator - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *ValidatorActivationResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowValidator - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: ValidatorActivationResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: ValidatorActivationResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Statuses", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowValidator - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthValidator - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthValidator - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Statuses = append(m.Statuses, &ValidatorActivationResponse_Status{}) - if err := m.Statuses[len(m.Statuses)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipValidator(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthValidator - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthValidator - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *ValidatorActivationResponse_Status) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowValidator - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: Status: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: Status: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field PublicKey", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowValidator - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return ErrInvalidLengthValidator - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthValidator - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.PublicKey = append(m.PublicKey[:0], dAtA[iNdEx:postIndex]...) - if m.PublicKey == nil { - m.PublicKey = []byte{} - } - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowValidator - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthValidator - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthValidator - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Status == nil { - m.Status = &ValidatorStatusResponse{} - } - if err := m.Status.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 3: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Index", wireType) - } - m.Index = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowValidator - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Index |= github_com_prysmaticlabs_eth2_types.ValidatorIndex(b&0x7F) << shift - if b < 0x80 { - break - } - } - default: - iNdEx = preIndex - skippy, err := skipValidator(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthValidator - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthValidator - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *ChainStartResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowValidator - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: ChainStartResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: ChainStartResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Started", wireType) - } - var v int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowValidator - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.Started = bool(v != 0) - case 2: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field GenesisTime", wireType) - } - m.GenesisTime = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowValidator - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.GenesisTime |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field GenesisValidatorsRoot", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowValidator - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return ErrInvalidLengthValidator - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthValidator - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.GenesisValidatorsRoot = append(m.GenesisValidatorsRoot[:0], dAtA[iNdEx:postIndex]...) - if m.GenesisValidatorsRoot == nil { - m.GenesisValidatorsRoot = []byte{} - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipValidator(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthValidator - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthValidator - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *SyncedResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowValidator - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: SyncedResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: SyncedResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Synced", wireType) - } - var v int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowValidator - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.Synced = bool(v != 0) - case 2: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field GenesisTime", wireType) - } - m.GenesisTime = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowValidator - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.GenesisTime |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - default: - iNdEx = preIndex - skippy, err := skipValidator(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthValidator - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthValidator - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *ValidatorIndexRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowValidator - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: ValidatorIndexRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: ValidatorIndexRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field PublicKey", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowValidator - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return ErrInvalidLengthValidator - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthValidator - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.PublicKey = append(m.PublicKey[:0], dAtA[iNdEx:postIndex]...) - if m.PublicKey == nil { - m.PublicKey = []byte{} - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipValidator(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthValidator - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthValidator - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *ValidatorIndexResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowValidator - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: ValidatorIndexResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: ValidatorIndexResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Index", wireType) - } - m.Index = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowValidator - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Index |= github_com_prysmaticlabs_eth2_types.ValidatorIndex(b&0x7F) << shift - if b < 0x80 { - break - } - } - default: - iNdEx = preIndex - skippy, err := skipValidator(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthValidator - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthValidator - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *ValidatorStatusRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowValidator - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: ValidatorStatusRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: ValidatorStatusRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field PublicKey", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowValidator - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return ErrInvalidLengthValidator - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthValidator - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.PublicKey = append(m.PublicKey[:0], dAtA[iNdEx:postIndex]...) - if m.PublicKey == nil { - m.PublicKey = []byte{} - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipValidator(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthValidator - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthValidator - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *ValidatorStatusResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowValidator - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: ValidatorStatusResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: ValidatorStatusResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType) - } - m.Status = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowValidator - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Status |= ValidatorStatus(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 2: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Eth1DepositBlockNumber", wireType) - } - m.Eth1DepositBlockNumber = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowValidator - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Eth1DepositBlockNumber |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 3: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field DepositInclusionSlot", wireType) - } - m.DepositInclusionSlot = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowValidator - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.DepositInclusionSlot |= github_com_prysmaticlabs_eth2_types.Slot(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 4: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field ActivationEpoch", wireType) - } - m.ActivationEpoch = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowValidator - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.ActivationEpoch |= github_com_prysmaticlabs_eth2_types.Epoch(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 5: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field PositionInActivationQueue", wireType) - } - m.PositionInActivationQueue = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowValidator - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.PositionInActivationQueue |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - default: - iNdEx = preIndex - skippy, err := skipValidator(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthValidator - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthValidator - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *MultipleValidatorStatusRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowValidator - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: MultipleValidatorStatusRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: MultipleValidatorStatusRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field PublicKeys", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowValidator - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return ErrInvalidLengthValidator - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthValidator - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.PublicKeys = append(m.PublicKeys, make([]byte, postIndex-iNdEx)) - copy(m.PublicKeys[len(m.PublicKeys)-1], dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType == 0 { - var v int64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowValidator - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= int64(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.Indices = append(m.Indices, v) - } else if wireType == 2 { - var packedLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowValidator - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - packedLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if packedLen < 0 { - return ErrInvalidLengthValidator - } - postIndex := iNdEx + packedLen - if postIndex < 0 { - return ErrInvalidLengthValidator - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - var elementCount int - var count int - for _, integer := range dAtA[iNdEx:postIndex] { - if integer < 128 { - count++ - } - } - elementCount = count - if elementCount != 0 && len(m.Indices) == 0 { - m.Indices = make([]int64, 0, elementCount) - } - for iNdEx < postIndex { - var v int64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowValidator - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= int64(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.Indices = append(m.Indices, v) - } - } else { - return fmt.Errorf("proto: wrong wireType = %d for field Indices", wireType) - } - default: - iNdEx = preIndex - skippy, err := skipValidator(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthValidator - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthValidator - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *MultipleValidatorStatusResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowValidator - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: MultipleValidatorStatusResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: MultipleValidatorStatusResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field PublicKeys", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowValidator - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return ErrInvalidLengthValidator - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthValidator - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.PublicKeys = append(m.PublicKeys, make([]byte, postIndex-iNdEx)) - copy(m.PublicKeys[len(m.PublicKeys)-1], dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Statuses", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowValidator - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthValidator - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthValidator - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Statuses = append(m.Statuses, &ValidatorStatusResponse{}) - if err := m.Statuses[len(m.Statuses)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 3: - if wireType == 0 { - var v github_com_prysmaticlabs_eth2_types.ValidatorIndex - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowValidator - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= github_com_prysmaticlabs_eth2_types.ValidatorIndex(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.Indices = append(m.Indices, v) - } else if wireType == 2 { - var packedLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowValidator - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - packedLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if packedLen < 0 { - return ErrInvalidLengthValidator - } - postIndex := iNdEx + packedLen - if postIndex < 0 { - return ErrInvalidLengthValidator - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - var elementCount int - var count int - for _, integer := range dAtA[iNdEx:postIndex] { - if integer < 128 { - count++ - } - } - elementCount = count - if elementCount != 0 && len(m.Indices) == 0 { - m.Indices = make([]github_com_prysmaticlabs_eth2_types.ValidatorIndex, 0, elementCount) - } - for iNdEx < postIndex { - var v github_com_prysmaticlabs_eth2_types.ValidatorIndex - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowValidator - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= github_com_prysmaticlabs_eth2_types.ValidatorIndex(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.Indices = append(m.Indices, v) - } - } else { - return fmt.Errorf("proto: wrong wireType = %d for field Indices", wireType) - } - default: - iNdEx = preIndex - skippy, err := skipValidator(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthValidator - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthValidator - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *DutiesRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowValidator - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: DutiesRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: DutiesRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Epoch", wireType) - } - m.Epoch = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowValidator - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Epoch |= github_com_prysmaticlabs_eth2_types.Epoch(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field PublicKeys", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowValidator - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return ErrInvalidLengthValidator - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthValidator - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.PublicKeys = append(m.PublicKeys, make([]byte, postIndex-iNdEx)) - copy(m.PublicKeys[len(m.PublicKeys)-1], dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipValidator(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthValidator - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthValidator - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *DutiesResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowValidator - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: DutiesResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: DutiesResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Duties", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowValidator - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthValidator - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthValidator - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Duties = append(m.Duties, &DutiesResponse_Duty{}) - if err := m.Duties[len(m.Duties)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field CurrentEpochDuties", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowValidator - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthValidator - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthValidator - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.CurrentEpochDuties = append(m.CurrentEpochDuties, &DutiesResponse_Duty{}) - if err := m.CurrentEpochDuties[len(m.CurrentEpochDuties)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field NextEpochDuties", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowValidator - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthValidator - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthValidator - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.NextEpochDuties = append(m.NextEpochDuties, &DutiesResponse_Duty{}) - if err := m.NextEpochDuties[len(m.NextEpochDuties)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipValidator(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthValidator - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthValidator - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *DutiesResponse_Duty) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowValidator - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: Duty: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: Duty: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType == 0 { - var v github_com_prysmaticlabs_eth2_types.ValidatorIndex - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowValidator - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= github_com_prysmaticlabs_eth2_types.ValidatorIndex(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.Committee = append(m.Committee, v) - } else if wireType == 2 { - var packedLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowValidator - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - packedLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if packedLen < 0 { - return ErrInvalidLengthValidator - } - postIndex := iNdEx + packedLen - if postIndex < 0 { - return ErrInvalidLengthValidator - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - var elementCount int - var count int - for _, integer := range dAtA[iNdEx:postIndex] { - if integer < 128 { - count++ - } - } - elementCount = count - if elementCount != 0 && len(m.Committee) == 0 { - m.Committee = make([]github_com_prysmaticlabs_eth2_types.ValidatorIndex, 0, elementCount) - } - for iNdEx < postIndex { - var v github_com_prysmaticlabs_eth2_types.ValidatorIndex - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowValidator - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= github_com_prysmaticlabs_eth2_types.ValidatorIndex(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.Committee = append(m.Committee, v) - } - } else { - return fmt.Errorf("proto: wrong wireType = %d for field Committee", wireType) - } - case 2: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field CommitteeIndex", wireType) - } - m.CommitteeIndex = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowValidator - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.CommitteeIndex |= github_com_prysmaticlabs_eth2_types.CommitteeIndex(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 3: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field AttesterSlot", wireType) - } - m.AttesterSlot = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowValidator - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.AttesterSlot |= github_com_prysmaticlabs_eth2_types.Slot(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 4: - if wireType == 0 { - var v github_com_prysmaticlabs_eth2_types.Slot - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowValidator - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= github_com_prysmaticlabs_eth2_types.Slot(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.ProposerSlots = append(m.ProposerSlots, v) - } else if wireType == 2 { - var packedLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowValidator - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - packedLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if packedLen < 0 { - return ErrInvalidLengthValidator - } - postIndex := iNdEx + packedLen - if postIndex < 0 { - return ErrInvalidLengthValidator - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - var elementCount int - var count int - for _, integer := range dAtA[iNdEx:postIndex] { - if integer < 128 { - count++ - } - } - elementCount = count - if elementCount != 0 && len(m.ProposerSlots) == 0 { - m.ProposerSlots = make([]github_com_prysmaticlabs_eth2_types.Slot, 0, elementCount) - } - for iNdEx < postIndex { - var v github_com_prysmaticlabs_eth2_types.Slot - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowValidator - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= github_com_prysmaticlabs_eth2_types.Slot(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.ProposerSlots = append(m.ProposerSlots, v) - } - } else { - return fmt.Errorf("proto: wrong wireType = %d for field ProposerSlots", wireType) - } - case 5: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field PublicKey", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowValidator - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return ErrInvalidLengthValidator - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthValidator - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.PublicKey = append(m.PublicKey[:0], dAtA[iNdEx:postIndex]...) - if m.PublicKey == nil { - m.PublicKey = []byte{} - } - iNdEx = postIndex - case 6: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType) - } - m.Status = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowValidator - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Status |= ValidatorStatus(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 7: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field ValidatorIndex", wireType) - } - m.ValidatorIndex = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowValidator - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.ValidatorIndex |= github_com_prysmaticlabs_eth2_types.ValidatorIndex(b&0x7F) << shift - if b < 0x80 { - break - } - } - default: - iNdEx = preIndex - skippy, err := skipValidator(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthValidator - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthValidator - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *BlockRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowValidator - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: BlockRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: BlockRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Slot", wireType) - } - m.Slot = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowValidator - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Slot |= github_com_prysmaticlabs_eth2_types.Slot(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field RandaoReveal", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowValidator - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return ErrInvalidLengthValidator - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthValidator - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.RandaoReveal = append(m.RandaoReveal[:0], dAtA[iNdEx:postIndex]...) - if m.RandaoReveal == nil { - m.RandaoReveal = []byte{} - } - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Graffiti", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowValidator - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return ErrInvalidLengthValidator - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthValidator - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Graffiti = append(m.Graffiti[:0], dAtA[iNdEx:postIndex]...) - if m.Graffiti == nil { - m.Graffiti = []byte{} - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipValidator(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthValidator - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthValidator - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *ProposeResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowValidator - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: ProposeResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: ProposeResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field BlockRoot", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowValidator - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return ErrInvalidLengthValidator - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthValidator - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.BlockRoot = append(m.BlockRoot[:0], dAtA[iNdEx:postIndex]...) - if m.BlockRoot == nil { - m.BlockRoot = []byte{} - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipValidator(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthValidator - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthValidator - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *ProposeExitResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowValidator - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: ProposeExitResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: ProposeExitResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ExitRoot", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowValidator - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return ErrInvalidLengthValidator - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthValidator - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ExitRoot = append(m.ExitRoot[:0], dAtA[iNdEx:postIndex]...) - if m.ExitRoot == nil { - m.ExitRoot = []byte{} - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipValidator(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthValidator - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthValidator - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *AttestationDataRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowValidator - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: AttestationDataRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: AttestationDataRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Slot", wireType) - } - m.Slot = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowValidator - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Slot |= github_com_prysmaticlabs_eth2_types.Slot(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 2: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field CommitteeIndex", wireType) - } - m.CommitteeIndex = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowValidator - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.CommitteeIndex |= github_com_prysmaticlabs_eth2_types.CommitteeIndex(b&0x7F) << shift - if b < 0x80 { - break - } - } - default: - iNdEx = preIndex - skippy, err := skipValidator(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthValidator - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthValidator - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *AttestResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowValidator - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: AttestResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: AttestResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AttestationDataRoot", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowValidator - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return ErrInvalidLengthValidator - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthValidator - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.AttestationDataRoot = append(m.AttestationDataRoot[:0], dAtA[iNdEx:postIndex]...) - if m.AttestationDataRoot == nil { - m.AttestationDataRoot = []byte{} - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipValidator(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthValidator - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthValidator - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *AggregateSelectionRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowValidator - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: AggregateSelectionRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: AggregateSelectionRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Slot", wireType) - } - m.Slot = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowValidator - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Slot |= github_com_prysmaticlabs_eth2_types.Slot(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 2: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field CommitteeIndex", wireType) - } - m.CommitteeIndex = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowValidator - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.CommitteeIndex |= github_com_prysmaticlabs_eth2_types.CommitteeIndex(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field PublicKey", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowValidator - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return ErrInvalidLengthValidator - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthValidator - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.PublicKey = append(m.PublicKey[:0], dAtA[iNdEx:postIndex]...) - if m.PublicKey == nil { - m.PublicKey = []byte{} - } - iNdEx = postIndex - case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field SlotSignature", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowValidator - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return ErrInvalidLengthValidator - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthValidator - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.SlotSignature = append(m.SlotSignature[:0], dAtA[iNdEx:postIndex]...) - if m.SlotSignature == nil { - m.SlotSignature = []byte{} - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipValidator(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthValidator - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthValidator - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *AggregateSelectionResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowValidator - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: AggregateSelectionResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: AggregateSelectionResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AggregateAndProof", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowValidator - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthValidator - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthValidator - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.AggregateAndProof == nil { - m.AggregateAndProof = &AggregateAttestationAndProof{} - } - if err := m.AggregateAndProof.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipValidator(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthValidator - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthValidator - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *SignedAggregateSubmitRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowValidator - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: SignedAggregateSubmitRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: SignedAggregateSubmitRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field SignedAggregateAndProof", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowValidator - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthValidator - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthValidator - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.SignedAggregateAndProof == nil { - m.SignedAggregateAndProof = &SignedAggregateAttestationAndProof{} - } - if err := m.SignedAggregateAndProof.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipValidator(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthValidator - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthValidator - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *SignedAggregateSubmitResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowValidator - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: SignedAggregateSubmitResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: SignedAggregateSubmitResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AttestationDataRoot", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowValidator - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return ErrInvalidLengthValidator - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthValidator - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.AttestationDataRoot = append(m.AttestationDataRoot[:0], dAtA[iNdEx:postIndex]...) - if m.AttestationDataRoot == nil { - m.AttestationDataRoot = []byte{} - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipValidator(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthValidator - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthValidator - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *CommitteeSubnetsSubscribeRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowValidator - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: CommitteeSubnetsSubscribeRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: CommitteeSubnetsSubscribeRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType == 0 { - var v github_com_prysmaticlabs_eth2_types.Slot - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowValidator - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= github_com_prysmaticlabs_eth2_types.Slot(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.Slots = append(m.Slots, v) - } else if wireType == 2 { - var packedLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowValidator - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - packedLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if packedLen < 0 { - return ErrInvalidLengthValidator - } - postIndex := iNdEx + packedLen - if postIndex < 0 { - return ErrInvalidLengthValidator - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - var elementCount int - var count int - for _, integer := range dAtA[iNdEx:postIndex] { - if integer < 128 { - count++ - } - } - elementCount = count - if elementCount != 0 && len(m.Slots) == 0 { - m.Slots = make([]github_com_prysmaticlabs_eth2_types.Slot, 0, elementCount) - } - for iNdEx < postIndex { - var v github_com_prysmaticlabs_eth2_types.Slot - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowValidator - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= github_com_prysmaticlabs_eth2_types.Slot(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.Slots = append(m.Slots, v) - } - } else { - return fmt.Errorf("proto: wrong wireType = %d for field Slots", wireType) - } - case 2: - if wireType == 0 { - var v github_com_prysmaticlabs_eth2_types.CommitteeIndex - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowValidator - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= github_com_prysmaticlabs_eth2_types.CommitteeIndex(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.CommitteeIds = append(m.CommitteeIds, v) - } else if wireType == 2 { - var packedLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowValidator - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - packedLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if packedLen < 0 { - return ErrInvalidLengthValidator - } - postIndex := iNdEx + packedLen - if postIndex < 0 { - return ErrInvalidLengthValidator - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - var elementCount int - var count int - for _, integer := range dAtA[iNdEx:postIndex] { - if integer < 128 { - count++ - } - } - elementCount = count - if elementCount != 0 && len(m.CommitteeIds) == 0 { - m.CommitteeIds = make([]github_com_prysmaticlabs_eth2_types.CommitteeIndex, 0, elementCount) - } - for iNdEx < postIndex { - var v github_com_prysmaticlabs_eth2_types.CommitteeIndex - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowValidator - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= github_com_prysmaticlabs_eth2_types.CommitteeIndex(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.CommitteeIds = append(m.CommitteeIds, v) - } - } else { - return fmt.Errorf("proto: wrong wireType = %d for field CommitteeIds", wireType) - } - case 3: - if wireType == 0 { - var v int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowValidator - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.IsAggregator = append(m.IsAggregator, bool(v != 0)) - } else if wireType == 2 { - var packedLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowValidator - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - packedLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if packedLen < 0 { - return ErrInvalidLengthValidator - } - postIndex := iNdEx + packedLen - if postIndex < 0 { - return ErrInvalidLengthValidator - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - var elementCount int - elementCount = packedLen - if elementCount != 0 && len(m.IsAggregator) == 0 { - m.IsAggregator = make([]bool, 0, elementCount) - } - for iNdEx < postIndex { - var v int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowValidator - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.IsAggregator = append(m.IsAggregator, bool(v != 0)) - } - } else { - return fmt.Errorf("proto: wrong wireType = %d for field IsAggregator", wireType) - } - default: - iNdEx = preIndex - skippy, err := skipValidator(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthValidator - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthValidator - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *Validator) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowValidator - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: Validator: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: Validator: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field PublicKey", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowValidator - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return ErrInvalidLengthValidator - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthValidator - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.PublicKey = append(m.PublicKey[:0], dAtA[iNdEx:postIndex]...) - if m.PublicKey == nil { - m.PublicKey = []byte{} - } - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field WithdrawalCredentials", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowValidator - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return ErrInvalidLengthValidator - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthValidator - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.WithdrawalCredentials = append(m.WithdrawalCredentials[:0], dAtA[iNdEx:postIndex]...) - if m.WithdrawalCredentials == nil { - m.WithdrawalCredentials = []byte{} - } - iNdEx = postIndex - case 3: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field EffectiveBalance", wireType) - } - m.EffectiveBalance = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowValidator - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.EffectiveBalance |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 4: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Slashed", wireType) - } - var v int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowValidator - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.Slashed = bool(v != 0) - case 5: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field ActivationEligibilityEpoch", wireType) - } - m.ActivationEligibilityEpoch = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowValidator - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.ActivationEligibilityEpoch |= github_com_prysmaticlabs_eth2_types.Epoch(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 6: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field ActivationEpoch", wireType) - } - m.ActivationEpoch = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowValidator - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.ActivationEpoch |= github_com_prysmaticlabs_eth2_types.Epoch(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 7: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field ExitEpoch", wireType) - } - m.ExitEpoch = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowValidator - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.ExitEpoch |= github_com_prysmaticlabs_eth2_types.Epoch(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 8: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field WithdrawableEpoch", wireType) - } - m.WithdrawableEpoch = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowValidator - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.WithdrawableEpoch |= github_com_prysmaticlabs_eth2_types.Epoch(b&0x7F) << shift - if b < 0x80 { - break - } - } - default: - iNdEx = preIndex - skippy, err := skipValidator(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthValidator - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthValidator - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *ValidatorParticipation) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowValidator - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: ValidatorParticipation: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: ValidatorParticipation: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 5 { - return fmt.Errorf("proto: wrong wireType = %d for field GlobalParticipationRate", wireType) - } - var v uint32 - if (iNdEx + 4) > l { - return io.ErrUnexpectedEOF - } - v = uint32(encoding_binary.LittleEndian.Uint32(dAtA[iNdEx:])) - iNdEx += 4 - m.GlobalParticipationRate = float32(math.Float32frombits(v)) - case 2: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field VotedEther", wireType) - } - m.VotedEther = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowValidator - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.VotedEther |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 3: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field EligibleEther", wireType) - } - m.EligibleEther = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowValidator - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.EligibleEther |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 4: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field CurrentEpochActiveGwei", wireType) - } - m.CurrentEpochActiveGwei = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowValidator - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.CurrentEpochActiveGwei |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 5: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field CurrentEpochAttestingGwei", wireType) - } - m.CurrentEpochAttestingGwei = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowValidator - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.CurrentEpochAttestingGwei |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 6: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field CurrentEpochTargetAttestingGwei", wireType) - } - m.CurrentEpochTargetAttestingGwei = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowValidator - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.CurrentEpochTargetAttestingGwei |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 7: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field PreviousEpochActiveGwei", wireType) - } - m.PreviousEpochActiveGwei = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowValidator - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.PreviousEpochActiveGwei |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 8: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field PreviousEpochAttestingGwei", wireType) - } - m.PreviousEpochAttestingGwei = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowValidator - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.PreviousEpochAttestingGwei |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 9: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field PreviousEpochTargetAttestingGwei", wireType) - } - m.PreviousEpochTargetAttestingGwei = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowValidator - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.PreviousEpochTargetAttestingGwei |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 10: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field PreviousEpochHeadAttestingGwei", wireType) - } - m.PreviousEpochHeadAttestingGwei = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowValidator - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.PreviousEpochHeadAttestingGwei |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - default: - iNdEx = preIndex - skippy, err := skipValidator(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthValidator - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthValidator - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *ValidatorInfo) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowValidator - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: ValidatorInfo: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: ValidatorInfo: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field PublicKey", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowValidator - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return ErrInvalidLengthValidator - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthValidator - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.PublicKey = append(m.PublicKey[:0], dAtA[iNdEx:postIndex]...) - if m.PublicKey == nil { - m.PublicKey = []byte{} - } - iNdEx = postIndex - case 2: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Index", wireType) - } - m.Index = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowValidator - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Index |= github_com_prysmaticlabs_eth2_types.ValidatorIndex(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 3: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Epoch", wireType) - } - m.Epoch = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowValidator - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Epoch |= github_com_prysmaticlabs_eth2_types.Epoch(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 4: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType) - } - m.Status = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowValidator - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Status |= ValidatorStatus(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 5: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field TransitionTimestamp", wireType) - } - m.TransitionTimestamp = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowValidator - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.TransitionTimestamp |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 6: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Balance", wireType) - } - m.Balance = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowValidator - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Balance |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 7: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field EffectiveBalance", wireType) - } - m.EffectiveBalance = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowValidator - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.EffectiveBalance |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - default: - iNdEx = preIndex - skippy, err := skipValidator(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthValidator - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthValidator - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func skipValidator(dAtA []byte) (n int, err error) { - l := len(dAtA) - iNdEx := 0 - depth := 0 - for iNdEx < l { - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return 0, ErrIntOverflowValidator - } - if iNdEx >= l { - return 0, io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= (uint64(b) & 0x7F) << shift - if b < 0x80 { - break - } - } - wireType := int(wire & 0x7) - switch wireType { - case 0: - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return 0, ErrIntOverflowValidator - } - if iNdEx >= l { - return 0, io.ErrUnexpectedEOF - } - iNdEx++ - if dAtA[iNdEx-1] < 0x80 { - break - } - } - case 1: - iNdEx += 8 - case 2: - var length int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return 0, ErrIntOverflowValidator - } - if iNdEx >= l { - return 0, io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - length |= (int(b) & 0x7F) << shift - if b < 0x80 { - break - } - } - if length < 0 { - return 0, ErrInvalidLengthValidator - } - iNdEx += length - case 3: - depth++ - case 4: - if depth == 0 { - return 0, ErrUnexpectedEndOfGroupValidator - } - depth-- - case 5: - iNdEx += 4 - default: - return 0, fmt.Errorf("proto: illegal wireType %d", wireType) - } - if iNdEx < 0 { - return 0, ErrInvalidLengthValidator - } - if depth == 0 { - return iNdEx, nil - } - } - return 0, io.ErrUnexpectedEOF -} - -var ( - ErrInvalidLengthValidator = fmt.Errorf("proto: negative length found during unmarshaling") - ErrIntOverflowValidator = fmt.Errorf("proto: integer overflow") - ErrUnexpectedEndOfGroupValidator = fmt.Errorf("proto: unexpected end of group") -) diff --git a/eth/v1alpha1_gateway/validator.pb.gw.go b/eth/v1alpha1/validator.pb.gw.go old mode 100755 new mode 100644 similarity index 92% rename from eth/v1alpha1_gateway/validator.pb.gw.go rename to eth/v1alpha1/validator.pb.gw.go index 690cbd1e..ab9ea760 --- a/eth/v1alpha1_gateway/validator.pb.gw.go +++ b/eth/v1alpha1/validator.pb.gw.go @@ -10,19 +10,19 @@ package eth import ( "context" - "io" - "net/http" - - "github.com/golang/protobuf/descriptor" - "github.com/golang/protobuf/proto" "github.com/golang/protobuf/ptypes/empty" - "github.com/grpc-ecosystem/grpc-gateway/runtime" - "github.com/grpc-ecosystem/grpc-gateway/utilities" + emptypb "github.com/golang/protobuf/ptypes/empty" + "github.com/grpc-ecosystem/grpc-gateway/v2/runtime" + "github.com/grpc-ecosystem/grpc-gateway/v2/utilities" + github_com_prysmaticlabs_eth2_types "github.com/prysmaticlabs/eth2-types" "google.golang.org/grpc" "google.golang.org/grpc/codes" "google.golang.org/grpc/grpclog" "google.golang.org/grpc/metadata" "google.golang.org/grpc/status" + "google.golang.org/protobuf/proto" + "io" + "net/http" ) // Suppress "imported and not used" errors @@ -31,8 +31,10 @@ var _ io.Reader var _ status.Status var _ = runtime.String var _ = utilities.NewDoubleArray -var _ = descriptor.ForMessage var _ = metadata.Join +var _ = github_com_prysmaticlabs_eth2_types.Epoch(0) +var _ = emptypb.Empty{} +var _ = empty.Empty{} var ( filter_BeaconNodeValidator_GetDuties_0 = &utilities.DoubleArray{Encoding: map[string]int{}, Base: []int(nil), Check: []int(nil)} @@ -135,7 +137,7 @@ func local_request_BeaconNodeValidator_DomainData_0(ctx context.Context, marshal } func request_BeaconNodeValidator_WaitForChainStart_0(ctx context.Context, marshaler runtime.Marshaler, client BeaconNodeValidatorClient, req *http.Request, pathParams map[string]string) (BeaconNodeValidator_WaitForChainStartClient, runtime.ServerMetadata, error) { - var protoReq empty.Empty + var protoReq emptypb.Empty var metadata runtime.ServerMetadata stream, err := client.WaitForChainStart(ctx, &protoReq) @@ -575,7 +577,7 @@ func RegisterBeaconNodeValidatorHandlerServer(ctx context.Context, mux *runtime. var stream runtime.ServerTransportStream ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req) + rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/ethereum.eth.v1alpha1.BeaconNodeValidator/GetDuties") if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return @@ -605,7 +607,7 @@ func RegisterBeaconNodeValidatorHandlerServer(ctx context.Context, mux *runtime. var stream runtime.ServerTransportStream ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req) + rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/ethereum.eth.v1alpha1.BeaconNodeValidator/DomainData") if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return @@ -642,7 +644,7 @@ func RegisterBeaconNodeValidatorHandlerServer(ctx context.Context, mux *runtime. var stream runtime.ServerTransportStream ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req) + rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/ethereum.eth.v1alpha1.BeaconNodeValidator/ValidatorIndex") if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return @@ -665,7 +667,7 @@ func RegisterBeaconNodeValidatorHandlerServer(ctx context.Context, mux *runtime. var stream runtime.ServerTransportStream ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req) + rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/ethereum.eth.v1alpha1.BeaconNodeValidator/ValidatorStatus") if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return @@ -688,7 +690,7 @@ func RegisterBeaconNodeValidatorHandlerServer(ctx context.Context, mux *runtime. var stream runtime.ServerTransportStream ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req) + rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/ethereum.eth.v1alpha1.BeaconNodeValidator/MultipleValidatorStatus") if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return @@ -711,7 +713,7 @@ func RegisterBeaconNodeValidatorHandlerServer(ctx context.Context, mux *runtime. var stream runtime.ServerTransportStream ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req) + rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/ethereum.eth.v1alpha1.BeaconNodeValidator/GetBlock") if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return @@ -734,7 +736,7 @@ func RegisterBeaconNodeValidatorHandlerServer(ctx context.Context, mux *runtime. var stream runtime.ServerTransportStream ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req) + rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/ethereum.eth.v1alpha1.BeaconNodeValidator/ProposeBlock") if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return @@ -757,7 +759,7 @@ func RegisterBeaconNodeValidatorHandlerServer(ctx context.Context, mux *runtime. var stream runtime.ServerTransportStream ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req) + rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/ethereum.eth.v1alpha1.BeaconNodeValidator/GetAttestationData") if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return @@ -780,7 +782,7 @@ func RegisterBeaconNodeValidatorHandlerServer(ctx context.Context, mux *runtime. var stream runtime.ServerTransportStream ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req) + rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/ethereum.eth.v1alpha1.BeaconNodeValidator/ProposeAttestation") if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return @@ -803,7 +805,7 @@ func RegisterBeaconNodeValidatorHandlerServer(ctx context.Context, mux *runtime. var stream runtime.ServerTransportStream ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req) + rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/ethereum.eth.v1alpha1.BeaconNodeValidator/SubmitAggregateSelectionProof") if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return @@ -826,7 +828,7 @@ func RegisterBeaconNodeValidatorHandlerServer(ctx context.Context, mux *runtime. var stream runtime.ServerTransportStream ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req) + rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/ethereum.eth.v1alpha1.BeaconNodeValidator/SubmitSignedAggregateSelectionProof") if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return @@ -849,7 +851,7 @@ func RegisterBeaconNodeValidatorHandlerServer(ctx context.Context, mux *runtime. var stream runtime.ServerTransportStream ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req) + rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/ethereum.eth.v1alpha1.BeaconNodeValidator/ProposeExit") if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return @@ -872,7 +874,7 @@ func RegisterBeaconNodeValidatorHandlerServer(ctx context.Context, mux *runtime. var stream runtime.ServerTransportStream ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req) + rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/ethereum.eth.v1alpha1.BeaconNodeValidator/SubscribeCommitteeSubnets") if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return @@ -934,7 +936,7 @@ func RegisterBeaconNodeValidatorHandlerClient(ctx context.Context, mux *runtime. ctx, cancel := context.WithCancel(req.Context()) defer cancel() inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req) + rctx, err := runtime.AnnotateContext(ctx, mux, req, "/ethereum.eth.v1alpha1.BeaconNodeValidator/GetDuties") if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return @@ -954,7 +956,7 @@ func RegisterBeaconNodeValidatorHandlerClient(ctx context.Context, mux *runtime. ctx, cancel := context.WithCancel(req.Context()) defer cancel() inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req) + rctx, err := runtime.AnnotateContext(ctx, mux, req, "/ethereum.eth.v1alpha1.BeaconNodeValidator/StreamDuties") if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return @@ -974,7 +976,7 @@ func RegisterBeaconNodeValidatorHandlerClient(ctx context.Context, mux *runtime. ctx, cancel := context.WithCancel(req.Context()) defer cancel() inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req) + rctx, err := runtime.AnnotateContext(ctx, mux, req, "/ethereum.eth.v1alpha1.BeaconNodeValidator/DomainData") if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return @@ -994,7 +996,7 @@ func RegisterBeaconNodeValidatorHandlerClient(ctx context.Context, mux *runtime. ctx, cancel := context.WithCancel(req.Context()) defer cancel() inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req) + rctx, err := runtime.AnnotateContext(ctx, mux, req, "/ethereum.eth.v1alpha1.BeaconNodeValidator/WaitForChainStart") if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return @@ -1014,7 +1016,7 @@ func RegisterBeaconNodeValidatorHandlerClient(ctx context.Context, mux *runtime. ctx, cancel := context.WithCancel(req.Context()) defer cancel() inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req) + rctx, err := runtime.AnnotateContext(ctx, mux, req, "/ethereum.eth.v1alpha1.BeaconNodeValidator/WaitForActivation") if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return @@ -1034,7 +1036,7 @@ func RegisterBeaconNodeValidatorHandlerClient(ctx context.Context, mux *runtime. ctx, cancel := context.WithCancel(req.Context()) defer cancel() inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req) + rctx, err := runtime.AnnotateContext(ctx, mux, req, "/ethereum.eth.v1alpha1.BeaconNodeValidator/ValidatorIndex") if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return @@ -1054,7 +1056,7 @@ func RegisterBeaconNodeValidatorHandlerClient(ctx context.Context, mux *runtime. ctx, cancel := context.WithCancel(req.Context()) defer cancel() inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req) + rctx, err := runtime.AnnotateContext(ctx, mux, req, "/ethereum.eth.v1alpha1.BeaconNodeValidator/ValidatorStatus") if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return @@ -1074,7 +1076,7 @@ func RegisterBeaconNodeValidatorHandlerClient(ctx context.Context, mux *runtime. ctx, cancel := context.WithCancel(req.Context()) defer cancel() inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req) + rctx, err := runtime.AnnotateContext(ctx, mux, req, "/ethereum.eth.v1alpha1.BeaconNodeValidator/MultipleValidatorStatus") if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return @@ -1094,7 +1096,7 @@ func RegisterBeaconNodeValidatorHandlerClient(ctx context.Context, mux *runtime. ctx, cancel := context.WithCancel(req.Context()) defer cancel() inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req) + rctx, err := runtime.AnnotateContext(ctx, mux, req, "/ethereum.eth.v1alpha1.BeaconNodeValidator/GetBlock") if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return @@ -1114,7 +1116,7 @@ func RegisterBeaconNodeValidatorHandlerClient(ctx context.Context, mux *runtime. ctx, cancel := context.WithCancel(req.Context()) defer cancel() inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req) + rctx, err := runtime.AnnotateContext(ctx, mux, req, "/ethereum.eth.v1alpha1.BeaconNodeValidator/ProposeBlock") if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return @@ -1134,7 +1136,7 @@ func RegisterBeaconNodeValidatorHandlerClient(ctx context.Context, mux *runtime. ctx, cancel := context.WithCancel(req.Context()) defer cancel() inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req) + rctx, err := runtime.AnnotateContext(ctx, mux, req, "/ethereum.eth.v1alpha1.BeaconNodeValidator/GetAttestationData") if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return @@ -1154,7 +1156,7 @@ func RegisterBeaconNodeValidatorHandlerClient(ctx context.Context, mux *runtime. ctx, cancel := context.WithCancel(req.Context()) defer cancel() inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req) + rctx, err := runtime.AnnotateContext(ctx, mux, req, "/ethereum.eth.v1alpha1.BeaconNodeValidator/ProposeAttestation") if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return @@ -1174,7 +1176,7 @@ func RegisterBeaconNodeValidatorHandlerClient(ctx context.Context, mux *runtime. ctx, cancel := context.WithCancel(req.Context()) defer cancel() inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req) + rctx, err := runtime.AnnotateContext(ctx, mux, req, "/ethereum.eth.v1alpha1.BeaconNodeValidator/SubmitAggregateSelectionProof") if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return @@ -1194,7 +1196,7 @@ func RegisterBeaconNodeValidatorHandlerClient(ctx context.Context, mux *runtime. ctx, cancel := context.WithCancel(req.Context()) defer cancel() inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req) + rctx, err := runtime.AnnotateContext(ctx, mux, req, "/ethereum.eth.v1alpha1.BeaconNodeValidator/SubmitSignedAggregateSelectionProof") if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return @@ -1214,7 +1216,7 @@ func RegisterBeaconNodeValidatorHandlerClient(ctx context.Context, mux *runtime. ctx, cancel := context.WithCancel(req.Context()) defer cancel() inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req) + rctx, err := runtime.AnnotateContext(ctx, mux, req, "/ethereum.eth.v1alpha1.BeaconNodeValidator/ProposeExit") if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return @@ -1234,7 +1236,7 @@ func RegisterBeaconNodeValidatorHandlerClient(ctx context.Context, mux *runtime. ctx, cancel := context.WithCancel(req.Context()) defer cancel() inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req) + rctx, err := runtime.AnnotateContext(ctx, mux, req, "/ethereum.eth.v1alpha1.BeaconNodeValidator/SubscribeCommitteeSubnets") if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return @@ -1254,37 +1256,37 @@ func RegisterBeaconNodeValidatorHandlerClient(ctx context.Context, mux *runtime. } var ( - pattern_BeaconNodeValidator_GetDuties_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"eth", "v1alpha1", "validator", "duties"}, "", runtime.AssumeColonVerbOpt(true))) + pattern_BeaconNodeValidator_GetDuties_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"eth", "v1alpha1", "validator", "duties"}, "")) - pattern_BeaconNodeValidator_StreamDuties_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 2, 4}, []string{"eth", "v1alpha1", "validator", "duties", "stream"}, "", runtime.AssumeColonVerbOpt(true))) + pattern_BeaconNodeValidator_StreamDuties_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 2, 4}, []string{"eth", "v1alpha1", "validator", "duties", "stream"}, "")) - pattern_BeaconNodeValidator_DomainData_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"eth", "v1alpha1", "validator", "domain"}, "", runtime.AssumeColonVerbOpt(true))) + pattern_BeaconNodeValidator_DomainData_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"eth", "v1alpha1", "validator", "domain"}, "")) - pattern_BeaconNodeValidator_WaitForChainStart_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 2, 4}, []string{"eth", "v1alpha1", "validator", "chainstart", "stream"}, "", runtime.AssumeColonVerbOpt(true))) + pattern_BeaconNodeValidator_WaitForChainStart_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 2, 4}, []string{"eth", "v1alpha1", "validator", "chainstart", "stream"}, "")) - pattern_BeaconNodeValidator_WaitForActivation_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 2, 4}, []string{"eth", "v1alpha1", "validator", "activation", "stream"}, "", runtime.AssumeColonVerbOpt(true))) + pattern_BeaconNodeValidator_WaitForActivation_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 2, 4}, []string{"eth", "v1alpha1", "validator", "activation", "stream"}, "")) - pattern_BeaconNodeValidator_ValidatorIndex_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"eth", "v1alpha1", "validator", "index"}, "", runtime.AssumeColonVerbOpt(true))) + pattern_BeaconNodeValidator_ValidatorIndex_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"eth", "v1alpha1", "validator", "index"}, "")) - pattern_BeaconNodeValidator_ValidatorStatus_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"eth", "v1alpha1", "validator", "status"}, "", runtime.AssumeColonVerbOpt(true))) + pattern_BeaconNodeValidator_ValidatorStatus_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"eth", "v1alpha1", "validator", "status"}, "")) - pattern_BeaconNodeValidator_MultipleValidatorStatus_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"eth", "v1alpha1", "validator", "statuses"}, "", runtime.AssumeColonVerbOpt(true))) + pattern_BeaconNodeValidator_MultipleValidatorStatus_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"eth", "v1alpha1", "validator", "statuses"}, "")) - pattern_BeaconNodeValidator_GetBlock_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"eth", "v1alpha1", "validator", "block"}, "", runtime.AssumeColonVerbOpt(true))) + pattern_BeaconNodeValidator_GetBlock_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"eth", "v1alpha1", "validator", "block"}, "")) - pattern_BeaconNodeValidator_ProposeBlock_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"eth", "v1alpha1", "validator", "block"}, "", runtime.AssumeColonVerbOpt(true))) + pattern_BeaconNodeValidator_ProposeBlock_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"eth", "v1alpha1", "validator", "block"}, "")) - pattern_BeaconNodeValidator_GetAttestationData_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"eth", "v1alpha1", "validator", "attestation"}, "", runtime.AssumeColonVerbOpt(true))) + pattern_BeaconNodeValidator_GetAttestationData_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"eth", "v1alpha1", "validator", "attestation"}, "")) - pattern_BeaconNodeValidator_ProposeAttestation_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"eth", "v1alpha1", "validator", "attestation"}, "", runtime.AssumeColonVerbOpt(true))) + pattern_BeaconNodeValidator_ProposeAttestation_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"eth", "v1alpha1", "validator", "attestation"}, "")) - pattern_BeaconNodeValidator_SubmitAggregateSelectionProof_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"eth", "v1alpha1", "validator", "aggregate"}, "", runtime.AssumeColonVerbOpt(true))) + pattern_BeaconNodeValidator_SubmitAggregateSelectionProof_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"eth", "v1alpha1", "validator", "aggregate"}, "")) - pattern_BeaconNodeValidator_SubmitSignedAggregateSelectionProof_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"eth", "v1alpha1", "validator", "aggregate"}, "", runtime.AssumeColonVerbOpt(true))) + pattern_BeaconNodeValidator_SubmitSignedAggregateSelectionProof_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"eth", "v1alpha1", "validator", "aggregate"}, "")) - pattern_BeaconNodeValidator_ProposeExit_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"eth", "v1alpha1", "validator", "exit"}, "", runtime.AssumeColonVerbOpt(true))) + pattern_BeaconNodeValidator_ProposeExit_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"eth", "v1alpha1", "validator", "exit"}, "")) - pattern_BeaconNodeValidator_SubscribeCommitteeSubnets_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 2, 4}, []string{"eth", "v1alpha1", "validator", "subnet", "subscribe"}, "", runtime.AssumeColonVerbOpt(true))) + pattern_BeaconNodeValidator_SubscribeCommitteeSubnets_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 2, 4}, []string{"eth", "v1alpha1", "validator", "subnet", "subscribe"}, "")) ) var ( diff --git a/eth/v1alpha1/validator.proto b/eth/v1alpha1/validator.proto index b1d4bc54..451f56e5 100644 --- a/eth/v1alpha1/validator.proto +++ b/eth/v1alpha1/validator.proto @@ -15,9 +15,10 @@ syntax = "proto3"; package ethereum.eth.v1alpha1; -import "github.com/gogo/protobuf/gogoproto/gogo.proto"; import "google/api/annotations.proto"; import "google/protobuf/empty.proto"; + +import "eth/ext/options.proto"; import "eth/v1alpha1/beacon_block.proto"; import "eth/v1alpha1/attestation.proto"; @@ -106,17 +107,17 @@ service BeaconNodeValidator { }; } - // ValidatorStatus returns a validator's status based on the current epoch. - // The request can specify either a validator's public key or validator index. - // - // The status response can be one of the following: - // DEPOSITED - validator's deposit has been recognized by Ethereum 1, not yet recognized by Ethereum 2. - // PENDING - validator is in Ethereum 2's activation queue. - // ACTIVE - validator is active. - // EXITING - validator has initiated an an exit request, or has dropped below the ejection balance and is being kicked out. - // EXITED - validator is no longer validating. - // SLASHING - validator has been kicked out due to meeting a slashing condition. - // UNKNOWN_STATUS - validator does not have a known status in the network. + // ValidatorStatus returns a validator's status based on the current epoch. + // The request can specify either a validator's public key or validator index. + // + // The status response can be one of the following: + // DEPOSITED - validator's deposit has been recognized by Ethereum 1, not yet recognized by Ethereum 2. + // PENDING - validator is in Ethereum 2's activation queue. + // ACTIVE - validator is active. + // EXITING - validator has initiated an an exit request, or has dropped below the ejection balance and is being kicked out. + // EXITED - validator is no longer validating. + // SLASHING - validator has been kicked out due to meeting a slashing condition. + // UNKNOWN_STATUS - validator does not have a known status in the network. rpc ValidatorStatus(ValidatorStatusRequest) returns (ValidatorStatusResponse) { option (google.api.http) = { get: "/eth/v1alpha1/validator/status" @@ -223,7 +224,7 @@ service BeaconNodeValidator { message DomainRequest { // The epoch for which the domain is being requested. - uint64 epoch = 1 [(gogoproto.casttype) = "github.com/prysmaticlabs/eth2-types.Epoch"]; + uint64 epoch = 1 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/eth2-types.Epoch"]; // The bytes domain specified by the validator. bytes domain = 2; @@ -237,7 +238,7 @@ message DomainResponse { message ValidatorActivationRequest { // A list of 48 byte validator public keys. - repeated bytes public_keys = 1 [(gogoproto.moretags) = "ssz-size:\"?,48\""]; + repeated bytes public_keys = 1 [(ethereum.eth.ext.ssz_size) = "?,48"]; } message ValidatorActivationResponse { @@ -249,7 +250,7 @@ message ValidatorActivationResponse { ValidatorStatusResponse status = 2; // The validators index in the beacon state. - uint64 index = 3 [(gogoproto.casttype) = "github.com/prysmaticlabs/eth2-types.ValidatorIndex"]; + uint64 index = 3 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/eth2-types.ValidatorIndex"]; } // A list of validator statuses mapped 1-to-1 with the public keys // in the request. @@ -264,7 +265,7 @@ message ChainStartResponse { uint64 genesis_time = 2; // 32 byte hash tree root of the genesis validator set. - bytes genesis_validators_root = 3 [(gogoproto.moretags) = "ssz-size:\"32\""]; + bytes genesis_validators_root = 3 [(ethereum.eth.ext.ssz_size) = "32"]; } message SyncedResponse { @@ -277,29 +278,29 @@ message SyncedResponse { message ValidatorIndexRequest { // A 48 byte validator public key. - bytes public_key = 1 [(gogoproto.moretags) = "ssz-size:\"48\""]; + bytes public_key = 1 [(ethereum.eth.ext.ssz_size) = "48"]; } message ValidatorIndexResponse { // The validator's index in the beacon chain state's validator registry. - uint64 index = 1 [(gogoproto.casttype) = "github.com/prysmaticlabs/eth2-types.ValidatorIndex"]; + uint64 index = 1 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/eth2-types.ValidatorIndex"]; } message ValidatorStatusRequest { // A 48 byte validator public key. - bytes public_key = 1 [(gogoproto.moretags) = "ssz-size:\"48\""]; + bytes public_key = 1 [(ethereum.eth.ext.ssz_size) = "48"]; } enum ValidatorStatus { - UNKNOWN_STATUS = 0; - DEPOSITED = 1; - PENDING = 2; - ACTIVE = 3; - EXITING = 4; - SLASHING = 5; - EXITED = 6; - INVALID = 7; - PARTIALLY_DEPOSITED = 8; + UNKNOWN_STATUS = 0; + DEPOSITED = 1; + PENDING = 2; + ACTIVE = 3; + EXITING = 4; + SLASHING = 5; + EXITED = 6; + INVALID = 7; + PARTIALLY_DEPOSITED = 8; } message ValidatorStatusResponse { @@ -307,16 +308,16 @@ message ValidatorStatusResponse { ValidatorStatus status = 1; // The block number of the Ethereum proof-of-work chain - // where the deposit for the validator was included. + // where the deposit for the validator was included. uint64 eth1_deposit_block_number = 2; // The slot in the beacon chain in which the validator's // deposit was included in a block. - uint64 deposit_inclusion_slot = 3 [(gogoproto.casttype) = "github.com/prysmaticlabs/eth2-types.Slot"]; + uint64 deposit_inclusion_slot = 3 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/eth2-types.Slot"]; // The epoch in the beacon chain in which the validator // is determined as active. - uint64 activation_epoch = 4 [(gogoproto.casttype) = "github.com/prysmaticlabs/eth2-types.Epoch"]; + uint64 activation_epoch = 4 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/eth2-types.Epoch"]; // The position in the activation queue of pending validators. uint64 position_in_activation_queue = 5; @@ -324,26 +325,26 @@ message ValidatorStatusResponse { message MultipleValidatorStatusRequest { // A list of 48 byte validator public keys. - repeated bytes public_keys = 1 [(gogoproto.moretags) = "ssz-size:\"?,48\""]; + repeated bytes public_keys = 1 [(ethereum.eth.ext.ssz_size) = "?,48"]; // A list of validator indices. repeated int64 indices = 2; } message MultipleValidatorStatusResponse { // A list of 48 byte validator public keys. - repeated bytes public_keys = 1 [(gogoproto.moretags) = "ssz-size:\"?,48\""]; + repeated bytes public_keys = 1 [(ethereum.eth.ext.ssz_size) = "?,48"]; // A list of ValidatorStatusResponses mapped 1-to-1 with the public keys. repeated ValidatorStatusResponse statuses = 2; // A list of validator indices. - repeated uint64 indices = 3 [(gogoproto.casttype) = "github.com/prysmaticlabs/eth2-types.ValidatorIndex"]; + repeated uint64 indices = 3 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/eth2-types.ValidatorIndex"]; } message DutiesRequest { // Epoch at which validators should perform their duties. - uint64 epoch = 1 [(gogoproto.casttype) = "github.com/prysmaticlabs/eth2-types.Epoch"]; + uint64 epoch = 1 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/eth2-types.Epoch"]; // Array of byte encoded BLS public keys. - repeated bytes public_keys = 2 [(gogoproto.moretags) = "ssz-size:\"?,48\""]; + repeated bytes public_keys = 2 [(ethereum.eth.ext.ssz_size) = "?,48"]; } message DutiesResponse { @@ -355,73 +356,73 @@ message DutiesResponse { message Duty { // The committee a validator is assigned to. - repeated uint64 committee = 1 [(gogoproto.casttype) = "github.com/prysmaticlabs/eth2-types.ValidatorIndex"]; + repeated uint64 committee = 1 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/eth2-types.ValidatorIndex"]; // The index into the committee where the validator belongs in. - uint64 committee_index = 2 [(gogoproto.casttype) = "github.com/prysmaticlabs/eth2-types.CommitteeIndex"]; + uint64 committee_index = 2 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/eth2-types.CommitteeIndex"]; // Slot at which a validator must attest. - uint64 attester_slot = 3 [(gogoproto.casttype) = "github.com/prysmaticlabs/eth2-types.Slot"]; + uint64 attester_slot = 3 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/eth2-types.Slot"]; // Slots at which a validator must propose a beacon chain block. - repeated uint64 proposer_slots = 4 [(gogoproto.casttype) = "github.com/prysmaticlabs/eth2-types.Slot"]; + repeated uint64 proposer_slots = 4 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/eth2-types.Slot"]; // 48 byte BLS public key for the validator who's assigned to perform a duty. - bytes public_key = 5 [(gogoproto.moretags) = "ssz-size:\"48\""]; + bytes public_key = 5 [(ethereum.eth.ext.ssz_size) = "48"]; // The current status of the validator assigned to perform the duty. ValidatorStatus status = 6; // The index of the validator in the beacon state. - uint64 validator_index = 7 [(gogoproto.casttype) = "github.com/prysmaticlabs/eth2-types.ValidatorIndex"]; + uint64 validator_index = 7 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/eth2-types.ValidatorIndex"]; } } message BlockRequest { // Slot for which the block should be proposed. - uint64 slot = 1 [(gogoproto.casttype) = "github.com/prysmaticlabs/eth2-types.Slot"]; + uint64 slot = 1 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/eth2-types.Slot"]; // Validator's 32 byte randao reveal secret of the current epoch. - bytes randao_reveal = 2 [(gogoproto.moretags) = "ssz-size:\"48\""]; + bytes randao_reveal = 2 [(ethereum.eth.ext.ssz_size) = "48"]; // Validator's 32 byte graffiti message for the new block. - bytes graffiti = 3 [(gogoproto.moretags) = "ssz-size:\"32\""]; + bytes graffiti = 3 [(ethereum.eth.ext.ssz_size) = "32"]; } message ProposeResponse { // The block root of the successfully proposed beacon block. - bytes block_root = 1 [(gogoproto.moretags) = "ssz-size:\"32\""]; + bytes block_root = 1 [(ethereum.eth.ext.ssz_size) = "32"]; } message ProposeExitResponse { // The root of the successfully proposed voluntary exit. - bytes exit_root = 1 [(gogoproto.moretags) = "ssz-size:\"32\""]; + bytes exit_root = 1 [(ethereum.eth.ext.ssz_size) = "32"]; } message AttestationDataRequest { // Slot for which the attestation should be created. - uint64 slot = 1 [(gogoproto.casttype) = "github.com/prysmaticlabs/eth2-types.Slot"]; + uint64 slot = 1 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/eth2-types.Slot"]; // Committee index the attestation should be created for. - uint64 committee_index = 2 [(gogoproto.casttype) = "github.com/prysmaticlabs/eth2-types.CommitteeIndex"]; + uint64 committee_index = 2 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/eth2-types.CommitteeIndex"]; } message AttestResponse { // The root of the attestation data successfully submitted to the beacon node. - bytes attestation_data_root = 1 [(gogoproto.moretags) = "ssz-size:\"32\""]; + bytes attestation_data_root = 1 [(ethereum.eth.ext.ssz_size) = "32"]; } message AggregateSelectionRequest { // Slot for which the aggregation request applies. - uint64 slot = 1 [(gogoproto.casttype) = "github.com/prysmaticlabs/eth2-types.Slot"]; + uint64 slot = 1 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/eth2-types.Slot"]; // Committee index of the validator at the given slot. - uint64 committee_index = 2 [(gogoproto.casttype) = "github.com/prysmaticlabs/eth2-types.CommitteeIndex"]; + uint64 committee_index = 2 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/eth2-types.CommitteeIndex"]; // 48 byte public key of the validator. - bytes public_key = 3 [(gogoproto.moretags) = "ssz-size:\"48\" spec-name:\"pubkey\""]; + bytes public_key = 3 [(ethereum.eth.ext.ssz_size) = "48", (ethereum.eth.ext.spec_name) = "pubkey"]; // 96 byte signature of the validator on the slot. This is used as proof that the validator is // an aggregator for the given slot. - bytes slot_signature = 4 [(gogoproto.moretags) = "ssz-size:\"96\""]; + bytes slot_signature = 4 [(ethereum.eth.ext.ssz_size) = "96"]; } message AggregateSelectionResponse { @@ -436,14 +437,14 @@ message SignedAggregateSubmitRequest { message SignedAggregateSubmitResponse { // The 32 byte hash tree root of the aggregated attestation data. - bytes attestation_data_root = 1 [(gogoproto.moretags) = "ssz-size:\"32\""]; + bytes attestation_data_root = 1 [(ethereum.eth.ext.ssz_size) = "32"]; } message CommitteeSubnetsSubscribeRequest { // A list of intended slots to subscribe. - repeated uint64 slots = 1 [(gogoproto.casttype) = "github.com/prysmaticlabs/eth2-types.Slot"]; + repeated uint64 slots = 1 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/eth2-types.Slot"]; // A list of intended committee ids to subscribe. It is mapped 1-to-1 with the slots - repeated uint64 committee_ids = 2 [(gogoproto.casttype) = "github.com/prysmaticlabs/eth2-types.CommitteeIndex"]; + repeated uint64 committee_ids = 2 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/eth2-types.CommitteeIndex"]; // Whether to subscribe as an aggregator or by default attester. // It is mapped 1-to-1 with the slots and committee ids. // Subscribe as an aggregator means to join the subnet. @@ -454,10 +455,10 @@ message CommitteeSubnetsSubscribeRequest { // An Ethereum 2.0 validator. message Validator { // 48 byte BLS public key used for the validator's activities. - bytes public_key = 1 [(gogoproto.moretags) = "ssz-size:\"48\" spec-name:\"pubkey\""]; + bytes public_key = 1 [(ethereum.eth.ext.ssz_size) = "48", (ethereum.eth.ext.spec_name) = "pubkey"]; // 32 byte hash of the withdrawal destination public key. - bytes withdrawal_credentials = 2 [(gogoproto.moretags) = "ssz-size:\"32\""]; + bytes withdrawal_credentials = 2 [(ethereum.eth.ext.ssz_size) = "32"]; // The validators current effective balance in gwei. uint64 effective_balance = 3; @@ -468,24 +469,24 @@ message Validator { // Epoch when the validator became eligible for activation. This field may // be zero if the validator was present in the Ethereum 2.0 genesis. This // field is FAR_FUTURE_EPOCH if the validator has not been activated. - uint64 activation_eligibility_epoch = 5 [(gogoproto.casttype) = "github.com/prysmaticlabs/eth2-types.Epoch"]; + uint64 activation_eligibility_epoch = 5 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/eth2-types.Epoch"]; // Epoch when the validator was activated. This field may be zero if the // validator was present in the Ethereum 2.0 genesis. This field is // FAR_FUTURE_EPOCH if the validator has not been activated. - uint64 activation_epoch = 6 [(gogoproto.casttype) = "github.com/prysmaticlabs/eth2-types.Epoch"]; + uint64 activation_epoch = 6 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/eth2-types.Epoch"]; // Epoch when the validator was exited. This field is FAR_FUTURE_EPOCH if // the validator has not exited. // FAR_FUTURE_EPOCH is a constant defined by the official Ethereum 2.0 specification: // https://github.com/ethereum/eth2.0-specs/blob/v0.9.2/specs/core/0_beacon-chain.md#constants - uint64 exit_epoch = 7 [(gogoproto.casttype) = "github.com/prysmaticlabs/eth2-types.Epoch"]; + uint64 exit_epoch = 7 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/eth2-types.Epoch"]; // Epoch when the validator is eligible to withdraw their funds. This field // is FAR_FUTURE_EPOCH if the validator has not exited. // FAR_FUTURE_EPOCH is a constant defined by the official Ethereum 2.0 specification: // https://github.com/ethereum/eth2.0-specs/blob/v0.9.2/specs/core/0_beacon-chain.md#constants - uint64 withdrawable_epoch = 8 [(gogoproto.casttype) = "github.com/prysmaticlabs/eth2-types.Epoch"]; + uint64 withdrawable_epoch = 8 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/eth2-types.Epoch"]; } // ValidatorParticipation stores participation metrics during a given epoch. @@ -523,10 +524,10 @@ message ValidatorInfo { bytes public_key = 1; // The validator's index in the beacon state. - uint64 index = 2 [(gogoproto.casttype) = "github.com/prysmaticlabs/eth2-types.ValidatorIndex"]; + uint64 index = 2 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/eth2-types.ValidatorIndex"]; // The epoch for which the information pertains. - uint64 epoch = 3 [(gogoproto.casttype) = "github.com/prysmaticlabs/eth2-types.Epoch"]; + uint64 epoch = 3 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/eth2-types.Epoch"]; // The validator's current status. ValidatorStatus status = 4; diff --git a/eth/v1alpha1_gateway/BUILD.bazel b/eth/v1alpha1_gateway/BUILD.bazel deleted file mode 100644 index d11bcca8..00000000 --- a/eth/v1alpha1_gateway/BUILD.bazel +++ /dev/null @@ -1 +0,0 @@ -# gazelle:ignore \ No newline at end of file diff --git a/eth/v1alpha1_gateway/attestation.pb.go b/eth/v1alpha1_gateway/attestation.pb.go deleted file mode 100755 index ab2c1355..00000000 --- a/eth/v1alpha1_gateway/attestation.pb.go +++ /dev/null @@ -1,557 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.22.0 -// protoc v3.11.4 -// source: eth/v1alpha1/attestation.proto - -package eth - -import ( - reflect "reflect" - sync "sync" - - _ "github.com/gogo/protobuf/gogoproto" - proto "github.com/golang/protobuf/proto" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" -) - -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 that a sufficiently up-to-date version -// of the legacy proto package is being used. -const _ = proto.ProtoPackageIsVersion4 - -type Attestation struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - AggregationBits []byte `protobuf:"bytes,1,opt,name=aggregation_bits,json=aggregationBits,proto3" json:"aggregation_bits,omitempty"` - Data *AttestationData `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` - Signature []byte `protobuf:"bytes,3,opt,name=signature,proto3" json:"signature,omitempty"` -} - -func (x *Attestation) Reset() { - *x = Attestation{} - if protoimpl.UnsafeEnabled { - mi := &file_eth_v1alpha1_attestation_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *Attestation) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Attestation) ProtoMessage() {} - -func (x *Attestation) ProtoReflect() protoreflect.Message { - mi := &file_eth_v1alpha1_attestation_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 Attestation.ProtoReflect.Descriptor instead. -func (*Attestation) Descriptor() ([]byte, []int) { - return file_eth_v1alpha1_attestation_proto_rawDescGZIP(), []int{0} -} - -func (x *Attestation) GetAggregationBits() []byte { - if x != nil { - return x.AggregationBits - } - return nil -} - -func (x *Attestation) GetData() *AttestationData { - if x != nil { - return x.Data - } - return nil -} - -func (x *Attestation) GetSignature() []byte { - if x != nil { - return x.Signature - } - return nil -} - -type AggregateAttestationAndProof struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - AggregatorIndex uint64 `protobuf:"varint,1,opt,name=aggregator_index,json=aggregatorIndex,proto3" json:"aggregator_index,omitempty"` - Aggregate *Attestation `protobuf:"bytes,3,opt,name=aggregate,proto3" json:"aggregate,omitempty"` - SelectionProof []byte `protobuf:"bytes,2,opt,name=selection_proof,json=selectionProof,proto3" json:"selection_proof,omitempty"` -} - -func (x *AggregateAttestationAndProof) Reset() { - *x = AggregateAttestationAndProof{} - if protoimpl.UnsafeEnabled { - mi := &file_eth_v1alpha1_attestation_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *AggregateAttestationAndProof) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*AggregateAttestationAndProof) ProtoMessage() {} - -func (x *AggregateAttestationAndProof) ProtoReflect() protoreflect.Message { - mi := &file_eth_v1alpha1_attestation_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 AggregateAttestationAndProof.ProtoReflect.Descriptor instead. -func (*AggregateAttestationAndProof) Descriptor() ([]byte, []int) { - return file_eth_v1alpha1_attestation_proto_rawDescGZIP(), []int{1} -} - -func (x *AggregateAttestationAndProof) GetAggregatorIndex() uint64 { - if x != nil { - return x.AggregatorIndex - } - return 0 -} - -func (x *AggregateAttestationAndProof) GetAggregate() *Attestation { - if x != nil { - return x.Aggregate - } - return nil -} - -func (x *AggregateAttestationAndProof) GetSelectionProof() []byte { - if x != nil { - return x.SelectionProof - } - return nil -} - -type SignedAggregateAttestationAndProof struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Message *AggregateAttestationAndProof `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"` - Signature []byte `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"` -} - -func (x *SignedAggregateAttestationAndProof) Reset() { - *x = SignedAggregateAttestationAndProof{} - if protoimpl.UnsafeEnabled { - mi := &file_eth_v1alpha1_attestation_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SignedAggregateAttestationAndProof) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SignedAggregateAttestationAndProof) ProtoMessage() {} - -func (x *SignedAggregateAttestationAndProof) ProtoReflect() protoreflect.Message { - mi := &file_eth_v1alpha1_attestation_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 SignedAggregateAttestationAndProof.ProtoReflect.Descriptor instead. -func (*SignedAggregateAttestationAndProof) Descriptor() ([]byte, []int) { - return file_eth_v1alpha1_attestation_proto_rawDescGZIP(), []int{2} -} - -func (x *SignedAggregateAttestationAndProof) GetMessage() *AggregateAttestationAndProof { - if x != nil { - return x.Message - } - return nil -} - -func (x *SignedAggregateAttestationAndProof) GetSignature() []byte { - if x != nil { - return x.Signature - } - return nil -} - -type AttestationData struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Slot uint64 `protobuf:"varint,1,opt,name=slot,proto3" json:"slot,omitempty"` - CommitteeIndex uint64 `protobuf:"varint,2,opt,name=committee_index,json=committeeIndex,proto3" json:"committee_index,omitempty"` - BeaconBlockRoot []byte `protobuf:"bytes,3,opt,name=beacon_block_root,json=beaconBlockRoot,proto3" json:"beacon_block_root,omitempty"` - Source *Checkpoint `protobuf:"bytes,4,opt,name=source,proto3" json:"source,omitempty"` - Target *Checkpoint `protobuf:"bytes,5,opt,name=target,proto3" json:"target,omitempty"` -} - -func (x *AttestationData) Reset() { - *x = AttestationData{} - if protoimpl.UnsafeEnabled { - mi := &file_eth_v1alpha1_attestation_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *AttestationData) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*AttestationData) ProtoMessage() {} - -func (x *AttestationData) ProtoReflect() protoreflect.Message { - mi := &file_eth_v1alpha1_attestation_proto_msgTypes[3] - 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 AttestationData.ProtoReflect.Descriptor instead. -func (*AttestationData) Descriptor() ([]byte, []int) { - return file_eth_v1alpha1_attestation_proto_rawDescGZIP(), []int{3} -} - -func (x *AttestationData) GetSlot() uint64 { - if x != nil { - return x.Slot - } - return 0 -} - -func (x *AttestationData) GetCommitteeIndex() uint64 { - if x != nil { - return x.CommitteeIndex - } - return 0 -} - -func (x *AttestationData) GetBeaconBlockRoot() []byte { - if x != nil { - return x.BeaconBlockRoot - } - return nil -} - -func (x *AttestationData) GetSource() *Checkpoint { - if x != nil { - return x.Source - } - return nil -} - -func (x *AttestationData) GetTarget() *Checkpoint { - if x != nil { - return x.Target - } - return nil -} - -type Checkpoint struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Epoch uint64 `protobuf:"varint,1,opt,name=epoch,proto3" json:"epoch,omitempty"` - Root []byte `protobuf:"bytes,2,opt,name=root,proto3" json:"root,omitempty"` -} - -func (x *Checkpoint) Reset() { - *x = Checkpoint{} - if protoimpl.UnsafeEnabled { - mi := &file_eth_v1alpha1_attestation_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *Checkpoint) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Checkpoint) ProtoMessage() {} - -func (x *Checkpoint) ProtoReflect() protoreflect.Message { - mi := &file_eth_v1alpha1_attestation_proto_msgTypes[4] - 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 Checkpoint.ProtoReflect.Descriptor instead. -func (*Checkpoint) Descriptor() ([]byte, []int) { - return file_eth_v1alpha1_attestation_proto_rawDescGZIP(), []int{4} -} - -func (x *Checkpoint) GetEpoch() uint64 { - if x != nil { - return x.Epoch - } - return 0 -} - -func (x *Checkpoint) GetRoot() []byte { - if x != nil { - return x.Root - } - return nil -} - -var File_eth_v1alpha1_attestation_proto protoreflect.FileDescriptor - -var file_eth_v1alpha1_attestation_proto_rawDesc = []byte{ - 0x0a, 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, - 0x12, 0x15, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, - 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x1a, 0x2d, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, - 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x67, 0x6f, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, - 0x66, 0x2f, 0x67, 0x6f, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x67, 0x6f, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xe9, 0x01, 0x0a, 0x0b, 0x41, 0x74, 0x74, 0x65, 0x73, - 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x6d, 0x0a, 0x10, 0x61, 0x67, 0x67, 0x72, 0x65, 0x67, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x62, 0x69, 0x74, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, - 0x42, 0x42, 0xf2, 0xde, 0x1f, 0x0e, 0x73, 0x73, 0x7a, 0x2d, 0x6d, 0x61, 0x78, 0x3a, 0x22, 0x32, - 0x30, 0x34, 0x38, 0x22, 0xfa, 0xde, 0x1f, 0x2c, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, - 0x6f, 0x6d, 0x2f, 0x70, 0x72, 0x79, 0x73, 0x6d, 0x61, 0x74, 0x69, 0x63, 0x6c, 0x61, 0x62, 0x73, - 0x2f, 0x67, 0x6f, 0x2d, 0x62, 0x69, 0x74, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x2e, 0x42, 0x69, 0x74, - 0x6c, 0x69, 0x73, 0x74, 0x52, 0x0f, 0x61, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x42, 0x69, 0x74, 0x73, 0x12, 0x3a, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x02, 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, 0x52, 0x04, 0x64, 0x61, 0x74, - 0x61, 0x12, 0x2f, 0x0a, 0x09, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x18, 0x03, - 0x20, 0x01, 0x28, 0x0c, 0x42, 0x11, 0xf2, 0xde, 0x1f, 0x0d, 0x73, 0x73, 0x7a, 0x2d, 0x73, 0x69, - 0x7a, 0x65, 0x3a, 0x22, 0x39, 0x36, 0x22, 0x52, 0x09, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, - 0x72, 0x65, 0x22, 0xff, 0x01, 0x0a, 0x1c, 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, 0x12, 0x61, 0x0a, 0x10, 0x61, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x6f, - 0x72, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x42, 0x36, 0xfa, - 0xde, 0x1f, 0x32, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x72, - 0x79, 0x73, 0x6d, 0x61, 0x74, 0x69, 0x63, 0x6c, 0x61, 0x62, 0x73, 0x2f, 0x65, 0x74, 0x68, 0x32, - 0x2d, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, - 0x49, 0x6e, 0x64, 0x65, 0x78, 0x52, 0x0f, 0x61, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x6f, - 0x72, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x40, 0x0a, 0x09, 0x61, 0x67, 0x67, 0x72, 0x65, 0x67, - 0x61, 0x74, 0x65, 0x18, 0x03, 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, 0x41, 0x74, 0x74, 0x65, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x09, 0x61, - 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x65, 0x12, 0x3a, 0x0a, 0x0f, 0x73, 0x65, 0x6c, 0x65, - 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x0c, 0x42, 0x11, 0xf2, 0xde, 0x1f, 0x0d, 0x73, 0x73, 0x7a, 0x2d, 0x73, 0x69, 0x7a, 0x65, 0x3a, - 0x22, 0x39, 0x36, 0x22, 0x52, 0x0e, 0x73, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x50, - 0x72, 0x6f, 0x6f, 0x66, 0x22, 0xa4, 0x01, 0x0a, 0x22, 0x53, 0x69, 0x67, 0x6e, 0x65, 0x64, 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, 0x12, 0x4d, 0x0a, 0x07, 0x6d, - 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x01, 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, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x2f, 0x0a, 0x09, 0x73, 0x69, - 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x42, 0x11, 0xf2, - 0xde, 0x1f, 0x0d, 0x73, 0x73, 0x7a, 0x2d, 0x73, 0x69, 0x7a, 0x65, 0x3a, 0x22, 0x39, 0x36, 0x22, - 0x52, 0x09, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x22, 0xe9, 0x02, 0x0a, 0x0f, - 0x41, 0x74, 0x74, 0x65, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x61, 0x74, 0x61, 0x12, - 0x40, 0x0a, 0x04, 0x73, 0x6c, 0x6f, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x42, 0x2c, 0xfa, - 0xde, 0x1f, 0x28, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x72, - 0x79, 0x73, 0x6d, 0x61, 0x74, 0x69, 0x63, 0x6c, 0x61, 0x62, 0x73, 0x2f, 0x65, 0x74, 0x68, 0x32, - 0x2d, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x53, 0x6c, 0x6f, 0x74, 0x52, 0x04, 0x73, 0x6c, 0x6f, - 0x74, 0x12, 0x5f, 0x0a, 0x0f, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x74, 0x65, 0x65, 0x5f, 0x69, - 0x6e, 0x64, 0x65, 0x78, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x42, 0x36, 0xfa, 0xde, 0x1f, 0x32, - 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x72, 0x79, 0x73, 0x6d, - 0x61, 0x74, 0x69, 0x63, 0x6c, 0x61, 0x62, 0x73, 0x2f, 0x65, 0x74, 0x68, 0x32, 0x2d, 0x74, 0x79, - 0x70, 0x65, 0x73, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x74, 0x65, 0x65, 0x49, 0x6e, 0x64, - 0x65, 0x78, 0x52, 0x0e, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x74, 0x65, 0x65, 0x49, 0x6e, 0x64, - 0x65, 0x78, 0x12, 0x3d, 0x0a, 0x11, 0x62, 0x65, 0x61, 0x63, 0x6f, 0x6e, 0x5f, 0x62, 0x6c, 0x6f, - 0x63, 0x6b, 0x5f, 0x72, 0x6f, 0x6f, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x42, 0x11, 0xf2, - 0xde, 0x1f, 0x0d, 0x73, 0x73, 0x7a, 0x2d, 0x73, 0x69, 0x7a, 0x65, 0x3a, 0x22, 0x33, 0x32, 0x22, - 0x52, 0x0f, 0x62, 0x65, 0x61, 0x63, 0x6f, 0x6e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x6f, 0x6f, - 0x74, 0x12, 0x39, 0x0a, 0x06, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x21, 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, - 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x70, - 0x6f, 0x69, 0x6e, 0x74, 0x52, 0x06, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x39, 0x0a, 0x06, - 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x65, - 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x61, 0x6c, - 0x70, 0x68, 0x61, 0x31, 0x2e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x52, - 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x22, 0x78, 0x0a, 0x0a, 0x43, 0x68, 0x65, 0x63, 0x6b, - 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x12, 0x43, 0x0a, 0x05, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x04, 0x42, 0x2d, 0xfa, 0xde, 0x1f, 0x29, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, - 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x72, 0x79, 0x73, 0x6d, 0x61, 0x74, 0x69, 0x63, 0x6c, 0x61, - 0x62, 0x73, 0x2f, 0x65, 0x74, 0x68, 0x32, 0x2d, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x45, 0x70, - 0x6f, 0x63, 0x68, 0x52, 0x05, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x12, 0x25, 0x0a, 0x04, 0x72, 0x6f, - 0x6f, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x42, 0x11, 0xf2, 0xde, 0x1f, 0x0d, 0x73, 0x73, - 0x7a, 0x2d, 0x73, 0x69, 0x7a, 0x65, 0x3a, 0x22, 0x33, 0x32, 0x22, 0x52, 0x04, 0x72, 0x6f, 0x6f, - 0x74, 0x42, 0x97, 0x01, 0x0a, 0x19, 0x6f, 0x72, 0x67, 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, - 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x42, - 0x10, 0x41, 0x74, 0x74, 0x65, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x6f, 0x74, - 0x6f, 0x50, 0x01, 0x5a, 0x36, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, - 0x70, 0x72, 0x79, 0x73, 0x6d, 0x61, 0x74, 0x69, 0x63, 0x6c, 0x61, 0x62, 0x73, 0x2f, 0x65, 0x74, - 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x65, 0x74, 0x68, 0x2f, 0x76, - 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x3b, 0x65, 0x74, 0x68, 0xaa, 0x02, 0x15, 0x45, 0x74, - 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x45, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, - 0x68, 0x61, 0x31, 0xca, 0x02, 0x15, 0x45, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x5c, 0x45, - 0x74, 0x68, 0x5c, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x33, -} - -var ( - file_eth_v1alpha1_attestation_proto_rawDescOnce sync.Once - file_eth_v1alpha1_attestation_proto_rawDescData = file_eth_v1alpha1_attestation_proto_rawDesc -) - -func file_eth_v1alpha1_attestation_proto_rawDescGZIP() []byte { - file_eth_v1alpha1_attestation_proto_rawDescOnce.Do(func() { - file_eth_v1alpha1_attestation_proto_rawDescData = protoimpl.X.CompressGZIP(file_eth_v1alpha1_attestation_proto_rawDescData) - }) - return file_eth_v1alpha1_attestation_proto_rawDescData -} - -var file_eth_v1alpha1_attestation_proto_msgTypes = make([]protoimpl.MessageInfo, 5) -var file_eth_v1alpha1_attestation_proto_goTypes = []interface{}{ - (*Attestation)(nil), // 0: ethereum.eth.v1alpha1.Attestation - (*AggregateAttestationAndProof)(nil), // 1: ethereum.eth.v1alpha1.AggregateAttestationAndProof - (*SignedAggregateAttestationAndProof)(nil), // 2: ethereum.eth.v1alpha1.SignedAggregateAttestationAndProof - (*AttestationData)(nil), // 3: ethereum.eth.v1alpha1.AttestationData - (*Checkpoint)(nil), // 4: ethereum.eth.v1alpha1.Checkpoint -} -var file_eth_v1alpha1_attestation_proto_depIdxs = []int32{ - 3, // 0: ethereum.eth.v1alpha1.Attestation.data:type_name -> ethereum.eth.v1alpha1.AttestationData - 0, // 1: ethereum.eth.v1alpha1.AggregateAttestationAndProof.aggregate:type_name -> ethereum.eth.v1alpha1.Attestation - 1, // 2: ethereum.eth.v1alpha1.SignedAggregateAttestationAndProof.message:type_name -> ethereum.eth.v1alpha1.AggregateAttestationAndProof - 4, // 3: ethereum.eth.v1alpha1.AttestationData.source:type_name -> ethereum.eth.v1alpha1.Checkpoint - 4, // 4: ethereum.eth.v1alpha1.AttestationData.target:type_name -> ethereum.eth.v1alpha1.Checkpoint - 5, // [5:5] is the sub-list for method output_type - 5, // [5:5] 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 init() { file_eth_v1alpha1_attestation_proto_init() } -func file_eth_v1alpha1_attestation_proto_init() { - if File_eth_v1alpha1_attestation_proto != nil { - return - } - if !protoimpl.UnsafeEnabled { - file_eth_v1alpha1_attestation_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Attestation); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_eth_v1alpha1_attestation_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AggregateAttestationAndProof); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_eth_v1alpha1_attestation_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SignedAggregateAttestationAndProof); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_eth_v1alpha1_attestation_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AttestationData); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_eth_v1alpha1_attestation_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Checkpoint); 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_eth_v1alpha1_attestation_proto_rawDesc, - NumEnums: 0, - NumMessages: 5, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_eth_v1alpha1_attestation_proto_goTypes, - DependencyIndexes: file_eth_v1alpha1_attestation_proto_depIdxs, - MessageInfos: file_eth_v1alpha1_attestation_proto_msgTypes, - }.Build() - File_eth_v1alpha1_attestation_proto = out.File - file_eth_v1alpha1_attestation_proto_rawDesc = nil - file_eth_v1alpha1_attestation_proto_goTypes = nil - file_eth_v1alpha1_attestation_proto_depIdxs = nil -} diff --git a/eth/v1alpha1_gateway/beacon_block.pb.go b/eth/v1alpha1_gateway/beacon_block.pb.go deleted file mode 100755 index c9c04c4c..00000000 --- a/eth/v1alpha1_gateway/beacon_block.pb.go +++ /dev/null @@ -1,1318 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.22.0 -// protoc v3.11.4 -// source: eth/v1alpha1/beacon_block.proto - -package eth - -import ( - reflect "reflect" - sync "sync" - - _ "github.com/gogo/protobuf/gogoproto" - proto "github.com/golang/protobuf/proto" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" -) - -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 that a sufficiently up-to-date version -// of the legacy proto package is being used. -const _ = proto.ProtoPackageIsVersion4 - -type BeaconBlock struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Slot uint64 `protobuf:"varint,1,opt,name=slot,proto3" json:"slot,omitempty"` - ProposerIndex uint64 `protobuf:"varint,2,opt,name=proposer_index,json=proposerIndex,proto3" json:"proposer_index,omitempty"` - ParentRoot []byte `protobuf:"bytes,3,opt,name=parent_root,json=parentRoot,proto3" json:"parent_root,omitempty"` - StateRoot []byte `protobuf:"bytes,4,opt,name=state_root,json=stateRoot,proto3" json:"state_root,omitempty"` - Body *BeaconBlockBody `protobuf:"bytes,5,opt,name=body,proto3" json:"body,omitempty"` -} - -func (x *BeaconBlock) Reset() { - *x = BeaconBlock{} - if protoimpl.UnsafeEnabled { - mi := &file_eth_v1alpha1_beacon_block_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *BeaconBlock) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*BeaconBlock) ProtoMessage() {} - -func (x *BeaconBlock) ProtoReflect() protoreflect.Message { - mi := &file_eth_v1alpha1_beacon_block_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 BeaconBlock.ProtoReflect.Descriptor instead. -func (*BeaconBlock) Descriptor() ([]byte, []int) { - return file_eth_v1alpha1_beacon_block_proto_rawDescGZIP(), []int{0} -} - -func (x *BeaconBlock) GetSlot() uint64 { - if x != nil { - return x.Slot - } - return 0 -} - -func (x *BeaconBlock) GetProposerIndex() uint64 { - if x != nil { - return x.ProposerIndex - } - return 0 -} - -func (x *BeaconBlock) GetParentRoot() []byte { - if x != nil { - return x.ParentRoot - } - return nil -} - -func (x *BeaconBlock) GetStateRoot() []byte { - if x != nil { - return x.StateRoot - } - return nil -} - -func (x *BeaconBlock) GetBody() *BeaconBlockBody { - if x != nil { - return x.Body - } - return nil -} - -type SignedBeaconBlock struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Block *BeaconBlock `protobuf:"bytes,1,opt,name=block,proto3" json:"block,omitempty"` - Signature []byte `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"` -} - -func (x *SignedBeaconBlock) Reset() { - *x = SignedBeaconBlock{} - if protoimpl.UnsafeEnabled { - mi := &file_eth_v1alpha1_beacon_block_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SignedBeaconBlock) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SignedBeaconBlock) ProtoMessage() {} - -func (x *SignedBeaconBlock) ProtoReflect() protoreflect.Message { - mi := &file_eth_v1alpha1_beacon_block_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 SignedBeaconBlock.ProtoReflect.Descriptor instead. -func (*SignedBeaconBlock) Descriptor() ([]byte, []int) { - return file_eth_v1alpha1_beacon_block_proto_rawDescGZIP(), []int{1} -} - -func (x *SignedBeaconBlock) GetBlock() *BeaconBlock { - if x != nil { - return x.Block - } - return nil -} - -func (x *SignedBeaconBlock) GetSignature() []byte { - if x != nil { - return x.Signature - } - return nil -} - -type BeaconBlockBody struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - RandaoReveal []byte `protobuf:"bytes,1,opt,name=randao_reveal,json=randaoReveal,proto3" json:"randao_reveal,omitempty"` - Eth1Data *Eth1Data `protobuf:"bytes,2,opt,name=eth1_data,json=eth1Data,proto3" json:"eth1_data,omitempty"` - Graffiti []byte `protobuf:"bytes,3,opt,name=graffiti,proto3" json:"graffiti,omitempty"` - ProposerSlashings []*ProposerSlashing `protobuf:"bytes,4,rep,name=proposer_slashings,json=proposerSlashings,proto3" json:"proposer_slashings,omitempty"` - AttesterSlashings []*AttesterSlashing `protobuf:"bytes,5,rep,name=attester_slashings,json=attesterSlashings,proto3" json:"attester_slashings,omitempty"` - Attestations []*Attestation `protobuf:"bytes,6,rep,name=attestations,proto3" json:"attestations,omitempty"` - Deposits []*Deposit `protobuf:"bytes,7,rep,name=deposits,proto3" json:"deposits,omitempty"` - VoluntaryExits []*SignedVoluntaryExit `protobuf:"bytes,8,rep,name=voluntary_exits,json=voluntaryExits,proto3" json:"voluntary_exits,omitempty"` -} - -func (x *BeaconBlockBody) Reset() { - *x = BeaconBlockBody{} - if protoimpl.UnsafeEnabled { - mi := &file_eth_v1alpha1_beacon_block_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *BeaconBlockBody) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*BeaconBlockBody) ProtoMessage() {} - -func (x *BeaconBlockBody) ProtoReflect() protoreflect.Message { - mi := &file_eth_v1alpha1_beacon_block_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 BeaconBlockBody.ProtoReflect.Descriptor instead. -func (*BeaconBlockBody) Descriptor() ([]byte, []int) { - return file_eth_v1alpha1_beacon_block_proto_rawDescGZIP(), []int{2} -} - -func (x *BeaconBlockBody) GetRandaoReveal() []byte { - if x != nil { - return x.RandaoReveal - } - return nil -} - -func (x *BeaconBlockBody) GetEth1Data() *Eth1Data { - if x != nil { - return x.Eth1Data - } - return nil -} - -func (x *BeaconBlockBody) GetGraffiti() []byte { - if x != nil { - return x.Graffiti - } - return nil -} - -func (x *BeaconBlockBody) GetProposerSlashings() []*ProposerSlashing { - if x != nil { - return x.ProposerSlashings - } - return nil -} - -func (x *BeaconBlockBody) GetAttesterSlashings() []*AttesterSlashing { - if x != nil { - return x.AttesterSlashings - } - return nil -} - -func (x *BeaconBlockBody) GetAttestations() []*Attestation { - if x != nil { - return x.Attestations - } - return nil -} - -func (x *BeaconBlockBody) GetDeposits() []*Deposit { - if x != nil { - return x.Deposits - } - return nil -} - -func (x *BeaconBlockBody) GetVoluntaryExits() []*SignedVoluntaryExit { - if x != nil { - return x.VoluntaryExits - } - return nil -} - -type ProposerSlashing struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Header_1 *SignedBeaconBlockHeader `protobuf:"bytes,2,opt,name=header_1,json=header1,proto3" json:"header_1,omitempty"` - Header_2 *SignedBeaconBlockHeader `protobuf:"bytes,3,opt,name=header_2,json=header2,proto3" json:"header_2,omitempty"` -} - -func (x *ProposerSlashing) Reset() { - *x = ProposerSlashing{} - if protoimpl.UnsafeEnabled { - mi := &file_eth_v1alpha1_beacon_block_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ProposerSlashing) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ProposerSlashing) ProtoMessage() {} - -func (x *ProposerSlashing) ProtoReflect() protoreflect.Message { - mi := &file_eth_v1alpha1_beacon_block_proto_msgTypes[3] - 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 ProposerSlashing.ProtoReflect.Descriptor instead. -func (*ProposerSlashing) Descriptor() ([]byte, []int) { - return file_eth_v1alpha1_beacon_block_proto_rawDescGZIP(), []int{3} -} - -func (x *ProposerSlashing) GetHeader_1() *SignedBeaconBlockHeader { - if x != nil { - return x.Header_1 - } - return nil -} - -func (x *ProposerSlashing) GetHeader_2() *SignedBeaconBlockHeader { - if x != nil { - return x.Header_2 - } - return nil -} - -type AttesterSlashing struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Attestation_1 *IndexedAttestation `protobuf:"bytes,1,opt,name=attestation_1,json=attestation1,proto3" json:"attestation_1,omitempty"` - Attestation_2 *IndexedAttestation `protobuf:"bytes,2,opt,name=attestation_2,json=attestation2,proto3" json:"attestation_2,omitempty"` -} - -func (x *AttesterSlashing) Reset() { - *x = AttesterSlashing{} - if protoimpl.UnsafeEnabled { - mi := &file_eth_v1alpha1_beacon_block_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *AttesterSlashing) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*AttesterSlashing) ProtoMessage() {} - -func (x *AttesterSlashing) ProtoReflect() protoreflect.Message { - mi := &file_eth_v1alpha1_beacon_block_proto_msgTypes[4] - 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 AttesterSlashing.ProtoReflect.Descriptor instead. -func (*AttesterSlashing) Descriptor() ([]byte, []int) { - return file_eth_v1alpha1_beacon_block_proto_rawDescGZIP(), []int{4} -} - -func (x *AttesterSlashing) GetAttestation_1() *IndexedAttestation { - if x != nil { - return x.Attestation_1 - } - return nil -} - -func (x *AttesterSlashing) GetAttestation_2() *IndexedAttestation { - if x != nil { - return x.Attestation_2 - } - return nil -} - -type Deposit struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Proof [][]byte `protobuf:"bytes,1,rep,name=proof,proto3" json:"proof,omitempty"` - Data *Deposit_Data `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` -} - -func (x *Deposit) Reset() { - *x = Deposit{} - if protoimpl.UnsafeEnabled { - mi := &file_eth_v1alpha1_beacon_block_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *Deposit) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Deposit) ProtoMessage() {} - -func (x *Deposit) ProtoReflect() protoreflect.Message { - mi := &file_eth_v1alpha1_beacon_block_proto_msgTypes[5] - 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 Deposit.ProtoReflect.Descriptor instead. -func (*Deposit) Descriptor() ([]byte, []int) { - return file_eth_v1alpha1_beacon_block_proto_rawDescGZIP(), []int{5} -} - -func (x *Deposit) GetProof() [][]byte { - if x != nil { - return x.Proof - } - return nil -} - -func (x *Deposit) GetData() *Deposit_Data { - if x != nil { - return x.Data - } - return nil -} - -type VoluntaryExit struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Epoch uint64 `protobuf:"varint,1,opt,name=epoch,proto3" json:"epoch,omitempty"` - ValidatorIndex uint64 `protobuf:"varint,2,opt,name=validator_index,json=validatorIndex,proto3" json:"validator_index,omitempty"` -} - -func (x *VoluntaryExit) Reset() { - *x = VoluntaryExit{} - if protoimpl.UnsafeEnabled { - mi := &file_eth_v1alpha1_beacon_block_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *VoluntaryExit) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*VoluntaryExit) ProtoMessage() {} - -func (x *VoluntaryExit) ProtoReflect() protoreflect.Message { - mi := &file_eth_v1alpha1_beacon_block_proto_msgTypes[6] - 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 VoluntaryExit.ProtoReflect.Descriptor instead. -func (*VoluntaryExit) Descriptor() ([]byte, []int) { - return file_eth_v1alpha1_beacon_block_proto_rawDescGZIP(), []int{6} -} - -func (x *VoluntaryExit) GetEpoch() uint64 { - if x != nil { - return x.Epoch - } - return 0 -} - -func (x *VoluntaryExit) GetValidatorIndex() uint64 { - if x != nil { - return x.ValidatorIndex - } - return 0 -} - -type SignedVoluntaryExit struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Exit *VoluntaryExit `protobuf:"bytes,1,opt,name=exit,proto3" json:"exit,omitempty"` - Signature []byte `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"` -} - -func (x *SignedVoluntaryExit) Reset() { - *x = SignedVoluntaryExit{} - if protoimpl.UnsafeEnabled { - mi := &file_eth_v1alpha1_beacon_block_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SignedVoluntaryExit) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SignedVoluntaryExit) ProtoMessage() {} - -func (x *SignedVoluntaryExit) ProtoReflect() protoreflect.Message { - mi := &file_eth_v1alpha1_beacon_block_proto_msgTypes[7] - 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 SignedVoluntaryExit.ProtoReflect.Descriptor instead. -func (*SignedVoluntaryExit) Descriptor() ([]byte, []int) { - return file_eth_v1alpha1_beacon_block_proto_rawDescGZIP(), []int{7} -} - -func (x *SignedVoluntaryExit) GetExit() *VoluntaryExit { - if x != nil { - return x.Exit - } - return nil -} - -func (x *SignedVoluntaryExit) GetSignature() []byte { - if x != nil { - return x.Signature - } - return nil -} - -type Eth1Data struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - DepositRoot []byte `protobuf:"bytes,1,opt,name=deposit_root,json=depositRoot,proto3" json:"deposit_root,omitempty"` - DepositCount uint64 `protobuf:"varint,2,opt,name=deposit_count,json=depositCount,proto3" json:"deposit_count,omitempty"` - BlockHash []byte `protobuf:"bytes,3,opt,name=block_hash,json=blockHash,proto3" json:"block_hash,omitempty"` -} - -func (x *Eth1Data) Reset() { - *x = Eth1Data{} - if protoimpl.UnsafeEnabled { - mi := &file_eth_v1alpha1_beacon_block_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *Eth1Data) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Eth1Data) ProtoMessage() {} - -func (x *Eth1Data) ProtoReflect() protoreflect.Message { - mi := &file_eth_v1alpha1_beacon_block_proto_msgTypes[8] - 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 Eth1Data.ProtoReflect.Descriptor instead. -func (*Eth1Data) Descriptor() ([]byte, []int) { - return file_eth_v1alpha1_beacon_block_proto_rawDescGZIP(), []int{8} -} - -func (x *Eth1Data) GetDepositRoot() []byte { - if x != nil { - return x.DepositRoot - } - return nil -} - -func (x *Eth1Data) GetDepositCount() uint64 { - if x != nil { - return x.DepositCount - } - return 0 -} - -func (x *Eth1Data) GetBlockHash() []byte { - if x != nil { - return x.BlockHash - } - return nil -} - -type BeaconBlockHeader struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Slot uint64 `protobuf:"varint,1,opt,name=slot,proto3" json:"slot,omitempty"` - ProposerIndex uint64 `protobuf:"varint,2,opt,name=proposer_index,json=proposerIndex,proto3" json:"proposer_index,omitempty"` - ParentRoot []byte `protobuf:"bytes,3,opt,name=parent_root,json=parentRoot,proto3" json:"parent_root,omitempty"` - StateRoot []byte `protobuf:"bytes,4,opt,name=state_root,json=stateRoot,proto3" json:"state_root,omitempty"` - BodyRoot []byte `protobuf:"bytes,5,opt,name=body_root,json=bodyRoot,proto3" json:"body_root,omitempty"` -} - -func (x *BeaconBlockHeader) Reset() { - *x = BeaconBlockHeader{} - if protoimpl.UnsafeEnabled { - mi := &file_eth_v1alpha1_beacon_block_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *BeaconBlockHeader) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*BeaconBlockHeader) ProtoMessage() {} - -func (x *BeaconBlockHeader) ProtoReflect() protoreflect.Message { - mi := &file_eth_v1alpha1_beacon_block_proto_msgTypes[9] - 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 BeaconBlockHeader.ProtoReflect.Descriptor instead. -func (*BeaconBlockHeader) Descriptor() ([]byte, []int) { - return file_eth_v1alpha1_beacon_block_proto_rawDescGZIP(), []int{9} -} - -func (x *BeaconBlockHeader) GetSlot() uint64 { - if x != nil { - return x.Slot - } - return 0 -} - -func (x *BeaconBlockHeader) GetProposerIndex() uint64 { - if x != nil { - return x.ProposerIndex - } - return 0 -} - -func (x *BeaconBlockHeader) GetParentRoot() []byte { - if x != nil { - return x.ParentRoot - } - return nil -} - -func (x *BeaconBlockHeader) GetStateRoot() []byte { - if x != nil { - return x.StateRoot - } - return nil -} - -func (x *BeaconBlockHeader) GetBodyRoot() []byte { - if x != nil { - return x.BodyRoot - } - return nil -} - -type SignedBeaconBlockHeader struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Header *BeaconBlockHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"` - Signature []byte `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"` -} - -func (x *SignedBeaconBlockHeader) Reset() { - *x = SignedBeaconBlockHeader{} - if protoimpl.UnsafeEnabled { - mi := &file_eth_v1alpha1_beacon_block_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SignedBeaconBlockHeader) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SignedBeaconBlockHeader) ProtoMessage() {} - -func (x *SignedBeaconBlockHeader) ProtoReflect() protoreflect.Message { - mi := &file_eth_v1alpha1_beacon_block_proto_msgTypes[10] - 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 SignedBeaconBlockHeader.ProtoReflect.Descriptor instead. -func (*SignedBeaconBlockHeader) Descriptor() ([]byte, []int) { - return file_eth_v1alpha1_beacon_block_proto_rawDescGZIP(), []int{10} -} - -func (x *SignedBeaconBlockHeader) GetHeader() *BeaconBlockHeader { - if x != nil { - return x.Header - } - return nil -} - -func (x *SignedBeaconBlockHeader) GetSignature() []byte { - if x != nil { - return x.Signature - } - return nil -} - -type IndexedAttestation struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - AttestingIndices []uint64 `protobuf:"varint,1,rep,packed,name=attesting_indices,json=attestingIndices,proto3" json:"attesting_indices,omitempty"` - Data *AttestationData `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` - Signature []byte `protobuf:"bytes,3,opt,name=signature,proto3" json:"signature,omitempty"` -} - -func (x *IndexedAttestation) Reset() { - *x = IndexedAttestation{} - if protoimpl.UnsafeEnabled { - mi := &file_eth_v1alpha1_beacon_block_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *IndexedAttestation) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*IndexedAttestation) ProtoMessage() {} - -func (x *IndexedAttestation) ProtoReflect() protoreflect.Message { - mi := &file_eth_v1alpha1_beacon_block_proto_msgTypes[11] - 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 IndexedAttestation.ProtoReflect.Descriptor instead. -func (*IndexedAttestation) Descriptor() ([]byte, []int) { - return file_eth_v1alpha1_beacon_block_proto_rawDescGZIP(), []int{11} -} - -func (x *IndexedAttestation) GetAttestingIndices() []uint64 { - if x != nil { - return x.AttestingIndices - } - return nil -} - -func (x *IndexedAttestation) GetData() *AttestationData { - if x != nil { - return x.Data - } - return nil -} - -func (x *IndexedAttestation) GetSignature() []byte { - if x != nil { - return x.Signature - } - return nil -} - -type Deposit_Data 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"` - WithdrawalCredentials []byte `protobuf:"bytes,2,opt,name=withdrawal_credentials,json=withdrawalCredentials,proto3" json:"withdrawal_credentials,omitempty"` - Amount uint64 `protobuf:"varint,3,opt,name=amount,proto3" json:"amount,omitempty"` - Signature []byte `protobuf:"bytes,4,opt,name=signature,proto3" json:"signature,omitempty"` -} - -func (x *Deposit_Data) Reset() { - *x = Deposit_Data{} - if protoimpl.UnsafeEnabled { - mi := &file_eth_v1alpha1_beacon_block_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *Deposit_Data) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Deposit_Data) ProtoMessage() {} - -func (x *Deposit_Data) ProtoReflect() protoreflect.Message { - mi := &file_eth_v1alpha1_beacon_block_proto_msgTypes[12] - 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 Deposit_Data.ProtoReflect.Descriptor instead. -func (*Deposit_Data) Descriptor() ([]byte, []int) { - return file_eth_v1alpha1_beacon_block_proto_rawDescGZIP(), []int{5, 0} -} - -func (x *Deposit_Data) GetPublicKey() []byte { - if x != nil { - return x.PublicKey - } - return nil -} - -func (x *Deposit_Data) GetWithdrawalCredentials() []byte { - if x != nil { - return x.WithdrawalCredentials - } - return nil -} - -func (x *Deposit_Data) GetAmount() uint64 { - if x != nil { - return x.Amount - } - return 0 -} - -func (x *Deposit_Data) GetSignature() []byte { - if x != nil { - return x.Signature - } - return nil -} - -var File_eth_v1alpha1_beacon_block_proto protoreflect.FileDescriptor - -var file_eth_v1alpha1_beacon_block_proto_rawDesc = []byte{ - 0x0a, 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, 0x12, 0x15, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, - 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x1a, 0x2d, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, - 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x67, 0x6f, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, - 0x75, 0x66, 0x2f, 0x67, 0x6f, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x67, - 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 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, 0x22, 0xd0, 0x02, 0x0a, 0x0b, 0x42, 0x65, 0x61, 0x63, - 0x6f, 0x6e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x40, 0x0a, 0x04, 0x73, 0x6c, 0x6f, 0x74, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x04, 0x42, 0x2c, 0xfa, 0xde, 0x1f, 0x28, 0x67, 0x69, 0x74, 0x68, 0x75, - 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x72, 0x79, 0x73, 0x6d, 0x61, 0x74, 0x69, 0x63, 0x6c, - 0x61, 0x62, 0x73, 0x2f, 0x65, 0x74, 0x68, 0x32, 0x2d, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x53, - 0x6c, 0x6f, 0x74, 0x52, 0x04, 0x73, 0x6c, 0x6f, 0x74, 0x12, 0x5d, 0x0a, 0x0e, 0x70, 0x72, 0x6f, - 0x70, 0x6f, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x04, 0x42, 0x36, 0xfa, 0xde, 0x1f, 0x32, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, - 0x6d, 0x2f, 0x70, 0x72, 0x79, 0x73, 0x6d, 0x61, 0x74, 0x69, 0x63, 0x6c, 0x61, 0x62, 0x73, 0x2f, - 0x65, 0x74, 0x68, 0x32, 0x2d, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x56, 0x61, 0x6c, 0x69, 0x64, - 0x61, 0x74, 0x6f, 0x72, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x52, 0x0d, 0x70, 0x72, 0x6f, 0x70, 0x6f, - 0x73, 0x65, 0x72, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x32, 0x0a, 0x0b, 0x70, 0x61, 0x72, 0x65, - 0x6e, 0x74, 0x5f, 0x72, 0x6f, 0x6f, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x42, 0x11, 0xf2, - 0xde, 0x1f, 0x0d, 0x73, 0x73, 0x7a, 0x2d, 0x73, 0x69, 0x7a, 0x65, 0x3a, 0x22, 0x33, 0x32, 0x22, - 0x52, 0x0a, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x52, 0x6f, 0x6f, 0x74, 0x12, 0x30, 0x0a, 0x0a, - 0x73, 0x74, 0x61, 0x74, 0x65, 0x5f, 0x72, 0x6f, 0x6f, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, - 0x42, 0x11, 0xf2, 0xde, 0x1f, 0x0d, 0x73, 0x73, 0x7a, 0x2d, 0x73, 0x69, 0x7a, 0x65, 0x3a, 0x22, - 0x33, 0x32, 0x22, 0x52, 0x09, 0x73, 0x74, 0x61, 0x74, 0x65, 0x52, 0x6f, 0x6f, 0x74, 0x12, 0x3a, - 0x0a, 0x04, 0x62, 0x6f, 0x64, 0x79, 0x18, 0x05, 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, 0x42, 0x65, 0x61, 0x63, 0x6f, 0x6e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, - 0x42, 0x6f, 0x64, 0x79, 0x52, 0x04, 0x62, 0x6f, 0x64, 0x79, 0x22, 0x7e, 0x0a, 0x11, 0x53, 0x69, - 0x67, 0x6e, 0x65, 0x64, 0x42, 0x65, 0x61, 0x63, 0x6f, 0x6e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x12, - 0x38, 0x0a, 0x05, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x01, 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, 0x52, 0x05, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x2f, 0x0a, 0x09, 0x73, 0x69, 0x67, - 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x42, 0x11, 0xf2, 0xde, - 0x1f, 0x0d, 0x73, 0x73, 0x7a, 0x2d, 0x73, 0x69, 0x7a, 0x65, 0x3a, 0x22, 0x39, 0x36, 0x22, 0x52, - 0x09, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x22, 0x99, 0x05, 0x0a, 0x0f, 0x42, - 0x65, 0x61, 0x63, 0x6f, 0x6e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x42, 0x6f, 0x64, 0x79, 0x12, 0x36, - 0x0a, 0x0d, 0x72, 0x61, 0x6e, 0x64, 0x61, 0x6f, 0x5f, 0x72, 0x65, 0x76, 0x65, 0x61, 0x6c, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x0c, 0x42, 0x11, 0xf2, 0xde, 0x1f, 0x0d, 0x73, 0x73, 0x7a, 0x2d, 0x73, - 0x69, 0x7a, 0x65, 0x3a, 0x22, 0x39, 0x36, 0x22, 0x52, 0x0c, 0x72, 0x61, 0x6e, 0x64, 0x61, 0x6f, - 0x52, 0x65, 0x76, 0x65, 0x61, 0x6c, 0x12, 0x3c, 0x0a, 0x09, 0x65, 0x74, 0x68, 0x31, 0x5f, 0x64, - 0x61, 0x74, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x65, 0x74, 0x68, 0x65, - 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, - 0x31, 0x2e, 0x45, 0x74, 0x68, 0x31, 0x44, 0x61, 0x74, 0x61, 0x52, 0x08, 0x65, 0x74, 0x68, 0x31, - 0x44, 0x61, 0x74, 0x61, 0x12, 0x2d, 0x0a, 0x08, 0x67, 0x72, 0x61, 0x66, 0x66, 0x69, 0x74, 0x69, - 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x42, 0x11, 0xf2, 0xde, 0x1f, 0x0d, 0x73, 0x73, 0x7a, 0x2d, - 0x73, 0x69, 0x7a, 0x65, 0x3a, 0x22, 0x33, 0x32, 0x22, 0x52, 0x08, 0x67, 0x72, 0x61, 0x66, 0x66, - 0x69, 0x74, 0x69, 0x12, 0x68, 0x0a, 0x12, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x65, 0x72, 0x5f, - 0x73, 0x6c, 0x61, 0x73, 0x68, 0x69, 0x6e, 0x67, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, - 0x27, 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, - 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x65, 0x72, - 0x53, 0x6c, 0x61, 0x73, 0x68, 0x69, 0x6e, 0x67, 0x42, 0x10, 0xf2, 0xde, 0x1f, 0x0c, 0x73, 0x73, - 0x7a, 0x2d, 0x6d, 0x61, 0x78, 0x3a, 0x22, 0x31, 0x36, 0x22, 0x52, 0x11, 0x70, 0x72, 0x6f, 0x70, - 0x6f, 0x73, 0x65, 0x72, 0x53, 0x6c, 0x61, 0x73, 0x68, 0x69, 0x6e, 0x67, 0x73, 0x12, 0x67, 0x0a, - 0x12, 0x61, 0x74, 0x74, 0x65, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x73, 0x6c, 0x61, 0x73, 0x68, 0x69, - 0x6e, 0x67, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x27, 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, 0x65, 0x72, 0x53, 0x6c, 0x61, 0x73, 0x68, 0x69, - 0x6e, 0x67, 0x42, 0x0f, 0xf2, 0xde, 0x1f, 0x0b, 0x73, 0x73, 0x7a, 0x2d, 0x6d, 0x61, 0x78, 0x3a, - 0x22, 0x32, 0x22, 0x52, 0x11, 0x61, 0x74, 0x74, 0x65, 0x73, 0x74, 0x65, 0x72, 0x53, 0x6c, 0x61, - 0x73, 0x68, 0x69, 0x6e, 0x67, 0x73, 0x12, 0x59, 0x0a, 0x0c, 0x61, 0x74, 0x74, 0x65, 0x73, 0x74, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x06, 0x20, 0x03, 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, 0x41, 0x74, 0x74, 0x65, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x42, 0x11, 0xf2, 0xde, 0x1f, 0x0d, 0x73, 0x73, 0x7a, 0x2d, 0x6d, 0x61, 0x78, 0x3a, 0x22, 0x31, - 0x32, 0x38, 0x22, 0x52, 0x0c, 0x61, 0x74, 0x74, 0x65, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x73, 0x12, 0x4c, 0x0a, 0x08, 0x64, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x73, 0x18, 0x07, 0x20, - 0x03, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, - 0x74, 0x68, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x44, 0x65, 0x70, 0x6f, - 0x73, 0x69, 0x74, 0x42, 0x10, 0xf2, 0xde, 0x1f, 0x0c, 0x73, 0x73, 0x7a, 0x2d, 0x6d, 0x61, 0x78, - 0x3a, 0x22, 0x31, 0x36, 0x22, 0x52, 0x08, 0x64, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x73, 0x12, - 0x65, 0x0a, 0x0f, 0x76, 0x6f, 0x6c, 0x75, 0x6e, 0x74, 0x61, 0x72, 0x79, 0x5f, 0x65, 0x78, 0x69, - 0x74, 0x73, 0x18, 0x08, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, - 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, - 0x2e, 0x53, 0x69, 0x67, 0x6e, 0x65, 0x64, 0x56, 0x6f, 0x6c, 0x75, 0x6e, 0x74, 0x61, 0x72, 0x79, - 0x45, 0x78, 0x69, 0x74, 0x42, 0x10, 0xf2, 0xde, 0x1f, 0x0c, 0x73, 0x73, 0x7a, 0x2d, 0x6d, 0x61, - 0x78, 0x3a, 0x22, 0x31, 0x36, 0x22, 0x52, 0x0e, 0x76, 0x6f, 0x6c, 0x75, 0x6e, 0x74, 0x61, 0x72, - 0x79, 0x45, 0x78, 0x69, 0x74, 0x73, 0x22, 0xa8, 0x01, 0x0a, 0x10, 0x50, 0x72, 0x6f, 0x70, 0x6f, - 0x73, 0x65, 0x72, 0x53, 0x6c, 0x61, 0x73, 0x68, 0x69, 0x6e, 0x67, 0x12, 0x49, 0x0a, 0x08, 0x68, - 0x65, 0x61, 0x64, 0x65, 0x72, 0x5f, 0x31, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2e, 0x2e, - 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x61, - 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x53, 0x69, 0x67, 0x6e, 0x65, 0x64, 0x42, 0x65, 0x61, 0x63, - 0x6f, 0x6e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x52, 0x07, 0x68, - 0x65, 0x61, 0x64, 0x65, 0x72, 0x31, 0x12, 0x49, 0x0a, 0x08, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, - 0x5f, 0x32, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, - 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, - 0x2e, 0x53, 0x69, 0x67, 0x6e, 0x65, 0x64, 0x42, 0x65, 0x61, 0x63, 0x6f, 0x6e, 0x42, 0x6c, 0x6f, - 0x63, 0x6b, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x52, 0x07, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, - 0x32, 0x22, 0xb2, 0x01, 0x0a, 0x10, 0x41, 0x74, 0x74, 0x65, 0x73, 0x74, 0x65, 0x72, 0x53, 0x6c, - 0x61, 0x73, 0x68, 0x69, 0x6e, 0x67, 0x12, 0x4e, 0x0a, 0x0d, 0x61, 0x74, 0x74, 0x65, 0x73, 0x74, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x31, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, - 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x61, - 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x65, 0x64, 0x41, 0x74, 0x74, - 0x65, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0c, 0x61, 0x74, 0x74, 0x65, 0x73, 0x74, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x31, 0x12, 0x4e, 0x0a, 0x0d, 0x61, 0x74, 0x74, 0x65, 0x73, 0x74, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x32, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, - 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x61, - 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x65, 0x64, 0x41, 0x74, 0x74, - 0x65, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0c, 0x61, 0x74, 0x74, 0x65, 0x73, 0x74, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x32, 0x22, 0xcf, 0x02, 0x0a, 0x07, 0x44, 0x65, 0x70, 0x6f, 0x73, - 0x69, 0x74, 0x12, 0x2a, 0x0a, 0x05, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x18, 0x01, 0x20, 0x03, 0x28, - 0x0c, 0x42, 0x14, 0xf2, 0xde, 0x1f, 0x10, 0x73, 0x73, 0x7a, 0x2d, 0x73, 0x69, 0x7a, 0x65, 0x3a, - 0x22, 0x33, 0x33, 0x2c, 0x33, 0x32, 0x22, 0x52, 0x05, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x12, 0x37, - 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x65, - 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x61, 0x6c, - 0x70, 0x68, 0x61, 0x31, 0x2e, 0x44, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x2e, 0x44, 0x61, 0x74, - 0x61, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x1a, 0xde, 0x01, 0x0a, 0x04, 0x44, 0x61, 0x74, 0x61, - 0x12, 0x43, 0x0a, 0x0a, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x0c, 0x42, 0x24, 0xf2, 0xde, 0x1f, 0x20, 0x73, 0x73, 0x7a, 0x2d, 0x73, 0x69, - 0x7a, 0x65, 0x3a, 0x22, 0x34, 0x38, 0x22, 0x20, 0x73, 0x70, 0x65, 0x63, 0x2d, 0x6e, 0x61, 0x6d, - 0x65, 0x3a, 0x22, 0x70, 0x75, 0x62, 0x6b, 0x65, 0x79, 0x22, 0x52, 0x09, 0x70, 0x75, 0x62, 0x6c, - 0x69, 0x63, 0x4b, 0x65, 0x79, 0x12, 0x48, 0x0a, 0x16, 0x77, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, - 0x77, 0x61, 0x6c, 0x5f, 0x63, 0x72, 0x65, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x73, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x0c, 0x42, 0x11, 0xf2, 0xde, 0x1f, 0x0d, 0x73, 0x73, 0x7a, 0x2d, 0x73, - 0x69, 0x7a, 0x65, 0x3a, 0x22, 0x33, 0x32, 0x22, 0x52, 0x15, 0x77, 0x69, 0x74, 0x68, 0x64, 0x72, - 0x61, 0x77, 0x61, 0x6c, 0x43, 0x72, 0x65, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x73, 0x12, - 0x16, 0x0a, 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, - 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x2f, 0x0a, 0x09, 0x73, 0x69, 0x67, 0x6e, 0x61, - 0x74, 0x75, 0x72, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x42, 0x11, 0xf2, 0xde, 0x1f, 0x0d, - 0x73, 0x73, 0x7a, 0x2d, 0x73, 0x69, 0x7a, 0x65, 0x3a, 0x22, 0x39, 0x36, 0x22, 0x52, 0x09, 0x73, - 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x22, 0xb5, 0x01, 0x0a, 0x0d, 0x56, 0x6f, 0x6c, - 0x75, 0x6e, 0x74, 0x61, 0x72, 0x79, 0x45, 0x78, 0x69, 0x74, 0x12, 0x43, 0x0a, 0x05, 0x65, 0x70, - 0x6f, 0x63, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x42, 0x2d, 0xfa, 0xde, 0x1f, 0x29, 0x67, - 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x72, 0x79, 0x73, 0x6d, 0x61, - 0x74, 0x69, 0x63, 0x6c, 0x61, 0x62, 0x73, 0x2f, 0x65, 0x74, 0x68, 0x32, 0x2d, 0x74, 0x79, 0x70, - 0x65, 0x73, 0x2e, 0x45, 0x70, 0x6f, 0x63, 0x68, 0x52, 0x05, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x12, - 0x5f, 0x0a, 0x0f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x5f, 0x69, 0x6e, 0x64, - 0x65, 0x78, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x42, 0x36, 0xfa, 0xde, 0x1f, 0x32, 0x67, 0x69, - 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x72, 0x79, 0x73, 0x6d, 0x61, 0x74, - 0x69, 0x63, 0x6c, 0x61, 0x62, 0x73, 0x2f, 0x65, 0x74, 0x68, 0x32, 0x2d, 0x74, 0x79, 0x70, 0x65, - 0x73, 0x2e, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x49, 0x6e, 0x64, 0x65, 0x78, - 0x52, 0x0e, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x49, 0x6e, 0x64, 0x65, 0x78, - 0x22, 0x80, 0x01, 0x0a, 0x13, 0x53, 0x69, 0x67, 0x6e, 0x65, 0x64, 0x56, 0x6f, 0x6c, 0x75, 0x6e, - 0x74, 0x61, 0x72, 0x79, 0x45, 0x78, 0x69, 0x74, 0x12, 0x38, 0x0a, 0x04, 0x65, 0x78, 0x69, 0x74, - 0x18, 0x01, 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, 0x52, 0x04, 0x65, 0x78, - 0x69, 0x74, 0x12, 0x2f, 0x0a, 0x09, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x0c, 0x42, 0x11, 0xf2, 0xde, 0x1f, 0x0d, 0x73, 0x73, 0x7a, 0x2d, 0x73, - 0x69, 0x7a, 0x65, 0x3a, 0x22, 0x39, 0x36, 0x22, 0x52, 0x09, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, - 0x75, 0x72, 0x65, 0x22, 0x97, 0x01, 0x0a, 0x08, 0x45, 0x74, 0x68, 0x31, 0x44, 0x61, 0x74, 0x61, - 0x12, 0x34, 0x0a, 0x0c, 0x64, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x5f, 0x72, 0x6f, 0x6f, 0x74, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x42, 0x11, 0xf2, 0xde, 0x1f, 0x0d, 0x73, 0x73, 0x7a, 0x2d, - 0x73, 0x69, 0x7a, 0x65, 0x3a, 0x22, 0x33, 0x32, 0x22, 0x52, 0x0b, 0x64, 0x65, 0x70, 0x6f, 0x73, - 0x69, 0x74, 0x52, 0x6f, 0x6f, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x64, 0x65, 0x70, 0x6f, 0x73, 0x69, - 0x74, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0c, 0x64, - 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x30, 0x0a, 0x0a, 0x62, - 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x68, 0x61, 0x73, 0x68, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x42, - 0x11, 0xf2, 0xde, 0x1f, 0x0d, 0x73, 0x73, 0x7a, 0x2d, 0x73, 0x69, 0x7a, 0x65, 0x3a, 0x22, 0x33, - 0x32, 0x22, 0x52, 0x09, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x61, 0x73, 0x68, 0x22, 0xca, 0x02, - 0x0a, 0x11, 0x42, 0x65, 0x61, 0x63, 0x6f, 0x6e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x65, 0x61, - 0x64, 0x65, 0x72, 0x12, 0x40, 0x0a, 0x04, 0x73, 0x6c, 0x6f, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x04, 0x42, 0x2c, 0xfa, 0xde, 0x1f, 0x28, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, - 0x6d, 0x2f, 0x70, 0x72, 0x79, 0x73, 0x6d, 0x61, 0x74, 0x69, 0x63, 0x6c, 0x61, 0x62, 0x73, 0x2f, - 0x65, 0x74, 0x68, 0x32, 0x2d, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x53, 0x6c, 0x6f, 0x74, 0x52, - 0x04, 0x73, 0x6c, 0x6f, 0x74, 0x12, 0x5d, 0x0a, 0x0e, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x65, - 0x72, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x42, 0x36, 0xfa, - 0xde, 0x1f, 0x32, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x72, - 0x79, 0x73, 0x6d, 0x61, 0x74, 0x69, 0x63, 0x6c, 0x61, 0x62, 0x73, 0x2f, 0x65, 0x74, 0x68, 0x32, - 0x2d, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, - 0x49, 0x6e, 0x64, 0x65, 0x78, 0x52, 0x0d, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x65, 0x72, 0x49, - 0x6e, 0x64, 0x65, 0x78, 0x12, 0x32, 0x0a, 0x0b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x72, - 0x6f, 0x6f, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x42, 0x11, 0xf2, 0xde, 0x1f, 0x0d, 0x73, - 0x73, 0x7a, 0x2d, 0x73, 0x69, 0x7a, 0x65, 0x3a, 0x22, 0x33, 0x32, 0x22, 0x52, 0x0a, 0x70, 0x61, - 0x72, 0x65, 0x6e, 0x74, 0x52, 0x6f, 0x6f, 0x74, 0x12, 0x30, 0x0a, 0x0a, 0x73, 0x74, 0x61, 0x74, - 0x65, 0x5f, 0x72, 0x6f, 0x6f, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x42, 0x11, 0xf2, 0xde, - 0x1f, 0x0d, 0x73, 0x73, 0x7a, 0x2d, 0x73, 0x69, 0x7a, 0x65, 0x3a, 0x22, 0x33, 0x32, 0x22, 0x52, - 0x09, 0x73, 0x74, 0x61, 0x74, 0x65, 0x52, 0x6f, 0x6f, 0x74, 0x12, 0x2e, 0x0a, 0x09, 0x62, 0x6f, - 0x64, 0x79, 0x5f, 0x72, 0x6f, 0x6f, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0c, 0x42, 0x11, 0xf2, - 0xde, 0x1f, 0x0d, 0x73, 0x73, 0x7a, 0x2d, 0x73, 0x69, 0x7a, 0x65, 0x3a, 0x22, 0x33, 0x32, 0x22, - 0x52, 0x08, 0x62, 0x6f, 0x64, 0x79, 0x52, 0x6f, 0x6f, 0x74, 0x22, 0x8c, 0x01, 0x0a, 0x17, 0x53, - 0x69, 0x67, 0x6e, 0x65, 0x64, 0x42, 0x65, 0x61, 0x63, 0x6f, 0x6e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, - 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x12, 0x40, 0x0a, 0x06, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, 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, 0x65, 0x61, 0x64, 0x65, 0x72, - 0x52, 0x06, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x12, 0x2f, 0x0a, 0x09, 0x73, 0x69, 0x67, 0x6e, - 0x61, 0x74, 0x75, 0x72, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x42, 0x11, 0xf2, 0xde, 0x1f, - 0x0d, 0x73, 0x73, 0x7a, 0x2d, 0x73, 0x69, 0x7a, 0x65, 0x3a, 0x22, 0x39, 0x36, 0x22, 0x52, 0x09, - 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x22, 0xc2, 0x01, 0x0a, 0x12, 0x49, 0x6e, - 0x64, 0x65, 0x78, 0x65, 0x64, 0x41, 0x74, 0x74, 0x65, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x12, 0x3f, 0x0a, 0x11, 0x61, 0x74, 0x74, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x5f, 0x69, 0x6e, - 0x64, 0x69, 0x63, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x04, 0x42, 0x12, 0xf2, 0xde, 0x1f, - 0x0e, 0x73, 0x73, 0x7a, 0x2d, 0x6d, 0x61, 0x78, 0x3a, 0x22, 0x32, 0x30, 0x34, 0x38, 0x22, 0x52, - 0x10, 0x61, 0x74, 0x74, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x49, 0x6e, 0x64, 0x69, 0x63, 0x65, - 0x73, 0x12, 0x3a, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x02, 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, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x12, 0x2f, 0x0a, - 0x09, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, - 0x42, 0x11, 0xf2, 0xde, 0x1f, 0x0d, 0x73, 0x73, 0x7a, 0x2d, 0x73, 0x69, 0x7a, 0x65, 0x3a, 0x22, - 0x39, 0x36, 0x22, 0x52, 0x09, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x42, 0x97, - 0x01, 0x0a, 0x19, 0x6f, 0x72, 0x67, 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, - 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x42, 0x10, 0x42, 0x65, - 0x61, 0x63, 0x6f, 0x6e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, - 0x5a, 0x36, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x72, 0x79, - 0x73, 0x6d, 0x61, 0x74, 0x69, 0x63, 0x6c, 0x61, 0x62, 0x73, 0x2f, 0x65, 0x74, 0x68, 0x65, 0x72, - 0x65, 0x75, 0x6d, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x65, 0x74, 0x68, 0x2f, 0x76, 0x31, 0x61, 0x6c, - 0x70, 0x68, 0x61, 0x31, 0x3b, 0x65, 0x74, 0x68, 0xaa, 0x02, 0x15, 0x45, 0x74, 0x68, 0x65, 0x72, - 0x65, 0x75, 0x6d, 0x2e, 0x45, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, - 0xca, 0x02, 0x15, 0x45, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x5c, 0x45, 0x74, 0x68, 0x5c, - 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var ( - file_eth_v1alpha1_beacon_block_proto_rawDescOnce sync.Once - file_eth_v1alpha1_beacon_block_proto_rawDescData = file_eth_v1alpha1_beacon_block_proto_rawDesc -) - -func file_eth_v1alpha1_beacon_block_proto_rawDescGZIP() []byte { - file_eth_v1alpha1_beacon_block_proto_rawDescOnce.Do(func() { - file_eth_v1alpha1_beacon_block_proto_rawDescData = protoimpl.X.CompressGZIP(file_eth_v1alpha1_beacon_block_proto_rawDescData) - }) - return file_eth_v1alpha1_beacon_block_proto_rawDescData -} - -var file_eth_v1alpha1_beacon_block_proto_msgTypes = make([]protoimpl.MessageInfo, 13) -var file_eth_v1alpha1_beacon_block_proto_goTypes = []interface{}{ - (*BeaconBlock)(nil), // 0: ethereum.eth.v1alpha1.BeaconBlock - (*SignedBeaconBlock)(nil), // 1: ethereum.eth.v1alpha1.SignedBeaconBlock - (*BeaconBlockBody)(nil), // 2: ethereum.eth.v1alpha1.BeaconBlockBody - (*ProposerSlashing)(nil), // 3: ethereum.eth.v1alpha1.ProposerSlashing - (*AttesterSlashing)(nil), // 4: ethereum.eth.v1alpha1.AttesterSlashing - (*Deposit)(nil), // 5: ethereum.eth.v1alpha1.Deposit - (*VoluntaryExit)(nil), // 6: ethereum.eth.v1alpha1.VoluntaryExit - (*SignedVoluntaryExit)(nil), // 7: ethereum.eth.v1alpha1.SignedVoluntaryExit - (*Eth1Data)(nil), // 8: ethereum.eth.v1alpha1.Eth1Data - (*BeaconBlockHeader)(nil), // 9: ethereum.eth.v1alpha1.BeaconBlockHeader - (*SignedBeaconBlockHeader)(nil), // 10: ethereum.eth.v1alpha1.SignedBeaconBlockHeader - (*IndexedAttestation)(nil), // 11: ethereum.eth.v1alpha1.IndexedAttestation - (*Deposit_Data)(nil), // 12: ethereum.eth.v1alpha1.Deposit.Data - (*Attestation)(nil), // 13: ethereum.eth.v1alpha1.Attestation - (*AttestationData)(nil), // 14: ethereum.eth.v1alpha1.AttestationData -} -var file_eth_v1alpha1_beacon_block_proto_depIdxs = []int32{ - 2, // 0: ethereum.eth.v1alpha1.BeaconBlock.body:type_name -> ethereum.eth.v1alpha1.BeaconBlockBody - 0, // 1: ethereum.eth.v1alpha1.SignedBeaconBlock.block:type_name -> ethereum.eth.v1alpha1.BeaconBlock - 8, // 2: ethereum.eth.v1alpha1.BeaconBlockBody.eth1_data:type_name -> ethereum.eth.v1alpha1.Eth1Data - 3, // 3: ethereum.eth.v1alpha1.BeaconBlockBody.proposer_slashings:type_name -> ethereum.eth.v1alpha1.ProposerSlashing - 4, // 4: ethereum.eth.v1alpha1.BeaconBlockBody.attester_slashings:type_name -> ethereum.eth.v1alpha1.AttesterSlashing - 13, // 5: ethereum.eth.v1alpha1.BeaconBlockBody.attestations:type_name -> ethereum.eth.v1alpha1.Attestation - 5, // 6: ethereum.eth.v1alpha1.BeaconBlockBody.deposits:type_name -> ethereum.eth.v1alpha1.Deposit - 7, // 7: ethereum.eth.v1alpha1.BeaconBlockBody.voluntary_exits:type_name -> ethereum.eth.v1alpha1.SignedVoluntaryExit - 10, // 8: ethereum.eth.v1alpha1.ProposerSlashing.header_1:type_name -> ethereum.eth.v1alpha1.SignedBeaconBlockHeader - 10, // 9: ethereum.eth.v1alpha1.ProposerSlashing.header_2:type_name -> ethereum.eth.v1alpha1.SignedBeaconBlockHeader - 11, // 10: ethereum.eth.v1alpha1.AttesterSlashing.attestation_1:type_name -> ethereum.eth.v1alpha1.IndexedAttestation - 11, // 11: ethereum.eth.v1alpha1.AttesterSlashing.attestation_2:type_name -> ethereum.eth.v1alpha1.IndexedAttestation - 12, // 12: ethereum.eth.v1alpha1.Deposit.data:type_name -> ethereum.eth.v1alpha1.Deposit.Data - 6, // 13: ethereum.eth.v1alpha1.SignedVoluntaryExit.exit:type_name -> ethereum.eth.v1alpha1.VoluntaryExit - 9, // 14: ethereum.eth.v1alpha1.SignedBeaconBlockHeader.header:type_name -> ethereum.eth.v1alpha1.BeaconBlockHeader - 14, // 15: ethereum.eth.v1alpha1.IndexedAttestation.data:type_name -> ethereum.eth.v1alpha1.AttestationData - 16, // [16:16] is the sub-list for method output_type - 16, // [16:16] is the sub-list for method input_type - 16, // [16:16] is the sub-list for extension type_name - 16, // [16:16] is the sub-list for extension extendee - 0, // [0:16] is the sub-list for field type_name -} - -func init() { file_eth_v1alpha1_beacon_block_proto_init() } -func file_eth_v1alpha1_beacon_block_proto_init() { - if File_eth_v1alpha1_beacon_block_proto != nil { - return - } - file_eth_v1alpha1_attestation_proto_init() - if !protoimpl.UnsafeEnabled { - file_eth_v1alpha1_beacon_block_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*BeaconBlock); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_eth_v1alpha1_beacon_block_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SignedBeaconBlock); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_eth_v1alpha1_beacon_block_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*BeaconBlockBody); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_eth_v1alpha1_beacon_block_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ProposerSlashing); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_eth_v1alpha1_beacon_block_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AttesterSlashing); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_eth_v1alpha1_beacon_block_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Deposit); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_eth_v1alpha1_beacon_block_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*VoluntaryExit); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_eth_v1alpha1_beacon_block_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SignedVoluntaryExit); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_eth_v1alpha1_beacon_block_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Eth1Data); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_eth_v1alpha1_beacon_block_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*BeaconBlockHeader); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_eth_v1alpha1_beacon_block_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SignedBeaconBlockHeader); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_eth_v1alpha1_beacon_block_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*IndexedAttestation); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_eth_v1alpha1_beacon_block_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Deposit_Data); 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_eth_v1alpha1_beacon_block_proto_rawDesc, - NumEnums: 0, - NumMessages: 13, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_eth_v1alpha1_beacon_block_proto_goTypes, - DependencyIndexes: file_eth_v1alpha1_beacon_block_proto_depIdxs, - MessageInfos: file_eth_v1alpha1_beacon_block_proto_msgTypes, - }.Build() - File_eth_v1alpha1_beacon_block_proto = out.File - file_eth_v1alpha1_beacon_block_proto_rawDesc = nil - file_eth_v1alpha1_beacon_block_proto_goTypes = nil - file_eth_v1alpha1_beacon_block_proto_depIdxs = nil -} diff --git a/eth/v1alpha1_gateway/beacon_chain.pb.go b/eth/v1alpha1_gateway/beacon_chain.pb.go deleted file mode 100755 index 289438d3..00000000 --- a/eth/v1alpha1_gateway/beacon_chain.pb.go +++ /dev/null @@ -1,5802 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.22.0 -// protoc v3.11.4 -// source: eth/v1alpha1/beacon_chain.proto - -package eth - -import ( - context "context" - reflect "reflect" - sync "sync" - - _ "github.com/gogo/protobuf/gogoproto" - proto "github.com/golang/protobuf/proto" - empty "github.com/golang/protobuf/ptypes/empty" - _ "google.golang.org/genproto/googleapis/api/annotations" - 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" -) - -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 that a sufficiently up-to-date version -// of the legacy proto package is being used. -const _ = proto.ProtoPackageIsVersion4 - -type SetAction int32 - -const ( - SetAction_ADD_VALIDATOR_KEYS SetAction = 0 - SetAction_REMOVE_VALIDATOR_KEYS SetAction = 1 - SetAction_SET_VALIDATOR_KEYS SetAction = 2 -) - -// Enum value maps for SetAction. -var ( - SetAction_name = map[int32]string{ - 0: "ADD_VALIDATOR_KEYS", - 1: "REMOVE_VALIDATOR_KEYS", - 2: "SET_VALIDATOR_KEYS", - } - SetAction_value = map[string]int32{ - "ADD_VALIDATOR_KEYS": 0, - "REMOVE_VALIDATOR_KEYS": 1, - "SET_VALIDATOR_KEYS": 2, - } -) - -func (x SetAction) Enum() *SetAction { - p := new(SetAction) - *p = x - return p -} - -func (x SetAction) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (SetAction) Descriptor() protoreflect.EnumDescriptor { - return file_eth_v1alpha1_beacon_chain_proto_enumTypes[0].Descriptor() -} - -func (SetAction) Type() protoreflect.EnumType { - return &file_eth_v1alpha1_beacon_chain_proto_enumTypes[0] -} - -func (x SetAction) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use SetAction.Descriptor instead. -func (SetAction) EnumDescriptor() ([]byte, []int) { - return file_eth_v1alpha1_beacon_chain_proto_rawDescGZIP(), []int{0} -} - -type ValidatorChangeSet struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Action SetAction `protobuf:"varint,1,opt,name=action,proto3,enum=ethereum.eth.v1alpha1.SetAction" json:"action,omitempty"` - PublicKeys [][]byte `protobuf:"bytes,2,rep,name=public_keys,json=publicKeys,proto3" json:"public_keys,omitempty"` -} - -func (x *ValidatorChangeSet) Reset() { - *x = ValidatorChangeSet{} - if protoimpl.UnsafeEnabled { - mi := &file_eth_v1alpha1_beacon_chain_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ValidatorChangeSet) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ValidatorChangeSet) ProtoMessage() {} - -func (x *ValidatorChangeSet) ProtoReflect() protoreflect.Message { - mi := &file_eth_v1alpha1_beacon_chain_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 ValidatorChangeSet.ProtoReflect.Descriptor instead. -func (*ValidatorChangeSet) Descriptor() ([]byte, []int) { - return file_eth_v1alpha1_beacon_chain_proto_rawDescGZIP(), []int{0} -} - -func (x *ValidatorChangeSet) GetAction() SetAction { - if x != nil { - return x.Action - } - return SetAction_ADD_VALIDATOR_KEYS -} - -func (x *ValidatorChangeSet) GetPublicKeys() [][]byte { - if x != nil { - return x.PublicKeys - } - return nil -} - -type ListIndexedAttestationsRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // Types that are assignable to QueryFilter: - // *ListIndexedAttestationsRequest_Epoch - // *ListIndexedAttestationsRequest_GenesisEpoch - QueryFilter isListIndexedAttestationsRequest_QueryFilter `protobuf_oneof:"query_filter"` - PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` - PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` -} - -func (x *ListIndexedAttestationsRequest) Reset() { - *x = ListIndexedAttestationsRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_eth_v1alpha1_beacon_chain_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ListIndexedAttestationsRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ListIndexedAttestationsRequest) ProtoMessage() {} - -func (x *ListIndexedAttestationsRequest) ProtoReflect() protoreflect.Message { - mi := &file_eth_v1alpha1_beacon_chain_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 ListIndexedAttestationsRequest.ProtoReflect.Descriptor instead. -func (*ListIndexedAttestationsRequest) Descriptor() ([]byte, []int) { - return file_eth_v1alpha1_beacon_chain_proto_rawDescGZIP(), []int{1} -} - -func (m *ListIndexedAttestationsRequest) GetQueryFilter() isListIndexedAttestationsRequest_QueryFilter { - if m != nil { - return m.QueryFilter - } - return nil -} - -func (x *ListIndexedAttestationsRequest) GetEpoch() uint64 { - if x, ok := x.GetQueryFilter().(*ListIndexedAttestationsRequest_Epoch); ok { - return x.Epoch - } - return 0 -} - -func (x *ListIndexedAttestationsRequest) GetGenesisEpoch() bool { - if x, ok := x.GetQueryFilter().(*ListIndexedAttestationsRequest_GenesisEpoch); ok { - return x.GenesisEpoch - } - return false -} - -func (x *ListIndexedAttestationsRequest) GetPageSize() int32 { - if x != nil { - return x.PageSize - } - return 0 -} - -func (x *ListIndexedAttestationsRequest) GetPageToken() string { - if x != nil { - return x.PageToken - } - return "" -} - -type isListIndexedAttestationsRequest_QueryFilter interface { - isListIndexedAttestationsRequest_QueryFilter() -} - -type ListIndexedAttestationsRequest_Epoch struct { - Epoch uint64 `protobuf:"varint,1,opt,name=epoch,proto3,oneof"` -} - -type ListIndexedAttestationsRequest_GenesisEpoch struct { - GenesisEpoch bool `protobuf:"varint,2,opt,name=genesis_epoch,json=genesisEpoch,proto3,oneof"` -} - -func (*ListIndexedAttestationsRequest_Epoch) isListIndexedAttestationsRequest_QueryFilter() {} - -func (*ListIndexedAttestationsRequest_GenesisEpoch) isListIndexedAttestationsRequest_QueryFilter() {} - -type ListAttestationsRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // Types that are assignable to QueryFilter: - // *ListAttestationsRequest_Epoch - // *ListAttestationsRequest_GenesisEpoch - QueryFilter isListAttestationsRequest_QueryFilter `protobuf_oneof:"query_filter"` - PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` - PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` -} - -func (x *ListAttestationsRequest) Reset() { - *x = ListAttestationsRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_eth_v1alpha1_beacon_chain_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ListAttestationsRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ListAttestationsRequest) ProtoMessage() {} - -func (x *ListAttestationsRequest) ProtoReflect() protoreflect.Message { - mi := &file_eth_v1alpha1_beacon_chain_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 ListAttestationsRequest.ProtoReflect.Descriptor instead. -func (*ListAttestationsRequest) Descriptor() ([]byte, []int) { - return file_eth_v1alpha1_beacon_chain_proto_rawDescGZIP(), []int{2} -} - -func (m *ListAttestationsRequest) GetQueryFilter() isListAttestationsRequest_QueryFilter { - if m != nil { - return m.QueryFilter - } - return nil -} - -func (x *ListAttestationsRequest) GetEpoch() uint64 { - if x, ok := x.GetQueryFilter().(*ListAttestationsRequest_Epoch); ok { - return x.Epoch - } - return 0 -} - -func (x *ListAttestationsRequest) GetGenesisEpoch() bool { - if x, ok := x.GetQueryFilter().(*ListAttestationsRequest_GenesisEpoch); ok { - return x.GenesisEpoch - } - return false -} - -func (x *ListAttestationsRequest) GetPageSize() int32 { - if x != nil { - return x.PageSize - } - return 0 -} - -func (x *ListAttestationsRequest) GetPageToken() string { - if x != nil { - return x.PageToken - } - return "" -} - -type isListAttestationsRequest_QueryFilter interface { - isListAttestationsRequest_QueryFilter() -} - -type ListAttestationsRequest_Epoch struct { - Epoch uint64 `protobuf:"varint,1,opt,name=epoch,proto3,oneof"` -} - -type ListAttestationsRequest_GenesisEpoch struct { - GenesisEpoch bool `protobuf:"varint,2,opt,name=genesis_epoch,json=genesisEpoch,proto3,oneof"` -} - -func (*ListAttestationsRequest_Epoch) isListAttestationsRequest_QueryFilter() {} - -func (*ListAttestationsRequest_GenesisEpoch) isListAttestationsRequest_QueryFilter() {} - -type ListAttestationsResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Attestations []*Attestation `protobuf:"bytes,1,rep,name=attestations,proto3" json:"attestations,omitempty"` - NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` - TotalSize int32 `protobuf:"varint,3,opt,name=total_size,json=totalSize,proto3" json:"total_size,omitempty"` -} - -func (x *ListAttestationsResponse) Reset() { - *x = ListAttestationsResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_eth_v1alpha1_beacon_chain_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ListAttestationsResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ListAttestationsResponse) ProtoMessage() {} - -func (x *ListAttestationsResponse) ProtoReflect() protoreflect.Message { - mi := &file_eth_v1alpha1_beacon_chain_proto_msgTypes[3] - 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 ListAttestationsResponse.ProtoReflect.Descriptor instead. -func (*ListAttestationsResponse) Descriptor() ([]byte, []int) { - return file_eth_v1alpha1_beacon_chain_proto_rawDescGZIP(), []int{3} -} - -func (x *ListAttestationsResponse) GetAttestations() []*Attestation { - if x != nil { - return x.Attestations - } - return nil -} - -func (x *ListAttestationsResponse) GetNextPageToken() string { - if x != nil { - return x.NextPageToken - } - return "" -} - -func (x *ListAttestationsResponse) GetTotalSize() int32 { - if x != nil { - return x.TotalSize - } - return 0 -} - -type ListIndexedAttestationsResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - IndexedAttestations []*IndexedAttestation `protobuf:"bytes,1,rep,name=indexed_attestations,json=indexedAttestations,proto3" json:"indexed_attestations,omitempty"` - NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` - TotalSize int32 `protobuf:"varint,3,opt,name=total_size,json=totalSize,proto3" json:"total_size,omitempty"` -} - -func (x *ListIndexedAttestationsResponse) Reset() { - *x = ListIndexedAttestationsResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_eth_v1alpha1_beacon_chain_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ListIndexedAttestationsResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ListIndexedAttestationsResponse) ProtoMessage() {} - -func (x *ListIndexedAttestationsResponse) ProtoReflect() protoreflect.Message { - mi := &file_eth_v1alpha1_beacon_chain_proto_msgTypes[4] - 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 ListIndexedAttestationsResponse.ProtoReflect.Descriptor instead. -func (*ListIndexedAttestationsResponse) Descriptor() ([]byte, []int) { - return file_eth_v1alpha1_beacon_chain_proto_rawDescGZIP(), []int{4} -} - -func (x *ListIndexedAttestationsResponse) GetIndexedAttestations() []*IndexedAttestation { - if x != nil { - return x.IndexedAttestations - } - return nil -} - -func (x *ListIndexedAttestationsResponse) GetNextPageToken() string { - if x != nil { - return x.NextPageToken - } - return "" -} - -func (x *ListIndexedAttestationsResponse) GetTotalSize() int32 { - if x != nil { - return x.TotalSize - } - return 0 -} - -type ListBlocksRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // Types that are assignable to QueryFilter: - // *ListBlocksRequest_Root - // *ListBlocksRequest_Slot - // *ListBlocksRequest_Epoch - // *ListBlocksRequest_Genesis - QueryFilter isListBlocksRequest_QueryFilter `protobuf_oneof:"query_filter"` - PageSize int32 `protobuf:"varint,5,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` - PageToken string `protobuf:"bytes,6,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` -} - -func (x *ListBlocksRequest) Reset() { - *x = ListBlocksRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_eth_v1alpha1_beacon_chain_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ListBlocksRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ListBlocksRequest) ProtoMessage() {} - -func (x *ListBlocksRequest) ProtoReflect() protoreflect.Message { - mi := &file_eth_v1alpha1_beacon_chain_proto_msgTypes[5] - 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 ListBlocksRequest.ProtoReflect.Descriptor instead. -func (*ListBlocksRequest) Descriptor() ([]byte, []int) { - return file_eth_v1alpha1_beacon_chain_proto_rawDescGZIP(), []int{5} -} - -func (m *ListBlocksRequest) GetQueryFilter() isListBlocksRequest_QueryFilter { - if m != nil { - return m.QueryFilter - } - return nil -} - -func (x *ListBlocksRequest) GetRoot() []byte { - if x, ok := x.GetQueryFilter().(*ListBlocksRequest_Root); ok { - return x.Root - } - return nil -} - -func (x *ListBlocksRequest) GetSlot() uint64 { - if x, ok := x.GetQueryFilter().(*ListBlocksRequest_Slot); ok { - return x.Slot - } - return 0 -} - -func (x *ListBlocksRequest) GetEpoch() uint64 { - if x, ok := x.GetQueryFilter().(*ListBlocksRequest_Epoch); ok { - return x.Epoch - } - return 0 -} - -func (x *ListBlocksRequest) GetGenesis() bool { - if x, ok := x.GetQueryFilter().(*ListBlocksRequest_Genesis); ok { - return x.Genesis - } - return false -} - -func (x *ListBlocksRequest) GetPageSize() int32 { - if x != nil { - return x.PageSize - } - return 0 -} - -func (x *ListBlocksRequest) GetPageToken() string { - if x != nil { - return x.PageToken - } - return "" -} - -type isListBlocksRequest_QueryFilter interface { - isListBlocksRequest_QueryFilter() -} - -type ListBlocksRequest_Root struct { - Root []byte `protobuf:"bytes,1,opt,name=root,proto3,oneof"` -} - -type ListBlocksRequest_Slot struct { - Slot uint64 `protobuf:"varint,2,opt,name=slot,proto3,oneof"` -} - -type ListBlocksRequest_Epoch struct { - Epoch uint64 `protobuf:"varint,3,opt,name=epoch,proto3,oneof"` -} - -type ListBlocksRequest_Genesis struct { - Genesis bool `protobuf:"varint,4,opt,name=genesis,proto3,oneof"` -} - -func (*ListBlocksRequest_Root) isListBlocksRequest_QueryFilter() {} - -func (*ListBlocksRequest_Slot) isListBlocksRequest_QueryFilter() {} - -func (*ListBlocksRequest_Epoch) isListBlocksRequest_QueryFilter() {} - -func (*ListBlocksRequest_Genesis) isListBlocksRequest_QueryFilter() {} - -type ListBlocksResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - BlockContainers []*BeaconBlockContainer `protobuf:"bytes,1,rep,name=blockContainers,proto3" json:"blockContainers,omitempty"` - NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` - TotalSize int32 `protobuf:"varint,3,opt,name=total_size,json=totalSize,proto3" json:"total_size,omitempty"` -} - -func (x *ListBlocksResponse) Reset() { - *x = ListBlocksResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_eth_v1alpha1_beacon_chain_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ListBlocksResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ListBlocksResponse) ProtoMessage() {} - -func (x *ListBlocksResponse) ProtoReflect() protoreflect.Message { - mi := &file_eth_v1alpha1_beacon_chain_proto_msgTypes[6] - 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 ListBlocksResponse.ProtoReflect.Descriptor instead. -func (*ListBlocksResponse) Descriptor() ([]byte, []int) { - return file_eth_v1alpha1_beacon_chain_proto_rawDescGZIP(), []int{6} -} - -func (x *ListBlocksResponse) GetBlockContainers() []*BeaconBlockContainer { - if x != nil { - return x.BlockContainers - } - return nil -} - -func (x *ListBlocksResponse) GetNextPageToken() string { - if x != nil { - return x.NextPageToken - } - return "" -} - -func (x *ListBlocksResponse) GetTotalSize() int32 { - if x != nil { - return x.TotalSize - } - return 0 -} - -type StreamBlocksRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - VerifiedOnly bool `protobuf:"varint,1,opt,name=verified_only,json=verifiedOnly,proto3" json:"verified_only,omitempty"` -} - -func (x *StreamBlocksRequest) Reset() { - *x = StreamBlocksRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_eth_v1alpha1_beacon_chain_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *StreamBlocksRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*StreamBlocksRequest) ProtoMessage() {} - -func (x *StreamBlocksRequest) ProtoReflect() protoreflect.Message { - mi := &file_eth_v1alpha1_beacon_chain_proto_msgTypes[7] - 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 StreamBlocksRequest.ProtoReflect.Descriptor instead. -func (*StreamBlocksRequest) Descriptor() ([]byte, []int) { - return file_eth_v1alpha1_beacon_chain_proto_rawDescGZIP(), []int{7} -} - -func (x *StreamBlocksRequest) GetVerifiedOnly() bool { - if x != nil { - return x.VerifiedOnly - } - return false -} - -type BeaconBlockContainer struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Block *SignedBeaconBlock `protobuf:"bytes,1,opt,name=block,proto3" json:"block,omitempty"` - BlockRoot []byte `protobuf:"bytes,2,opt,name=block_root,json=blockRoot,proto3" json:"block_root,omitempty"` - Canonical bool `protobuf:"varint,3,opt,name=canonical,proto3" json:"canonical,omitempty"` -} - -func (x *BeaconBlockContainer) Reset() { - *x = BeaconBlockContainer{} - if protoimpl.UnsafeEnabled { - mi := &file_eth_v1alpha1_beacon_chain_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *BeaconBlockContainer) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*BeaconBlockContainer) ProtoMessage() {} - -func (x *BeaconBlockContainer) ProtoReflect() protoreflect.Message { - mi := &file_eth_v1alpha1_beacon_chain_proto_msgTypes[8] - 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 BeaconBlockContainer.ProtoReflect.Descriptor instead. -func (*BeaconBlockContainer) Descriptor() ([]byte, []int) { - return file_eth_v1alpha1_beacon_chain_proto_rawDescGZIP(), []int{8} -} - -func (x *BeaconBlockContainer) GetBlock() *SignedBeaconBlock { - if x != nil { - return x.Block - } - return nil -} - -func (x *BeaconBlockContainer) GetBlockRoot() []byte { - if x != nil { - return x.BlockRoot - } - return nil -} - -func (x *BeaconBlockContainer) GetCanonical() bool { - if x != nil { - return x.Canonical - } - return false -} - -type ChainHead struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - HeadSlot uint64 `protobuf:"varint,1,opt,name=head_slot,json=headSlot,proto3" json:"head_slot,omitempty"` - HeadEpoch uint64 `protobuf:"varint,2,opt,name=head_epoch,json=headEpoch,proto3" json:"head_epoch,omitempty"` - HeadBlockRoot []byte `protobuf:"bytes,3,opt,name=head_block_root,json=headBlockRoot,proto3" json:"head_block_root,omitempty"` - FinalizedSlot uint64 `protobuf:"varint,4,opt,name=finalized_slot,json=finalizedSlot,proto3" json:"finalized_slot,omitempty"` - FinalizedEpoch uint64 `protobuf:"varint,5,opt,name=finalized_epoch,json=finalizedEpoch,proto3" json:"finalized_epoch,omitempty"` - FinalizedBlockRoot []byte `protobuf:"bytes,6,opt,name=finalized_block_root,json=finalizedBlockRoot,proto3" json:"finalized_block_root,omitempty"` - JustifiedSlot uint64 `protobuf:"varint,7,opt,name=justified_slot,json=justifiedSlot,proto3" json:"justified_slot,omitempty"` - JustifiedEpoch uint64 `protobuf:"varint,8,opt,name=justified_epoch,json=justifiedEpoch,proto3" json:"justified_epoch,omitempty"` - JustifiedBlockRoot []byte `protobuf:"bytes,9,opt,name=justified_block_root,json=justifiedBlockRoot,proto3" json:"justified_block_root,omitempty"` - PreviousJustifiedSlot uint64 `protobuf:"varint,10,opt,name=previous_justified_slot,json=previousJustifiedSlot,proto3" json:"previous_justified_slot,omitempty"` - PreviousJustifiedEpoch uint64 `protobuf:"varint,11,opt,name=previous_justified_epoch,json=previousJustifiedEpoch,proto3" json:"previous_justified_epoch,omitempty"` - PreviousJustifiedBlockRoot []byte `protobuf:"bytes,12,opt,name=previous_justified_block_root,json=previousJustifiedBlockRoot,proto3" json:"previous_justified_block_root,omitempty"` -} - -func (x *ChainHead) Reset() { - *x = ChainHead{} - if protoimpl.UnsafeEnabled { - mi := &file_eth_v1alpha1_beacon_chain_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ChainHead) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ChainHead) ProtoMessage() {} - -func (x *ChainHead) ProtoReflect() protoreflect.Message { - mi := &file_eth_v1alpha1_beacon_chain_proto_msgTypes[9] - 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 ChainHead.ProtoReflect.Descriptor instead. -func (*ChainHead) Descriptor() ([]byte, []int) { - return file_eth_v1alpha1_beacon_chain_proto_rawDescGZIP(), []int{9} -} - -func (x *ChainHead) GetHeadSlot() uint64 { - if x != nil { - return x.HeadSlot - } - return 0 -} - -func (x *ChainHead) GetHeadEpoch() uint64 { - if x != nil { - return x.HeadEpoch - } - return 0 -} - -func (x *ChainHead) GetHeadBlockRoot() []byte { - if x != nil { - return x.HeadBlockRoot - } - return nil -} - -func (x *ChainHead) GetFinalizedSlot() uint64 { - if x != nil { - return x.FinalizedSlot - } - return 0 -} - -func (x *ChainHead) GetFinalizedEpoch() uint64 { - if x != nil { - return x.FinalizedEpoch - } - return 0 -} - -func (x *ChainHead) GetFinalizedBlockRoot() []byte { - if x != nil { - return x.FinalizedBlockRoot - } - return nil -} - -func (x *ChainHead) GetJustifiedSlot() uint64 { - if x != nil { - return x.JustifiedSlot - } - return 0 -} - -func (x *ChainHead) GetJustifiedEpoch() uint64 { - if x != nil { - return x.JustifiedEpoch - } - return 0 -} - -func (x *ChainHead) GetJustifiedBlockRoot() []byte { - if x != nil { - return x.JustifiedBlockRoot - } - return nil -} - -func (x *ChainHead) GetPreviousJustifiedSlot() uint64 { - if x != nil { - return x.PreviousJustifiedSlot - } - return 0 -} - -func (x *ChainHead) GetPreviousJustifiedEpoch() uint64 { - if x != nil { - return x.PreviousJustifiedEpoch - } - return 0 -} - -func (x *ChainHead) GetPreviousJustifiedBlockRoot() []byte { - if x != nil { - return x.PreviousJustifiedBlockRoot - } - return nil -} - -type ListCommitteesRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // Types that are assignable to QueryFilter: - // *ListCommitteesRequest_Epoch - // *ListCommitteesRequest_Genesis - QueryFilter isListCommitteesRequest_QueryFilter `protobuf_oneof:"query_filter"` -} - -func (x *ListCommitteesRequest) Reset() { - *x = ListCommitteesRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_eth_v1alpha1_beacon_chain_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ListCommitteesRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ListCommitteesRequest) ProtoMessage() {} - -func (x *ListCommitteesRequest) ProtoReflect() protoreflect.Message { - mi := &file_eth_v1alpha1_beacon_chain_proto_msgTypes[10] - 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 ListCommitteesRequest.ProtoReflect.Descriptor instead. -func (*ListCommitteesRequest) Descriptor() ([]byte, []int) { - return file_eth_v1alpha1_beacon_chain_proto_rawDescGZIP(), []int{10} -} - -func (m *ListCommitteesRequest) GetQueryFilter() isListCommitteesRequest_QueryFilter { - if m != nil { - return m.QueryFilter - } - return nil -} - -func (x *ListCommitteesRequest) GetEpoch() uint64 { - if x, ok := x.GetQueryFilter().(*ListCommitteesRequest_Epoch); ok { - return x.Epoch - } - return 0 -} - -func (x *ListCommitteesRequest) GetGenesis() bool { - if x, ok := x.GetQueryFilter().(*ListCommitteesRequest_Genesis); ok { - return x.Genesis - } - return false -} - -type isListCommitteesRequest_QueryFilter interface { - isListCommitteesRequest_QueryFilter() -} - -type ListCommitteesRequest_Epoch struct { - Epoch uint64 `protobuf:"varint,1,opt,name=epoch,proto3,oneof"` -} - -type ListCommitteesRequest_Genesis struct { - Genesis bool `protobuf:"varint,2,opt,name=genesis,proto3,oneof"` -} - -func (*ListCommitteesRequest_Epoch) isListCommitteesRequest_QueryFilter() {} - -func (*ListCommitteesRequest_Genesis) isListCommitteesRequest_QueryFilter() {} - -type BeaconCommittees struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Epoch uint64 `protobuf:"varint,1,opt,name=epoch,proto3" json:"epoch,omitempty"` - Committees map[uint64]*BeaconCommittees_CommitteesList `protobuf:"bytes,2,rep,name=committees,proto3" json:"committees,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - ActiveValidatorCount uint64 `protobuf:"varint,3,opt,name=active_validator_count,json=activeValidatorCount,proto3" json:"active_validator_count,omitempty"` -} - -func (x *BeaconCommittees) Reset() { - *x = BeaconCommittees{} - if protoimpl.UnsafeEnabled { - mi := &file_eth_v1alpha1_beacon_chain_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *BeaconCommittees) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*BeaconCommittees) ProtoMessage() {} - -func (x *BeaconCommittees) ProtoReflect() protoreflect.Message { - mi := &file_eth_v1alpha1_beacon_chain_proto_msgTypes[11] - 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 BeaconCommittees.ProtoReflect.Descriptor instead. -func (*BeaconCommittees) Descriptor() ([]byte, []int) { - return file_eth_v1alpha1_beacon_chain_proto_rawDescGZIP(), []int{11} -} - -func (x *BeaconCommittees) GetEpoch() uint64 { - if x != nil { - return x.Epoch - } - return 0 -} - -func (x *BeaconCommittees) GetCommittees() map[uint64]*BeaconCommittees_CommitteesList { - if x != nil { - return x.Committees - } - return nil -} - -func (x *BeaconCommittees) GetActiveValidatorCount() uint64 { - if x != nil { - return x.ActiveValidatorCount - } - return 0 -} - -type ListValidatorBalancesRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // Types that are assignable to QueryFilter: - // *ListValidatorBalancesRequest_Epoch - // *ListValidatorBalancesRequest_Genesis - QueryFilter isListValidatorBalancesRequest_QueryFilter `protobuf_oneof:"query_filter"` - PublicKeys [][]byte `protobuf:"bytes,3,rep,name=public_keys,json=publicKeys,proto3" json:"public_keys,omitempty"` - Indices []uint64 `protobuf:"varint,4,rep,packed,name=indices,proto3" json:"indices,omitempty"` - PageSize int32 `protobuf:"varint,5,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` - PageToken string `protobuf:"bytes,6,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` -} - -func (x *ListValidatorBalancesRequest) Reset() { - *x = ListValidatorBalancesRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_eth_v1alpha1_beacon_chain_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ListValidatorBalancesRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ListValidatorBalancesRequest) ProtoMessage() {} - -func (x *ListValidatorBalancesRequest) ProtoReflect() protoreflect.Message { - mi := &file_eth_v1alpha1_beacon_chain_proto_msgTypes[12] - 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 ListValidatorBalancesRequest.ProtoReflect.Descriptor instead. -func (*ListValidatorBalancesRequest) Descriptor() ([]byte, []int) { - return file_eth_v1alpha1_beacon_chain_proto_rawDescGZIP(), []int{12} -} - -func (m *ListValidatorBalancesRequest) GetQueryFilter() isListValidatorBalancesRequest_QueryFilter { - if m != nil { - return m.QueryFilter - } - return nil -} - -func (x *ListValidatorBalancesRequest) GetEpoch() uint64 { - if x, ok := x.GetQueryFilter().(*ListValidatorBalancesRequest_Epoch); ok { - return x.Epoch - } - return 0 -} - -func (x *ListValidatorBalancesRequest) GetGenesis() bool { - if x, ok := x.GetQueryFilter().(*ListValidatorBalancesRequest_Genesis); ok { - return x.Genesis - } - return false -} - -func (x *ListValidatorBalancesRequest) GetPublicKeys() [][]byte { - if x != nil { - return x.PublicKeys - } - return nil -} - -func (x *ListValidatorBalancesRequest) GetIndices() []uint64 { - if x != nil { - return x.Indices - } - return nil -} - -func (x *ListValidatorBalancesRequest) GetPageSize() int32 { - if x != nil { - return x.PageSize - } - return 0 -} - -func (x *ListValidatorBalancesRequest) GetPageToken() string { - if x != nil { - return x.PageToken - } - return "" -} - -type isListValidatorBalancesRequest_QueryFilter interface { - isListValidatorBalancesRequest_QueryFilter() -} - -type ListValidatorBalancesRequest_Epoch struct { - Epoch uint64 `protobuf:"varint,1,opt,name=epoch,proto3,oneof"` -} - -type ListValidatorBalancesRequest_Genesis struct { - Genesis bool `protobuf:"varint,2,opt,name=genesis,proto3,oneof"` -} - -func (*ListValidatorBalancesRequest_Epoch) isListValidatorBalancesRequest_QueryFilter() {} - -func (*ListValidatorBalancesRequest_Genesis) isListValidatorBalancesRequest_QueryFilter() {} - -type ValidatorBalances struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Epoch uint64 `protobuf:"varint,1,opt,name=epoch,proto3" json:"epoch,omitempty"` - Balances []*ValidatorBalances_Balance `protobuf:"bytes,2,rep,name=balances,proto3" json:"balances,omitempty"` - NextPageToken string `protobuf:"bytes,3,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` - TotalSize int32 `protobuf:"varint,4,opt,name=total_size,json=totalSize,proto3" json:"total_size,omitempty"` -} - -func (x *ValidatorBalances) Reset() { - *x = ValidatorBalances{} - if protoimpl.UnsafeEnabled { - mi := &file_eth_v1alpha1_beacon_chain_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ValidatorBalances) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ValidatorBalances) ProtoMessage() {} - -func (x *ValidatorBalances) ProtoReflect() protoreflect.Message { - mi := &file_eth_v1alpha1_beacon_chain_proto_msgTypes[13] - 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 ValidatorBalances.ProtoReflect.Descriptor instead. -func (*ValidatorBalances) Descriptor() ([]byte, []int) { - return file_eth_v1alpha1_beacon_chain_proto_rawDescGZIP(), []int{13} -} - -func (x *ValidatorBalances) GetEpoch() uint64 { - if x != nil { - return x.Epoch - } - return 0 -} - -func (x *ValidatorBalances) GetBalances() []*ValidatorBalances_Balance { - if x != nil { - return x.Balances - } - return nil -} - -func (x *ValidatorBalances) GetNextPageToken() string { - if x != nil { - return x.NextPageToken - } - return "" -} - -func (x *ValidatorBalances) GetTotalSize() int32 { - if x != nil { - return x.TotalSize - } - return 0 -} - -type ListValidatorsRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // Types that are assignable to QueryFilter: - // *ListValidatorsRequest_Epoch - // *ListValidatorsRequest_Genesis - QueryFilter isListValidatorsRequest_QueryFilter `protobuf_oneof:"query_filter"` - Active bool `protobuf:"varint,3,opt,name=active,proto3" json:"active,omitempty"` - PageSize int32 `protobuf:"varint,4,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` - PageToken string `protobuf:"bytes,5,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` - PublicKeys [][]byte `protobuf:"bytes,6,rep,name=public_keys,json=publicKeys,proto3" json:"public_keys,omitempty"` - Indices []uint64 `protobuf:"varint,7,rep,packed,name=indices,proto3" json:"indices,omitempty"` -} - -func (x *ListValidatorsRequest) Reset() { - *x = ListValidatorsRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_eth_v1alpha1_beacon_chain_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ListValidatorsRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ListValidatorsRequest) ProtoMessage() {} - -func (x *ListValidatorsRequest) ProtoReflect() protoreflect.Message { - mi := &file_eth_v1alpha1_beacon_chain_proto_msgTypes[14] - 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 ListValidatorsRequest.ProtoReflect.Descriptor instead. -func (*ListValidatorsRequest) Descriptor() ([]byte, []int) { - return file_eth_v1alpha1_beacon_chain_proto_rawDescGZIP(), []int{14} -} - -func (m *ListValidatorsRequest) GetQueryFilter() isListValidatorsRequest_QueryFilter { - if m != nil { - return m.QueryFilter - } - return nil -} - -func (x *ListValidatorsRequest) GetEpoch() uint64 { - if x, ok := x.GetQueryFilter().(*ListValidatorsRequest_Epoch); ok { - return x.Epoch - } - return 0 -} - -func (x *ListValidatorsRequest) GetGenesis() bool { - if x, ok := x.GetQueryFilter().(*ListValidatorsRequest_Genesis); ok { - return x.Genesis - } - return false -} - -func (x *ListValidatorsRequest) GetActive() bool { - if x != nil { - return x.Active - } - return false -} - -func (x *ListValidatorsRequest) GetPageSize() int32 { - if x != nil { - return x.PageSize - } - return 0 -} - -func (x *ListValidatorsRequest) GetPageToken() string { - if x != nil { - return x.PageToken - } - return "" -} - -func (x *ListValidatorsRequest) GetPublicKeys() [][]byte { - if x != nil { - return x.PublicKeys - } - return nil -} - -func (x *ListValidatorsRequest) GetIndices() []uint64 { - if x != nil { - return x.Indices - } - return nil -} - -type isListValidatorsRequest_QueryFilter interface { - isListValidatorsRequest_QueryFilter() -} - -type ListValidatorsRequest_Epoch struct { - Epoch uint64 `protobuf:"varint,1,opt,name=epoch,proto3,oneof"` -} - -type ListValidatorsRequest_Genesis struct { - Genesis bool `protobuf:"varint,2,opt,name=genesis,proto3,oneof"` -} - -func (*ListValidatorsRequest_Epoch) isListValidatorsRequest_QueryFilter() {} - -func (*ListValidatorsRequest_Genesis) isListValidatorsRequest_QueryFilter() {} - -type GetValidatorRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // Types that are assignable to QueryFilter: - // *GetValidatorRequest_Index - // *GetValidatorRequest_PublicKey - QueryFilter isGetValidatorRequest_QueryFilter `protobuf_oneof:"query_filter"` -} - -func (x *GetValidatorRequest) Reset() { - *x = GetValidatorRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_eth_v1alpha1_beacon_chain_proto_msgTypes[15] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GetValidatorRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetValidatorRequest) ProtoMessage() {} - -func (x *GetValidatorRequest) ProtoReflect() protoreflect.Message { - mi := &file_eth_v1alpha1_beacon_chain_proto_msgTypes[15] - 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 GetValidatorRequest.ProtoReflect.Descriptor instead. -func (*GetValidatorRequest) Descriptor() ([]byte, []int) { - return file_eth_v1alpha1_beacon_chain_proto_rawDescGZIP(), []int{15} -} - -func (m *GetValidatorRequest) GetQueryFilter() isGetValidatorRequest_QueryFilter { - if m != nil { - return m.QueryFilter - } - return nil -} - -func (x *GetValidatorRequest) GetIndex() uint64 { - if x, ok := x.GetQueryFilter().(*GetValidatorRequest_Index); ok { - return x.Index - } - return 0 -} - -func (x *GetValidatorRequest) GetPublicKey() []byte { - if x, ok := x.GetQueryFilter().(*GetValidatorRequest_PublicKey); ok { - return x.PublicKey - } - return nil -} - -type isGetValidatorRequest_QueryFilter interface { - isGetValidatorRequest_QueryFilter() -} - -type GetValidatorRequest_Index struct { - Index uint64 `protobuf:"varint,1,opt,name=index,proto3,oneof"` -} - -type GetValidatorRequest_PublicKey struct { - PublicKey []byte `protobuf:"bytes,2,opt,name=public_key,json=publicKey,proto3,oneof"` -} - -func (*GetValidatorRequest_Index) isGetValidatorRequest_QueryFilter() {} - -func (*GetValidatorRequest_PublicKey) isGetValidatorRequest_QueryFilter() {} - -type Validators struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Epoch uint64 `protobuf:"varint,1,opt,name=epoch,proto3" json:"epoch,omitempty"` - ValidatorList []*Validators_ValidatorContainer `protobuf:"bytes,2,rep,name=validator_list,json=validatorList,proto3" json:"validator_list,omitempty"` - NextPageToken string `protobuf:"bytes,3,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` - TotalSize int32 `protobuf:"varint,4,opt,name=total_size,json=totalSize,proto3" json:"total_size,omitempty"` -} - -func (x *Validators) Reset() { - *x = Validators{} - if protoimpl.UnsafeEnabled { - mi := &file_eth_v1alpha1_beacon_chain_proto_msgTypes[16] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *Validators) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Validators) ProtoMessage() {} - -func (x *Validators) ProtoReflect() protoreflect.Message { - mi := &file_eth_v1alpha1_beacon_chain_proto_msgTypes[16] - 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 Validators.ProtoReflect.Descriptor instead. -func (*Validators) Descriptor() ([]byte, []int) { - return file_eth_v1alpha1_beacon_chain_proto_rawDescGZIP(), []int{16} -} - -func (x *Validators) GetEpoch() uint64 { - if x != nil { - return x.Epoch - } - return 0 -} - -func (x *Validators) GetValidatorList() []*Validators_ValidatorContainer { - if x != nil { - return x.ValidatorList - } - return nil -} - -func (x *Validators) GetNextPageToken() string { - if x != nil { - return x.NextPageToken - } - return "" -} - -func (x *Validators) GetTotalSize() int32 { - if x != nil { - return x.TotalSize - } - return 0 -} - -type GetValidatorActiveSetChangesRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // Types that are assignable to QueryFilter: - // *GetValidatorActiveSetChangesRequest_Epoch - // *GetValidatorActiveSetChangesRequest_Genesis - QueryFilter isGetValidatorActiveSetChangesRequest_QueryFilter `protobuf_oneof:"query_filter"` -} - -func (x *GetValidatorActiveSetChangesRequest) Reset() { - *x = GetValidatorActiveSetChangesRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_eth_v1alpha1_beacon_chain_proto_msgTypes[17] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GetValidatorActiveSetChangesRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetValidatorActiveSetChangesRequest) ProtoMessage() {} - -func (x *GetValidatorActiveSetChangesRequest) ProtoReflect() protoreflect.Message { - mi := &file_eth_v1alpha1_beacon_chain_proto_msgTypes[17] - 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 GetValidatorActiveSetChangesRequest.ProtoReflect.Descriptor instead. -func (*GetValidatorActiveSetChangesRequest) Descriptor() ([]byte, []int) { - return file_eth_v1alpha1_beacon_chain_proto_rawDescGZIP(), []int{17} -} - -func (m *GetValidatorActiveSetChangesRequest) GetQueryFilter() isGetValidatorActiveSetChangesRequest_QueryFilter { - if m != nil { - return m.QueryFilter - } - return nil -} - -func (x *GetValidatorActiveSetChangesRequest) GetEpoch() uint64 { - if x, ok := x.GetQueryFilter().(*GetValidatorActiveSetChangesRequest_Epoch); ok { - return x.Epoch - } - return 0 -} - -func (x *GetValidatorActiveSetChangesRequest) GetGenesis() bool { - if x, ok := x.GetQueryFilter().(*GetValidatorActiveSetChangesRequest_Genesis); ok { - return x.Genesis - } - return false -} - -type isGetValidatorActiveSetChangesRequest_QueryFilter interface { - isGetValidatorActiveSetChangesRequest_QueryFilter() -} - -type GetValidatorActiveSetChangesRequest_Epoch struct { - Epoch uint64 `protobuf:"varint,1,opt,name=epoch,proto3,oneof"` -} - -type GetValidatorActiveSetChangesRequest_Genesis struct { - Genesis bool `protobuf:"varint,2,opt,name=genesis,proto3,oneof"` -} - -func (*GetValidatorActiveSetChangesRequest_Epoch) isGetValidatorActiveSetChangesRequest_QueryFilter() { -} - -func (*GetValidatorActiveSetChangesRequest_Genesis) isGetValidatorActiveSetChangesRequest_QueryFilter() { -} - -type ActiveSetChanges struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Epoch uint64 `protobuf:"varint,1,opt,name=epoch,proto3" json:"epoch,omitempty"` - ActivatedPublicKeys [][]byte `protobuf:"bytes,2,rep,name=activated_public_keys,json=activatedPublicKeys,proto3" json:"activated_public_keys,omitempty"` - ActivatedIndices []uint64 `protobuf:"varint,3,rep,packed,name=activated_indices,json=activatedIndices,proto3" json:"activated_indices,omitempty"` - ExitedPublicKeys [][]byte `protobuf:"bytes,4,rep,name=exited_public_keys,json=exitedPublicKeys,proto3" json:"exited_public_keys,omitempty"` - ExitedIndices []uint64 `protobuf:"varint,5,rep,packed,name=exited_indices,json=exitedIndices,proto3" json:"exited_indices,omitempty"` - SlashedPublicKeys [][]byte `protobuf:"bytes,6,rep,name=slashed_public_keys,json=slashedPublicKeys,proto3" json:"slashed_public_keys,omitempty"` - SlashedIndices []uint64 `protobuf:"varint,7,rep,packed,name=slashed_indices,json=slashedIndices,proto3" json:"slashed_indices,omitempty"` - EjectedPublicKeys [][]byte `protobuf:"bytes,8,rep,name=ejected_public_keys,json=ejectedPublicKeys,proto3" json:"ejected_public_keys,omitempty"` - EjectedIndices []uint64 `protobuf:"varint,9,rep,packed,name=ejected_indices,json=ejectedIndices,proto3" json:"ejected_indices,omitempty"` -} - -func (x *ActiveSetChanges) Reset() { - *x = ActiveSetChanges{} - if protoimpl.UnsafeEnabled { - mi := &file_eth_v1alpha1_beacon_chain_proto_msgTypes[18] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ActiveSetChanges) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ActiveSetChanges) ProtoMessage() {} - -func (x *ActiveSetChanges) ProtoReflect() protoreflect.Message { - mi := &file_eth_v1alpha1_beacon_chain_proto_msgTypes[18] - 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 ActiveSetChanges.ProtoReflect.Descriptor instead. -func (*ActiveSetChanges) Descriptor() ([]byte, []int) { - return file_eth_v1alpha1_beacon_chain_proto_rawDescGZIP(), []int{18} -} - -func (x *ActiveSetChanges) GetEpoch() uint64 { - if x != nil { - return x.Epoch - } - return 0 -} - -func (x *ActiveSetChanges) GetActivatedPublicKeys() [][]byte { - if x != nil { - return x.ActivatedPublicKeys - } - return nil -} - -func (x *ActiveSetChanges) GetActivatedIndices() []uint64 { - if x != nil { - return x.ActivatedIndices - } - return nil -} - -func (x *ActiveSetChanges) GetExitedPublicKeys() [][]byte { - if x != nil { - return x.ExitedPublicKeys - } - return nil -} - -func (x *ActiveSetChanges) GetExitedIndices() []uint64 { - if x != nil { - return x.ExitedIndices - } - return nil -} - -func (x *ActiveSetChanges) GetSlashedPublicKeys() [][]byte { - if x != nil { - return x.SlashedPublicKeys - } - return nil -} - -func (x *ActiveSetChanges) GetSlashedIndices() []uint64 { - if x != nil { - return x.SlashedIndices - } - return nil -} - -func (x *ActiveSetChanges) GetEjectedPublicKeys() [][]byte { - if x != nil { - return x.EjectedPublicKeys - } - return nil -} - -func (x *ActiveSetChanges) GetEjectedIndices() []uint64 { - if x != nil { - return x.EjectedIndices - } - return nil -} - -type ValidatorPerformanceRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // Deprecated: Do not use. - PublicKeys [][]byte `protobuf:"bytes,1,rep,name=public_keys,json=publicKeys,proto3" json:"public_keys,omitempty"` - Indices []uint64 `protobuf:"varint,2,rep,packed,name=indices,proto3" json:"indices,omitempty"` -} - -func (x *ValidatorPerformanceRequest) Reset() { - *x = ValidatorPerformanceRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_eth_v1alpha1_beacon_chain_proto_msgTypes[19] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ValidatorPerformanceRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ValidatorPerformanceRequest) ProtoMessage() {} - -func (x *ValidatorPerformanceRequest) ProtoReflect() protoreflect.Message { - mi := &file_eth_v1alpha1_beacon_chain_proto_msgTypes[19] - 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 ValidatorPerformanceRequest.ProtoReflect.Descriptor instead. -func (*ValidatorPerformanceRequest) Descriptor() ([]byte, []int) { - return file_eth_v1alpha1_beacon_chain_proto_rawDescGZIP(), []int{19} -} - -// Deprecated: Do not use. -func (x *ValidatorPerformanceRequest) GetPublicKeys() [][]byte { - if x != nil { - return x.PublicKeys - } - return nil -} - -func (x *ValidatorPerformanceRequest) GetIndices() []uint64 { - if x != nil { - return x.Indices - } - return nil -} - -type ValidatorPerformanceResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - CurrentEffectiveBalances []uint64 `protobuf:"varint,1,rep,packed,name=current_effective_balances,json=currentEffectiveBalances,proto3" json:"current_effective_balances,omitempty"` - InclusionSlots []uint64 `protobuf:"varint,2,rep,packed,name=inclusion_slots,json=inclusionSlots,proto3" json:"inclusion_slots,omitempty"` - InclusionDistances []uint64 `protobuf:"varint,3,rep,packed,name=inclusion_distances,json=inclusionDistances,proto3" json:"inclusion_distances,omitempty"` - CorrectlyVotedSource []bool `protobuf:"varint,4,rep,packed,name=correctly_voted_source,json=correctlyVotedSource,proto3" json:"correctly_voted_source,omitempty"` - CorrectlyVotedTarget []bool `protobuf:"varint,5,rep,packed,name=correctly_voted_target,json=correctlyVotedTarget,proto3" json:"correctly_voted_target,omitempty"` - CorrectlyVotedHead []bool `protobuf:"varint,6,rep,packed,name=correctly_voted_head,json=correctlyVotedHead,proto3" json:"correctly_voted_head,omitempty"` - BalancesBeforeEpochTransition []uint64 `protobuf:"varint,7,rep,packed,name=balances_before_epoch_transition,json=balancesBeforeEpochTransition,proto3" json:"balances_before_epoch_transition,omitempty"` - BalancesAfterEpochTransition []uint64 `protobuf:"varint,8,rep,packed,name=balances_after_epoch_transition,json=balancesAfterEpochTransition,proto3" json:"balances_after_epoch_transition,omitempty"` - MissingValidators [][]byte `protobuf:"bytes,9,rep,name=missing_validators,json=missingValidators,proto3" json:"missing_validators,omitempty"` - AverageActiveValidatorBalance float32 `protobuf:"fixed32,10,opt,name=average_active_validator_balance,json=averageActiveValidatorBalance,proto3" json:"average_active_validator_balance,omitempty"` - PublicKeys [][]byte `protobuf:"bytes,11,rep,name=public_keys,json=publicKeys,proto3" json:"public_keys,omitempty"` -} - -func (x *ValidatorPerformanceResponse) Reset() { - *x = ValidatorPerformanceResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_eth_v1alpha1_beacon_chain_proto_msgTypes[20] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ValidatorPerformanceResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ValidatorPerformanceResponse) ProtoMessage() {} - -func (x *ValidatorPerformanceResponse) ProtoReflect() protoreflect.Message { - mi := &file_eth_v1alpha1_beacon_chain_proto_msgTypes[20] - 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 ValidatorPerformanceResponse.ProtoReflect.Descriptor instead. -func (*ValidatorPerformanceResponse) Descriptor() ([]byte, []int) { - return file_eth_v1alpha1_beacon_chain_proto_rawDescGZIP(), []int{20} -} - -func (x *ValidatorPerformanceResponse) GetCurrentEffectiveBalances() []uint64 { - if x != nil { - return x.CurrentEffectiveBalances - } - return nil -} - -func (x *ValidatorPerformanceResponse) GetInclusionSlots() []uint64 { - if x != nil { - return x.InclusionSlots - } - return nil -} - -func (x *ValidatorPerformanceResponse) GetInclusionDistances() []uint64 { - if x != nil { - return x.InclusionDistances - } - return nil -} - -func (x *ValidatorPerformanceResponse) GetCorrectlyVotedSource() []bool { - if x != nil { - return x.CorrectlyVotedSource - } - return nil -} - -func (x *ValidatorPerformanceResponse) GetCorrectlyVotedTarget() []bool { - if x != nil { - return x.CorrectlyVotedTarget - } - return nil -} - -func (x *ValidatorPerformanceResponse) GetCorrectlyVotedHead() []bool { - if x != nil { - return x.CorrectlyVotedHead - } - return nil -} - -func (x *ValidatorPerformanceResponse) GetBalancesBeforeEpochTransition() []uint64 { - if x != nil { - return x.BalancesBeforeEpochTransition - } - return nil -} - -func (x *ValidatorPerformanceResponse) GetBalancesAfterEpochTransition() []uint64 { - if x != nil { - return x.BalancesAfterEpochTransition - } - return nil -} - -func (x *ValidatorPerformanceResponse) GetMissingValidators() [][]byte { - if x != nil { - return x.MissingValidators - } - return nil -} - -func (x *ValidatorPerformanceResponse) GetAverageActiveValidatorBalance() float32 { - if x != nil { - return x.AverageActiveValidatorBalance - } - return 0 -} - -func (x *ValidatorPerformanceResponse) GetPublicKeys() [][]byte { - if x != nil { - return x.PublicKeys - } - return nil -} - -type ValidatorQueue struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - ChurnLimit uint64 `protobuf:"varint,1,opt,name=churn_limit,json=churnLimit,proto3" json:"churn_limit,omitempty"` - // Deprecated: Do not use. - ActivationPublicKeys [][]byte `protobuf:"bytes,2,rep,name=activation_public_keys,json=activationPublicKeys,proto3" json:"activation_public_keys,omitempty"` - // Deprecated: Do not use. - ExitPublicKeys [][]byte `protobuf:"bytes,3,rep,name=exit_public_keys,json=exitPublicKeys,proto3" json:"exit_public_keys,omitempty"` - ActivationValidatorIndices []uint64 `protobuf:"varint,4,rep,packed,name=activation_validator_indices,json=activationValidatorIndices,proto3" json:"activation_validator_indices,omitempty"` - ExitValidatorIndices []uint64 `protobuf:"varint,5,rep,packed,name=exit_validator_indices,json=exitValidatorIndices,proto3" json:"exit_validator_indices,omitempty"` -} - -func (x *ValidatorQueue) Reset() { - *x = ValidatorQueue{} - if protoimpl.UnsafeEnabled { - mi := &file_eth_v1alpha1_beacon_chain_proto_msgTypes[21] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ValidatorQueue) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ValidatorQueue) ProtoMessage() {} - -func (x *ValidatorQueue) ProtoReflect() protoreflect.Message { - mi := &file_eth_v1alpha1_beacon_chain_proto_msgTypes[21] - 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 ValidatorQueue.ProtoReflect.Descriptor instead. -func (*ValidatorQueue) Descriptor() ([]byte, []int) { - return file_eth_v1alpha1_beacon_chain_proto_rawDescGZIP(), []int{21} -} - -func (x *ValidatorQueue) GetChurnLimit() uint64 { - if x != nil { - return x.ChurnLimit - } - return 0 -} - -// Deprecated: Do not use. -func (x *ValidatorQueue) GetActivationPublicKeys() [][]byte { - if x != nil { - return x.ActivationPublicKeys - } - return nil -} - -// Deprecated: Do not use. -func (x *ValidatorQueue) GetExitPublicKeys() [][]byte { - if x != nil { - return x.ExitPublicKeys - } - return nil -} - -func (x *ValidatorQueue) GetActivationValidatorIndices() []uint64 { - if x != nil { - return x.ActivationValidatorIndices - } - return nil -} - -func (x *ValidatorQueue) GetExitValidatorIndices() []uint64 { - if x != nil { - return x.ExitValidatorIndices - } - return nil -} - -type ListValidatorAssignmentsRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // Types that are assignable to QueryFilter: - // *ListValidatorAssignmentsRequest_Epoch - // *ListValidatorAssignmentsRequest_Genesis - QueryFilter isListValidatorAssignmentsRequest_QueryFilter `protobuf_oneof:"query_filter"` - PublicKeys [][]byte `protobuf:"bytes,3,rep,name=public_keys,json=publicKeys,proto3" json:"public_keys,omitempty"` - Indices []uint64 `protobuf:"varint,4,rep,packed,name=indices,proto3" json:"indices,omitempty"` - PageSize int32 `protobuf:"varint,5,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` - PageToken string `protobuf:"bytes,6,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` -} - -func (x *ListValidatorAssignmentsRequest) Reset() { - *x = ListValidatorAssignmentsRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_eth_v1alpha1_beacon_chain_proto_msgTypes[22] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ListValidatorAssignmentsRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ListValidatorAssignmentsRequest) ProtoMessage() {} - -func (x *ListValidatorAssignmentsRequest) ProtoReflect() protoreflect.Message { - mi := &file_eth_v1alpha1_beacon_chain_proto_msgTypes[22] - 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 ListValidatorAssignmentsRequest.ProtoReflect.Descriptor instead. -func (*ListValidatorAssignmentsRequest) Descriptor() ([]byte, []int) { - return file_eth_v1alpha1_beacon_chain_proto_rawDescGZIP(), []int{22} -} - -func (m *ListValidatorAssignmentsRequest) GetQueryFilter() isListValidatorAssignmentsRequest_QueryFilter { - if m != nil { - return m.QueryFilter - } - return nil -} - -func (x *ListValidatorAssignmentsRequest) GetEpoch() uint64 { - if x, ok := x.GetQueryFilter().(*ListValidatorAssignmentsRequest_Epoch); ok { - return x.Epoch - } - return 0 -} - -func (x *ListValidatorAssignmentsRequest) GetGenesis() bool { - if x, ok := x.GetQueryFilter().(*ListValidatorAssignmentsRequest_Genesis); ok { - return x.Genesis - } - return false -} - -func (x *ListValidatorAssignmentsRequest) GetPublicKeys() [][]byte { - if x != nil { - return x.PublicKeys - } - return nil -} - -func (x *ListValidatorAssignmentsRequest) GetIndices() []uint64 { - if x != nil { - return x.Indices - } - return nil -} - -func (x *ListValidatorAssignmentsRequest) GetPageSize() int32 { - if x != nil { - return x.PageSize - } - return 0 -} - -func (x *ListValidatorAssignmentsRequest) GetPageToken() string { - if x != nil { - return x.PageToken - } - return "" -} - -type isListValidatorAssignmentsRequest_QueryFilter interface { - isListValidatorAssignmentsRequest_QueryFilter() -} - -type ListValidatorAssignmentsRequest_Epoch struct { - Epoch uint64 `protobuf:"varint,1,opt,name=epoch,proto3,oneof"` -} - -type ListValidatorAssignmentsRequest_Genesis struct { - Genesis bool `protobuf:"varint,2,opt,name=genesis,proto3,oneof"` -} - -func (*ListValidatorAssignmentsRequest_Epoch) isListValidatorAssignmentsRequest_QueryFilter() {} - -func (*ListValidatorAssignmentsRequest_Genesis) isListValidatorAssignmentsRequest_QueryFilter() {} - -type ValidatorAssignments struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Epoch uint64 `protobuf:"varint,1,opt,name=epoch,proto3" json:"epoch,omitempty"` - Assignments []*ValidatorAssignments_CommitteeAssignment `protobuf:"bytes,2,rep,name=assignments,proto3" json:"assignments,omitempty"` - NextPageToken string `protobuf:"bytes,3,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` - TotalSize int32 `protobuf:"varint,4,opt,name=total_size,json=totalSize,proto3" json:"total_size,omitempty"` -} - -func (x *ValidatorAssignments) Reset() { - *x = ValidatorAssignments{} - if protoimpl.UnsafeEnabled { - mi := &file_eth_v1alpha1_beacon_chain_proto_msgTypes[23] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ValidatorAssignments) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ValidatorAssignments) ProtoMessage() {} - -func (x *ValidatorAssignments) ProtoReflect() protoreflect.Message { - mi := &file_eth_v1alpha1_beacon_chain_proto_msgTypes[23] - 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 ValidatorAssignments.ProtoReflect.Descriptor instead. -func (*ValidatorAssignments) Descriptor() ([]byte, []int) { - return file_eth_v1alpha1_beacon_chain_proto_rawDescGZIP(), []int{23} -} - -func (x *ValidatorAssignments) GetEpoch() uint64 { - if x != nil { - return x.Epoch - } - return 0 -} - -func (x *ValidatorAssignments) GetAssignments() []*ValidatorAssignments_CommitteeAssignment { - if x != nil { - return x.Assignments - } - return nil -} - -func (x *ValidatorAssignments) GetNextPageToken() string { - if x != nil { - return x.NextPageToken - } - return "" -} - -func (x *ValidatorAssignments) GetTotalSize() int32 { - if x != nil { - return x.TotalSize - } - return 0 -} - -type GetValidatorParticipationRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // Types that are assignable to QueryFilter: - // *GetValidatorParticipationRequest_Epoch - // *GetValidatorParticipationRequest_Genesis - QueryFilter isGetValidatorParticipationRequest_QueryFilter `protobuf_oneof:"query_filter"` -} - -func (x *GetValidatorParticipationRequest) Reset() { - *x = GetValidatorParticipationRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_eth_v1alpha1_beacon_chain_proto_msgTypes[24] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GetValidatorParticipationRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetValidatorParticipationRequest) ProtoMessage() {} - -func (x *GetValidatorParticipationRequest) ProtoReflect() protoreflect.Message { - mi := &file_eth_v1alpha1_beacon_chain_proto_msgTypes[24] - 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 GetValidatorParticipationRequest.ProtoReflect.Descriptor instead. -func (*GetValidatorParticipationRequest) Descriptor() ([]byte, []int) { - return file_eth_v1alpha1_beacon_chain_proto_rawDescGZIP(), []int{24} -} - -func (m *GetValidatorParticipationRequest) GetQueryFilter() isGetValidatorParticipationRequest_QueryFilter { - if m != nil { - return m.QueryFilter - } - return nil -} - -func (x *GetValidatorParticipationRequest) GetEpoch() uint64 { - if x, ok := x.GetQueryFilter().(*GetValidatorParticipationRequest_Epoch); ok { - return x.Epoch - } - return 0 -} - -func (x *GetValidatorParticipationRequest) GetGenesis() bool { - if x, ok := x.GetQueryFilter().(*GetValidatorParticipationRequest_Genesis); ok { - return x.Genesis - } - return false -} - -type isGetValidatorParticipationRequest_QueryFilter interface { - isGetValidatorParticipationRequest_QueryFilter() -} - -type GetValidatorParticipationRequest_Epoch struct { - Epoch uint64 `protobuf:"varint,1,opt,name=epoch,proto3,oneof"` -} - -type GetValidatorParticipationRequest_Genesis struct { - Genesis bool `protobuf:"varint,2,opt,name=genesis,proto3,oneof"` -} - -func (*GetValidatorParticipationRequest_Epoch) isGetValidatorParticipationRequest_QueryFilter() {} - -func (*GetValidatorParticipationRequest_Genesis) isGetValidatorParticipationRequest_QueryFilter() {} - -type ValidatorParticipationResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Epoch uint64 `protobuf:"varint,1,opt,name=epoch,proto3" json:"epoch,omitempty"` - Finalized bool `protobuf:"varint,2,opt,name=finalized,proto3" json:"finalized,omitempty"` - Participation *ValidatorParticipation `protobuf:"bytes,3,opt,name=participation,proto3" json:"participation,omitempty"` -} - -func (x *ValidatorParticipationResponse) Reset() { - *x = ValidatorParticipationResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_eth_v1alpha1_beacon_chain_proto_msgTypes[25] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ValidatorParticipationResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ValidatorParticipationResponse) ProtoMessage() {} - -func (x *ValidatorParticipationResponse) ProtoReflect() protoreflect.Message { - mi := &file_eth_v1alpha1_beacon_chain_proto_msgTypes[25] - 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 ValidatorParticipationResponse.ProtoReflect.Descriptor instead. -func (*ValidatorParticipationResponse) Descriptor() ([]byte, []int) { - return file_eth_v1alpha1_beacon_chain_proto_rawDescGZIP(), []int{25} -} - -func (x *ValidatorParticipationResponse) GetEpoch() uint64 { - if x != nil { - return x.Epoch - } - return 0 -} - -func (x *ValidatorParticipationResponse) GetFinalized() bool { - if x != nil { - return x.Finalized - } - return false -} - -func (x *ValidatorParticipationResponse) GetParticipation() *ValidatorParticipation { - if x != nil { - return x.Participation - } - return nil -} - -type AttestationPoolRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - PageSize int32 `protobuf:"varint,1,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` - PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` -} - -func (x *AttestationPoolRequest) Reset() { - *x = AttestationPoolRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_eth_v1alpha1_beacon_chain_proto_msgTypes[26] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *AttestationPoolRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*AttestationPoolRequest) ProtoMessage() {} - -func (x *AttestationPoolRequest) ProtoReflect() protoreflect.Message { - mi := &file_eth_v1alpha1_beacon_chain_proto_msgTypes[26] - 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 AttestationPoolRequest.ProtoReflect.Descriptor instead. -func (*AttestationPoolRequest) Descriptor() ([]byte, []int) { - return file_eth_v1alpha1_beacon_chain_proto_rawDescGZIP(), []int{26} -} - -func (x *AttestationPoolRequest) GetPageSize() int32 { - if x != nil { - return x.PageSize - } - return 0 -} - -func (x *AttestationPoolRequest) GetPageToken() string { - if x != nil { - return x.PageToken - } - return "" -} - -type AttestationPoolResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Attestations []*Attestation `protobuf:"bytes,1,rep,name=attestations,proto3" json:"attestations,omitempty"` - NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` - TotalSize int32 `protobuf:"varint,3,opt,name=total_size,json=totalSize,proto3" json:"total_size,omitempty"` -} - -func (x *AttestationPoolResponse) Reset() { - *x = AttestationPoolResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_eth_v1alpha1_beacon_chain_proto_msgTypes[27] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *AttestationPoolResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*AttestationPoolResponse) ProtoMessage() {} - -func (x *AttestationPoolResponse) ProtoReflect() protoreflect.Message { - mi := &file_eth_v1alpha1_beacon_chain_proto_msgTypes[27] - 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 AttestationPoolResponse.ProtoReflect.Descriptor instead. -func (*AttestationPoolResponse) Descriptor() ([]byte, []int) { - return file_eth_v1alpha1_beacon_chain_proto_rawDescGZIP(), []int{27} -} - -func (x *AttestationPoolResponse) GetAttestations() []*Attestation { - if x != nil { - return x.Attestations - } - return nil -} - -func (x *AttestationPoolResponse) GetNextPageToken() string { - if x != nil { - return x.NextPageToken - } - return "" -} - -func (x *AttestationPoolResponse) GetTotalSize() int32 { - if x != nil { - return x.TotalSize - } - return 0 -} - -type BeaconConfig struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Config map[string]string `protobuf:"bytes,1,rep,name=config,proto3" json:"config,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` -} - -func (x *BeaconConfig) Reset() { - *x = BeaconConfig{} - if protoimpl.UnsafeEnabled { - mi := &file_eth_v1alpha1_beacon_chain_proto_msgTypes[28] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *BeaconConfig) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*BeaconConfig) ProtoMessage() {} - -func (x *BeaconConfig) ProtoReflect() protoreflect.Message { - mi := &file_eth_v1alpha1_beacon_chain_proto_msgTypes[28] - 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 BeaconConfig.ProtoReflect.Descriptor instead. -func (*BeaconConfig) Descriptor() ([]byte, []int) { - return file_eth_v1alpha1_beacon_chain_proto_rawDescGZIP(), []int{28} -} - -func (x *BeaconConfig) GetConfig() map[string]string { - if x != nil { - return x.Config - } - return nil -} - -type SubmitSlashingResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - SlashedIndices []uint64 `protobuf:"varint,1,rep,packed,name=slashed_indices,json=slashedIndices,proto3" json:"slashed_indices,omitempty"` -} - -func (x *SubmitSlashingResponse) Reset() { - *x = SubmitSlashingResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_eth_v1alpha1_beacon_chain_proto_msgTypes[29] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SubmitSlashingResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SubmitSlashingResponse) ProtoMessage() {} - -func (x *SubmitSlashingResponse) ProtoReflect() protoreflect.Message { - mi := &file_eth_v1alpha1_beacon_chain_proto_msgTypes[29] - 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 SubmitSlashingResponse.ProtoReflect.Descriptor instead. -func (*SubmitSlashingResponse) Descriptor() ([]byte, []int) { - return file_eth_v1alpha1_beacon_chain_proto_rawDescGZIP(), []int{29} -} - -func (x *SubmitSlashingResponse) GetSlashedIndices() []uint64 { - if x != nil { - return x.SlashedIndices - } - return nil -} - -type IndividualVotesRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Epoch uint64 `protobuf:"varint,1,opt,name=epoch,proto3" json:"epoch,omitempty"` - PublicKeys [][]byte `protobuf:"bytes,2,rep,name=public_keys,json=publicKeys,proto3" json:"public_keys,omitempty"` - Indices []uint64 `protobuf:"varint,3,rep,packed,name=indices,proto3" json:"indices,omitempty"` -} - -func (x *IndividualVotesRequest) Reset() { - *x = IndividualVotesRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_eth_v1alpha1_beacon_chain_proto_msgTypes[30] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *IndividualVotesRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*IndividualVotesRequest) ProtoMessage() {} - -func (x *IndividualVotesRequest) ProtoReflect() protoreflect.Message { - mi := &file_eth_v1alpha1_beacon_chain_proto_msgTypes[30] - 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 IndividualVotesRequest.ProtoReflect.Descriptor instead. -func (*IndividualVotesRequest) Descriptor() ([]byte, []int) { - return file_eth_v1alpha1_beacon_chain_proto_rawDescGZIP(), []int{30} -} - -func (x *IndividualVotesRequest) GetEpoch() uint64 { - if x != nil { - return x.Epoch - } - return 0 -} - -func (x *IndividualVotesRequest) GetPublicKeys() [][]byte { - if x != nil { - return x.PublicKeys - } - return nil -} - -func (x *IndividualVotesRequest) GetIndices() []uint64 { - if x != nil { - return x.Indices - } - return nil -} - -type IndividualVotesRespond struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - IndividualVotes []*IndividualVotesRespond_IndividualVote `protobuf:"bytes,1,rep,name=individual_votes,json=individualVotes,proto3" json:"individual_votes,omitempty"` -} - -func (x *IndividualVotesRespond) Reset() { - *x = IndividualVotesRespond{} - if protoimpl.UnsafeEnabled { - mi := &file_eth_v1alpha1_beacon_chain_proto_msgTypes[31] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *IndividualVotesRespond) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*IndividualVotesRespond) ProtoMessage() {} - -func (x *IndividualVotesRespond) ProtoReflect() protoreflect.Message { - mi := &file_eth_v1alpha1_beacon_chain_proto_msgTypes[31] - 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 IndividualVotesRespond.ProtoReflect.Descriptor instead. -func (*IndividualVotesRespond) Descriptor() ([]byte, []int) { - return file_eth_v1alpha1_beacon_chain_proto_rawDescGZIP(), []int{31} -} - -func (x *IndividualVotesRespond) GetIndividualVotes() []*IndividualVotesRespond_IndividualVote { - if x != nil { - return x.IndividualVotes - } - return nil -} - -type WeakSubjectivityCheckpoint struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - BlockRoot []byte `protobuf:"bytes,1,opt,name=block_root,json=blockRoot,proto3" json:"block_root,omitempty"` - StateRoot []byte `protobuf:"bytes,2,opt,name=state_root,json=stateRoot,proto3" json:"state_root,omitempty"` - Epoch uint64 `protobuf:"varint,3,opt,name=epoch,proto3" json:"epoch,omitempty"` -} - -func (x *WeakSubjectivityCheckpoint) Reset() { - *x = WeakSubjectivityCheckpoint{} - if protoimpl.UnsafeEnabled { - mi := &file_eth_v1alpha1_beacon_chain_proto_msgTypes[32] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *WeakSubjectivityCheckpoint) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*WeakSubjectivityCheckpoint) ProtoMessage() {} - -func (x *WeakSubjectivityCheckpoint) ProtoReflect() protoreflect.Message { - mi := &file_eth_v1alpha1_beacon_chain_proto_msgTypes[32] - 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 WeakSubjectivityCheckpoint.ProtoReflect.Descriptor instead. -func (*WeakSubjectivityCheckpoint) Descriptor() ([]byte, []int) { - return file_eth_v1alpha1_beacon_chain_proto_rawDescGZIP(), []int{32} -} - -func (x *WeakSubjectivityCheckpoint) GetBlockRoot() []byte { - if x != nil { - return x.BlockRoot - } - return nil -} - -func (x *WeakSubjectivityCheckpoint) GetStateRoot() []byte { - if x != nil { - return x.StateRoot - } - return nil -} - -func (x *WeakSubjectivityCheckpoint) GetEpoch() uint64 { - if x != nil { - return x.Epoch - } - return 0 -} - -type BeaconCommittees_CommitteeItem struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - ValidatorIndices []uint64 `protobuf:"varint,1,rep,packed,name=validator_indices,json=validatorIndices,proto3" json:"validator_indices,omitempty"` -} - -func (x *BeaconCommittees_CommitteeItem) Reset() { - *x = BeaconCommittees_CommitteeItem{} - if protoimpl.UnsafeEnabled { - mi := &file_eth_v1alpha1_beacon_chain_proto_msgTypes[33] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *BeaconCommittees_CommitteeItem) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*BeaconCommittees_CommitteeItem) ProtoMessage() {} - -func (x *BeaconCommittees_CommitteeItem) ProtoReflect() protoreflect.Message { - mi := &file_eth_v1alpha1_beacon_chain_proto_msgTypes[33] - 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 BeaconCommittees_CommitteeItem.ProtoReflect.Descriptor instead. -func (*BeaconCommittees_CommitteeItem) Descriptor() ([]byte, []int) { - return file_eth_v1alpha1_beacon_chain_proto_rawDescGZIP(), []int{11, 0} -} - -func (x *BeaconCommittees_CommitteeItem) GetValidatorIndices() []uint64 { - if x != nil { - return x.ValidatorIndices - } - return nil -} - -type BeaconCommittees_CommitteesList struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Committees []*BeaconCommittees_CommitteeItem `protobuf:"bytes,1,rep,name=committees,proto3" json:"committees,omitempty"` -} - -func (x *BeaconCommittees_CommitteesList) Reset() { - *x = BeaconCommittees_CommitteesList{} - if protoimpl.UnsafeEnabled { - mi := &file_eth_v1alpha1_beacon_chain_proto_msgTypes[34] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *BeaconCommittees_CommitteesList) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*BeaconCommittees_CommitteesList) ProtoMessage() {} - -func (x *BeaconCommittees_CommitteesList) ProtoReflect() protoreflect.Message { - mi := &file_eth_v1alpha1_beacon_chain_proto_msgTypes[34] - 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 BeaconCommittees_CommitteesList.ProtoReflect.Descriptor instead. -func (*BeaconCommittees_CommitteesList) Descriptor() ([]byte, []int) { - return file_eth_v1alpha1_beacon_chain_proto_rawDescGZIP(), []int{11, 1} -} - -func (x *BeaconCommittees_CommitteesList) GetCommittees() []*BeaconCommittees_CommitteeItem { - if x != nil { - return x.Committees - } - return nil -} - -type ValidatorBalances_Balance 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"` - Index uint64 `protobuf:"varint,2,opt,name=index,proto3" json:"index,omitempty"` - Balance uint64 `protobuf:"varint,3,opt,name=balance,proto3" json:"balance,omitempty"` - Status string `protobuf:"bytes,4,opt,name=status,proto3" json:"status,omitempty"` -} - -func (x *ValidatorBalances_Balance) Reset() { - *x = ValidatorBalances_Balance{} - if protoimpl.UnsafeEnabled { - mi := &file_eth_v1alpha1_beacon_chain_proto_msgTypes[36] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ValidatorBalances_Balance) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ValidatorBalances_Balance) ProtoMessage() {} - -func (x *ValidatorBalances_Balance) ProtoReflect() protoreflect.Message { - mi := &file_eth_v1alpha1_beacon_chain_proto_msgTypes[36] - 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 ValidatorBalances_Balance.ProtoReflect.Descriptor instead. -func (*ValidatorBalances_Balance) Descriptor() ([]byte, []int) { - return file_eth_v1alpha1_beacon_chain_proto_rawDescGZIP(), []int{13, 0} -} - -func (x *ValidatorBalances_Balance) GetPublicKey() []byte { - if x != nil { - return x.PublicKey - } - return nil -} - -func (x *ValidatorBalances_Balance) GetIndex() uint64 { - if x != nil { - return x.Index - } - return 0 -} - -func (x *ValidatorBalances_Balance) GetBalance() uint64 { - if x != nil { - return x.Balance - } - return 0 -} - -func (x *ValidatorBalances_Balance) GetStatus() string { - if x != nil { - return x.Status - } - return "" -} - -type Validators_ValidatorContainer struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Index uint64 `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty"` - Validator *Validator `protobuf:"bytes,2,opt,name=validator,proto3" json:"validator,omitempty"` -} - -func (x *Validators_ValidatorContainer) Reset() { - *x = Validators_ValidatorContainer{} - if protoimpl.UnsafeEnabled { - mi := &file_eth_v1alpha1_beacon_chain_proto_msgTypes[37] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *Validators_ValidatorContainer) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Validators_ValidatorContainer) ProtoMessage() {} - -func (x *Validators_ValidatorContainer) ProtoReflect() protoreflect.Message { - mi := &file_eth_v1alpha1_beacon_chain_proto_msgTypes[37] - 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 Validators_ValidatorContainer.ProtoReflect.Descriptor instead. -func (*Validators_ValidatorContainer) Descriptor() ([]byte, []int) { - return file_eth_v1alpha1_beacon_chain_proto_rawDescGZIP(), []int{16, 0} -} - -func (x *Validators_ValidatorContainer) GetIndex() uint64 { - if x != nil { - return x.Index - } - return 0 -} - -func (x *Validators_ValidatorContainer) GetValidator() *Validator { - if x != nil { - return x.Validator - } - return nil -} - -type ValidatorAssignments_CommitteeAssignment struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - BeaconCommittees []uint64 `protobuf:"varint,1,rep,packed,name=beacon_committees,json=beaconCommittees,proto3" json:"beacon_committees,omitempty"` - CommitteeIndex uint64 `protobuf:"varint,2,opt,name=committee_index,json=committeeIndex,proto3" json:"committee_index,omitempty"` - AttesterSlot uint64 `protobuf:"varint,3,opt,name=attester_slot,json=attesterSlot,proto3" json:"attester_slot,omitempty"` - ProposerSlots []uint64 `protobuf:"varint,4,rep,packed,name=proposer_slots,json=proposerSlots,proto3" json:"proposer_slots,omitempty"` - // Deprecated: Do not use. - PublicKey []byte `protobuf:"bytes,5,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"` - ValidatorIndex uint64 `protobuf:"varint,6,opt,name=validator_index,json=validatorIndex,proto3" json:"validator_index,omitempty"` -} - -func (x *ValidatorAssignments_CommitteeAssignment) Reset() { - *x = ValidatorAssignments_CommitteeAssignment{} - if protoimpl.UnsafeEnabled { - mi := &file_eth_v1alpha1_beacon_chain_proto_msgTypes[38] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ValidatorAssignments_CommitteeAssignment) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ValidatorAssignments_CommitteeAssignment) ProtoMessage() {} - -func (x *ValidatorAssignments_CommitteeAssignment) ProtoReflect() protoreflect.Message { - mi := &file_eth_v1alpha1_beacon_chain_proto_msgTypes[38] - 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 ValidatorAssignments_CommitteeAssignment.ProtoReflect.Descriptor instead. -func (*ValidatorAssignments_CommitteeAssignment) Descriptor() ([]byte, []int) { - return file_eth_v1alpha1_beacon_chain_proto_rawDescGZIP(), []int{23, 0} -} - -func (x *ValidatorAssignments_CommitteeAssignment) GetBeaconCommittees() []uint64 { - if x != nil { - return x.BeaconCommittees - } - return nil -} - -func (x *ValidatorAssignments_CommitteeAssignment) GetCommitteeIndex() uint64 { - if x != nil { - return x.CommitteeIndex - } - return 0 -} - -func (x *ValidatorAssignments_CommitteeAssignment) GetAttesterSlot() uint64 { - if x != nil { - return x.AttesterSlot - } - return 0 -} - -func (x *ValidatorAssignments_CommitteeAssignment) GetProposerSlots() []uint64 { - if x != nil { - return x.ProposerSlots - } - return nil -} - -// Deprecated: Do not use. -func (x *ValidatorAssignments_CommitteeAssignment) GetPublicKey() []byte { - if x != nil { - return x.PublicKey - } - return nil -} - -func (x *ValidatorAssignments_CommitteeAssignment) GetValidatorIndex() uint64 { - if x != nil { - return x.ValidatorIndex - } - return 0 -} - -type IndividualVotesRespond_IndividualVote struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Epoch uint64 `protobuf:"varint,1,opt,name=epoch,proto3" json:"epoch,omitempty"` - PublicKey []byte `protobuf:"bytes,2,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"` - ValidatorIndex uint64 `protobuf:"varint,3,opt,name=validator_index,json=validatorIndex,proto3" json:"validator_index,omitempty"` - IsSlashed bool `protobuf:"varint,4,opt,name=is_slashed,json=isSlashed,proto3" json:"is_slashed,omitempty"` - IsWithdrawableInCurrentEpoch bool `protobuf:"varint,5,opt,name=is_withdrawable_in_current_epoch,json=isWithdrawableInCurrentEpoch,proto3" json:"is_withdrawable_in_current_epoch,omitempty"` - IsActiveInCurrentEpoch bool `protobuf:"varint,6,opt,name=is_active_in_current_epoch,json=isActiveInCurrentEpoch,proto3" json:"is_active_in_current_epoch,omitempty"` - IsActiveInPreviousEpoch bool `protobuf:"varint,7,opt,name=is_active_in_previous_epoch,json=isActiveInPreviousEpoch,proto3" json:"is_active_in_previous_epoch,omitempty"` - IsCurrentEpochAttester bool `protobuf:"varint,8,opt,name=is_current_epoch_attester,json=isCurrentEpochAttester,proto3" json:"is_current_epoch_attester,omitempty"` - IsCurrentEpochTargetAttester bool `protobuf:"varint,9,opt,name=is_current_epoch_target_attester,json=isCurrentEpochTargetAttester,proto3" json:"is_current_epoch_target_attester,omitempty"` - IsPreviousEpochAttester bool `protobuf:"varint,10,opt,name=is_previous_epoch_attester,json=isPreviousEpochAttester,proto3" json:"is_previous_epoch_attester,omitempty"` - IsPreviousEpochTargetAttester bool `protobuf:"varint,11,opt,name=is_previous_epoch_target_attester,json=isPreviousEpochTargetAttester,proto3" json:"is_previous_epoch_target_attester,omitempty"` - IsPreviousEpochHeadAttester bool `protobuf:"varint,12,opt,name=is_previous_epoch_head_attester,json=isPreviousEpochHeadAttester,proto3" json:"is_previous_epoch_head_attester,omitempty"` - CurrentEpochEffectiveBalanceGwei uint64 `protobuf:"varint,13,opt,name=current_epoch_effective_balance_gwei,json=currentEpochEffectiveBalanceGwei,proto3" json:"current_epoch_effective_balance_gwei,omitempty"` - InclusionSlot uint64 `protobuf:"varint,14,opt,name=inclusion_slot,json=inclusionSlot,proto3" json:"inclusion_slot,omitempty"` - InclusionDistance uint64 `protobuf:"varint,15,opt,name=inclusion_distance,json=inclusionDistance,proto3" json:"inclusion_distance,omitempty"` -} - -func (x *IndividualVotesRespond_IndividualVote) Reset() { - *x = IndividualVotesRespond_IndividualVote{} - if protoimpl.UnsafeEnabled { - mi := &file_eth_v1alpha1_beacon_chain_proto_msgTypes[40] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *IndividualVotesRespond_IndividualVote) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*IndividualVotesRespond_IndividualVote) ProtoMessage() {} - -func (x *IndividualVotesRespond_IndividualVote) ProtoReflect() protoreflect.Message { - mi := &file_eth_v1alpha1_beacon_chain_proto_msgTypes[40] - 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 IndividualVotesRespond_IndividualVote.ProtoReflect.Descriptor instead. -func (*IndividualVotesRespond_IndividualVote) Descriptor() ([]byte, []int) { - return file_eth_v1alpha1_beacon_chain_proto_rawDescGZIP(), []int{31, 0} -} - -func (x *IndividualVotesRespond_IndividualVote) GetEpoch() uint64 { - if x != nil { - return x.Epoch - } - return 0 -} - -func (x *IndividualVotesRespond_IndividualVote) GetPublicKey() []byte { - if x != nil { - return x.PublicKey - } - return nil -} - -func (x *IndividualVotesRespond_IndividualVote) GetValidatorIndex() uint64 { - if x != nil { - return x.ValidatorIndex - } - return 0 -} - -func (x *IndividualVotesRespond_IndividualVote) GetIsSlashed() bool { - if x != nil { - return x.IsSlashed - } - return false -} - -func (x *IndividualVotesRespond_IndividualVote) GetIsWithdrawableInCurrentEpoch() bool { - if x != nil { - return x.IsWithdrawableInCurrentEpoch - } - return false -} - -func (x *IndividualVotesRespond_IndividualVote) GetIsActiveInCurrentEpoch() bool { - if x != nil { - return x.IsActiveInCurrentEpoch - } - return false -} - -func (x *IndividualVotesRespond_IndividualVote) GetIsActiveInPreviousEpoch() bool { - if x != nil { - return x.IsActiveInPreviousEpoch - } - return false -} - -func (x *IndividualVotesRespond_IndividualVote) GetIsCurrentEpochAttester() bool { - if x != nil { - return x.IsCurrentEpochAttester - } - return false -} - -func (x *IndividualVotesRespond_IndividualVote) GetIsCurrentEpochTargetAttester() bool { - if x != nil { - return x.IsCurrentEpochTargetAttester - } - return false -} - -func (x *IndividualVotesRespond_IndividualVote) GetIsPreviousEpochAttester() bool { - if x != nil { - return x.IsPreviousEpochAttester - } - return false -} - -func (x *IndividualVotesRespond_IndividualVote) GetIsPreviousEpochTargetAttester() bool { - if x != nil { - return x.IsPreviousEpochTargetAttester - } - return false -} - -func (x *IndividualVotesRespond_IndividualVote) GetIsPreviousEpochHeadAttester() bool { - if x != nil { - return x.IsPreviousEpochHeadAttester - } - return false -} - -func (x *IndividualVotesRespond_IndividualVote) GetCurrentEpochEffectiveBalanceGwei() uint64 { - if x != nil { - return x.CurrentEpochEffectiveBalanceGwei - } - return 0 -} - -func (x *IndividualVotesRespond_IndividualVote) GetInclusionSlot() uint64 { - if x != nil { - return x.InclusionSlot - } - return 0 -} - -func (x *IndividualVotesRespond_IndividualVote) GetInclusionDistance() uint64 { - if x != nil { - return x.InclusionDistance - } - return 0 -} - -var File_eth_v1alpha1_beacon_chain_proto protoreflect.FileDescriptor - -var file_eth_v1alpha1_beacon_chain_proto_rawDesc = []byte{ - 0x0a, 0x1f, 0x65, 0x74, 0x68, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2f, 0x62, - 0x65, 0x61, 0x63, 0x6f, 0x6e, 0x5f, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x12, 0x15, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, - 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x1a, 0x2d, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, - 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x67, 0x6f, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, - 0x75, 0x66, 0x2f, 0x67, 0x6f, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x67, - 0x6f, 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, 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, 0x65, 0x74, 0x68, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, - 0x31, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x22, 0x6f, 0x0a, 0x12, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x43, 0x68, - 0x61, 0x6e, 0x67, 0x65, 0x53, 0x65, 0x74, 0x12, 0x38, 0x0a, 0x06, 0x61, 0x63, 0x74, 0x69, 0x6f, - 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x20, 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, - 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, - 0x53, 0x65, 0x74, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x06, 0x61, 0x63, 0x74, 0x69, 0x6f, - 0x6e, 0x12, 0x1f, 0x0a, 0x0b, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x5f, 0x6b, 0x65, 0x79, 0x73, - 0x18, 0x02, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x0a, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4b, 0x65, - 0x79, 0x73, 0x22, 0xda, 0x01, 0x0a, 0x1e, 0x4c, 0x69, 0x73, 0x74, 0x49, 0x6e, 0x64, 0x65, 0x78, - 0x65, 0x64, 0x41, 0x74, 0x74, 0x65, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x45, 0x0a, 0x05, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x04, 0x42, 0x2d, 0xfa, 0xde, 0x1f, 0x29, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, - 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x72, 0x79, 0x73, 0x6d, 0x61, 0x74, 0x69, 0x63, 0x6c, 0x61, - 0x62, 0x73, 0x2f, 0x65, 0x74, 0x68, 0x32, 0x2d, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x45, 0x70, - 0x6f, 0x63, 0x68, 0x48, 0x00, 0x52, 0x05, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x12, 0x25, 0x0a, 0x0d, - 0x67, 0x65, 0x6e, 0x65, 0x73, 0x69, 0x73, 0x5f, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x08, 0x48, 0x00, 0x52, 0x0c, 0x67, 0x65, 0x6e, 0x65, 0x73, 0x69, 0x73, 0x45, 0x70, - 0x6f, 0x63, 0x68, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, - 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, - 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x04, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x42, - 0x0e, 0x0a, 0x0c, 0x71, 0x75, 0x65, 0x72, 0x79, 0x5f, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x22, - 0xd3, 0x01, 0x0a, 0x17, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x74, 0x74, 0x65, 0x73, 0x74, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x45, 0x0a, 0x05, 0x65, - 0x70, 0x6f, 0x63, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x42, 0x2d, 0xfa, 0xde, 0x1f, 0x29, - 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x72, 0x79, 0x73, 0x6d, - 0x61, 0x74, 0x69, 0x63, 0x6c, 0x61, 0x62, 0x73, 0x2f, 0x65, 0x74, 0x68, 0x32, 0x2d, 0x74, 0x79, - 0x70, 0x65, 0x73, 0x2e, 0x45, 0x70, 0x6f, 0x63, 0x68, 0x48, 0x00, 0x52, 0x05, 0x65, 0x70, 0x6f, - 0x63, 0x68, 0x12, 0x25, 0x0a, 0x0d, 0x67, 0x65, 0x6e, 0x65, 0x73, 0x69, 0x73, 0x5f, 0x65, 0x70, - 0x6f, 0x63, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x48, 0x00, 0x52, 0x0c, 0x67, 0x65, 0x6e, - 0x65, 0x73, 0x69, 0x73, 0x45, 0x70, 0x6f, 0x63, 0x68, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67, - 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x61, - 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, - 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, - 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x42, 0x0e, 0x0a, 0x0c, 0x71, 0x75, 0x65, 0x72, 0x79, 0x5f, 0x66, - 0x69, 0x6c, 0x74, 0x65, 0x72, 0x22, 0xa9, 0x01, 0x0a, 0x18, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x74, - 0x74, 0x65, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x12, 0x46, 0x0a, 0x0c, 0x61, 0x74, 0x74, 0x65, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 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, 0x41, 0x74, 0x74, 0x65, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0c, 0x61, 0x74, - 0x74, 0x65, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x65, - 0x78, 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, - 0x65, 0x6e, 0x12, 0x1d, 0x0a, 0x0a, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x73, 0x69, 0x7a, 0x65, - 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x53, 0x69, 0x7a, - 0x65, 0x22, 0xc6, 0x01, 0x0a, 0x1f, 0x4c, 0x69, 0x73, 0x74, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x65, - 0x64, 0x41, 0x74, 0x74, 0x65, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5c, 0x0a, 0x14, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x65, 0x64, - 0x5f, 0x61, 0x74, 0x74, 0x65, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, - 0x03, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, - 0x74, 0x68, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x49, 0x6e, 0x64, 0x65, - 0x78, 0x65, 0x64, 0x41, 0x74, 0x74, 0x65, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x13, - 0x69, 0x6e, 0x64, 0x65, 0x78, 0x65, 0x64, 0x41, 0x74, 0x74, 0x65, 0x73, 0x74, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, - 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65, - 0x78, 0x74, 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x1d, 0x0a, 0x0a, 0x74, - 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, - 0x09, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x53, 0x69, 0x7a, 0x65, 0x22, 0x9c, 0x02, 0x0a, 0x11, 0x4c, - 0x69, 0x73, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x12, 0x14, 0x0a, 0x04, 0x72, 0x6f, 0x6f, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x48, 0x00, - 0x52, 0x04, 0x72, 0x6f, 0x6f, 0x74, 0x12, 0x42, 0x0a, 0x04, 0x73, 0x6c, 0x6f, 0x74, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x04, 0x42, 0x2c, 0xfa, 0xde, 0x1f, 0x28, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, - 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x72, 0x79, 0x73, 0x6d, 0x61, 0x74, 0x69, 0x63, 0x6c, 0x61, - 0x62, 0x73, 0x2f, 0x65, 0x74, 0x68, 0x32, 0x2d, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x53, 0x6c, - 0x6f, 0x74, 0x48, 0x00, 0x52, 0x04, 0x73, 0x6c, 0x6f, 0x74, 0x12, 0x45, 0x0a, 0x05, 0x65, 0x70, - 0x6f, 0x63, 0x68, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x42, 0x2d, 0xfa, 0xde, 0x1f, 0x29, 0x67, - 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x72, 0x79, 0x73, 0x6d, 0x61, - 0x74, 0x69, 0x63, 0x6c, 0x61, 0x62, 0x73, 0x2f, 0x65, 0x74, 0x68, 0x32, 0x2d, 0x74, 0x79, 0x70, - 0x65, 0x73, 0x2e, 0x45, 0x70, 0x6f, 0x63, 0x68, 0x48, 0x00, 0x52, 0x05, 0x65, 0x70, 0x6f, 0x63, - 0x68, 0x12, 0x1a, 0x0a, 0x07, 0x67, 0x65, 0x6e, 0x65, 0x73, 0x69, 0x73, 0x18, 0x04, 0x20, 0x01, - 0x28, 0x08, 0x48, 0x00, 0x52, 0x07, 0x67, 0x65, 0x6e, 0x65, 0x73, 0x69, 0x73, 0x12, 0x1b, 0x0a, - 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, - 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x61, - 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, - 0x70, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x42, 0x0e, 0x0a, 0x0c, 0x71, 0x75, 0x65, - 0x72, 0x79, 0x5f, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x22, 0xb2, 0x01, 0x0a, 0x12, 0x4c, 0x69, - 0x73, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x12, 0x55, 0x0a, 0x0f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, - 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2b, 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, 0x43, 0x6f, 0x6e, - 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x52, 0x0f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x43, 0x6f, 0x6e, - 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x5f, - 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, - 0x1d, 0x0a, 0x0a, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x03, 0x20, - 0x01, 0x28, 0x05, 0x52, 0x09, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x53, 0x69, 0x7a, 0x65, 0x22, 0x3a, - 0x0a, 0x13, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x73, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x76, 0x65, 0x72, 0x69, 0x66, 0x69, 0x65, - 0x64, 0x5f, 0x6f, 0x6e, 0x6c, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x76, 0x65, - 0x72, 0x69, 0x66, 0x69, 0x65, 0x64, 0x4f, 0x6e, 0x6c, 0x79, 0x22, 0x93, 0x01, 0x0a, 0x14, 0x42, - 0x65, 0x61, 0x63, 0x6f, 0x6e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, - 0x6e, 0x65, 0x72, 0x12, 0x3e, 0x0a, 0x05, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, - 0x68, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x53, 0x69, 0x67, 0x6e, 0x65, - 0x64, 0x42, 0x65, 0x61, 0x63, 0x6f, 0x6e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x05, 0x62, 0x6c, - 0x6f, 0x63, 0x6b, 0x12, 0x1d, 0x0a, 0x0a, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x72, 0x6f, 0x6f, - 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x6f, - 0x6f, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x61, 0x6e, 0x6f, 0x6e, 0x69, 0x63, 0x61, 0x6c, 0x18, - 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x63, 0x61, 0x6e, 0x6f, 0x6e, 0x69, 0x63, 0x61, 0x6c, - 0x22, 0xe8, 0x07, 0x0a, 0x09, 0x43, 0x68, 0x61, 0x69, 0x6e, 0x48, 0x65, 0x61, 0x64, 0x12, 0x49, - 0x0a, 0x09, 0x68, 0x65, 0x61, 0x64, 0x5f, 0x73, 0x6c, 0x6f, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x04, 0x42, 0x2c, 0xfa, 0xde, 0x1f, 0x28, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, - 0x6d, 0x2f, 0x70, 0x72, 0x79, 0x73, 0x6d, 0x61, 0x74, 0x69, 0x63, 0x6c, 0x61, 0x62, 0x73, 0x2f, - 0x65, 0x74, 0x68, 0x32, 0x2d, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x53, 0x6c, 0x6f, 0x74, 0x52, - 0x08, 0x68, 0x65, 0x61, 0x64, 0x53, 0x6c, 0x6f, 0x74, 0x12, 0x4c, 0x0a, 0x0a, 0x68, 0x65, 0x61, - 0x64, 0x5f, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x42, 0x2d, 0xfa, - 0xde, 0x1f, 0x29, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x72, - 0x79, 0x73, 0x6d, 0x61, 0x74, 0x69, 0x63, 0x6c, 0x61, 0x62, 0x73, 0x2f, 0x65, 0x74, 0x68, 0x32, - 0x2d, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x45, 0x70, 0x6f, 0x63, 0x68, 0x52, 0x09, 0x68, 0x65, - 0x61, 0x64, 0x45, 0x70, 0x6f, 0x63, 0x68, 0x12, 0x39, 0x0a, 0x0f, 0x68, 0x65, 0x61, 0x64, 0x5f, - 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x72, 0x6f, 0x6f, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, - 0x42, 0x11, 0xf2, 0xde, 0x1f, 0x0d, 0x73, 0x73, 0x7a, 0x2d, 0x73, 0x69, 0x7a, 0x65, 0x3a, 0x22, - 0x33, 0x32, 0x22, 0x52, 0x0d, 0x68, 0x65, 0x61, 0x64, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x6f, - 0x6f, 0x74, 0x12, 0x53, 0x0a, 0x0e, 0x66, 0x69, 0x6e, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x64, 0x5f, - 0x73, 0x6c, 0x6f, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 0x42, 0x2c, 0xfa, 0xde, 0x1f, 0x28, - 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x72, 0x79, 0x73, 0x6d, - 0x61, 0x74, 0x69, 0x63, 0x6c, 0x61, 0x62, 0x73, 0x2f, 0x65, 0x74, 0x68, 0x32, 0x2d, 0x74, 0x79, - 0x70, 0x65, 0x73, 0x2e, 0x53, 0x6c, 0x6f, 0x74, 0x52, 0x0d, 0x66, 0x69, 0x6e, 0x61, 0x6c, 0x69, - 0x7a, 0x65, 0x64, 0x53, 0x6c, 0x6f, 0x74, 0x12, 0x56, 0x0a, 0x0f, 0x66, 0x69, 0x6e, 0x61, 0x6c, - 0x69, 0x7a, 0x65, 0x64, 0x5f, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x18, 0x05, 0x20, 0x01, 0x28, 0x04, - 0x42, 0x2d, 0xfa, 0xde, 0x1f, 0x29, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, - 0x2f, 0x70, 0x72, 0x79, 0x73, 0x6d, 0x61, 0x74, 0x69, 0x63, 0x6c, 0x61, 0x62, 0x73, 0x2f, 0x65, - 0x74, 0x68, 0x32, 0x2d, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x45, 0x70, 0x6f, 0x63, 0x68, 0x52, - 0x0e, 0x66, 0x69, 0x6e, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x64, 0x45, 0x70, 0x6f, 0x63, 0x68, 0x12, - 0x43, 0x0a, 0x14, 0x66, 0x69, 0x6e, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x64, 0x5f, 0x62, 0x6c, 0x6f, - 0x63, 0x6b, 0x5f, 0x72, 0x6f, 0x6f, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0c, 0x42, 0x11, 0xf2, - 0xde, 0x1f, 0x0d, 0x73, 0x73, 0x7a, 0x2d, 0x73, 0x69, 0x7a, 0x65, 0x3a, 0x22, 0x33, 0x32, 0x22, - 0x52, 0x12, 0x66, 0x69, 0x6e, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x64, 0x42, 0x6c, 0x6f, 0x63, 0x6b, - 0x52, 0x6f, 0x6f, 0x74, 0x12, 0x53, 0x0a, 0x0e, 0x6a, 0x75, 0x73, 0x74, 0x69, 0x66, 0x69, 0x65, - 0x64, 0x5f, 0x73, 0x6c, 0x6f, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x04, 0x42, 0x2c, 0xfa, 0xde, - 0x1f, 0x28, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x72, 0x79, - 0x73, 0x6d, 0x61, 0x74, 0x69, 0x63, 0x6c, 0x61, 0x62, 0x73, 0x2f, 0x65, 0x74, 0x68, 0x32, 0x2d, - 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x53, 0x6c, 0x6f, 0x74, 0x52, 0x0d, 0x6a, 0x75, 0x73, 0x74, - 0x69, 0x66, 0x69, 0x65, 0x64, 0x53, 0x6c, 0x6f, 0x74, 0x12, 0x56, 0x0a, 0x0f, 0x6a, 0x75, 0x73, - 0x74, 0x69, 0x66, 0x69, 0x65, 0x64, 0x5f, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x18, 0x08, 0x20, 0x01, - 0x28, 0x04, 0x42, 0x2d, 0xfa, 0xde, 0x1f, 0x29, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, - 0x6f, 0x6d, 0x2f, 0x70, 0x72, 0x79, 0x73, 0x6d, 0x61, 0x74, 0x69, 0x63, 0x6c, 0x61, 0x62, 0x73, - 0x2f, 0x65, 0x74, 0x68, 0x32, 0x2d, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x45, 0x70, 0x6f, 0x63, - 0x68, 0x52, 0x0e, 0x6a, 0x75, 0x73, 0x74, 0x69, 0x66, 0x69, 0x65, 0x64, 0x45, 0x70, 0x6f, 0x63, - 0x68, 0x12, 0x43, 0x0a, 0x14, 0x6a, 0x75, 0x73, 0x74, 0x69, 0x66, 0x69, 0x65, 0x64, 0x5f, 0x62, - 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x72, 0x6f, 0x6f, 0x74, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0c, 0x42, - 0x11, 0xf2, 0xde, 0x1f, 0x0d, 0x73, 0x73, 0x7a, 0x2d, 0x73, 0x69, 0x7a, 0x65, 0x3a, 0x22, 0x33, - 0x32, 0x22, 0x52, 0x12, 0x6a, 0x75, 0x73, 0x74, 0x69, 0x66, 0x69, 0x65, 0x64, 0x42, 0x6c, 0x6f, - 0x63, 0x6b, 0x52, 0x6f, 0x6f, 0x74, 0x12, 0x64, 0x0a, 0x17, 0x70, 0x72, 0x65, 0x76, 0x69, 0x6f, - 0x75, 0x73, 0x5f, 0x6a, 0x75, 0x73, 0x74, 0x69, 0x66, 0x69, 0x65, 0x64, 0x5f, 0x73, 0x6c, 0x6f, - 0x74, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x04, 0x42, 0x2c, 0xfa, 0xde, 0x1f, 0x28, 0x67, 0x69, 0x74, - 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x72, 0x79, 0x73, 0x6d, 0x61, 0x74, 0x69, - 0x63, 0x6c, 0x61, 0x62, 0x73, 0x2f, 0x65, 0x74, 0x68, 0x32, 0x2d, 0x74, 0x79, 0x70, 0x65, 0x73, - 0x2e, 0x53, 0x6c, 0x6f, 0x74, 0x52, 0x15, 0x70, 0x72, 0x65, 0x76, 0x69, 0x6f, 0x75, 0x73, 0x4a, - 0x75, 0x73, 0x74, 0x69, 0x66, 0x69, 0x65, 0x64, 0x53, 0x6c, 0x6f, 0x74, 0x12, 0x67, 0x0a, 0x18, - 0x70, 0x72, 0x65, 0x76, 0x69, 0x6f, 0x75, 0x73, 0x5f, 0x6a, 0x75, 0x73, 0x74, 0x69, 0x66, 0x69, - 0x65, 0x64, 0x5f, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x04, 0x42, 0x2d, - 0xfa, 0xde, 0x1f, 0x29, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, - 0x72, 0x79, 0x73, 0x6d, 0x61, 0x74, 0x69, 0x63, 0x6c, 0x61, 0x62, 0x73, 0x2f, 0x65, 0x74, 0x68, - 0x32, 0x2d, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x45, 0x70, 0x6f, 0x63, 0x68, 0x52, 0x16, 0x70, - 0x72, 0x65, 0x76, 0x69, 0x6f, 0x75, 0x73, 0x4a, 0x75, 0x73, 0x74, 0x69, 0x66, 0x69, 0x65, 0x64, - 0x45, 0x70, 0x6f, 0x63, 0x68, 0x12, 0x54, 0x0a, 0x1d, 0x70, 0x72, 0x65, 0x76, 0x69, 0x6f, 0x75, - 0x73, 0x5f, 0x6a, 0x75, 0x73, 0x74, 0x69, 0x66, 0x69, 0x65, 0x64, 0x5f, 0x62, 0x6c, 0x6f, 0x63, - 0x6b, 0x5f, 0x72, 0x6f, 0x6f, 0x74, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0c, 0x42, 0x11, 0xf2, 0xde, - 0x1f, 0x0d, 0x73, 0x73, 0x7a, 0x2d, 0x73, 0x69, 0x7a, 0x65, 0x3a, 0x22, 0x33, 0x32, 0x22, 0x52, - 0x1a, 0x70, 0x72, 0x65, 0x76, 0x69, 0x6f, 0x75, 0x73, 0x4a, 0x75, 0x73, 0x74, 0x69, 0x66, 0x69, - 0x65, 0x64, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x6f, 0x6f, 0x74, 0x22, 0x8a, 0x01, 0x0a, 0x15, - 0x4c, 0x69, 0x73, 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x74, 0x65, 0x65, 0x73, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x45, 0x0a, 0x05, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x04, 0x42, 0x2d, 0xfa, 0xde, 0x1f, 0x29, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, - 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x72, 0x79, 0x73, 0x6d, 0x61, 0x74, 0x69, 0x63, 0x6c, 0x61, - 0x62, 0x73, 0x2f, 0x65, 0x74, 0x68, 0x32, 0x2d, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x45, 0x70, - 0x6f, 0x63, 0x68, 0x48, 0x00, 0x52, 0x05, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x12, 0x1a, 0x0a, 0x07, - 0x67, 0x65, 0x6e, 0x65, 0x73, 0x69, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x48, 0x00, 0x52, - 0x07, 0x67, 0x65, 0x6e, 0x65, 0x73, 0x69, 0x73, 0x42, 0x0e, 0x0a, 0x0c, 0x71, 0x75, 0x65, 0x72, - 0x79, 0x5f, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x22, 0xbc, 0x04, 0x0a, 0x10, 0x42, 0x65, 0x61, - 0x63, 0x6f, 0x6e, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x74, 0x65, 0x65, 0x73, 0x12, 0x43, 0x0a, - 0x05, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x42, 0x2d, 0xfa, 0xde, - 0x1f, 0x29, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x72, 0x79, - 0x73, 0x6d, 0x61, 0x74, 0x69, 0x63, 0x6c, 0x61, 0x62, 0x73, 0x2f, 0x65, 0x74, 0x68, 0x32, 0x2d, - 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x45, 0x70, 0x6f, 0x63, 0x68, 0x52, 0x05, 0x65, 0x70, 0x6f, - 0x63, 0x68, 0x12, 0x57, 0x0a, 0x0a, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x74, 0x65, 0x65, 0x73, - 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x37, 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, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x74, 0x65, 0x65, 0x73, 0x2e, - 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x74, 0x65, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, - 0x0a, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x74, 0x65, 0x65, 0x73, 0x12, 0x34, 0x0a, 0x16, 0x61, - 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x5f, - 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x14, 0x61, 0x63, 0x74, - 0x69, 0x76, 0x65, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x43, 0x6f, 0x75, 0x6e, - 0x74, 0x1a, 0x74, 0x0a, 0x0d, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x74, 0x65, 0x65, 0x49, 0x74, - 0x65, 0x6d, 0x12, 0x63, 0x0a, 0x11, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x5f, - 0x69, 0x6e, 0x64, 0x69, 0x63, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x04, 0x42, 0x36, 0xfa, - 0xde, 0x1f, 0x32, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x72, - 0x79, 0x73, 0x6d, 0x61, 0x74, 0x69, 0x63, 0x6c, 0x61, 0x62, 0x73, 0x2f, 0x65, 0x74, 0x68, 0x32, - 0x2d, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, - 0x49, 0x6e, 0x64, 0x65, 0x78, 0x52, 0x10, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, - 0x49, 0x6e, 0x64, 0x69, 0x63, 0x65, 0x73, 0x1a, 0x67, 0x0a, 0x0e, 0x43, 0x6f, 0x6d, 0x6d, 0x69, - 0x74, 0x74, 0x65, 0x65, 0x73, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x55, 0x0a, 0x0a, 0x63, 0x6f, 0x6d, - 0x6d, 0x69, 0x74, 0x74, 0x65, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x35, 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, 0x43, 0x6f, 0x6d, 0x6d, - 0x69, 0x74, 0x74, 0x65, 0x65, 0x73, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x74, 0x65, 0x65, - 0x49, 0x74, 0x65, 0x6d, 0x52, 0x0a, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x74, 0x65, 0x65, 0x73, - 0x1a, 0x75, 0x0a, 0x0f, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x74, 0x65, 0x65, 0x73, 0x45, 0x6e, - 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, - 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x4c, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x36, 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, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x74, 0x65, 0x65, 0x73, 0x2e, 0x43, 0x6f, - 0x6d, 0x6d, 0x69, 0x74, 0x74, 0x65, 0x65, 0x73, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x05, 0x76, 0x61, - 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0xd5, 0x02, 0x0a, 0x1c, 0x4c, 0x69, 0x73, 0x74, - 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, - 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x45, 0x0a, 0x05, 0x65, 0x70, 0x6f, 0x63, - 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x42, 0x2d, 0xfa, 0xde, 0x1f, 0x29, 0x67, 0x69, 0x74, - 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x72, 0x79, 0x73, 0x6d, 0x61, 0x74, 0x69, - 0x63, 0x6c, 0x61, 0x62, 0x73, 0x2f, 0x65, 0x74, 0x68, 0x32, 0x2d, 0x74, 0x79, 0x70, 0x65, 0x73, - 0x2e, 0x45, 0x70, 0x6f, 0x63, 0x68, 0x48, 0x00, 0x52, 0x05, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x12, - 0x1a, 0x0a, 0x07, 0x67, 0x65, 0x6e, 0x65, 0x73, 0x69, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, - 0x48, 0x00, 0x52, 0x07, 0x67, 0x65, 0x6e, 0x65, 0x73, 0x69, 0x73, 0x12, 0x34, 0x0a, 0x0b, 0x70, - 0x75, 0x62, 0x6c, 0x69, 0x63, 0x5f, 0x6b, 0x65, 0x79, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0c, - 0x42, 0x13, 0xf2, 0xde, 0x1f, 0x0f, 0x73, 0x73, 0x7a, 0x2d, 0x73, 0x69, 0x7a, 0x65, 0x3a, 0x22, - 0x3f, 0x2c, 0x34, 0x38, 0x22, 0x52, 0x0a, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4b, 0x65, 0x79, - 0x73, 0x12, 0x50, 0x0a, 0x07, 0x69, 0x6e, 0x64, 0x69, 0x63, 0x65, 0x73, 0x18, 0x04, 0x20, 0x03, - 0x28, 0x04, 0x42, 0x36, 0xfa, 0xde, 0x1f, 0x32, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, - 0x6f, 0x6d, 0x2f, 0x70, 0x72, 0x79, 0x73, 0x6d, 0x61, 0x74, 0x69, 0x63, 0x6c, 0x61, 0x62, 0x73, - 0x2f, 0x65, 0x74, 0x68, 0x32, 0x2d, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x56, 0x61, 0x6c, 0x69, - 0x64, 0x61, 0x74, 0x6f, 0x72, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x52, 0x07, 0x69, 0x6e, 0x64, 0x69, - 0x63, 0x65, 0x73, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, - 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, - 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x06, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x42, - 0x0e, 0x0a, 0x0c, 0x71, 0x75, 0x65, 0x72, 0x79, 0x5f, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x22, - 0xab, 0x03, 0x0a, 0x11, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x42, 0x61, 0x6c, - 0x61, 0x6e, 0x63, 0x65, 0x73, 0x12, 0x43, 0x0a, 0x05, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x04, 0x42, 0x2d, 0xfa, 0xde, 0x1f, 0x29, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, - 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x72, 0x79, 0x73, 0x6d, 0x61, 0x74, 0x69, 0x63, 0x6c, 0x61, - 0x62, 0x73, 0x2f, 0x65, 0x74, 0x68, 0x32, 0x2d, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x45, 0x70, - 0x6f, 0x63, 0x68, 0x52, 0x05, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x12, 0x4c, 0x0a, 0x08, 0x62, 0x61, - 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x30, 0x2e, 0x65, - 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x61, 0x6c, - 0x70, 0x68, 0x61, 0x31, 0x2e, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x42, 0x61, - 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x2e, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x08, - 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74, - 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, - 0x12, 0x1d, 0x0a, 0x0a, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x04, - 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x53, 0x69, 0x7a, 0x65, 0x1a, - 0xbb, 0x01, 0x0a, 0x07, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x30, 0x0a, 0x0a, 0x70, - 0x75, 0x62, 0x6c, 0x69, 0x63, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x42, - 0x11, 0xf2, 0xde, 0x1f, 0x0d, 0x73, 0x73, 0x7a, 0x2d, 0x73, 0x69, 0x7a, 0x65, 0x3a, 0x22, 0x34, - 0x38, 0x22, 0x52, 0x09, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4b, 0x65, 0x79, 0x12, 0x4c, 0x0a, - 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x42, 0x36, 0xfa, 0xde, - 0x1f, 0x32, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x72, 0x79, - 0x73, 0x6d, 0x61, 0x74, 0x69, 0x63, 0x6c, 0x61, 0x62, 0x73, 0x2f, 0x65, 0x74, 0x68, 0x32, 0x2d, - 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x49, - 0x6e, 0x64, 0x65, 0x78, 0x52, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x18, 0x0a, 0x07, 0x62, - 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x62, 0x61, - 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, - 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x22, 0xd1, 0x02, - 0x0a, 0x15, 0x4c, 0x69, 0x73, 0x74, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x73, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x45, 0x0a, 0x05, 0x65, 0x70, 0x6f, 0x63, 0x68, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x42, 0x2d, 0xfa, 0xde, 0x1f, 0x29, 0x67, 0x69, 0x74, 0x68, - 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x72, 0x79, 0x73, 0x6d, 0x61, 0x74, 0x69, 0x63, - 0x6c, 0x61, 0x62, 0x73, 0x2f, 0x65, 0x74, 0x68, 0x32, 0x2d, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, - 0x45, 0x70, 0x6f, 0x63, 0x68, 0x48, 0x00, 0x52, 0x05, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x12, 0x1a, - 0x0a, 0x07, 0x67, 0x65, 0x6e, 0x65, 0x73, 0x69, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x48, - 0x00, 0x52, 0x07, 0x67, 0x65, 0x6e, 0x65, 0x73, 0x69, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x61, 0x63, - 0x74, 0x69, 0x76, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x61, 0x63, 0x74, 0x69, - 0x76, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, - 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, - 0x1d, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x05, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x1f, - 0x0a, 0x0b, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x5f, 0x6b, 0x65, 0x79, 0x73, 0x18, 0x06, 0x20, - 0x03, 0x28, 0x0c, 0x52, 0x0a, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4b, 0x65, 0x79, 0x73, 0x12, - 0x50, 0x0a, 0x07, 0x69, 0x6e, 0x64, 0x69, 0x63, 0x65, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x04, - 0x42, 0x36, 0xfa, 0xde, 0x1f, 0x32, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, - 0x2f, 0x70, 0x72, 0x79, 0x73, 0x6d, 0x61, 0x74, 0x69, 0x63, 0x6c, 0x61, 0x62, 0x73, 0x2f, 0x65, - 0x74, 0x68, 0x32, 0x2d, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, - 0x74, 0x6f, 0x72, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x52, 0x07, 0x69, 0x6e, 0x64, 0x69, 0x63, 0x65, - 0x73, 0x42, 0x0e, 0x0a, 0x0c, 0x71, 0x75, 0x65, 0x72, 0x79, 0x5f, 0x66, 0x69, 0x6c, 0x74, 0x65, - 0x72, 0x22, 0xa9, 0x01, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, - 0x6f, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x4e, 0x0a, 0x05, 0x69, 0x6e, 0x64, - 0x65, 0x78, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x42, 0x36, 0xfa, 0xde, 0x1f, 0x32, 0x67, 0x69, - 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x72, 0x79, 0x73, 0x6d, 0x61, 0x74, - 0x69, 0x63, 0x6c, 0x61, 0x62, 0x73, 0x2f, 0x65, 0x74, 0x68, 0x32, 0x2d, 0x74, 0x79, 0x70, 0x65, - 0x73, 0x2e, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x49, 0x6e, 0x64, 0x65, 0x78, - 0x48, 0x00, 0x52, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x32, 0x0a, 0x0a, 0x70, 0x75, 0x62, - 0x6c, 0x69, 0x63, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x42, 0x11, 0xf2, - 0xde, 0x1f, 0x0d, 0x73, 0x73, 0x7a, 0x2d, 0x73, 0x69, 0x7a, 0x65, 0x3a, 0x22, 0x34, 0x38, 0x22, - 0x48, 0x00, 0x52, 0x09, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4b, 0x65, 0x79, 0x42, 0x0e, 0x0a, - 0x0c, 0x71, 0x75, 0x65, 0x72, 0x79, 0x5f, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x22, 0x9a, 0x03, - 0x0a, 0x0a, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x73, 0x12, 0x43, 0x0a, 0x05, - 0x65, 0x70, 0x6f, 0x63, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x42, 0x2d, 0xfa, 0xde, 0x1f, - 0x29, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x72, 0x79, 0x73, - 0x6d, 0x61, 0x74, 0x69, 0x63, 0x6c, 0x61, 0x62, 0x73, 0x2f, 0x65, 0x74, 0x68, 0x32, 0x2d, 0x74, - 0x79, 0x70, 0x65, 0x73, 0x2e, 0x45, 0x70, 0x6f, 0x63, 0x68, 0x52, 0x05, 0x65, 0x70, 0x6f, 0x63, - 0x68, 0x12, 0x5b, 0x0a, 0x0e, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x5f, 0x6c, - 0x69, 0x73, 0x74, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x34, 0x2e, 0x65, 0x74, 0x68, 0x65, - 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, - 0x31, 0x2e, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x73, 0x2e, 0x56, 0x61, 0x6c, - 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x52, - 0x0d, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x26, - 0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, - 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, 0x67, - 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x1d, 0x0a, 0x0a, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, - 0x73, 0x69, 0x7a, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x74, 0x6f, 0x74, 0x61, - 0x6c, 0x53, 0x69, 0x7a, 0x65, 0x1a, 0xa2, 0x01, 0x0a, 0x12, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, - 0x74, 0x6f, 0x72, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x12, 0x4c, 0x0a, 0x05, - 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x42, 0x36, 0xfa, 0xde, 0x1f, - 0x32, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x72, 0x79, 0x73, - 0x6d, 0x61, 0x74, 0x69, 0x63, 0x6c, 0x61, 0x62, 0x73, 0x2f, 0x65, 0x74, 0x68, 0x32, 0x2d, 0x74, - 0x79, 0x70, 0x65, 0x73, 0x2e, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x49, 0x6e, - 0x64, 0x65, 0x78, 0x52, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x3e, 0x0a, 0x09, 0x76, 0x61, - 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, - 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x61, - 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x52, - 0x09, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x22, 0x98, 0x01, 0x0a, 0x23, 0x47, - 0x65, 0x74, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x41, 0x63, 0x74, 0x69, 0x76, - 0x65, 0x53, 0x65, 0x74, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x12, 0x45, 0x0a, 0x05, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x04, 0x42, 0x2d, 0xfa, 0xde, 0x1f, 0x29, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, - 0x6d, 0x2f, 0x70, 0x72, 0x79, 0x73, 0x6d, 0x61, 0x74, 0x69, 0x63, 0x6c, 0x61, 0x62, 0x73, 0x2f, - 0x65, 0x74, 0x68, 0x32, 0x2d, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x45, 0x70, 0x6f, 0x63, 0x68, - 0x48, 0x00, 0x52, 0x05, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x12, 0x1a, 0x0a, 0x07, 0x67, 0x65, 0x6e, - 0x65, 0x73, 0x69, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x48, 0x00, 0x52, 0x07, 0x67, 0x65, - 0x6e, 0x65, 0x73, 0x69, 0x73, 0x42, 0x0e, 0x0a, 0x0c, 0x71, 0x75, 0x65, 0x72, 0x79, 0x5f, 0x66, - 0x69, 0x6c, 0x74, 0x65, 0x72, 0x22, 0xf3, 0x05, 0x0a, 0x10, 0x41, 0x63, 0x74, 0x69, 0x76, 0x65, - 0x53, 0x65, 0x74, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x12, 0x43, 0x0a, 0x05, 0x65, 0x70, - 0x6f, 0x63, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x42, 0x2d, 0xfa, 0xde, 0x1f, 0x29, 0x67, - 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x72, 0x79, 0x73, 0x6d, 0x61, - 0x74, 0x69, 0x63, 0x6c, 0x61, 0x62, 0x73, 0x2f, 0x65, 0x74, 0x68, 0x32, 0x2d, 0x74, 0x79, 0x70, - 0x65, 0x73, 0x2e, 0x45, 0x70, 0x6f, 0x63, 0x68, 0x52, 0x05, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x12, - 0x47, 0x0a, 0x15, 0x61, 0x63, 0x74, 0x69, 0x76, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x70, 0x75, 0x62, - 0x6c, 0x69, 0x63, 0x5f, 0x6b, 0x65, 0x79, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0c, 0x42, 0x13, - 0xf2, 0xde, 0x1f, 0x0f, 0x73, 0x73, 0x7a, 0x2d, 0x73, 0x69, 0x7a, 0x65, 0x3a, 0x22, 0x3f, 0x2c, - 0x34, 0x38, 0x22, 0x52, 0x13, 0x61, 0x63, 0x74, 0x69, 0x76, 0x61, 0x74, 0x65, 0x64, 0x50, 0x75, - 0x62, 0x6c, 0x69, 0x63, 0x4b, 0x65, 0x79, 0x73, 0x12, 0x63, 0x0a, 0x11, 0x61, 0x63, 0x74, 0x69, - 0x76, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x69, 0x6e, 0x64, 0x69, 0x63, 0x65, 0x73, 0x18, 0x03, 0x20, - 0x03, 0x28, 0x04, 0x42, 0x36, 0xfa, 0xde, 0x1f, 0x32, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, - 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x72, 0x79, 0x73, 0x6d, 0x61, 0x74, 0x69, 0x63, 0x6c, 0x61, 0x62, - 0x73, 0x2f, 0x65, 0x74, 0x68, 0x32, 0x2d, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x56, 0x61, 0x6c, - 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x52, 0x10, 0x61, 0x63, 0x74, - 0x69, 0x76, 0x61, 0x74, 0x65, 0x64, 0x49, 0x6e, 0x64, 0x69, 0x63, 0x65, 0x73, 0x12, 0x41, 0x0a, - 0x12, 0x65, 0x78, 0x69, 0x74, 0x65, 0x64, 0x5f, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x5f, 0x6b, - 0x65, 0x79, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0c, 0x42, 0x13, 0xf2, 0xde, 0x1f, 0x0f, 0x73, - 0x73, 0x7a, 0x2d, 0x73, 0x69, 0x7a, 0x65, 0x3a, 0x22, 0x3f, 0x2c, 0x34, 0x38, 0x22, 0x52, 0x10, - 0x65, 0x78, 0x69, 0x74, 0x65, 0x64, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4b, 0x65, 0x79, 0x73, - 0x12, 0x5d, 0x0a, 0x0e, 0x65, 0x78, 0x69, 0x74, 0x65, 0x64, 0x5f, 0x69, 0x6e, 0x64, 0x69, 0x63, - 0x65, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x04, 0x42, 0x36, 0xfa, 0xde, 0x1f, 0x32, 0x67, 0x69, - 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x72, 0x79, 0x73, 0x6d, 0x61, 0x74, - 0x69, 0x63, 0x6c, 0x61, 0x62, 0x73, 0x2f, 0x65, 0x74, 0x68, 0x32, 0x2d, 0x74, 0x79, 0x70, 0x65, - 0x73, 0x2e, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x49, 0x6e, 0x64, 0x65, 0x78, - 0x52, 0x0d, 0x65, 0x78, 0x69, 0x74, 0x65, 0x64, 0x49, 0x6e, 0x64, 0x69, 0x63, 0x65, 0x73, 0x12, - 0x43, 0x0a, 0x13, 0x73, 0x6c, 0x61, 0x73, 0x68, 0x65, 0x64, 0x5f, 0x70, 0x75, 0x62, 0x6c, 0x69, - 0x63, 0x5f, 0x6b, 0x65, 0x79, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0c, 0x42, 0x13, 0xf2, 0xde, - 0x1f, 0x0f, 0x73, 0x73, 0x7a, 0x2d, 0x73, 0x69, 0x7a, 0x65, 0x3a, 0x22, 0x3f, 0x2c, 0x34, 0x38, - 0x22, 0x52, 0x11, 0x73, 0x6c, 0x61, 0x73, 0x68, 0x65, 0x64, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, - 0x4b, 0x65, 0x79, 0x73, 0x12, 0x5f, 0x0a, 0x0f, 0x73, 0x6c, 0x61, 0x73, 0x68, 0x65, 0x64, 0x5f, - 0x69, 0x6e, 0x64, 0x69, 0x63, 0x65, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x04, 0x42, 0x36, 0xfa, - 0xde, 0x1f, 0x32, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x72, - 0x79, 0x73, 0x6d, 0x61, 0x74, 0x69, 0x63, 0x6c, 0x61, 0x62, 0x73, 0x2f, 0x65, 0x74, 0x68, 0x32, - 0x2d, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, - 0x49, 0x6e, 0x64, 0x65, 0x78, 0x52, 0x0e, 0x73, 0x6c, 0x61, 0x73, 0x68, 0x65, 0x64, 0x49, 0x6e, - 0x64, 0x69, 0x63, 0x65, 0x73, 0x12, 0x43, 0x0a, 0x13, 0x65, 0x6a, 0x65, 0x63, 0x74, 0x65, 0x64, - 0x5f, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x5f, 0x6b, 0x65, 0x79, 0x73, 0x18, 0x08, 0x20, 0x03, - 0x28, 0x0c, 0x42, 0x13, 0xf2, 0xde, 0x1f, 0x0f, 0x73, 0x73, 0x7a, 0x2d, 0x73, 0x69, 0x7a, 0x65, - 0x3a, 0x22, 0x3f, 0x2c, 0x34, 0x38, 0x22, 0x52, 0x11, 0x65, 0x6a, 0x65, 0x63, 0x74, 0x65, 0x64, - 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4b, 0x65, 0x79, 0x73, 0x12, 0x5f, 0x0a, 0x0f, 0x65, 0x6a, - 0x65, 0x63, 0x74, 0x65, 0x64, 0x5f, 0x69, 0x6e, 0x64, 0x69, 0x63, 0x65, 0x73, 0x18, 0x09, 0x20, - 0x03, 0x28, 0x04, 0x42, 0x36, 0xfa, 0xde, 0x1f, 0x32, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, - 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x72, 0x79, 0x73, 0x6d, 0x61, 0x74, 0x69, 0x63, 0x6c, 0x61, 0x62, - 0x73, 0x2f, 0x65, 0x74, 0x68, 0x32, 0x2d, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x56, 0x61, 0x6c, - 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x52, 0x0e, 0x65, 0x6a, 0x65, - 0x63, 0x74, 0x65, 0x64, 0x49, 0x6e, 0x64, 0x69, 0x63, 0x65, 0x73, 0x22, 0x94, 0x01, 0x0a, 0x1b, - 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x50, 0x65, 0x72, 0x66, 0x6f, 0x72, 0x6d, - 0x61, 0x6e, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x23, 0x0a, 0x0b, 0x70, - 0x75, 0x62, 0x6c, 0x69, 0x63, 0x5f, 0x6b, 0x65, 0x79, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0c, - 0x42, 0x02, 0x18, 0x01, 0x52, 0x0a, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4b, 0x65, 0x79, 0x73, - 0x12, 0x50, 0x0a, 0x07, 0x69, 0x6e, 0x64, 0x69, 0x63, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, - 0x04, 0x42, 0x36, 0xfa, 0xde, 0x1f, 0x32, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, - 0x6d, 0x2f, 0x70, 0x72, 0x79, 0x73, 0x6d, 0x61, 0x74, 0x69, 0x63, 0x6c, 0x61, 0x62, 0x73, 0x2f, - 0x65, 0x74, 0x68, 0x32, 0x2d, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x56, 0x61, 0x6c, 0x69, 0x64, - 0x61, 0x74, 0x6f, 0x72, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x52, 0x07, 0x69, 0x6e, 0x64, 0x69, 0x63, - 0x65, 0x73, 0x22, 0xee, 0x05, 0x0a, 0x1c, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, - 0x50, 0x65, 0x72, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x12, 0x3c, 0x0a, 0x1a, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x65, - 0x66, 0x66, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, - 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x04, 0x52, 0x18, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, - 0x45, 0x66, 0x66, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, - 0x73, 0x12, 0x55, 0x0a, 0x0f, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x73, - 0x6c, 0x6f, 0x74, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x04, 0x42, 0x2c, 0xfa, 0xde, 0x1f, 0x28, - 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x72, 0x79, 0x73, 0x6d, - 0x61, 0x74, 0x69, 0x63, 0x6c, 0x61, 0x62, 0x73, 0x2f, 0x65, 0x74, 0x68, 0x32, 0x2d, 0x74, 0x79, - 0x70, 0x65, 0x73, 0x2e, 0x53, 0x6c, 0x6f, 0x74, 0x52, 0x0e, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x73, - 0x69, 0x6f, 0x6e, 0x53, 0x6c, 0x6f, 0x74, 0x73, 0x12, 0x5d, 0x0a, 0x13, 0x69, 0x6e, 0x63, 0x6c, - 0x75, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x64, 0x69, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x18, - 0x03, 0x20, 0x03, 0x28, 0x04, 0x42, 0x2c, 0xfa, 0xde, 0x1f, 0x28, 0x67, 0x69, 0x74, 0x68, 0x75, - 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x72, 0x79, 0x73, 0x6d, 0x61, 0x74, 0x69, 0x63, 0x6c, - 0x61, 0x62, 0x73, 0x2f, 0x65, 0x74, 0x68, 0x32, 0x2d, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x53, - 0x6c, 0x6f, 0x74, 0x52, 0x12, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x73, 0x69, 0x6f, 0x6e, 0x44, 0x69, - 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x12, 0x34, 0x0a, 0x16, 0x63, 0x6f, 0x72, 0x72, 0x65, - 0x63, 0x74, 0x6c, 0x79, 0x5f, 0x76, 0x6f, 0x74, 0x65, 0x64, 0x5f, 0x73, 0x6f, 0x75, 0x72, 0x63, - 0x65, 0x18, 0x04, 0x20, 0x03, 0x28, 0x08, 0x52, 0x14, 0x63, 0x6f, 0x72, 0x72, 0x65, 0x63, 0x74, - 0x6c, 0x79, 0x56, 0x6f, 0x74, 0x65, 0x64, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x34, 0x0a, - 0x16, 0x63, 0x6f, 0x72, 0x72, 0x65, 0x63, 0x74, 0x6c, 0x79, 0x5f, 0x76, 0x6f, 0x74, 0x65, 0x64, - 0x5f, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x18, 0x05, 0x20, 0x03, 0x28, 0x08, 0x52, 0x14, 0x63, - 0x6f, 0x72, 0x72, 0x65, 0x63, 0x74, 0x6c, 0x79, 0x56, 0x6f, 0x74, 0x65, 0x64, 0x54, 0x61, 0x72, - 0x67, 0x65, 0x74, 0x12, 0x30, 0x0a, 0x14, 0x63, 0x6f, 0x72, 0x72, 0x65, 0x63, 0x74, 0x6c, 0x79, - 0x5f, 0x76, 0x6f, 0x74, 0x65, 0x64, 0x5f, 0x68, 0x65, 0x61, 0x64, 0x18, 0x06, 0x20, 0x03, 0x28, - 0x08, 0x52, 0x12, 0x63, 0x6f, 0x72, 0x72, 0x65, 0x63, 0x74, 0x6c, 0x79, 0x56, 0x6f, 0x74, 0x65, - 0x64, 0x48, 0x65, 0x61, 0x64, 0x12, 0x47, 0x0a, 0x20, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, - 0x73, 0x5f, 0x62, 0x65, 0x66, 0x6f, 0x72, 0x65, 0x5f, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x5f, 0x74, - 0x72, 0x61, 0x6e, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x07, 0x20, 0x03, 0x28, 0x04, 0x52, - 0x1d, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x42, 0x65, 0x66, 0x6f, 0x72, 0x65, 0x45, - 0x70, 0x6f, 0x63, 0x68, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x45, - 0x0a, 0x1f, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x5f, 0x61, 0x66, 0x74, 0x65, 0x72, - 0x5f, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x5f, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x69, 0x74, 0x69, 0x6f, - 0x6e, 0x18, 0x08, 0x20, 0x03, 0x28, 0x04, 0x52, 0x1c, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, - 0x73, 0x41, 0x66, 0x74, 0x65, 0x72, 0x45, 0x70, 0x6f, 0x63, 0x68, 0x54, 0x72, 0x61, 0x6e, 0x73, - 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x2d, 0x0a, 0x12, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6e, 0x67, - 0x5f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x73, 0x18, 0x09, 0x20, 0x03, 0x28, - 0x0c, 0x52, 0x11, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, - 0x74, 0x6f, 0x72, 0x73, 0x12, 0x47, 0x0a, 0x20, 0x61, 0x76, 0x65, 0x72, 0x61, 0x67, 0x65, 0x5f, - 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, - 0x5f, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x02, 0x52, 0x1d, - 0x61, 0x76, 0x65, 0x72, 0x61, 0x67, 0x65, 0x41, 0x63, 0x74, 0x69, 0x76, 0x65, 0x56, 0x61, 0x6c, - 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x34, 0x0a, - 0x0b, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x5f, 0x6b, 0x65, 0x79, 0x73, 0x18, 0x0b, 0x20, 0x03, - 0x28, 0x0c, 0x42, 0x13, 0xf2, 0xde, 0x1f, 0x0f, 0x73, 0x73, 0x7a, 0x2d, 0x73, 0x69, 0x7a, 0x65, - 0x3a, 0x22, 0x3f, 0x2c, 0x34, 0x38, 0x22, 0x52, 0x0a, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4b, - 0x65, 0x79, 0x73, 0x22, 0xa7, 0x03, 0x0a, 0x0e, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, - 0x72, 0x51, 0x75, 0x65, 0x75, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x68, 0x75, 0x72, 0x6e, 0x5f, - 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0a, 0x63, 0x68, 0x75, - 0x72, 0x6e, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x4b, 0x0a, 0x16, 0x61, 0x63, 0x74, 0x69, 0x76, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x5f, 0x6b, 0x65, 0x79, - 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0c, 0x42, 0x15, 0x18, 0x01, 0xf2, 0xde, 0x1f, 0x0f, 0x73, - 0x73, 0x7a, 0x2d, 0x73, 0x69, 0x7a, 0x65, 0x3a, 0x22, 0x3f, 0x2c, 0x34, 0x38, 0x22, 0x52, 0x14, - 0x61, 0x63, 0x74, 0x69, 0x76, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, - 0x4b, 0x65, 0x79, 0x73, 0x12, 0x3f, 0x0a, 0x10, 0x65, 0x78, 0x69, 0x74, 0x5f, 0x70, 0x75, 0x62, - 0x6c, 0x69, 0x63, 0x5f, 0x6b, 0x65, 0x79, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0c, 0x42, 0x15, - 0x18, 0x01, 0xf2, 0xde, 0x1f, 0x0f, 0x73, 0x73, 0x7a, 0x2d, 0x73, 0x69, 0x7a, 0x65, 0x3a, 0x22, - 0x3f, 0x2c, 0x34, 0x38, 0x22, 0x52, 0x0e, 0x65, 0x78, 0x69, 0x74, 0x50, 0x75, 0x62, 0x6c, 0x69, - 0x63, 0x4b, 0x65, 0x79, 0x73, 0x12, 0x78, 0x0a, 0x1c, 0x61, 0x63, 0x74, 0x69, 0x76, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x5f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x5f, 0x69, 0x6e, - 0x64, 0x69, 0x63, 0x65, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x04, 0x42, 0x36, 0xfa, 0xde, 0x1f, - 0x32, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x72, 0x79, 0x73, - 0x6d, 0x61, 0x74, 0x69, 0x63, 0x6c, 0x61, 0x62, 0x73, 0x2f, 0x65, 0x74, 0x68, 0x32, 0x2d, 0x74, - 0x79, 0x70, 0x65, 0x73, 0x2e, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x49, 0x6e, - 0x64, 0x65, 0x78, 0x52, 0x1a, 0x61, 0x63, 0x74, 0x69, 0x76, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x56, - 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x49, 0x6e, 0x64, 0x69, 0x63, 0x65, 0x73, 0x12, - 0x6c, 0x0a, 0x16, 0x65, 0x78, 0x69, 0x74, 0x5f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, - 0x72, 0x5f, 0x69, 0x6e, 0x64, 0x69, 0x63, 0x65, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x04, 0x42, - 0x36, 0xfa, 0xde, 0x1f, 0x32, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, - 0x70, 0x72, 0x79, 0x73, 0x6d, 0x61, 0x74, 0x69, 0x63, 0x6c, 0x61, 0x62, 0x73, 0x2f, 0x65, 0x74, - 0x68, 0x32, 0x2d, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, - 0x6f, 0x72, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x52, 0x14, 0x65, 0x78, 0x69, 0x74, 0x56, 0x61, 0x6c, - 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x49, 0x6e, 0x64, 0x69, 0x63, 0x65, 0x73, 0x22, 0xd8, 0x02, - 0x0a, 0x1f, 0x4c, 0x69, 0x73, 0x74, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x41, - 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x12, 0x45, 0x0a, 0x05, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, - 0x42, 0x2d, 0xfa, 0xde, 0x1f, 0x29, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, - 0x2f, 0x70, 0x72, 0x79, 0x73, 0x6d, 0x61, 0x74, 0x69, 0x63, 0x6c, 0x61, 0x62, 0x73, 0x2f, 0x65, - 0x74, 0x68, 0x32, 0x2d, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x45, 0x70, 0x6f, 0x63, 0x68, 0x48, - 0x00, 0x52, 0x05, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x12, 0x1a, 0x0a, 0x07, 0x67, 0x65, 0x6e, 0x65, - 0x73, 0x69, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x48, 0x00, 0x52, 0x07, 0x67, 0x65, 0x6e, - 0x65, 0x73, 0x69, 0x73, 0x12, 0x34, 0x0a, 0x0b, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x5f, 0x6b, - 0x65, 0x79, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0c, 0x42, 0x13, 0xf2, 0xde, 0x1f, 0x0f, 0x73, - 0x73, 0x7a, 0x2d, 0x73, 0x69, 0x7a, 0x65, 0x3a, 0x22, 0x3f, 0x2c, 0x34, 0x38, 0x22, 0x52, 0x0a, - 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4b, 0x65, 0x79, 0x73, 0x12, 0x50, 0x0a, 0x07, 0x69, 0x6e, - 0x64, 0x69, 0x63, 0x65, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x04, 0x42, 0x36, 0xfa, 0xde, 0x1f, - 0x32, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x72, 0x79, 0x73, - 0x6d, 0x61, 0x74, 0x69, 0x63, 0x6c, 0x61, 0x62, 0x73, 0x2f, 0x65, 0x74, 0x68, 0x32, 0x2d, 0x74, - 0x79, 0x70, 0x65, 0x73, 0x2e, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x49, 0x6e, - 0x64, 0x65, 0x78, 0x52, 0x07, 0x69, 0x6e, 0x64, 0x69, 0x63, 0x65, 0x73, 0x12, 0x1b, 0x0a, 0x09, - 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, - 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x61, 0x67, - 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, - 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x42, 0x0e, 0x0a, 0x0c, 0x71, 0x75, 0x65, 0x72, - 0x79, 0x5f, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x22, 0xa0, 0x06, 0x0a, 0x14, 0x56, 0x61, 0x6c, - 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, - 0x73, 0x12, 0x43, 0x0a, 0x05, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, - 0x42, 0x2d, 0xfa, 0xde, 0x1f, 0x29, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, - 0x2f, 0x70, 0x72, 0x79, 0x73, 0x6d, 0x61, 0x74, 0x69, 0x63, 0x6c, 0x61, 0x62, 0x73, 0x2f, 0x65, - 0x74, 0x68, 0x32, 0x2d, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x45, 0x70, 0x6f, 0x63, 0x68, 0x52, - 0x05, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x12, 0x61, 0x0a, 0x0b, 0x61, 0x73, 0x73, 0x69, 0x67, 0x6e, - 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3f, 0x2e, 0x65, 0x74, - 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, - 0x68, 0x61, 0x31, 0x2e, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x41, 0x73, 0x73, - 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x74, - 0x65, 0x65, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x0b, 0x61, 0x73, - 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78, - 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x03, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, - 0x6e, 0x12, 0x1d, 0x0a, 0x0a, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, - 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x53, 0x69, 0x7a, 0x65, - 0x1a, 0x98, 0x04, 0x0a, 0x13, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x74, 0x65, 0x65, 0x41, 0x73, - 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x63, 0x0a, 0x11, 0x62, 0x65, 0x61, 0x63, - 0x6f, 0x6e, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x74, 0x65, 0x65, 0x73, 0x18, 0x01, 0x20, - 0x03, 0x28, 0x04, 0x42, 0x36, 0xfa, 0xde, 0x1f, 0x32, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, - 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x72, 0x79, 0x73, 0x6d, 0x61, 0x74, 0x69, 0x63, 0x6c, 0x61, 0x62, - 0x73, 0x2f, 0x65, 0x74, 0x68, 0x32, 0x2d, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x56, 0x61, 0x6c, - 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x52, 0x10, 0x62, 0x65, 0x61, - 0x63, 0x6f, 0x6e, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x74, 0x65, 0x65, 0x73, 0x12, 0x5f, 0x0a, - 0x0f, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x74, 0x65, 0x65, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x42, 0x36, 0xfa, 0xde, 0x1f, 0x32, 0x67, 0x69, 0x74, 0x68, - 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x72, 0x79, 0x73, 0x6d, 0x61, 0x74, 0x69, 0x63, - 0x6c, 0x61, 0x62, 0x73, 0x2f, 0x65, 0x74, 0x68, 0x32, 0x2d, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, - 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x74, 0x65, 0x65, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x52, 0x0e, - 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x74, 0x65, 0x65, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x51, - 0x0a, 0x0d, 0x61, 0x74, 0x74, 0x65, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x73, 0x6c, 0x6f, 0x74, 0x18, - 0x03, 0x20, 0x01, 0x28, 0x04, 0x42, 0x2c, 0xfa, 0xde, 0x1f, 0x28, 0x67, 0x69, 0x74, 0x68, 0x75, - 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x72, 0x79, 0x73, 0x6d, 0x61, 0x74, 0x69, 0x63, 0x6c, - 0x61, 0x62, 0x73, 0x2f, 0x65, 0x74, 0x68, 0x32, 0x2d, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x53, - 0x6c, 0x6f, 0x74, 0x52, 0x0c, 0x61, 0x74, 0x74, 0x65, 0x73, 0x74, 0x65, 0x72, 0x53, 0x6c, 0x6f, - 0x74, 0x12, 0x53, 0x0a, 0x0e, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x65, 0x72, 0x5f, 0x73, 0x6c, - 0x6f, 0x74, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x04, 0x42, 0x2c, 0xfa, 0xde, 0x1f, 0x28, 0x67, - 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x72, 0x79, 0x73, 0x6d, 0x61, - 0x74, 0x69, 0x63, 0x6c, 0x61, 0x62, 0x73, 0x2f, 0x65, 0x74, 0x68, 0x32, 0x2d, 0x74, 0x79, 0x70, - 0x65, 0x73, 0x2e, 0x53, 0x6c, 0x6f, 0x74, 0x52, 0x0d, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x65, - 0x72, 0x53, 0x6c, 0x6f, 0x74, 0x73, 0x12, 0x32, 0x0a, 0x0a, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, - 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0c, 0x42, 0x13, 0x18, 0x01, 0xf2, 0xde, - 0x1f, 0x0d, 0x73, 0x73, 0x7a, 0x2d, 0x73, 0x69, 0x7a, 0x65, 0x3a, 0x22, 0x34, 0x38, 0x22, 0x52, - 0x09, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4b, 0x65, 0x79, 0x12, 0x5f, 0x0a, 0x0f, 0x76, 0x61, - 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x06, 0x20, - 0x01, 0x28, 0x04, 0x42, 0x36, 0xfa, 0xde, 0x1f, 0x32, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, - 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x72, 0x79, 0x73, 0x6d, 0x61, 0x74, 0x69, 0x63, 0x6c, 0x61, 0x62, - 0x73, 0x2f, 0x65, 0x74, 0x68, 0x32, 0x2d, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x56, 0x61, 0x6c, - 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x52, 0x0e, 0x76, 0x61, 0x6c, - 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x22, 0x95, 0x01, 0x0a, 0x20, - 0x47, 0x65, 0x74, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x50, 0x61, 0x72, 0x74, - 0x69, 0x63, 0x69, 0x70, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x12, 0x45, 0x0a, 0x05, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x42, - 0x2d, 0xfa, 0xde, 0x1f, 0x29, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, - 0x70, 0x72, 0x79, 0x73, 0x6d, 0x61, 0x74, 0x69, 0x63, 0x6c, 0x61, 0x62, 0x73, 0x2f, 0x65, 0x74, - 0x68, 0x32, 0x2d, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x45, 0x70, 0x6f, 0x63, 0x68, 0x48, 0x00, - 0x52, 0x05, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x12, 0x1a, 0x0a, 0x07, 0x67, 0x65, 0x6e, 0x65, 0x73, - 0x69, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x48, 0x00, 0x52, 0x07, 0x67, 0x65, 0x6e, 0x65, - 0x73, 0x69, 0x73, 0x42, 0x0e, 0x0a, 0x0c, 0x71, 0x75, 0x65, 0x72, 0x79, 0x5f, 0x66, 0x69, 0x6c, - 0x74, 0x65, 0x72, 0x22, 0xd8, 0x01, 0x0a, 0x1e, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, - 0x72, 0x50, 0x61, 0x72, 0x74, 0x69, 0x63, 0x69, 0x70, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x43, 0x0a, 0x05, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x04, 0x42, 0x2d, 0xfa, 0xde, 0x1f, 0x29, 0x67, 0x69, 0x74, 0x68, 0x75, - 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x72, 0x79, 0x73, 0x6d, 0x61, 0x74, 0x69, 0x63, 0x6c, - 0x61, 0x62, 0x73, 0x2f, 0x65, 0x74, 0x68, 0x32, 0x2d, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x45, - 0x70, 0x6f, 0x63, 0x68, 0x52, 0x05, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x12, 0x1c, 0x0a, 0x09, 0x66, - 0x69, 0x6e, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, - 0x66, 0x69, 0x6e, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x64, 0x12, 0x53, 0x0a, 0x0d, 0x70, 0x61, 0x72, - 0x74, 0x69, 0x63, 0x69, 0x70, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x2d, 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, - 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, - 0x6f, 0x72, 0x50, 0x61, 0x72, 0x74, 0x69, 0x63, 0x69, 0x70, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, - 0x0d, 0x70, 0x61, 0x72, 0x74, 0x69, 0x63, 0x69, 0x70, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x54, - 0x0a, 0x16, 0x41, 0x74, 0x74, 0x65, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x6f, 0x6f, - 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, - 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x61, 0x67, - 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, - 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x54, - 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0xa8, 0x01, 0x0a, 0x17, 0x41, 0x74, 0x74, 0x65, 0x73, 0x74, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x6f, 0x6f, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x12, 0x46, 0x0a, 0x0c, 0x61, 0x74, 0x74, 0x65, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, - 0x18, 0x01, 0x20, 0x03, 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, 0x41, - 0x74, 0x74, 0x65, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0c, 0x61, 0x74, 0x74, 0x65, - 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74, - 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, - 0x12, 0x1d, 0x0a, 0x0a, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x03, - 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x53, 0x69, 0x7a, 0x65, 0x22, - 0x92, 0x01, 0x0a, 0x0c, 0x42, 0x65, 0x61, 0x63, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, - 0x12, 0x47, 0x0a, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, - 0x32, 0x2f, 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, 0x43, - 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x45, 0x6e, 0x74, 0x72, - 0x79, 0x52, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x1a, 0x39, 0x0a, 0x0b, 0x43, 0x6f, 0x6e, - 0x66, 0x69, 0x67, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, - 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, - 0x3a, 0x02, 0x38, 0x01, 0x22, 0x79, 0x0a, 0x16, 0x53, 0x75, 0x62, 0x6d, 0x69, 0x74, 0x53, 0x6c, - 0x61, 0x73, 0x68, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5f, - 0x0a, 0x0f, 0x73, 0x6c, 0x61, 0x73, 0x68, 0x65, 0x64, 0x5f, 0x69, 0x6e, 0x64, 0x69, 0x63, 0x65, - 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x04, 0x42, 0x36, 0xfa, 0xde, 0x1f, 0x32, 0x67, 0x69, 0x74, - 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x72, 0x79, 0x73, 0x6d, 0x61, 0x74, 0x69, - 0x63, 0x6c, 0x61, 0x62, 0x73, 0x2f, 0x65, 0x74, 0x68, 0x32, 0x2d, 0x74, 0x79, 0x70, 0x65, 0x73, - 0x2e, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x52, - 0x0e, 0x73, 0x6c, 0x61, 0x73, 0x68, 0x65, 0x64, 0x49, 0x6e, 0x64, 0x69, 0x63, 0x65, 0x73, 0x22, - 0xd0, 0x01, 0x0a, 0x16, 0x49, 0x6e, 0x64, 0x69, 0x76, 0x69, 0x64, 0x75, 0x61, 0x6c, 0x56, 0x6f, - 0x74, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x43, 0x0a, 0x05, 0x65, 0x70, - 0x6f, 0x63, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x42, 0x2d, 0xfa, 0xde, 0x1f, 0x29, 0x67, - 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x72, 0x79, 0x73, 0x6d, 0x61, - 0x74, 0x69, 0x63, 0x6c, 0x61, 0x62, 0x73, 0x2f, 0x65, 0x74, 0x68, 0x32, 0x2d, 0x74, 0x79, 0x70, - 0x65, 0x73, 0x2e, 0x45, 0x70, 0x6f, 0x63, 0x68, 0x52, 0x05, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x12, - 0x1f, 0x0a, 0x0b, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x5f, 0x6b, 0x65, 0x79, 0x73, 0x18, 0x02, - 0x20, 0x03, 0x28, 0x0c, 0x52, 0x0a, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4b, 0x65, 0x79, 0x73, - 0x12, 0x50, 0x0a, 0x07, 0x69, 0x6e, 0x64, 0x69, 0x63, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, - 0x04, 0x42, 0x36, 0xfa, 0xde, 0x1f, 0x32, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, - 0x6d, 0x2f, 0x70, 0x72, 0x79, 0x73, 0x6d, 0x61, 0x74, 0x69, 0x63, 0x6c, 0x61, 0x62, 0x73, 0x2f, - 0x65, 0x74, 0x68, 0x32, 0x2d, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x56, 0x61, 0x6c, 0x69, 0x64, - 0x61, 0x74, 0x6f, 0x72, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x52, 0x07, 0x69, 0x6e, 0x64, 0x69, 0x63, - 0x65, 0x73, 0x22, 0x8c, 0x09, 0x0a, 0x16, 0x49, 0x6e, 0x64, 0x69, 0x76, 0x69, 0x64, 0x75, 0x61, - 0x6c, 0x56, 0x6f, 0x74, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x64, 0x12, 0x67, 0x0a, - 0x10, 0x69, 0x6e, 0x64, 0x69, 0x76, 0x69, 0x64, 0x75, 0x61, 0x6c, 0x5f, 0x76, 0x6f, 0x74, 0x65, - 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3c, 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, - 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, - 0x49, 0x6e, 0x64, 0x69, 0x76, 0x69, 0x64, 0x75, 0x61, 0x6c, 0x56, 0x6f, 0x74, 0x65, 0x73, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x64, 0x2e, 0x49, 0x6e, 0x64, 0x69, 0x76, 0x69, 0x64, 0x75, 0x61, - 0x6c, 0x56, 0x6f, 0x74, 0x65, 0x52, 0x0f, 0x69, 0x6e, 0x64, 0x69, 0x76, 0x69, 0x64, 0x75, 0x61, - 0x6c, 0x56, 0x6f, 0x74, 0x65, 0x73, 0x1a, 0x88, 0x08, 0x0a, 0x0e, 0x49, 0x6e, 0x64, 0x69, 0x76, - 0x69, 0x64, 0x75, 0x61, 0x6c, 0x56, 0x6f, 0x74, 0x65, 0x12, 0x43, 0x0a, 0x05, 0x65, 0x70, 0x6f, - 0x63, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x42, 0x2d, 0xfa, 0xde, 0x1f, 0x29, 0x67, 0x69, - 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x72, 0x79, 0x73, 0x6d, 0x61, 0x74, - 0x69, 0x63, 0x6c, 0x61, 0x62, 0x73, 0x2f, 0x65, 0x74, 0x68, 0x32, 0x2d, 0x74, 0x79, 0x70, 0x65, - 0x73, 0x2e, 0x45, 0x70, 0x6f, 0x63, 0x68, 0x52, 0x05, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x12, 0x1d, - 0x0a, 0x0a, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x0c, 0x52, 0x09, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4b, 0x65, 0x79, 0x12, 0x5f, 0x0a, - 0x0f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, - 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x42, 0x36, 0xfa, 0xde, 0x1f, 0x32, 0x67, 0x69, 0x74, 0x68, - 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x72, 0x79, 0x73, 0x6d, 0x61, 0x74, 0x69, 0x63, - 0x6c, 0x61, 0x62, 0x73, 0x2f, 0x65, 0x74, 0x68, 0x32, 0x2d, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, - 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x52, 0x0e, - 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x1d, - 0x0a, 0x0a, 0x69, 0x73, 0x5f, 0x73, 0x6c, 0x61, 0x73, 0x68, 0x65, 0x64, 0x18, 0x04, 0x20, 0x01, - 0x28, 0x08, 0x52, 0x09, 0x69, 0x73, 0x53, 0x6c, 0x61, 0x73, 0x68, 0x65, 0x64, 0x12, 0x46, 0x0a, - 0x20, 0x69, 0x73, 0x5f, 0x77, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x61, 0x62, 0x6c, 0x65, - 0x5f, 0x69, 0x6e, 0x5f, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x65, 0x70, 0x6f, 0x63, - 0x68, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x1c, 0x69, 0x73, 0x57, 0x69, 0x74, 0x68, 0x64, - 0x72, 0x61, 0x77, 0x61, 0x62, 0x6c, 0x65, 0x49, 0x6e, 0x43, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, - 0x45, 0x70, 0x6f, 0x63, 0x68, 0x12, 0x3a, 0x0a, 0x1a, 0x69, 0x73, 0x5f, 0x61, 0x63, 0x74, 0x69, - 0x76, 0x65, 0x5f, 0x69, 0x6e, 0x5f, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x65, 0x70, - 0x6f, 0x63, 0x68, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x16, 0x69, 0x73, 0x41, 0x63, 0x74, - 0x69, 0x76, 0x65, 0x49, 0x6e, 0x43, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x45, 0x70, 0x6f, 0x63, - 0x68, 0x12, 0x3c, 0x0a, 0x1b, 0x69, 0x73, 0x5f, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x69, - 0x6e, 0x5f, 0x70, 0x72, 0x65, 0x76, 0x69, 0x6f, 0x75, 0x73, 0x5f, 0x65, 0x70, 0x6f, 0x63, 0x68, - 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x17, 0x69, 0x73, 0x41, 0x63, 0x74, 0x69, 0x76, 0x65, - 0x49, 0x6e, 0x50, 0x72, 0x65, 0x76, 0x69, 0x6f, 0x75, 0x73, 0x45, 0x70, 0x6f, 0x63, 0x68, 0x12, - 0x39, 0x0a, 0x19, 0x69, 0x73, 0x5f, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x65, 0x70, - 0x6f, 0x63, 0x68, 0x5f, 0x61, 0x74, 0x74, 0x65, 0x73, 0x74, 0x65, 0x72, 0x18, 0x08, 0x20, 0x01, - 0x28, 0x08, 0x52, 0x16, 0x69, 0x73, 0x43, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x45, 0x70, 0x6f, - 0x63, 0x68, 0x41, 0x74, 0x74, 0x65, 0x73, 0x74, 0x65, 0x72, 0x12, 0x46, 0x0a, 0x20, 0x69, 0x73, - 0x5f, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x5f, 0x74, - 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x61, 0x74, 0x74, 0x65, 0x73, 0x74, 0x65, 0x72, 0x18, 0x09, - 0x20, 0x01, 0x28, 0x08, 0x52, 0x1c, 0x69, 0x73, 0x43, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x45, - 0x70, 0x6f, 0x63, 0x68, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x41, 0x74, 0x74, 0x65, 0x73, 0x74, - 0x65, 0x72, 0x12, 0x3b, 0x0a, 0x1a, 0x69, 0x73, 0x5f, 0x70, 0x72, 0x65, 0x76, 0x69, 0x6f, 0x75, - 0x73, 0x5f, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x5f, 0x61, 0x74, 0x74, 0x65, 0x73, 0x74, 0x65, 0x72, - 0x18, 0x0a, 0x20, 0x01, 0x28, 0x08, 0x52, 0x17, 0x69, 0x73, 0x50, 0x72, 0x65, 0x76, 0x69, 0x6f, - 0x75, 0x73, 0x45, 0x70, 0x6f, 0x63, 0x68, 0x41, 0x74, 0x74, 0x65, 0x73, 0x74, 0x65, 0x72, 0x12, - 0x48, 0x0a, 0x21, 0x69, 0x73, 0x5f, 0x70, 0x72, 0x65, 0x76, 0x69, 0x6f, 0x75, 0x73, 0x5f, 0x65, - 0x70, 0x6f, 0x63, 0x68, 0x5f, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x61, 0x74, 0x74, 0x65, - 0x73, 0x74, 0x65, 0x72, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x08, 0x52, 0x1d, 0x69, 0x73, 0x50, 0x72, - 0x65, 0x76, 0x69, 0x6f, 0x75, 0x73, 0x45, 0x70, 0x6f, 0x63, 0x68, 0x54, 0x61, 0x72, 0x67, 0x65, - 0x74, 0x41, 0x74, 0x74, 0x65, 0x73, 0x74, 0x65, 0x72, 0x12, 0x44, 0x0a, 0x1f, 0x69, 0x73, 0x5f, - 0x70, 0x72, 0x65, 0x76, 0x69, 0x6f, 0x75, 0x73, 0x5f, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x5f, 0x68, - 0x65, 0x61, 0x64, 0x5f, 0x61, 0x74, 0x74, 0x65, 0x73, 0x74, 0x65, 0x72, 0x18, 0x0c, 0x20, 0x01, - 0x28, 0x08, 0x52, 0x1b, 0x69, 0x73, 0x50, 0x72, 0x65, 0x76, 0x69, 0x6f, 0x75, 0x73, 0x45, 0x70, - 0x6f, 0x63, 0x68, 0x48, 0x65, 0x61, 0x64, 0x41, 0x74, 0x74, 0x65, 0x73, 0x74, 0x65, 0x72, 0x12, - 0x4e, 0x0a, 0x24, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x65, 0x70, 0x6f, 0x63, 0x68, - 0x5f, 0x65, 0x66, 0x66, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x62, 0x61, 0x6c, 0x61, 0x6e, - 0x63, 0x65, 0x5f, 0x67, 0x77, 0x65, 0x69, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x04, 0x52, 0x20, 0x63, - 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x45, 0x70, 0x6f, 0x63, 0x68, 0x45, 0x66, 0x66, 0x65, 0x63, - 0x74, 0x69, 0x76, 0x65, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x47, 0x77, 0x65, 0x69, 0x12, - 0x53, 0x0a, 0x0e, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x73, 0x6c, 0x6f, - 0x74, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x04, 0x42, 0x2c, 0xfa, 0xde, 0x1f, 0x28, 0x67, 0x69, 0x74, - 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x72, 0x79, 0x73, 0x6d, 0x61, 0x74, 0x69, - 0x63, 0x6c, 0x61, 0x62, 0x73, 0x2f, 0x65, 0x74, 0x68, 0x32, 0x2d, 0x74, 0x79, 0x70, 0x65, 0x73, - 0x2e, 0x53, 0x6c, 0x6f, 0x74, 0x52, 0x0d, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x73, 0x69, 0x6f, 0x6e, - 0x53, 0x6c, 0x6f, 0x74, 0x12, 0x5b, 0x0a, 0x12, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x73, 0x69, 0x6f, - 0x6e, 0x5f, 0x64, 0x69, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x04, - 0x42, 0x2c, 0xfa, 0xde, 0x1f, 0x28, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, - 0x2f, 0x70, 0x72, 0x79, 0x73, 0x6d, 0x61, 0x74, 0x69, 0x63, 0x6c, 0x61, 0x62, 0x73, 0x2f, 0x65, - 0x74, 0x68, 0x32, 0x2d, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x53, 0x6c, 0x6f, 0x74, 0x52, 0x11, - 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x73, 0x69, 0x6f, 0x6e, 0x44, 0x69, 0x73, 0x74, 0x61, 0x6e, 0x63, - 0x65, 0x22, 0x9f, 0x01, 0x0a, 0x1a, 0x57, 0x65, 0x61, 0x6b, 0x53, 0x75, 0x62, 0x6a, 0x65, 0x63, - 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x70, 0x6f, 0x69, 0x6e, 0x74, - 0x12, 0x1d, 0x0a, 0x0a, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x72, 0x6f, 0x6f, 0x74, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x6f, 0x6f, 0x74, 0x12, - 0x1d, 0x0a, 0x0a, 0x73, 0x74, 0x61, 0x74, 0x65, 0x5f, 0x72, 0x6f, 0x6f, 0x74, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x0c, 0x52, 0x09, 0x73, 0x74, 0x61, 0x74, 0x65, 0x52, 0x6f, 0x6f, 0x74, 0x12, 0x43, - 0x0a, 0x05, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x42, 0x2d, 0xfa, - 0xde, 0x1f, 0x29, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x72, - 0x79, 0x73, 0x6d, 0x61, 0x74, 0x69, 0x63, 0x6c, 0x61, 0x62, 0x73, 0x2f, 0x65, 0x74, 0x68, 0x32, - 0x2d, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x45, 0x70, 0x6f, 0x63, 0x68, 0x52, 0x05, 0x65, 0x70, - 0x6f, 0x63, 0x68, 0x2a, 0x56, 0x0a, 0x09, 0x53, 0x65, 0x74, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, - 0x12, 0x16, 0x0a, 0x12, 0x41, 0x44, 0x44, 0x5f, 0x56, 0x41, 0x4c, 0x49, 0x44, 0x41, 0x54, 0x4f, - 0x52, 0x5f, 0x4b, 0x45, 0x59, 0x53, 0x10, 0x00, 0x12, 0x19, 0x0a, 0x15, 0x52, 0x45, 0x4d, 0x4f, - 0x56, 0x45, 0x5f, 0x56, 0x41, 0x4c, 0x49, 0x44, 0x41, 0x54, 0x4f, 0x52, 0x5f, 0x4b, 0x45, 0x59, - 0x53, 0x10, 0x01, 0x12, 0x16, 0x0a, 0x12, 0x53, 0x45, 0x54, 0x5f, 0x56, 0x41, 0x4c, 0x49, 0x44, - 0x41, 0x54, 0x4f, 0x52, 0x5f, 0x4b, 0x45, 0x59, 0x53, 0x10, 0x02, 0x32, 0x93, 0x1d, 0x0a, 0x0b, - 0x42, 0x65, 0x61, 0x63, 0x6f, 0x6e, 0x43, 0x68, 0x61, 0x69, 0x6e, 0x12, 0x9e, 0x01, 0x0a, 0x10, - 0x4c, 0x69, 0x73, 0x74, 0x41, 0x74, 0x74, 0x65, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, - 0x12, 0x2e, 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, - 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x74, 0x74, - 0x65, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x1a, 0x2f, 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, - 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x74, 0x74, - 0x65, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x22, 0x29, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x23, 0x12, 0x21, 0x2f, 0x65, 0x74, 0x68, 0x2f, - 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2f, 0x62, 0x65, 0x61, 0x63, 0x6f, 0x6e, 0x2f, - 0x61, 0x74, 0x74, 0x65, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0xbb, 0x01, 0x0a, - 0x17, 0x4c, 0x69, 0x73, 0x74, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x65, 0x64, 0x41, 0x74, 0x74, 0x65, - 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x35, 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, - 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, - 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x65, 0x64, 0x41, 0x74, 0x74, 0x65, - 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, - 0x36, 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, - 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x49, 0x6e, 0x64, 0x65, - 0x78, 0x65, 0x64, 0x41, 0x74, 0x74, 0x65, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x31, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2b, 0x12, - 0x29, 0x2f, 0x65, 0x74, 0x68, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2f, 0x62, - 0x65, 0x61, 0x63, 0x6f, 0x6e, 0x2f, 0x61, 0x74, 0x74, 0x65, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x73, 0x2f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x65, 0x64, 0x12, 0x84, 0x01, 0x0a, 0x12, 0x53, - 0x74, 0x72, 0x65, 0x61, 0x6d, 0x41, 0x74, 0x74, 0x65, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 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, 0x22, 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, 0x22, 0x30, 0x82, - 0xd3, 0xe4, 0x93, 0x02, 0x2a, 0x12, 0x28, 0x2f, 0x65, 0x74, 0x68, 0x2f, 0x76, 0x31, 0x61, 0x6c, - 0x70, 0x68, 0x61, 0x31, 0x2f, 0x62, 0x65, 0x61, 0x63, 0x6f, 0x6e, 0x2f, 0x61, 0x74, 0x74, 0x65, - 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x30, - 0x01, 0x12, 0x9a, 0x01, 0x0a, 0x19, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x49, 0x6e, 0x64, 0x65, - 0x78, 0x65, 0x64, 0x41, 0x74, 0x74, 0x65, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 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, 0x29, 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, - 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, - 0x49, 0x6e, 0x64, 0x65, 0x78, 0x65, 0x64, 0x41, 0x74, 0x74, 0x65, 0x73, 0x74, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x22, 0x38, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x32, 0x12, 0x30, 0x2f, 0x65, 0x74, 0x68, - 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2f, 0x62, 0x65, 0x61, 0x63, 0x6f, 0x6e, - 0x2f, 0x61, 0x74, 0x74, 0x65, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x69, 0x6e, - 0x64, 0x65, 0x78, 0x65, 0x64, 0x2f, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x30, 0x01, 0x12, 0xa0, - 0x01, 0x0a, 0x0f, 0x41, 0x74, 0x74, 0x65, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x6f, - 0x6f, 0x6c, 0x12, 0x2d, 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, 0x50, 0x6f, 0x6f, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x1a, 0x2e, 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, 0x50, 0x6f, 0x6f, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x22, 0x2e, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x28, 0x12, 0x26, 0x2f, 0x65, 0x74, 0x68, 0x2f, - 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2f, 0x62, 0x65, 0x61, 0x63, 0x6f, 0x6e, 0x2f, - 0x61, 0x74, 0x74, 0x65, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x70, 0x6f, 0x6f, - 0x6c, 0x12, 0x86, 0x01, 0x0a, 0x0a, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x73, - 0x12, 0x28, 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, - 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x6c, 0x6f, - 0x63, 0x6b, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x29, 0x2e, 0x65, 0x74, 0x68, - 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, - 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x73, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x23, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1d, 0x12, 0x1b, 0x2f, - 0x65, 0x74, 0x68, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2f, 0x62, 0x65, 0x61, - 0x63, 0x6f, 0x6e, 0x2f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x73, 0x12, 0x92, 0x01, 0x0a, 0x0c, 0x53, - 0x74, 0x72, 0x65, 0x61, 0x6d, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x73, 0x12, 0x2a, 0x2e, 0x65, 0x74, - 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, - 0x68, 0x61, 0x31, 0x2e, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x73, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x28, 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, - 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, - 0x53, 0x69, 0x67, 0x6e, 0x65, 0x64, 0x42, 0x65, 0x61, 0x63, 0x6f, 0x6e, 0x42, 0x6c, 0x6f, 0x63, - 0x6b, 0x22, 0x2a, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x24, 0x12, 0x22, 0x2f, 0x65, 0x74, 0x68, 0x2f, - 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2f, 0x62, 0x65, 0x61, 0x63, 0x6f, 0x6e, 0x2f, - 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x73, 0x2f, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x30, 0x01, 0x12, - 0x7c, 0x0a, 0x0f, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x43, 0x68, 0x61, 0x69, 0x6e, 0x48, 0x65, - 0x61, 0x64, 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, 0x20, 0x2e, 0x65, 0x74, 0x68, - 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, - 0x61, 0x31, 0x2e, 0x43, 0x68, 0x61, 0x69, 0x6e, 0x48, 0x65, 0x61, 0x64, 0x22, 0x2d, 0x82, 0xd3, - 0xe4, 0x93, 0x02, 0x27, 0x12, 0x25, 0x2f, 0x65, 0x74, 0x68, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, - 0x68, 0x61, 0x31, 0x2f, 0x62, 0x65, 0x61, 0x63, 0x6f, 0x6e, 0x2f, 0x63, 0x68, 0x61, 0x69, 0x6e, - 0x68, 0x65, 0x61, 0x64, 0x2f, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x30, 0x01, 0x12, 0x70, 0x0a, - 0x0c, 0x47, 0x65, 0x74, 0x43, 0x68, 0x61, 0x69, 0x6e, 0x48, 0x65, 0x61, 0x64, 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, 0x20, 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, - 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x43, 0x68, - 0x61, 0x69, 0x6e, 0x48, 0x65, 0x61, 0x64, 0x22, 0x26, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x20, 0x12, - 0x1e, 0x2f, 0x65, 0x74, 0x68, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2f, 0x62, - 0x65, 0x61, 0x63, 0x6f, 0x6e, 0x2f, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x68, 0x65, 0x61, 0x64, 0x12, - 0xa5, 0x01, 0x0a, 0x1d, 0x47, 0x65, 0x74, 0x57, 0x65, 0x61, 0x6b, 0x53, 0x75, 0x62, 0x6a, 0x65, - 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x70, 0x6f, 0x69, 0x6e, - 0x74, 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, 0x31, 0x2e, 0x65, 0x74, 0x68, 0x65, - 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, - 0x31, 0x2e, 0x57, 0x65, 0x61, 0x6b, 0x53, 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x69, - 0x74, 0x79, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x22, 0x39, 0x82, 0xd3, - 0xe4, 0x93, 0x02, 0x33, 0x12, 0x31, 0x2f, 0x65, 0x74, 0x68, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, - 0x68, 0x61, 0x31, 0x2f, 0x62, 0x65, 0x61, 0x63, 0x6f, 0x6e, 0x2f, 0x77, 0x65, 0x61, 0x6b, 0x5f, - 0x73, 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x5f, 0x63, 0x68, 0x65, - 0x63, 0x6b, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x12, 0x96, 0x01, 0x0a, 0x14, 0x4c, 0x69, 0x73, 0x74, - 0x42, 0x65, 0x61, 0x63, 0x6f, 0x6e, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x74, 0x65, 0x65, 0x73, - 0x12, 0x2c, 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, - 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x43, 0x6f, 0x6d, - 0x6d, 0x69, 0x74, 0x74, 0x65, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x27, - 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, 0x43, 0x6f, 0x6d, - 0x6d, 0x69, 0x74, 0x74, 0x65, 0x65, 0x73, 0x22, 0x27, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x21, 0x12, - 0x1f, 0x2f, 0x65, 0x74, 0x68, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2f, 0x62, - 0x65, 0x61, 0x63, 0x6f, 0x6e, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x74, 0x65, 0x65, 0x73, - 0x12, 0xa1, 0x01, 0x0a, 0x15, 0x4c, 0x69, 0x73, 0x74, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, - 0x6f, 0x72, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x12, 0x33, 0x2e, 0x65, 0x74, 0x68, - 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, - 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, - 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, - 0x28, 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, - 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, - 0x72, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x22, 0x29, 0x82, 0xd3, 0xe4, 0x93, 0x02, - 0x23, 0x12, 0x21, 0x2f, 0x65, 0x74, 0x68, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, - 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x73, 0x2f, 0x62, 0x61, 0x6c, 0x61, - 0x6e, 0x63, 0x65, 0x73, 0x12, 0x83, 0x01, 0x0a, 0x0e, 0x4c, 0x69, 0x73, 0x74, 0x56, 0x61, 0x6c, - 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x73, 0x12, 0x2c, 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, - 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, - 0x4c, 0x69, 0x73, 0x74, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x73, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, - 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x56, 0x61, - 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x73, 0x22, 0x20, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1a, - 0x12, 0x18, 0x2f, 0x65, 0x74, 0x68, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2f, - 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x73, 0x12, 0x7d, 0x0a, 0x0c, 0x47, 0x65, - 0x74, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x12, 0x2a, 0x2e, 0x65, 0x74, 0x68, - 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, - 0x61, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x20, 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, - 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x56, - 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x22, 0x1f, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x19, - 0x12, 0x17, 0x2f, 0x65, 0x74, 0x68, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2f, - 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x12, 0xb6, 0x01, 0x0a, 0x1c, 0x47, 0x65, - 0x74, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x41, 0x63, 0x74, 0x69, 0x76, 0x65, - 0x53, 0x65, 0x74, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x12, 0x3a, 0x2e, 0x65, 0x74, 0x68, - 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, - 0x61, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x41, - 0x63, 0x74, 0x69, 0x76, 0x65, 0x53, 0x65, 0x74, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x27, 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, - 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x41, - 0x63, 0x74, 0x69, 0x76, 0x65, 0x53, 0x65, 0x74, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x22, - 0x31, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2b, 0x12, 0x29, 0x2f, 0x65, 0x74, 0x68, 0x2f, 0x76, 0x31, - 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, - 0x73, 0x2f, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x73, 0x65, 0x74, 0x63, 0x68, 0x61, 0x6e, 0x67, - 0x65, 0x73, 0x12, 0x7a, 0x0a, 0x11, 0x47, 0x65, 0x74, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, - 0x6f, 0x72, 0x51, 0x75, 0x65, 0x75, 0x65, 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, - 0x25, 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, - 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, - 0x72, 0x51, 0x75, 0x65, 0x75, 0x65, 0x22, 0x26, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x20, 0x12, 0x1e, - 0x2f, 0x65, 0x74, 0x68, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2f, 0x76, 0x61, - 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x73, 0x2f, 0x71, 0x75, 0x65, 0x75, 0x65, 0x12, 0xb0, - 0x01, 0x0a, 0x17, 0x47, 0x65, 0x74, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x50, - 0x65, 0x72, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x32, 0x2e, 0x65, 0x74, 0x68, - 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, - 0x61, 0x31, 0x2e, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x50, 0x65, 0x72, 0x66, - 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x33, - 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, - 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, - 0x50, 0x65, 0x72, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x22, 0x2c, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x26, 0x12, 0x24, 0x2f, 0x65, 0x74, - 0x68, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, - 0x61, 0x74, 0x6f, 0x72, 0x73, 0x2f, 0x70, 0x65, 0x72, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, - 0x65, 0x12, 0xad, 0x01, 0x0a, 0x18, 0x4c, 0x69, 0x73, 0x74, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, - 0x74, 0x6f, 0x72, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x36, - 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, - 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x56, 0x61, 0x6c, 0x69, 0x64, - 0x61, 0x74, 0x6f, 0x72, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2b, 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, - 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x56, - 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65, - 0x6e, 0x74, 0x73, 0x22, 0x2c, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x26, 0x12, 0x24, 0x2f, 0x65, 0x74, - 0x68, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, - 0x61, 0x74, 0x6f, 0x72, 0x73, 0x2f, 0x61, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, - 0x73, 0x12, 0xbb, 0x01, 0x0a, 0x19, 0x47, 0x65, 0x74, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, - 0x6f, 0x72, 0x50, 0x61, 0x72, 0x74, 0x69, 0x63, 0x69, 0x70, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, - 0x37, 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, - 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x56, 0x61, 0x6c, 0x69, 0x64, - 0x61, 0x74, 0x6f, 0x72, 0x50, 0x61, 0x72, 0x74, 0x69, 0x63, 0x69, 0x70, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x35, 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, - 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, - 0x2e, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x50, 0x61, 0x72, 0x74, 0x69, 0x63, - 0x69, 0x70, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, - 0x2e, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x28, 0x12, 0x26, 0x2f, 0x65, 0x74, 0x68, 0x2f, 0x76, 0x31, - 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, - 0x73, 0x2f, 0x70, 0x61, 0x72, 0x74, 0x69, 0x63, 0x69, 0x70, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, - 0x73, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x42, 0x65, 0x61, 0x63, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x66, - 0x69, 0x67, 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, 0x23, 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, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x22, - 0x23, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1d, 0x12, 0x1b, 0x2f, 0x65, 0x74, 0x68, 0x2f, 0x76, 0x31, - 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2f, 0x62, 0x65, 0x61, 0x63, 0x6f, 0x6e, 0x2f, 0x63, 0x6f, - 0x6e, 0x66, 0x69, 0x67, 0x12, 0xa0, 0x01, 0x0a, 0x14, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x56, - 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x29, 0x2e, - 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x61, - 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x43, - 0x68, 0x61, 0x6e, 0x67, 0x65, 0x53, 0x65, 0x74, 0x1a, 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, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x22, 0x33, - 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2d, 0x12, 0x2b, 0x2f, 0x65, 0x74, 0x68, 0x2f, 0x76, 0x31, 0x61, - 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2f, 0x62, 0x65, 0x61, 0x63, 0x6f, 0x6e, 0x2f, 0x76, 0x61, 0x6c, - 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x73, 0x2f, 0x69, 0x6e, 0x66, 0x6f, 0x2f, 0x73, 0x74, 0x72, - 0x65, 0x61, 0x6d, 0x28, 0x01, 0x30, 0x01, 0x12, 0xa8, 0x01, 0x0a, 0x16, 0x53, 0x75, 0x62, 0x6d, - 0x69, 0x74, 0x41, 0x74, 0x74, 0x65, 0x73, 0x74, 0x65, 0x72, 0x53, 0x6c, 0x61, 0x73, 0x68, 0x69, - 0x6e, 0x67, 0x12, 0x27, 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, 0x65, 0x72, 0x53, 0x6c, 0x61, 0x73, 0x68, 0x69, 0x6e, 0x67, 0x1a, 0x2d, 0x2e, 0x65, 0x74, - 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, - 0x68, 0x61, 0x31, 0x2e, 0x53, 0x75, 0x62, 0x6d, 0x69, 0x74, 0x53, 0x6c, 0x61, 0x73, 0x68, 0x69, - 0x6e, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x36, 0x82, 0xd3, 0xe4, 0x93, - 0x02, 0x30, 0x12, 0x2e, 0x2f, 0x65, 0x74, 0x68, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, - 0x31, 0x2f, 0x62, 0x65, 0x61, 0x63, 0x6f, 0x6e, 0x2f, 0x73, 0x6c, 0x61, 0x73, 0x68, 0x69, 0x6e, - 0x67, 0x73, 0x2f, 0x61, 0x74, 0x74, 0x65, 0x73, 0x74, 0x65, 0x72, 0x2f, 0x73, 0x75, 0x62, 0x6d, - 0x69, 0x74, 0x12, 0xa8, 0x01, 0x0a, 0x16, 0x53, 0x75, 0x62, 0x6d, 0x69, 0x74, 0x50, 0x72, 0x6f, - 0x70, 0x6f, 0x73, 0x65, 0x72, 0x53, 0x6c, 0x61, 0x73, 0x68, 0x69, 0x6e, 0x67, 0x12, 0x27, 0x2e, - 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x61, - 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x65, 0x72, 0x53, 0x6c, - 0x61, 0x73, 0x68, 0x69, 0x6e, 0x67, 0x1a, 0x2d, 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, - 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x53, - 0x75, 0x62, 0x6d, 0x69, 0x74, 0x53, 0x6c, 0x61, 0x73, 0x68, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x36, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x30, 0x12, 0x2e, 0x2f, - 0x65, 0x74, 0x68, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2f, 0x62, 0x65, 0x61, - 0x63, 0x6f, 0x6e, 0x2f, 0x73, 0x6c, 0x61, 0x73, 0x68, 0x69, 0x6e, 0x67, 0x73, 0x2f, 0x70, 0x72, - 0x6f, 0x70, 0x6f, 0x73, 0x65, 0x72, 0x2f, 0x73, 0x75, 0x62, 0x6d, 0x69, 0x74, 0x12, 0xa1, 0x01, - 0x0a, 0x12, 0x47, 0x65, 0x74, 0x49, 0x6e, 0x64, 0x69, 0x76, 0x69, 0x64, 0x75, 0x61, 0x6c, 0x56, - 0x6f, 0x74, 0x65, 0x73, 0x12, 0x2d, 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, - 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x49, 0x6e, 0x64, - 0x69, 0x76, 0x69, 0x64, 0x75, 0x61, 0x6c, 0x56, 0x6f, 0x74, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x1a, 0x2d, 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, - 0x74, 0x68, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x49, 0x6e, 0x64, 0x69, - 0x76, 0x69, 0x64, 0x75, 0x61, 0x6c, 0x56, 0x6f, 0x74, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x64, 0x22, 0x2d, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x27, 0x12, 0x25, 0x2f, 0x65, 0x74, 0x68, - 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2f, 0x62, 0x65, 0x61, 0x63, 0x6f, 0x6e, - 0x2f, 0x69, 0x6e, 0x64, 0x69, 0x76, 0x69, 0x64, 0x75, 0x61, 0x6c, 0x5f, 0x76, 0x6f, 0x74, 0x65, - 0x73, 0x42, 0x97, 0x01, 0x0a, 0x19, 0x6f, 0x72, 0x67, 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, - 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x42, - 0x10, 0x42, 0x65, 0x61, 0x63, 0x6f, 0x6e, 0x43, 0x68, 0x61, 0x69, 0x6e, 0x50, 0x72, 0x6f, 0x74, - 0x6f, 0x50, 0x01, 0x5a, 0x36, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, - 0x70, 0x72, 0x79, 0x73, 0x6d, 0x61, 0x74, 0x69, 0x63, 0x6c, 0x61, 0x62, 0x73, 0x2f, 0x65, 0x74, - 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x65, 0x74, 0x68, 0x2f, 0x76, - 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x3b, 0x65, 0x74, 0x68, 0xaa, 0x02, 0x15, 0x45, 0x74, - 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x45, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, - 0x68, 0x61, 0x31, 0xca, 0x02, 0x15, 0x45, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x5c, 0x45, - 0x74, 0x68, 0x5c, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x33, -} - -var ( - file_eth_v1alpha1_beacon_chain_proto_rawDescOnce sync.Once - file_eth_v1alpha1_beacon_chain_proto_rawDescData = file_eth_v1alpha1_beacon_chain_proto_rawDesc -) - -func file_eth_v1alpha1_beacon_chain_proto_rawDescGZIP() []byte { - file_eth_v1alpha1_beacon_chain_proto_rawDescOnce.Do(func() { - file_eth_v1alpha1_beacon_chain_proto_rawDescData = protoimpl.X.CompressGZIP(file_eth_v1alpha1_beacon_chain_proto_rawDescData) - }) - return file_eth_v1alpha1_beacon_chain_proto_rawDescData -} - -var file_eth_v1alpha1_beacon_chain_proto_enumTypes = make([]protoimpl.EnumInfo, 1) -var file_eth_v1alpha1_beacon_chain_proto_msgTypes = make([]protoimpl.MessageInfo, 41) -var file_eth_v1alpha1_beacon_chain_proto_goTypes = []interface{}{ - (SetAction)(0), // 0: ethereum.eth.v1alpha1.SetAction - (*ValidatorChangeSet)(nil), // 1: ethereum.eth.v1alpha1.ValidatorChangeSet - (*ListIndexedAttestationsRequest)(nil), // 2: ethereum.eth.v1alpha1.ListIndexedAttestationsRequest - (*ListAttestationsRequest)(nil), // 3: ethereum.eth.v1alpha1.ListAttestationsRequest - (*ListAttestationsResponse)(nil), // 4: ethereum.eth.v1alpha1.ListAttestationsResponse - (*ListIndexedAttestationsResponse)(nil), // 5: ethereum.eth.v1alpha1.ListIndexedAttestationsResponse - (*ListBlocksRequest)(nil), // 6: ethereum.eth.v1alpha1.ListBlocksRequest - (*ListBlocksResponse)(nil), // 7: ethereum.eth.v1alpha1.ListBlocksResponse - (*StreamBlocksRequest)(nil), // 8: ethereum.eth.v1alpha1.StreamBlocksRequest - (*BeaconBlockContainer)(nil), // 9: ethereum.eth.v1alpha1.BeaconBlockContainer - (*ChainHead)(nil), // 10: ethereum.eth.v1alpha1.ChainHead - (*ListCommitteesRequest)(nil), // 11: ethereum.eth.v1alpha1.ListCommitteesRequest - (*BeaconCommittees)(nil), // 12: ethereum.eth.v1alpha1.BeaconCommittees - (*ListValidatorBalancesRequest)(nil), // 13: ethereum.eth.v1alpha1.ListValidatorBalancesRequest - (*ValidatorBalances)(nil), // 14: ethereum.eth.v1alpha1.ValidatorBalances - (*ListValidatorsRequest)(nil), // 15: ethereum.eth.v1alpha1.ListValidatorsRequest - (*GetValidatorRequest)(nil), // 16: ethereum.eth.v1alpha1.GetValidatorRequest - (*Validators)(nil), // 17: ethereum.eth.v1alpha1.Validators - (*GetValidatorActiveSetChangesRequest)(nil), // 18: ethereum.eth.v1alpha1.GetValidatorActiveSetChangesRequest - (*ActiveSetChanges)(nil), // 19: ethereum.eth.v1alpha1.ActiveSetChanges - (*ValidatorPerformanceRequest)(nil), // 20: ethereum.eth.v1alpha1.ValidatorPerformanceRequest - (*ValidatorPerformanceResponse)(nil), // 21: ethereum.eth.v1alpha1.ValidatorPerformanceResponse - (*ValidatorQueue)(nil), // 22: ethereum.eth.v1alpha1.ValidatorQueue - (*ListValidatorAssignmentsRequest)(nil), // 23: ethereum.eth.v1alpha1.ListValidatorAssignmentsRequest - (*ValidatorAssignments)(nil), // 24: ethereum.eth.v1alpha1.ValidatorAssignments - (*GetValidatorParticipationRequest)(nil), // 25: ethereum.eth.v1alpha1.GetValidatorParticipationRequest - (*ValidatorParticipationResponse)(nil), // 26: ethereum.eth.v1alpha1.ValidatorParticipationResponse - (*AttestationPoolRequest)(nil), // 27: ethereum.eth.v1alpha1.AttestationPoolRequest - (*AttestationPoolResponse)(nil), // 28: ethereum.eth.v1alpha1.AttestationPoolResponse - (*BeaconConfig)(nil), // 29: ethereum.eth.v1alpha1.BeaconConfig - (*SubmitSlashingResponse)(nil), // 30: ethereum.eth.v1alpha1.SubmitSlashingResponse - (*IndividualVotesRequest)(nil), // 31: ethereum.eth.v1alpha1.IndividualVotesRequest - (*IndividualVotesRespond)(nil), // 32: ethereum.eth.v1alpha1.IndividualVotesRespond - (*WeakSubjectivityCheckpoint)(nil), // 33: ethereum.eth.v1alpha1.WeakSubjectivityCheckpoint - (*BeaconCommittees_CommitteeItem)(nil), // 34: ethereum.eth.v1alpha1.BeaconCommittees.CommitteeItem - (*BeaconCommittees_CommitteesList)(nil), // 35: ethereum.eth.v1alpha1.BeaconCommittees.CommitteesList - nil, // 36: ethereum.eth.v1alpha1.BeaconCommittees.CommitteesEntry - (*ValidatorBalances_Balance)(nil), // 37: ethereum.eth.v1alpha1.ValidatorBalances.Balance - (*Validators_ValidatorContainer)(nil), // 38: ethereum.eth.v1alpha1.Validators.ValidatorContainer - (*ValidatorAssignments_CommitteeAssignment)(nil), // 39: ethereum.eth.v1alpha1.ValidatorAssignments.CommitteeAssignment - nil, // 40: ethereum.eth.v1alpha1.BeaconConfig.ConfigEntry - (*IndividualVotesRespond_IndividualVote)(nil), // 41: ethereum.eth.v1alpha1.IndividualVotesRespond.IndividualVote - (*Attestation)(nil), // 42: ethereum.eth.v1alpha1.Attestation - (*IndexedAttestation)(nil), // 43: ethereum.eth.v1alpha1.IndexedAttestation - (*SignedBeaconBlock)(nil), // 44: ethereum.eth.v1alpha1.SignedBeaconBlock - (*ValidatorParticipation)(nil), // 45: ethereum.eth.v1alpha1.ValidatorParticipation - (*Validator)(nil), // 46: ethereum.eth.v1alpha1.Validator - (*empty.Empty)(nil), // 47: google.protobuf.Empty - (*AttesterSlashing)(nil), // 48: ethereum.eth.v1alpha1.AttesterSlashing - (*ProposerSlashing)(nil), // 49: ethereum.eth.v1alpha1.ProposerSlashing - (*ValidatorInfo)(nil), // 50: ethereum.eth.v1alpha1.ValidatorInfo -} -var file_eth_v1alpha1_beacon_chain_proto_depIdxs = []int32{ - 0, // 0: ethereum.eth.v1alpha1.ValidatorChangeSet.action:type_name -> ethereum.eth.v1alpha1.SetAction - 42, // 1: ethereum.eth.v1alpha1.ListAttestationsResponse.attestations:type_name -> ethereum.eth.v1alpha1.Attestation - 43, // 2: ethereum.eth.v1alpha1.ListIndexedAttestationsResponse.indexed_attestations:type_name -> ethereum.eth.v1alpha1.IndexedAttestation - 9, // 3: ethereum.eth.v1alpha1.ListBlocksResponse.blockContainers:type_name -> ethereum.eth.v1alpha1.BeaconBlockContainer - 44, // 4: ethereum.eth.v1alpha1.BeaconBlockContainer.block:type_name -> ethereum.eth.v1alpha1.SignedBeaconBlock - 36, // 5: ethereum.eth.v1alpha1.BeaconCommittees.committees:type_name -> ethereum.eth.v1alpha1.BeaconCommittees.CommitteesEntry - 37, // 6: ethereum.eth.v1alpha1.ValidatorBalances.balances:type_name -> ethereum.eth.v1alpha1.ValidatorBalances.Balance - 38, // 7: ethereum.eth.v1alpha1.Validators.validator_list:type_name -> ethereum.eth.v1alpha1.Validators.ValidatorContainer - 39, // 8: ethereum.eth.v1alpha1.ValidatorAssignments.assignments:type_name -> ethereum.eth.v1alpha1.ValidatorAssignments.CommitteeAssignment - 45, // 9: ethereum.eth.v1alpha1.ValidatorParticipationResponse.participation:type_name -> ethereum.eth.v1alpha1.ValidatorParticipation - 42, // 10: ethereum.eth.v1alpha1.AttestationPoolResponse.attestations:type_name -> ethereum.eth.v1alpha1.Attestation - 40, // 11: ethereum.eth.v1alpha1.BeaconConfig.config:type_name -> ethereum.eth.v1alpha1.BeaconConfig.ConfigEntry - 41, // 12: ethereum.eth.v1alpha1.IndividualVotesRespond.individual_votes:type_name -> ethereum.eth.v1alpha1.IndividualVotesRespond.IndividualVote - 34, // 13: ethereum.eth.v1alpha1.BeaconCommittees.CommitteesList.committees:type_name -> ethereum.eth.v1alpha1.BeaconCommittees.CommitteeItem - 35, // 14: ethereum.eth.v1alpha1.BeaconCommittees.CommitteesEntry.value:type_name -> ethereum.eth.v1alpha1.BeaconCommittees.CommitteesList - 46, // 15: ethereum.eth.v1alpha1.Validators.ValidatorContainer.validator:type_name -> ethereum.eth.v1alpha1.Validator - 3, // 16: ethereum.eth.v1alpha1.BeaconChain.ListAttestations:input_type -> ethereum.eth.v1alpha1.ListAttestationsRequest - 2, // 17: ethereum.eth.v1alpha1.BeaconChain.ListIndexedAttestations:input_type -> ethereum.eth.v1alpha1.ListIndexedAttestationsRequest - 47, // 18: ethereum.eth.v1alpha1.BeaconChain.StreamAttestations:input_type -> google.protobuf.Empty - 47, // 19: ethereum.eth.v1alpha1.BeaconChain.StreamIndexedAttestations:input_type -> google.protobuf.Empty - 27, // 20: ethereum.eth.v1alpha1.BeaconChain.AttestationPool:input_type -> ethereum.eth.v1alpha1.AttestationPoolRequest - 6, // 21: ethereum.eth.v1alpha1.BeaconChain.ListBlocks:input_type -> ethereum.eth.v1alpha1.ListBlocksRequest - 8, // 22: ethereum.eth.v1alpha1.BeaconChain.StreamBlocks:input_type -> ethereum.eth.v1alpha1.StreamBlocksRequest - 47, // 23: ethereum.eth.v1alpha1.BeaconChain.StreamChainHead:input_type -> google.protobuf.Empty - 47, // 24: ethereum.eth.v1alpha1.BeaconChain.GetChainHead:input_type -> google.protobuf.Empty - 47, // 25: ethereum.eth.v1alpha1.BeaconChain.GetWeakSubjectivityCheckpoint:input_type -> google.protobuf.Empty - 11, // 26: ethereum.eth.v1alpha1.BeaconChain.ListBeaconCommittees:input_type -> ethereum.eth.v1alpha1.ListCommitteesRequest - 13, // 27: ethereum.eth.v1alpha1.BeaconChain.ListValidatorBalances:input_type -> ethereum.eth.v1alpha1.ListValidatorBalancesRequest - 15, // 28: ethereum.eth.v1alpha1.BeaconChain.ListValidators:input_type -> ethereum.eth.v1alpha1.ListValidatorsRequest - 16, // 29: ethereum.eth.v1alpha1.BeaconChain.GetValidator:input_type -> ethereum.eth.v1alpha1.GetValidatorRequest - 18, // 30: ethereum.eth.v1alpha1.BeaconChain.GetValidatorActiveSetChanges:input_type -> ethereum.eth.v1alpha1.GetValidatorActiveSetChangesRequest - 47, // 31: ethereum.eth.v1alpha1.BeaconChain.GetValidatorQueue:input_type -> google.protobuf.Empty - 20, // 32: ethereum.eth.v1alpha1.BeaconChain.GetValidatorPerformance:input_type -> ethereum.eth.v1alpha1.ValidatorPerformanceRequest - 23, // 33: ethereum.eth.v1alpha1.BeaconChain.ListValidatorAssignments:input_type -> ethereum.eth.v1alpha1.ListValidatorAssignmentsRequest - 25, // 34: ethereum.eth.v1alpha1.BeaconChain.GetValidatorParticipation:input_type -> ethereum.eth.v1alpha1.GetValidatorParticipationRequest - 47, // 35: ethereum.eth.v1alpha1.BeaconChain.GetBeaconConfig:input_type -> google.protobuf.Empty - 1, // 36: ethereum.eth.v1alpha1.BeaconChain.StreamValidatorsInfo:input_type -> ethereum.eth.v1alpha1.ValidatorChangeSet - 48, // 37: ethereum.eth.v1alpha1.BeaconChain.SubmitAttesterSlashing:input_type -> ethereum.eth.v1alpha1.AttesterSlashing - 49, // 38: ethereum.eth.v1alpha1.BeaconChain.SubmitProposerSlashing:input_type -> ethereum.eth.v1alpha1.ProposerSlashing - 31, // 39: ethereum.eth.v1alpha1.BeaconChain.GetIndividualVotes:input_type -> ethereum.eth.v1alpha1.IndividualVotesRequest - 4, // 40: ethereum.eth.v1alpha1.BeaconChain.ListAttestations:output_type -> ethereum.eth.v1alpha1.ListAttestationsResponse - 5, // 41: ethereum.eth.v1alpha1.BeaconChain.ListIndexedAttestations:output_type -> ethereum.eth.v1alpha1.ListIndexedAttestationsResponse - 42, // 42: ethereum.eth.v1alpha1.BeaconChain.StreamAttestations:output_type -> ethereum.eth.v1alpha1.Attestation - 43, // 43: ethereum.eth.v1alpha1.BeaconChain.StreamIndexedAttestations:output_type -> ethereum.eth.v1alpha1.IndexedAttestation - 28, // 44: ethereum.eth.v1alpha1.BeaconChain.AttestationPool:output_type -> ethereum.eth.v1alpha1.AttestationPoolResponse - 7, // 45: ethereum.eth.v1alpha1.BeaconChain.ListBlocks:output_type -> ethereum.eth.v1alpha1.ListBlocksResponse - 44, // 46: ethereum.eth.v1alpha1.BeaconChain.StreamBlocks:output_type -> ethereum.eth.v1alpha1.SignedBeaconBlock - 10, // 47: ethereum.eth.v1alpha1.BeaconChain.StreamChainHead:output_type -> ethereum.eth.v1alpha1.ChainHead - 10, // 48: ethereum.eth.v1alpha1.BeaconChain.GetChainHead:output_type -> ethereum.eth.v1alpha1.ChainHead - 33, // 49: ethereum.eth.v1alpha1.BeaconChain.GetWeakSubjectivityCheckpoint:output_type -> ethereum.eth.v1alpha1.WeakSubjectivityCheckpoint - 12, // 50: ethereum.eth.v1alpha1.BeaconChain.ListBeaconCommittees:output_type -> ethereum.eth.v1alpha1.BeaconCommittees - 14, // 51: ethereum.eth.v1alpha1.BeaconChain.ListValidatorBalances:output_type -> ethereum.eth.v1alpha1.ValidatorBalances - 17, // 52: ethereum.eth.v1alpha1.BeaconChain.ListValidators:output_type -> ethereum.eth.v1alpha1.Validators - 46, // 53: ethereum.eth.v1alpha1.BeaconChain.GetValidator:output_type -> ethereum.eth.v1alpha1.Validator - 19, // 54: ethereum.eth.v1alpha1.BeaconChain.GetValidatorActiveSetChanges:output_type -> ethereum.eth.v1alpha1.ActiveSetChanges - 22, // 55: ethereum.eth.v1alpha1.BeaconChain.GetValidatorQueue:output_type -> ethereum.eth.v1alpha1.ValidatorQueue - 21, // 56: ethereum.eth.v1alpha1.BeaconChain.GetValidatorPerformance:output_type -> ethereum.eth.v1alpha1.ValidatorPerformanceResponse - 24, // 57: ethereum.eth.v1alpha1.BeaconChain.ListValidatorAssignments:output_type -> ethereum.eth.v1alpha1.ValidatorAssignments - 26, // 58: ethereum.eth.v1alpha1.BeaconChain.GetValidatorParticipation:output_type -> ethereum.eth.v1alpha1.ValidatorParticipationResponse - 29, // 59: ethereum.eth.v1alpha1.BeaconChain.GetBeaconConfig:output_type -> ethereum.eth.v1alpha1.BeaconConfig - 50, // 60: ethereum.eth.v1alpha1.BeaconChain.StreamValidatorsInfo:output_type -> ethereum.eth.v1alpha1.ValidatorInfo - 30, // 61: ethereum.eth.v1alpha1.BeaconChain.SubmitAttesterSlashing:output_type -> ethereum.eth.v1alpha1.SubmitSlashingResponse - 30, // 62: ethereum.eth.v1alpha1.BeaconChain.SubmitProposerSlashing:output_type -> ethereum.eth.v1alpha1.SubmitSlashingResponse - 32, // 63: ethereum.eth.v1alpha1.BeaconChain.GetIndividualVotes:output_type -> ethereum.eth.v1alpha1.IndividualVotesRespond - 40, // [40:64] is the sub-list for method output_type - 16, // [16:40] is the sub-list for method input_type - 16, // [16:16] is the sub-list for extension type_name - 16, // [16:16] is the sub-list for extension extendee - 0, // [0:16] is the sub-list for field type_name -} - -func init() { file_eth_v1alpha1_beacon_chain_proto_init() } -func file_eth_v1alpha1_beacon_chain_proto_init() { - if File_eth_v1alpha1_beacon_chain_proto != nil { - return - } - file_eth_v1alpha1_attestation_proto_init() - file_eth_v1alpha1_beacon_block_proto_init() - file_eth_v1alpha1_validator_proto_init() - if !protoimpl.UnsafeEnabled { - file_eth_v1alpha1_beacon_chain_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ValidatorChangeSet); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_eth_v1alpha1_beacon_chain_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListIndexedAttestationsRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_eth_v1alpha1_beacon_chain_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListAttestationsRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_eth_v1alpha1_beacon_chain_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListAttestationsResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_eth_v1alpha1_beacon_chain_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListIndexedAttestationsResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_eth_v1alpha1_beacon_chain_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListBlocksRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_eth_v1alpha1_beacon_chain_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListBlocksResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_eth_v1alpha1_beacon_chain_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StreamBlocksRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_eth_v1alpha1_beacon_chain_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*BeaconBlockContainer); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_eth_v1alpha1_beacon_chain_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ChainHead); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_eth_v1alpha1_beacon_chain_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListCommitteesRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_eth_v1alpha1_beacon_chain_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*BeaconCommittees); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_eth_v1alpha1_beacon_chain_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListValidatorBalancesRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_eth_v1alpha1_beacon_chain_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ValidatorBalances); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_eth_v1alpha1_beacon_chain_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListValidatorsRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_eth_v1alpha1_beacon_chain_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetValidatorRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_eth_v1alpha1_beacon_chain_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Validators); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_eth_v1alpha1_beacon_chain_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetValidatorActiveSetChangesRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_eth_v1alpha1_beacon_chain_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ActiveSetChanges); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_eth_v1alpha1_beacon_chain_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ValidatorPerformanceRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_eth_v1alpha1_beacon_chain_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ValidatorPerformanceResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_eth_v1alpha1_beacon_chain_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ValidatorQueue); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_eth_v1alpha1_beacon_chain_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListValidatorAssignmentsRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_eth_v1alpha1_beacon_chain_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ValidatorAssignments); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_eth_v1alpha1_beacon_chain_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetValidatorParticipationRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_eth_v1alpha1_beacon_chain_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ValidatorParticipationResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_eth_v1alpha1_beacon_chain_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AttestationPoolRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_eth_v1alpha1_beacon_chain_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AttestationPoolResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_eth_v1alpha1_beacon_chain_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*BeaconConfig); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_eth_v1alpha1_beacon_chain_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SubmitSlashingResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_eth_v1alpha1_beacon_chain_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*IndividualVotesRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_eth_v1alpha1_beacon_chain_proto_msgTypes[31].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*IndividualVotesRespond); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_eth_v1alpha1_beacon_chain_proto_msgTypes[32].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*WeakSubjectivityCheckpoint); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_eth_v1alpha1_beacon_chain_proto_msgTypes[33].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*BeaconCommittees_CommitteeItem); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_eth_v1alpha1_beacon_chain_proto_msgTypes[34].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*BeaconCommittees_CommitteesList); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_eth_v1alpha1_beacon_chain_proto_msgTypes[36].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ValidatorBalances_Balance); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_eth_v1alpha1_beacon_chain_proto_msgTypes[37].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Validators_ValidatorContainer); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_eth_v1alpha1_beacon_chain_proto_msgTypes[38].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ValidatorAssignments_CommitteeAssignment); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_eth_v1alpha1_beacon_chain_proto_msgTypes[40].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*IndividualVotesRespond_IndividualVote); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - file_eth_v1alpha1_beacon_chain_proto_msgTypes[1].OneofWrappers = []interface{}{ - (*ListIndexedAttestationsRequest_Epoch)(nil), - (*ListIndexedAttestationsRequest_GenesisEpoch)(nil), - } - file_eth_v1alpha1_beacon_chain_proto_msgTypes[2].OneofWrappers = []interface{}{ - (*ListAttestationsRequest_Epoch)(nil), - (*ListAttestationsRequest_GenesisEpoch)(nil), - } - file_eth_v1alpha1_beacon_chain_proto_msgTypes[5].OneofWrappers = []interface{}{ - (*ListBlocksRequest_Root)(nil), - (*ListBlocksRequest_Slot)(nil), - (*ListBlocksRequest_Epoch)(nil), - (*ListBlocksRequest_Genesis)(nil), - } - file_eth_v1alpha1_beacon_chain_proto_msgTypes[10].OneofWrappers = []interface{}{ - (*ListCommitteesRequest_Epoch)(nil), - (*ListCommitteesRequest_Genesis)(nil), - } - file_eth_v1alpha1_beacon_chain_proto_msgTypes[12].OneofWrappers = []interface{}{ - (*ListValidatorBalancesRequest_Epoch)(nil), - (*ListValidatorBalancesRequest_Genesis)(nil), - } - file_eth_v1alpha1_beacon_chain_proto_msgTypes[14].OneofWrappers = []interface{}{ - (*ListValidatorsRequest_Epoch)(nil), - (*ListValidatorsRequest_Genesis)(nil), - } - file_eth_v1alpha1_beacon_chain_proto_msgTypes[15].OneofWrappers = []interface{}{ - (*GetValidatorRequest_Index)(nil), - (*GetValidatorRequest_PublicKey)(nil), - } - file_eth_v1alpha1_beacon_chain_proto_msgTypes[17].OneofWrappers = []interface{}{ - (*GetValidatorActiveSetChangesRequest_Epoch)(nil), - (*GetValidatorActiveSetChangesRequest_Genesis)(nil), - } - file_eth_v1alpha1_beacon_chain_proto_msgTypes[22].OneofWrappers = []interface{}{ - (*ListValidatorAssignmentsRequest_Epoch)(nil), - (*ListValidatorAssignmentsRequest_Genesis)(nil), - } - file_eth_v1alpha1_beacon_chain_proto_msgTypes[24].OneofWrappers = []interface{}{ - (*GetValidatorParticipationRequest_Epoch)(nil), - (*GetValidatorParticipationRequest_Genesis)(nil), - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_eth_v1alpha1_beacon_chain_proto_rawDesc, - NumEnums: 1, - NumMessages: 41, - NumExtensions: 0, - NumServices: 1, - }, - GoTypes: file_eth_v1alpha1_beacon_chain_proto_goTypes, - DependencyIndexes: file_eth_v1alpha1_beacon_chain_proto_depIdxs, - EnumInfos: file_eth_v1alpha1_beacon_chain_proto_enumTypes, - MessageInfos: file_eth_v1alpha1_beacon_chain_proto_msgTypes, - }.Build() - File_eth_v1alpha1_beacon_chain_proto = out.File - file_eth_v1alpha1_beacon_chain_proto_rawDesc = nil - file_eth_v1alpha1_beacon_chain_proto_goTypes = nil - file_eth_v1alpha1_beacon_chain_proto_depIdxs = nil -} - -// Reference imports to suppress errors if they are not otherwise used. -var _ context.Context -var _ grpc.ClientConnInterface - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the grpc package it is being compiled against. -const _ = grpc.SupportPackageIsVersion6 - -// BeaconChainClient is the client API for BeaconChain service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type BeaconChainClient interface { - ListAttestations(ctx context.Context, in *ListAttestationsRequest, opts ...grpc.CallOption) (*ListAttestationsResponse, error) - ListIndexedAttestations(ctx context.Context, in *ListIndexedAttestationsRequest, opts ...grpc.CallOption) (*ListIndexedAttestationsResponse, error) - StreamAttestations(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (BeaconChain_StreamAttestationsClient, error) - StreamIndexedAttestations(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (BeaconChain_StreamIndexedAttestationsClient, error) - AttestationPool(ctx context.Context, in *AttestationPoolRequest, opts ...grpc.CallOption) (*AttestationPoolResponse, error) - ListBlocks(ctx context.Context, in *ListBlocksRequest, opts ...grpc.CallOption) (*ListBlocksResponse, error) - StreamBlocks(ctx context.Context, in *StreamBlocksRequest, opts ...grpc.CallOption) (BeaconChain_StreamBlocksClient, error) - StreamChainHead(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (BeaconChain_StreamChainHeadClient, error) - GetChainHead(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*ChainHead, error) - GetWeakSubjectivityCheckpoint(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*WeakSubjectivityCheckpoint, error) - ListBeaconCommittees(ctx context.Context, in *ListCommitteesRequest, opts ...grpc.CallOption) (*BeaconCommittees, error) - ListValidatorBalances(ctx context.Context, in *ListValidatorBalancesRequest, opts ...grpc.CallOption) (*ValidatorBalances, error) - ListValidators(ctx context.Context, in *ListValidatorsRequest, opts ...grpc.CallOption) (*Validators, error) - GetValidator(ctx context.Context, in *GetValidatorRequest, opts ...grpc.CallOption) (*Validator, error) - GetValidatorActiveSetChanges(ctx context.Context, in *GetValidatorActiveSetChangesRequest, opts ...grpc.CallOption) (*ActiveSetChanges, error) - GetValidatorQueue(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*ValidatorQueue, error) - GetValidatorPerformance(ctx context.Context, in *ValidatorPerformanceRequest, opts ...grpc.CallOption) (*ValidatorPerformanceResponse, error) - ListValidatorAssignments(ctx context.Context, in *ListValidatorAssignmentsRequest, opts ...grpc.CallOption) (*ValidatorAssignments, error) - GetValidatorParticipation(ctx context.Context, in *GetValidatorParticipationRequest, opts ...grpc.CallOption) (*ValidatorParticipationResponse, error) - GetBeaconConfig(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*BeaconConfig, error) - StreamValidatorsInfo(ctx context.Context, opts ...grpc.CallOption) (BeaconChain_StreamValidatorsInfoClient, error) - SubmitAttesterSlashing(ctx context.Context, in *AttesterSlashing, opts ...grpc.CallOption) (*SubmitSlashingResponse, error) - SubmitProposerSlashing(ctx context.Context, in *ProposerSlashing, opts ...grpc.CallOption) (*SubmitSlashingResponse, error) - GetIndividualVotes(ctx context.Context, in *IndividualVotesRequest, opts ...grpc.CallOption) (*IndividualVotesRespond, error) -} - -type beaconChainClient struct { - cc grpc.ClientConnInterface -} - -func NewBeaconChainClient(cc grpc.ClientConnInterface) BeaconChainClient { - return &beaconChainClient{cc} -} - -func (c *beaconChainClient) ListAttestations(ctx context.Context, in *ListAttestationsRequest, opts ...grpc.CallOption) (*ListAttestationsResponse, error) { - out := new(ListAttestationsResponse) - err := c.cc.Invoke(ctx, "/ethereum.eth.v1alpha1.BeaconChain/ListAttestations", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *beaconChainClient) ListIndexedAttestations(ctx context.Context, in *ListIndexedAttestationsRequest, opts ...grpc.CallOption) (*ListIndexedAttestationsResponse, error) { - out := new(ListIndexedAttestationsResponse) - err := c.cc.Invoke(ctx, "/ethereum.eth.v1alpha1.BeaconChain/ListIndexedAttestations", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *beaconChainClient) StreamAttestations(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (BeaconChain_StreamAttestationsClient, error) { - stream, err := c.cc.NewStream(ctx, &_BeaconChain_serviceDesc.Streams[0], "/ethereum.eth.v1alpha1.BeaconChain/StreamAttestations", opts...) - if err != nil { - return nil, err - } - x := &beaconChainStreamAttestationsClient{stream} - if err := x.ClientStream.SendMsg(in); err != nil { - return nil, err - } - if err := x.ClientStream.CloseSend(); err != nil { - return nil, err - } - return x, nil -} - -type BeaconChain_StreamAttestationsClient interface { - Recv() (*Attestation, error) - grpc.ClientStream -} - -type beaconChainStreamAttestationsClient struct { - grpc.ClientStream -} - -func (x *beaconChainStreamAttestationsClient) Recv() (*Attestation, error) { - m := new(Attestation) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -func (c *beaconChainClient) StreamIndexedAttestations(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (BeaconChain_StreamIndexedAttestationsClient, error) { - stream, err := c.cc.NewStream(ctx, &_BeaconChain_serviceDesc.Streams[1], "/ethereum.eth.v1alpha1.BeaconChain/StreamIndexedAttestations", opts...) - if err != nil { - return nil, err - } - x := &beaconChainStreamIndexedAttestationsClient{stream} - if err := x.ClientStream.SendMsg(in); err != nil { - return nil, err - } - if err := x.ClientStream.CloseSend(); err != nil { - return nil, err - } - return x, nil -} - -type BeaconChain_StreamIndexedAttestationsClient interface { - Recv() (*IndexedAttestation, error) - grpc.ClientStream -} - -type beaconChainStreamIndexedAttestationsClient struct { - grpc.ClientStream -} - -func (x *beaconChainStreamIndexedAttestationsClient) Recv() (*IndexedAttestation, error) { - m := new(IndexedAttestation) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -func (c *beaconChainClient) AttestationPool(ctx context.Context, in *AttestationPoolRequest, opts ...grpc.CallOption) (*AttestationPoolResponse, error) { - out := new(AttestationPoolResponse) - err := c.cc.Invoke(ctx, "/ethereum.eth.v1alpha1.BeaconChain/AttestationPool", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *beaconChainClient) ListBlocks(ctx context.Context, in *ListBlocksRequest, opts ...grpc.CallOption) (*ListBlocksResponse, error) { - out := new(ListBlocksResponse) - err := c.cc.Invoke(ctx, "/ethereum.eth.v1alpha1.BeaconChain/ListBlocks", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *beaconChainClient) StreamBlocks(ctx context.Context, in *StreamBlocksRequest, opts ...grpc.CallOption) (BeaconChain_StreamBlocksClient, error) { - stream, err := c.cc.NewStream(ctx, &_BeaconChain_serviceDesc.Streams[2], "/ethereum.eth.v1alpha1.BeaconChain/StreamBlocks", opts...) - if err != nil { - return nil, err - } - x := &beaconChainStreamBlocksClient{stream} - if err := x.ClientStream.SendMsg(in); err != nil { - return nil, err - } - if err := x.ClientStream.CloseSend(); err != nil { - return nil, err - } - return x, nil -} - -type BeaconChain_StreamBlocksClient interface { - Recv() (*SignedBeaconBlock, error) - grpc.ClientStream -} - -type beaconChainStreamBlocksClient struct { - grpc.ClientStream -} - -func (x *beaconChainStreamBlocksClient) Recv() (*SignedBeaconBlock, error) { - m := new(SignedBeaconBlock) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -func (c *beaconChainClient) StreamChainHead(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (BeaconChain_StreamChainHeadClient, error) { - stream, err := c.cc.NewStream(ctx, &_BeaconChain_serviceDesc.Streams[3], "/ethereum.eth.v1alpha1.BeaconChain/StreamChainHead", opts...) - if err != nil { - return nil, err - } - x := &beaconChainStreamChainHeadClient{stream} - if err := x.ClientStream.SendMsg(in); err != nil { - return nil, err - } - if err := x.ClientStream.CloseSend(); err != nil { - return nil, err - } - return x, nil -} - -type BeaconChain_StreamChainHeadClient interface { - Recv() (*ChainHead, error) - grpc.ClientStream -} - -type beaconChainStreamChainHeadClient struct { - grpc.ClientStream -} - -func (x *beaconChainStreamChainHeadClient) Recv() (*ChainHead, error) { - m := new(ChainHead) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -func (c *beaconChainClient) GetChainHead(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*ChainHead, error) { - out := new(ChainHead) - err := c.cc.Invoke(ctx, "/ethereum.eth.v1alpha1.BeaconChain/GetChainHead", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *beaconChainClient) GetWeakSubjectivityCheckpoint(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*WeakSubjectivityCheckpoint, error) { - out := new(WeakSubjectivityCheckpoint) - err := c.cc.Invoke(ctx, "/ethereum.eth.v1alpha1.BeaconChain/GetWeakSubjectivityCheckpoint", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *beaconChainClient) ListBeaconCommittees(ctx context.Context, in *ListCommitteesRequest, opts ...grpc.CallOption) (*BeaconCommittees, error) { - out := new(BeaconCommittees) - err := c.cc.Invoke(ctx, "/ethereum.eth.v1alpha1.BeaconChain/ListBeaconCommittees", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *beaconChainClient) ListValidatorBalances(ctx context.Context, in *ListValidatorBalancesRequest, opts ...grpc.CallOption) (*ValidatorBalances, error) { - out := new(ValidatorBalances) - err := c.cc.Invoke(ctx, "/ethereum.eth.v1alpha1.BeaconChain/ListValidatorBalances", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *beaconChainClient) ListValidators(ctx context.Context, in *ListValidatorsRequest, opts ...grpc.CallOption) (*Validators, error) { - out := new(Validators) - err := c.cc.Invoke(ctx, "/ethereum.eth.v1alpha1.BeaconChain/ListValidators", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *beaconChainClient) GetValidator(ctx context.Context, in *GetValidatorRequest, opts ...grpc.CallOption) (*Validator, error) { - out := new(Validator) - err := c.cc.Invoke(ctx, "/ethereum.eth.v1alpha1.BeaconChain/GetValidator", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *beaconChainClient) GetValidatorActiveSetChanges(ctx context.Context, in *GetValidatorActiveSetChangesRequest, opts ...grpc.CallOption) (*ActiveSetChanges, error) { - out := new(ActiveSetChanges) - err := c.cc.Invoke(ctx, "/ethereum.eth.v1alpha1.BeaconChain/GetValidatorActiveSetChanges", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *beaconChainClient) GetValidatorQueue(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*ValidatorQueue, error) { - out := new(ValidatorQueue) - err := c.cc.Invoke(ctx, "/ethereum.eth.v1alpha1.BeaconChain/GetValidatorQueue", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *beaconChainClient) GetValidatorPerformance(ctx context.Context, in *ValidatorPerformanceRequest, opts ...grpc.CallOption) (*ValidatorPerformanceResponse, error) { - out := new(ValidatorPerformanceResponse) - err := c.cc.Invoke(ctx, "/ethereum.eth.v1alpha1.BeaconChain/GetValidatorPerformance", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *beaconChainClient) ListValidatorAssignments(ctx context.Context, in *ListValidatorAssignmentsRequest, opts ...grpc.CallOption) (*ValidatorAssignments, error) { - out := new(ValidatorAssignments) - err := c.cc.Invoke(ctx, "/ethereum.eth.v1alpha1.BeaconChain/ListValidatorAssignments", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *beaconChainClient) GetValidatorParticipation(ctx context.Context, in *GetValidatorParticipationRequest, opts ...grpc.CallOption) (*ValidatorParticipationResponse, error) { - out := new(ValidatorParticipationResponse) - err := c.cc.Invoke(ctx, "/ethereum.eth.v1alpha1.BeaconChain/GetValidatorParticipation", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *beaconChainClient) GetBeaconConfig(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*BeaconConfig, error) { - out := new(BeaconConfig) - err := c.cc.Invoke(ctx, "/ethereum.eth.v1alpha1.BeaconChain/GetBeaconConfig", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *beaconChainClient) StreamValidatorsInfo(ctx context.Context, opts ...grpc.CallOption) (BeaconChain_StreamValidatorsInfoClient, error) { - stream, err := c.cc.NewStream(ctx, &_BeaconChain_serviceDesc.Streams[4], "/ethereum.eth.v1alpha1.BeaconChain/StreamValidatorsInfo", opts...) - if err != nil { - return nil, err - } - x := &beaconChainStreamValidatorsInfoClient{stream} - return x, nil -} - -type BeaconChain_StreamValidatorsInfoClient interface { - Send(*ValidatorChangeSet) error - Recv() (*ValidatorInfo, error) - grpc.ClientStream -} - -type beaconChainStreamValidatorsInfoClient struct { - grpc.ClientStream -} - -func (x *beaconChainStreamValidatorsInfoClient) Send(m *ValidatorChangeSet) error { - return x.ClientStream.SendMsg(m) -} - -func (x *beaconChainStreamValidatorsInfoClient) Recv() (*ValidatorInfo, error) { - m := new(ValidatorInfo) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -func (c *beaconChainClient) SubmitAttesterSlashing(ctx context.Context, in *AttesterSlashing, opts ...grpc.CallOption) (*SubmitSlashingResponse, error) { - out := new(SubmitSlashingResponse) - err := c.cc.Invoke(ctx, "/ethereum.eth.v1alpha1.BeaconChain/SubmitAttesterSlashing", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *beaconChainClient) SubmitProposerSlashing(ctx context.Context, in *ProposerSlashing, opts ...grpc.CallOption) (*SubmitSlashingResponse, error) { - out := new(SubmitSlashingResponse) - err := c.cc.Invoke(ctx, "/ethereum.eth.v1alpha1.BeaconChain/SubmitProposerSlashing", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *beaconChainClient) GetIndividualVotes(ctx context.Context, in *IndividualVotesRequest, opts ...grpc.CallOption) (*IndividualVotesRespond, error) { - out := new(IndividualVotesRespond) - err := c.cc.Invoke(ctx, "/ethereum.eth.v1alpha1.BeaconChain/GetIndividualVotes", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// BeaconChainServer is the server API for BeaconChain service. -type BeaconChainServer interface { - ListAttestations(context.Context, *ListAttestationsRequest) (*ListAttestationsResponse, error) - ListIndexedAttestations(context.Context, *ListIndexedAttestationsRequest) (*ListIndexedAttestationsResponse, error) - StreamAttestations(*empty.Empty, BeaconChain_StreamAttestationsServer) error - StreamIndexedAttestations(*empty.Empty, BeaconChain_StreamIndexedAttestationsServer) error - AttestationPool(context.Context, *AttestationPoolRequest) (*AttestationPoolResponse, error) - ListBlocks(context.Context, *ListBlocksRequest) (*ListBlocksResponse, error) - StreamBlocks(*StreamBlocksRequest, BeaconChain_StreamBlocksServer) error - StreamChainHead(*empty.Empty, BeaconChain_StreamChainHeadServer) error - GetChainHead(context.Context, *empty.Empty) (*ChainHead, error) - GetWeakSubjectivityCheckpoint(context.Context, *empty.Empty) (*WeakSubjectivityCheckpoint, error) - ListBeaconCommittees(context.Context, *ListCommitteesRequest) (*BeaconCommittees, error) - ListValidatorBalances(context.Context, *ListValidatorBalancesRequest) (*ValidatorBalances, error) - ListValidators(context.Context, *ListValidatorsRequest) (*Validators, error) - GetValidator(context.Context, *GetValidatorRequest) (*Validator, error) - GetValidatorActiveSetChanges(context.Context, *GetValidatorActiveSetChangesRequest) (*ActiveSetChanges, error) - GetValidatorQueue(context.Context, *empty.Empty) (*ValidatorQueue, error) - GetValidatorPerformance(context.Context, *ValidatorPerformanceRequest) (*ValidatorPerformanceResponse, error) - ListValidatorAssignments(context.Context, *ListValidatorAssignmentsRequest) (*ValidatorAssignments, error) - GetValidatorParticipation(context.Context, *GetValidatorParticipationRequest) (*ValidatorParticipationResponse, error) - GetBeaconConfig(context.Context, *empty.Empty) (*BeaconConfig, error) - StreamValidatorsInfo(BeaconChain_StreamValidatorsInfoServer) error - SubmitAttesterSlashing(context.Context, *AttesterSlashing) (*SubmitSlashingResponse, error) - SubmitProposerSlashing(context.Context, *ProposerSlashing) (*SubmitSlashingResponse, error) - GetIndividualVotes(context.Context, *IndividualVotesRequest) (*IndividualVotesRespond, error) -} - -// UnimplementedBeaconChainServer can be embedded to have forward compatible implementations. -type UnimplementedBeaconChainServer struct { -} - -func (*UnimplementedBeaconChainServer) ListAttestations(context.Context, *ListAttestationsRequest) (*ListAttestationsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListAttestations not implemented") -} -func (*UnimplementedBeaconChainServer) ListIndexedAttestations(context.Context, *ListIndexedAttestationsRequest) (*ListIndexedAttestationsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListIndexedAttestations not implemented") -} -func (*UnimplementedBeaconChainServer) StreamAttestations(*empty.Empty, BeaconChain_StreamAttestationsServer) error { - return status.Errorf(codes.Unimplemented, "method StreamAttestations not implemented") -} -func (*UnimplementedBeaconChainServer) StreamIndexedAttestations(*empty.Empty, BeaconChain_StreamIndexedAttestationsServer) error { - return status.Errorf(codes.Unimplemented, "method StreamIndexedAttestations not implemented") -} -func (*UnimplementedBeaconChainServer) AttestationPool(context.Context, *AttestationPoolRequest) (*AttestationPoolResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method AttestationPool not implemented") -} -func (*UnimplementedBeaconChainServer) ListBlocks(context.Context, *ListBlocksRequest) (*ListBlocksResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListBlocks not implemented") -} -func (*UnimplementedBeaconChainServer) StreamBlocks(*StreamBlocksRequest, BeaconChain_StreamBlocksServer) error { - return status.Errorf(codes.Unimplemented, "method StreamBlocks not implemented") -} -func (*UnimplementedBeaconChainServer) StreamChainHead(*empty.Empty, BeaconChain_StreamChainHeadServer) error { - return status.Errorf(codes.Unimplemented, "method StreamChainHead not implemented") -} -func (*UnimplementedBeaconChainServer) GetChainHead(context.Context, *empty.Empty) (*ChainHead, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetChainHead not implemented") -} -func (*UnimplementedBeaconChainServer) GetWeakSubjectivityCheckpoint(context.Context, *empty.Empty) (*WeakSubjectivityCheckpoint, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetWeakSubjectivityCheckpoint not implemented") -} -func (*UnimplementedBeaconChainServer) ListBeaconCommittees(context.Context, *ListCommitteesRequest) (*BeaconCommittees, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListBeaconCommittees not implemented") -} -func (*UnimplementedBeaconChainServer) ListValidatorBalances(context.Context, *ListValidatorBalancesRequest) (*ValidatorBalances, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListValidatorBalances not implemented") -} -func (*UnimplementedBeaconChainServer) ListValidators(context.Context, *ListValidatorsRequest) (*Validators, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListValidators not implemented") -} -func (*UnimplementedBeaconChainServer) GetValidator(context.Context, *GetValidatorRequest) (*Validator, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetValidator not implemented") -} -func (*UnimplementedBeaconChainServer) GetValidatorActiveSetChanges(context.Context, *GetValidatorActiveSetChangesRequest) (*ActiveSetChanges, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetValidatorActiveSetChanges not implemented") -} -func (*UnimplementedBeaconChainServer) GetValidatorQueue(context.Context, *empty.Empty) (*ValidatorQueue, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetValidatorQueue not implemented") -} -func (*UnimplementedBeaconChainServer) GetValidatorPerformance(context.Context, *ValidatorPerformanceRequest) (*ValidatorPerformanceResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetValidatorPerformance not implemented") -} -func (*UnimplementedBeaconChainServer) ListValidatorAssignments(context.Context, *ListValidatorAssignmentsRequest) (*ValidatorAssignments, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListValidatorAssignments not implemented") -} -func (*UnimplementedBeaconChainServer) GetValidatorParticipation(context.Context, *GetValidatorParticipationRequest) (*ValidatorParticipationResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetValidatorParticipation not implemented") -} -func (*UnimplementedBeaconChainServer) GetBeaconConfig(context.Context, *empty.Empty) (*BeaconConfig, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetBeaconConfig not implemented") -} -func (*UnimplementedBeaconChainServer) StreamValidatorsInfo(BeaconChain_StreamValidatorsInfoServer) error { - return status.Errorf(codes.Unimplemented, "method StreamValidatorsInfo not implemented") -} -func (*UnimplementedBeaconChainServer) SubmitAttesterSlashing(context.Context, *AttesterSlashing) (*SubmitSlashingResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method SubmitAttesterSlashing not implemented") -} -func (*UnimplementedBeaconChainServer) SubmitProposerSlashing(context.Context, *ProposerSlashing) (*SubmitSlashingResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method SubmitProposerSlashing not implemented") -} -func (*UnimplementedBeaconChainServer) GetIndividualVotes(context.Context, *IndividualVotesRequest) (*IndividualVotesRespond, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetIndividualVotes not implemented") -} - -func RegisterBeaconChainServer(s *grpc.Server, srv BeaconChainServer) { - s.RegisterService(&_BeaconChain_serviceDesc, srv) -} - -func _BeaconChain_ListAttestations_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListAttestationsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(BeaconChainServer).ListAttestations(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/ethereum.eth.v1alpha1.BeaconChain/ListAttestations", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(BeaconChainServer).ListAttestations(ctx, req.(*ListAttestationsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _BeaconChain_ListIndexedAttestations_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListIndexedAttestationsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(BeaconChainServer).ListIndexedAttestations(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/ethereum.eth.v1alpha1.BeaconChain/ListIndexedAttestations", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(BeaconChainServer).ListIndexedAttestations(ctx, req.(*ListIndexedAttestationsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _BeaconChain_StreamAttestations_Handler(srv interface{}, stream grpc.ServerStream) error { - m := new(empty.Empty) - if err := stream.RecvMsg(m); err != nil { - return err - } - return srv.(BeaconChainServer).StreamAttestations(m, &beaconChainStreamAttestationsServer{stream}) -} - -type BeaconChain_StreamAttestationsServer interface { - Send(*Attestation) error - grpc.ServerStream -} - -type beaconChainStreamAttestationsServer struct { - grpc.ServerStream -} - -func (x *beaconChainStreamAttestationsServer) Send(m *Attestation) error { - return x.ServerStream.SendMsg(m) -} - -func _BeaconChain_StreamIndexedAttestations_Handler(srv interface{}, stream grpc.ServerStream) error { - m := new(empty.Empty) - if err := stream.RecvMsg(m); err != nil { - return err - } - return srv.(BeaconChainServer).StreamIndexedAttestations(m, &beaconChainStreamIndexedAttestationsServer{stream}) -} - -type BeaconChain_StreamIndexedAttestationsServer interface { - Send(*IndexedAttestation) error - grpc.ServerStream -} - -type beaconChainStreamIndexedAttestationsServer struct { - grpc.ServerStream -} - -func (x *beaconChainStreamIndexedAttestationsServer) Send(m *IndexedAttestation) error { - return x.ServerStream.SendMsg(m) -} - -func _BeaconChain_AttestationPool_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(AttestationPoolRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(BeaconChainServer).AttestationPool(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/ethereum.eth.v1alpha1.BeaconChain/AttestationPool", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(BeaconChainServer).AttestationPool(ctx, req.(*AttestationPoolRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _BeaconChain_ListBlocks_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListBlocksRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(BeaconChainServer).ListBlocks(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/ethereum.eth.v1alpha1.BeaconChain/ListBlocks", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(BeaconChainServer).ListBlocks(ctx, req.(*ListBlocksRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _BeaconChain_StreamBlocks_Handler(srv interface{}, stream grpc.ServerStream) error { - m := new(StreamBlocksRequest) - if err := stream.RecvMsg(m); err != nil { - return err - } - return srv.(BeaconChainServer).StreamBlocks(m, &beaconChainStreamBlocksServer{stream}) -} - -type BeaconChain_StreamBlocksServer interface { - Send(*SignedBeaconBlock) error - grpc.ServerStream -} - -type beaconChainStreamBlocksServer struct { - grpc.ServerStream -} - -func (x *beaconChainStreamBlocksServer) Send(m *SignedBeaconBlock) error { - return x.ServerStream.SendMsg(m) -} - -func _BeaconChain_StreamChainHead_Handler(srv interface{}, stream grpc.ServerStream) error { - m := new(empty.Empty) - if err := stream.RecvMsg(m); err != nil { - return err - } - return srv.(BeaconChainServer).StreamChainHead(m, &beaconChainStreamChainHeadServer{stream}) -} - -type BeaconChain_StreamChainHeadServer interface { - Send(*ChainHead) error - grpc.ServerStream -} - -type beaconChainStreamChainHeadServer struct { - grpc.ServerStream -} - -func (x *beaconChainStreamChainHeadServer) Send(m *ChainHead) error { - return x.ServerStream.SendMsg(m) -} - -func _BeaconChain_GetChainHead_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(empty.Empty) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(BeaconChainServer).GetChainHead(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/ethereum.eth.v1alpha1.BeaconChain/GetChainHead", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(BeaconChainServer).GetChainHead(ctx, req.(*empty.Empty)) - } - return interceptor(ctx, in, info, handler) -} - -func _BeaconChain_GetWeakSubjectivityCheckpoint_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(empty.Empty) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(BeaconChainServer).GetWeakSubjectivityCheckpoint(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/ethereum.eth.v1alpha1.BeaconChain/GetWeakSubjectivityCheckpoint", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(BeaconChainServer).GetWeakSubjectivityCheckpoint(ctx, req.(*empty.Empty)) - } - return interceptor(ctx, in, info, handler) -} - -func _BeaconChain_ListBeaconCommittees_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListCommitteesRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(BeaconChainServer).ListBeaconCommittees(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/ethereum.eth.v1alpha1.BeaconChain/ListBeaconCommittees", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(BeaconChainServer).ListBeaconCommittees(ctx, req.(*ListCommitteesRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _BeaconChain_ListValidatorBalances_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListValidatorBalancesRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(BeaconChainServer).ListValidatorBalances(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/ethereum.eth.v1alpha1.BeaconChain/ListValidatorBalances", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(BeaconChainServer).ListValidatorBalances(ctx, req.(*ListValidatorBalancesRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _BeaconChain_ListValidators_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListValidatorsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(BeaconChainServer).ListValidators(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/ethereum.eth.v1alpha1.BeaconChain/ListValidators", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(BeaconChainServer).ListValidators(ctx, req.(*ListValidatorsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _BeaconChain_GetValidator_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetValidatorRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(BeaconChainServer).GetValidator(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/ethereum.eth.v1alpha1.BeaconChain/GetValidator", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(BeaconChainServer).GetValidator(ctx, req.(*GetValidatorRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _BeaconChain_GetValidatorActiveSetChanges_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetValidatorActiveSetChangesRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(BeaconChainServer).GetValidatorActiveSetChanges(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/ethereum.eth.v1alpha1.BeaconChain/GetValidatorActiveSetChanges", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(BeaconChainServer).GetValidatorActiveSetChanges(ctx, req.(*GetValidatorActiveSetChangesRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _BeaconChain_GetValidatorQueue_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(empty.Empty) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(BeaconChainServer).GetValidatorQueue(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/ethereum.eth.v1alpha1.BeaconChain/GetValidatorQueue", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(BeaconChainServer).GetValidatorQueue(ctx, req.(*empty.Empty)) - } - return interceptor(ctx, in, info, handler) -} - -func _BeaconChain_GetValidatorPerformance_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ValidatorPerformanceRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(BeaconChainServer).GetValidatorPerformance(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/ethereum.eth.v1alpha1.BeaconChain/GetValidatorPerformance", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(BeaconChainServer).GetValidatorPerformance(ctx, req.(*ValidatorPerformanceRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _BeaconChain_ListValidatorAssignments_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListValidatorAssignmentsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(BeaconChainServer).ListValidatorAssignments(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/ethereum.eth.v1alpha1.BeaconChain/ListValidatorAssignments", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(BeaconChainServer).ListValidatorAssignments(ctx, req.(*ListValidatorAssignmentsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _BeaconChain_GetValidatorParticipation_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetValidatorParticipationRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(BeaconChainServer).GetValidatorParticipation(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/ethereum.eth.v1alpha1.BeaconChain/GetValidatorParticipation", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(BeaconChainServer).GetValidatorParticipation(ctx, req.(*GetValidatorParticipationRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _BeaconChain_GetBeaconConfig_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(empty.Empty) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(BeaconChainServer).GetBeaconConfig(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/ethereum.eth.v1alpha1.BeaconChain/GetBeaconConfig", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(BeaconChainServer).GetBeaconConfig(ctx, req.(*empty.Empty)) - } - return interceptor(ctx, in, info, handler) -} - -func _BeaconChain_StreamValidatorsInfo_Handler(srv interface{}, stream grpc.ServerStream) error { - return srv.(BeaconChainServer).StreamValidatorsInfo(&beaconChainStreamValidatorsInfoServer{stream}) -} - -type BeaconChain_StreamValidatorsInfoServer interface { - Send(*ValidatorInfo) error - Recv() (*ValidatorChangeSet, error) - grpc.ServerStream -} - -type beaconChainStreamValidatorsInfoServer struct { - grpc.ServerStream -} - -func (x *beaconChainStreamValidatorsInfoServer) Send(m *ValidatorInfo) error { - return x.ServerStream.SendMsg(m) -} - -func (x *beaconChainStreamValidatorsInfoServer) Recv() (*ValidatorChangeSet, error) { - m := new(ValidatorChangeSet) - if err := x.ServerStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -func _BeaconChain_SubmitAttesterSlashing_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(AttesterSlashing) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(BeaconChainServer).SubmitAttesterSlashing(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/ethereum.eth.v1alpha1.BeaconChain/SubmitAttesterSlashing", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(BeaconChainServer).SubmitAttesterSlashing(ctx, req.(*AttesterSlashing)) - } - return interceptor(ctx, in, info, handler) -} - -func _BeaconChain_SubmitProposerSlashing_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ProposerSlashing) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(BeaconChainServer).SubmitProposerSlashing(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/ethereum.eth.v1alpha1.BeaconChain/SubmitProposerSlashing", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(BeaconChainServer).SubmitProposerSlashing(ctx, req.(*ProposerSlashing)) - } - return interceptor(ctx, in, info, handler) -} - -func _BeaconChain_GetIndividualVotes_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(IndividualVotesRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(BeaconChainServer).GetIndividualVotes(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/ethereum.eth.v1alpha1.BeaconChain/GetIndividualVotes", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(BeaconChainServer).GetIndividualVotes(ctx, req.(*IndividualVotesRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _BeaconChain_serviceDesc = grpc.ServiceDesc{ - ServiceName: "ethereum.eth.v1alpha1.BeaconChain", - HandlerType: (*BeaconChainServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "ListAttestations", - Handler: _BeaconChain_ListAttestations_Handler, - }, - { - MethodName: "ListIndexedAttestations", - Handler: _BeaconChain_ListIndexedAttestations_Handler, - }, - { - MethodName: "AttestationPool", - Handler: _BeaconChain_AttestationPool_Handler, - }, - { - MethodName: "ListBlocks", - Handler: _BeaconChain_ListBlocks_Handler, - }, - { - MethodName: "GetChainHead", - Handler: _BeaconChain_GetChainHead_Handler, - }, - { - MethodName: "GetWeakSubjectivityCheckpoint", - Handler: _BeaconChain_GetWeakSubjectivityCheckpoint_Handler, - }, - { - MethodName: "ListBeaconCommittees", - Handler: _BeaconChain_ListBeaconCommittees_Handler, - }, - { - MethodName: "ListValidatorBalances", - Handler: _BeaconChain_ListValidatorBalances_Handler, - }, - { - MethodName: "ListValidators", - Handler: _BeaconChain_ListValidators_Handler, - }, - { - MethodName: "GetValidator", - Handler: _BeaconChain_GetValidator_Handler, - }, - { - MethodName: "GetValidatorActiveSetChanges", - Handler: _BeaconChain_GetValidatorActiveSetChanges_Handler, - }, - { - MethodName: "GetValidatorQueue", - Handler: _BeaconChain_GetValidatorQueue_Handler, - }, - { - MethodName: "GetValidatorPerformance", - Handler: _BeaconChain_GetValidatorPerformance_Handler, - }, - { - MethodName: "ListValidatorAssignments", - Handler: _BeaconChain_ListValidatorAssignments_Handler, - }, - { - MethodName: "GetValidatorParticipation", - Handler: _BeaconChain_GetValidatorParticipation_Handler, - }, - { - MethodName: "GetBeaconConfig", - Handler: _BeaconChain_GetBeaconConfig_Handler, - }, - { - MethodName: "SubmitAttesterSlashing", - Handler: _BeaconChain_SubmitAttesterSlashing_Handler, - }, - { - MethodName: "SubmitProposerSlashing", - Handler: _BeaconChain_SubmitProposerSlashing_Handler, - }, - { - MethodName: "GetIndividualVotes", - Handler: _BeaconChain_GetIndividualVotes_Handler, - }, - }, - Streams: []grpc.StreamDesc{ - { - StreamName: "StreamAttestations", - Handler: _BeaconChain_StreamAttestations_Handler, - ServerStreams: true, - }, - { - StreamName: "StreamIndexedAttestations", - Handler: _BeaconChain_StreamIndexedAttestations_Handler, - ServerStreams: true, - }, - { - StreamName: "StreamBlocks", - Handler: _BeaconChain_StreamBlocks_Handler, - ServerStreams: true, - }, - { - StreamName: "StreamChainHead", - Handler: _BeaconChain_StreamChainHead_Handler, - ServerStreams: true, - }, - { - StreamName: "StreamValidatorsInfo", - Handler: _BeaconChain_StreamValidatorsInfo_Handler, - ServerStreams: true, - ClientStreams: true, - }, - }, - Metadata: "eth/v1alpha1/beacon_chain.proto", -} diff --git a/eth/v1alpha1_gateway/node.pb.go b/eth/v1alpha1_gateway/node.pb.go deleted file mode 100755 index d9342ce7..00000000 --- a/eth/v1alpha1_gateway/node.pb.go +++ /dev/null @@ -1,1191 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.22.0 -// protoc v3.11.4 -// source: eth/v1alpha1/node.proto - -package eth - -import ( - context "context" - reflect "reflect" - sync "sync" - - _ "github.com/gogo/protobuf/gogoproto" - proto "github.com/golang/protobuf/proto" - empty "github.com/golang/protobuf/ptypes/empty" - timestamp "github.com/golang/protobuf/ptypes/timestamp" - _ "google.golang.org/genproto/googleapis/api/annotations" - 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" -) - -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 that a sufficiently up-to-date version -// of the legacy proto package is being used. -const _ = proto.ProtoPackageIsVersion4 - -type PeerDirection int32 - -const ( - PeerDirection_UNKNOWN PeerDirection = 0 - PeerDirection_INBOUND PeerDirection = 1 - PeerDirection_OUTBOUND PeerDirection = 2 -) - -// Enum value maps for PeerDirection. -var ( - PeerDirection_name = map[int32]string{ - 0: "UNKNOWN", - 1: "INBOUND", - 2: "OUTBOUND", - } - PeerDirection_value = map[string]int32{ - "UNKNOWN": 0, - "INBOUND": 1, - "OUTBOUND": 2, - } -) - -func (x PeerDirection) Enum() *PeerDirection { - p := new(PeerDirection) - *p = x - return p -} - -func (x PeerDirection) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (PeerDirection) Descriptor() protoreflect.EnumDescriptor { - return file_eth_v1alpha1_node_proto_enumTypes[0].Descriptor() -} - -func (PeerDirection) Type() protoreflect.EnumType { - return &file_eth_v1alpha1_node_proto_enumTypes[0] -} - -func (x PeerDirection) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use PeerDirection.Descriptor instead. -func (PeerDirection) EnumDescriptor() ([]byte, []int) { - return file_eth_v1alpha1_node_proto_rawDescGZIP(), []int{0} -} - -type ConnectionState int32 - -const ( - ConnectionState_DISCONNECTED ConnectionState = 0 - ConnectionState_DISCONNECTING ConnectionState = 1 - ConnectionState_CONNECTED ConnectionState = 2 - ConnectionState_CONNECTING ConnectionState = 3 -) - -// Enum value maps for ConnectionState. -var ( - ConnectionState_name = map[int32]string{ - 0: "DISCONNECTED", - 1: "DISCONNECTING", - 2: "CONNECTED", - 3: "CONNECTING", - } - ConnectionState_value = map[string]int32{ - "DISCONNECTED": 0, - "DISCONNECTING": 1, - "CONNECTED": 2, - "CONNECTING": 3, - } -) - -func (x ConnectionState) Enum() *ConnectionState { - p := new(ConnectionState) - *p = x - return p -} - -func (x ConnectionState) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (ConnectionState) Descriptor() protoreflect.EnumDescriptor { - return file_eth_v1alpha1_node_proto_enumTypes[1].Descriptor() -} - -func (ConnectionState) Type() protoreflect.EnumType { - return &file_eth_v1alpha1_node_proto_enumTypes[1] -} - -func (x ConnectionState) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use ConnectionState.Descriptor instead. -func (ConnectionState) EnumDescriptor() ([]byte, []int) { - return file_eth_v1alpha1_node_proto_rawDescGZIP(), []int{1} -} - -type SyncStatus struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Syncing bool `protobuf:"varint,1,opt,name=syncing,proto3" json:"syncing,omitempty"` -} - -func (x *SyncStatus) Reset() { - *x = SyncStatus{} - if protoimpl.UnsafeEnabled { - mi := &file_eth_v1alpha1_node_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SyncStatus) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SyncStatus) ProtoMessage() {} - -func (x *SyncStatus) ProtoReflect() protoreflect.Message { - mi := &file_eth_v1alpha1_node_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 SyncStatus.ProtoReflect.Descriptor instead. -func (*SyncStatus) Descriptor() ([]byte, []int) { - return file_eth_v1alpha1_node_proto_rawDescGZIP(), []int{0} -} - -func (x *SyncStatus) GetSyncing() bool { - if x != nil { - return x.Syncing - } - return false -} - -type Genesis struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - GenesisTime *timestamp.Timestamp `protobuf:"bytes,1,opt,name=genesis_time,json=genesisTime,proto3" json:"genesis_time,omitempty"` - DepositContractAddress []byte `protobuf:"bytes,2,opt,name=deposit_contract_address,json=depositContractAddress,proto3" json:"deposit_contract_address,omitempty"` - GenesisValidatorsRoot []byte `protobuf:"bytes,3,opt,name=genesis_validators_root,json=genesisValidatorsRoot,proto3" json:"genesis_validators_root,omitempty"` -} - -func (x *Genesis) Reset() { - *x = Genesis{} - if protoimpl.UnsafeEnabled { - mi := &file_eth_v1alpha1_node_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *Genesis) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Genesis) ProtoMessage() {} - -func (x *Genesis) ProtoReflect() protoreflect.Message { - mi := &file_eth_v1alpha1_node_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 Genesis.ProtoReflect.Descriptor instead. -func (*Genesis) Descriptor() ([]byte, []int) { - return file_eth_v1alpha1_node_proto_rawDescGZIP(), []int{1} -} - -func (x *Genesis) GetGenesisTime() *timestamp.Timestamp { - if x != nil { - return x.GenesisTime - } - return nil -} - -func (x *Genesis) GetDepositContractAddress() []byte { - if x != nil { - return x.DepositContractAddress - } - return nil -} - -func (x *Genesis) GetGenesisValidatorsRoot() []byte { - if x != nil { - return x.GenesisValidatorsRoot - } - return nil -} - -type Version struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` - Metadata string `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"` -} - -func (x *Version) Reset() { - *x = Version{} - if protoimpl.UnsafeEnabled { - mi := &file_eth_v1alpha1_node_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *Version) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Version) ProtoMessage() {} - -func (x *Version) ProtoReflect() protoreflect.Message { - mi := &file_eth_v1alpha1_node_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 Version.ProtoReflect.Descriptor instead. -func (*Version) Descriptor() ([]byte, []int) { - return file_eth_v1alpha1_node_proto_rawDescGZIP(), []int{2} -} - -func (x *Version) GetVersion() string { - if x != nil { - return x.Version - } - return "" -} - -func (x *Version) GetMetadata() string { - if x != nil { - return x.Metadata - } - return "" -} - -type ImplementedServices struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Services []string `protobuf:"bytes,1,rep,name=services,proto3" json:"services,omitempty"` -} - -func (x *ImplementedServices) Reset() { - *x = ImplementedServices{} - if protoimpl.UnsafeEnabled { - mi := &file_eth_v1alpha1_node_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ImplementedServices) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ImplementedServices) ProtoMessage() {} - -func (x *ImplementedServices) ProtoReflect() protoreflect.Message { - mi := &file_eth_v1alpha1_node_proto_msgTypes[3] - 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 ImplementedServices.ProtoReflect.Descriptor instead. -func (*ImplementedServices) Descriptor() ([]byte, []int) { - return file_eth_v1alpha1_node_proto_rawDescGZIP(), []int{3} -} - -func (x *ImplementedServices) GetServices() []string { - if x != nil { - return x.Services - } - return nil -} - -type PeerRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - PeerId string `protobuf:"bytes,1,opt,name=peer_id,json=peerId,proto3" json:"peer_id,omitempty"` -} - -func (x *PeerRequest) Reset() { - *x = PeerRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_eth_v1alpha1_node_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *PeerRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*PeerRequest) ProtoMessage() {} - -func (x *PeerRequest) ProtoReflect() protoreflect.Message { - mi := &file_eth_v1alpha1_node_proto_msgTypes[4] - 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 PeerRequest.ProtoReflect.Descriptor instead. -func (*PeerRequest) Descriptor() ([]byte, []int) { - return file_eth_v1alpha1_node_proto_rawDescGZIP(), []int{4} -} - -func (x *PeerRequest) GetPeerId() string { - if x != nil { - return x.PeerId - } - return "" -} - -type Peers struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Peers []*Peer `protobuf:"bytes,1,rep,name=peers,proto3" json:"peers,omitempty"` -} - -func (x *Peers) Reset() { - *x = Peers{} - if protoimpl.UnsafeEnabled { - mi := &file_eth_v1alpha1_node_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *Peers) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Peers) ProtoMessage() {} - -func (x *Peers) ProtoReflect() protoreflect.Message { - mi := &file_eth_v1alpha1_node_proto_msgTypes[5] - 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 Peers.ProtoReflect.Descriptor instead. -func (*Peers) Descriptor() ([]byte, []int) { - return file_eth_v1alpha1_node_proto_rawDescGZIP(), []int{5} -} - -func (x *Peers) GetPeers() []*Peer { - if x != nil { - return x.Peers - } - return nil -} - -type Peer struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` - Direction PeerDirection `protobuf:"varint,2,opt,name=direction,proto3,enum=ethereum.eth.v1alpha1.PeerDirection" json:"direction,omitempty"` - ConnectionState ConnectionState `protobuf:"varint,3,opt,name=connection_state,json=connectionState,proto3,enum=ethereum.eth.v1alpha1.ConnectionState" json:"connection_state,omitempty"` - PeerId string `protobuf:"bytes,4,opt,name=peer_id,json=peerId,proto3" json:"peer_id,omitempty"` - Enr string `protobuf:"bytes,5,opt,name=enr,proto3" json:"enr,omitempty"` -} - -func (x *Peer) Reset() { - *x = Peer{} - if protoimpl.UnsafeEnabled { - mi := &file_eth_v1alpha1_node_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *Peer) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Peer) ProtoMessage() {} - -func (x *Peer) ProtoReflect() protoreflect.Message { - mi := &file_eth_v1alpha1_node_proto_msgTypes[6] - 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 Peer.ProtoReflect.Descriptor instead. -func (*Peer) Descriptor() ([]byte, []int) { - return file_eth_v1alpha1_node_proto_rawDescGZIP(), []int{6} -} - -func (x *Peer) GetAddress() string { - if x != nil { - return x.Address - } - return "" -} - -func (x *Peer) GetDirection() PeerDirection { - if x != nil { - return x.Direction - } - return PeerDirection_UNKNOWN -} - -func (x *Peer) GetConnectionState() ConnectionState { - if x != nil { - return x.ConnectionState - } - return ConnectionState_DISCONNECTED -} - -func (x *Peer) GetPeerId() string { - if x != nil { - return x.PeerId - } - return "" -} - -func (x *Peer) GetEnr() string { - if x != nil { - return x.Enr - } - return "" -} - -type HostData struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Addresses []string `protobuf:"bytes,1,rep,name=addresses,proto3" json:"addresses,omitempty"` - PeerId string `protobuf:"bytes,2,opt,name=peer_id,json=peerId,proto3" json:"peer_id,omitempty"` - Enr string `protobuf:"bytes,3,opt,name=enr,proto3" json:"enr,omitempty"` -} - -func (x *HostData) Reset() { - *x = HostData{} - if protoimpl.UnsafeEnabled { - mi := &file_eth_v1alpha1_node_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *HostData) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*HostData) ProtoMessage() {} - -func (x *HostData) ProtoReflect() protoreflect.Message { - mi := &file_eth_v1alpha1_node_proto_msgTypes[7] - 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 HostData.ProtoReflect.Descriptor instead. -func (*HostData) Descriptor() ([]byte, []int) { - return file_eth_v1alpha1_node_proto_rawDescGZIP(), []int{7} -} - -func (x *HostData) GetAddresses() []string { - if x != nil { - return x.Addresses - } - return nil -} - -func (x *HostData) GetPeerId() string { - if x != nil { - return x.PeerId - } - return "" -} - -func (x *HostData) GetEnr() string { - if x != nil { - return x.Enr - } - return "" -} - -var File_eth_v1alpha1_node_proto protoreflect.FileDescriptor - -var file_eth_v1alpha1_node_proto_rawDesc = []byte{ - 0x0a, 0x17, 0x65, 0x74, 0x68, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2f, 0x6e, - 0x6f, 0x64, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x15, 0x65, 0x74, 0x68, 0x65, 0x72, - 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, - 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, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, - 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, - 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2d, 0x67, 0x69, - 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x67, 0x6f, 0x2f, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x67, 0x6f, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x2f, 0x67, 0x6f, 0x67, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x26, 0x0a, 0x0a, 0x53, - 0x79, 0x6e, 0x63, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x79, 0x6e, - 0x63, 0x69, 0x6e, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x73, 0x79, 0x6e, 0x63, - 0x69, 0x6e, 0x67, 0x22, 0xcd, 0x01, 0x0a, 0x07, 0x47, 0x65, 0x6e, 0x65, 0x73, 0x69, 0x73, 0x12, - 0x3d, 0x0a, 0x0c, 0x67, 0x65, 0x6e, 0x65, 0x73, 0x69, 0x73, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, - 0x70, 0x52, 0x0b, 0x67, 0x65, 0x6e, 0x65, 0x73, 0x69, 0x73, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x38, - 0x0a, 0x18, 0x64, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, - 0x63, 0x74, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, - 0x52, 0x16, 0x64, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, - 0x74, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x49, 0x0a, 0x17, 0x67, 0x65, 0x6e, 0x65, - 0x73, 0x69, 0x73, 0x5f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x73, 0x5f, 0x72, - 0x6f, 0x6f, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x42, 0x11, 0xf2, 0xde, 0x1f, 0x0d, 0x73, - 0x73, 0x7a, 0x2d, 0x73, 0x69, 0x7a, 0x65, 0x3a, 0x22, 0x33, 0x32, 0x22, 0x52, 0x15, 0x67, 0x65, - 0x6e, 0x65, 0x73, 0x69, 0x73, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x73, 0x52, - 0x6f, 0x6f, 0x74, 0x22, 0x3f, 0x0a, 0x07, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x18, - 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x1a, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, - 0x64, 0x61, 0x74, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, - 0x64, 0x61, 0x74, 0x61, 0x22, 0x31, 0x0a, 0x13, 0x49, 0x6d, 0x70, 0x6c, 0x65, 0x6d, 0x65, 0x6e, - 0x74, 0x65, 0x64, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x73, - 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x08, 0x73, - 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x22, 0x26, 0x0a, 0x0b, 0x50, 0x65, 0x65, 0x72, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x17, 0x0a, 0x07, 0x70, 0x65, 0x65, 0x72, 0x5f, 0x69, - 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x70, 0x65, 0x65, 0x72, 0x49, 0x64, 0x22, - 0x3a, 0x0a, 0x05, 0x50, 0x65, 0x65, 0x72, 0x73, 0x12, 0x31, 0x0a, 0x05, 0x70, 0x65, 0x65, 0x72, - 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, - 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, - 0x50, 0x65, 0x65, 0x72, 0x52, 0x05, 0x70, 0x65, 0x65, 0x72, 0x73, 0x22, 0xe2, 0x01, 0x0a, 0x04, - 0x50, 0x65, 0x65, 0x72, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x42, - 0x0a, 0x09, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x0e, 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, 0x50, 0x65, 0x65, 0x72, 0x44, 0x69, - 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x09, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, - 0x6f, 0x6e, 0x12, 0x51, 0x0a, 0x10, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, - 0x5f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 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, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x53, - 0x74, 0x61, 0x74, 0x65, 0x52, 0x0f, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, - 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x17, 0x0a, 0x07, 0x70, 0x65, 0x65, 0x72, 0x5f, 0x69, 0x64, - 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x70, 0x65, 0x65, 0x72, 0x49, 0x64, 0x12, 0x10, - 0x0a, 0x03, 0x65, 0x6e, 0x72, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x65, 0x6e, 0x72, - 0x22, 0x53, 0x0a, 0x08, 0x48, 0x6f, 0x73, 0x74, 0x44, 0x61, 0x74, 0x61, 0x12, 0x1c, 0x0a, 0x09, - 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, - 0x09, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x65, 0x73, 0x12, 0x17, 0x0a, 0x07, 0x70, 0x65, - 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x70, 0x65, 0x65, - 0x72, 0x49, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x65, 0x6e, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x03, 0x65, 0x6e, 0x72, 0x2a, 0x37, 0x0a, 0x0d, 0x50, 0x65, 0x65, 0x72, 0x44, 0x69, 0x72, - 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x0b, 0x0a, 0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, - 0x4e, 0x10, 0x00, 0x12, 0x0b, 0x0a, 0x07, 0x49, 0x4e, 0x42, 0x4f, 0x55, 0x4e, 0x44, 0x10, 0x01, - 0x12, 0x0c, 0x0a, 0x08, 0x4f, 0x55, 0x54, 0x42, 0x4f, 0x55, 0x4e, 0x44, 0x10, 0x02, 0x2a, 0x55, - 0x0a, 0x0f, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, - 0x65, 0x12, 0x10, 0x0a, 0x0c, 0x44, 0x49, 0x53, 0x43, 0x4f, 0x4e, 0x4e, 0x45, 0x43, 0x54, 0x45, - 0x44, 0x10, 0x00, 0x12, 0x11, 0x0a, 0x0d, 0x44, 0x49, 0x53, 0x43, 0x4f, 0x4e, 0x4e, 0x45, 0x43, - 0x54, 0x49, 0x4e, 0x47, 0x10, 0x01, 0x12, 0x0d, 0x0a, 0x09, 0x43, 0x4f, 0x4e, 0x4e, 0x45, 0x43, - 0x54, 0x45, 0x44, 0x10, 0x02, 0x12, 0x0e, 0x0a, 0x0a, 0x43, 0x4f, 0x4e, 0x4e, 0x45, 0x43, 0x54, - 0x49, 0x4e, 0x47, 0x10, 0x03, 0x32, 0x85, 0x06, 0x0a, 0x04, 0x4e, 0x6f, 0x64, 0x65, 0x12, 0x6e, - 0x0a, 0x0d, 0x47, 0x65, 0x74, 0x53, 0x79, 0x6e, 0x63, 0x53, 0x74, 0x61, 0x74, 0x75, 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, 0x21, 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, - 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, - 0x53, 0x79, 0x6e, 0x63, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x22, 0x22, 0x82, 0xd3, 0xe4, 0x93, - 0x02, 0x1c, 0x12, 0x1a, 0x2f, 0x65, 0x74, 0x68, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, - 0x31, 0x2f, 0x6e, 0x6f, 0x64, 0x65, 0x2f, 0x73, 0x79, 0x6e, 0x63, 0x69, 0x6e, 0x67, 0x12, 0x68, - 0x0a, 0x0a, 0x47, 0x65, 0x74, 0x47, 0x65, 0x6e, 0x65, 0x73, 0x69, 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, 0x1e, 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, - 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x47, 0x65, 0x6e, - 0x65, 0x73, 0x69, 0x73, 0x22, 0x22, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1c, 0x12, 0x1a, 0x2f, 0x65, - 0x74, 0x68, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2f, 0x6e, 0x6f, 0x64, 0x65, - 0x2f, 0x67, 0x65, 0x6e, 0x65, 0x73, 0x69, 0x73, 0x12, 0x68, 0x0a, 0x0a, 0x47, 0x65, 0x74, 0x56, - 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 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, 0x1e, - 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, - 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x22, - 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1c, 0x12, 0x1a, 0x2f, 0x65, 0x74, 0x68, 0x2f, 0x76, 0x31, 0x61, - 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2f, 0x6e, 0x6f, 0x64, 0x65, 0x2f, 0x76, 0x65, 0x72, 0x73, 0x69, - 0x6f, 0x6e, 0x12, 0x82, 0x01, 0x0a, 0x17, 0x4c, 0x69, 0x73, 0x74, 0x49, 0x6d, 0x70, 0x6c, 0x65, - 0x6d, 0x65, 0x6e, 0x74, 0x65, 0x64, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 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, 0x2a, 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, - 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x49, - 0x6d, 0x70, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x65, 0x64, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, - 0x65, 0x73, 0x22, 0x23, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1d, 0x12, 0x1b, 0x2f, 0x65, 0x74, 0x68, - 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2f, 0x6e, 0x6f, 0x64, 0x65, 0x2f, 0x73, - 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x12, 0x62, 0x0a, 0x07, 0x47, 0x65, 0x74, 0x48, 0x6f, - 0x73, 0x74, 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, 0x1f, 0x2e, 0x65, 0x74, 0x68, - 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, - 0x61, 0x31, 0x2e, 0x48, 0x6f, 0x73, 0x74, 0x44, 0x61, 0x74, 0x61, 0x22, 0x1e, 0x82, 0xd3, 0xe4, - 0x93, 0x02, 0x18, 0x12, 0x16, 0x2f, 0x65, 0x74, 0x68, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, - 0x61, 0x31, 0x2f, 0x6e, 0x6f, 0x64, 0x65, 0x2f, 0x70, 0x32, 0x70, 0x12, 0x6b, 0x0a, 0x07, 0x47, - 0x65, 0x74, 0x50, 0x65, 0x65, 0x72, 0x12, 0x22, 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, - 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, - 0x65, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1b, 0x2e, 0x65, 0x74, 0x68, - 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, - 0x61, 0x31, 0x2e, 0x50, 0x65, 0x65, 0x72, 0x22, 0x1f, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x19, 0x12, - 0x17, 0x2f, 0x65, 0x74, 0x68, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2f, 0x6e, - 0x6f, 0x64, 0x65, 0x2f, 0x70, 0x65, 0x65, 0x72, 0x12, 0x63, 0x0a, 0x09, 0x4c, 0x69, 0x73, 0x74, - 0x50, 0x65, 0x65, 0x72, 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, 0x1c, 0x2e, - 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x61, - 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x65, 0x65, 0x72, 0x73, 0x22, 0x20, 0x82, 0xd3, 0xe4, - 0x93, 0x02, 0x1a, 0x12, 0x18, 0x2f, 0x65, 0x74, 0x68, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, - 0x61, 0x31, 0x2f, 0x6e, 0x6f, 0x64, 0x65, 0x2f, 0x70, 0x65, 0x65, 0x72, 0x73, 0x42, 0x90, 0x01, - 0x0a, 0x19, 0x6f, 0x72, 0x67, 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, - 0x74, 0x68, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x42, 0x09, 0x4e, 0x6f, 0x64, - 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x36, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, - 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x72, 0x79, 0x73, 0x6d, 0x61, 0x74, 0x69, 0x63, 0x6c, 0x61, - 0x62, 0x73, 0x2f, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x61, 0x70, 0x69, 0x73, 0x2f, - 0x65, 0x74, 0x68, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x3b, 0x65, 0x74, 0x68, - 0xaa, 0x02, 0x15, 0x45, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x45, 0x74, 0x68, 0x2e, - 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xca, 0x02, 0x15, 0x45, 0x74, 0x68, 0x65, 0x72, - 0x65, 0x75, 0x6d, 0x5c, 0x45, 0x74, 0x68, 0x5c, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, - 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var ( - file_eth_v1alpha1_node_proto_rawDescOnce sync.Once - file_eth_v1alpha1_node_proto_rawDescData = file_eth_v1alpha1_node_proto_rawDesc -) - -func file_eth_v1alpha1_node_proto_rawDescGZIP() []byte { - file_eth_v1alpha1_node_proto_rawDescOnce.Do(func() { - file_eth_v1alpha1_node_proto_rawDescData = protoimpl.X.CompressGZIP(file_eth_v1alpha1_node_proto_rawDescData) - }) - return file_eth_v1alpha1_node_proto_rawDescData -} - -var file_eth_v1alpha1_node_proto_enumTypes = make([]protoimpl.EnumInfo, 2) -var file_eth_v1alpha1_node_proto_msgTypes = make([]protoimpl.MessageInfo, 8) -var file_eth_v1alpha1_node_proto_goTypes = []interface{}{ - (PeerDirection)(0), // 0: ethereum.eth.v1alpha1.PeerDirection - (ConnectionState)(0), // 1: ethereum.eth.v1alpha1.ConnectionState - (*SyncStatus)(nil), // 2: ethereum.eth.v1alpha1.SyncStatus - (*Genesis)(nil), // 3: ethereum.eth.v1alpha1.Genesis - (*Version)(nil), // 4: ethereum.eth.v1alpha1.Version - (*ImplementedServices)(nil), // 5: ethereum.eth.v1alpha1.ImplementedServices - (*PeerRequest)(nil), // 6: ethereum.eth.v1alpha1.PeerRequest - (*Peers)(nil), // 7: ethereum.eth.v1alpha1.Peers - (*Peer)(nil), // 8: ethereum.eth.v1alpha1.Peer - (*HostData)(nil), // 9: ethereum.eth.v1alpha1.HostData - (*timestamp.Timestamp)(nil), // 10: google.protobuf.Timestamp - (*empty.Empty)(nil), // 11: google.protobuf.Empty -} -var file_eth_v1alpha1_node_proto_depIdxs = []int32{ - 10, // 0: ethereum.eth.v1alpha1.Genesis.genesis_time:type_name -> google.protobuf.Timestamp - 8, // 1: ethereum.eth.v1alpha1.Peers.peers:type_name -> ethereum.eth.v1alpha1.Peer - 0, // 2: ethereum.eth.v1alpha1.Peer.direction:type_name -> ethereum.eth.v1alpha1.PeerDirection - 1, // 3: ethereum.eth.v1alpha1.Peer.connection_state:type_name -> ethereum.eth.v1alpha1.ConnectionState - 11, // 4: ethereum.eth.v1alpha1.Node.GetSyncStatus:input_type -> google.protobuf.Empty - 11, // 5: ethereum.eth.v1alpha1.Node.GetGenesis:input_type -> google.protobuf.Empty - 11, // 6: ethereum.eth.v1alpha1.Node.GetVersion:input_type -> google.protobuf.Empty - 11, // 7: ethereum.eth.v1alpha1.Node.ListImplementedServices:input_type -> google.protobuf.Empty - 11, // 8: ethereum.eth.v1alpha1.Node.GetHost:input_type -> google.protobuf.Empty - 6, // 9: ethereum.eth.v1alpha1.Node.GetPeer:input_type -> ethereum.eth.v1alpha1.PeerRequest - 11, // 10: ethereum.eth.v1alpha1.Node.ListPeers:input_type -> google.protobuf.Empty - 2, // 11: ethereum.eth.v1alpha1.Node.GetSyncStatus:output_type -> ethereum.eth.v1alpha1.SyncStatus - 3, // 12: ethereum.eth.v1alpha1.Node.GetGenesis:output_type -> ethereum.eth.v1alpha1.Genesis - 4, // 13: ethereum.eth.v1alpha1.Node.GetVersion:output_type -> ethereum.eth.v1alpha1.Version - 5, // 14: ethereum.eth.v1alpha1.Node.ListImplementedServices:output_type -> ethereum.eth.v1alpha1.ImplementedServices - 9, // 15: ethereum.eth.v1alpha1.Node.GetHost:output_type -> ethereum.eth.v1alpha1.HostData - 8, // 16: ethereum.eth.v1alpha1.Node.GetPeer:output_type -> ethereum.eth.v1alpha1.Peer - 7, // 17: ethereum.eth.v1alpha1.Node.ListPeers:output_type -> ethereum.eth.v1alpha1.Peers - 11, // [11:18] is the sub-list for method output_type - 4, // [4:11] is the sub-list for method input_type - 4, // [4:4] is the sub-list for extension type_name - 4, // [4:4] is the sub-list for extension extendee - 0, // [0:4] is the sub-list for field type_name -} - -func init() { file_eth_v1alpha1_node_proto_init() } -func file_eth_v1alpha1_node_proto_init() { - if File_eth_v1alpha1_node_proto != nil { - return - } - if !protoimpl.UnsafeEnabled { - file_eth_v1alpha1_node_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SyncStatus); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_eth_v1alpha1_node_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Genesis); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_eth_v1alpha1_node_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Version); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_eth_v1alpha1_node_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ImplementedServices); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_eth_v1alpha1_node_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PeerRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_eth_v1alpha1_node_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Peers); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_eth_v1alpha1_node_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Peer); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_eth_v1alpha1_node_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*HostData); 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_eth_v1alpha1_node_proto_rawDesc, - NumEnums: 2, - NumMessages: 8, - NumExtensions: 0, - NumServices: 1, - }, - GoTypes: file_eth_v1alpha1_node_proto_goTypes, - DependencyIndexes: file_eth_v1alpha1_node_proto_depIdxs, - EnumInfos: file_eth_v1alpha1_node_proto_enumTypes, - MessageInfos: file_eth_v1alpha1_node_proto_msgTypes, - }.Build() - File_eth_v1alpha1_node_proto = out.File - file_eth_v1alpha1_node_proto_rawDesc = nil - file_eth_v1alpha1_node_proto_goTypes = nil - file_eth_v1alpha1_node_proto_depIdxs = nil -} - -// Reference imports to suppress errors if they are not otherwise used. -var _ context.Context -var _ grpc.ClientConnInterface - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the grpc package it is being compiled against. -const _ = grpc.SupportPackageIsVersion6 - -// NodeClient is the client API for Node service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type NodeClient interface { - GetSyncStatus(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*SyncStatus, error) - GetGenesis(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*Genesis, error) - GetVersion(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*Version, error) - ListImplementedServices(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*ImplementedServices, error) - GetHost(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*HostData, error) - GetPeer(ctx context.Context, in *PeerRequest, opts ...grpc.CallOption) (*Peer, error) - ListPeers(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*Peers, error) -} - -type nodeClient struct { - cc grpc.ClientConnInterface -} - -func NewNodeClient(cc grpc.ClientConnInterface) NodeClient { - return &nodeClient{cc} -} - -func (c *nodeClient) GetSyncStatus(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*SyncStatus, error) { - out := new(SyncStatus) - err := c.cc.Invoke(ctx, "/ethereum.eth.v1alpha1.Node/GetSyncStatus", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *nodeClient) GetGenesis(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*Genesis, error) { - out := new(Genesis) - err := c.cc.Invoke(ctx, "/ethereum.eth.v1alpha1.Node/GetGenesis", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *nodeClient) GetVersion(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*Version, error) { - out := new(Version) - err := c.cc.Invoke(ctx, "/ethereum.eth.v1alpha1.Node/GetVersion", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *nodeClient) ListImplementedServices(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*ImplementedServices, error) { - out := new(ImplementedServices) - err := c.cc.Invoke(ctx, "/ethereum.eth.v1alpha1.Node/ListImplementedServices", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *nodeClient) GetHost(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*HostData, error) { - out := new(HostData) - err := c.cc.Invoke(ctx, "/ethereum.eth.v1alpha1.Node/GetHost", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *nodeClient) GetPeer(ctx context.Context, in *PeerRequest, opts ...grpc.CallOption) (*Peer, error) { - out := new(Peer) - err := c.cc.Invoke(ctx, "/ethereum.eth.v1alpha1.Node/GetPeer", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *nodeClient) ListPeers(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*Peers, error) { - out := new(Peers) - err := c.cc.Invoke(ctx, "/ethereum.eth.v1alpha1.Node/ListPeers", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// NodeServer is the server API for Node service. -type NodeServer interface { - GetSyncStatus(context.Context, *empty.Empty) (*SyncStatus, error) - GetGenesis(context.Context, *empty.Empty) (*Genesis, error) - GetVersion(context.Context, *empty.Empty) (*Version, error) - ListImplementedServices(context.Context, *empty.Empty) (*ImplementedServices, error) - GetHost(context.Context, *empty.Empty) (*HostData, error) - GetPeer(context.Context, *PeerRequest) (*Peer, error) - ListPeers(context.Context, *empty.Empty) (*Peers, error) -} - -// UnimplementedNodeServer can be embedded to have forward compatible implementations. -type UnimplementedNodeServer struct { -} - -func (*UnimplementedNodeServer) GetSyncStatus(context.Context, *empty.Empty) (*SyncStatus, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetSyncStatus not implemented") -} -func (*UnimplementedNodeServer) GetGenesis(context.Context, *empty.Empty) (*Genesis, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetGenesis not implemented") -} -func (*UnimplementedNodeServer) GetVersion(context.Context, *empty.Empty) (*Version, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetVersion not implemented") -} -func (*UnimplementedNodeServer) ListImplementedServices(context.Context, *empty.Empty) (*ImplementedServices, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListImplementedServices not implemented") -} -func (*UnimplementedNodeServer) GetHost(context.Context, *empty.Empty) (*HostData, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetHost not implemented") -} -func (*UnimplementedNodeServer) GetPeer(context.Context, *PeerRequest) (*Peer, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetPeer not implemented") -} -func (*UnimplementedNodeServer) ListPeers(context.Context, *empty.Empty) (*Peers, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListPeers not implemented") -} - -func RegisterNodeServer(s *grpc.Server, srv NodeServer) { - s.RegisterService(&_Node_serviceDesc, srv) -} - -func _Node_GetSyncStatus_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(empty.Empty) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(NodeServer).GetSyncStatus(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/ethereum.eth.v1alpha1.Node/GetSyncStatus", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(NodeServer).GetSyncStatus(ctx, req.(*empty.Empty)) - } - return interceptor(ctx, in, info, handler) -} - -func _Node_GetGenesis_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(empty.Empty) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(NodeServer).GetGenesis(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/ethereum.eth.v1alpha1.Node/GetGenesis", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(NodeServer).GetGenesis(ctx, req.(*empty.Empty)) - } - return interceptor(ctx, in, info, handler) -} - -func _Node_GetVersion_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(empty.Empty) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(NodeServer).GetVersion(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/ethereum.eth.v1alpha1.Node/GetVersion", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(NodeServer).GetVersion(ctx, req.(*empty.Empty)) - } - return interceptor(ctx, in, info, handler) -} - -func _Node_ListImplementedServices_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(empty.Empty) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(NodeServer).ListImplementedServices(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/ethereum.eth.v1alpha1.Node/ListImplementedServices", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(NodeServer).ListImplementedServices(ctx, req.(*empty.Empty)) - } - return interceptor(ctx, in, info, handler) -} - -func _Node_GetHost_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(empty.Empty) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(NodeServer).GetHost(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/ethereum.eth.v1alpha1.Node/GetHost", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(NodeServer).GetHost(ctx, req.(*empty.Empty)) - } - return interceptor(ctx, in, info, handler) -} - -func _Node_GetPeer_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(PeerRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(NodeServer).GetPeer(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/ethereum.eth.v1alpha1.Node/GetPeer", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(NodeServer).GetPeer(ctx, req.(*PeerRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Node_ListPeers_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(empty.Empty) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(NodeServer).ListPeers(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/ethereum.eth.v1alpha1.Node/ListPeers", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(NodeServer).ListPeers(ctx, req.(*empty.Empty)) - } - return interceptor(ctx, in, info, handler) -} - -var _Node_serviceDesc = grpc.ServiceDesc{ - ServiceName: "ethereum.eth.v1alpha1.Node", - HandlerType: (*NodeServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "GetSyncStatus", - Handler: _Node_GetSyncStatus_Handler, - }, - { - MethodName: "GetGenesis", - Handler: _Node_GetGenesis_Handler, - }, - { - MethodName: "GetVersion", - Handler: _Node_GetVersion_Handler, - }, - { - MethodName: "ListImplementedServices", - Handler: _Node_ListImplementedServices_Handler, - }, - { - MethodName: "GetHost", - Handler: _Node_GetHost_Handler, - }, - { - MethodName: "GetPeer", - Handler: _Node_GetPeer_Handler, - }, - { - MethodName: "ListPeers", - Handler: _Node_ListPeers_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "eth/v1alpha1/node.proto", -} diff --git a/eth/v1alpha1_gateway/swagger_generated.pb.go b/eth/v1alpha1_gateway/swagger_generated.pb.go deleted file mode 100755 index 08e2e6ff..00000000 --- a/eth/v1alpha1_gateway/swagger_generated.pb.go +++ /dev/null @@ -1,317 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.22.0 -// protoc v3.11.4 -// source: eth/v1alpha1/swagger_generated.proto - -package eth - -import ( - reflect "reflect" - - proto "github.com/golang/protobuf/proto" - _ "github.com/grpc-ecosystem/grpc-gateway/protoc-gen-swagger/options" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" -) - -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 that a sufficiently up-to-date version -// of the legacy proto package is being used. -const _ = proto.ProtoPackageIsVersion4 - -var File_eth_v1alpha1_swagger_generated_proto protoreflect.FileDescriptor - -var file_eth_v1alpha1_swagger_generated_proto_rawDesc = []byte{ - 0x0a, 0x24, 0x65, 0x74, 0x68, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2f, 0x73, - 0x77, 0x61, 0x67, 0x67, 0x65, 0x72, 0x5f, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x64, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x15, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, - 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x1a, 0x2c, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x2d, 0x67, 0x65, 0x6e, 0x2d, 0x73, 0x77, 0x61, 0x67, 0x67, 0x65, - 0x72, 0x2f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x42, 0xc8, 0x1e, 0x5a, 0x36, - 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x72, 0x79, 0x73, 0x6d, - 0x61, 0x74, 0x69, 0x63, 0x6c, 0x61, 0x62, 0x73, 0x2f, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, - 0x6d, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x65, 0x74, 0x68, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, - 0x61, 0x31, 0x3b, 0x65, 0x74, 0x68, 0x92, 0x41, 0x8c, 0x1e, 0x12, 0x92, 0x1c, 0x0a, 0x16, 0x45, - 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x20, 0x53, 0x65, 0x72, 0x65, 0x6e, 0x69, 0x74, 0x79, - 0x20, 0x41, 0x50, 0x49, 0x73, 0x12, 0xa4, 0x1b, 0x5b, 0x21, 0x5b, 0x42, 0x75, 0x69, 0x6c, 0x64, - 0x20, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x5d, 0x28, 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f, - 0x2f, 0x62, 0x61, 0x64, 0x67, 0x65, 0x2e, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x6b, 0x69, 0x74, 0x65, - 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x36, 0x32, 0x62, 0x65, 0x30, 0x38, 0x30, 0x39, 0x39, 0x65, 0x39, - 0x65, 0x32, 0x32, 0x38, 0x62, 0x31, 0x36, 0x35, 0x63, 0x32, 0x64, 0x62, 0x61, 0x36, 0x39, 0x63, - 0x36, 0x33, 0x37, 0x65, 0x62, 0x39, 0x63, 0x61, 0x37, 0x61, 0x31, 0x63, 0x61, 0x39, 0x35, 0x65, - 0x66, 0x64, 0x35, 0x34, 0x62, 0x39, 0x66, 0x2e, 0x73, 0x76, 0x67, 0x3f, 0x62, 0x72, 0x61, 0x6e, - 0x63, 0x68, 0x3d, 0x6d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x29, 0x5d, 0x28, 0x68, 0x74, 0x74, 0x70, - 0x73, 0x3a, 0x2f, 0x2f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x6b, 0x69, 0x74, 0x65, 0x2e, 0x63, 0x6f, - 0x6d, 0x2f, 0x70, 0x72, 0x79, 0x73, 0x6d, 0x61, 0x74, 0x69, 0x63, 0x2d, 0x6c, 0x61, 0x62, 0x73, - 0x2f, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2d, 0x61, 0x70, 0x69, 0x73, 0x29, 0x5b, - 0x21, 0x5b, 0x44, 0x69, 0x73, 0x63, 0x6f, 0x72, 0x64, 0x5d, 0x28, 0x68, 0x74, 0x74, 0x70, 0x73, - 0x3a, 0x2f, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x2d, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x73, 0x2e, 0x67, - 0x69, 0x74, 0x68, 0x75, 0x62, 0x75, 0x73, 0x65, 0x72, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, - 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x37, 0x32, 0x38, 0x38, 0x33, 0x32, 0x32, 0x2f, 0x33, 0x34, 0x34, - 0x37, 0x31, 0x39, 0x36, 0x37, 0x2d, 0x31, 0x64, 0x66, 0x37, 0x38, 0x30, 0x38, 0x61, 0x2d, 0x65, - 0x66, 0x62, 0x62, 0x2d, 0x31, 0x31, 0x65, 0x37, 0x2d, 0x39, 0x30, 0x38, 0x38, 0x2d, 0x65, 0x64, - 0x30, 0x62, 0x30, 0x34, 0x31, 0x35, 0x31, 0x32, 0x39, 0x31, 0x2e, 0x70, 0x6e, 0x67, 0x29, 0x5d, - 0x28, 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f, 0x2f, 0x64, 0x69, 0x73, 0x63, 0x6f, 0x72, 0x64, - 0x2e, 0x67, 0x67, 0x2f, 0x4b, 0x53, 0x41, 0x37, 0x72, 0x50, 0x72, 0x29, 0x5b, 0x21, 0x5b, 0x47, - 0x69, 0x74, 0x74, 0x65, 0x72, 0x5d, 0x28, 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f, 0x2f, 0x62, - 0x61, 0x64, 0x67, 0x65, 0x73, 0x2e, 0x67, 0x69, 0x74, 0x74, 0x65, 0x72, 0x2e, 0x69, 0x6d, 0x2f, - 0x4a, 0x6f, 0x69, 0x6e, 0x25, 0x32, 0x30, 0x43, 0x68, 0x61, 0x74, 0x2e, 0x73, 0x76, 0x67, 0x29, - 0x5d, 0x28, 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f, 0x2f, 0x67, 0x69, 0x74, 0x74, 0x65, 0x72, - 0x2e, 0x69, 0x6d, 0x2f, 0x70, 0x72, 0x79, 0x73, 0x6d, 0x61, 0x74, 0x69, 0x63, 0x6c, 0x61, 0x62, - 0x73, 0x2f, 0x67, 0x65, 0x74, 0x68, 0x2d, 0x73, 0x68, 0x61, 0x72, 0x64, 0x69, 0x6e, 0x67, 0x3f, - 0x75, 0x74, 0x6d, 0x5f, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x3d, 0x62, 0x61, 0x64, 0x67, 0x65, - 0x26, 0x75, 0x74, 0x6d, 0x5f, 0x6d, 0x65, 0x64, 0x69, 0x75, 0x6d, 0x3d, 0x62, 0x61, 0x64, 0x67, - 0x65, 0x26, 0x75, 0x74, 0x6d, 0x5f, 0x63, 0x61, 0x6d, 0x70, 0x61, 0x69, 0x67, 0x6e, 0x3d, 0x70, - 0x72, 0x2d, 0x62, 0x61, 0x64, 0x67, 0x65, 0x29, 0x5b, 0x21, 0x5b, 0x45, 0x54, 0x48, 0x32, 0x2e, - 0x30, 0x5f, 0x53, 0x70, 0x65, 0x63, 0x5f, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x20, 0x30, - 0x2e, 0x31, 0x32, 0x2e, 0x31, 0x5d, 0x28, 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f, 0x2f, 0x69, - 0x6d, 0x67, 0x2e, 0x73, 0x68, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x2e, 0x69, 0x6f, 0x2f, 0x62, 0x61, - 0x64, 0x67, 0x65, 0x2f, 0x45, 0x54, 0x48, 0x32, 0x2e, 0x30, 0x25, 0x32, 0x30, 0x53, 0x70, 0x65, - 0x63, 0x25, 0x32, 0x30, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x2d, 0x76, 0x30, 0x2e, 0x31, - 0x32, 0x2e, 0x31, 0x2d, 0x62, 0x6c, 0x75, 0x65, 0x2e, 0x73, 0x76, 0x67, 0x29, 0x5d, 0x28, 0x68, - 0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f, 0x2f, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, - 0x6d, 0x2f, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2f, 0x65, 0x74, 0x68, 0x32, 0x2e, - 0x30, 0x2d, 0x73, 0x70, 0x65, 0x63, 0x73, 0x2f, 0x74, 0x72, 0x65, 0x65, 0x2f, 0x76, 0x30, 0x2e, - 0x31, 0x32, 0x2e, 0x31, 0x29, 0x0a, 0x0a, 0x54, 0x68, 0x69, 0x73, 0x20, 0x73, 0x77, 0x61, 0x67, - 0x67, 0x65, 0x72, 0x20, 0x73, 0x69, 0x74, 0x65, 0x20, 0x68, 0x6f, 0x73, 0x74, 0x73, 0x20, 0x74, - 0x68, 0x65, 0x20, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x20, 0x69, 0x6e, 0x74, 0x65, 0x72, - 0x66, 0x61, 0x63, 0x65, 0x20, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, - 0x20, 0x66, 0x6f, 0x72, 0x20, 0x74, 0x68, 0x65, 0x20, 0x45, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, - 0x6d, 0x20, 0x53, 0x65, 0x72, 0x65, 0x6e, 0x69, 0x74, 0x79, 0x20, 0x4a, 0x53, 0x4f, 0x4e, 0x20, - 0x41, 0x50, 0x49, 0x2e, 0x0a, 0x0a, 0x23, 0x23, 0x20, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, - 0x20, 0x4f, 0x76, 0x65, 0x72, 0x76, 0x69, 0x65, 0x77, 0x0a, 0x0a, 0x41, 0x74, 0x20, 0x74, 0x68, - 0x65, 0x20, 0x63, 0x6f, 0x72, 0x65, 0x20, 0x6f, 0x66, 0x20, 0x45, 0x74, 0x68, 0x65, 0x72, 0x65, - 0x75, 0x6d, 0x20, 0x53, 0x65, 0x72, 0x65, 0x6e, 0x69, 0x74, 0x79, 0x20, 0x6c, 0x69, 0x65, 0x73, - 0x20, 0x74, 0x68, 0x65, 0x20, 0x22, 0x42, 0x65, 0x61, 0x63, 0x6f, 0x6e, 0x20, 0x43, 0x68, 0x61, - 0x69, 0x6e, 0x22, 0x2c, 0x20, 0x61, 0x20, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x2d, 0x6f, 0x66, 0x2d, - 0x73, 0x74, 0x61, 0x6b, 0x65, 0x20, 0x62, 0x61, 0x73, 0x65, 0x64, 0x20, 0x62, 0x6c, 0x6f, 0x63, - 0x6b, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x20, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x20, - 0x61, 0x20, 0x73, 0x65, 0x74, 0x20, 0x6f, 0x66, 0x20, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, - 0x6f, 0x72, 0x73, 0x20, 0x61, 0x6e, 0x64, 0x20, 0x22, 0x73, 0x68, 0x61, 0x72, 0x64, 0x73, 0x22, - 0x20, 0x61, 0x63, 0x72, 0x6f, 0x73, 0x73, 0x20, 0x61, 0x20, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, - 0x6b, 0x2c, 0x20, 0x77, 0x68, 0x69, 0x63, 0x68, 0x20, 0x61, 0x72, 0x65, 0x20, 0x73, 0x74, 0x61, - 0x74, 0x65, 0x66, 0x75, 0x6c, 0x2c, 0x20, 0x73, 0x6d, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x20, 0x62, - 0x6c, 0x6f, 0x63, 0x6b, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x73, 0x20, 0x75, 0x73, 0x65, 0x64, 0x20, - 0x66, 0x6f, 0x72, 0x20, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x20, - 0x61, 0x6e, 0x64, 0x20, 0x73, 0x6d, 0x61, 0x72, 0x74, 0x20, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, - 0x63, 0x74, 0x20, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x20, 0x54, 0x68, - 0x65, 0x20, 0x42, 0x65, 0x61, 0x63, 0x6f, 0x6e, 0x20, 0x43, 0x68, 0x61, 0x69, 0x6e, 0x20, 0x72, - 0x65, 0x63, 0x6f, 0x6e, 0x63, 0x69, 0x6c, 0x65, 0x73, 0x20, 0x63, 0x6f, 0x6e, 0x73, 0x65, 0x6e, - 0x73, 0x75, 0x73, 0x20, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x20, 0x61, 0x63, 0x72, 0x6f, - 0x73, 0x73, 0x20, 0x73, 0x68, 0x61, 0x72, 0x64, 0x73, 0x20, 0x74, 0x6f, 0x20, 0x70, 0x72, 0x6f, - 0x76, 0x69, 0x64, 0x65, 0x20, 0x74, 0x68, 0x65, 0x20, 0x62, 0x61, 0x63, 0x6b, 0x62, 0x6f, 0x6e, - 0x65, 0x20, 0x6f, 0x66, 0x20, 0x45, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x20, 0x53, 0x65, - 0x72, 0x65, 0x6e, 0x69, 0x74, 0x79, 0x2e, 0x20, 0x54, 0x68, 0x65, 0x20, 0x73, 0x65, 0x72, 0x76, - 0x69, 0x63, 0x65, 0x73, 0x20, 0x62, 0x65, 0x6c, 0x6f, 0x77, 0x20, 0x61, 0x6c, 0x6c, 0x6f, 0x77, - 0x20, 0x66, 0x6f, 0x72, 0x20, 0x72, 0x65, 0x74, 0x72, 0x69, 0x65, 0x76, 0x61, 0x6c, 0x20, 0x6f, - 0x66, 0x20, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x20, 0x61, 0x6e, 0x64, 0x20, 0x68, 0x69, - 0x73, 0x74, 0x6f, 0x72, 0x69, 0x63, 0x61, 0x6c, 0x20, 0x69, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x20, 0x72, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x6e, 0x67, 0x20, 0x74, 0x6f, - 0x20, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x73, 0x2c, 0x20, 0x63, 0x6f, 0x6e, - 0x73, 0x65, 0x6e, 0x73, 0x75, 0x73, 0x2c, 0x20, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x73, 0x2c, 0x20, - 0x61, 0x6e, 0x64, 0x20, 0x73, 0x74, 0x61, 0x6b, 0x69, 0x6e, 0x67, 0x20, 0x70, 0x61, 0x72, 0x74, - 0x69, 0x63, 0x69, 0x70, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x0a, 0x0a, 0x7c, 0x20, 0x50, 0x61, - 0x63, 0x6b, 0x61, 0x67, 0x65, 0x20, 0x7c, 0x20, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x20, - 0x7c, 0x20, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x20, 0x7c, 0x20, 0x44, 0x65, 0x73, 0x63, - 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x20, 0x7c, 0x0a, 0x7c, 0x2d, 0x2d, 0x2d, 0x2d, 0x2d, - 0x2d, 0x2d, 0x2d, 0x2d, 0x7c, 0x2d, 0x2d, 0x2d, 0x2d, 0x2d, 0x2d, 0x2d, 0x2d, 0x2d, 0x7c, 0x2d, - 0x2d, 0x2d, 0x2d, 0x2d, 0x2d, 0x2d, 0x2d, 0x2d, 0x7c, 0x2d, 0x2d, 0x2d, 0x2d, 0x2d, 0x2d, 0x2d, - 0x2d, 0x2d, 0x2d, 0x2d, 0x2d, 0x2d, 0x7c, 0x0a, 0x7c, 0x20, 0x65, 0x74, 0x68, 0x20, 0x7c, 0x20, - 0x42, 0x65, 0x61, 0x63, 0x6f, 0x6e, 0x43, 0x68, 0x61, 0x69, 0x6e, 0x20, 0x7c, 0x20, 0x76, 0x31, - 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x20, 0x7c, 0x20, 0x54, 0x68, 0x69, 0x73, 0x20, 0x73, 0x65, - 0x72, 0x76, 0x69, 0x63, 0x65, 0x20, 0x69, 0x73, 0x20, 0x75, 0x73, 0x65, 0x64, 0x20, 0x74, 0x6f, - 0x20, 0x72, 0x65, 0x74, 0x72, 0x69, 0x65, 0x76, 0x65, 0x20, 0x63, 0x72, 0x69, 0x74, 0x69, 0x63, - 0x61, 0x6c, 0x20, 0x64, 0x61, 0x74, 0x61, 0x20, 0x72, 0x65, 0x6c, 0x65, 0x76, 0x61, 0x6e, 0x74, - 0x20, 0x74, 0x6f, 0x20, 0x74, 0x68, 0x65, 0x20, 0x45, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, - 0x20, 0x32, 0x2e, 0x30, 0x20, 0x70, 0x68, 0x61, 0x73, 0x65, 0x20, 0x30, 0x20, 0x62, 0x65, 0x61, - 0x63, 0x6f, 0x6e, 0x20, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2c, 0x20, 0x69, 0x6e, 0x63, 0x6c, 0x75, - 0x64, 0x69, 0x6e, 0x67, 0x20, 0x74, 0x68, 0x65, 0x20, 0x6d, 0x6f, 0x73, 0x74, 0x20, 0x72, 0x65, - 0x63, 0x65, 0x6e, 0x74, 0x20, 0x68, 0x65, 0x61, 0x64, 0x20, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x2c, - 0x20, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x20, 0x70, 0x65, 0x6e, 0x64, 0x69, 0x6e, 0x67, - 0x20, 0x64, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x73, 0x2c, 0x20, 0x74, 0x68, 0x65, 0x20, 0x63, - 0x68, 0x61, 0x69, 0x6e, 0x20, 0x73, 0x74, 0x61, 0x74, 0x65, 0x20, 0x61, 0x6e, 0x64, 0x20, 0x6d, - 0x6f, 0x72, 0x65, 0x2e, 0x20, 0x7c, 0x0a, 0x7c, 0x20, 0x65, 0x74, 0x68, 0x20, 0x7c, 0x20, 0x4e, - 0x6f, 0x64, 0x65, 0x20, 0x7c, 0x20, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x20, 0x7c, - 0x20, 0x54, 0x68, 0x65, 0x20, 0x4e, 0x6f, 0x64, 0x65, 0x20, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, - 0x65, 0x20, 0x72, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x73, 0x20, 0x69, 0x6e, 0x66, 0x6f, 0x72, 0x6d, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x20, 0x61, 0x62, 0x6f, 0x75, 0x74, 0x20, 0x74, 0x68, 0x65, 0x20, - 0x45, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x20, 0x6e, 0x6f, 0x64, 0x65, 0x20, 0x69, 0x74, - 0x73, 0x65, 0x6c, 0x66, 0x2c, 0x20, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x69, 0x6e, 0x67, 0x20, - 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x69, 0x6e, 0x67, 0x20, 0x61, 0x6e, 0x64, 0x20, 0x67, - 0x65, 0x6e, 0x65, 0x72, 0x61, 0x6c, 0x20, 0x69, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x20, 0x61, 0x73, 0x20, 0x77, 0x65, 0x6c, 0x6c, 0x20, 0x61, 0x73, 0x20, 0x6e, 0x65, - 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x20, 0x73, 0x79, 0x6e, 0x63, 0x20, 0x73, 0x74, 0x61, 0x74, 0x75, - 0x73, 0x20, 0x61, 0x6e, 0x64, 0x20, 0x61, 0x20, 0x6c, 0x69, 0x73, 0x74, 0x20, 0x6f, 0x66, 0x20, - 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x20, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, - 0x6c, 0x79, 0x20, 0x69, 0x6d, 0x70, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x65, 0x64, 0x20, 0x6f, - 0x6e, 0x20, 0x74, 0x68, 0x65, 0x20, 0x6e, 0x6f, 0x64, 0x65, 0x2e, 0x0a, 0x7c, 0x20, 0x65, 0x74, - 0x68, 0x20, 0x7c, 0x20, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x20, 0x7c, 0x20, - 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x20, 0x7c, 0x20, 0x54, 0x68, 0x69, 0x73, 0x20, - 0x41, 0x50, 0x49, 0x20, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x73, 0x20, 0x74, 0x68, 0x65, - 0x20, 0x69, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x20, 0x61, 0x20, 0x76, - 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x20, 0x6e, 0x65, 0x65, 0x64, 0x73, 0x20, 0x74, - 0x6f, 0x20, 0x72, 0x65, 0x74, 0x72, 0x69, 0x65, 0x76, 0x65, 0x20, 0x74, 0x68, 0x72, 0x6f, 0x75, - 0x67, 0x68, 0x6f, 0x75, 0x74, 0x20, 0x69, 0x74, 0x73, 0x20, 0x6c, 0x69, 0x66, 0x65, 0x63, 0x79, - 0x63, 0x6c, 0x65, 0x2c, 0x20, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x69, 0x6e, 0x67, 0x20, 0x72, - 0x65, 0x63, 0x69, 0x65, 0x76, 0x65, 0x64, 0x20, 0x61, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65, - 0x6e, 0x74, 0x73, 0x20, 0x66, 0x72, 0x6f, 0x6d, 0x20, 0x74, 0x68, 0x65, 0x20, 0x6e, 0x65, 0x74, - 0x77, 0x6f, 0x72, 0x6b, 0x2c, 0x20, 0x69, 0x74, 0x73, 0x20, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, - 0x74, 0x20, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x20, 0x69, 0x6e, 0x20, 0x74, 0x68, 0x65, 0x20, 0x73, - 0x74, 0x61, 0x74, 0x65, 0x2c, 0x20, 0x61, 0x73, 0x20, 0x77, 0x65, 0x6c, 0x6c, 0x20, 0x74, 0x68, - 0x65, 0x20, 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, 0x73, 0x20, 0x61, 0x6e, 0x64, 0x20, 0x70, 0x65, - 0x6e, 0x61, 0x6c, 0x74, 0x69, 0x65, 0x73, 0x20, 0x74, 0x68, 0x61, 0x74, 0x20, 0x68, 0x61, 0x76, - 0x65, 0x20, 0x62, 0x65, 0x65, 0x6e, 0x20, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x65, 0x64, 0x20, 0x74, - 0x6f, 0x20, 0x69, 0x74, 0x2e, 0x0a, 0x0a, 0x23, 0x23, 0x23, 0x20, 0x4a, 0x53, 0x4f, 0x4e, 0x20, - 0x4d, 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x0a, 0x0a, 0x54, 0x68, 0x65, 0x20, 0x6d, 0x61, 0x6a, - 0x6f, 0x72, 0x69, 0x74, 0x79, 0x20, 0x6f, 0x66, 0x20, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x20, 0x70, - 0x72, 0x69, 0x6d, 0x69, 0x74, 0x69, 0x76, 0x65, 0x20, 0x74, 0x79, 0x70, 0x65, 0x73, 0x20, 0x66, - 0x6f, 0x72, 0x20, 0x45, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x20, 0x61, 0x72, 0x65, 0x20, - 0x65, 0x69, 0x74, 0x68, 0x65, 0x72, 0x20, 0x60, 0x62, 0x79, 0x74, 0x65, 0x73, 0x60, 0x20, 0x6f, - 0x72, 0x20, 0x60, 0x75, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x60, 0x2e, 0x20, 0x54, 0x68, 0x65, 0x20, - 0x63, 0x61, 0x6e, 0x6f, 0x6e, 0x69, 0x63, 0x61, 0x6c, 0x20, 0x4a, 0x53, 0x4f, 0x4e, 0x20, 0x6d, - 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x20, 0x66, 0x6f, 0x72, 0x20, 0x74, 0x68, 0x6f, 0x73, 0x65, - 0x20, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x20, 0x61, 0x72, 0x65, 0x20, 0x61, 0x20, 0x42, 0x61, - 0x73, 0x65, 0x36, 0x34, 0x20, 0x65, 0x6e, 0x63, 0x6f, 0x64, 0x65, 0x64, 0x20, 0x73, 0x74, 0x72, - 0x69, 0x6e, 0x67, 0x20, 0x66, 0x6f, 0x72, 0x20, 0x60, 0x62, 0x79, 0x74, 0x65, 0x73, 0x60, 0x2c, - 0x20, 0x6f, 0x72, 0x20, 0x61, 0x20, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x20, 0x72, 0x65, 0x70, - 0x72, 0x65, 0x73, 0x65, 0x6e, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x20, 0x6f, 0x66, 0x20, 0x60, - 0x75, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x60, 0x2e, 0x20, 0x53, 0x69, 0x6e, 0x63, 0x65, 0x20, 0x4a, - 0x61, 0x76, 0x61, 0x53, 0x63, 0x72, 0x69, 0x70, 0x74, 0x20, 0x6c, 0x6f, 0x73, 0x65, 0x73, 0x20, - 0x70, 0x72, 0x65, 0x63, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x20, 0x66, 0x6f, 0x72, 0x20, 0x76, 0x61, - 0x6c, 0x75, 0x65, 0x73, 0x20, 0x6f, 0x76, 0x65, 0x72, 0x20, 0x5b, 0x4d, 0x41, 0x58, 0x5f, 0x53, - 0x41, 0x46, 0x45, 0x5f, 0x49, 0x4e, 0x54, 0x45, 0x47, 0x45, 0x52, 0x5d, 0x28, 0x68, 0x74, 0x74, - 0x70, 0x73, 0x3a, 0x2f, 0x2f, 0x64, 0x65, 0x76, 0x65, 0x6c, 0x6f, 0x70, 0x65, 0x72, 0x2e, 0x6d, - 0x6f, 0x7a, 0x69, 0x6c, 0x6c, 0x61, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x65, 0x6e, 0x2d, 0x55, 0x53, - 0x2f, 0x64, 0x6f, 0x63, 0x73, 0x2f, 0x57, 0x65, 0x62, 0x2f, 0x4a, 0x61, 0x76, 0x61, 0x53, 0x63, - 0x72, 0x69, 0x70, 0x74, 0x2f, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x2f, 0x47, - 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x5f, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x4e, 0x75, - 0x6d, 0x62, 0x65, 0x72, 0x2f, 0x4d, 0x41, 0x58, 0x5f, 0x53, 0x41, 0x46, 0x45, 0x5f, 0x49, 0x4e, - 0x54, 0x45, 0x47, 0x45, 0x52, 0x29, 0x2c, 0x20, 0x75, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x20, 0x6d, - 0x75, 0x73, 0x74, 0x20, 0x62, 0x65, 0x20, 0x61, 0x20, 0x4a, 0x53, 0x4f, 0x4e, 0x20, 0x73, 0x74, - 0x72, 0x69, 0x6e, 0x67, 0x20, 0x69, 0x6e, 0x20, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x20, 0x74, 0x6f, - 0x20, 0x61, 0x63, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x64, 0x61, 0x74, 0x65, 0x20, 0x74, 0x68, 0x6f, - 0x73, 0x65, 0x20, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x2e, 0x20, 0x49, 0x66, 0x20, 0x74, 0x68, - 0x65, 0x20, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x20, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x20, 0x6e, 0x6f, - 0x74, 0x20, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x20, 0x61, 0x6e, 0x64, 0x20, 0x69, 0x73, - 0x20, 0x73, 0x74, 0x69, 0x6c, 0x6c, 0x20, 0x73, 0x65, 0x74, 0x20, 0x74, 0x6f, 0x20, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x27, 0x73, 0x20, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, - 0x2c, 0x20, 0x74, 0x68, 0x69, 0x73, 0x20, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x20, 0x77, 0x69, 0x6c, - 0x6c, 0x20, 0x62, 0x65, 0x20, 0x6f, 0x6d, 0x69, 0x74, 0x74, 0x65, 0x64, 0x20, 0x66, 0x72, 0x6f, - 0x6d, 0x20, 0x74, 0x68, 0x65, 0x20, 0x4a, 0x53, 0x4f, 0x4e, 0x20, 0x65, 0x6e, 0x63, 0x6f, 0x64, - 0x69, 0x6e, 0x67, 0x20, 0x65, 0x6e, 0x74, 0x69, 0x72, 0x65, 0x6c, 0x79, 0x2e, 0x0a, 0x0a, 0x46, - 0x6f, 0x72, 0x20, 0x6d, 0x6f, 0x72, 0x65, 0x20, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x20, - 0x6f, 0x6e, 0x20, 0x4a, 0x53, 0x4f, 0x4e, 0x20, 0x6d, 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x20, - 0x66, 0x6f, 0x72, 0x20, 0x6f, 0x74, 0x68, 0x65, 0x72, 0x20, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2c, - 0x20, 0x76, 0x69, 0x65, 0x77, 0x20, 0x74, 0x68, 0x65, 0x20, 0x72, 0x65, 0x6c, 0x65, 0x76, 0x61, - 0x6e, 0x74, 0x20, 0x73, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x20, 0x69, 0x6e, 0x20, 0x74, 0x68, - 0x65, 0x20, 0x5b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 0x20, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, - 0x67, 0x65, 0x20, 0x67, 0x75, 0x69, 0x64, 0x65, 0x5d, 0x28, 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, - 0x2f, 0x2f, 0x64, 0x65, 0x76, 0x65, 0x6c, 0x6f, 0x70, 0x65, 0x72, 0x73, 0x2e, 0x67, 0x6f, 0x6f, - 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, - 0x2d, 0x62, 0x75, 0x66, 0x66, 0x65, 0x72, 0x73, 0x2f, 0x64, 0x6f, 0x63, 0x73, 0x2f, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x33, 0x23, 0x6a, 0x73, 0x6f, 0x6e, 0x29, 0x2e, 0x0a, 0x0a, 0x23, 0x23, 0x23, - 0x20, 0x48, 0x65, 0x6c, 0x70, 0x66, 0x75, 0x6c, 0x20, 0x67, 0x52, 0x50, 0x43, 0x20, 0x54, 0x6f, - 0x6f, 0x6c, 0x69, 0x6e, 0x67, 0x20, 0x61, 0x6e, 0x64, 0x20, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, - 0x63, 0x65, 0x73, 0x0a, 0x0a, 0x2d, 0x20, 0x5b, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x27, 0x73, - 0x20, 0x41, 0x50, 0x49, 0x20, 0x53, 0x74, 0x79, 0x6c, 0x65, 0x20, 0x47, 0x75, 0x69, 0x64, 0x65, - 0x5d, 0x28, 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, - 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x70, 0x69, 0x73, 0x2f, - 0x64, 0x65, 0x73, 0x69, 0x67, 0x6e, 0x2f, 0x29, 0x0a, 0x2d, 0x20, 0x5b, 0x4c, 0x61, 0x6e, 0x67, - 0x75, 0x61, 0x67, 0x65, 0x20, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x20, 0x66, - 0x6f, 0x72, 0x20, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x33, 0x5d, 0x28, 0x68, 0x74, 0x74, 0x70, - 0x73, 0x3a, 0x2f, 0x2f, 0x64, 0x65, 0x76, 0x65, 0x6c, 0x6f, 0x70, 0x65, 0x72, 0x73, 0x2e, 0x67, - 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, - 0x6f, 0x6c, 0x2d, 0x62, 0x75, 0x66, 0x66, 0x65, 0x72, 0x73, 0x2f, 0x64, 0x6f, 0x63, 0x73, 0x2f, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 0x29, 0x0a, 0x2d, 0x20, 0x5b, 0x41, 0x77, 0x65, 0x73, 0x6f, - 0x6d, 0x65, 0x20, 0x67, 0x52, 0x50, 0x43, 0x5d, 0x28, 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f, - 0x2f, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x72, 0x70, 0x63, - 0x2d, 0x65, 0x63, 0x6f, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x2f, 0x61, 0x77, 0x65, 0x73, 0x6f, - 0x6d, 0x65, 0x2d, 0x67, 0x72, 0x70, 0x63, 0x29, 0x0a, 0x2d, 0x20, 0x5b, 0x50, 0x72, 0x6f, 0x74, - 0x6f, 0x63, 0x6f, 0x6c, 0x20, 0x42, 0x75, 0x66, 0x66, 0x65, 0x72, 0x20, 0x42, 0x61, 0x73, 0x69, - 0x63, 0x73, 0x3a, 0x20, 0x47, 0x6f, 0x5d, 0x28, 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f, 0x2f, - 0x64, 0x65, 0x76, 0x65, 0x6c, 0x6f, 0x70, 0x65, 0x72, 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, - 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2d, 0x62, - 0x75, 0x66, 0x66, 0x65, 0x72, 0x73, 0x2f, 0x64, 0x6f, 0x63, 0x73, 0x2f, 0x67, 0x6f, 0x74, 0x75, - 0x74, 0x6f, 0x72, 0x69, 0x61, 0x6c, 0x29, 0x0a, 0x2d, 0x20, 0x5b, 0x54, 0x72, 0x61, 0x6e, 0x73, - 0x63, 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x20, 0x67, 0x52, 0x50, 0x43, 0x20, 0x74, 0x6f, 0x20, 0x4a, - 0x53, 0x4f, 0x4e, 0x2f, 0x48, 0x54, 0x54, 0x50, 0x20, 0x75, 0x73, 0x69, 0x6e, 0x67, 0x20, 0x45, - 0x6e, 0x76, 0x6f, 0x79, 0x5d, 0x28, 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f, 0x2f, 0x62, 0x6c, - 0x6f, 0x67, 0x2e, 0x6a, 0x64, 0x72, 0x69, 0x76, 0x65, 0x6e, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x32, - 0x30, 0x31, 0x38, 0x2f, 0x31, 0x31, 0x2f, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x63, 0x6f, 0x64, 0x69, - 0x6e, 0x67, 0x2d, 0x67, 0x72, 0x70, 0x63, 0x2d, 0x74, 0x6f, 0x2d, 0x68, 0x74, 0x74, 0x70, 0x2d, - 0x6a, 0x73, 0x6f, 0x6e, 0x2d, 0x75, 0x73, 0x69, 0x6e, 0x67, 0x2d, 0x65, 0x6e, 0x76, 0x6f, 0x79, - 0x2f, 0x29, 0x0a, 0x0a, 0x0a, 0x23, 0x23, 0x20, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x69, 0x62, 0x75, - 0x74, 0x69, 0x6e, 0x67, 0x0a, 0x57, 0x65, 0x20, 0x68, 0x61, 0x76, 0x65, 0x20, 0x70, 0x75, 0x74, - 0x20, 0x61, 0x6c, 0x6c, 0x20, 0x6f, 0x66, 0x20, 0x6f, 0x75, 0x72, 0x20, 0x63, 0x6f, 0x6e, 0x74, - 0x72, 0x69, 0x62, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x20, 0x67, 0x75, 0x69, 0x64, 0x65, 0x6c, 0x69, - 0x6e, 0x65, 0x73, 0x20, 0x69, 0x6e, 0x74, 0x6f, 0x20, 0x5b, 0x43, 0x4f, 0x4e, 0x54, 0x52, 0x49, - 0x42, 0x55, 0x54, 0x49, 0x4e, 0x47, 0x2e, 0x6d, 0x64, 0x5d, 0x28, 0x68, 0x74, 0x74, 0x70, 0x73, - 0x3a, 0x2f, 0x2f, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x72, - 0x79, 0x73, 0x6d, 0x61, 0x74, 0x69, 0x63, 0x6c, 0x61, 0x62, 0x73, 0x2f, 0x70, 0x72, 0x79, 0x73, - 0x6d, 0x2f, 0x62, 0x6c, 0x6f, 0x62, 0x2f, 0x6d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x2f, 0x43, 0x4f, - 0x4e, 0x54, 0x52, 0x49, 0x42, 0x55, 0x54, 0x49, 0x4e, 0x47, 0x2e, 0x6d, 0x64, 0x29, 0x21, 0x20, - 0x43, 0x68, 0x65, 0x63, 0x6b, 0x20, 0x69, 0x74, 0x20, 0x6f, 0x75, 0x74, 0x20, 0x74, 0x6f, 0x20, - 0x67, 0x65, 0x74, 0x20, 0x73, 0x74, 0x61, 0x72, 0x74, 0x65, 0x64, 0x2e, 0x2a, 0x47, 0x0a, 0x19, - 0x4c, 0x69, 0x63, 0x65, 0x6e, 0x63, 0x65, 0x64, 0x20, 0x75, 0x6e, 0x64, 0x65, 0x72, 0x20, 0x41, - 0x70, 0x61, 0x63, 0x68, 0x65, 0x20, 0x32, 0x2e, 0x30, 0x12, 0x2a, 0x68, 0x74, 0x74, 0x70, 0x3a, - 0x2f, 0x2f, 0x77, 0x77, 0x77, 0x2e, 0x61, 0x70, 0x61, 0x63, 0x68, 0x65, 0x2e, 0x6f, 0x72, 0x67, - 0x2f, 0x6c, 0x69, 0x63, 0x65, 0x6e, 0x73, 0x65, 0x73, 0x2f, 0x4c, 0x49, 0x43, 0x45, 0x4e, 0x53, - 0x45, 0x2d, 0x32, 0x2e, 0x30, 0x32, 0x08, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x1a, - 0x0f, 0x61, 0x70, 0x69, 0x2e, 0x70, 0x72, 0x79, 0x6c, 0x61, 0x62, 0x73, 0x2e, 0x6e, 0x65, 0x74, - 0x2a, 0x02, 0x02, 0x04, 0x32, 0x10, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x2f, 0x6a, 0x73, 0x6f, 0x6e, 0x32, 0x19, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x2f, 0x67, 0x72, 0x70, 0x63, 0x2d, 0x77, 0x65, 0x62, 0x2d, 0x74, 0x65, 0x78, - 0x74, 0x32, 0x19, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x67, - 0x72, 0x70, 0x63, 0x2d, 0x77, 0x65, 0x62, 0x2d, 0x6a, 0x73, 0x6f, 0x6e, 0x3a, 0x10, 0x61, 0x70, - 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x6a, 0x73, 0x6f, 0x6e, 0x3a, 0x19, - 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x67, 0x72, 0x70, 0x63, - 0x2d, 0x77, 0x65, 0x62, 0x2d, 0x74, 0x65, 0x78, 0x74, 0x3a, 0x19, 0x61, 0x70, 0x70, 0x6c, 0x69, - 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x67, 0x72, 0x70, 0x63, 0x2d, 0x77, 0x65, 0x62, 0x2d, - 0x6a, 0x73, 0x6f, 0x6e, 0x72, 0x50, 0x0a, 0x24, 0x45, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, - 0x20, 0x32, 0x2e, 0x30, 0x20, 0x53, 0x70, 0x65, 0x63, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x20, 0x6f, 0x6e, 0x20, 0x47, 0x69, 0x74, 0x68, 0x75, 0x62, 0x12, 0x28, 0x68, 0x74, - 0x74, 0x70, 0x73, 0x3a, 0x2f, 0x2f, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, - 0x2f, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2f, 0x65, 0x74, 0x68, 0x32, 0x2e, 0x30, - 0x2d, 0x73, 0x70, 0x65, 0x63, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var file_eth_v1alpha1_swagger_generated_proto_goTypes = []interface{}{} -var file_eth_v1alpha1_swagger_generated_proto_depIdxs = []int32{ - 0, // [0:0] is the sub-list for method output_type - 0, // [0:0] is the sub-list for method input_type - 0, // [0:0] is the sub-list for extension type_name - 0, // [0:0] is the sub-list for extension extendee - 0, // [0:0] is the sub-list for field type_name -} - -func init() { file_eth_v1alpha1_swagger_generated_proto_init() } -func file_eth_v1alpha1_swagger_generated_proto_init() { - if File_eth_v1alpha1_swagger_generated_proto != nil { - return - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_eth_v1alpha1_swagger_generated_proto_rawDesc, - NumEnums: 0, - NumMessages: 0, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_eth_v1alpha1_swagger_generated_proto_goTypes, - DependencyIndexes: file_eth_v1alpha1_swagger_generated_proto_depIdxs, - }.Build() - File_eth_v1alpha1_swagger_generated_proto = out.File - file_eth_v1alpha1_swagger_generated_proto_rawDesc = nil - file_eth_v1alpha1_swagger_generated_proto_goTypes = nil - file_eth_v1alpha1_swagger_generated_proto_depIdxs = nil -} diff --git a/eth/v1alpha1_gateway/validator.pb.go b/eth/v1alpha1_gateway/validator.pb.go deleted file mode 100755 index 3e3412c2..00000000 --- a/eth/v1alpha1_gateway/validator.pb.go +++ /dev/null @@ -1,3646 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.22.0 -// protoc v3.11.4 -// source: eth/v1alpha1/validator.proto - -package eth - -import ( - context "context" - reflect "reflect" - sync "sync" - - _ "github.com/gogo/protobuf/gogoproto" - proto "github.com/golang/protobuf/proto" - empty "github.com/golang/protobuf/ptypes/empty" - _ "google.golang.org/genproto/googleapis/api/annotations" - 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" -) - -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 that a sufficiently up-to-date version -// of the legacy proto package is being used. -const _ = proto.ProtoPackageIsVersion4 - -type ValidatorStatus int32 - -const ( - ValidatorStatus_UNKNOWN_STATUS ValidatorStatus = 0 - ValidatorStatus_DEPOSITED ValidatorStatus = 1 - ValidatorStatus_PENDING ValidatorStatus = 2 - ValidatorStatus_ACTIVE ValidatorStatus = 3 - ValidatorStatus_EXITING ValidatorStatus = 4 - ValidatorStatus_SLASHING ValidatorStatus = 5 - ValidatorStatus_EXITED ValidatorStatus = 6 - ValidatorStatus_INVALID ValidatorStatus = 7 - ValidatorStatus_PARTIALLY_DEPOSITED ValidatorStatus = 8 -) - -// Enum value maps for ValidatorStatus. -var ( - ValidatorStatus_name = map[int32]string{ - 0: "UNKNOWN_STATUS", - 1: "DEPOSITED", - 2: "PENDING", - 3: "ACTIVE", - 4: "EXITING", - 5: "SLASHING", - 6: "EXITED", - 7: "INVALID", - 8: "PARTIALLY_DEPOSITED", - } - ValidatorStatus_value = map[string]int32{ - "UNKNOWN_STATUS": 0, - "DEPOSITED": 1, - "PENDING": 2, - "ACTIVE": 3, - "EXITING": 4, - "SLASHING": 5, - "EXITED": 6, - "INVALID": 7, - "PARTIALLY_DEPOSITED": 8, - } -) - -func (x ValidatorStatus) Enum() *ValidatorStatus { - p := new(ValidatorStatus) - *p = x - return p -} - -func (x ValidatorStatus) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (ValidatorStatus) Descriptor() protoreflect.EnumDescriptor { - return file_eth_v1alpha1_validator_proto_enumTypes[0].Descriptor() -} - -func (ValidatorStatus) Type() protoreflect.EnumType { - return &file_eth_v1alpha1_validator_proto_enumTypes[0] -} - -func (x ValidatorStatus) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use ValidatorStatus.Descriptor instead. -func (ValidatorStatus) EnumDescriptor() ([]byte, []int) { - return file_eth_v1alpha1_validator_proto_rawDescGZIP(), []int{0} -} - -type DomainRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Epoch uint64 `protobuf:"varint,1,opt,name=epoch,proto3" json:"epoch,omitempty"` - Domain []byte `protobuf:"bytes,2,opt,name=domain,proto3" json:"domain,omitempty"` -} - -func (x *DomainRequest) Reset() { - *x = DomainRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_eth_v1alpha1_validator_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *DomainRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DomainRequest) ProtoMessage() {} - -func (x *DomainRequest) ProtoReflect() protoreflect.Message { - mi := &file_eth_v1alpha1_validator_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 DomainRequest.ProtoReflect.Descriptor instead. -func (*DomainRequest) Descriptor() ([]byte, []int) { - return file_eth_v1alpha1_validator_proto_rawDescGZIP(), []int{0} -} - -func (x *DomainRequest) GetEpoch() uint64 { - if x != nil { - return x.Epoch - } - return 0 -} - -func (x *DomainRequest) GetDomain() []byte { - if x != nil { - return x.Domain - } - return nil -} - -type DomainResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - SignatureDomain []byte `protobuf:"bytes,1,opt,name=signature_domain,json=signatureDomain,proto3" json:"signature_domain,omitempty"` -} - -func (x *DomainResponse) Reset() { - *x = DomainResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_eth_v1alpha1_validator_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *DomainResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DomainResponse) ProtoMessage() {} - -func (x *DomainResponse) ProtoReflect() protoreflect.Message { - mi := &file_eth_v1alpha1_validator_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 DomainResponse.ProtoReflect.Descriptor instead. -func (*DomainResponse) Descriptor() ([]byte, []int) { - return file_eth_v1alpha1_validator_proto_rawDescGZIP(), []int{1} -} - -func (x *DomainResponse) GetSignatureDomain() []byte { - if x != nil { - return x.SignatureDomain - } - return nil -} - -type ValidatorActivationRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - PublicKeys [][]byte `protobuf:"bytes,1,rep,name=public_keys,json=publicKeys,proto3" json:"public_keys,omitempty"` -} - -func (x *ValidatorActivationRequest) Reset() { - *x = ValidatorActivationRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_eth_v1alpha1_validator_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ValidatorActivationRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ValidatorActivationRequest) ProtoMessage() {} - -func (x *ValidatorActivationRequest) ProtoReflect() protoreflect.Message { - mi := &file_eth_v1alpha1_validator_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 ValidatorActivationRequest.ProtoReflect.Descriptor instead. -func (*ValidatorActivationRequest) Descriptor() ([]byte, []int) { - return file_eth_v1alpha1_validator_proto_rawDescGZIP(), []int{2} -} - -func (x *ValidatorActivationRequest) GetPublicKeys() [][]byte { - if x != nil { - return x.PublicKeys - } - return nil -} - -type ValidatorActivationResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Statuses []*ValidatorActivationResponse_Status `protobuf:"bytes,1,rep,name=statuses,proto3" json:"statuses,omitempty"` -} - -func (x *ValidatorActivationResponse) Reset() { - *x = ValidatorActivationResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_eth_v1alpha1_validator_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ValidatorActivationResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ValidatorActivationResponse) ProtoMessage() {} - -func (x *ValidatorActivationResponse) ProtoReflect() protoreflect.Message { - mi := &file_eth_v1alpha1_validator_proto_msgTypes[3] - 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 ValidatorActivationResponse.ProtoReflect.Descriptor instead. -func (*ValidatorActivationResponse) Descriptor() ([]byte, []int) { - return file_eth_v1alpha1_validator_proto_rawDescGZIP(), []int{3} -} - -func (x *ValidatorActivationResponse) GetStatuses() []*ValidatorActivationResponse_Status { - if x != nil { - return x.Statuses - } - return nil -} - -type ChainStartResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Started bool `protobuf:"varint,1,opt,name=started,proto3" json:"started,omitempty"` - GenesisTime uint64 `protobuf:"varint,2,opt,name=genesis_time,json=genesisTime,proto3" json:"genesis_time,omitempty"` - GenesisValidatorsRoot []byte `protobuf:"bytes,3,opt,name=genesis_validators_root,json=genesisValidatorsRoot,proto3" json:"genesis_validators_root,omitempty"` -} - -func (x *ChainStartResponse) Reset() { - *x = ChainStartResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_eth_v1alpha1_validator_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ChainStartResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ChainStartResponse) ProtoMessage() {} - -func (x *ChainStartResponse) ProtoReflect() protoreflect.Message { - mi := &file_eth_v1alpha1_validator_proto_msgTypes[4] - 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 ChainStartResponse.ProtoReflect.Descriptor instead. -func (*ChainStartResponse) Descriptor() ([]byte, []int) { - return file_eth_v1alpha1_validator_proto_rawDescGZIP(), []int{4} -} - -func (x *ChainStartResponse) GetStarted() bool { - if x != nil { - return x.Started - } - return false -} - -func (x *ChainStartResponse) GetGenesisTime() uint64 { - if x != nil { - return x.GenesisTime - } - return 0 -} - -func (x *ChainStartResponse) GetGenesisValidatorsRoot() []byte { - if x != nil { - return x.GenesisValidatorsRoot - } - return nil -} - -type SyncedResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Synced bool `protobuf:"varint,1,opt,name=synced,proto3" json:"synced,omitempty"` - GenesisTime uint64 `protobuf:"varint,2,opt,name=genesis_time,json=genesisTime,proto3" json:"genesis_time,omitempty"` -} - -func (x *SyncedResponse) Reset() { - *x = SyncedResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_eth_v1alpha1_validator_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SyncedResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SyncedResponse) ProtoMessage() {} - -func (x *SyncedResponse) ProtoReflect() protoreflect.Message { - mi := &file_eth_v1alpha1_validator_proto_msgTypes[5] - 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 SyncedResponse.ProtoReflect.Descriptor instead. -func (*SyncedResponse) Descriptor() ([]byte, []int) { - return file_eth_v1alpha1_validator_proto_rawDescGZIP(), []int{5} -} - -func (x *SyncedResponse) GetSynced() bool { - if x != nil { - return x.Synced - } - return false -} - -func (x *SyncedResponse) GetGenesisTime() uint64 { - if x != nil { - return x.GenesisTime - } - return 0 -} - -type ValidatorIndexRequest 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"` -} - -func (x *ValidatorIndexRequest) Reset() { - *x = ValidatorIndexRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_eth_v1alpha1_validator_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ValidatorIndexRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ValidatorIndexRequest) ProtoMessage() {} - -func (x *ValidatorIndexRequest) ProtoReflect() protoreflect.Message { - mi := &file_eth_v1alpha1_validator_proto_msgTypes[6] - 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 ValidatorIndexRequest.ProtoReflect.Descriptor instead. -func (*ValidatorIndexRequest) Descriptor() ([]byte, []int) { - return file_eth_v1alpha1_validator_proto_rawDescGZIP(), []int{6} -} - -func (x *ValidatorIndexRequest) GetPublicKey() []byte { - if x != nil { - return x.PublicKey - } - return nil -} - -type ValidatorIndexResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Index uint64 `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty"` -} - -func (x *ValidatorIndexResponse) Reset() { - *x = ValidatorIndexResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_eth_v1alpha1_validator_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ValidatorIndexResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ValidatorIndexResponse) ProtoMessage() {} - -func (x *ValidatorIndexResponse) ProtoReflect() protoreflect.Message { - mi := &file_eth_v1alpha1_validator_proto_msgTypes[7] - 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 ValidatorIndexResponse.ProtoReflect.Descriptor instead. -func (*ValidatorIndexResponse) Descriptor() ([]byte, []int) { - return file_eth_v1alpha1_validator_proto_rawDescGZIP(), []int{7} -} - -func (x *ValidatorIndexResponse) GetIndex() uint64 { - if x != nil { - return x.Index - } - return 0 -} - -type ValidatorStatusRequest 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"` -} - -func (x *ValidatorStatusRequest) Reset() { - *x = ValidatorStatusRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_eth_v1alpha1_validator_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ValidatorStatusRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ValidatorStatusRequest) ProtoMessage() {} - -func (x *ValidatorStatusRequest) ProtoReflect() protoreflect.Message { - mi := &file_eth_v1alpha1_validator_proto_msgTypes[8] - 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 ValidatorStatusRequest.ProtoReflect.Descriptor instead. -func (*ValidatorStatusRequest) Descriptor() ([]byte, []int) { - return file_eth_v1alpha1_validator_proto_rawDescGZIP(), []int{8} -} - -func (x *ValidatorStatusRequest) GetPublicKey() []byte { - if x != nil { - return x.PublicKey - } - return nil -} - -type ValidatorStatusResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Status ValidatorStatus `protobuf:"varint,1,opt,name=status,proto3,enum=ethereum.eth.v1alpha1.ValidatorStatus" json:"status,omitempty"` - Eth1DepositBlockNumber uint64 `protobuf:"varint,2,opt,name=eth1_deposit_block_number,json=eth1DepositBlockNumber,proto3" json:"eth1_deposit_block_number,omitempty"` - DepositInclusionSlot uint64 `protobuf:"varint,3,opt,name=deposit_inclusion_slot,json=depositInclusionSlot,proto3" json:"deposit_inclusion_slot,omitempty"` - ActivationEpoch uint64 `protobuf:"varint,4,opt,name=activation_epoch,json=activationEpoch,proto3" json:"activation_epoch,omitempty"` - PositionInActivationQueue uint64 `protobuf:"varint,5,opt,name=position_in_activation_queue,json=positionInActivationQueue,proto3" json:"position_in_activation_queue,omitempty"` -} - -func (x *ValidatorStatusResponse) Reset() { - *x = ValidatorStatusResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_eth_v1alpha1_validator_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ValidatorStatusResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ValidatorStatusResponse) ProtoMessage() {} - -func (x *ValidatorStatusResponse) ProtoReflect() protoreflect.Message { - mi := &file_eth_v1alpha1_validator_proto_msgTypes[9] - 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 ValidatorStatusResponse.ProtoReflect.Descriptor instead. -func (*ValidatorStatusResponse) Descriptor() ([]byte, []int) { - return file_eth_v1alpha1_validator_proto_rawDescGZIP(), []int{9} -} - -func (x *ValidatorStatusResponse) GetStatus() ValidatorStatus { - if x != nil { - return x.Status - } - return ValidatorStatus_UNKNOWN_STATUS -} - -func (x *ValidatorStatusResponse) GetEth1DepositBlockNumber() uint64 { - if x != nil { - return x.Eth1DepositBlockNumber - } - return 0 -} - -func (x *ValidatorStatusResponse) GetDepositInclusionSlot() uint64 { - if x != nil { - return x.DepositInclusionSlot - } - return 0 -} - -func (x *ValidatorStatusResponse) GetActivationEpoch() uint64 { - if x != nil { - return x.ActivationEpoch - } - return 0 -} - -func (x *ValidatorStatusResponse) GetPositionInActivationQueue() uint64 { - if x != nil { - return x.PositionInActivationQueue - } - return 0 -} - -type MultipleValidatorStatusRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - PublicKeys [][]byte `protobuf:"bytes,1,rep,name=public_keys,json=publicKeys,proto3" json:"public_keys,omitempty"` - Indices []int64 `protobuf:"varint,2,rep,packed,name=indices,proto3" json:"indices,omitempty"` -} - -func (x *MultipleValidatorStatusRequest) Reset() { - *x = MultipleValidatorStatusRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_eth_v1alpha1_validator_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *MultipleValidatorStatusRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*MultipleValidatorStatusRequest) ProtoMessage() {} - -func (x *MultipleValidatorStatusRequest) ProtoReflect() protoreflect.Message { - mi := &file_eth_v1alpha1_validator_proto_msgTypes[10] - 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 MultipleValidatorStatusRequest.ProtoReflect.Descriptor instead. -func (*MultipleValidatorStatusRequest) Descriptor() ([]byte, []int) { - return file_eth_v1alpha1_validator_proto_rawDescGZIP(), []int{10} -} - -func (x *MultipleValidatorStatusRequest) GetPublicKeys() [][]byte { - if x != nil { - return x.PublicKeys - } - return nil -} - -func (x *MultipleValidatorStatusRequest) GetIndices() []int64 { - if x != nil { - return x.Indices - } - return nil -} - -type MultipleValidatorStatusResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - PublicKeys [][]byte `protobuf:"bytes,1,rep,name=public_keys,json=publicKeys,proto3" json:"public_keys,omitempty"` - Statuses []*ValidatorStatusResponse `protobuf:"bytes,2,rep,name=statuses,proto3" json:"statuses,omitempty"` - Indices []uint64 `protobuf:"varint,3,rep,packed,name=indices,proto3" json:"indices,omitempty"` -} - -func (x *MultipleValidatorStatusResponse) Reset() { - *x = MultipleValidatorStatusResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_eth_v1alpha1_validator_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *MultipleValidatorStatusResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*MultipleValidatorStatusResponse) ProtoMessage() {} - -func (x *MultipleValidatorStatusResponse) ProtoReflect() protoreflect.Message { - mi := &file_eth_v1alpha1_validator_proto_msgTypes[11] - 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 MultipleValidatorStatusResponse.ProtoReflect.Descriptor instead. -func (*MultipleValidatorStatusResponse) Descriptor() ([]byte, []int) { - return file_eth_v1alpha1_validator_proto_rawDescGZIP(), []int{11} -} - -func (x *MultipleValidatorStatusResponse) GetPublicKeys() [][]byte { - if x != nil { - return x.PublicKeys - } - return nil -} - -func (x *MultipleValidatorStatusResponse) GetStatuses() []*ValidatorStatusResponse { - if x != nil { - return x.Statuses - } - return nil -} - -func (x *MultipleValidatorStatusResponse) GetIndices() []uint64 { - if x != nil { - return x.Indices - } - return nil -} - -type DutiesRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Epoch uint64 `protobuf:"varint,1,opt,name=epoch,proto3" json:"epoch,omitempty"` - PublicKeys [][]byte `protobuf:"bytes,2,rep,name=public_keys,json=publicKeys,proto3" json:"public_keys,omitempty"` -} - -func (x *DutiesRequest) Reset() { - *x = DutiesRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_eth_v1alpha1_validator_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *DutiesRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DutiesRequest) ProtoMessage() {} - -func (x *DutiesRequest) ProtoReflect() protoreflect.Message { - mi := &file_eth_v1alpha1_validator_proto_msgTypes[12] - 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 DutiesRequest.ProtoReflect.Descriptor instead. -func (*DutiesRequest) Descriptor() ([]byte, []int) { - return file_eth_v1alpha1_validator_proto_rawDescGZIP(), []int{12} -} - -func (x *DutiesRequest) GetEpoch() uint64 { - if x != nil { - return x.Epoch - } - return 0 -} - -func (x *DutiesRequest) GetPublicKeys() [][]byte { - if x != nil { - return x.PublicKeys - } - return nil -} - -type DutiesResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // Deprecated: Do not use. - Duties []*DutiesResponse_Duty `protobuf:"bytes,1,rep,name=duties,proto3" json:"duties,omitempty"` - CurrentEpochDuties []*DutiesResponse_Duty `protobuf:"bytes,2,rep,name=current_epoch_duties,json=currentEpochDuties,proto3" json:"current_epoch_duties,omitempty"` - NextEpochDuties []*DutiesResponse_Duty `protobuf:"bytes,3,rep,name=next_epoch_duties,json=nextEpochDuties,proto3" json:"next_epoch_duties,omitempty"` -} - -func (x *DutiesResponse) Reset() { - *x = DutiesResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_eth_v1alpha1_validator_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *DutiesResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DutiesResponse) ProtoMessage() {} - -func (x *DutiesResponse) ProtoReflect() protoreflect.Message { - mi := &file_eth_v1alpha1_validator_proto_msgTypes[13] - 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 DutiesResponse.ProtoReflect.Descriptor instead. -func (*DutiesResponse) Descriptor() ([]byte, []int) { - return file_eth_v1alpha1_validator_proto_rawDescGZIP(), []int{13} -} - -// Deprecated: Do not use. -func (x *DutiesResponse) GetDuties() []*DutiesResponse_Duty { - if x != nil { - return x.Duties - } - return nil -} - -func (x *DutiesResponse) GetCurrentEpochDuties() []*DutiesResponse_Duty { - if x != nil { - return x.CurrentEpochDuties - } - return nil -} - -func (x *DutiesResponse) GetNextEpochDuties() []*DutiesResponse_Duty { - if x != nil { - return x.NextEpochDuties - } - return nil -} - -type BlockRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Slot uint64 `protobuf:"varint,1,opt,name=slot,proto3" json:"slot,omitempty"` - RandaoReveal []byte `protobuf:"bytes,2,opt,name=randao_reveal,json=randaoReveal,proto3" json:"randao_reveal,omitempty"` - Graffiti []byte `protobuf:"bytes,3,opt,name=graffiti,proto3" json:"graffiti,omitempty"` -} - -func (x *BlockRequest) Reset() { - *x = BlockRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_eth_v1alpha1_validator_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *BlockRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*BlockRequest) ProtoMessage() {} - -func (x *BlockRequest) ProtoReflect() protoreflect.Message { - mi := &file_eth_v1alpha1_validator_proto_msgTypes[14] - 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 BlockRequest.ProtoReflect.Descriptor instead. -func (*BlockRequest) Descriptor() ([]byte, []int) { - return file_eth_v1alpha1_validator_proto_rawDescGZIP(), []int{14} -} - -func (x *BlockRequest) GetSlot() uint64 { - if x != nil { - return x.Slot - } - return 0 -} - -func (x *BlockRequest) GetRandaoReveal() []byte { - if x != nil { - return x.RandaoReveal - } - return nil -} - -func (x *BlockRequest) GetGraffiti() []byte { - if x != nil { - return x.Graffiti - } - return nil -} - -type ProposeResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - BlockRoot []byte `protobuf:"bytes,1,opt,name=block_root,json=blockRoot,proto3" json:"block_root,omitempty"` -} - -func (x *ProposeResponse) Reset() { - *x = ProposeResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_eth_v1alpha1_validator_proto_msgTypes[15] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ProposeResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ProposeResponse) ProtoMessage() {} - -func (x *ProposeResponse) ProtoReflect() protoreflect.Message { - mi := &file_eth_v1alpha1_validator_proto_msgTypes[15] - 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 ProposeResponse.ProtoReflect.Descriptor instead. -func (*ProposeResponse) Descriptor() ([]byte, []int) { - return file_eth_v1alpha1_validator_proto_rawDescGZIP(), []int{15} -} - -func (x *ProposeResponse) GetBlockRoot() []byte { - if x != nil { - return x.BlockRoot - } - return nil -} - -type ProposeExitResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - ExitRoot []byte `protobuf:"bytes,1,opt,name=exit_root,json=exitRoot,proto3" json:"exit_root,omitempty"` -} - -func (x *ProposeExitResponse) Reset() { - *x = ProposeExitResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_eth_v1alpha1_validator_proto_msgTypes[16] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ProposeExitResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ProposeExitResponse) ProtoMessage() {} - -func (x *ProposeExitResponse) ProtoReflect() protoreflect.Message { - mi := &file_eth_v1alpha1_validator_proto_msgTypes[16] - 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 ProposeExitResponse.ProtoReflect.Descriptor instead. -func (*ProposeExitResponse) Descriptor() ([]byte, []int) { - return file_eth_v1alpha1_validator_proto_rawDescGZIP(), []int{16} -} - -func (x *ProposeExitResponse) GetExitRoot() []byte { - if x != nil { - return x.ExitRoot - } - return nil -} - -type AttestationDataRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Slot uint64 `protobuf:"varint,1,opt,name=slot,proto3" json:"slot,omitempty"` - CommitteeIndex uint64 `protobuf:"varint,2,opt,name=committee_index,json=committeeIndex,proto3" json:"committee_index,omitempty"` -} - -func (x *AttestationDataRequest) Reset() { - *x = AttestationDataRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_eth_v1alpha1_validator_proto_msgTypes[17] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *AttestationDataRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*AttestationDataRequest) ProtoMessage() {} - -func (x *AttestationDataRequest) ProtoReflect() protoreflect.Message { - mi := &file_eth_v1alpha1_validator_proto_msgTypes[17] - 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 AttestationDataRequest.ProtoReflect.Descriptor instead. -func (*AttestationDataRequest) Descriptor() ([]byte, []int) { - return file_eth_v1alpha1_validator_proto_rawDescGZIP(), []int{17} -} - -func (x *AttestationDataRequest) GetSlot() uint64 { - if x != nil { - return x.Slot - } - return 0 -} - -func (x *AttestationDataRequest) GetCommitteeIndex() uint64 { - if x != nil { - return x.CommitteeIndex - } - return 0 -} - -type AttestResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - AttestationDataRoot []byte `protobuf:"bytes,1,opt,name=attestation_data_root,json=attestationDataRoot,proto3" json:"attestation_data_root,omitempty"` -} - -func (x *AttestResponse) Reset() { - *x = AttestResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_eth_v1alpha1_validator_proto_msgTypes[18] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *AttestResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*AttestResponse) ProtoMessage() {} - -func (x *AttestResponse) ProtoReflect() protoreflect.Message { - mi := &file_eth_v1alpha1_validator_proto_msgTypes[18] - 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 AttestResponse.ProtoReflect.Descriptor instead. -func (*AttestResponse) Descriptor() ([]byte, []int) { - return file_eth_v1alpha1_validator_proto_rawDescGZIP(), []int{18} -} - -func (x *AttestResponse) GetAttestationDataRoot() []byte { - if x != nil { - return x.AttestationDataRoot - } - return nil -} - -type AggregateSelectionRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Slot uint64 `protobuf:"varint,1,opt,name=slot,proto3" json:"slot,omitempty"` - CommitteeIndex uint64 `protobuf:"varint,2,opt,name=committee_index,json=committeeIndex,proto3" json:"committee_index,omitempty"` - PublicKey []byte `protobuf:"bytes,3,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"` - SlotSignature []byte `protobuf:"bytes,4,opt,name=slot_signature,json=slotSignature,proto3" json:"slot_signature,omitempty"` -} - -func (x *AggregateSelectionRequest) Reset() { - *x = AggregateSelectionRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_eth_v1alpha1_validator_proto_msgTypes[19] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *AggregateSelectionRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*AggregateSelectionRequest) ProtoMessage() {} - -func (x *AggregateSelectionRequest) ProtoReflect() protoreflect.Message { - mi := &file_eth_v1alpha1_validator_proto_msgTypes[19] - 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 AggregateSelectionRequest.ProtoReflect.Descriptor instead. -func (*AggregateSelectionRequest) Descriptor() ([]byte, []int) { - return file_eth_v1alpha1_validator_proto_rawDescGZIP(), []int{19} -} - -func (x *AggregateSelectionRequest) GetSlot() uint64 { - if x != nil { - return x.Slot - } - return 0 -} - -func (x *AggregateSelectionRequest) GetCommitteeIndex() uint64 { - if x != nil { - return x.CommitteeIndex - } - return 0 -} - -func (x *AggregateSelectionRequest) GetPublicKey() []byte { - if x != nil { - return x.PublicKey - } - return nil -} - -func (x *AggregateSelectionRequest) GetSlotSignature() []byte { - if x != nil { - return x.SlotSignature - } - return nil -} - -type AggregateSelectionResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - AggregateAndProof *AggregateAttestationAndProof `protobuf:"bytes,1,opt,name=aggregate_and_proof,json=aggregateAndProof,proto3" json:"aggregate_and_proof,omitempty"` -} - -func (x *AggregateSelectionResponse) Reset() { - *x = AggregateSelectionResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_eth_v1alpha1_validator_proto_msgTypes[20] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *AggregateSelectionResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*AggregateSelectionResponse) ProtoMessage() {} - -func (x *AggregateSelectionResponse) ProtoReflect() protoreflect.Message { - mi := &file_eth_v1alpha1_validator_proto_msgTypes[20] - 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 AggregateSelectionResponse.ProtoReflect.Descriptor instead. -func (*AggregateSelectionResponse) Descriptor() ([]byte, []int) { - return file_eth_v1alpha1_validator_proto_rawDescGZIP(), []int{20} -} - -func (x *AggregateSelectionResponse) GetAggregateAndProof() *AggregateAttestationAndProof { - if x != nil { - return x.AggregateAndProof - } - return nil -} - -type SignedAggregateSubmitRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - SignedAggregateAndProof *SignedAggregateAttestationAndProof `protobuf:"bytes,1,opt,name=signed_aggregate_and_proof,json=signedAggregateAndProof,proto3" json:"signed_aggregate_and_proof,omitempty"` -} - -func (x *SignedAggregateSubmitRequest) Reset() { - *x = SignedAggregateSubmitRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_eth_v1alpha1_validator_proto_msgTypes[21] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SignedAggregateSubmitRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SignedAggregateSubmitRequest) ProtoMessage() {} - -func (x *SignedAggregateSubmitRequest) ProtoReflect() protoreflect.Message { - mi := &file_eth_v1alpha1_validator_proto_msgTypes[21] - 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 SignedAggregateSubmitRequest.ProtoReflect.Descriptor instead. -func (*SignedAggregateSubmitRequest) Descriptor() ([]byte, []int) { - return file_eth_v1alpha1_validator_proto_rawDescGZIP(), []int{21} -} - -func (x *SignedAggregateSubmitRequest) GetSignedAggregateAndProof() *SignedAggregateAttestationAndProof { - if x != nil { - return x.SignedAggregateAndProof - } - return nil -} - -type SignedAggregateSubmitResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - AttestationDataRoot []byte `protobuf:"bytes,1,opt,name=attestation_data_root,json=attestationDataRoot,proto3" json:"attestation_data_root,omitempty"` -} - -func (x *SignedAggregateSubmitResponse) Reset() { - *x = SignedAggregateSubmitResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_eth_v1alpha1_validator_proto_msgTypes[22] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SignedAggregateSubmitResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SignedAggregateSubmitResponse) ProtoMessage() {} - -func (x *SignedAggregateSubmitResponse) ProtoReflect() protoreflect.Message { - mi := &file_eth_v1alpha1_validator_proto_msgTypes[22] - 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 SignedAggregateSubmitResponse.ProtoReflect.Descriptor instead. -func (*SignedAggregateSubmitResponse) Descriptor() ([]byte, []int) { - return file_eth_v1alpha1_validator_proto_rawDescGZIP(), []int{22} -} - -func (x *SignedAggregateSubmitResponse) GetAttestationDataRoot() []byte { - if x != nil { - return x.AttestationDataRoot - } - return nil -} - -type CommitteeSubnetsSubscribeRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Slots []uint64 `protobuf:"varint,1,rep,packed,name=slots,proto3" json:"slots,omitempty"` - CommitteeIds []uint64 `protobuf:"varint,2,rep,packed,name=committee_ids,json=committeeIds,proto3" json:"committee_ids,omitempty"` - IsAggregator []bool `protobuf:"varint,3,rep,packed,name=is_aggregator,json=isAggregator,proto3" json:"is_aggregator,omitempty"` -} - -func (x *CommitteeSubnetsSubscribeRequest) Reset() { - *x = CommitteeSubnetsSubscribeRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_eth_v1alpha1_validator_proto_msgTypes[23] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *CommitteeSubnetsSubscribeRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CommitteeSubnetsSubscribeRequest) ProtoMessage() {} - -func (x *CommitteeSubnetsSubscribeRequest) ProtoReflect() protoreflect.Message { - mi := &file_eth_v1alpha1_validator_proto_msgTypes[23] - 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 CommitteeSubnetsSubscribeRequest.ProtoReflect.Descriptor instead. -func (*CommitteeSubnetsSubscribeRequest) Descriptor() ([]byte, []int) { - return file_eth_v1alpha1_validator_proto_rawDescGZIP(), []int{23} -} - -func (x *CommitteeSubnetsSubscribeRequest) GetSlots() []uint64 { - if x != nil { - return x.Slots - } - return nil -} - -func (x *CommitteeSubnetsSubscribeRequest) GetCommitteeIds() []uint64 { - if x != nil { - return x.CommitteeIds - } - return nil -} - -func (x *CommitteeSubnetsSubscribeRequest) GetIsAggregator() []bool { - if x != nil { - return x.IsAggregator - } - return nil -} - -type Validator 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"` - WithdrawalCredentials []byte `protobuf:"bytes,2,opt,name=withdrawal_credentials,json=withdrawalCredentials,proto3" json:"withdrawal_credentials,omitempty"` - EffectiveBalance uint64 `protobuf:"varint,3,opt,name=effective_balance,json=effectiveBalance,proto3" json:"effective_balance,omitempty"` - Slashed bool `protobuf:"varint,4,opt,name=slashed,proto3" json:"slashed,omitempty"` - ActivationEligibilityEpoch uint64 `protobuf:"varint,5,opt,name=activation_eligibility_epoch,json=activationEligibilityEpoch,proto3" json:"activation_eligibility_epoch,omitempty"` - ActivationEpoch uint64 `protobuf:"varint,6,opt,name=activation_epoch,json=activationEpoch,proto3" json:"activation_epoch,omitempty"` - ExitEpoch uint64 `protobuf:"varint,7,opt,name=exit_epoch,json=exitEpoch,proto3" json:"exit_epoch,omitempty"` - WithdrawableEpoch uint64 `protobuf:"varint,8,opt,name=withdrawable_epoch,json=withdrawableEpoch,proto3" json:"withdrawable_epoch,omitempty"` -} - -func (x *Validator) Reset() { - *x = Validator{} - if protoimpl.UnsafeEnabled { - mi := &file_eth_v1alpha1_validator_proto_msgTypes[24] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *Validator) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Validator) ProtoMessage() {} - -func (x *Validator) ProtoReflect() protoreflect.Message { - mi := &file_eth_v1alpha1_validator_proto_msgTypes[24] - 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 Validator.ProtoReflect.Descriptor instead. -func (*Validator) Descriptor() ([]byte, []int) { - return file_eth_v1alpha1_validator_proto_rawDescGZIP(), []int{24} -} - -func (x *Validator) GetPublicKey() []byte { - if x != nil { - return x.PublicKey - } - return nil -} - -func (x *Validator) GetWithdrawalCredentials() []byte { - if x != nil { - return x.WithdrawalCredentials - } - return nil -} - -func (x *Validator) GetEffectiveBalance() uint64 { - if x != nil { - return x.EffectiveBalance - } - return 0 -} - -func (x *Validator) GetSlashed() bool { - if x != nil { - return x.Slashed - } - return false -} - -func (x *Validator) GetActivationEligibilityEpoch() uint64 { - if x != nil { - return x.ActivationEligibilityEpoch - } - return 0 -} - -func (x *Validator) GetActivationEpoch() uint64 { - if x != nil { - return x.ActivationEpoch - } - return 0 -} - -func (x *Validator) GetExitEpoch() uint64 { - if x != nil { - return x.ExitEpoch - } - return 0 -} - -func (x *Validator) GetWithdrawableEpoch() uint64 { - if x != nil { - return x.WithdrawableEpoch - } - return 0 -} - -type ValidatorParticipation struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // Deprecated: Do not use. - GlobalParticipationRate float32 `protobuf:"fixed32,1,opt,name=global_participation_rate,json=globalParticipationRate,proto3" json:"global_participation_rate,omitempty"` - // Deprecated: Do not use. - VotedEther uint64 `protobuf:"varint,2,opt,name=voted_ether,json=votedEther,proto3" json:"voted_ether,omitempty"` - // Deprecated: Do not use. - EligibleEther uint64 `protobuf:"varint,3,opt,name=eligible_ether,json=eligibleEther,proto3" json:"eligible_ether,omitempty"` - CurrentEpochActiveGwei uint64 `protobuf:"varint,4,opt,name=current_epoch_active_gwei,json=currentEpochActiveGwei,proto3" json:"current_epoch_active_gwei,omitempty"` - CurrentEpochAttestingGwei uint64 `protobuf:"varint,5,opt,name=current_epoch_attesting_gwei,json=currentEpochAttestingGwei,proto3" json:"current_epoch_attesting_gwei,omitempty"` - CurrentEpochTargetAttestingGwei uint64 `protobuf:"varint,6,opt,name=current_epoch_target_attesting_gwei,json=currentEpochTargetAttestingGwei,proto3" json:"current_epoch_target_attesting_gwei,omitempty"` - PreviousEpochActiveGwei uint64 `protobuf:"varint,7,opt,name=previous_epoch_active_gwei,json=previousEpochActiveGwei,proto3" json:"previous_epoch_active_gwei,omitempty"` - PreviousEpochAttestingGwei uint64 `protobuf:"varint,8,opt,name=previous_epoch_attesting_gwei,json=previousEpochAttestingGwei,proto3" json:"previous_epoch_attesting_gwei,omitempty"` - PreviousEpochTargetAttestingGwei uint64 `protobuf:"varint,9,opt,name=previous_epoch_target_attesting_gwei,json=previousEpochTargetAttestingGwei,proto3" json:"previous_epoch_target_attesting_gwei,omitempty"` - PreviousEpochHeadAttestingGwei uint64 `protobuf:"varint,10,opt,name=previous_epoch_head_attesting_gwei,json=previousEpochHeadAttestingGwei,proto3" json:"previous_epoch_head_attesting_gwei,omitempty"` -} - -func (x *ValidatorParticipation) Reset() { - *x = ValidatorParticipation{} - if protoimpl.UnsafeEnabled { - mi := &file_eth_v1alpha1_validator_proto_msgTypes[25] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ValidatorParticipation) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ValidatorParticipation) ProtoMessage() {} - -func (x *ValidatorParticipation) ProtoReflect() protoreflect.Message { - mi := &file_eth_v1alpha1_validator_proto_msgTypes[25] - 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 ValidatorParticipation.ProtoReflect.Descriptor instead. -func (*ValidatorParticipation) Descriptor() ([]byte, []int) { - return file_eth_v1alpha1_validator_proto_rawDescGZIP(), []int{25} -} - -// Deprecated: Do not use. -func (x *ValidatorParticipation) GetGlobalParticipationRate() float32 { - if x != nil { - return x.GlobalParticipationRate - } - return 0 -} - -// Deprecated: Do not use. -func (x *ValidatorParticipation) GetVotedEther() uint64 { - if x != nil { - return x.VotedEther - } - return 0 -} - -// Deprecated: Do not use. -func (x *ValidatorParticipation) GetEligibleEther() uint64 { - if x != nil { - return x.EligibleEther - } - return 0 -} - -func (x *ValidatorParticipation) GetCurrentEpochActiveGwei() uint64 { - if x != nil { - return x.CurrentEpochActiveGwei - } - return 0 -} - -func (x *ValidatorParticipation) GetCurrentEpochAttestingGwei() uint64 { - if x != nil { - return x.CurrentEpochAttestingGwei - } - return 0 -} - -func (x *ValidatorParticipation) GetCurrentEpochTargetAttestingGwei() uint64 { - if x != nil { - return x.CurrentEpochTargetAttestingGwei - } - return 0 -} - -func (x *ValidatorParticipation) GetPreviousEpochActiveGwei() uint64 { - if x != nil { - return x.PreviousEpochActiveGwei - } - return 0 -} - -func (x *ValidatorParticipation) GetPreviousEpochAttestingGwei() uint64 { - if x != nil { - return x.PreviousEpochAttestingGwei - } - return 0 -} - -func (x *ValidatorParticipation) GetPreviousEpochTargetAttestingGwei() uint64 { - if x != nil { - return x.PreviousEpochTargetAttestingGwei - } - return 0 -} - -func (x *ValidatorParticipation) GetPreviousEpochHeadAttestingGwei() uint64 { - if x != nil { - return x.PreviousEpochHeadAttestingGwei - } - return 0 -} - -type ValidatorInfo 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"` - Index uint64 `protobuf:"varint,2,opt,name=index,proto3" json:"index,omitempty"` - Epoch uint64 `protobuf:"varint,3,opt,name=epoch,proto3" json:"epoch,omitempty"` - Status ValidatorStatus `protobuf:"varint,4,opt,name=status,proto3,enum=ethereum.eth.v1alpha1.ValidatorStatus" json:"status,omitempty"` - TransitionTimestamp uint64 `protobuf:"varint,5,opt,name=transition_timestamp,json=transitionTimestamp,proto3" json:"transition_timestamp,omitempty"` - Balance uint64 `protobuf:"varint,6,opt,name=balance,proto3" json:"balance,omitempty"` - EffectiveBalance uint64 `protobuf:"varint,7,opt,name=effective_balance,json=effectiveBalance,proto3" json:"effective_balance,omitempty"` -} - -func (x *ValidatorInfo) Reset() { - *x = ValidatorInfo{} - if protoimpl.UnsafeEnabled { - mi := &file_eth_v1alpha1_validator_proto_msgTypes[26] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ValidatorInfo) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ValidatorInfo) ProtoMessage() {} - -func (x *ValidatorInfo) ProtoReflect() protoreflect.Message { - mi := &file_eth_v1alpha1_validator_proto_msgTypes[26] - 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 ValidatorInfo.ProtoReflect.Descriptor instead. -func (*ValidatorInfo) Descriptor() ([]byte, []int) { - return file_eth_v1alpha1_validator_proto_rawDescGZIP(), []int{26} -} - -func (x *ValidatorInfo) GetPublicKey() []byte { - if x != nil { - return x.PublicKey - } - return nil -} - -func (x *ValidatorInfo) GetIndex() uint64 { - if x != nil { - return x.Index - } - return 0 -} - -func (x *ValidatorInfo) GetEpoch() uint64 { - if x != nil { - return x.Epoch - } - return 0 -} - -func (x *ValidatorInfo) GetStatus() ValidatorStatus { - if x != nil { - return x.Status - } - return ValidatorStatus_UNKNOWN_STATUS -} - -func (x *ValidatorInfo) GetTransitionTimestamp() uint64 { - if x != nil { - return x.TransitionTimestamp - } - return 0 -} - -func (x *ValidatorInfo) GetBalance() uint64 { - if x != nil { - return x.Balance - } - return 0 -} - -func (x *ValidatorInfo) GetEffectiveBalance() uint64 { - if x != nil { - return x.EffectiveBalance - } - return 0 -} - -type ValidatorActivationResponse_Status 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"` - Status *ValidatorStatusResponse `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"` - Index uint64 `protobuf:"varint,3,opt,name=index,proto3" json:"index,omitempty"` -} - -func (x *ValidatorActivationResponse_Status) Reset() { - *x = ValidatorActivationResponse_Status{} - if protoimpl.UnsafeEnabled { - mi := &file_eth_v1alpha1_validator_proto_msgTypes[27] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ValidatorActivationResponse_Status) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ValidatorActivationResponse_Status) ProtoMessage() {} - -func (x *ValidatorActivationResponse_Status) ProtoReflect() protoreflect.Message { - mi := &file_eth_v1alpha1_validator_proto_msgTypes[27] - 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 ValidatorActivationResponse_Status.ProtoReflect.Descriptor instead. -func (*ValidatorActivationResponse_Status) Descriptor() ([]byte, []int) { - return file_eth_v1alpha1_validator_proto_rawDescGZIP(), []int{3, 0} -} - -func (x *ValidatorActivationResponse_Status) GetPublicKey() []byte { - if x != nil { - return x.PublicKey - } - return nil -} - -func (x *ValidatorActivationResponse_Status) GetStatus() *ValidatorStatusResponse { - if x != nil { - return x.Status - } - return nil -} - -func (x *ValidatorActivationResponse_Status) GetIndex() uint64 { - if x != nil { - return x.Index - } - return 0 -} - -type DutiesResponse_Duty struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Committee []uint64 `protobuf:"varint,1,rep,packed,name=committee,proto3" json:"committee,omitempty"` - CommitteeIndex uint64 `protobuf:"varint,2,opt,name=committee_index,json=committeeIndex,proto3" json:"committee_index,omitempty"` - AttesterSlot uint64 `protobuf:"varint,3,opt,name=attester_slot,json=attesterSlot,proto3" json:"attester_slot,omitempty"` - ProposerSlots []uint64 `protobuf:"varint,4,rep,packed,name=proposer_slots,json=proposerSlots,proto3" json:"proposer_slots,omitempty"` - PublicKey []byte `protobuf:"bytes,5,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"` - Status ValidatorStatus `protobuf:"varint,6,opt,name=status,proto3,enum=ethereum.eth.v1alpha1.ValidatorStatus" json:"status,omitempty"` - ValidatorIndex uint64 `protobuf:"varint,7,opt,name=validator_index,json=validatorIndex,proto3" json:"validator_index,omitempty"` -} - -func (x *DutiesResponse_Duty) Reset() { - *x = DutiesResponse_Duty{} - if protoimpl.UnsafeEnabled { - mi := &file_eth_v1alpha1_validator_proto_msgTypes[28] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *DutiesResponse_Duty) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DutiesResponse_Duty) ProtoMessage() {} - -func (x *DutiesResponse_Duty) ProtoReflect() protoreflect.Message { - mi := &file_eth_v1alpha1_validator_proto_msgTypes[28] - 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 DutiesResponse_Duty.ProtoReflect.Descriptor instead. -func (*DutiesResponse_Duty) Descriptor() ([]byte, []int) { - return file_eth_v1alpha1_validator_proto_rawDescGZIP(), []int{13, 0} -} - -func (x *DutiesResponse_Duty) GetCommittee() []uint64 { - if x != nil { - return x.Committee - } - return nil -} - -func (x *DutiesResponse_Duty) GetCommitteeIndex() uint64 { - if x != nil { - return x.CommitteeIndex - } - return 0 -} - -func (x *DutiesResponse_Duty) GetAttesterSlot() uint64 { - if x != nil { - return x.AttesterSlot - } - return 0 -} - -func (x *DutiesResponse_Duty) GetProposerSlots() []uint64 { - if x != nil { - return x.ProposerSlots - } - return nil -} - -func (x *DutiesResponse_Duty) GetPublicKey() []byte { - if x != nil { - return x.PublicKey - } - return nil -} - -func (x *DutiesResponse_Duty) GetStatus() ValidatorStatus { - if x != nil { - return x.Status - } - return ValidatorStatus_UNKNOWN_STATUS -} - -func (x *DutiesResponse_Duty) GetValidatorIndex() uint64 { - if x != nil { - return x.ValidatorIndex - } - return 0 -} - -var File_eth_v1alpha1_validator_proto protoreflect.FileDescriptor - -var file_eth_v1alpha1_validator_proto_rawDesc = []byte{ - 0x0a, 0x1c, 0x65, 0x74, 0x68, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2f, 0x76, - 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x15, - 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x61, - 0x6c, 0x70, 0x68, 0x61, 0x31, 0x1a, 0x2d, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, - 0x6d, 0x2f, 0x67, 0x6f, 0x67, 0x6f, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, - 0x67, 0x6f, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x67, 0x6f, 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, 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, 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, - 0x22, 0x6c, 0x0a, 0x0d, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x12, 0x43, 0x0a, 0x05, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, - 0x42, 0x2d, 0xfa, 0xde, 0x1f, 0x29, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, - 0x2f, 0x70, 0x72, 0x79, 0x73, 0x6d, 0x61, 0x74, 0x69, 0x63, 0x6c, 0x61, 0x62, 0x73, 0x2f, 0x65, - 0x74, 0x68, 0x32, 0x2d, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x45, 0x70, 0x6f, 0x63, 0x68, 0x52, - 0x05, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x12, 0x16, 0x0a, 0x06, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x22, 0x3b, - 0x0a, 0x0e, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x12, 0x29, 0x0a, 0x10, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x5f, 0x64, 0x6f, - 0x6d, 0x61, 0x69, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0f, 0x73, 0x69, 0x67, 0x6e, - 0x61, 0x74, 0x75, 0x72, 0x65, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x22, 0x52, 0x0a, 0x1a, 0x56, - 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x41, 0x63, 0x74, 0x69, 0x76, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x34, 0x0a, 0x0b, 0x70, 0x75, 0x62, - 0x6c, 0x69, 0x63, 0x5f, 0x6b, 0x65, 0x79, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0c, 0x42, 0x13, - 0xf2, 0xde, 0x1f, 0x0f, 0x73, 0x73, 0x7a, 0x2d, 0x73, 0x69, 0x7a, 0x65, 0x3a, 0x22, 0x3f, 0x2c, - 0x34, 0x38, 0x22, 0x52, 0x0a, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4b, 0x65, 0x79, 0x73, 0x22, - 0xb4, 0x02, 0x0a, 0x1b, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x41, 0x63, 0x74, - 0x69, 0x76, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, - 0x55, 0x0a, 0x08, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, - 0x0b, 0x32, 0x39, 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, - 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, - 0x74, 0x6f, 0x72, 0x41, 0x63, 0x74, 0x69, 0x76, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x08, 0x73, 0x74, - 0x61, 0x74, 0x75, 0x73, 0x65, 0x73, 0x1a, 0xbd, 0x01, 0x0a, 0x06, 0x53, 0x74, 0x61, 0x74, 0x75, - 0x73, 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, 0x46, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x2e, 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, - 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, - 0x6f, 0x72, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x4c, 0x0a, 0x05, 0x69, 0x6e, 0x64, 0x65, - 0x78, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x42, 0x36, 0xfa, 0xde, 0x1f, 0x32, 0x67, 0x69, 0x74, - 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x72, 0x79, 0x73, 0x6d, 0x61, 0x74, 0x69, - 0x63, 0x6c, 0x61, 0x62, 0x73, 0x2f, 0x65, 0x74, 0x68, 0x32, 0x2d, 0x74, 0x79, 0x70, 0x65, 0x73, - 0x2e, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x52, - 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x22, 0x9c, 0x01, 0x0a, 0x12, 0x43, 0x68, 0x61, 0x69, 0x6e, - 0x53, 0x74, 0x61, 0x72, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x18, 0x0a, - 0x07, 0x73, 0x74, 0x61, 0x72, 0x74, 0x65, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, - 0x73, 0x74, 0x61, 0x72, 0x74, 0x65, 0x64, 0x12, 0x21, 0x0a, 0x0c, 0x67, 0x65, 0x6e, 0x65, 0x73, - 0x69, 0x73, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0b, 0x67, - 0x65, 0x6e, 0x65, 0x73, 0x69, 0x73, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x49, 0x0a, 0x17, 0x67, 0x65, - 0x6e, 0x65, 0x73, 0x69, 0x73, 0x5f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x73, - 0x5f, 0x72, 0x6f, 0x6f, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x42, 0x11, 0xf2, 0xde, 0x1f, - 0x0d, 0x73, 0x73, 0x7a, 0x2d, 0x73, 0x69, 0x7a, 0x65, 0x3a, 0x22, 0x33, 0x32, 0x22, 0x52, 0x15, - 0x67, 0x65, 0x6e, 0x65, 0x73, 0x69, 0x73, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, - 0x73, 0x52, 0x6f, 0x6f, 0x74, 0x22, 0x4b, 0x0a, 0x0e, 0x53, 0x79, 0x6e, 0x63, 0x65, 0x64, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x79, 0x6e, 0x63, 0x65, - 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x73, 0x79, 0x6e, 0x63, 0x65, 0x64, 0x12, - 0x21, 0x0a, 0x0c, 0x67, 0x65, 0x6e, 0x65, 0x73, 0x69, 0x73, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0b, 0x67, 0x65, 0x6e, 0x65, 0x73, 0x69, 0x73, 0x54, 0x69, - 0x6d, 0x65, 0x22, 0x49, 0x0a, 0x15, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x49, - 0x6e, 0x64, 0x65, 0x78, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x30, 0x0a, 0x0a, 0x70, - 0x75, 0x62, 0x6c, 0x69, 0x63, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x42, - 0x11, 0xf2, 0xde, 0x1f, 0x0d, 0x73, 0x73, 0x7a, 0x2d, 0x73, 0x69, 0x7a, 0x65, 0x3a, 0x22, 0x34, - 0x38, 0x22, 0x52, 0x09, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4b, 0x65, 0x79, 0x22, 0x66, 0x0a, - 0x16, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4c, 0x0a, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x42, 0x36, 0xfa, 0xde, 0x1f, 0x32, 0x67, 0x69, 0x74, 0x68, - 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x72, 0x79, 0x73, 0x6d, 0x61, 0x74, 0x69, 0x63, - 0x6c, 0x61, 0x62, 0x73, 0x2f, 0x65, 0x74, 0x68, 0x32, 0x2d, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, - 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x52, 0x05, - 0x69, 0x6e, 0x64, 0x65, 0x78, 0x22, 0x4a, 0x0a, 0x16, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, - 0x6f, 0x72, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, - 0x30, 0x0a, 0x0a, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x0c, 0x42, 0x11, 0xf2, 0xde, 0x1f, 0x0d, 0x73, 0x73, 0x7a, 0x2d, 0x73, 0x69, 0x7a, - 0x65, 0x3a, 0x22, 0x34, 0x38, 0x22, 0x52, 0x09, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4b, 0x65, - 0x79, 0x22, 0x93, 0x03, 0x0a, 0x17, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x53, - 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3e, 0x0a, - 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 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, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x53, - 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x39, 0x0a, - 0x19, 0x65, 0x74, 0x68, 0x31, 0x5f, 0x64, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x5f, 0x62, 0x6c, - 0x6f, 0x63, 0x6b, 0x5f, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, - 0x52, 0x16, 0x65, 0x74, 0x68, 0x31, 0x44, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x42, 0x6c, 0x6f, - 0x63, 0x6b, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x62, 0x0a, 0x16, 0x64, 0x65, 0x70, 0x6f, - 0x73, 0x69, 0x74, 0x5f, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x73, 0x6c, - 0x6f, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x42, 0x2c, 0xfa, 0xde, 0x1f, 0x28, 0x67, 0x69, - 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x72, 0x79, 0x73, 0x6d, 0x61, 0x74, - 0x69, 0x63, 0x6c, 0x61, 0x62, 0x73, 0x2f, 0x65, 0x74, 0x68, 0x32, 0x2d, 0x74, 0x79, 0x70, 0x65, - 0x73, 0x2e, 0x53, 0x6c, 0x6f, 0x74, 0x52, 0x14, 0x64, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x49, - 0x6e, 0x63, 0x6c, 0x75, 0x73, 0x69, 0x6f, 0x6e, 0x53, 0x6c, 0x6f, 0x74, 0x12, 0x58, 0x0a, 0x10, - 0x61, 0x63, 0x74, 0x69, 0x76, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x65, 0x70, 0x6f, 0x63, 0x68, - 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 0x42, 0x2d, 0xfa, 0xde, 0x1f, 0x29, 0x67, 0x69, 0x74, 0x68, - 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x72, 0x79, 0x73, 0x6d, 0x61, 0x74, 0x69, 0x63, - 0x6c, 0x61, 0x62, 0x73, 0x2f, 0x65, 0x74, 0x68, 0x32, 0x2d, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, - 0x45, 0x70, 0x6f, 0x63, 0x68, 0x52, 0x0f, 0x61, 0x63, 0x74, 0x69, 0x76, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x45, 0x70, 0x6f, 0x63, 0x68, 0x12, 0x3f, 0x0a, 0x1c, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, - 0x6f, 0x6e, 0x5f, 0x69, 0x6e, 0x5f, 0x61, 0x63, 0x74, 0x69, 0x76, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x5f, 0x71, 0x75, 0x65, 0x75, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x04, 0x52, 0x19, 0x70, 0x6f, - 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x41, 0x63, 0x74, 0x69, 0x76, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x51, 0x75, 0x65, 0x75, 0x65, 0x22, 0x70, 0x0a, 0x1e, 0x4d, 0x75, 0x6c, 0x74, 0x69, - 0x70, 0x6c, 0x65, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x53, 0x74, 0x61, 0x74, - 0x75, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x34, 0x0a, 0x0b, 0x70, 0x75, 0x62, - 0x6c, 0x69, 0x63, 0x5f, 0x6b, 0x65, 0x79, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0c, 0x42, 0x13, - 0xf2, 0xde, 0x1f, 0x0f, 0x73, 0x73, 0x7a, 0x2d, 0x73, 0x69, 0x7a, 0x65, 0x3a, 0x22, 0x3f, 0x2c, - 0x34, 0x38, 0x22, 0x52, 0x0a, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4b, 0x65, 0x79, 0x73, 0x12, - 0x18, 0x0a, 0x07, 0x69, 0x6e, 0x64, 0x69, 0x63, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x03, - 0x52, 0x07, 0x69, 0x6e, 0x64, 0x69, 0x63, 0x65, 0x73, 0x22, 0xf5, 0x01, 0x0a, 0x1f, 0x4d, 0x75, - 0x6c, 0x74, 0x69, 0x70, 0x6c, 0x65, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x53, - 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x34, 0x0a, - 0x0b, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x5f, 0x6b, 0x65, 0x79, 0x73, 0x18, 0x01, 0x20, 0x03, - 0x28, 0x0c, 0x42, 0x13, 0xf2, 0xde, 0x1f, 0x0f, 0x73, 0x73, 0x7a, 0x2d, 0x73, 0x69, 0x7a, 0x65, - 0x3a, 0x22, 0x3f, 0x2c, 0x34, 0x38, 0x22, 0x52, 0x0a, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4b, - 0x65, 0x79, 0x73, 0x12, 0x4a, 0x0a, 0x08, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x65, 0x73, 0x18, - 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, - 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x56, 0x61, - 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x52, 0x08, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x65, 0x73, 0x12, - 0x50, 0x0a, 0x07, 0x69, 0x6e, 0x64, 0x69, 0x63, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x04, - 0x42, 0x36, 0xfa, 0xde, 0x1f, 0x32, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, - 0x2f, 0x70, 0x72, 0x79, 0x73, 0x6d, 0x61, 0x74, 0x69, 0x63, 0x6c, 0x61, 0x62, 0x73, 0x2f, 0x65, - 0x74, 0x68, 0x32, 0x2d, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, - 0x74, 0x6f, 0x72, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x52, 0x07, 0x69, 0x6e, 0x64, 0x69, 0x63, 0x65, - 0x73, 0x22, 0x8a, 0x01, 0x0a, 0x0d, 0x44, 0x75, 0x74, 0x69, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x12, 0x43, 0x0a, 0x05, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x04, 0x42, 0x2d, 0xfa, 0xde, 0x1f, 0x29, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, - 0x6f, 0x6d, 0x2f, 0x70, 0x72, 0x79, 0x73, 0x6d, 0x61, 0x74, 0x69, 0x63, 0x6c, 0x61, 0x62, 0x73, - 0x2f, 0x65, 0x74, 0x68, 0x32, 0x2d, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x45, 0x70, 0x6f, 0x63, - 0x68, 0x52, 0x05, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x12, 0x34, 0x0a, 0x0b, 0x70, 0x75, 0x62, 0x6c, - 0x69, 0x63, 0x5f, 0x6b, 0x65, 0x79, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0c, 0x42, 0x13, 0xf2, - 0xde, 0x1f, 0x0f, 0x73, 0x73, 0x7a, 0x2d, 0x73, 0x69, 0x7a, 0x65, 0x3a, 0x22, 0x3f, 0x2c, 0x34, - 0x38, 0x22, 0x52, 0x0a, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4b, 0x65, 0x79, 0x73, 0x22, 0xc9, - 0x06, 0x0a, 0x0e, 0x44, 0x75, 0x74, 0x69, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x12, 0x46, 0x0a, 0x06, 0x64, 0x75, 0x74, 0x69, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, - 0x0b, 0x32, 0x2a, 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, - 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x44, 0x75, 0x74, 0x69, 0x65, 0x73, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x44, 0x75, 0x74, 0x79, 0x42, 0x02, 0x18, - 0x01, 0x52, 0x06, 0x64, 0x75, 0x74, 0x69, 0x65, 0x73, 0x12, 0x5c, 0x0a, 0x14, 0x63, 0x75, 0x72, - 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x5f, 0x64, 0x75, 0x74, 0x69, 0x65, - 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, - 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, - 0x44, 0x75, 0x74, 0x69, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x44, - 0x75, 0x74, 0x79, 0x52, 0x12, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x45, 0x70, 0x6f, 0x63, - 0x68, 0x44, 0x75, 0x74, 0x69, 0x65, 0x73, 0x12, 0x56, 0x0a, 0x11, 0x6e, 0x65, 0x78, 0x74, 0x5f, - 0x65, 0x70, 0x6f, 0x63, 0x68, 0x5f, 0x64, 0x75, 0x74, 0x69, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, - 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, - 0x68, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x44, 0x75, 0x74, 0x69, 0x65, - 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x44, 0x75, 0x74, 0x79, 0x52, 0x0f, - 0x6e, 0x65, 0x78, 0x74, 0x45, 0x70, 0x6f, 0x63, 0x68, 0x44, 0x75, 0x74, 0x69, 0x65, 0x73, 0x1a, - 0xb8, 0x04, 0x0a, 0x04, 0x44, 0x75, 0x74, 0x79, 0x12, 0x54, 0x0a, 0x09, 0x63, 0x6f, 0x6d, 0x6d, - 0x69, 0x74, 0x74, 0x65, 0x65, 0x18, 0x01, 0x20, 0x03, 0x28, 0x04, 0x42, 0x36, 0xfa, 0xde, 0x1f, - 0x32, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x72, 0x79, 0x73, - 0x6d, 0x61, 0x74, 0x69, 0x63, 0x6c, 0x61, 0x62, 0x73, 0x2f, 0x65, 0x74, 0x68, 0x32, 0x2d, 0x74, - 0x79, 0x70, 0x65, 0x73, 0x2e, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x49, 0x6e, - 0x64, 0x65, 0x78, 0x52, 0x09, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x74, 0x65, 0x65, 0x12, 0x5f, - 0x0a, 0x0f, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x74, 0x65, 0x65, 0x5f, 0x69, 0x6e, 0x64, 0x65, - 0x78, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x42, 0x36, 0xfa, 0xde, 0x1f, 0x32, 0x67, 0x69, 0x74, - 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x72, 0x79, 0x73, 0x6d, 0x61, 0x74, 0x69, - 0x63, 0x6c, 0x61, 0x62, 0x73, 0x2f, 0x65, 0x74, 0x68, 0x32, 0x2d, 0x74, 0x79, 0x70, 0x65, 0x73, - 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x74, 0x65, 0x65, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x52, - 0x0e, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x74, 0x65, 0x65, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, - 0x51, 0x0a, 0x0d, 0x61, 0x74, 0x74, 0x65, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x73, 0x6c, 0x6f, 0x74, - 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x42, 0x2c, 0xfa, 0xde, 0x1f, 0x28, 0x67, 0x69, 0x74, 0x68, - 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x72, 0x79, 0x73, 0x6d, 0x61, 0x74, 0x69, 0x63, - 0x6c, 0x61, 0x62, 0x73, 0x2f, 0x65, 0x74, 0x68, 0x32, 0x2d, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, - 0x53, 0x6c, 0x6f, 0x74, 0x52, 0x0c, 0x61, 0x74, 0x74, 0x65, 0x73, 0x74, 0x65, 0x72, 0x53, 0x6c, - 0x6f, 0x74, 0x12, 0x53, 0x0a, 0x0e, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x65, 0x72, 0x5f, 0x73, - 0x6c, 0x6f, 0x74, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x04, 0x42, 0x2c, 0xfa, 0xde, 0x1f, 0x28, - 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x72, 0x79, 0x73, 0x6d, - 0x61, 0x74, 0x69, 0x63, 0x6c, 0x61, 0x62, 0x73, 0x2f, 0x65, 0x74, 0x68, 0x32, 0x2d, 0x74, 0x79, - 0x70, 0x65, 0x73, 0x2e, 0x53, 0x6c, 0x6f, 0x74, 0x52, 0x0d, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, - 0x65, 0x72, 0x53, 0x6c, 0x6f, 0x74, 0x73, 0x12, 0x30, 0x0a, 0x0a, 0x70, 0x75, 0x62, 0x6c, 0x69, - 0x63, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0c, 0x42, 0x11, 0xf2, 0xde, 0x1f, - 0x0d, 0x73, 0x73, 0x7a, 0x2d, 0x73, 0x69, 0x7a, 0x65, 0x3a, 0x22, 0x34, 0x38, 0x22, 0x52, 0x09, - 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4b, 0x65, 0x79, 0x12, 0x3e, 0x0a, 0x06, 0x73, 0x74, 0x61, - 0x74, 0x75, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0e, 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, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x53, 0x74, 0x61, 0x74, 0x75, - 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x5f, 0x0a, 0x0f, 0x76, 0x61, 0x6c, - 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x07, 0x20, 0x01, - 0x28, 0x04, 0x42, 0x36, 0xfa, 0xde, 0x1f, 0x32, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, - 0x6f, 0x6d, 0x2f, 0x70, 0x72, 0x79, 0x73, 0x6d, 0x61, 0x74, 0x69, 0x63, 0x6c, 0x61, 0x62, 0x73, - 0x2f, 0x65, 0x74, 0x68, 0x32, 0x2d, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x56, 0x61, 0x6c, 0x69, - 0x64, 0x61, 0x74, 0x6f, 0x72, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x52, 0x0e, 0x76, 0x61, 0x6c, 0x69, - 0x64, 0x61, 0x74, 0x6f, 0x72, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x22, 0xb7, 0x01, 0x0a, 0x0c, 0x42, - 0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x40, 0x0a, 0x04, 0x73, - 0x6c, 0x6f, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x42, 0x2c, 0xfa, 0xde, 0x1f, 0x28, 0x67, - 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x72, 0x79, 0x73, 0x6d, 0x61, - 0x74, 0x69, 0x63, 0x6c, 0x61, 0x62, 0x73, 0x2f, 0x65, 0x74, 0x68, 0x32, 0x2d, 0x74, 0x79, 0x70, - 0x65, 0x73, 0x2e, 0x53, 0x6c, 0x6f, 0x74, 0x52, 0x04, 0x73, 0x6c, 0x6f, 0x74, 0x12, 0x36, 0x0a, - 0x0d, 0x72, 0x61, 0x6e, 0x64, 0x61, 0x6f, 0x5f, 0x72, 0x65, 0x76, 0x65, 0x61, 0x6c, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x0c, 0x42, 0x11, 0xf2, 0xde, 0x1f, 0x0d, 0x73, 0x73, 0x7a, 0x2d, 0x73, 0x69, - 0x7a, 0x65, 0x3a, 0x22, 0x34, 0x38, 0x22, 0x52, 0x0c, 0x72, 0x61, 0x6e, 0x64, 0x61, 0x6f, 0x52, - 0x65, 0x76, 0x65, 0x61, 0x6c, 0x12, 0x2d, 0x0a, 0x08, 0x67, 0x72, 0x61, 0x66, 0x66, 0x69, 0x74, - 0x69, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x42, 0x11, 0xf2, 0xde, 0x1f, 0x0d, 0x73, 0x73, 0x7a, - 0x2d, 0x73, 0x69, 0x7a, 0x65, 0x3a, 0x22, 0x33, 0x32, 0x22, 0x52, 0x08, 0x67, 0x72, 0x61, 0x66, - 0x66, 0x69, 0x74, 0x69, 0x22, 0x43, 0x0a, 0x0f, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x65, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x30, 0x0a, 0x0a, 0x62, 0x6c, 0x6f, 0x63, 0x6b, - 0x5f, 0x72, 0x6f, 0x6f, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x42, 0x11, 0xf2, 0xde, 0x1f, - 0x0d, 0x73, 0x73, 0x7a, 0x2d, 0x73, 0x69, 0x7a, 0x65, 0x3a, 0x22, 0x33, 0x32, 0x22, 0x52, 0x09, - 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x6f, 0x6f, 0x74, 0x22, 0x45, 0x0a, 0x13, 0x50, 0x72, 0x6f, - 0x70, 0x6f, 0x73, 0x65, 0x45, 0x78, 0x69, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x12, 0x2e, 0x0a, 0x09, 0x65, 0x78, 0x69, 0x74, 0x5f, 0x72, 0x6f, 0x6f, 0x74, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x0c, 0x42, 0x11, 0xf2, 0xde, 0x1f, 0x0d, 0x73, 0x73, 0x7a, 0x2d, 0x73, 0x69, 0x7a, - 0x65, 0x3a, 0x22, 0x33, 0x32, 0x22, 0x52, 0x08, 0x65, 0x78, 0x69, 0x74, 0x52, 0x6f, 0x6f, 0x74, - 0x22, 0xbb, 0x01, 0x0a, 0x16, 0x41, 0x74, 0x74, 0x65, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x44, 0x61, 0x74, 0x61, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x40, 0x0a, 0x04, 0x73, - 0x6c, 0x6f, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x42, 0x2c, 0xfa, 0xde, 0x1f, 0x28, 0x67, - 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x72, 0x79, 0x73, 0x6d, 0x61, - 0x74, 0x69, 0x63, 0x6c, 0x61, 0x62, 0x73, 0x2f, 0x65, 0x74, 0x68, 0x32, 0x2d, 0x74, 0x79, 0x70, - 0x65, 0x73, 0x2e, 0x53, 0x6c, 0x6f, 0x74, 0x52, 0x04, 0x73, 0x6c, 0x6f, 0x74, 0x12, 0x5f, 0x0a, - 0x0f, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x74, 0x65, 0x65, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x42, 0x36, 0xfa, 0xde, 0x1f, 0x32, 0x67, 0x69, 0x74, 0x68, - 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x72, 0x79, 0x73, 0x6d, 0x61, 0x74, 0x69, 0x63, - 0x6c, 0x61, 0x62, 0x73, 0x2f, 0x65, 0x74, 0x68, 0x32, 0x2d, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, - 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x74, 0x65, 0x65, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x52, 0x0e, - 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x74, 0x65, 0x65, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x22, 0x57, - 0x0a, 0x0e, 0x41, 0x74, 0x74, 0x65, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x12, 0x45, 0x0a, 0x15, 0x61, 0x74, 0x74, 0x65, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, - 0x64, 0x61, 0x74, 0x61, 0x5f, 0x72, 0x6f, 0x6f, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x42, - 0x11, 0xf2, 0xde, 0x1f, 0x0d, 0x73, 0x73, 0x7a, 0x2d, 0x73, 0x69, 0x7a, 0x65, 0x3a, 0x22, 0x33, - 0x32, 0x22, 0x52, 0x13, 0x61, 0x74, 0x74, 0x65, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x44, - 0x61, 0x74, 0x61, 0x52, 0x6f, 0x6f, 0x74, 0x22, 0xbd, 0x02, 0x0a, 0x19, 0x41, 0x67, 0x67, 0x72, - 0x65, 0x67, 0x61, 0x74, 0x65, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x40, 0x0a, 0x04, 0x73, 0x6c, 0x6f, 0x74, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x04, 0x42, 0x2c, 0xfa, 0xde, 0x1f, 0x28, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, - 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x72, 0x79, 0x73, 0x6d, 0x61, 0x74, 0x69, 0x63, 0x6c, 0x61, 0x62, - 0x73, 0x2f, 0x65, 0x74, 0x68, 0x32, 0x2d, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x53, 0x6c, 0x6f, - 0x74, 0x52, 0x04, 0x73, 0x6c, 0x6f, 0x74, 0x12, 0x5f, 0x0a, 0x0f, 0x63, 0x6f, 0x6d, 0x6d, 0x69, - 0x74, 0x74, 0x65, 0x65, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, - 0x42, 0x36, 0xfa, 0xde, 0x1f, 0x32, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, - 0x2f, 0x70, 0x72, 0x79, 0x73, 0x6d, 0x61, 0x74, 0x69, 0x63, 0x6c, 0x61, 0x62, 0x73, 0x2f, 0x65, - 0x74, 0x68, 0x32, 0x2d, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, - 0x74, 0x65, 0x65, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x52, 0x0e, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, - 0x74, 0x65, 0x65, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x43, 0x0a, 0x0a, 0x70, 0x75, 0x62, 0x6c, - 0x69, 0x63, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x42, 0x24, 0xf2, 0xde, - 0x1f, 0x20, 0x73, 0x73, 0x7a, 0x2d, 0x73, 0x69, 0x7a, 0x65, 0x3a, 0x22, 0x34, 0x38, 0x22, 0x20, - 0x73, 0x70, 0x65, 0x63, 0x2d, 0x6e, 0x61, 0x6d, 0x65, 0x3a, 0x22, 0x70, 0x75, 0x62, 0x6b, 0x65, - 0x79, 0x22, 0x52, 0x09, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4b, 0x65, 0x79, 0x12, 0x38, 0x0a, - 0x0e, 0x73, 0x6c, 0x6f, 0x74, 0x5f, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x18, - 0x04, 0x20, 0x01, 0x28, 0x0c, 0x42, 0x11, 0xf2, 0xde, 0x1f, 0x0d, 0x73, 0x73, 0x7a, 0x2d, 0x73, - 0x69, 0x7a, 0x65, 0x3a, 0x22, 0x39, 0x36, 0x22, 0x52, 0x0d, 0x73, 0x6c, 0x6f, 0x74, 0x53, 0x69, - 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x22, 0x81, 0x01, 0x0a, 0x1a, 0x41, 0x67, 0x67, 0x72, - 0x65, 0x67, 0x61, 0x74, 0x65, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x63, 0x0a, 0x13, 0x61, 0x67, 0x67, 0x72, 0x65, 0x67, - 0x61, 0x74, 0x65, 0x5f, 0x61, 0x6e, 0x64, 0x5f, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x18, 0x01, 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, 0x52, 0x11, 0x61, 0x67, 0x67, 0x72, 0x65, 0x67, - 0x61, 0x74, 0x65, 0x41, 0x6e, 0x64, 0x50, 0x72, 0x6f, 0x6f, 0x66, 0x22, 0x96, 0x01, 0x0a, 0x1c, - 0x53, 0x69, 0x67, 0x6e, 0x65, 0x64, 0x41, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x65, 0x53, - 0x75, 0x62, 0x6d, 0x69, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x76, 0x0a, 0x1a, - 0x73, 0x69, 0x67, 0x6e, 0x65, 0x64, 0x5f, 0x61, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x65, - 0x5f, 0x61, 0x6e, 0x64, 0x5f, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x39, 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, - 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x53, 0x69, 0x67, 0x6e, 0x65, 0x64, 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, 0x52, 0x17, 0x73, 0x69, 0x67, - 0x6e, 0x65, 0x64, 0x41, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x65, 0x41, 0x6e, 0x64, 0x50, - 0x72, 0x6f, 0x6f, 0x66, 0x22, 0x66, 0x0a, 0x1d, 0x53, 0x69, 0x67, 0x6e, 0x65, 0x64, 0x41, 0x67, - 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x65, 0x53, 0x75, 0x62, 0x6d, 0x69, 0x74, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x45, 0x0a, 0x15, 0x61, 0x74, 0x74, 0x65, 0x73, 0x74, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x72, 0x6f, 0x6f, 0x74, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x0c, 0x42, 0x11, 0xf2, 0xde, 0x1f, 0x0d, 0x73, 0x73, 0x7a, 0x2d, 0x73, 0x69, - 0x7a, 0x65, 0x3a, 0x22, 0x33, 0x32, 0x22, 0x52, 0x13, 0x61, 0x74, 0x74, 0x65, 0x73, 0x74, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x61, 0x74, 0x61, 0x52, 0x6f, 0x6f, 0x74, 0x22, 0xe8, 0x01, 0x0a, - 0x20, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x74, 0x65, 0x65, 0x53, 0x75, 0x62, 0x6e, 0x65, 0x74, - 0x73, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x12, 0x42, 0x0a, 0x05, 0x73, 0x6c, 0x6f, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x04, - 0x42, 0x2c, 0xfa, 0xde, 0x1f, 0x28, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, - 0x2f, 0x70, 0x72, 0x79, 0x73, 0x6d, 0x61, 0x74, 0x69, 0x63, 0x6c, 0x61, 0x62, 0x73, 0x2f, 0x65, - 0x74, 0x68, 0x32, 0x2d, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x53, 0x6c, 0x6f, 0x74, 0x52, 0x05, - 0x73, 0x6c, 0x6f, 0x74, 0x73, 0x12, 0x5b, 0x0a, 0x0d, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x74, - 0x65, 0x65, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x04, 0x42, 0x36, 0xfa, 0xde, - 0x1f, 0x32, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x72, 0x79, - 0x73, 0x6d, 0x61, 0x74, 0x69, 0x63, 0x6c, 0x61, 0x62, 0x73, 0x2f, 0x65, 0x74, 0x68, 0x32, 0x2d, - 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x74, 0x65, 0x65, 0x49, - 0x6e, 0x64, 0x65, 0x78, 0x52, 0x0c, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x74, 0x65, 0x65, 0x49, - 0x64, 0x73, 0x12, 0x23, 0x0a, 0x0d, 0x69, 0x73, 0x5f, 0x61, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, - 0x74, 0x6f, 0x72, 0x18, 0x03, 0x20, 0x03, 0x28, 0x08, 0x52, 0x0c, 0x69, 0x73, 0x41, 0x67, 0x67, - 0x72, 0x65, 0x67, 0x61, 0x74, 0x6f, 0x72, 0x22, 0xd8, 0x04, 0x0a, 0x09, 0x56, 0x61, 0x6c, 0x69, - 0x64, 0x61, 0x74, 0x6f, 0x72, 0x12, 0x43, 0x0a, 0x0a, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x5f, - 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x42, 0x24, 0xf2, 0xde, 0x1f, 0x20, 0x73, - 0x73, 0x7a, 0x2d, 0x73, 0x69, 0x7a, 0x65, 0x3a, 0x22, 0x34, 0x38, 0x22, 0x20, 0x73, 0x70, 0x65, - 0x63, 0x2d, 0x6e, 0x61, 0x6d, 0x65, 0x3a, 0x22, 0x70, 0x75, 0x62, 0x6b, 0x65, 0x79, 0x22, 0x52, - 0x09, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4b, 0x65, 0x79, 0x12, 0x48, 0x0a, 0x16, 0x77, 0x69, - 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x61, 0x6c, 0x5f, 0x63, 0x72, 0x65, 0x64, 0x65, 0x6e, 0x74, - 0x69, 0x61, 0x6c, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x42, 0x11, 0xf2, 0xde, 0x1f, 0x0d, - 0x73, 0x73, 0x7a, 0x2d, 0x73, 0x69, 0x7a, 0x65, 0x3a, 0x22, 0x33, 0x32, 0x22, 0x52, 0x15, 0x77, - 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x61, 0x6c, 0x43, 0x72, 0x65, 0x64, 0x65, 0x6e, 0x74, - 0x69, 0x61, 0x6c, 0x73, 0x12, 0x2b, 0x0a, 0x11, 0x65, 0x66, 0x66, 0x65, 0x63, 0x74, 0x69, 0x76, - 0x65, 0x5f, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, - 0x10, 0x65, 0x66, 0x66, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, - 0x65, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x6c, 0x61, 0x73, 0x68, 0x65, 0x64, 0x18, 0x04, 0x20, 0x01, - 0x28, 0x08, 0x52, 0x07, 0x73, 0x6c, 0x61, 0x73, 0x68, 0x65, 0x64, 0x12, 0x6f, 0x0a, 0x1c, 0x61, - 0x63, 0x74, 0x69, 0x76, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x65, 0x6c, 0x69, 0x67, 0x69, 0x62, - 0x69, 0x6c, 0x69, 0x74, 0x79, 0x5f, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x18, 0x05, 0x20, 0x01, 0x28, - 0x04, 0x42, 0x2d, 0xfa, 0xde, 0x1f, 0x29, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, - 0x6d, 0x2f, 0x70, 0x72, 0x79, 0x73, 0x6d, 0x61, 0x74, 0x69, 0x63, 0x6c, 0x61, 0x62, 0x73, 0x2f, - 0x65, 0x74, 0x68, 0x32, 0x2d, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x45, 0x70, 0x6f, 0x63, 0x68, - 0x52, 0x1a, 0x61, 0x63, 0x74, 0x69, 0x76, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x6c, 0x69, 0x67, - 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x45, 0x70, 0x6f, 0x63, 0x68, 0x12, 0x58, 0x0a, 0x10, - 0x61, 0x63, 0x74, 0x69, 0x76, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x65, 0x70, 0x6f, 0x63, 0x68, - 0x18, 0x06, 0x20, 0x01, 0x28, 0x04, 0x42, 0x2d, 0xfa, 0xde, 0x1f, 0x29, 0x67, 0x69, 0x74, 0x68, - 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x72, 0x79, 0x73, 0x6d, 0x61, 0x74, 0x69, 0x63, - 0x6c, 0x61, 0x62, 0x73, 0x2f, 0x65, 0x74, 0x68, 0x32, 0x2d, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, - 0x45, 0x70, 0x6f, 0x63, 0x68, 0x52, 0x0f, 0x61, 0x63, 0x74, 0x69, 0x76, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x45, 0x70, 0x6f, 0x63, 0x68, 0x12, 0x4c, 0x0a, 0x0a, 0x65, 0x78, 0x69, 0x74, 0x5f, 0x65, - 0x70, 0x6f, 0x63, 0x68, 0x18, 0x07, 0x20, 0x01, 0x28, 0x04, 0x42, 0x2d, 0xfa, 0xde, 0x1f, 0x29, - 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x72, 0x79, 0x73, 0x6d, - 0x61, 0x74, 0x69, 0x63, 0x6c, 0x61, 0x62, 0x73, 0x2f, 0x65, 0x74, 0x68, 0x32, 0x2d, 0x74, 0x79, - 0x70, 0x65, 0x73, 0x2e, 0x45, 0x70, 0x6f, 0x63, 0x68, 0x52, 0x09, 0x65, 0x78, 0x69, 0x74, 0x45, - 0x70, 0x6f, 0x63, 0x68, 0x12, 0x5c, 0x0a, 0x12, 0x77, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, - 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x18, 0x08, 0x20, 0x01, 0x28, 0x04, - 0x42, 0x2d, 0xfa, 0xde, 0x1f, 0x29, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, - 0x2f, 0x70, 0x72, 0x79, 0x73, 0x6d, 0x61, 0x74, 0x69, 0x63, 0x6c, 0x61, 0x62, 0x73, 0x2f, 0x65, - 0x74, 0x68, 0x32, 0x2d, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x45, 0x70, 0x6f, 0x63, 0x68, 0x52, - 0x11, 0x77, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x61, 0x62, 0x6c, 0x65, 0x45, 0x70, 0x6f, - 0x63, 0x68, 0x22, 0x8e, 0x05, 0x0a, 0x16, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, - 0x50, 0x61, 0x72, 0x74, 0x69, 0x63, 0x69, 0x70, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x3e, 0x0a, - 0x19, 0x67, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x5f, 0x70, 0x61, 0x72, 0x74, 0x69, 0x63, 0x69, 0x70, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x72, 0x61, 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x02, - 0x42, 0x02, 0x18, 0x01, 0x52, 0x17, 0x67, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x50, 0x61, 0x72, 0x74, - 0x69, 0x63, 0x69, 0x70, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x61, 0x74, 0x65, 0x12, 0x23, 0x0a, - 0x0b, 0x76, 0x6f, 0x74, 0x65, 0x64, 0x5f, 0x65, 0x74, 0x68, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x04, 0x42, 0x02, 0x18, 0x01, 0x52, 0x0a, 0x76, 0x6f, 0x74, 0x65, 0x64, 0x45, 0x74, 0x68, - 0x65, 0x72, 0x12, 0x29, 0x0a, 0x0e, 0x65, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x6c, 0x65, 0x5f, 0x65, - 0x74, 0x68, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x42, 0x02, 0x18, 0x01, 0x52, 0x0d, - 0x65, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x6c, 0x65, 0x45, 0x74, 0x68, 0x65, 0x72, 0x12, 0x39, 0x0a, - 0x19, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x5f, 0x61, - 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x67, 0x77, 0x65, 0x69, 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, - 0x52, 0x16, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x45, 0x70, 0x6f, 0x63, 0x68, 0x41, 0x63, - 0x74, 0x69, 0x76, 0x65, 0x47, 0x77, 0x65, 0x69, 0x12, 0x3f, 0x0a, 0x1c, 0x63, 0x75, 0x72, 0x72, - 0x65, 0x6e, 0x74, 0x5f, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x5f, 0x61, 0x74, 0x74, 0x65, 0x73, 0x74, - 0x69, 0x6e, 0x67, 0x5f, 0x67, 0x77, 0x65, 0x69, 0x18, 0x05, 0x20, 0x01, 0x28, 0x04, 0x52, 0x19, - 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x45, 0x70, 0x6f, 0x63, 0x68, 0x41, 0x74, 0x74, 0x65, - 0x73, 0x74, 0x69, 0x6e, 0x67, 0x47, 0x77, 0x65, 0x69, 0x12, 0x4c, 0x0a, 0x23, 0x63, 0x75, 0x72, - 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x5f, 0x74, 0x61, 0x72, 0x67, 0x65, - 0x74, 0x5f, 0x61, 0x74, 0x74, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x5f, 0x67, 0x77, 0x65, 0x69, - 0x18, 0x06, 0x20, 0x01, 0x28, 0x04, 0x52, 0x1f, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x45, - 0x70, 0x6f, 0x63, 0x68, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x41, 0x74, 0x74, 0x65, 0x73, 0x74, - 0x69, 0x6e, 0x67, 0x47, 0x77, 0x65, 0x69, 0x12, 0x3b, 0x0a, 0x1a, 0x70, 0x72, 0x65, 0x76, 0x69, - 0x6f, 0x75, 0x73, 0x5f, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x5f, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, - 0x5f, 0x67, 0x77, 0x65, 0x69, 0x18, 0x07, 0x20, 0x01, 0x28, 0x04, 0x52, 0x17, 0x70, 0x72, 0x65, - 0x76, 0x69, 0x6f, 0x75, 0x73, 0x45, 0x70, 0x6f, 0x63, 0x68, 0x41, 0x63, 0x74, 0x69, 0x76, 0x65, - 0x47, 0x77, 0x65, 0x69, 0x12, 0x41, 0x0a, 0x1d, 0x70, 0x72, 0x65, 0x76, 0x69, 0x6f, 0x75, 0x73, - 0x5f, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x5f, 0x61, 0x74, 0x74, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x67, - 0x5f, 0x67, 0x77, 0x65, 0x69, 0x18, 0x08, 0x20, 0x01, 0x28, 0x04, 0x52, 0x1a, 0x70, 0x72, 0x65, - 0x76, 0x69, 0x6f, 0x75, 0x73, 0x45, 0x70, 0x6f, 0x63, 0x68, 0x41, 0x74, 0x74, 0x65, 0x73, 0x74, - 0x69, 0x6e, 0x67, 0x47, 0x77, 0x65, 0x69, 0x12, 0x4e, 0x0a, 0x24, 0x70, 0x72, 0x65, 0x76, 0x69, - 0x6f, 0x75, 0x73, 0x5f, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x5f, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, - 0x5f, 0x61, 0x74, 0x74, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x5f, 0x67, 0x77, 0x65, 0x69, 0x18, - 0x09, 0x20, 0x01, 0x28, 0x04, 0x52, 0x20, 0x70, 0x72, 0x65, 0x76, 0x69, 0x6f, 0x75, 0x73, 0x45, - 0x70, 0x6f, 0x63, 0x68, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x41, 0x74, 0x74, 0x65, 0x73, 0x74, - 0x69, 0x6e, 0x67, 0x47, 0x77, 0x65, 0x69, 0x12, 0x4a, 0x0a, 0x22, 0x70, 0x72, 0x65, 0x76, 0x69, - 0x6f, 0x75, 0x73, 0x5f, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x5f, 0x68, 0x65, 0x61, 0x64, 0x5f, 0x61, - 0x74, 0x74, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x5f, 0x67, 0x77, 0x65, 0x69, 0x18, 0x0a, 0x20, - 0x01, 0x28, 0x04, 0x52, 0x1e, 0x70, 0x72, 0x65, 0x76, 0x69, 0x6f, 0x75, 0x73, 0x45, 0x70, 0x6f, - 0x63, 0x68, 0x48, 0x65, 0x61, 0x64, 0x41, 0x74, 0x74, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x47, - 0x77, 0x65, 0x69, 0x22, 0xfb, 0x02, 0x0a, 0x0d, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, - 0x72, 0x49, 0x6e, 0x66, 0x6f, 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, 0x4c, 0x0a, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x04, 0x42, 0x36, 0xfa, 0xde, 0x1f, 0x32, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, - 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x72, 0x79, 0x73, 0x6d, 0x61, 0x74, 0x69, 0x63, 0x6c, 0x61, 0x62, - 0x73, 0x2f, 0x65, 0x74, 0x68, 0x32, 0x2d, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x56, 0x61, 0x6c, - 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x52, 0x05, 0x69, 0x6e, 0x64, - 0x65, 0x78, 0x12, 0x43, 0x0a, 0x05, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x18, 0x03, 0x20, 0x01, 0x28, - 0x04, 0x42, 0x2d, 0xfa, 0xde, 0x1f, 0x29, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, - 0x6d, 0x2f, 0x70, 0x72, 0x79, 0x73, 0x6d, 0x61, 0x74, 0x69, 0x63, 0x6c, 0x61, 0x62, 0x73, 0x2f, - 0x65, 0x74, 0x68, 0x32, 0x2d, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x45, 0x70, 0x6f, 0x63, 0x68, - 0x52, 0x05, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x12, 0x3e, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, - 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 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, - 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, - 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x31, 0x0a, 0x14, 0x74, 0x72, 0x61, 0x6e, 0x73, - 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, - 0x05, 0x20, 0x01, 0x28, 0x04, 0x52, 0x13, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x69, 0x74, 0x69, 0x6f, - 0x6e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x62, 0x61, - 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x62, 0x61, 0x6c, - 0x61, 0x6e, 0x63, 0x65, 0x12, 0x2b, 0x0a, 0x11, 0x65, 0x66, 0x66, 0x65, 0x63, 0x74, 0x69, 0x76, - 0x65, 0x5f, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x04, 0x52, - 0x10, 0x65, 0x66, 0x66, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, - 0x65, 0x2a, 0x9a, 0x01, 0x0a, 0x0f, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x53, - 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x12, 0x0a, 0x0e, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, - 0x5f, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, 0x10, 0x00, 0x12, 0x0d, 0x0a, 0x09, 0x44, 0x45, 0x50, - 0x4f, 0x53, 0x49, 0x54, 0x45, 0x44, 0x10, 0x01, 0x12, 0x0b, 0x0a, 0x07, 0x50, 0x45, 0x4e, 0x44, - 0x49, 0x4e, 0x47, 0x10, 0x02, 0x12, 0x0a, 0x0a, 0x06, 0x41, 0x43, 0x54, 0x49, 0x56, 0x45, 0x10, - 0x03, 0x12, 0x0b, 0x0a, 0x07, 0x45, 0x58, 0x49, 0x54, 0x49, 0x4e, 0x47, 0x10, 0x04, 0x12, 0x0c, - 0x0a, 0x08, 0x53, 0x4c, 0x41, 0x53, 0x48, 0x49, 0x4e, 0x47, 0x10, 0x05, 0x12, 0x0a, 0x0a, 0x06, - 0x45, 0x58, 0x49, 0x54, 0x45, 0x44, 0x10, 0x06, 0x12, 0x0b, 0x0a, 0x07, 0x49, 0x4e, 0x56, 0x41, - 0x4c, 0x49, 0x44, 0x10, 0x07, 0x12, 0x17, 0x0a, 0x13, 0x50, 0x41, 0x52, 0x54, 0x49, 0x41, 0x4c, - 0x4c, 0x59, 0x5f, 0x44, 0x45, 0x50, 0x4f, 0x53, 0x49, 0x54, 0x45, 0x44, 0x10, 0x08, 0x32, 0xb6, - 0x13, 0x0a, 0x13, 0x42, 0x65, 0x61, 0x63, 0x6f, 0x6e, 0x4e, 0x6f, 0x64, 0x65, 0x56, 0x61, 0x6c, - 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x12, 0x80, 0x01, 0x0a, 0x09, 0x47, 0x65, 0x74, 0x44, 0x75, - 0x74, 0x69, 0x65, 0x73, 0x12, 0x24, 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, - 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x44, 0x75, 0x74, - 0x69, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x25, 0x2e, 0x65, 0x74, 0x68, - 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, - 0x61, 0x31, 0x2e, 0x44, 0x75, 0x74, 0x69, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x22, 0x26, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x20, 0x12, 0x1e, 0x2f, 0x65, 0x74, 0x68, 0x2f, - 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, - 0x6f, 0x72, 0x2f, 0x64, 0x75, 0x74, 0x69, 0x65, 0x73, 0x12, 0x8c, 0x01, 0x0a, 0x0c, 0x53, 0x74, - 0x72, 0x65, 0x61, 0x6d, 0x44, 0x75, 0x74, 0x69, 0x65, 0x73, 0x12, 0x24, 0x2e, 0x65, 0x74, 0x68, - 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, - 0x61, 0x31, 0x2e, 0x44, 0x75, 0x74, 0x69, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x1a, 0x25, 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, - 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x44, 0x75, 0x74, 0x69, 0x65, 0x73, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x2d, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x27, 0x12, - 0x25, 0x2f, 0x65, 0x74, 0x68, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2f, 0x76, - 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x2f, 0x64, 0x75, 0x74, 0x69, 0x65, 0x73, 0x2f, - 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x30, 0x01, 0x12, 0x81, 0x01, 0x0a, 0x0a, 0x44, 0x6f, 0x6d, - 0x61, 0x69, 0x6e, 0x44, 0x61, 0x74, 0x61, 0x12, 0x24, 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, - 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, - 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x25, 0x2e, - 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x61, - 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x26, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x20, 0x12, 0x1e, 0x2f, 0x65, - 0x74, 0x68, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2f, 0x76, 0x61, 0x6c, 0x69, - 0x64, 0x61, 0x74, 0x6f, 0x72, 0x2f, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x12, 0x8e, 0x01, 0x0a, - 0x11, 0x57, 0x61, 0x69, 0x74, 0x46, 0x6f, 0x72, 0x43, 0x68, 0x61, 0x69, 0x6e, 0x53, 0x74, 0x61, - 0x72, 0x74, 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, 0x29, 0x2e, 0x65, 0x74, 0x68, - 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, - 0x61, 0x31, 0x2e, 0x43, 0x68, 0x61, 0x69, 0x6e, 0x53, 0x74, 0x61, 0x72, 0x74, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x34, 0x88, 0x02, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2b, - 0x12, 0x29, 0x2f, 0x65, 0x74, 0x68, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2f, - 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x2f, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x73, - 0x74, 0x61, 0x72, 0x74, 0x2f, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x30, 0x01, 0x12, 0xaf, 0x01, - 0x0a, 0x11, 0x57, 0x61, 0x69, 0x74, 0x46, 0x6f, 0x72, 0x41, 0x63, 0x74, 0x69, 0x76, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x12, 0x31, 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, - 0x74, 0x68, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x56, 0x61, 0x6c, 0x69, - 0x64, 0x61, 0x74, 0x6f, 0x72, 0x41, 0x63, 0x74, 0x69, 0x76, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x32, 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, - 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x56, - 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x41, 0x63, 0x74, 0x69, 0x76, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x31, 0x82, 0xd3, 0xe4, 0x93, - 0x02, 0x2b, 0x12, 0x29, 0x2f, 0x65, 0x74, 0x68, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, - 0x31, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x2f, 0x61, 0x63, 0x74, 0x69, - 0x76, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x30, 0x01, 0x12, - 0x94, 0x01, 0x0a, 0x0e, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x49, 0x6e, 0x64, - 0x65, 0x78, 0x12, 0x2c, 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, - 0x68, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x56, 0x61, 0x6c, 0x69, 0x64, - 0x61, 0x74, 0x6f, 0x72, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x1a, 0x2d, 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, - 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, - 0x6f, 0x72, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, - 0x25, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1f, 0x12, 0x1d, 0x2f, 0x65, 0x74, 0x68, 0x2f, 0x76, 0x31, - 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, - 0x2f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x98, 0x01, 0x0a, 0x0f, 0x56, 0x61, 0x6c, 0x69, 0x64, - 0x61, 0x74, 0x6f, 0x72, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x2d, 0x2e, 0x65, 0x74, 0x68, - 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, - 0x61, 0x31, 0x2e, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x53, 0x74, 0x61, 0x74, - 0x75, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2e, 0x2e, 0x65, 0x74, 0x68, 0x65, - 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, - 0x31, 0x2e, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x53, 0x74, 0x61, 0x74, 0x75, - 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x26, 0x82, 0xd3, 0xe4, 0x93, 0x02, - 0x20, 0x12, 0x1e, 0x2f, 0x65, 0x74, 0x68, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, - 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x75, - 0x73, 0x12, 0xb2, 0x01, 0x0a, 0x17, 0x4d, 0x75, 0x6c, 0x74, 0x69, 0x70, 0x6c, 0x65, 0x56, 0x61, - 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x35, 0x2e, - 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x61, - 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4d, 0x75, 0x6c, 0x74, 0x69, 0x70, 0x6c, 0x65, 0x56, 0x61, - 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x1a, 0x36, 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, - 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4d, 0x75, 0x6c, - 0x74, 0x69, 0x70, 0x6c, 0x65, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x53, 0x74, - 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x28, 0x82, 0xd3, - 0xe4, 0x93, 0x02, 0x22, 0x12, 0x20, 0x2f, 0x65, 0x74, 0x68, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, - 0x68, 0x61, 0x31, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x2f, 0x73, 0x74, - 0x61, 0x74, 0x75, 0x73, 0x65, 0x73, 0x12, 0x7a, 0x0a, 0x08, 0x47, 0x65, 0x74, 0x42, 0x6c, 0x6f, - 0x63, 0x6b, 0x12, 0x23, 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, - 0x68, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 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, 0x22, 0x25, 0x82, 0xd3, 0xe4, - 0x93, 0x02, 0x1f, 0x12, 0x1d, 0x2f, 0x65, 0x74, 0x68, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, - 0x61, 0x31, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x2f, 0x62, 0x6c, 0x6f, - 0x63, 0x6b, 0x12, 0x8a, 0x01, 0x0a, 0x0c, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x65, 0x42, 0x6c, - 0x6f, 0x63, 0x6b, 0x12, 0x28, 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, - 0x74, 0x68, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x53, 0x69, 0x67, 0x6e, - 0x65, 0x64, 0x42, 0x65, 0x61, 0x63, 0x6f, 0x6e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x1a, 0x26, 0x2e, - 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x61, - 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x65, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x28, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x22, 0x22, 0x1d, 0x2f, - 0x65, 0x74, 0x68, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2f, 0x76, 0x61, 0x6c, - 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x2f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x3a, 0x01, 0x2a, 0x12, - 0x98, 0x01, 0x0a, 0x12, 0x47, 0x65, 0x74, 0x41, 0x74, 0x74, 0x65, 0x73, 0x74, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x44, 0x61, 0x74, 0x61, 0x12, 0x2d, 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, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 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, 0x22, 0x2b, 0x82, - 0xd3, 0xe4, 0x93, 0x02, 0x25, 0x12, 0x23, 0x2f, 0x65, 0x74, 0x68, 0x2f, 0x76, 0x31, 0x61, 0x6c, - 0x70, 0x68, 0x61, 0x31, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x2f, 0x61, - 0x74, 0x74, 0x65, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x8f, 0x01, 0x0a, 0x12, 0x50, - 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x65, 0x41, 0x74, 0x74, 0x65, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x12, 0x22, 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, 0x1a, 0x25, 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, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x2e, 0x82, 0xd3, - 0xe4, 0x93, 0x02, 0x28, 0x22, 0x23, 0x2f, 0x65, 0x74, 0x68, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, - 0x68, 0x61, 0x31, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x2f, 0x61, 0x74, - 0x74, 0x65, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x3a, 0x01, 0x2a, 0x12, 0xb2, 0x01, 0x0a, - 0x1d, 0x53, 0x75, 0x62, 0x6d, 0x69, 0x74, 0x41, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x65, - 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x6f, 0x6f, 0x66, 0x12, 0x30, - 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, - 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x1a, 0x31, 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, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x22, 0x2c, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x26, 0x22, 0x21, 0x2f, 0x65, 0x74, - 0x68, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, - 0x61, 0x74, 0x6f, 0x72, 0x2f, 0x61, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x65, 0x3a, 0x01, - 0x2a, 0x12, 0xbe, 0x01, 0x0a, 0x23, 0x53, 0x75, 0x62, 0x6d, 0x69, 0x74, 0x53, 0x69, 0x67, 0x6e, - 0x65, 0x64, 0x41, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x65, 0x53, 0x65, 0x6c, 0x65, 0x63, - 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x6f, 0x6f, 0x66, 0x12, 0x33, 0x2e, 0x65, 0x74, 0x68, 0x65, - 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, - 0x31, 0x2e, 0x53, 0x69, 0x67, 0x6e, 0x65, 0x64, 0x41, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, - 0x65, 0x53, 0x75, 0x62, 0x6d, 0x69, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x34, - 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, - 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x53, 0x69, 0x67, 0x6e, 0x65, 0x64, 0x41, 0x67, 0x67, - 0x72, 0x65, 0x67, 0x61, 0x74, 0x65, 0x53, 0x75, 0x62, 0x6d, 0x69, 0x74, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x2c, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x26, 0x22, 0x21, 0x2f, 0x65, - 0x74, 0x68, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2f, 0x76, 0x61, 0x6c, 0x69, - 0x64, 0x61, 0x74, 0x6f, 0x72, 0x2f, 0x61, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x65, 0x3a, - 0x01, 0x2a, 0x12, 0x8e, 0x01, 0x0a, 0x0b, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x65, 0x45, 0x78, - 0x69, 0x74, 0x12, 0x2a, 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, - 0x68, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x53, 0x69, 0x67, 0x6e, 0x65, - 0x64, 0x56, 0x6f, 0x6c, 0x75, 0x6e, 0x74, 0x61, 0x72, 0x79, 0x45, 0x78, 0x69, 0x74, 0x1a, 0x2a, - 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, - 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x65, 0x45, 0x78, - 0x69, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x27, 0x82, 0xd3, 0xe4, 0x93, - 0x02, 0x21, 0x22, 0x1c, 0x2f, 0x65, 0x74, 0x68, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, - 0x31, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x2f, 0x65, 0x78, 0x69, 0x74, - 0x3a, 0x01, 0x2a, 0x12, 0xa1, 0x01, 0x0a, 0x19, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x62, - 0x65, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x74, 0x65, 0x65, 0x53, 0x75, 0x62, 0x6e, 0x65, 0x74, - 0x73, 0x12, 0x37, 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, - 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, - 0x74, 0x65, 0x65, 0x53, 0x75, 0x62, 0x6e, 0x65, 0x74, 0x73, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, - 0x69, 0x62, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, - 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, - 0x74, 0x79, 0x22, 0x33, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2d, 0x22, 0x28, 0x2f, 0x65, 0x74, 0x68, - 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, - 0x74, 0x6f, 0x72, 0x2f, 0x73, 0x75, 0x62, 0x6e, 0x65, 0x74, 0x2f, 0x73, 0x75, 0x62, 0x73, 0x63, - 0x72, 0x69, 0x62, 0x65, 0x3a, 0x01, 0x2a, 0x42, 0x95, 0x01, 0x0a, 0x19, 0x6f, 0x72, 0x67, 0x2e, - 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x61, - 0x6c, 0x70, 0x68, 0x61, 0x31, 0x42, 0x0e, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, - 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x36, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, - 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x72, 0x79, 0x73, 0x6d, 0x61, 0x74, 0x69, 0x63, 0x6c, 0x61, 0x62, - 0x73, 0x2f, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x65, - 0x74, 0x68, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x3b, 0x65, 0x74, 0x68, 0xaa, - 0x02, 0x15, 0x45, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x45, 0x74, 0x68, 0x2e, 0x76, - 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xca, 0x02, 0x15, 0x45, 0x74, 0x68, 0x65, 0x72, 0x65, - 0x75, 0x6d, 0x5c, 0x45, 0x74, 0x68, 0x5c, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x62, - 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var ( - file_eth_v1alpha1_validator_proto_rawDescOnce sync.Once - file_eth_v1alpha1_validator_proto_rawDescData = file_eth_v1alpha1_validator_proto_rawDesc -) - -func file_eth_v1alpha1_validator_proto_rawDescGZIP() []byte { - file_eth_v1alpha1_validator_proto_rawDescOnce.Do(func() { - file_eth_v1alpha1_validator_proto_rawDescData = protoimpl.X.CompressGZIP(file_eth_v1alpha1_validator_proto_rawDescData) - }) - return file_eth_v1alpha1_validator_proto_rawDescData -} - -var file_eth_v1alpha1_validator_proto_enumTypes = make([]protoimpl.EnumInfo, 1) -var file_eth_v1alpha1_validator_proto_msgTypes = make([]protoimpl.MessageInfo, 29) -var file_eth_v1alpha1_validator_proto_goTypes = []interface{}{ - (ValidatorStatus)(0), // 0: ethereum.eth.v1alpha1.ValidatorStatus - (*DomainRequest)(nil), // 1: ethereum.eth.v1alpha1.DomainRequest - (*DomainResponse)(nil), // 2: ethereum.eth.v1alpha1.DomainResponse - (*ValidatorActivationRequest)(nil), // 3: ethereum.eth.v1alpha1.ValidatorActivationRequest - (*ValidatorActivationResponse)(nil), // 4: ethereum.eth.v1alpha1.ValidatorActivationResponse - (*ChainStartResponse)(nil), // 5: ethereum.eth.v1alpha1.ChainStartResponse - (*SyncedResponse)(nil), // 6: ethereum.eth.v1alpha1.SyncedResponse - (*ValidatorIndexRequest)(nil), // 7: ethereum.eth.v1alpha1.ValidatorIndexRequest - (*ValidatorIndexResponse)(nil), // 8: ethereum.eth.v1alpha1.ValidatorIndexResponse - (*ValidatorStatusRequest)(nil), // 9: ethereum.eth.v1alpha1.ValidatorStatusRequest - (*ValidatorStatusResponse)(nil), // 10: ethereum.eth.v1alpha1.ValidatorStatusResponse - (*MultipleValidatorStatusRequest)(nil), // 11: ethereum.eth.v1alpha1.MultipleValidatorStatusRequest - (*MultipleValidatorStatusResponse)(nil), // 12: ethereum.eth.v1alpha1.MultipleValidatorStatusResponse - (*DutiesRequest)(nil), // 13: ethereum.eth.v1alpha1.DutiesRequest - (*DutiesResponse)(nil), // 14: ethereum.eth.v1alpha1.DutiesResponse - (*BlockRequest)(nil), // 15: ethereum.eth.v1alpha1.BlockRequest - (*ProposeResponse)(nil), // 16: ethereum.eth.v1alpha1.ProposeResponse - (*ProposeExitResponse)(nil), // 17: ethereum.eth.v1alpha1.ProposeExitResponse - (*AttestationDataRequest)(nil), // 18: ethereum.eth.v1alpha1.AttestationDataRequest - (*AttestResponse)(nil), // 19: ethereum.eth.v1alpha1.AttestResponse - (*AggregateSelectionRequest)(nil), // 20: ethereum.eth.v1alpha1.AggregateSelectionRequest - (*AggregateSelectionResponse)(nil), // 21: ethereum.eth.v1alpha1.AggregateSelectionResponse - (*SignedAggregateSubmitRequest)(nil), // 22: ethereum.eth.v1alpha1.SignedAggregateSubmitRequest - (*SignedAggregateSubmitResponse)(nil), // 23: ethereum.eth.v1alpha1.SignedAggregateSubmitResponse - (*CommitteeSubnetsSubscribeRequest)(nil), // 24: ethereum.eth.v1alpha1.CommitteeSubnetsSubscribeRequest - (*Validator)(nil), // 25: ethereum.eth.v1alpha1.Validator - (*ValidatorParticipation)(nil), // 26: ethereum.eth.v1alpha1.ValidatorParticipation - (*ValidatorInfo)(nil), // 27: ethereum.eth.v1alpha1.ValidatorInfo - (*ValidatorActivationResponse_Status)(nil), // 28: ethereum.eth.v1alpha1.ValidatorActivationResponse.Status - (*DutiesResponse_Duty)(nil), // 29: ethereum.eth.v1alpha1.DutiesResponse.Duty - (*AggregateAttestationAndProof)(nil), // 30: ethereum.eth.v1alpha1.AggregateAttestationAndProof - (*SignedAggregateAttestationAndProof)(nil), // 31: ethereum.eth.v1alpha1.SignedAggregateAttestationAndProof - (*empty.Empty)(nil), // 32: google.protobuf.Empty - (*SignedBeaconBlock)(nil), // 33: ethereum.eth.v1alpha1.SignedBeaconBlock - (*Attestation)(nil), // 34: ethereum.eth.v1alpha1.Attestation - (*SignedVoluntaryExit)(nil), // 35: ethereum.eth.v1alpha1.SignedVoluntaryExit - (*BeaconBlock)(nil), // 36: ethereum.eth.v1alpha1.BeaconBlock - (*AttestationData)(nil), // 37: ethereum.eth.v1alpha1.AttestationData -} -var file_eth_v1alpha1_validator_proto_depIdxs = []int32{ - 28, // 0: ethereum.eth.v1alpha1.ValidatorActivationResponse.statuses:type_name -> ethereum.eth.v1alpha1.ValidatorActivationResponse.Status - 0, // 1: ethereum.eth.v1alpha1.ValidatorStatusResponse.status:type_name -> ethereum.eth.v1alpha1.ValidatorStatus - 10, // 2: ethereum.eth.v1alpha1.MultipleValidatorStatusResponse.statuses:type_name -> ethereum.eth.v1alpha1.ValidatorStatusResponse - 29, // 3: ethereum.eth.v1alpha1.DutiesResponse.duties:type_name -> ethereum.eth.v1alpha1.DutiesResponse.Duty - 29, // 4: ethereum.eth.v1alpha1.DutiesResponse.current_epoch_duties:type_name -> ethereum.eth.v1alpha1.DutiesResponse.Duty - 29, // 5: ethereum.eth.v1alpha1.DutiesResponse.next_epoch_duties:type_name -> ethereum.eth.v1alpha1.DutiesResponse.Duty - 30, // 6: ethereum.eth.v1alpha1.AggregateSelectionResponse.aggregate_and_proof:type_name -> ethereum.eth.v1alpha1.AggregateAttestationAndProof - 31, // 7: ethereum.eth.v1alpha1.SignedAggregateSubmitRequest.signed_aggregate_and_proof:type_name -> ethereum.eth.v1alpha1.SignedAggregateAttestationAndProof - 0, // 8: ethereum.eth.v1alpha1.ValidatorInfo.status:type_name -> ethereum.eth.v1alpha1.ValidatorStatus - 10, // 9: ethereum.eth.v1alpha1.ValidatorActivationResponse.Status.status:type_name -> ethereum.eth.v1alpha1.ValidatorStatusResponse - 0, // 10: ethereum.eth.v1alpha1.DutiesResponse.Duty.status:type_name -> ethereum.eth.v1alpha1.ValidatorStatus - 13, // 11: ethereum.eth.v1alpha1.BeaconNodeValidator.GetDuties:input_type -> ethereum.eth.v1alpha1.DutiesRequest - 13, // 12: ethereum.eth.v1alpha1.BeaconNodeValidator.StreamDuties:input_type -> ethereum.eth.v1alpha1.DutiesRequest - 1, // 13: ethereum.eth.v1alpha1.BeaconNodeValidator.DomainData:input_type -> ethereum.eth.v1alpha1.DomainRequest - 32, // 14: ethereum.eth.v1alpha1.BeaconNodeValidator.WaitForChainStart:input_type -> google.protobuf.Empty - 3, // 15: ethereum.eth.v1alpha1.BeaconNodeValidator.WaitForActivation:input_type -> ethereum.eth.v1alpha1.ValidatorActivationRequest - 7, // 16: ethereum.eth.v1alpha1.BeaconNodeValidator.ValidatorIndex:input_type -> ethereum.eth.v1alpha1.ValidatorIndexRequest - 9, // 17: ethereum.eth.v1alpha1.BeaconNodeValidator.ValidatorStatus:input_type -> ethereum.eth.v1alpha1.ValidatorStatusRequest - 11, // 18: ethereum.eth.v1alpha1.BeaconNodeValidator.MultipleValidatorStatus:input_type -> ethereum.eth.v1alpha1.MultipleValidatorStatusRequest - 15, // 19: ethereum.eth.v1alpha1.BeaconNodeValidator.GetBlock:input_type -> ethereum.eth.v1alpha1.BlockRequest - 33, // 20: ethereum.eth.v1alpha1.BeaconNodeValidator.ProposeBlock:input_type -> ethereum.eth.v1alpha1.SignedBeaconBlock - 18, // 21: ethereum.eth.v1alpha1.BeaconNodeValidator.GetAttestationData:input_type -> ethereum.eth.v1alpha1.AttestationDataRequest - 34, // 22: ethereum.eth.v1alpha1.BeaconNodeValidator.ProposeAttestation:input_type -> ethereum.eth.v1alpha1.Attestation - 20, // 23: ethereum.eth.v1alpha1.BeaconNodeValidator.SubmitAggregateSelectionProof:input_type -> ethereum.eth.v1alpha1.AggregateSelectionRequest - 22, // 24: ethereum.eth.v1alpha1.BeaconNodeValidator.SubmitSignedAggregateSelectionProof:input_type -> ethereum.eth.v1alpha1.SignedAggregateSubmitRequest - 35, // 25: ethereum.eth.v1alpha1.BeaconNodeValidator.ProposeExit:input_type -> ethereum.eth.v1alpha1.SignedVoluntaryExit - 24, // 26: ethereum.eth.v1alpha1.BeaconNodeValidator.SubscribeCommitteeSubnets:input_type -> ethereum.eth.v1alpha1.CommitteeSubnetsSubscribeRequest - 14, // 27: ethereum.eth.v1alpha1.BeaconNodeValidator.GetDuties:output_type -> ethereum.eth.v1alpha1.DutiesResponse - 14, // 28: ethereum.eth.v1alpha1.BeaconNodeValidator.StreamDuties:output_type -> ethereum.eth.v1alpha1.DutiesResponse - 2, // 29: ethereum.eth.v1alpha1.BeaconNodeValidator.DomainData:output_type -> ethereum.eth.v1alpha1.DomainResponse - 5, // 30: ethereum.eth.v1alpha1.BeaconNodeValidator.WaitForChainStart:output_type -> ethereum.eth.v1alpha1.ChainStartResponse - 4, // 31: ethereum.eth.v1alpha1.BeaconNodeValidator.WaitForActivation:output_type -> ethereum.eth.v1alpha1.ValidatorActivationResponse - 8, // 32: ethereum.eth.v1alpha1.BeaconNodeValidator.ValidatorIndex:output_type -> ethereum.eth.v1alpha1.ValidatorIndexResponse - 10, // 33: ethereum.eth.v1alpha1.BeaconNodeValidator.ValidatorStatus:output_type -> ethereum.eth.v1alpha1.ValidatorStatusResponse - 12, // 34: ethereum.eth.v1alpha1.BeaconNodeValidator.MultipleValidatorStatus:output_type -> ethereum.eth.v1alpha1.MultipleValidatorStatusResponse - 36, // 35: ethereum.eth.v1alpha1.BeaconNodeValidator.GetBlock:output_type -> ethereum.eth.v1alpha1.BeaconBlock - 16, // 36: ethereum.eth.v1alpha1.BeaconNodeValidator.ProposeBlock:output_type -> ethereum.eth.v1alpha1.ProposeResponse - 37, // 37: ethereum.eth.v1alpha1.BeaconNodeValidator.GetAttestationData:output_type -> ethereum.eth.v1alpha1.AttestationData - 19, // 38: ethereum.eth.v1alpha1.BeaconNodeValidator.ProposeAttestation:output_type -> ethereum.eth.v1alpha1.AttestResponse - 21, // 39: ethereum.eth.v1alpha1.BeaconNodeValidator.SubmitAggregateSelectionProof:output_type -> ethereum.eth.v1alpha1.AggregateSelectionResponse - 23, // 40: ethereum.eth.v1alpha1.BeaconNodeValidator.SubmitSignedAggregateSelectionProof:output_type -> ethereum.eth.v1alpha1.SignedAggregateSubmitResponse - 17, // 41: ethereum.eth.v1alpha1.BeaconNodeValidator.ProposeExit:output_type -> ethereum.eth.v1alpha1.ProposeExitResponse - 32, // 42: ethereum.eth.v1alpha1.BeaconNodeValidator.SubscribeCommitteeSubnets:output_type -> google.protobuf.Empty - 27, // [27:43] is the sub-list for method output_type - 11, // [11:27] is the sub-list for method input_type - 11, // [11:11] is the sub-list for extension type_name - 11, // [11:11] is the sub-list for extension extendee - 0, // [0:11] is the sub-list for field type_name -} - -func init() { file_eth_v1alpha1_validator_proto_init() } -func file_eth_v1alpha1_validator_proto_init() { - if File_eth_v1alpha1_validator_proto != nil { - return - } - file_eth_v1alpha1_beacon_block_proto_init() - file_eth_v1alpha1_attestation_proto_init() - if !protoimpl.UnsafeEnabled { - file_eth_v1alpha1_validator_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DomainRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_eth_v1alpha1_validator_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DomainResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_eth_v1alpha1_validator_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ValidatorActivationRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_eth_v1alpha1_validator_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ValidatorActivationResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_eth_v1alpha1_validator_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ChainStartResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_eth_v1alpha1_validator_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SyncedResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_eth_v1alpha1_validator_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ValidatorIndexRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_eth_v1alpha1_validator_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ValidatorIndexResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_eth_v1alpha1_validator_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ValidatorStatusRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_eth_v1alpha1_validator_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ValidatorStatusResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_eth_v1alpha1_validator_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MultipleValidatorStatusRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_eth_v1alpha1_validator_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MultipleValidatorStatusResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_eth_v1alpha1_validator_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DutiesRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_eth_v1alpha1_validator_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DutiesResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_eth_v1alpha1_validator_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*BlockRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_eth_v1alpha1_validator_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ProposeResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_eth_v1alpha1_validator_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ProposeExitResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_eth_v1alpha1_validator_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AttestationDataRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_eth_v1alpha1_validator_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AttestResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_eth_v1alpha1_validator_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AggregateSelectionRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_eth_v1alpha1_validator_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AggregateSelectionResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_eth_v1alpha1_validator_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SignedAggregateSubmitRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_eth_v1alpha1_validator_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SignedAggregateSubmitResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_eth_v1alpha1_validator_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CommitteeSubnetsSubscribeRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_eth_v1alpha1_validator_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Validator); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_eth_v1alpha1_validator_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ValidatorParticipation); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_eth_v1alpha1_validator_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ValidatorInfo); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_eth_v1alpha1_validator_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ValidatorActivationResponse_Status); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_eth_v1alpha1_validator_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DutiesResponse_Duty); 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_eth_v1alpha1_validator_proto_rawDesc, - NumEnums: 1, - NumMessages: 29, - NumExtensions: 0, - NumServices: 1, - }, - GoTypes: file_eth_v1alpha1_validator_proto_goTypes, - DependencyIndexes: file_eth_v1alpha1_validator_proto_depIdxs, - EnumInfos: file_eth_v1alpha1_validator_proto_enumTypes, - MessageInfos: file_eth_v1alpha1_validator_proto_msgTypes, - }.Build() - File_eth_v1alpha1_validator_proto = out.File - file_eth_v1alpha1_validator_proto_rawDesc = nil - file_eth_v1alpha1_validator_proto_goTypes = nil - file_eth_v1alpha1_validator_proto_depIdxs = nil -} - -// Reference imports to suppress errors if they are not otherwise used. -var _ context.Context -var _ grpc.ClientConnInterface - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the grpc package it is being compiled against. -const _ = grpc.SupportPackageIsVersion6 - -// BeaconNodeValidatorClient is the client API for BeaconNodeValidator service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type BeaconNodeValidatorClient interface { - GetDuties(ctx context.Context, in *DutiesRequest, opts ...grpc.CallOption) (*DutiesResponse, error) - StreamDuties(ctx context.Context, in *DutiesRequest, opts ...grpc.CallOption) (BeaconNodeValidator_StreamDutiesClient, error) - DomainData(ctx context.Context, in *DomainRequest, opts ...grpc.CallOption) (*DomainResponse, error) - // Deprecated: Do not use. - WaitForChainStart(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (BeaconNodeValidator_WaitForChainStartClient, error) - WaitForActivation(ctx context.Context, in *ValidatorActivationRequest, opts ...grpc.CallOption) (BeaconNodeValidator_WaitForActivationClient, error) - ValidatorIndex(ctx context.Context, in *ValidatorIndexRequest, opts ...grpc.CallOption) (*ValidatorIndexResponse, error) - ValidatorStatus(ctx context.Context, in *ValidatorStatusRequest, opts ...grpc.CallOption) (*ValidatorStatusResponse, error) - MultipleValidatorStatus(ctx context.Context, in *MultipleValidatorStatusRequest, opts ...grpc.CallOption) (*MultipleValidatorStatusResponse, error) - GetBlock(ctx context.Context, in *BlockRequest, opts ...grpc.CallOption) (*BeaconBlock, error) - ProposeBlock(ctx context.Context, in *SignedBeaconBlock, opts ...grpc.CallOption) (*ProposeResponse, error) - GetAttestationData(ctx context.Context, in *AttestationDataRequest, opts ...grpc.CallOption) (*AttestationData, error) - ProposeAttestation(ctx context.Context, in *Attestation, opts ...grpc.CallOption) (*AttestResponse, error) - SubmitAggregateSelectionProof(ctx context.Context, in *AggregateSelectionRequest, opts ...grpc.CallOption) (*AggregateSelectionResponse, error) - SubmitSignedAggregateSelectionProof(ctx context.Context, in *SignedAggregateSubmitRequest, opts ...grpc.CallOption) (*SignedAggregateSubmitResponse, error) - ProposeExit(ctx context.Context, in *SignedVoluntaryExit, opts ...grpc.CallOption) (*ProposeExitResponse, error) - SubscribeCommitteeSubnets(ctx context.Context, in *CommitteeSubnetsSubscribeRequest, opts ...grpc.CallOption) (*empty.Empty, error) -} - -type beaconNodeValidatorClient struct { - cc grpc.ClientConnInterface -} - -func NewBeaconNodeValidatorClient(cc grpc.ClientConnInterface) BeaconNodeValidatorClient { - return &beaconNodeValidatorClient{cc} -} - -func (c *beaconNodeValidatorClient) GetDuties(ctx context.Context, in *DutiesRequest, opts ...grpc.CallOption) (*DutiesResponse, error) { - out := new(DutiesResponse) - err := c.cc.Invoke(ctx, "/ethereum.eth.v1alpha1.BeaconNodeValidator/GetDuties", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *beaconNodeValidatorClient) StreamDuties(ctx context.Context, in *DutiesRequest, opts ...grpc.CallOption) (BeaconNodeValidator_StreamDutiesClient, error) { - stream, err := c.cc.NewStream(ctx, &_BeaconNodeValidator_serviceDesc.Streams[0], "/ethereum.eth.v1alpha1.BeaconNodeValidator/StreamDuties", opts...) - if err != nil { - return nil, err - } - x := &beaconNodeValidatorStreamDutiesClient{stream} - if err := x.ClientStream.SendMsg(in); err != nil { - return nil, err - } - if err := x.ClientStream.CloseSend(); err != nil { - return nil, err - } - return x, nil -} - -type BeaconNodeValidator_StreamDutiesClient interface { - Recv() (*DutiesResponse, error) - grpc.ClientStream -} - -type beaconNodeValidatorStreamDutiesClient struct { - grpc.ClientStream -} - -func (x *beaconNodeValidatorStreamDutiesClient) Recv() (*DutiesResponse, error) { - m := new(DutiesResponse) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -func (c *beaconNodeValidatorClient) DomainData(ctx context.Context, in *DomainRequest, opts ...grpc.CallOption) (*DomainResponse, error) { - out := new(DomainResponse) - err := c.cc.Invoke(ctx, "/ethereum.eth.v1alpha1.BeaconNodeValidator/DomainData", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// Deprecated: Do not use. -func (c *beaconNodeValidatorClient) WaitForChainStart(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (BeaconNodeValidator_WaitForChainStartClient, error) { - stream, err := c.cc.NewStream(ctx, &_BeaconNodeValidator_serviceDesc.Streams[1], "/ethereum.eth.v1alpha1.BeaconNodeValidator/WaitForChainStart", opts...) - if err != nil { - return nil, err - } - x := &beaconNodeValidatorWaitForChainStartClient{stream} - if err := x.ClientStream.SendMsg(in); err != nil { - return nil, err - } - if err := x.ClientStream.CloseSend(); err != nil { - return nil, err - } - return x, nil -} - -type BeaconNodeValidator_WaitForChainStartClient interface { - Recv() (*ChainStartResponse, error) - grpc.ClientStream -} - -type beaconNodeValidatorWaitForChainStartClient struct { - grpc.ClientStream -} - -func (x *beaconNodeValidatorWaitForChainStartClient) Recv() (*ChainStartResponse, error) { - m := new(ChainStartResponse) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -func (c *beaconNodeValidatorClient) WaitForActivation(ctx context.Context, in *ValidatorActivationRequest, opts ...grpc.CallOption) (BeaconNodeValidator_WaitForActivationClient, error) { - stream, err := c.cc.NewStream(ctx, &_BeaconNodeValidator_serviceDesc.Streams[2], "/ethereum.eth.v1alpha1.BeaconNodeValidator/WaitForActivation", opts...) - if err != nil { - return nil, err - } - x := &beaconNodeValidatorWaitForActivationClient{stream} - if err := x.ClientStream.SendMsg(in); err != nil { - return nil, err - } - if err := x.ClientStream.CloseSend(); err != nil { - return nil, err - } - return x, nil -} - -type BeaconNodeValidator_WaitForActivationClient interface { - Recv() (*ValidatorActivationResponse, error) - grpc.ClientStream -} - -type beaconNodeValidatorWaitForActivationClient struct { - grpc.ClientStream -} - -func (x *beaconNodeValidatorWaitForActivationClient) Recv() (*ValidatorActivationResponse, error) { - m := new(ValidatorActivationResponse) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -func (c *beaconNodeValidatorClient) ValidatorIndex(ctx context.Context, in *ValidatorIndexRequest, opts ...grpc.CallOption) (*ValidatorIndexResponse, error) { - out := new(ValidatorIndexResponse) - err := c.cc.Invoke(ctx, "/ethereum.eth.v1alpha1.BeaconNodeValidator/ValidatorIndex", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *beaconNodeValidatorClient) ValidatorStatus(ctx context.Context, in *ValidatorStatusRequest, opts ...grpc.CallOption) (*ValidatorStatusResponse, error) { - out := new(ValidatorStatusResponse) - err := c.cc.Invoke(ctx, "/ethereum.eth.v1alpha1.BeaconNodeValidator/ValidatorStatus", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *beaconNodeValidatorClient) MultipleValidatorStatus(ctx context.Context, in *MultipleValidatorStatusRequest, opts ...grpc.CallOption) (*MultipleValidatorStatusResponse, error) { - out := new(MultipleValidatorStatusResponse) - err := c.cc.Invoke(ctx, "/ethereum.eth.v1alpha1.BeaconNodeValidator/MultipleValidatorStatus", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *beaconNodeValidatorClient) GetBlock(ctx context.Context, in *BlockRequest, opts ...grpc.CallOption) (*BeaconBlock, error) { - out := new(BeaconBlock) - err := c.cc.Invoke(ctx, "/ethereum.eth.v1alpha1.BeaconNodeValidator/GetBlock", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *beaconNodeValidatorClient) ProposeBlock(ctx context.Context, in *SignedBeaconBlock, opts ...grpc.CallOption) (*ProposeResponse, error) { - out := new(ProposeResponse) - err := c.cc.Invoke(ctx, "/ethereum.eth.v1alpha1.BeaconNodeValidator/ProposeBlock", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *beaconNodeValidatorClient) GetAttestationData(ctx context.Context, in *AttestationDataRequest, opts ...grpc.CallOption) (*AttestationData, error) { - out := new(AttestationData) - err := c.cc.Invoke(ctx, "/ethereum.eth.v1alpha1.BeaconNodeValidator/GetAttestationData", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *beaconNodeValidatorClient) ProposeAttestation(ctx context.Context, in *Attestation, opts ...grpc.CallOption) (*AttestResponse, error) { - out := new(AttestResponse) - err := c.cc.Invoke(ctx, "/ethereum.eth.v1alpha1.BeaconNodeValidator/ProposeAttestation", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *beaconNodeValidatorClient) SubmitAggregateSelectionProof(ctx context.Context, in *AggregateSelectionRequest, opts ...grpc.CallOption) (*AggregateSelectionResponse, error) { - out := new(AggregateSelectionResponse) - err := c.cc.Invoke(ctx, "/ethereum.eth.v1alpha1.BeaconNodeValidator/SubmitAggregateSelectionProof", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *beaconNodeValidatorClient) SubmitSignedAggregateSelectionProof(ctx context.Context, in *SignedAggregateSubmitRequest, opts ...grpc.CallOption) (*SignedAggregateSubmitResponse, error) { - out := new(SignedAggregateSubmitResponse) - err := c.cc.Invoke(ctx, "/ethereum.eth.v1alpha1.BeaconNodeValidator/SubmitSignedAggregateSelectionProof", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *beaconNodeValidatorClient) ProposeExit(ctx context.Context, in *SignedVoluntaryExit, opts ...grpc.CallOption) (*ProposeExitResponse, error) { - out := new(ProposeExitResponse) - err := c.cc.Invoke(ctx, "/ethereum.eth.v1alpha1.BeaconNodeValidator/ProposeExit", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *beaconNodeValidatorClient) SubscribeCommitteeSubnets(ctx context.Context, in *CommitteeSubnetsSubscribeRequest, opts ...grpc.CallOption) (*empty.Empty, error) { - out := new(empty.Empty) - err := c.cc.Invoke(ctx, "/ethereum.eth.v1alpha1.BeaconNodeValidator/SubscribeCommitteeSubnets", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// BeaconNodeValidatorServer is the server API for BeaconNodeValidator service. -type BeaconNodeValidatorServer interface { - GetDuties(context.Context, *DutiesRequest) (*DutiesResponse, error) - StreamDuties(*DutiesRequest, BeaconNodeValidator_StreamDutiesServer) error - DomainData(context.Context, *DomainRequest) (*DomainResponse, error) - // Deprecated: Do not use. - WaitForChainStart(*empty.Empty, BeaconNodeValidator_WaitForChainStartServer) error - WaitForActivation(*ValidatorActivationRequest, BeaconNodeValidator_WaitForActivationServer) error - ValidatorIndex(context.Context, *ValidatorIndexRequest) (*ValidatorIndexResponse, error) - ValidatorStatus(context.Context, *ValidatorStatusRequest) (*ValidatorStatusResponse, error) - MultipleValidatorStatus(context.Context, *MultipleValidatorStatusRequest) (*MultipleValidatorStatusResponse, error) - GetBlock(context.Context, *BlockRequest) (*BeaconBlock, error) - ProposeBlock(context.Context, *SignedBeaconBlock) (*ProposeResponse, error) - GetAttestationData(context.Context, *AttestationDataRequest) (*AttestationData, error) - ProposeAttestation(context.Context, *Attestation) (*AttestResponse, error) - SubmitAggregateSelectionProof(context.Context, *AggregateSelectionRequest) (*AggregateSelectionResponse, error) - SubmitSignedAggregateSelectionProof(context.Context, *SignedAggregateSubmitRequest) (*SignedAggregateSubmitResponse, error) - ProposeExit(context.Context, *SignedVoluntaryExit) (*ProposeExitResponse, error) - SubscribeCommitteeSubnets(context.Context, *CommitteeSubnetsSubscribeRequest) (*empty.Empty, error) -} - -// UnimplementedBeaconNodeValidatorServer can be embedded to have forward compatible implementations. -type UnimplementedBeaconNodeValidatorServer struct { -} - -func (*UnimplementedBeaconNodeValidatorServer) GetDuties(context.Context, *DutiesRequest) (*DutiesResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetDuties not implemented") -} -func (*UnimplementedBeaconNodeValidatorServer) StreamDuties(*DutiesRequest, BeaconNodeValidator_StreamDutiesServer) error { - return status.Errorf(codes.Unimplemented, "method StreamDuties not implemented") -} -func (*UnimplementedBeaconNodeValidatorServer) DomainData(context.Context, *DomainRequest) (*DomainResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method DomainData not implemented") -} -func (*UnimplementedBeaconNodeValidatorServer) WaitForChainStart(*empty.Empty, BeaconNodeValidator_WaitForChainStartServer) error { - return status.Errorf(codes.Unimplemented, "method WaitForChainStart not implemented") -} -func (*UnimplementedBeaconNodeValidatorServer) WaitForActivation(*ValidatorActivationRequest, BeaconNodeValidator_WaitForActivationServer) error { - return status.Errorf(codes.Unimplemented, "method WaitForActivation not implemented") -} -func (*UnimplementedBeaconNodeValidatorServer) ValidatorIndex(context.Context, *ValidatorIndexRequest) (*ValidatorIndexResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ValidatorIndex not implemented") -} -func (*UnimplementedBeaconNodeValidatorServer) ValidatorStatus(context.Context, *ValidatorStatusRequest) (*ValidatorStatusResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ValidatorStatus not implemented") -} -func (*UnimplementedBeaconNodeValidatorServer) MultipleValidatorStatus(context.Context, *MultipleValidatorStatusRequest) (*MultipleValidatorStatusResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method MultipleValidatorStatus not implemented") -} -func (*UnimplementedBeaconNodeValidatorServer) GetBlock(context.Context, *BlockRequest) (*BeaconBlock, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetBlock not implemented") -} -func (*UnimplementedBeaconNodeValidatorServer) ProposeBlock(context.Context, *SignedBeaconBlock) (*ProposeResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ProposeBlock not implemented") -} -func (*UnimplementedBeaconNodeValidatorServer) GetAttestationData(context.Context, *AttestationDataRequest) (*AttestationData, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetAttestationData not implemented") -} -func (*UnimplementedBeaconNodeValidatorServer) ProposeAttestation(context.Context, *Attestation) (*AttestResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ProposeAttestation not implemented") -} -func (*UnimplementedBeaconNodeValidatorServer) SubmitAggregateSelectionProof(context.Context, *AggregateSelectionRequest) (*AggregateSelectionResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method SubmitAggregateSelectionProof not implemented") -} -func (*UnimplementedBeaconNodeValidatorServer) SubmitSignedAggregateSelectionProof(context.Context, *SignedAggregateSubmitRequest) (*SignedAggregateSubmitResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method SubmitSignedAggregateSelectionProof not implemented") -} -func (*UnimplementedBeaconNodeValidatorServer) ProposeExit(context.Context, *SignedVoluntaryExit) (*ProposeExitResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ProposeExit not implemented") -} -func (*UnimplementedBeaconNodeValidatorServer) SubscribeCommitteeSubnets(context.Context, *CommitteeSubnetsSubscribeRequest) (*empty.Empty, error) { - return nil, status.Errorf(codes.Unimplemented, "method SubscribeCommitteeSubnets not implemented") -} - -func RegisterBeaconNodeValidatorServer(s *grpc.Server, srv BeaconNodeValidatorServer) { - s.RegisterService(&_BeaconNodeValidator_serviceDesc, srv) -} - -func _BeaconNodeValidator_GetDuties_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DutiesRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(BeaconNodeValidatorServer).GetDuties(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/ethereum.eth.v1alpha1.BeaconNodeValidator/GetDuties", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(BeaconNodeValidatorServer).GetDuties(ctx, req.(*DutiesRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _BeaconNodeValidator_StreamDuties_Handler(srv interface{}, stream grpc.ServerStream) error { - m := new(DutiesRequest) - if err := stream.RecvMsg(m); err != nil { - return err - } - return srv.(BeaconNodeValidatorServer).StreamDuties(m, &beaconNodeValidatorStreamDutiesServer{stream}) -} - -type BeaconNodeValidator_StreamDutiesServer interface { - Send(*DutiesResponse) error - grpc.ServerStream -} - -type beaconNodeValidatorStreamDutiesServer struct { - grpc.ServerStream -} - -func (x *beaconNodeValidatorStreamDutiesServer) Send(m *DutiesResponse) error { - return x.ServerStream.SendMsg(m) -} - -func _BeaconNodeValidator_DomainData_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DomainRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(BeaconNodeValidatorServer).DomainData(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/ethereum.eth.v1alpha1.BeaconNodeValidator/DomainData", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(BeaconNodeValidatorServer).DomainData(ctx, req.(*DomainRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _BeaconNodeValidator_WaitForChainStart_Handler(srv interface{}, stream grpc.ServerStream) error { - m := new(empty.Empty) - if err := stream.RecvMsg(m); err != nil { - return err - } - return srv.(BeaconNodeValidatorServer).WaitForChainStart(m, &beaconNodeValidatorWaitForChainStartServer{stream}) -} - -type BeaconNodeValidator_WaitForChainStartServer interface { - Send(*ChainStartResponse) error - grpc.ServerStream -} - -type beaconNodeValidatorWaitForChainStartServer struct { - grpc.ServerStream -} - -func (x *beaconNodeValidatorWaitForChainStartServer) Send(m *ChainStartResponse) error { - return x.ServerStream.SendMsg(m) -} - -func _BeaconNodeValidator_WaitForActivation_Handler(srv interface{}, stream grpc.ServerStream) error { - m := new(ValidatorActivationRequest) - if err := stream.RecvMsg(m); err != nil { - return err - } - return srv.(BeaconNodeValidatorServer).WaitForActivation(m, &beaconNodeValidatorWaitForActivationServer{stream}) -} - -type BeaconNodeValidator_WaitForActivationServer interface { - Send(*ValidatorActivationResponse) error - grpc.ServerStream -} - -type beaconNodeValidatorWaitForActivationServer struct { - grpc.ServerStream -} - -func (x *beaconNodeValidatorWaitForActivationServer) Send(m *ValidatorActivationResponse) error { - return x.ServerStream.SendMsg(m) -} - -func _BeaconNodeValidator_ValidatorIndex_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ValidatorIndexRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(BeaconNodeValidatorServer).ValidatorIndex(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/ethereum.eth.v1alpha1.BeaconNodeValidator/ValidatorIndex", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(BeaconNodeValidatorServer).ValidatorIndex(ctx, req.(*ValidatorIndexRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _BeaconNodeValidator_ValidatorStatus_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ValidatorStatusRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(BeaconNodeValidatorServer).ValidatorStatus(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/ethereum.eth.v1alpha1.BeaconNodeValidator/ValidatorStatus", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(BeaconNodeValidatorServer).ValidatorStatus(ctx, req.(*ValidatorStatusRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _BeaconNodeValidator_MultipleValidatorStatus_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(MultipleValidatorStatusRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(BeaconNodeValidatorServer).MultipleValidatorStatus(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/ethereum.eth.v1alpha1.BeaconNodeValidator/MultipleValidatorStatus", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(BeaconNodeValidatorServer).MultipleValidatorStatus(ctx, req.(*MultipleValidatorStatusRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _BeaconNodeValidator_GetBlock_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(BlockRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(BeaconNodeValidatorServer).GetBlock(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/ethereum.eth.v1alpha1.BeaconNodeValidator/GetBlock", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(BeaconNodeValidatorServer).GetBlock(ctx, req.(*BlockRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _BeaconNodeValidator_ProposeBlock_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SignedBeaconBlock) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(BeaconNodeValidatorServer).ProposeBlock(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/ethereum.eth.v1alpha1.BeaconNodeValidator/ProposeBlock", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(BeaconNodeValidatorServer).ProposeBlock(ctx, req.(*SignedBeaconBlock)) - } - return interceptor(ctx, in, info, handler) -} - -func _BeaconNodeValidator_GetAttestationData_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(AttestationDataRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(BeaconNodeValidatorServer).GetAttestationData(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/ethereum.eth.v1alpha1.BeaconNodeValidator/GetAttestationData", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(BeaconNodeValidatorServer).GetAttestationData(ctx, req.(*AttestationDataRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _BeaconNodeValidator_ProposeAttestation_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(Attestation) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(BeaconNodeValidatorServer).ProposeAttestation(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/ethereum.eth.v1alpha1.BeaconNodeValidator/ProposeAttestation", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(BeaconNodeValidatorServer).ProposeAttestation(ctx, req.(*Attestation)) - } - return interceptor(ctx, in, info, handler) -} - -func _BeaconNodeValidator_SubmitAggregateSelectionProof_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(AggregateSelectionRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(BeaconNodeValidatorServer).SubmitAggregateSelectionProof(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/ethereum.eth.v1alpha1.BeaconNodeValidator/SubmitAggregateSelectionProof", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(BeaconNodeValidatorServer).SubmitAggregateSelectionProof(ctx, req.(*AggregateSelectionRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _BeaconNodeValidator_SubmitSignedAggregateSelectionProof_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SignedAggregateSubmitRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(BeaconNodeValidatorServer).SubmitSignedAggregateSelectionProof(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/ethereum.eth.v1alpha1.BeaconNodeValidator/SubmitSignedAggregateSelectionProof", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(BeaconNodeValidatorServer).SubmitSignedAggregateSelectionProof(ctx, req.(*SignedAggregateSubmitRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _BeaconNodeValidator_ProposeExit_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SignedVoluntaryExit) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(BeaconNodeValidatorServer).ProposeExit(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/ethereum.eth.v1alpha1.BeaconNodeValidator/ProposeExit", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(BeaconNodeValidatorServer).ProposeExit(ctx, req.(*SignedVoluntaryExit)) - } - return interceptor(ctx, in, info, handler) -} - -func _BeaconNodeValidator_SubscribeCommitteeSubnets_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CommitteeSubnetsSubscribeRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(BeaconNodeValidatorServer).SubscribeCommitteeSubnets(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/ethereum.eth.v1alpha1.BeaconNodeValidator/SubscribeCommitteeSubnets", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(BeaconNodeValidatorServer).SubscribeCommitteeSubnets(ctx, req.(*CommitteeSubnetsSubscribeRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _BeaconNodeValidator_serviceDesc = grpc.ServiceDesc{ - ServiceName: "ethereum.eth.v1alpha1.BeaconNodeValidator", - HandlerType: (*BeaconNodeValidatorServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "GetDuties", - Handler: _BeaconNodeValidator_GetDuties_Handler, - }, - { - MethodName: "DomainData", - Handler: _BeaconNodeValidator_DomainData_Handler, - }, - { - MethodName: "ValidatorIndex", - Handler: _BeaconNodeValidator_ValidatorIndex_Handler, - }, - { - MethodName: "ValidatorStatus", - Handler: _BeaconNodeValidator_ValidatorStatus_Handler, - }, - { - MethodName: "MultipleValidatorStatus", - Handler: _BeaconNodeValidator_MultipleValidatorStatus_Handler, - }, - { - MethodName: "GetBlock", - Handler: _BeaconNodeValidator_GetBlock_Handler, - }, - { - MethodName: "ProposeBlock", - Handler: _BeaconNodeValidator_ProposeBlock_Handler, - }, - { - MethodName: "GetAttestationData", - Handler: _BeaconNodeValidator_GetAttestationData_Handler, - }, - { - MethodName: "ProposeAttestation", - Handler: _BeaconNodeValidator_ProposeAttestation_Handler, - }, - { - MethodName: "SubmitAggregateSelectionProof", - Handler: _BeaconNodeValidator_SubmitAggregateSelectionProof_Handler, - }, - { - MethodName: "SubmitSignedAggregateSelectionProof", - Handler: _BeaconNodeValidator_SubmitSignedAggregateSelectionProof_Handler, - }, - { - MethodName: "ProposeExit", - Handler: _BeaconNodeValidator_ProposeExit_Handler, - }, - { - MethodName: "SubscribeCommitteeSubnets", - Handler: _BeaconNodeValidator_SubscribeCommitteeSubnets_Handler, - }, - }, - Streams: []grpc.StreamDesc{ - { - StreamName: "StreamDuties", - Handler: _BeaconNodeValidator_StreamDuties_Handler, - ServerStreams: true, - }, - { - StreamName: "WaitForChainStart", - Handler: _BeaconNodeValidator_WaitForChainStart_Handler, - ServerStreams: true, - }, - { - StreamName: "WaitForActivation", - Handler: _BeaconNodeValidator_WaitForActivation_Handler, - ServerStreams: true, - }, - }, - Metadata: "eth/v1alpha1/validator.proto", -} diff --git a/go.mod b/go.mod index 2df5edcd..cce07d52 100644 --- a/go.mod +++ b/go.mod @@ -4,12 +4,17 @@ go 1.13 require ( github.com/ferranbt/fastssz v0.0.0-20210120143747-11b9eff30ea9 - github.com/gogo/protobuf v1.3.1 - github.com/golang/protobuf v1.4.2 - github.com/grpc-ecosystem/grpc-gateway v1.16.0 - github.com/prysmaticlabs/eth2-types v0.0.0-20210127031309-22cbe426eba6 + github.com/golang/protobuf v1.5.2 + github.com/grpc-ecosystem/grpc-gateway/v2 v2.0.1 + github.com/mitchellh/mapstructure v1.4.0 // indirect + github.com/prysmaticlabs/eth2-types v0.0.0-20210303084904-c9735a06829d github.com/prysmaticlabs/go-bitfield v0.0.0-20210202205921-7fcea7c45dc8 - google.golang.org/genproto v0.0.0-20200528191852-705c0b31589b - google.golang.org/grpc v1.33.1 - google.golang.org/protobuf v1.24.0 + github.com/prysmaticlabs/protoc-gen-go-cast v0.0.0-20210504233148-1e141af6a0a1 // indirect + google.golang.org/genproto v0.0.0-20210325141258-5636347f2b14 + google.golang.org/grpc v1.36.0 + google.golang.org/protobuf v1.26.0 + gopkg.in/yaml.v2 v2.4.0 // indirect ) + +// See: https://github.com/prysmaticlabs/grpc-gateway/issues/2 +replace github.com/grpc-ecosystem/grpc-gateway/v2 => github.com/prysmaticlabs/grpc-gateway/v2 v2.3.1-0.20210405183733-d2d58057c645 diff --git a/go.sum b/go.sum index 51a5c8b0..e455f4c4 100644 --- a/go.sum +++ b/go.sum @@ -1,110 +1,571 @@ cloud.google.com/go v0.26.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= cloud.google.com/go v0.34.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= +cloud.google.com/go v0.38.0/go.mod h1:990N+gfupTy94rShfmMCWGDn0LpTmnzTp2qbd1dvSRU= +cloud.google.com/go v0.44.1/go.mod h1:iSa0KzasP4Uvy3f1mN/7PiObzGgflwredwwASm/v6AU= +cloud.google.com/go v0.44.2/go.mod h1:60680Gw3Yr4ikxnPRS/oxxkBccT6SA1yMk63TGekxKY= +cloud.google.com/go v0.45.1/go.mod h1:RpBamKRgapWJb87xiFSdk4g1CME7QZg3uwTez+TSTjc= +cloud.google.com/go v0.46.3/go.mod h1:a6bKKbmY7er1mI7TEI4lsAkts/mkhTSZK8w33B4RAg0= +cloud.google.com/go v0.50.0/go.mod h1:r9sluTvynVuxRIOHXQEHMFffphuXHOMZMycpNR5e6To= +cloud.google.com/go v0.52.0/go.mod h1:pXajvRH/6o3+F9jDHZWQ5PbGhn+o8w9qiu/CffaVdO4= +cloud.google.com/go v0.53.0/go.mod h1:fp/UouUEsRkN6ryDKNW/Upv/JBKnv6WDthjR6+vze6M= +cloud.google.com/go v0.54.0/go.mod h1:1rq2OEkV3YMf6n/9ZvGWI3GWw0VoqH/1x2nd8Is/bPc= +cloud.google.com/go v0.56.0/go.mod h1:jr7tqZxxKOVYizybht9+26Z/gUq7tiRzu+ACVAMbKVk= +cloud.google.com/go v0.57.0/go.mod h1:oXiQ6Rzq3RAkkY7N6t3TcE6jE+CIBBbA36lwQ1JyzZs= +cloud.google.com/go v0.62.0/go.mod h1:jmCYTdRCQuc1PHIIJ/maLInMho30T/Y0M4hTdTShOYc= +cloud.google.com/go v0.65.0/go.mod h1:O5N8zS7uWy9vkA9vayVHs65eM1ubvY4h553ofrNHObY= +cloud.google.com/go/bigquery v1.0.1/go.mod h1:i/xbL2UlR5RvWAURpBYZTtm/cXjCha9lbfbpx4poX+o= +cloud.google.com/go/bigquery v1.3.0/go.mod h1:PjpwJnslEMmckchkHFfq+HTD2DmtT67aNFKH1/VBDHE= +cloud.google.com/go/bigquery v1.4.0/go.mod h1:S8dzgnTigyfTmLBfrtrhyYhwRxG72rYxvftPBK2Dvzc= +cloud.google.com/go/bigquery v1.5.0/go.mod h1:snEHRnqQbz117VIFhE8bmtwIDY80NLUZUMb4Nv6dBIg= +cloud.google.com/go/bigquery v1.7.0/go.mod h1://okPTzCYNXSlb24MZs83e2Do+h+VXtc4gLoIoXIAPc= +cloud.google.com/go/bigquery v1.8.0/go.mod h1:J5hqkt3O0uAFnINi6JXValWIb1v0goeZM77hZzJN/fQ= +cloud.google.com/go/datastore v1.0.0/go.mod h1:LXYbyblFSglQ5pkeyhO+Qmw7ukd3C+pD7TKLgZqpHYE= +cloud.google.com/go/datastore v1.1.0/go.mod h1:umbIZjpQpHh4hmRpGhH4tLFup+FVzqBi1b3c64qFpCk= +cloud.google.com/go/firestore v1.1.0/go.mod h1:ulACoGHTpvq5r8rxGJ4ddJZBZqakUQqClKRT5SZwBmk= +cloud.google.com/go/pubsub v1.0.1/go.mod h1:R0Gpsv3s54REJCy4fxDixWD93lHJMoZTyQ2kNxGRt3I= +cloud.google.com/go/pubsub v1.1.0/go.mod h1:EwwdRX2sKPjnvnqCa270oGRyludottCI76h+R3AArQw= +cloud.google.com/go/pubsub v1.2.0/go.mod h1:jhfEVHT8odbXTkndysNHCcx0awwzvfOlguIAii9o8iA= +cloud.google.com/go/pubsub v1.3.1/go.mod h1:i+ucay31+CNRpDW4Lu78I4xXG+O1r/MAHgjpRVR+TSU= +cloud.google.com/go/storage v1.0.0/go.mod h1:IhtSnM/ZTZV8YYJWCY8RULGVqBDmpoyjwiyrjsg+URw= +cloud.google.com/go/storage v1.5.0/go.mod h1:tpKbwo567HUNpVclU5sGELwQWBDZ8gh0ZeosJ0Rtdos= +cloud.google.com/go/storage v1.6.0/go.mod h1:N7U0C8pVQ/+NIKOBQyamJIeKQKkZ+mxpohlUTyfDhBk= +cloud.google.com/go/storage v1.8.0/go.mod h1:Wv1Oy7z6Yz3DshWRJFhqM/UCfaWIRTdp0RXyy7KQOVs= +cloud.google.com/go/storage v1.10.0/go.mod h1:FLPqc6j+Ki4BU591ie1oL6qBQGu2Bl/tZ9ullr3+Kg0= +dmitri.shuralyov.com/gpu/mtl v0.0.0-20190408044501-666a987793e9/go.mod h1:H6x//7gZCb22OMCxBHrMx7a5I7Hp++hsVxbQ4BYO7hU= github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU= -github.com/antihax/optional v0.0.0-20180407024304-ca021399b1a6/go.mod h1:V8iCPQYkqmusNa815XgQio277wI47sdRh1dUOLdyC6Q= +github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU= +github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802/go.mod h1:IVnqGOEym/WlBOVXweHU+Q+/VP0lqqI8lqeDx9IjBqo= +github.com/OneOfOne/xxhash v1.2.2/go.mod h1:HSdplMjZKSmBqAxg5vPj2TmRDmfkzw+cTzAElWljhcU= +github.com/alecthomas/template v0.0.0-20160405071501-a0175ee3bccc/go.mod h1:LOuyumcjzFXgccqObfd/Ljyb9UuFJ6TxHnclSeseNhc= +github.com/alecthomas/units v0.0.0-20151022065526-2efee857e7cf/go.mod h1:ybxpYRFXyAe+OPACYpWeL0wqObRcbAqCMya13uyzqw0= +github.com/antihax/optional v1.0.0/go.mod h1:uupD/76wgC+ih3iEmQUL+0Ugr19nfwCT1kdvxnR2qWY= github.com/antihax/optional v1.0.0/go.mod h1:uupD/76wgC+ih3iEmQUL+0Ugr19nfwCT1kdvxnR2qWY= +github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e/go.mod h1:3U/XgcO3hCbHZ8TKRvWD2dDTCfh9M9ya+I9JpbB7O8o= +github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da/go.mod h1:Q73ZrmVTwzkszR9V5SSuryQ31EELlFMUz1kKyl939pY= +github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310/go.mod h1:ufUuZ+zHj4x4TnLV4JWEpy2hxWSpsRywHrMgIH9cCH8= +github.com/beorn7/perks v0.0.0-20180321164747-3a771d992973/go.mod h1:Dwedo/Wpr24TaqPxmxbtue+5NUziq4I4S80YR8gNf3Q= +github.com/beorn7/perks v1.0.0/go.mod h1:KWe93zE9D1o94FZ5RNwFwVgaQK1VOXiVxmqh+CedLV8= +github.com/bgentry/go-netrc v0.0.0-20140422174119-9fd32a8b3d3d/go.mod h1:6QX/PXZ00z/TKoufEY6K/a0k6AhaJrQKdFe6OfVXsa4= +github.com/bgentry/speakeasy v0.1.0/go.mod h1:+zsyZBPWlz7T6j88CTgSN5bM796AkVf0kBD4zp0CCIs= +github.com/bketelsen/crypt v0.0.3-0.20200106085610-5cbc8cc4026c/go.mod h1:MKsuJmJgSg28kpZDP6UIiPt0e0Oz0kqKNGyRaWEPv84= +github.com/bufbuild/buf v0.37.0/go.mod h1:lQ1m2HkIaGOFba6w/aC3KYBHhKEOESP3gaAEpS3dAFM= github.com/census-instrumentation/opencensus-proto v0.2.1/go.mod h1:f6KPmirojxKA12rnyqOA5BBL4O983OfeGPqjHWSTneU= +github.com/cespare/xxhash v1.1.0/go.mod h1:XrSqR1VqqWfGrhpAt58auRo0WTKS1nRRg3ghfAqPWnc= +github.com/chzyer/logex v1.1.10/go.mod h1:+Ywpsq7O8HXn0nuIou7OrIPyXbp3wmkHB+jjWRnGsAI= +github.com/chzyer/readline v0.0.0-20180603132655-2972be24d48e/go.mod h1:nSuG5e5PlCu98SY8svDHJxuZscDgtXS6KTTbou5AhLI= +github.com/chzyer/test v0.0.0-20180213035817-a1ea475d72b1/go.mod h1:Q3SI9o4m/ZMnBNeIyt5eFwwo7qiLfzFZmjNmxjkiQlU= github.com/client9/misspell v0.3.4/go.mod h1:qj6jICC3Q7zFZvVWo7KLAzC3yx5G7kyvSDkc90ppPyw= github.com/cncf/udpa/go v0.0.0-20191209042840-269d4d468f6f/go.mod h1:M8M6+tZqaGXZJjfX53e64911xZQV5JYwmTeXPW+k8Sc= +github.com/cncf/udpa/go v0.0.0-20201120205902-5459f2c99403/go.mod h1:WmhPx2Nbnhtbo57+VJT5O0JRkEi1Wbu0z5j0R8u5Hbk= +github.com/coreos/bbolt v1.3.2/go.mod h1:iRUV2dpdMOn7Bo10OQBFzIJO9kkE559Wcmn+qkEiiKk= +github.com/coreos/etcd v3.3.13+incompatible/go.mod h1:uF7uidLiAD3TWHmW31ZFd/JWoc32PjwdhPthX9715RE= +github.com/coreos/go-semver v0.3.0/go.mod h1:nnelYz7RCh+5ahJtPPxZlU+153eP4D4r3EedlOD2RNk= +github.com/coreos/go-systemd v0.0.0-20190321100706-95778dfbb74e/go.mod h1:F5haX7vjVVG0kc13fIWeqUViNPyEJxv/OmvnBo0Yme4= +github.com/coreos/pkg v0.0.0-20180928190104-399ea9e2e55f/go.mod h1:E3G3o1h8I7cfcXa63jLwjI0eiQQMgzzUDFVpN/nH/eA= +github.com/cpuguy83/go-md2man/v2 v2.0.0/go.mod h1:maD7wRr/U5Z6m/iR4s+kqSMx2CaBsrgA7czyZG/E6dU= +github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= +github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= +github.com/dgrijalva/jwt-go v3.2.0+incompatible/go.mod h1:E3ru+11k8xSBh+hMPgOLZmtrrCbhqsmaPHjLKYnJCaQ= +github.com/dgryski/go-sip13 v0.0.0-20181026042036-e10d5fee7954/go.mod h1:vAd38F8PWV+bWy6jNmig1y/TA+kYO4g3RSRF0IAv0no= github.com/envoyproxy/go-control-plane v0.9.0/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4= github.com/envoyproxy/go-control-plane v0.9.1-0.20191026205805-5f8ba28d4473/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4= github.com/envoyproxy/go-control-plane v0.9.4/go.mod h1:6rpuAdCZL397s3pYoYcLgu1mIlRU8Am5FuJP05cCM98= +github.com/envoyproxy/go-control-plane v0.9.9-0.20201210154907-fd9021fe5dad/go.mod h1:cXg6YxExXjJnVBQHBLXeUAgxn2UodCpnH306RInaBQk= github.com/envoyproxy/protoc-gen-validate v0.1.0/go.mod h1:iSmxcyjqTsJpI2R4NaDN7+kN2VEUnK/pcBlmesArF7c= +github.com/fatih/color v1.7.0/go.mod h1:Zm6kSWBoL9eyXnKyktHP6abPY2pDugNf5KwzbycvMj4= github.com/ferranbt/fastssz v0.0.0-20210120143747-11b9eff30ea9 h1:9VDpsWq096+oGMDTT/SgBD/VgZYf4pTF+KTPmZ+OaKM= github.com/ferranbt/fastssz v0.0.0-20210120143747-11b9eff30ea9/go.mod h1:DyEu2iuLBnb/T51BlsiO3yLYdJC6UbGMrIkqK1KmQxM= +github.com/fsnotify/fsnotify v1.4.7/go.mod h1:jwhsz4b93w/PPRr/qN1Yymfu8t87LnFCMoQvtojpjFo= github.com/ghodss/yaml v1.0.0/go.mod h1:4dBDuWmgqj2HViK6kFavaiC9ZROes6MMH2rRYeMEF04= -github.com/gogo/protobuf v1.3.1 h1:DqDEcV5aeaTmdFBePNpYsp3FlcVH/2ISVVM9Qf8PSls= -github.com/gogo/protobuf v1.3.1/go.mod h1:SlYgWuQ5SjCEi6WLHjHCa1yvBfUnHcTbrrZtXPKa29o= +github.com/go-gl/glfw v0.0.0-20190409004039-e6da0acd62b1/go.mod h1:vR7hzQXu2zJy9AVAgeJqvqgH9Q5CA+iKCZ2gyEVpxRU= +github.com/go-gl/glfw/v3.3/glfw v0.0.0-20191125211704-12ad95a8df72/go.mod h1:tQ2UAYgL5IevRw8kRxooKSPJfGvJ9fJQFa0TUsXzTg8= +github.com/go-gl/glfw/v3.3/glfw v0.0.0-20200222043503-6f7a984d4dc4/go.mod h1:tQ2UAYgL5IevRw8kRxooKSPJfGvJ9fJQFa0TUsXzTg8= +github.com/go-kit/kit v0.8.0/go.mod h1:xBxKIO96dXMWWy0MnWVtmwkA9/13aqxPnvrjFYMA2as= +github.com/go-logfmt/logfmt v0.3.0/go.mod h1:Qt1PoO58o5twSAckw1HlFXLmHsOX5/0LbT9GBnD5lWE= +github.com/go-logfmt/logfmt v0.4.0/go.mod h1:3RMwSq7FuexP4Kalkev3ejPJsZTpXXBr9+V4qmtdjCk= +github.com/go-stack/stack v1.8.0/go.mod h1:v0f6uXyyMGvRgIKkXu+yp6POWl0qKG85gN/melR3HDY= +github.com/gofrs/flock v0.8.0/go.mod h1:F1TvTiK9OcQqauNUHlbJvyl9Qa1QvF/gOUDKA14jxHU= +github.com/gofrs/uuid v4.0.0+incompatible/go.mod h1:b2aQJv3Z4Fp6yNu3cdSllBxTCLRxnplIgP/c0N/04lM= +github.com/gogo/protobuf v1.1.1/go.mod h1:r8qH/GZQm5c6nD/R0oafs1akxWv10x8SbQlK7atdtwQ= +github.com/gogo/protobuf v1.2.1/go.mod h1:hp+jE20tsWTFYpLwKvXlhS1hjn+gTNwPg2I6zVXpSg4= +github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b h1:VKtxabqXZkF25pY9ekfRL6a582T4P37/31XEstQ5p58= github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b/go.mod h1:SBH7ygxi8pfUlaOkMMuAQtPIUF8ecWP5IEl/CR7VP2Q= +github.com/golang/groupcache v0.0.0-20190129154638-5b532d6fd5ef/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= +github.com/golang/groupcache v0.0.0-20190702054246-869f871628b6/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= +github.com/golang/groupcache v0.0.0-20191227052852-215e87163ea7/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= +github.com/golang/groupcache v0.0.0-20200121045136-8c9f03a8e57e/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= github.com/golang/mock v1.1.1/go.mod h1:oTYuIxOrZwtPieC+H1uAHpcLFnEyAGVDL/k47Jfbm0A= +github.com/golang/mock v1.2.0/go.mod h1:oTYuIxOrZwtPieC+H1uAHpcLFnEyAGVDL/k47Jfbm0A= +github.com/golang/mock v1.3.1/go.mod h1:sBzyDLLjw3U8JLTeZvSv8jJB+tU5PVekmnlKIyFUx0Y= +github.com/golang/mock v1.4.0/go.mod h1:UOMv5ysSaYNkG+OFQykRIcU/QvvxJf3p21QfJ2Bt3cw= +github.com/golang/mock v1.4.1/go.mod h1:UOMv5ysSaYNkG+OFQykRIcU/QvvxJf3p21QfJ2Bt3cw= +github.com/golang/mock v1.4.3/go.mod h1:UOMv5ysSaYNkG+OFQykRIcU/QvvxJf3p21QfJ2Bt3cw= +github.com/golang/mock v1.4.4/go.mod h1:l3mdAwkq5BuhzHwde/uurv3sEJeZMXNpwsxVWU71h+4= github.com/golang/protobuf v1.2.0/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= +github.com/golang/protobuf v1.3.1/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= github.com/golang/protobuf v1.3.2/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= github.com/golang/protobuf v1.3.3/go.mod h1:vzj43D7+SQXF/4pzW/hwtAqwc6iTitCiVSaWz5lYuqw= +github.com/golang/protobuf v1.3.4/go.mod h1:vzj43D7+SQXF/4pzW/hwtAqwc6iTitCiVSaWz5lYuqw= +github.com/golang/protobuf v1.3.5/go.mod h1:6O5/vntMXwX2lRkT1hjjk0nAC1IDOTvTlVgjlRvqsdk= github.com/golang/protobuf v1.4.0-rc.1/go.mod h1:ceaxUfeHdC40wWswd/P6IGgMaK3YpKi5j83Wpe3EHw8= github.com/golang/protobuf v1.4.0-rc.1.0.20200221234624-67d41d38c208/go.mod h1:xKAWHe0F5eneWXFV3EuXVDTCmh+JuBKY0li0aMyXATA= github.com/golang/protobuf v1.4.0-rc.2/go.mod h1:LlEzMj4AhA7rCAGe4KMBDvJI+AwstrUpVNzEA03Pprs= github.com/golang/protobuf v1.4.0-rc.4.0.20200313231945-b860323f09d0/go.mod h1:WU3c8KckQ9AFe+yFwt9sWVRKCVIyN9cPHBJSNnbL67w= github.com/golang/protobuf v1.4.0/go.mod h1:jodUvKwWbYaEsadDk5Fwe5c77LiNKVO9IDvqG2KuDX0= github.com/golang/protobuf v1.4.1/go.mod h1:U8fpvMrcmy5pZrNK1lt4xCsGvpyWQ/VVv6QDs8UjoX8= -github.com/golang/protobuf v1.4.2 h1:+Z5KGCizgyZCbGh1KZqA0fcLLkwbsjIzS4aV2v7wJX0= github.com/golang/protobuf v1.4.2/go.mod h1:oDoupMAO8OvCJWAcko0GGGIgR6R6ocIYbsSw735rRwI= +github.com/golang/protobuf v1.4.3/go.mod h1:oDoupMAO8OvCJWAcko0GGGIgR6R6ocIYbsSw735rRwI= +github.com/golang/protobuf v1.5.0/go.mod h1:FsONVRAS9T7sI+LIUmWTfcYkHO4aIWwzhcaSAoJOfIk= +github.com/golang/protobuf v1.5.1/go.mod h1:DopwsBzvsk0Fs44TXzsVbJyPhcCPeIwnvohx4u74HPM= +github.com/golang/protobuf v1.5.2 h1:ROPKBNFfQgOUMifHyP+KYbvpjbdoFNs+aK7DXlji0Tw= +github.com/golang/protobuf v1.5.2/go.mod h1:XVQd3VNwM+JqD3oG2Ue2ip4fOMUkwXdXDdiuN0vRsmY= +github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c/go.mod h1:lNA+9X1NB3Zf8V7Ke586lFgjr2dZNuvo3lPJSGZ5JPQ= +github.com/google/btree v1.0.0/go.mod h1:lNA+9X1NB3Zf8V7Ke586lFgjr2dZNuvo3lPJSGZ5JPQ= github.com/google/go-cmp v0.2.0/go.mod h1:oXzfMopK8JAjlY9xF4vHSVASa0yLyX7SntLO5aqRK0M= github.com/google/go-cmp v0.3.0/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU= github.com/google/go-cmp v0.3.1/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU= -github.com/google/go-cmp v0.4.0 h1:xsAVV57WRhGj6kEIi8ReJzQlHHqcBYCElAvkovg3B/4= github.com/google/go-cmp v0.4.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= +github.com/google/go-cmp v0.4.1/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= +github.com/google/go-cmp v0.5.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= +github.com/google/go-cmp v0.5.1/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= +github.com/google/go-cmp v0.5.3/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= +github.com/google/go-cmp v0.5.4/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= +github.com/google/go-cmp v0.5.5 h1:Khx7svrCpmxxtHBq5j2mp/xVjsi8hQMfNLvJFAlrGgU= +github.com/google/go-cmp v0.5.5/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= +github.com/google/martian v2.1.0+incompatible/go.mod h1:9I4somxYTbIHy5NJKHRl3wXiIaQGbYVAs8BPL6v8lEs= +github.com/google/martian/v3 v3.0.0/go.mod h1:y5Zk1BBys9G+gd6Jrk0W3cC1+ELVxBWuIGO+w/tUAp0= +github.com/google/pprof v0.0.0-20181206194817-3ea8567a2e57/go.mod h1:zfwlbNMJ+OItoe0UupaVj+oy1omPYYDuagoSzA8v9mc= +github.com/google/pprof v0.0.0-20190515194954-54271f7e092f/go.mod h1:zfwlbNMJ+OItoe0UupaVj+oy1omPYYDuagoSzA8v9mc= +github.com/google/pprof v0.0.0-20191218002539-d4f498aebedc/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM= +github.com/google/pprof v0.0.0-20200212024743-f11f1df84d12/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM= +github.com/google/pprof v0.0.0-20200229191704-1ebb73c60ed3/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM= +github.com/google/pprof v0.0.0-20200430221834-fc25d7d30c6d/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM= +github.com/google/pprof v0.0.0-20200708004538-1a94d8640e99/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM= +github.com/google/renameio v0.1.0/go.mod h1:KWCgfxg9yswjAJkECMjeO8J8rahYeXnNhOm40UhjYkI= +github.com/google/uuid v1.1.2/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= github.com/google/uuid v1.1.2/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= -github.com/grpc-ecosystem/grpc-gateway v1.13.0 h1:sBDQoHXrOlfPobnKw69FIKa1wg9qsLLvvQ/Y19WtFgI= -github.com/grpc-ecosystem/grpc-gateway v1.13.0/go.mod h1:8XEsbTttt/W+VvjtQhLACqCisSPWTxCZ7sBRjU6iH9c= -github.com/grpc-ecosystem/grpc-gateway v1.16.0 h1:gmcG1KaJ57LophUzW0Hy8NmPhnMZb4M0+kPpLofRdBo= -github.com/grpc-ecosystem/grpc-gateway v1.16.0/go.mod h1:BDjrQk3hbvj6Nolgz8mAMFbcEtjT1g+wF4CSlocrBnw= -github.com/kisielk/errcheck v1.2.0/go.mod h1:/BMXB+zMLi60iA8Vv6Ksmxu/1UDYcXs4uQLJ+jE2L00= +github.com/googleapis/gax-go/v2 v2.0.4/go.mod h1:0Wqv26UfaUD9n4G6kQubkQ+KchISgw+vpHVxEJEs9eg= +github.com/googleapis/gax-go/v2 v2.0.5/go.mod h1:DWXyrwAJ9X0FpwwEdw+IPEYBICEFu5mhpdKc/us6bOk= +github.com/gopherjs/gopherjs v0.0.0-20181017120253-0766667cb4d1/go.mod h1:wJfORRmW1u3UXTncJ5qlYoELFm8eSnnEO6hX4iZ3EWY= +github.com/gordonklaus/ineffassign v0.0.0-20200309095847-7953dde2c7bf/go.mod h1:cuNKsD1zp2v6XfE/orVX2QE1LC+i254ceGcVeDT3pTU= +github.com/gorilla/websocket v1.4.2/go.mod h1:YR8l580nyteQvAITg2hZ9XVh4b55+EU/adAjf1fMHhE= +github.com/grpc-ecosystem/go-grpc-middleware v1.0.0/go.mod h1:FiyG127CGDf3tlThmgyCl78X/SZQqEOJBCDaAfeWzPs= +github.com/grpc-ecosystem/go-grpc-prometheus v1.2.0/go.mod h1:8NvIoxWQoOIhqOTXgfV/d3M/q6VIi02HzZEHgUlZvzk= +github.com/grpc-ecosystem/grpc-gateway v1.9.0 h1:bM6ZAFZmc/wPFaRDi0d5L7hGEZEx/2u+Tmr2evNHDiI= +github.com/grpc-ecosystem/grpc-gateway v1.9.0/go.mod h1:vNeuVxBJEsws4ogUvrchl83t/GYV9WGTSLVdBhOQFDY= +github.com/hashicorp/consul/api v1.1.0/go.mod h1:VmuI/Lkw1nC05EYQWNKwWGbkg+FbDBtguAZLlVdkD9Q= +github.com/hashicorp/consul/sdk v0.1.1/go.mod h1:VKf9jXwCTEY1QZP2MOLRhb5i/I/ssyNV1vwHyQBF0x8= +github.com/hashicorp/errwrap v1.0.0/go.mod h1:YH+1FKiLXxHSkmPseP+kNlulaMuP3n2brvKWEqk/Jc4= +github.com/hashicorp/go-cleanhttp v0.5.1/go.mod h1:JpRdi6/HCYpAwUzNwuwqhbovhLtngrth3wmdIIUrZ80= +github.com/hashicorp/go-immutable-radix v1.0.0/go.mod h1:0y9vanUI8NX6FsYoO3zeMjhV/C5i9g4Q3DwcSNZ4P60= +github.com/hashicorp/go-msgpack v0.5.3/go.mod h1:ahLV/dePpqEmjfWmKiqvPkv/twdG7iPBM1vqhUKIvfM= +github.com/hashicorp/go-multierror v1.0.0/go.mod h1:dHtQlpGsu+cZNNAkkCN/P3hoUDHhCYQXV3UM06sGGrk= +github.com/hashicorp/go-rootcerts v1.0.0/go.mod h1:K6zTfqpRlCUIjkwsN4Z+hiSfzSTQa6eBIzfwKfwNnHU= +github.com/hashicorp/go-sockaddr v1.0.0/go.mod h1:7Xibr9yA9JjQq1JpNB2Vw7kxv8xerXegt+ozgdvDeDU= +github.com/hashicorp/go-syslog v1.0.0/go.mod h1:qPfqrKkXGihmCqbJM2mZgkZGvKG1dFdvsLplgctolz4= +github.com/hashicorp/go-uuid v1.0.0/go.mod h1:6SBZvOh/SIDV7/2o3Jml5SYk/TvGqwFJ/bN7x4byOro= +github.com/hashicorp/go-uuid v1.0.1/go.mod h1:6SBZvOh/SIDV7/2o3Jml5SYk/TvGqwFJ/bN7x4byOro= +github.com/hashicorp/go.net v0.0.1/go.mod h1:hjKkEWcCURg++eb33jQU7oqQcI9XDCnUzHA0oac0k90= +github.com/hashicorp/golang-lru v0.5.0/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8= +github.com/hashicorp/golang-lru v0.5.1/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8= +github.com/hashicorp/hcl v1.0.0/go.mod h1:E5yfLk+7swimpb2L/Alb/PJmXilQ/rhwaUYs4T20WEQ= +github.com/hashicorp/logutils v1.0.0/go.mod h1:QIAnNjmIWmVIIkWDTG1z5v++HQmx9WQRO+LraFDTW64= +github.com/hashicorp/mdns v1.0.0/go.mod h1:tL+uN++7HEJ6SQLQ2/p+z2pH24WQKWjBPkE0mNTz8vQ= +github.com/hashicorp/memberlist v0.1.3/go.mod h1:ajVTdAv/9Im8oMAAj5G31PhhMCZJV2pPBoIllUwCN7I= +github.com/hashicorp/serf v0.8.2/go.mod h1:6hOLApaqBFA1NXqRQAsxw9QxuDEvNxSQRwA/JwenrHc= +github.com/iancoleman/strcase v0.1.3 h1:dJBk1m2/qjL1twPLf68JND55vvivMupZ4wIzE8CTdBw= +github.com/iancoleman/strcase v0.1.3/go.mod h1:SK73tn/9oHe+/Y0h39VT4UCxmurVJkR5NA7kMEAOgSE= +github.com/ianlancetaylor/demangle v0.0.0-20181102032728-5e5cf60278f6/go.mod h1:aSSvb/t6k1mPoxDqO4vJh6VOCGPwU4O0C2/Eqndh1Sc= +github.com/inconshreveable/mousetrap v1.0.0/go.mod h1:PxqpIevigyE2G7u3NXJIT2ANytuPF1OarO4DADm73n8= +github.com/jhump/protoreflect v1.8.1/go.mod h1:7GcYQDdMU/O/BBrl/cX6PNHpXh6cenjd8pneu5yW7Tg= +github.com/jonboulle/clockwork v0.1.0/go.mod h1:Ii8DK3G1RaLaWxj9trq07+26W01tbo22gdxWY5EU2bo= +github.com/json-iterator/go v1.1.6/go.mod h1:+SdeFBvtyEkXs7REEP0seUULqWtbJapLOCVDaaPEHmU= +github.com/jstemmer/go-junit-report v0.0.0-20190106144839-af01ea7f8024/go.mod h1:6v2b51hI/fHJwM22ozAgKL4VKDeJcHhJFhtBdhmNjmU= +github.com/jstemmer/go-junit-report v0.9.1/go.mod h1:Brl9GWCQeLvo8nXZwPNNblvFj/XSXhF0NWZEnDohbsk= +github.com/jtolds/gls v4.20.0+incompatible/go.mod h1:QJZ7F/aHp+rZTRtaJ1ow/lLfFfVYBRgL+9YlvaHOwJU= +github.com/julienschmidt/httprouter v1.2.0/go.mod h1:SYymIcj16QtmaHHD7aYtjjsJG7VTCxuUUipMqKk8s4w= +github.com/kisielk/errcheck v1.1.0/go.mod h1:EZBBE59ingxPouuu3KfxchcWSUPOHkagtvWXihfKN4Q= github.com/kisielk/gotool v1.0.0/go.mod h1:XhKaO+MFFWcvkIS/tQcRk01m1F5IRFswLeQ+oQHNcck= +github.com/klauspost/compress v1.11.7/go.mod h1:aoV0uJVorq1K+umq18yTdKaF57EivdYsUV+/s2qKfXs= +github.com/klauspost/pgzip v1.2.5/go.mod h1:Ch1tH69qFZu15pkjo5kYi6mth2Zzwzt50oCQKQE9RUs= +github.com/konsorten/go-windows-terminal-sequences v1.0.1/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ= +github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515/go.mod h1:+0opPa2QZZtGFBFZlji/RkVcI2GknAs/DXo4wKdlNEc= +github.com/kr/pretty v0.1.0 h1:L/CwN0zerZDmRFUapSPitk6f+Q3+0za1rQkzVuMiMFI= +github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo= +github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ= +github.com/kr/text v0.1.0 h1:45sCR5RtlFHMR4UwH9sdQ5TC8v0qDQCHnXt+kaKSTVE= +github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI= +github.com/magiconair/properties v1.8.1/go.mod h1:PppfXfuXeibc/6YijjN8zIbojt8czPbwD3XqdrwzmxQ= +github.com/mattn/go-colorable v0.0.9/go.mod h1:9vuHe8Xs5qXnSaW/c/ABM9alt+Vo+STaOChaDxuIBZU= +github.com/mattn/go-isatty v0.0.3/go.mod h1:M+lRXTBqGeGNdLjl/ufCoiOlB5xdOkqRJdNxMWT7Zi4= +github.com/matttproud/golang_protobuf_extensions v1.0.1/go.mod h1:D8He9yQNgCq6Z5Ld7szi9bcBfOoFv/3dc6xSMkL2PC0= +github.com/miekg/dns v1.0.14/go.mod h1:W1PPwlIAgtquWBMBEV9nkV9Cazfe8ScdGz/Lj7v3Nrg= github.com/minio/sha256-simd v0.1.1 h1:5QHSlgo3nt5yKOJrC7W8w7X+NFl8cMPZm96iu8kKUJU= github.com/minio/sha256-simd v0.1.1/go.mod h1:B5e1o+1/KgNmWrSQK08Y6Z1Vb5pwIktudl0J58iy0KM= -github.com/mitchellh/mapstructure v1.3.2 h1:mRS76wmkOn3KkKAyXDu42V+6ebnXWIztFSYGN7GeoRg= +github.com/mitchellh/cli v1.0.0/go.mod h1:hNIlj7HEI86fIcpObd7a0FcrxTWetlwJDGcceTlRvqc= +github.com/mitchellh/go-homedir v1.0.0/go.mod h1:SfyaCUpYCn1Vlf4IUYiD9fPX4A5wJrkLzIz1N1q0pr0= +github.com/mitchellh/go-homedir v1.1.0/go.mod h1:SfyaCUpYCn1Vlf4IUYiD9fPX4A5wJrkLzIz1N1q0pr0= +github.com/mitchellh/go-testing-interface v1.0.0/go.mod h1:kRemZodwjscx+RGhAo8eIhFbs2+BFgRtFPeD/KE+zxI= +github.com/mitchellh/gox v0.4.0/go.mod h1:Sd9lOJ0+aimLBi73mGofS1ycjY8lL3uZM3JPS42BGNg= +github.com/mitchellh/iochan v1.0.0/go.mod h1:JwYml1nuB7xOzsp52dPpHFffvOCDupsG0QubkSMEySY= +github.com/mitchellh/mapstructure v0.0.0-20160808181253-ca63d7c062ee/go.mod h1:FVVH3fgwuzCH5S8UJGiWEs2h04kUh9fWfEaFds41c1Y= +github.com/mitchellh/mapstructure v1.1.2/go.mod h1:FVVH3fgwuzCH5S8UJGiWEs2h04kUh9fWfEaFds41c1Y= github.com/mitchellh/mapstructure v1.3.2/go.mod h1:bFUtVrKA4DC2yAKiSyO/QUcy7e+RRV2QTWOzhPopBRo= +github.com/mitchellh/mapstructure v1.4.0 h1:7ks8ZkOP5/ujthUsT07rNv+nkLXCQWKNHuwzOAesEks= +github.com/mitchellh/mapstructure v1.4.0/go.mod h1:bFUtVrKA4DC2yAKiSyO/QUcy7e+RRV2QTWOzhPopBRo= +github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q= +github.com/modern-go/reflect2 v1.0.1/go.mod h1:bx2lNnkwVCuqBIxFjflWJWanXIb3RllmbCylyMrvgv0= +github.com/mwitkow/go-conntrack v0.0.0-20161129095857-cc309e4a2223/go.mod h1:qRWi+5nqEBWmkhHvq77mSJWrCKwh8bxhgT7d/eI7P4U= +github.com/nishanths/predeclared v0.0.0-20200524104333-86fad755b4d3/go.mod h1:nt3d53pc1VYcphSCIaYAJtnPYnr3Zyn8fMq2wvPGPso= +github.com/oklog/ulid v1.3.1/go.mod h1:CirwcVhetQ6Lv90oh/F+FBtV6XMibvdAFo93nm5qn4U= +github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c/go.mod h1:lzWF7FIEvWOWxwDKqyGYQf6ZUaNfKdP144TG7ZOy1lc= +github.com/pelletier/go-toml v1.2.0/go.mod h1:5z9KED0ma1S8pY6P1sdut58dfprrGBbd/94hg7ilaic= +github.com/pkg/errors v0.8.0/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= +github.com/pkg/errors v0.8.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= +github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= +github.com/pkg/profile v1.5.0/go.mod h1:qBsxPvzyUincmltOk6iyRVxHYg4adc0OFOv72ZdLa18= +github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= +github.com/posener/complete v1.1.1/go.mod h1:em0nMJCgc9GFtwrmVmEMR/ZL6WyhyjMBndrE9hABlRI= +github.com/prometheus/client_golang v0.9.1/go.mod h1:7SWBe2y4D6OKWSNQJUaRYU/AaXPKyh/dDVn+NZz0KFw= +github.com/prometheus/client_golang v0.9.3/go.mod h1:/TN21ttK/J9q6uSwhBd54HahCDft0ttaMvbicHlPoso= +github.com/prometheus/client_model v0.0.0-20180712105110-5c3871d89910/go.mod h1:MbSGuTsp3dbXC40dX6PRTWyKYBIrTGTE9sqQNg2J8bo= +github.com/prometheus/client_model v0.0.0-20190129233127-fd36f4220a90/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= -github.com/prysmaticlabs/eth2-types v0.0.0-20210127031309-22cbe426eba6 h1:n/ZI+/bZfkMoGoV2Rult3YvS5LT4dvpAFOuISq+I+GY= -github.com/prysmaticlabs/eth2-types v0.0.0-20210127031309-22cbe426eba6/go.mod h1:kOmQ/zdobQf7HUohDTifDNFEZfNaSCIY5fkONPL+dWU= -github.com/prysmaticlabs/go-bitfield v0.0.0-20200322041314-62c2aee71669 h1:cX6YRZnZ9sgMqM5U14llxUiXVNJ3u07Res1IIjTOgtI= -github.com/prysmaticlabs/go-bitfield v0.0.0-20200322041314-62c2aee71669/go.mod h1:hCwmef+4qXWjv0jLDbQdWnL0Ol7cS7/lCSS26WR+u6s= +github.com/prometheus/common v0.0.0-20181113130724-41aa239b4cce/go.mod h1:daVV7qP5qjZbuso7PdcryaAu0sAZbrN9i7WWcTMWvro= +github.com/prometheus/common v0.4.0/go.mod h1:TNfzLD0ON7rHzMJeJkieUDPYmFC7Snx/y86RQel1bk4= +github.com/prometheus/procfs v0.0.0-20181005140218-185b4288413d/go.mod h1:c3At6R/oaqEKCNdg8wHV1ftS6bRYblBhIjjI8uT2IGk= +github.com/prometheus/procfs v0.0.0-20190507164030-5867b95ac084/go.mod h1:TjEm7ze935MbeOT/UhFTIMYKhuLP4wbCsTZCD3I8kEA= +github.com/prometheus/tsdb v0.7.1/go.mod h1:qhTCs0VvXwvX/y3TZrWD7rabWM+ijKTux40TwIPHuXU= +github.com/prysmaticlabs/eth2-types v0.0.0-20210303084904-c9735a06829d h1:1dN7YAqMN3oAJ0LceWcyv/U4jHLh+5urnSnr4br6zg4= +github.com/prysmaticlabs/eth2-types v0.0.0-20210303084904-c9735a06829d/go.mod h1:kOmQ/zdobQf7HUohDTifDNFEZfNaSCIY5fkONPL+dWU= +github.com/prysmaticlabs/go-bitfield v0.0.0-20210108222456-8e92c3709aa0/go.mod h1:hCwmef+4qXWjv0jLDbQdWnL0Ol7cS7/lCSS26WR+u6s= github.com/prysmaticlabs/go-bitfield v0.0.0-20210202205921-7fcea7c45dc8 h1:18+Qqobq3HAUY0hgIhPGSqmLFnaLLocemmU7+Sj2aYQ= github.com/prysmaticlabs/go-bitfield v0.0.0-20210202205921-7fcea7c45dc8/go.mod h1:hCwmef+4qXWjv0jLDbQdWnL0Ol7cS7/lCSS26WR+u6s= +github.com/prysmaticlabs/grpc-gateway/v2 v2.3.1-0.20210405183733-d2d58057c645 h1:dyspW8MEfrfRxiTsOx0ekSQakjHXQY/InYlikXrH/x4= +github.com/prysmaticlabs/grpc-gateway/v2 v2.3.1-0.20210405183733-d2d58057c645/go.mod h1:DoejD8QM1DgDOzcUMsLuxA66Ttp8I0Y70I7hcB0RyG8= +github.com/prysmaticlabs/protoc-gen-go-cast v0.0.0-20210504233148-1e141af6a0a1 h1:k7CCMwN7VooQ7GhfySnaVyI4/9+QbhJTdasoC6VOZOI= +github.com/prysmaticlabs/protoc-gen-go-cast v0.0.0-20210504233148-1e141af6a0a1/go.mod h1:au9l1XcWNEKixIlSRzEe54fYGhyELWgJJIxKu8W75Mc= +github.com/rogpeppe/fastuuid v0.0.0-20150106093220-6724a57986af/go.mod h1:XWv6SoW27p1b0cqNHllgS5HIMJraePCO15w5zCzIWYg= github.com/rogpeppe/fastuuid v1.2.0/go.mod h1:jVj6XXZzXRy/MSR5jhDC/2q6DgLz+nrA6LYCDYWNEvQ= +github.com/rogpeppe/go-internal v1.3.0/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFRclV5y23lUDJ4= +github.com/russross/blackfriday/v2 v2.0.1/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM= +github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f/go.mod h1:sm1tb6uqfes/u+d4ooFouqFdy9/2g9QGwK3SQygK0Ts= +github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529/go.mod h1:DxrIzT+xaE7yg65j358z/aeFdxmN0P9QXhEzd20vsDc= +github.com/shurcooL/sanitized_anchor_name v1.0.0/go.mod h1:1NzhyTcUVG4SuEtjjoZeVRXNmyL/1OwPU0+IJeTBvfc= +github.com/sirupsen/logrus v1.2.0/go.mod h1:LxeOpSwHxABJmUn/MG1IvRgCAasNZTLOkJPxbbu5VWo= +github.com/smartystreets/assertions v0.0.0-20180927180507-b2de0cb4f26d/go.mod h1:OnSkiWE9lh6wB0YB77sQom3nweQdgAjqCqsofrRNTgc= +github.com/smartystreets/goconvey v1.6.4/go.mod h1:syvi0/a8iFYH4r/RixwvyeAJjdLS9QV7WQ/tjFTllLA= +github.com/soheilhy/cmux v0.1.4/go.mod h1:IM3LyeVVIOuxMH7sFAkER9+bJ4dT7Ms6E4xg4kGIyLM= +github.com/spaolacci/murmur3 v0.0.0-20180118202830-f09979ecbc72/go.mod h1:JwIasOWyU6f++ZhiEuf87xNszmSA2myDM2Kzu9HwQUA= +github.com/spf13/afero v1.1.2/go.mod h1:j4pytiNVoe2o6bmDsKpLACNPDBIoEAkihy7loJ1B0CQ= +github.com/spf13/cast v1.3.0/go.mod h1:Qx5cxh0v+4UWYiBimWS+eyWzqEqokIECu5etghLkUJE= +github.com/spf13/cobra v1.0.1-0.20201006035406-b97b5ead31f7/go.mod h1:yk5b0mALVusDL5fMM6Rd1wgnoO5jUPhwsQ6LQAJTidQ= +github.com/spf13/jwalterweatherman v1.0.0/go.mod h1:cQK4TGJAtQXfYWX+Ddv3mKDzgVb68N+wFjFa4jdeBTo= +github.com/spf13/pflag v1.0.3/go.mod h1:DYY7MBk1bdzusC3SYhjObp+wFpr4gzcvqqNjLnInEg4= +github.com/spf13/pflag v1.0.5/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg= +github.com/spf13/viper v1.7.0/go.mod h1:8WkrPz2fc9jxqZNCJI/76HCieCp4Q8HaLFoCha5qpdg= +github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= +github.com/stretchr/objx v0.1.1/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= +github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs= +github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI= +github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4= +github.com/stretchr/testify v1.5.1/go.mod h1:5W2xD1RspED5o8YsWQXVCued0rvSQ+mT+I5cxcmMvtA= +github.com/stretchr/testify v1.6.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= +github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= +github.com/subosito/gotenv v1.2.0/go.mod h1:N0PQaV/YGNqwC0u51sEeR/aUtSLEXKX9iv69rRypqCw= +github.com/tmc/grpc-websocket-proxy v0.0.0-20190109142713-0ad062ec5ee5/go.mod h1:ncp9v5uamzpCO7NfCPTXjqaC+bZgJeR0sMTm6dMHP7U= +github.com/twitchtv/twirp v7.1.0+incompatible/go.mod h1:RRJoFSAmTEh2weEqWtpPE3vFK5YBhA6bqp2l1kfCC5A= +github.com/xiang90/probing v0.0.0-20190116061207-43a291ad63a2/go.mod h1:UETIi67q53MR2AWcXfiuqkDkRtnGDLqkBTpCHuJHxtU= +github.com/yuin/goldmark v1.1.25/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= +github.com/yuin/goldmark v1.1.27/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= +github.com/yuin/goldmark v1.1.32/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= +github.com/yuin/goldmark v1.2.1/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= +go.etcd.io/bbolt v1.3.2/go.mod h1:IbVyRI1SCnLcuJnV2u8VeU0CEYM7e686BmAb1XKL+uU= +go.opencensus.io v0.21.0/go.mod h1:mSImk1erAIZhrmZN+AvHh14ztQfjbGwt4TtuofqLduU= +go.opencensus.io v0.22.0/go.mod h1:+kGneAE2xo2IficOXnaByMWTGM9T73dGwxeWcUqIpI8= +go.opencensus.io v0.22.2/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw= +go.opencensus.io v0.22.3/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw= +go.opencensus.io v0.22.4/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw= +go.opencensus.io v0.22.6/go.mod h1:XItmlyltB5F7CS4xOC1DcqMoFqwtC6OG2xF7mCv7P7E= +go.uber.org/atomic v1.4.0/go.mod h1:gD2HeocX3+yG+ygLZcrzQJaqmWj9AIm7n08wl/qW/PE= +go.uber.org/atomic v1.6.0/go.mod h1:sABNBOSYdrvTF6hTgEIbc7YasKWGhgEQZyfxyTvoXHQ= +go.uber.org/atomic v1.7.0/go.mod h1:fEN4uk6kAWBTFdckzkM89CLk9XfWZrxpCo0nPH17wJc= +go.uber.org/multierr v1.1.0/go.mod h1:wR5kodmAFQ0UK8QlbwjlSNy0Z68gJhDJUG5sjR94q/0= +go.uber.org/multierr v1.5.0/go.mod h1:FeouvMocqHpRaaGuG9EjoKcStLC43Zu/fmqdUMPcKYU= +go.uber.org/multierr v1.6.0/go.mod h1:cdWPpRnG4AhwMwsgIHip0KRBQjJy5kYEpYjJxpXp9iU= +go.uber.org/tools v0.0.0-20190618225709-2cfd321de3ee/go.mod h1:vJERXedbb3MVM5f9Ejo0C68/HhF8uaILCdgjnY+goOA= +go.uber.org/zap v1.10.0/go.mod h1:vwi/ZaCAaUcBkycHslxD9B2zi4UTXhF60s6SWpuDF0Q= +go.uber.org/zap v1.16.0/go.mod h1:MA8QOfq0BHJwdXa996Y4dYkAqRKB8/1K1QMMZVaNZjQ= +golang.org/x/crypto v0.0.0-20180904163835-0709b304e793/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= +golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= +golang.org/x/crypto v0.0.0-20190510104115-cbcb75029529/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= +golang.org/x/crypto v0.0.0-20190605123033-f99c8df09eb5/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= +golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= +golang.org/x/exp v0.0.0-20190306152737-a1d7652674e8/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= +golang.org/x/exp v0.0.0-20190510132918-efd6b22b2522/go.mod h1:ZjyILWgesfNpC6sMxTJOJm9Kp84zZh5NQWvqDGG3Qr8= +golang.org/x/exp v0.0.0-20190829153037-c13cbed26979/go.mod h1:86+5VVa7VpoJ4kLfm080zCjGlMRFzhUhsZKEZO7MGek= +golang.org/x/exp v0.0.0-20191030013958-a1ab85dbe136/go.mod h1:JXzH8nQsPlswgeRAPE3MuO9GYsAcnJvJ4vnMwN/5qkY= +golang.org/x/exp v0.0.0-20191129062945-2f5052295587/go.mod h1:2RIsYlXP63K8oxa1u096TMicItID8zy7Y6sNkU49FU4= +golang.org/x/exp v0.0.0-20191227195350-da58074b4299/go.mod h1:2RIsYlXP63K8oxa1u096TMicItID8zy7Y6sNkU49FU4= +golang.org/x/exp v0.0.0-20200119233911-0405dc783f0a/go.mod h1:2RIsYlXP63K8oxa1u096TMicItID8zy7Y6sNkU49FU4= +golang.org/x/exp v0.0.0-20200207192155-f17229e696bd/go.mod h1:J/WKrq2StrnmMY6+EHIKF9dgMWnmCNThgcyBT1FY9mM= +golang.org/x/exp v0.0.0-20200224162631-6cc2880d07d6/go.mod h1:3jZMyOhIsHpP37uCMkUooju7aAi5cS1Q23tOzKc+0MU= +golang.org/x/image v0.0.0-20190227222117-0694c2d4d067/go.mod h1:kZ7UVZpmo3dzQBMxlp+ypCbDeSB+sBbTgSJuh5dn5js= +golang.org/x/image v0.0.0-20190802002840-cff245a6509b/go.mod h1:FeLwcggjj3mMvU+oOTbSwawSJRM1uh48EjtB4UJZlP0= golang.org/x/lint v0.0.0-20181026193005-c67002cb31c3/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE= golang.org/x/lint v0.0.0-20190227174305-5b3e6a55c961/go.mod h1:wehouNa3lNwaWXcvxsM5YxQ5yQlVC4a0KAMCusXpPoU= +golang.org/x/lint v0.0.0-20190301231843-5614ed5bae6f/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE= golang.org/x/lint v0.0.0-20190313153728-d0100b6bd8b3/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= +golang.org/x/lint v0.0.0-20190409202823-959b441ac422/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= +golang.org/x/lint v0.0.0-20190909230951-414d861bb4ac/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= +golang.org/x/lint v0.0.0-20190930215403-16217165b5de/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= +golang.org/x/lint v0.0.0-20191125180803-fdd1cda4f05f/go.mod h1:5qLYkcX4OjUUV8bRuDixDT3tpyyb+LUpUlRWLxfhWrs= +golang.org/x/lint v0.0.0-20200130185559-910be7a94367/go.mod h1:3xt1FjdF8hUf6vQPIChWIBhFzV8gjjsPE/fR3IyQdNY= +golang.org/x/lint v0.0.0-20200302205851-738671d3881b/go.mod h1:3xt1FjdF8hUf6vQPIChWIBhFzV8gjjsPE/fR3IyQdNY= +golang.org/x/lint v0.0.0-20201208152925-83fdc39ff7b5/go.mod h1:3xt1FjdF8hUf6vQPIChWIBhFzV8gjjsPE/fR3IyQdNY= +golang.org/x/mobile v0.0.0-20190312151609-d3739f865fa6/go.mod h1:z+o9i4GpDbdi3rU15maQ/Ox0txvL9dWGYEHz965HBQE= +golang.org/x/mobile v0.0.0-20190719004257-d2bd2a29d028/go.mod h1:E/iHnbuqvinMTCcRqshq8CkpyQDoeVncDDYHnLhea+o= +golang.org/x/mod v0.0.0-20190513183733-4bf6d317e70e/go.mod h1:mXi4GBBbnImb6dmsKGUJ2LatrhH/nqhxcFungHvyanc= +golang.org/x/mod v0.1.0/go.mod h1:0QHyrYULN0/3qlju5TqG8bIK38QM8yzMo5ekMj3DlcY= +golang.org/x/mod v0.1.1-0.20191105210325-c90efee705ee/go.mod h1:QqPTAvyqsEbceGzBzNggFXnrqF1CaUcvgkdR5Ot7KZg= +golang.org/x/mod v0.1.1-0.20191107180719-034126e5016b/go.mod h1:QqPTAvyqsEbceGzBzNggFXnrqF1CaUcvgkdR5Ot7KZg= +golang.org/x/mod v0.2.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= +golang.org/x/mod v0.3.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20180826012351-8a410e7b638d/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= +golang.org/x/net v0.0.0-20181023162649-9b4f9f5ad519/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= +golang.org/x/net v0.0.0-20181114220301-adae6a3d119a/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= +golang.org/x/net v0.0.0-20181201002055-351d144fa1fc/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= +golang.org/x/net v0.0.0-20181220203305-927f97764cc3/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20190108225652-1e06a53dbb7e/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20190213061140-3a22650c66bd/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20190311183353-d8887717615a/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= -golang.org/x/net v0.0.0-20191002035440-2ec189313ef0 h1:2mqDk8w/o6UmeUCu5Qiq2y7iMf6anbx+YA8d1JFoFrs= -golang.org/x/net v0.0.0-20191002035440-2ec189313ef0/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= +golang.org/x/net v0.0.0-20190501004415-9ce7a6920f09/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= +golang.org/x/net v0.0.0-20190503192946-f4e77d36d62c/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= +golang.org/x/net v0.0.0-20190603091049-60506f45cf65/go.mod h1:HSz+uSET+XFnRR8LxR5pz3Of3rY3CfYBVs4xY44aLks= +golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= +golang.org/x/net v0.0.0-20190628185345-da137c7871d7/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= +golang.org/x/net v0.0.0-20190724013045-ca1201d0de80/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= +golang.org/x/net v0.0.0-20191209160850-c0dbc17a3553/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= +golang.org/x/net v0.0.0-20200114155413-6afb5195e5aa/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= +golang.org/x/net v0.0.0-20200202094626-16171245cfb2/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= +golang.org/x/net v0.0.0-20200222125558-5a598a2470a0/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= +golang.org/x/net v0.0.0-20200226121028-0de0cce0169b/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= +golang.org/x/net v0.0.0-20200301022130-244492dfa37a/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= +golang.org/x/net v0.0.0-20200324143707-d3edc9973b7e/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= +golang.org/x/net v0.0.0-20200501053045-e0ff5e5a1de5/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= +golang.org/x/net v0.0.0-20200506145744-7e3656a0809f/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= +golang.org/x/net v0.0.0-20200513185701-a91f0712d120/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= +golang.org/x/net v0.0.0-20200520182314-0ba52f642ac2/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= +golang.org/x/net v0.0.0-20200625001655-4c5254603344/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA= +golang.org/x/net v0.0.0-20200707034311-ab3426394381/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA= golang.org/x/net v0.0.0-20200822124328-c89045814202/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA= +golang.org/x/net v0.0.0-20200822124328-c89045814202/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA= +golang.org/x/net v0.0.0-20201021035429-f5854403a974/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU= +golang.org/x/net v0.0.0-20201110031124-69a78807bb2b/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU= +golang.org/x/net v0.0.0-20210119194325-5f4716e94777/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg= +golang.org/x/net v0.0.0-20210316092652-d523dce5a7f4 h1:b0LrWgu8+q7z4J+0Y3Umo5q1dL7NXBkKBWkaVkAq17E= +golang.org/x/net v0.0.0-20210316092652-d523dce5a7f4/go.mod h1:RBQZq4jEuRlivfhVLdyRGr576XBO4/greRjx4P4O3yc= +golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U= golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U= +golang.org/x/oauth2 v0.0.0-20190226205417-e64efc72b421/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= +golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= +golang.org/x/oauth2 v0.0.0-20191202225959-858c2ad4c8b6/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= +golang.org/x/oauth2 v0.0.0-20200107190931-bf48bf16ab8d/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= golang.org/x/oauth2 v0.0.0-20200107190931-bf48bf16ab8d/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= +golang.org/x/oauth2 v0.0.0-20210323180902-22b0adad7558/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.0.0-20181108010431-42b317875d0f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20181108010431-42b317875d0f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.0.0-20190227155943-e225da77a7e6/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.0.0-20190911185100-cd5d95a43a6e/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.0.0-20200317015054-43a5402ce75a/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.0.0-20200625203802-6e8e738ad208/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.0.0-20201020160332-67f06af15bc9/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sys v0.0.0-20180823144017-11551d06cbcc/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20180830151530-49385e6e1522/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= -golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a h1:1BGLXjeY4akVXGgbC9HugT3Jv3hCI0z56oJR5vAMgBU= +golang.org/x/sys v0.0.0-20180905080454-ebe1bf3edb33/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= +golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= +golang.org/x/sys v0.0.0-20181107165924-66b7b1311ac8/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= +golang.org/x/sys v0.0.0-20181116152217-5ac8a444bdc5/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= +golang.org/x/sys v0.0.0-20190312061237-fead79001313/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20190502145724-3ef323f4f1fd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20190507160741-ecd444e8653b/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20190606165138-5da285871e9c/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20190624142023-c5567b49c5d0/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20190726091711-fc99dfbffb4e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20191001151750-bb3f8db39f24/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20191204072324-ce4227a45e2e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20191228213918-04cbcbbfeed8/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200113162924-86b910548bc1/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200122134326-e047566fdf82/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200202164722-d101bd2416d5/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200212091648-12a6c2dcc1e4/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200223170610-d5e6a3e2c0ae/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200302150141-5c8b2ff67527/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/text v0.3.0 h1:g61tztE5qeGQ89tm6NTjjM9VPIm088od1l6aSorWRWg= +golang.org/x/sys v0.0.0-20200331124033-c3d80250170d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200501052902-10377860bb8e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200511232937-7e40ca221e25/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200515095857-1151b9dac4a9/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200523222454-059865788121/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200803210538-64077c9b5642/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200930185726-fdedc70b468f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20201119102817-f84b799fce68/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20210119212857-b64e53b001e4/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20210124154548-22da62e12c0c/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20210315160823-c6e025ad8005/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20210320140829-1e4c9ba3b0c4 h1:EZ2mChiOa8udjfp6rRmswTbtZN/QzUQp4ptM4rnjHvc= +golang.org/x/sys v0.0.0-20210320140829-1e4c9ba3b0c4/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= +golang.org/x/text v0.0.0-20170915032832-14c0d48ead0c/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= -golang.org/x/tools v0.0.0-20181030221726-6c7e314b6563/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= +golang.org/x/text v0.3.1-0.20180807135948-17ff2d5776d2/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= +golang.org/x/text v0.3.2/go.mod h1:bEr9sfX3Q8Zfm5fL9x+3itogRgK3+ptLWKqgva+5dAk= +golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= +golang.org/x/text v0.3.5 h1:i6eZZ+zk0SOf0xgBpEpPD18qWcJda6q1sxt3S0kzyUQ= +golang.org/x/text v0.3.5/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= +golang.org/x/time v0.0.0-20181108054448-85acf8d2951c/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= +golang.org/x/time v0.0.0-20190308202827-9d24e82272b4/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= +golang.org/x/time v0.0.0-20191024005414-555d28b269f0/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= +golang.org/x/tools v0.0.0-20180221164845-07fd8470d635/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= +golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= golang.org/x/tools v0.0.0-20190114222345-bf090417da8b/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= golang.org/x/tools v0.0.0-20190226205152-f727befe758c/go.mod h1:9Yl7xja0Znq3iFh3HoIrodX9oNMXvdceNzlUR8zjMvY= golang.org/x/tools v0.0.0-20190311212946-11955173bddd/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= +golang.org/x/tools v0.0.0-20190312151545-0bb0c0a6e846/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= +golang.org/x/tools v0.0.0-20190312170243-e65039ee4138/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= +golang.org/x/tools v0.0.0-20190328211700-ab21143f2384/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= +golang.org/x/tools v0.0.0-20190425150028-36563e24a262/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q= +golang.org/x/tools v0.0.0-20190506145303-2d16b83fe98c/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q= golang.org/x/tools v0.0.0-20190524140312-2c0ae7006135/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= +golang.org/x/tools v0.0.0-20190606124116-d0a3d012864b/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc= +golang.org/x/tools v0.0.0-20190621195816-6e04913cbbac/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc= +golang.org/x/tools v0.0.0-20190628153133-6cdbf07be9d0/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc= +golang.org/x/tools v0.0.0-20190816200558-6889da9d5479/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= +golang.org/x/tools v0.0.0-20190911174233-4f2ddba30aff/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= +golang.org/x/tools v0.0.0-20191012152004-8de300cfc20a/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= +golang.org/x/tools v0.0.0-20191029041327-9cc4af7d6b2c/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= +golang.org/x/tools v0.0.0-20191029190741-b9c20aec41a5/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= +golang.org/x/tools v0.0.0-20191112195655-aa38f8e97acc/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= +golang.org/x/tools v0.0.0-20191113191852-77e3bb0ad9e7/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= +golang.org/x/tools v0.0.0-20191115202509-3a792d9c32b2/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= +golang.org/x/tools v0.0.0-20191119224855-298f0cb1881e/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= +golang.org/x/tools v0.0.0-20191125144606-a911d9008d1f/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= +golang.org/x/tools v0.0.0-20191130070609-6e064ea0cf2d/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= +golang.org/x/tools v0.0.0-20191216173652-a0e659d51361/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= +golang.org/x/tools v0.0.0-20191227053925-7b8e75db28f4/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= +golang.org/x/tools v0.0.0-20200117161641-43d50277825c/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= +golang.org/x/tools v0.0.0-20200122220014-bf1340f18c4a/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= +golang.org/x/tools v0.0.0-20200130002326-2f3ba24bd6e7/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= +golang.org/x/tools v0.0.0-20200204074204-1cc6d1ef6c74/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= +golang.org/x/tools v0.0.0-20200207183749-b753a1ba74fa/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= +golang.org/x/tools v0.0.0-20200212150539-ea181f53ac56/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= +golang.org/x/tools v0.0.0-20200224181240-023911ca70b2/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= +golang.org/x/tools v0.0.0-20200227222343-706bc42d1f0d/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= +golang.org/x/tools v0.0.0-20200304193943-95d2e580d8eb/go.mod h1:o4KQGtdN14AW+yjsvvwRTJJuXz8XRtIHtEnmAXLyFUw= +golang.org/x/tools v0.0.0-20200312045724-11d5b4c81c7d/go.mod h1:o4KQGtdN14AW+yjsvvwRTJJuXz8XRtIHtEnmAXLyFUw= +golang.org/x/tools v0.0.0-20200331025713-a30bf2db82d4/go.mod h1:Sl4aGygMT6LrqrWclx+PTx3U+LnKx/seiNR+3G19Ar8= +golang.org/x/tools v0.0.0-20200501065659-ab2804fb9c9d/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= +golang.org/x/tools v0.0.0-20200512131952-2bc93b1c0c88/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= +golang.org/x/tools v0.0.0-20200515010526-7d3b6ebf133d/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= +golang.org/x/tools v0.0.0-20200522201501-cb1345f3a375/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= +golang.org/x/tools v0.0.0-20200618134242-20370b0cb4b2/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= +golang.org/x/tools v0.0.0-20200717024301-6ddee64345a6/go.mod h1:njjCfa9FT2d7l9Bc6FUM5FLjQPp3cFF28FI3qnDFljA= +golang.org/x/tools v0.0.0-20200729194436-6467de6f59a7/go.mod h1:njjCfa9FT2d7l9Bc6FUM5FLjQPp3cFF28FI3qnDFljA= +golang.org/x/tools v0.0.0-20200804011535-6c149bb5ef0d/go.mod h1:njjCfa9FT2d7l9Bc6FUM5FLjQPp3cFF28FI3qnDFljA= +golang.org/x/tools v0.0.0-20200825202427-b303f430e36d/go.mod h1:njjCfa9FT2d7l9Bc6FUM5FLjQPp3cFF28FI3qnDFljA= +golang.org/x/tools v0.1.0 h1:po9/4sTYwZU9lPhi1tOrb4hCv3qrhiQ77LZfGa2OjwY= +golang.org/x/tools v0.1.0/go.mod h1:xkSsbof2nBLbhDlRMhhhyNLN/zl3eTqcnHD5viDpcZ0= +golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= +golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= +golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 h1:go1bK/D/BFZV2I8cIQd1NKEZ+0owSTG1fDTci4IqFcE= +golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= +google.golang.org/api v0.4.0/go.mod h1:8k5glujaEP+g9n7WNsDg8QP6cUVNI86fCNMcbazEtwE= +google.golang.org/api v0.7.0/go.mod h1:WtwebWUNSVBH/HAw79HIFXZNqEvBhG+Ra+ax0hx3E3M= +google.golang.org/api v0.8.0/go.mod h1:o4eAsZoiT+ibD93RtjEohWalFOjRDx6CVaqeizhEnKg= +google.golang.org/api v0.9.0/go.mod h1:o4eAsZoiT+ibD93RtjEohWalFOjRDx6CVaqeizhEnKg= +google.golang.org/api v0.13.0/go.mod h1:iLdEw5Ide6rF15KTC1Kkl0iskquN2gFfn9o9XIsbkAI= +google.golang.org/api v0.14.0/go.mod h1:iLdEw5Ide6rF15KTC1Kkl0iskquN2gFfn9o9XIsbkAI= +google.golang.org/api v0.15.0/go.mod h1:iLdEw5Ide6rF15KTC1Kkl0iskquN2gFfn9o9XIsbkAI= +google.golang.org/api v0.17.0/go.mod h1:BwFmGc8tA3vsd7r/7kR8DY7iEEGSU04BFxCo5jP/sfE= +google.golang.org/api v0.18.0/go.mod h1:BwFmGc8tA3vsd7r/7kR8DY7iEEGSU04BFxCo5jP/sfE= +google.golang.org/api v0.19.0/go.mod h1:BwFmGc8tA3vsd7r/7kR8DY7iEEGSU04BFxCo5jP/sfE= +google.golang.org/api v0.20.0/go.mod h1:BwFmGc8tA3vsd7r/7kR8DY7iEEGSU04BFxCo5jP/sfE= +google.golang.org/api v0.22.0/go.mod h1:BwFmGc8tA3vsd7r/7kR8DY7iEEGSU04BFxCo5jP/sfE= +google.golang.org/api v0.24.0/go.mod h1:lIXQywCXRcnZPGlsd8NbLnOjtAoL6em04bJ9+z0MncE= +google.golang.org/api v0.28.0/go.mod h1:lIXQywCXRcnZPGlsd8NbLnOjtAoL6em04bJ9+z0MncE= +google.golang.org/api v0.29.0/go.mod h1:Lcubydp8VUV7KeIHD9z2Bys/sm/vGKnG1UHuDBSrHWM= +google.golang.org/api v0.30.0/go.mod h1:QGmEvQ87FHZNiUVJkT14jQNYJ4ZJjdRF23ZXz5138Fc= google.golang.org/appengine v1.1.0/go.mod h1:EbEs0AVv82hx2wNQdGPgUI5lhzA/G0D9YwlJXL52JkM= google.golang.org/appengine v1.4.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= +google.golang.org/appengine v1.5.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= +google.golang.org/appengine v1.6.1/go.mod h1:i06prIuMbXzDqacNJfV5OdTW448YApPu5ww/cMBSeb0= +google.golang.org/appengine v1.6.5/go.mod h1:8WjMMxjGQR8xUklV/ARdw2HLXBOI7O7uCIDZVag1xfc= +google.golang.org/appengine v1.6.6/go.mod h1:8WjMMxjGQR8xUklV/ARdw2HLXBOI7O7uCIDZVag1xfc= google.golang.org/genproto v0.0.0-20180817151627-c66870c02cf8/go.mod h1:JiN7NxoALGmiZfu7CAH4rXhgtRTLTxftemlI0sWmxmc= +google.golang.org/genproto v0.0.0-20190307195333-5fe7a883aa19/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= +google.golang.org/genproto v0.0.0-20190418145605-e7d98fc518a7/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= +google.golang.org/genproto v0.0.0-20190425155659-357c62f0e4bb/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= +google.golang.org/genproto v0.0.0-20190502173448-54afdca5d873/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= +google.golang.org/genproto v0.0.0-20190801165951-fa694d86fc64/go.mod h1:DMBHOl98Agz4BDEuKkezgsaosCRResVns1a3J2ZsMNc= google.golang.org/genproto v0.0.0-20190819201941-24fa4b261c55/go.mod h1:DMBHOl98Agz4BDEuKkezgsaosCRResVns1a3J2ZsMNc= -google.golang.org/genproto v0.0.0-20190927181202-20e1ac93f88c/go.mod h1:IbNlFCBrqXvoKpeg0TB2l7cyZUmoaFKYIwrEpbDKLA8= -google.golang.org/genproto v0.0.0-20200513103714-09dca8ec2884/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= +google.golang.org/genproto v0.0.0-20190911173649-1774047e7e51/go.mod h1:IbNlFCBrqXvoKpeg0TB2l7cyZUmoaFKYIwrEpbDKLA8= +google.golang.org/genproto v0.0.0-20191108220845-16a3f7862a1a/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= +google.golang.org/genproto v0.0.0-20191115194625-c23dd37a84c9/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= +google.golang.org/genproto v0.0.0-20191216164720-4f79533eabd1/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= +google.golang.org/genproto v0.0.0-20191230161307-f3c370f40bfb/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= +google.golang.org/genproto v0.0.0-20200115191322-ca5a22157cba/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= +google.golang.org/genproto v0.0.0-20200122232147-0452cf42e150/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= +google.golang.org/genproto v0.0.0-20200204135345-fa8e72b47b90/go.mod h1:GmwEX6Z4W5gMy59cAlVYjN9JhxgbQH6Gn+gFDQe2lzA= +google.golang.org/genproto v0.0.0-20200212174721-66ed5ce911ce/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= +google.golang.org/genproto v0.0.0-20200224152610-e50cd9704f63/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= +google.golang.org/genproto v0.0.0-20200228133532-8c2c7df3a383/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= +google.golang.org/genproto v0.0.0-20200305110556-506484158171/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= +google.golang.org/genproto v0.0.0-20200312145019-da6875a35672/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= +google.golang.org/genproto v0.0.0-20200331122359-1ee6d9798940/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= +google.golang.org/genproto v0.0.0-20200430143042-b979b6f78d84/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= +google.golang.org/genproto v0.0.0-20200511104702-f5ebc3bea380/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= +google.golang.org/genproto v0.0.0-20200515170657-fc4c6c6a6587/go.mod h1:YsZOwe1myG/8QRHRsmBRE1LrgQY60beZKjly0O1fX9U= google.golang.org/genproto v0.0.0-20200526211855-cb27e3aa2013/go.mod h1:NbSheEEYHJ7i3ixzK3sjbqSGDJWnxyFXZblF3eUsNvo= -google.golang.org/genproto v0.0.0-20200528191852-705c0b31589b h1:nl5tymnV+50ACFZUDAP+xFCe3Zh3SWdMDx+ernZSKNA= -google.golang.org/genproto v0.0.0-20200528191852-705c0b31589b/go.mod h1:jDfRM7FcilCzHH/e9qn6dsT145K34l5v+OpcnNgKAAA= +google.golang.org/genproto v0.0.0-20200618031413-b414f8b61790/go.mod h1:jDfRM7FcilCzHH/e9qn6dsT145K34l5v+OpcnNgKAAA= +google.golang.org/genproto v0.0.0-20200729003335-053ba62fc06f/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= +google.golang.org/genproto v0.0.0-20200804131852-c06518451d9c/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= +google.golang.org/genproto v0.0.0-20200825200019-8632dd797987/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= +google.golang.org/genproto v0.0.0-20210207032614-bba0dbe2a9ea/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= +google.golang.org/genproto v0.0.0-20210325141258-5636347f2b14 h1:0VNRpy5TroA/6mYt3pPEq+E3oomxLJ+FUit3+oIsUy4= +google.golang.org/genproto v0.0.0-20210325141258-5636347f2b14/go.mod h1:f2Bd7+2PlaVKmvKQ52aspJZXIDaRQBVdOOBfJ5i8OEs= google.golang.org/grpc v1.19.0/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c= +google.golang.org/grpc v1.20.1/go.mod h1:10oTOabMzJvdu6/UiuZezV6QK5dSlG84ov/aaiqXj38= +google.golang.org/grpc v1.21.1/go.mod h1:oYelfM1adQP15Ek0mdvEgi9Df8B9CZIaU1084ijfRaM= google.golang.org/grpc v1.23.0/go.mod h1:Y5yQAOtifL1yxbo5wqy6BxZv8vAUGQwXBOALyacEbxg= -google.golang.org/grpc v1.24.0/go.mod h1:XDChyiUovWa60DnaeDeZmSW86xtLtjtZbwvSiRnRtcA= google.golang.org/grpc v1.25.1/go.mod h1:c3i+UQWmh7LiEpx4sFZnkU36qjEYZ0imhYfXVyQciAY= +google.golang.org/grpc v1.26.0/go.mod h1:qbnxyOmOxrQa7FizSgH+ReBfzJrCY1pSN7KXBS8abTk= google.golang.org/grpc v1.27.0/go.mod h1:qbnxyOmOxrQa7FizSgH+ReBfzJrCY1pSN7KXBS8abTk= -google.golang.org/grpc v1.29.1 h1:EC2SB8S04d2r73uptxphDSUG+kTKVgjRPF+N3xpxRB4= +google.golang.org/grpc v1.27.1/go.mod h1:qbnxyOmOxrQa7FizSgH+ReBfzJrCY1pSN7KXBS8abTk= +google.golang.org/grpc v1.28.0/go.mod h1:rpkK4SK4GF4Ach/+MFLZUBavHOvF2JJB5uozKKal+60= google.golang.org/grpc v1.29.1/go.mod h1:itym6AZVZYACWQqET3MqgPpjcuV5QH3BxFS3IjizoKk= -google.golang.org/grpc v1.33.1/go.mod h1:fr5YgcSWrqhRRxogOsw7RzIpsmvOZ6IcH4kBYTpR3n0= +google.golang.org/grpc v1.30.0/go.mod h1:N36X2cJ7JwdamYAgDz+s+rVMFjt3numwzf/HckM8pak= +google.golang.org/grpc v1.31.0/go.mod h1:N36X2cJ7JwdamYAgDz+s+rVMFjt3numwzf/HckM8pak= +google.golang.org/grpc v1.33.2/go.mod h1:JMHMWHQWaTccqQQlmk3MJZS+GWXOdAesneDmEnv2fbc= +google.golang.org/grpc v1.35.0-dev.0.20201218190559-666aea1fb34c/go.mod h1:qjiiYl8FncCW8feJPdyg3v6XW24KsRHe+dy9BAGRRjU= +google.golang.org/grpc v1.36.0 h1:o1bcQ6imQMIOpdrO3SWf2z5RV72WbDwdXuK0MDlc8As= +google.golang.org/grpc v1.36.0/go.mod h1:qjiiYl8FncCW8feJPdyg3v6XW24KsRHe+dy9BAGRRjU= +google.golang.org/grpc/cmd/protoc-gen-go-grpc v1.0.0/go.mod h1:6Kw0yEErY5E/yWrBtf03jp27GLLJujG4z/JK95pnjjw= google.golang.org/protobuf v0.0.0-20200109180630-ec00e32a8dfd/go.mod h1:DFci5gLYBciE7Vtevhsrf46CRTquxDuWsQurQQe4oz8= google.golang.org/protobuf v0.0.0-20200221191635-4d8936d0db64/go.mod h1:kwYJMbMJ01Woi6D6+Kah6886xMZcty6N08ah7+eCXa0= google.golang.org/protobuf v0.0.0-20200228230310-ab0ca4ff8a60/go.mod h1:cfTl7dwQJ+fmap5saPgwCLgHXTUD7jkjRqWcaiX5VyM= @@ -113,12 +574,36 @@ google.golang.org/protobuf v1.21.0/go.mod h1:47Nbq4nVaFHyn7ilMalzfO3qCViNmqZ2kzi google.golang.org/protobuf v1.22.0/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU= google.golang.org/protobuf v1.23.0/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU= google.golang.org/protobuf v1.23.1-0.20200526195155-81db48ad09cc/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU= -google.golang.org/protobuf v1.24.0 h1:UhZDfRO8JRQru4/+LlLE0BRKGF8L+PICnvYZmx/fEGA= google.golang.org/protobuf v1.24.0/go.mod h1:r/3tXBNzIEhYS9I1OUVjXDlt8tc493IdKGjtUeSXeh4= -gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM= +google.golang.org/protobuf v1.25.0/go.mod h1:9JNX74DMeImyA3h4bdi1ymwjUzf21/xIlbajtzgsN7c= +google.golang.org/protobuf v1.25.1-0.20200805231151-a709e31e5d12/go.mod h1:9JNX74DMeImyA3h4bdi1ymwjUzf21/xIlbajtzgsN7c= +google.golang.org/protobuf v1.25.1-0.20201208041424-160c7477e0e8/go.mod h1:hFxJC2f0epmp1elRCiEGJTKAWbwxZ2nvqZdHl3FQXCY= +google.golang.org/protobuf v1.26.0-rc.1/go.mod h1:jlhhOSvTdKEhbULTjvd4ARK9grFBp09yW+WbY/TyQbw= +google.golang.org/protobuf v1.26.0 h1:bxAC2xTBsZGibn2RTntX0oH50xLsqy1OxA9tTL3p/lk= +google.golang.org/protobuf v1.26.0/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc= +gopkg.in/alecthomas/kingpin.v2 v2.2.6/go.mod h1:FMv+mEhP44yOT+4EoQTLFTRgOQ1FBLkstjWtayDeSgw= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= -gopkg.in/yaml.v2 v2.2.3/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= -gopkg.in/yaml.v2 v2.3.0 h1:clyUAQHOM3G0M3f5vQj7LuJrETvjVot3Z5el9nffUtU= +gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127 h1:qIbj1fsPNlZgppZ+VLlY7N33q108Sa+fhmuc+sWQYwY= +gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= +gopkg.in/errgo.v2 v2.1.0/go.mod h1:hNsd1EY+bozCKY1Ytp96fpM3vjJbqLJn88ws8XvfDNI= +gopkg.in/ini.v1 v1.51.0/go.mod h1:pNLf8WUiyNEtQjuu5G5vTm06TEv9tsIgeAvK8hOrP4k= +gopkg.in/resty.v1 v1.12.0/go.mod h1:mDo4pnntr5jdWRML875a/NmxYqAlA73dVijT2AXvQQo= +gopkg.in/yaml.v2 v2.0.0-20170812160011-eb3733d160e7/go.mod h1:JAlM8MvJe8wmxCU4Bli9HhUf9+ttbYbLASfIpnQbh74= +gopkg.in/yaml.v2 v2.2.1/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= +gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= +gopkg.in/yaml.v2 v2.2.4/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= gopkg.in/yaml.v2 v2.3.0/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= +gopkg.in/yaml.v2 v2.4.0 h1:D8xgwECY7CYvx+Y2n4sBz93Jn9JRvxdiyyo8CTfuKaY= +gopkg.in/yaml.v2 v2.4.0/go.mod h1:RDklbk79AGWmwhnvt/jBztapEOGDOx6ZbXqjP6csGnQ= +gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= +gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= honnef.co/go/tools v0.0.0-20190102054323-c2f93a96b099/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= +honnef.co/go/tools v0.0.0-20190106161140-3f1c8253044a/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= +honnef.co/go/tools v0.0.0-20190418001031-e561f6794a2a/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= honnef.co/go/tools v0.0.0-20190523083050-ea95bdfd59fc/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= +honnef.co/go/tools v0.0.1-2019.2.3/go.mod h1:a3bituU0lyd329TUQxRnasdCoJDkEUEAqEt0JzvZhAg= +honnef.co/go/tools v0.0.1-2020.1.3/go.mod h1:X/FiERA/W4tHapMX5mGpAtMSVEeEUOyHaw9vFzvIQ3k= +honnef.co/go/tools v0.0.1-2020.1.4/go.mod h1:X/FiERA/W4tHapMX5mGpAtMSVEeEUOyHaw9vFzvIQ3k= +rsc.io/binaryregexp v0.2.0/go.mod h1:qTv7/COck+e2FymRvadv62gMdZztPaShugOCi3I+8D8= +rsc.io/quote/v3 v3.1.0/go.mod h1:yEA65RcK8LyAZtP9Kv3t0HmxON59tX3rD+tICJqUlj0= +rsc.io/sampler v1.3.0/go.mod h1:T1hPZKmBbMNahiBKFy5HrXp6adAjACjK9JXDnKaTXpA= diff --git a/tools/ethereumapi_dependencies.bzl b/tools/ethereumapi_dependencies.bzl index db144a97..8006a5f3 100644 --- a/tools/ethereumapi_dependencies.bzl +++ b/tools/ethereumapi_dependencies.bzl @@ -17,8 +17,21 @@ def ethereumapi_deps(): go_repository( name = "co_honnef_go_tools", importpath = "honnef.co/go/tools", - sum = "h1:/hemPrYIhOhy8zYrNj+069zDB68us2sMGsfkFJO0iZs=", - version = "v0.0.0-20190523083050-ea95bdfd59fc", + sum = "h1:UoveltGrhghAA7ePc+e+QYDHXrBps2PqFZiHkGR/xK8=", + version = "v0.0.1-2020.1.4", + ) + + go_repository( + name = "com_github_alecthomas_template", + importpath = "github.com/alecthomas/template", + sum = "h1:cAKDfWh5VpdgMhJosfJnn5/FoN2SRZ4p7fJNX58YPaU=", + version = "v0.0.0-20160405071501-a0175ee3bccc", + ) + go_repository( + name = "com_github_alecthomas_units", + importpath = "github.com/alecthomas/units", + sum = "h1:qet1QNfXsQxTZqLG4oE62mJzwPIB8+Tee4RNCL9ulrY=", + version = "v0.0.0-20151022065526-2efee857e7cf", ) go_repository( name = "com_github_antihax_optional", @@ -26,12 +39,68 @@ def ethereumapi_deps(): sum = "h1:xK2lYat7ZLaVVcIuj82J8kIro4V6kDe0AUDFboUCwcg=", version = "v1.0.0", ) + + go_repository( + name = "com_github_armon_circbuf", + importpath = "github.com/armon/circbuf", + sum = "h1:QEF07wC0T1rKkctt1RINW/+RMTVmiwxETico2l3gxJA=", + version = "v0.0.0-20150827004946-bbbad097214e", + ) + go_repository( + name = "com_github_armon_go_metrics", + importpath = "github.com/armon/go-metrics", + sum = "h1:8GUt8eRujhVEGZFFEjBj46YV4rDjvGrNxb0KMWYkL2I=", + version = "v0.0.0-20180917152333-f0300d1749da", + ) + go_repository( + name = "com_github_armon_go_radix", + importpath = "github.com/armon/go-radix", + sum = "h1:BUAU3CGlLvorLI26FmByPp2eC2qla6E1Tw+scpcg/to=", + version = "v0.0.0-20180808171621-7fddfc383310", + ) + go_repository( + name = "com_github_beorn7_perks", + importpath = "github.com/beorn7/perks", + sum = "h1:HWo1m869IqiPhD389kmkxeTalrjNbbJTC8LXupb+sl0=", + version = "v1.0.0", + ) + go_repository( + name = "com_github_bgentry_go_netrc", + importpath = "github.com/bgentry/go-netrc", + sum = "h1:xDfNPAt8lFiC1UJrqV3uuy861HCTo708pDMbjHHdCas=", + version = "v0.0.0-20140422174119-9fd32a8b3d3d", + ) + go_repository( + name = "com_github_bgentry_speakeasy", + importpath = "github.com/bgentry/speakeasy", + sum = "h1:ByYyxL9InA1OWqxJqqp2A5pYHUrCiAL6K3J+LKSsQkY=", + version = "v0.1.0", + ) + go_repository( + name = "com_github_bketelsen_crypt", + importpath = "github.com/bketelsen/crypt", + sum = "h1:+0HFd5KSZ/mm3JmhmrDukiId5iR6w4+BdFtfSy4yWIc=", + version = "v0.0.3-0.20200106085610-5cbc8cc4026c", + ) + go_repository( + name = "com_github_bufbuild_buf", + importpath = "github.com/bufbuild/buf", + sum = "h1:11zJVA0D4uJVGOC9h+oOVHrKKoBgMYIqJJ0d1Xt6oeQ=", + version = "v0.37.0", + ) go_repository( name = "com_github_burntsushi_toml", importpath = "github.com/BurntSushi/toml", sum = "h1:WXkYYl6Yr3qBf1K79EBnL4mak0OimBfB0XUf9Vl28OQ=", version = "v0.3.1", ) + go_repository( + name = "com_github_burntsushi_xgb", + importpath = "github.com/BurntSushi/xgb", + sum = "h1:1BDTz0u9nC3//pOCMdNH+CiXJVYJh5UQNCOBG7jbELc=", + version = "v0.0.0-20160522181843-27f122750802", + ) + go_repository( name = "com_github_census_instrumentation_opencensus_proto", importpath = "github.com/census-instrumentation/opencensus-proto", @@ -44,6 +113,27 @@ def ethereumapi_deps(): sum = "h1:a6HrQnmkObjyL+Gs60czilIUGqrzKutQD6XZog3p+ko=", version = "v1.1.0", ) + go_repository( + name = "com_github_chzyer_logex", + importpath = "github.com/chzyer/logex", + sum = "h1:Swpa1K6QvQznwJRcfTfQJmTE72DqScAa40E+fbHEXEE=", + version = "v1.1.10", + ) + + go_repository( + name = "com_github_chzyer_readline", + importpath = "github.com/chzyer/readline", + sum = "h1:fY5BOSpyZCqRo5OhCuC+XN+r/bBCmeuuJtjz+bCNIf8=", + version = "v0.0.0-20180603132655-2972be24d48e", + ) + + go_repository( + name = "com_github_chzyer_test", + importpath = "github.com/chzyer/test", + sum = "h1:q763qf9huN11kDQavWsoZXJNW3xEE4JJyHa5Q25/sd8=", + version = "v0.0.0-20180213035817-a1ea475d72b1", + ) + go_repository( name = "com_github_client9_misspell", importpath = "github.com/client9/misspell", @@ -53,14 +143,51 @@ def ethereumapi_deps(): go_repository( name = "com_github_cncf_udpa_go", importpath = "github.com/cncf/udpa/go", - sum = "h1:WBZRG4aNOuI15bLRrCgN8fCq8E5Xuty6jGbmSNEvSsU=", - version = "v0.0.0-20191209042840-269d4d468f6f", + sum = "h1:cqQfy1jclcSy/FwLjemeg3SR1yaINm74aQyupQ0Bl8M=", + version = "v0.0.0-20201120205902-5459f2c99403", + ) + + go_repository( + name = "com_github_coreos_bbolt", + importpath = "github.com/coreos/bbolt", + sum = "h1:wZwiHHUieZCquLkDL0B8UhzreNWsPHooDAG3q34zk0s=", + version = "v1.3.2", + ) + go_repository( + name = "com_github_coreos_etcd", + importpath = "github.com/coreos/etcd", + sum = "h1:8F3hqu9fGYLBifCmRCJsicFqDx/D68Rt3q1JMazcgBQ=", + version = "v3.3.13+incompatible", + ) + go_repository( + name = "com_github_coreos_go_semver", + importpath = "github.com/coreos/go-semver", + sum = "h1:wkHLiw0WNATZnSG7epLsujiMCgPAc9xhjJ4tgnAxmfM=", + version = "v0.3.0", + ) + go_repository( + name = "com_github_coreos_go_systemd", + importpath = "github.com/coreos/go-systemd", + sum = "h1:Wf6HqHfScWJN9/ZjdUKyjop4mf3Qdd+1TvvltAvM3m8=", + version = "v0.0.0-20190321100706-95778dfbb74e", + ) + go_repository( + name = "com_github_coreos_pkg", + importpath = "github.com/coreos/pkg", + sum = "h1:lBNOc5arjvs8E5mO2tbpBpLoyyu8B6e44T7hJy6potg=", + version = "v0.0.0-20180928190104-399ea9e2e55f", + ) + go_repository( + name = "com_github_cpuguy83_go_md2man_v2", + importpath = "github.com/cpuguy83/go-md2man/v2", + sum = "h1:EoUDS0afbrsXAZ9YQ9jdu/mZ2sXgT1/2yyNng4PGlyM=", + version = "v2.0.0", ) go_repository( name = "com_github_davecgh_go_spew", importpath = "github.com/davecgh/go-spew", - sum = "h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8=", - version = "v1.1.0", + sum = "h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=", + version = "v1.1.1", ) go_repository( name = "com_github_dgraph_io_ristretto", @@ -68,17 +195,31 @@ def ethereumapi_deps(): sum = "h1:cJwdnj42uV8Jg4+KLrYovLiCgIfz9wtWm6E6KA+1tLs=", version = "v0.0.1", ) + + go_repository( + name = "com_github_dgrijalva_jwt_go", + importpath = "github.com/dgrijalva/jwt-go", + sum = "h1:7qlOGliEKZXTDg6OTjfoBKDXWrumCAMpl/TFQ4/5kLM=", + version = "v3.2.0+incompatible", + ) go_repository( name = "com_github_dgryski_go_farm", importpath = "github.com/dgryski/go-farm", sum = "h1:tdlZCpZ/P9DhczCTSixgIKmwPv6+wP5DGjqLYw5SUiA=", version = "v0.0.0-20190423205320-6a90982ecee2", ) + + go_repository( + name = "com_github_dgryski_go_sip13", + importpath = "github.com/dgryski/go-sip13", + sum = "h1:RMLoZVzv4GliuWafOuPuQDKSm1SJph7uCRnnS61JAn4=", + version = "v0.0.0-20181026042036-e10d5fee7954", + ) go_repository( name = "com_github_envoyproxy_go_control_plane", importpath = "github.com/envoyproxy/go-control-plane", - sum = "h1:rEvIZUSZ3fx39WIi3JkQqQBitGwpELBIYWeBVh6wn+E=", - version = "v0.9.4", + sum = "h1:EmNYJhPYy0pOFjCx2PrgtaBXmee0iUX9hLlxE1xHOJE=", + version = "v0.9.9-0.20201210154907-fd9021fe5dad", ) go_repository( name = "com_github_envoyproxy_protoc_gen_validate", @@ -86,35 +227,120 @@ def ethereumapi_deps(): sum = "h1:EQciDnbrYxy13PgWoY8AqoxGiPrpgBZ1R8UNe3ddc+A=", version = "v0.1.0", ) + + go_repository( + name = "com_github_fatih_color", + importpath = "github.com/fatih/color", + sum = "h1:DkWD4oS2D8LGGgTQ6IvwJJXSL5Vp2ffcQg58nFV38Ys=", + version = "v1.7.0", + ) + go_repository( + name = "com_github_ferranbt_fastssz", + importpath = "github.com/ferranbt/fastssz", + sum = "h1:9VDpsWq096+oGMDTT/SgBD/VgZYf4pTF+KTPmZ+OaKM=", + version = "v0.0.0-20210120143747-11b9eff30ea9", + ) + + go_repository( + name = "com_github_fsnotify_fsnotify", + importpath = "github.com/fsnotify/fsnotify", + sum = "h1:IXs+QLmnXW2CcXuY+8Mzv/fWEsPGWxqefPtCP5CnV9I=", + version = "v1.4.7", + ) + go_repository( + name = "com_github_ghodss_yaml", + importpath = "github.com/ghodss/yaml", + sum = "h1:wQHKEahhL6wmXdzwWG11gIVCkOv05bNOh+Rxn0yngAk=", + version = "v1.0.0", + ) + go_repository( + name = "com_github_go_gl_glfw", + importpath = "github.com/go-gl/glfw", + sum = "h1:QbL/5oDUmRBzO9/Z7Seo6zf912W/a6Sr4Eu0G/3Jho0=", + version = "v0.0.0-20190409004039-e6da0acd62b1", + ) + + go_repository( + name = "com_github_go_gl_glfw_v3_3_glfw", + importpath = "github.com/go-gl/glfw/v3.3/glfw", + sum = "h1:WtGNWLvXpe6ZudgnXrq0barxBImvnnJoMEhXAzcbM0I=", + version = "v0.0.0-20200222043503-6f7a984d4dc4", + ) + + go_repository( + name = "com_github_go_kit_kit", + importpath = "github.com/go-kit/kit", + sum = "h1:Wz+5lgoB0kkuqLEc6NVmwRknTKP6dTGbSqvhZtBI/j0=", + version = "v0.8.0", + ) + go_repository( + name = "com_github_go_logfmt_logfmt", + importpath = "github.com/go-logfmt/logfmt", + sum = "h1:MP4Eh7ZCb31lleYCFuwm0oe4/YGak+5l1vA2NOE80nA=", + version = "v0.4.0", + ) + go_repository( + name = "com_github_go_stack_stack", + importpath = "github.com/go-stack/stack", + sum = "h1:5SgMzNM5HxrEjV0ww2lTmX6E2Izsfxas4+YHWRs3Lsk=", + version = "v1.8.0", + ) + go_repository( + name = "com_github_gofrs_flock", + importpath = "github.com/gofrs/flock", + sum = "h1:MSdYClljsF3PbENUUEx85nkWfJSGfzYI9yEBZOJz6CY=", + version = "v0.8.0", + ) + go_repository( + name = "com_github_gofrs_uuid", + importpath = "github.com/gofrs/uuid", + sum = "h1:1SD/1F5pU8p29ybwgQSwpQk+mwdRrXCYuPhW6m+TnJw=", + version = "v4.0.0+incompatible", + ) go_repository( name = "com_github_gogo_protobuf", importpath = "github.com/gogo/protobuf", - sum = "h1:DqDEcV5aeaTmdFBePNpYsp3FlcVH/2ISVVM9Qf8PSls=", - version = "v1.3.1", + sum = "h1:/s5zKNz0uPFCZ5hddgPdo2TK2TVrUNMn0OOX8/aZMTE=", + version = "v1.2.1", ) + go_repository( name = "com_github_golang_glog", importpath = "github.com/golang/glog", sum = "h1:VKtxabqXZkF25pY9ekfRL6a582T4P37/31XEstQ5p58=", version = "v0.0.0-20160126235308-23def4e6c14b", ) + go_repository( + name = "com_github_golang_groupcache", + importpath = "github.com/golang/groupcache", + sum = "h1:1r7pUrabqp18hOBcwBwiTsbnFeTZHV9eER/QT5JVZxY=", + version = "v0.0.0-20200121045136-8c9f03a8e57e", + ) + go_repository( name = "com_github_golang_mock", importpath = "github.com/golang/mock", - sum = "h1:G5FRp8JnTd7RQH5kemVNlMeyXQAztQ3mOWV95KxsXH8=", - version = "v1.1.1", + sum = "h1:l75CXGRSwbaYNpl/Z2X1XIIAMSCquvXgpVZDhwEIJsc=", + version = "v1.4.4", ) go_repository( name = "com_github_golang_protobuf", importpath = "github.com/golang/protobuf", - sum = "h1:+Z5KGCizgyZCbGh1KZqA0fcLLkwbsjIzS4aV2v7wJX0=", - version = "v1.4.2", + sum = "h1:ROPKBNFfQgOUMifHyP+KYbvpjbdoFNs+aK7DXlji0Tw=", + version = "v1.5.2", + ) + go_repository( + name = "com_github_google_btree", + importpath = "github.com/google/btree", + sum = "h1:0udJVsspx3VBr5FwtLhQQtuAsVc79tTq0ocGIPAU6qo=", + version = "v1.0.0", ) + go_repository( name = "com_github_google_go_cmp", importpath = "github.com/google/go-cmp", - sum = "h1:xsAVV57WRhGj6kEIi8ReJzQlHHqcBYCElAvkovg3B/4=", - version = "v0.4.0", + sum = "h1:Khx7svrCpmxxtHBq5j2mp/xVjsi8hQMfNLvJFAlrGgU=", + version = "v0.5.5", ) go_repository( name = "com_github_google_gofuzz", @@ -122,11 +348,265 @@ def ethereumapi_deps(): sum = "h1:Hsa8mG0dQ46ij8Sl2AYJDUv1oA9/d6Vk+3LG99Oe02g=", version = "v1.1.0", ) + go_repository( + name = "com_github_google_martian", + importpath = "github.com/google/martian", + sum = "h1:/CP5g8u/VJHijgedC/Legn3BAbAaWPgecwXBIDzw5no=", + version = "v2.1.0+incompatible", + ) + + go_repository( + name = "com_github_google_martian_v3", + importpath = "github.com/google/martian/v3", + sum = "h1:pMen7vLs8nvgEYhywH3KDWJIJTeEr2ULsVWHWYHQyBs=", + version = "v3.0.0", + ) + + go_repository( + name = "com_github_google_pprof", + importpath = "github.com/google/pprof", + sum = "h1:Ak8CrdlwwXwAZxzS66vgPt4U8yUZX7JwLvVR58FN5jM=", + version = "v0.0.0-20200708004538-1a94d8640e99", + ) + go_repository( + name = "com_github_google_renameio", + importpath = "github.com/google/renameio", + sum = "h1:GOZbcHa3HfsPKPlmyPyN2KEohoMXOhdMbHrvbpl2QaA=", + version = "v0.1.0", + ) + + go_repository( + name = "com_github_google_uuid", + importpath = "github.com/google/uuid", + sum = "h1:EVhdT+1Kseyi1/pUmXKaFxYsDNy9RQYkMWRH68J/W7Y=", + version = "v1.1.2", + ) + + go_repository( + name = "com_github_googleapis_gax_go_v2", + importpath = "github.com/googleapis/gax-go/v2", + sum = "h1:sjZBwGj9Jlw33ImPtvFviGYvseOtDM7hkSKB7+Tv3SM=", + version = "v2.0.5", + ) + + go_repository( + name = "com_github_gopherjs_gopherjs", + importpath = "github.com/gopherjs/gopherjs", + sum = "h1:EGx4pi6eqNxGaHF6qqu48+N2wcFQ5qg5FXgOdqsJ5d8=", + version = "v0.0.0-20181017120253-0766667cb4d1", + ) + go_repository( + name = "com_github_gordonklaus_ineffassign", + importpath = "github.com/gordonklaus/ineffassign", + sum = "h1:vc7Dmrk4JwS0ZPS6WZvWlwDflgDTA26jItmbSj83nug=", + version = "v0.0.0-20200309095847-7953dde2c7bf", + ) + + go_repository( + name = "com_github_gorilla_websocket", + importpath = "github.com/gorilla/websocket", + sum = "h1:+/TMaTYc4QFitKJxsQ7Yye35DkWvkdLcvGKqM+x0Ufc=", + version = "v1.4.2", + ) + go_repository( + name = "com_github_grpc_ecosystem_go_grpc_middleware", + importpath = "github.com/grpc-ecosystem/go-grpc-middleware", + sum = "h1:Iju5GlWwrvL6UBg4zJJt3btmonfrMlCDdsejg4CZE7c=", + version = "v1.0.0", + ) + go_repository( + name = "com_github_grpc_ecosystem_go_grpc_prometheus", + importpath = "github.com/grpc-ecosystem/go-grpc-prometheus", + sum = "h1:Ovs26xHkKqVztRpIrF/92BcuyuQ/YW4NSIpoGtfXNho=", + version = "v1.2.0", + ) + + go_repository( + name = "com_github_grpc_ecosystem_grpc_gateway", + importpath = "github.com/grpc-ecosystem/grpc-gateway", + sum = "h1:bM6ZAFZmc/wPFaRDi0d5L7hGEZEx/2u+Tmr2evNHDiI=", + version = "v1.9.0", + ) + go_repository( + name = "com_github_grpc_ecosystem_grpc_gateway_v2", + importpath = "github.com/grpc-ecosystem/grpc-gateway/v2", + replace = "github.com/prysmaticlabs/grpc-gateway/v2", + sum = "h1:p8RXjbUOOEGWnleirv5ctE/KBQe0BY/ME2iea1sD0RY=", + version = "v2.3.1-0.20210429070457-714fa3339bc9", + ) + + go_repository( + name = "com_github_hashicorp_consul_api", + importpath = "github.com/hashicorp/consul/api", + sum = "h1:BNQPM9ytxj6jbjjdRPioQ94T6YXriSopn0i8COv6SRA=", + version = "v1.1.0", + ) + go_repository( + name = "com_github_hashicorp_consul_sdk", + importpath = "github.com/hashicorp/consul/sdk", + sum = "h1:LnuDWGNsoajlhGyHJvuWW6FVqRl8JOTPqS6CPTsYjhY=", + version = "v0.1.1", + ) + go_repository( + name = "com_github_hashicorp_errwrap", + importpath = "github.com/hashicorp/errwrap", + sum = "h1:hLrqtEDnRye3+sgx6z4qVLNuviH3MR5aQ0ykNJa/UYA=", + version = "v1.0.0", + ) + go_repository( + name = "com_github_hashicorp_go_cleanhttp", + importpath = "github.com/hashicorp/go-cleanhttp", + sum = "h1:dH3aiDG9Jvb5r5+bYHsikaOUIpcM0xvgMXVoDkXMzJM=", + version = "v0.5.1", + ) + go_repository( + name = "com_github_hashicorp_go_immutable_radix", + importpath = "github.com/hashicorp/go-immutable-radix", + sum = "h1:AKDB1HM5PWEA7i4nhcpwOrO2byshxBjXVn/J/3+z5/0=", + version = "v1.0.0", + ) + go_repository( + name = "com_github_hashicorp_go_msgpack", + importpath = "github.com/hashicorp/go-msgpack", + sum = "h1:zKjpN5BK/P5lMYrLmBHdBULWbJ0XpYR+7NGzqkZzoD4=", + version = "v0.5.3", + ) + go_repository( + name = "com_github_hashicorp_go_multierror", + importpath = "github.com/hashicorp/go-multierror", + sum = "h1:iVjPR7a6H0tWELX5NxNe7bYopibicUzc7uPribsnS6o=", + version = "v1.0.0", + ) + go_repository( + name = "com_github_hashicorp_go_net", + importpath = "github.com/hashicorp/go.net", + sum = "h1:sNCoNyDEvN1xa+X0baata4RdcpKwcMS6DH+xwfqPgjw=", + version = "v0.0.1", + ) + go_repository( + name = "com_github_hashicorp_go_rootcerts", + importpath = "github.com/hashicorp/go-rootcerts", + sum = "h1:Rqb66Oo1X/eSV1x66xbDccZjhJigjg0+e82kpwzSwCI=", + version = "v1.0.0", + ) + go_repository( + name = "com_github_hashicorp_go_sockaddr", + importpath = "github.com/hashicorp/go-sockaddr", + sum = "h1:GeH6tui99pF4NJgfnhp+L6+FfobzVW3Ah46sLo0ICXs=", + version = "v1.0.0", + ) + go_repository( + name = "com_github_hashicorp_go_syslog", + importpath = "github.com/hashicorp/go-syslog", + sum = "h1:KaodqZuhUoZereWVIYmpUgZysurB1kBLX2j0MwMrUAE=", + version = "v1.0.0", + ) + go_repository( + name = "com_github_hashicorp_go_uuid", + importpath = "github.com/hashicorp/go-uuid", + sum = "h1:fv1ep09latC32wFoVwnqcnKJGnMSdBanPczbHAYm1BE=", + version = "v1.0.1", + ) + go_repository( + name = "com_github_hashicorp_golang_lru", + importpath = "github.com/hashicorp/golang-lru", + sum = "h1:0hERBMJE1eitiLkihrMvRVBYAkpHzc/J3QdDN+dAcgU=", + version = "v0.5.1", + ) + + go_repository( + name = "com_github_hashicorp_hcl", + importpath = "github.com/hashicorp/hcl", + sum = "h1:0Anlzjpi4vEasTeNFn2mLJgTSwt0+6sfsiTG8qcWGx4=", + version = "v1.0.0", + ) + go_repository( + name = "com_github_hashicorp_logutils", + importpath = "github.com/hashicorp/logutils", + sum = "h1:dLEQVugN8vlakKOUE3ihGLTZJRB4j+M2cdTm/ORI65Y=", + version = "v1.0.0", + ) + go_repository( + name = "com_github_hashicorp_mdns", + importpath = "github.com/hashicorp/mdns", + sum = "h1:WhIgCr5a7AaVH6jPUwjtRuuE7/RDufnUvzIr48smyxs=", + version = "v1.0.0", + ) + go_repository( + name = "com_github_hashicorp_memberlist", + importpath = "github.com/hashicorp/memberlist", + sum = "h1:EmmoJme1matNzb+hMpDuR/0sbJSUisxyqBGG676r31M=", + version = "v0.1.3", + ) + go_repository( + name = "com_github_hashicorp_serf", + importpath = "github.com/hashicorp/serf", + sum = "h1:YZ7UKsJv+hKjqGVUUbtE3HNj79Eln2oQ75tniF6iPt0=", + version = "v0.8.2", + ) + go_repository( + name = "com_github_iancoleman_strcase", + importpath = "github.com/iancoleman/strcase", + sum = "h1:dJBk1m2/qjL1twPLf68JND55vvivMupZ4wIzE8CTdBw=", + version = "v0.1.3", + ) + + go_repository( + name = "com_github_ianlancetaylor_demangle", + importpath = "github.com/ianlancetaylor/demangle", + sum = "h1:UDMh68UUwekSh5iP2OMhRRZJiiBccgV7axzUG8vi56c=", + version = "v0.0.0-20181102032728-5e5cf60278f6", + ) + + go_repository( + name = "com_github_inconshreveable_mousetrap", + importpath = "github.com/inconshreveable/mousetrap", + sum = "h1:Z8tu5sraLXCXIcARxBp/8cbvlwVa7Z1NHg9XEKhtSvM=", + version = "v1.0.0", + ) + go_repository( + name = "com_github_jhump_protoreflect", + importpath = "github.com/jhump/protoreflect", + sum = "h1:z7Ciiz3Bz37zSd485fbiTW8ABafIasyOWZI0N9EUUdo=", + version = "v1.8.1", + ) + + go_repository( + name = "com_github_jonboulle_clockwork", + importpath = "github.com/jonboulle/clockwork", + sum = "h1:VKV+ZcuP6l3yW9doeqz6ziZGgcynBVQO+obU0+0hcPo=", + version = "v0.1.0", + ) + go_repository( + name = "com_github_json_iterator_go", + importpath = "github.com/json-iterator/go", + sum = "h1:MrUvLMLTMxbqFJ9kzlvat/rYZqZnW3u4wkLzWTaFwKs=", + version = "v1.1.6", + ) + go_repository( + name = "com_github_jstemmer_go_junit_report", + importpath = "github.com/jstemmer/go-junit-report", + sum = "h1:6QPYqodiu3GuPL+7mfx+NwDdp2eTkp9IfEUpgAwUN0o=", + version = "v0.9.1", + ) + + go_repository( + name = "com_github_jtolds_gls", + importpath = "github.com/jtolds/gls", + sum = "h1:xdiiI2gbIgH/gLH7ADydsJ1uDOEzR8yvV7C0MuV77Wo=", + version = "v4.20.0+incompatible", + ) + go_repository( + name = "com_github_julienschmidt_httprouter", + importpath = "github.com/julienschmidt/httprouter", + sum = "h1:TDTW5Yz1mjftljbcKqRcrYhd4XeOoI98t+9HbQbYf7g=", + version = "v1.2.0", + ) go_repository( name = "com_github_kisielk_errcheck", importpath = "github.com/kisielk/errcheck", - sum = "h1:reN85Pxc5larApoH1keMBiu2GWtPqXQ1nc9gx+jOU+E=", - version = "v1.2.0", + sum = "h1:ZqfnKyx9KGpRcW04j5nnPDgRgoXUeLh2YFBeFzphcA0=", + version = "v1.1.0", ) go_repository( name = "com_github_kisielk_gotool", @@ -134,6 +614,82 @@ def ethereumapi_deps(): sum = "h1:AV2c/EiW3KqPNT9ZKl07ehoAGi4C5/01Cfbblndcapg=", version = "v1.0.0", ) + + go_repository( + name = "com_github_klauspost_compress", + importpath = "github.com/klauspost/compress", + sum = "h1:0hzRabrMN4tSTvMfnL3SCv1ZGeAP23ynzodBgaHeMeg=", + version = "v1.11.7", + ) + go_repository( + name = "com_github_klauspost_pgzip", + importpath = "github.com/klauspost/pgzip", + sum = "h1:qnWYvvKqedOF2ulHpMG72XQol4ILEJ8k2wwRl/Km8oE=", + version = "v1.2.5", + ) + go_repository( + name = "com_github_konsorten_go_windows_terminal_sequences", + importpath = "github.com/konsorten/go-windows-terminal-sequences", + sum = "h1:mweAR1A6xJ3oS2pRaGiHgQ4OO8tzTaLawm8vnODuwDk=", + version = "v1.0.1", + ) + go_repository( + name = "com_github_kr_logfmt", + importpath = "github.com/kr/logfmt", + sum = "h1:T+h1c/A9Gawja4Y9mFVWj2vyii2bbUNDw3kt9VxK2EY=", + version = "v0.0.0-20140226030751-b84e30acd515", + ) + go_repository( + name = "com_github_kr_pretty", + importpath = "github.com/kr/pretty", + sum = "h1:L/CwN0zerZDmRFUapSPitk6f+Q3+0za1rQkzVuMiMFI=", + version = "v0.1.0", + ) + + go_repository( + name = "com_github_kr_pty", + importpath = "github.com/kr/pty", + sum = "h1:VkoXIwSboBpnk99O/KFauAEILuNHv5DVFKZMBN/gUgw=", + version = "v1.1.1", + ) + + go_repository( + name = "com_github_kr_text", + importpath = "github.com/kr/text", + sum = "h1:45sCR5RtlFHMR4UwH9sdQ5TC8v0qDQCHnXt+kaKSTVE=", + version = "v0.1.0", + ) + + go_repository( + name = "com_github_magiconair_properties", + importpath = "github.com/magiconair/properties", + sum = "h1:ZC2Vc7/ZFkGmsVC9KvOjumD+G5lXy2RtTKyzRKO2BQ4=", + version = "v1.8.1", + ) + go_repository( + name = "com_github_mattn_go_colorable", + importpath = "github.com/mattn/go-colorable", + sum = "h1:UVL0vNpWh04HeJXV0KLcaT7r06gOH2l4OW6ddYRUIY4=", + version = "v0.0.9", + ) + go_repository( + name = "com_github_mattn_go_isatty", + importpath = "github.com/mattn/go-isatty", + sum = "h1:ns/ykhmWi7G9O+8a448SecJU3nSMBXJfqQkl0upE1jI=", + version = "v0.0.3", + ) + go_repository( + name = "com_github_matttproud_golang_protobuf_extensions", + importpath = "github.com/matttproud/golang_protobuf_extensions", + sum = "h1:4hp9jkHxhMHkqkrB3Ix0jegS5sx/RkqARlsWZ6pIwiU=", + version = "v1.0.1", + ) + go_repository( + name = "com_github_miekg_dns", + importpath = "github.com/miekg/dns", + sum = "h1:9jZdLNd/P4+SfEJ0TNyxYpsK8N4GtfylBLqtbYN1sbA=", + version = "v1.0.14", + ) go_repository( name = "com_github_minio_highwayhash", importpath = "github.com/minio/highwayhash", @@ -146,101 +702,493 @@ def ethereumapi_deps(): sum = "h1:5QHSlgo3nt5yKOJrC7W8w7X+NFl8cMPZm96iu8kKUJU=", version = "v0.1.1", ) + + go_repository( + name = "com_github_mitchellh_cli", + importpath = "github.com/mitchellh/cli", + sum = "h1:iGBIsUe3+HZ/AD/Vd7DErOt5sU9fa8Uj7A2s1aggv1Y=", + version = "v1.0.0", + ) + go_repository( + name = "com_github_mitchellh_go_homedir", + importpath = "github.com/mitchellh/go-homedir", + sum = "h1:lukF9ziXFxDFPkA1vsr5zpc1XuPDn/wFntq5mG+4E0Y=", + version = "v1.1.0", + ) + go_repository( + name = "com_github_mitchellh_go_testing_interface", + importpath = "github.com/mitchellh/go-testing-interface", + sum = "h1:fzU/JVNcaqHQEcVFAKeR41fkiLdIPrefOvVG1VZ96U0=", + version = "v1.0.0", + ) + go_repository( + name = "com_github_mitchellh_gox", + importpath = "github.com/mitchellh/gox", + sum = "h1:lfGJxY7ToLJQjHHwi0EX6uYBdK78egf954SQl13PQJc=", + version = "v0.4.0", + ) + go_repository( + name = "com_github_mitchellh_iochan", + importpath = "github.com/mitchellh/iochan", + sum = "h1:C+X3KsSTLFVBr/tK1eYN/vs4rJcvsiLU338UhYPJWeY=", + version = "v1.0.0", + ) + go_repository( + name = "com_github_mitchellh_mapstructure", + importpath = "github.com/mitchellh/mapstructure", + sum = "h1:7ks8ZkOP5/ujthUsT07rNv+nkLXCQWKNHuwzOAesEks=", + version = "v1.4.0", + ) + + go_repository( + name = "com_github_modern_go_concurrent", + importpath = "github.com/modern-go/concurrent", + sum = "h1:TRLaZ9cD/w8PVh93nsPXa1VrQ6jlwL5oN8l14QlcNfg=", + version = "v0.0.0-20180306012644-bacd9c7ef1dd", + ) + go_repository( + name = "com_github_modern_go_reflect2", + importpath = "github.com/modern-go/reflect2", + sum = "h1:9f412s+6RmYXLWZSEzVVgPGK7C2PphHj5RJrvfx9AWI=", + version = "v1.0.1", + ) + go_repository( + name = "com_github_mwitkow_go_conntrack", + importpath = "github.com/mwitkow/go-conntrack", + sum = "h1:F9x/1yl3T2AeKLr2AMdilSD8+f9bvMnNN8VS5iDtovc=", + version = "v0.0.0-20161129095857-cc309e4a2223", + ) + go_repository( + name = "com_github_nishanths_predeclared", + importpath = "github.com/nishanths/predeclared", + sum = "h1:3f0nxAmdj/VoCGN/ijdMy7bj6SBagaqYg1B0hu8clMA=", + version = "v0.0.0-20200524104333-86fad755b4d3", + ) + + go_repository( + name = "com_github_oklog_ulid", + importpath = "github.com/oklog/ulid", + sum = "h1:EGfNDEx6MqHz8B3uNV6QAib1UR2Lm97sHi3ocA6ESJ4=", + version = "v1.3.1", + ) go_repository( name = "com_github_oneofone_xxhash", importpath = "github.com/OneOfOne/xxhash", sum = "h1:KMrpdQIwFcEqXDklaen+P1axHaj9BSKzvpUUfnHldSE=", version = "v1.2.2", ) + + go_repository( + name = "com_github_pascaldekloe_goe", + importpath = "github.com/pascaldekloe/goe", + sum = "h1:Lgl0gzECD8GnQ5QCWA8o6BtfL6mDH5rQgM4/fX3avOs=", + version = "v0.0.0-20180627143212-57f6aae5913c", + ) + go_repository( + name = "com_github_pelletier_go_toml", + importpath = "github.com/pelletier/go-toml", + sum = "h1:T5zMGML61Wp+FlcbWjRDT7yAxhJNAiPPLOFECq181zc=", + version = "v1.2.0", + ) go_repository( name = "com_github_pkg_errors", importpath = "github.com/pkg/errors", sum = "h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4=", version = "v0.9.1", ) + + go_repository( + name = "com_github_pkg_profile", + importpath = "github.com/pkg/profile", + sum = "h1:042Buzk+NhDI+DeSAA62RwJL8VAuZUMQZUjCsRz1Mug=", + version = "v1.5.0", + ) go_repository( name = "com_github_pmezard_go_difflib", importpath = "github.com/pmezard/go-difflib", sum = "h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=", version = "v1.0.0", ) + + go_repository( + name = "com_github_posener_complete", + importpath = "github.com/posener/complete", + sum = "h1:ccV59UEOTzVDnDUEFdT95ZzHVZ+5+158q8+SJb2QV5w=", + version = "v1.1.1", + ) + go_repository( + name = "com_github_prometheus_client_golang", + importpath = "github.com/prometheus/client_golang", + sum = "h1:9iH4JKXLzFbOAdtqv/a+j8aewx2Y8lAjAydhbaScPF8=", + version = "v0.9.3", + ) go_repository( name = "com_github_prometheus_client_model", importpath = "github.com/prometheus/client_model", sum = "h1:gQz4mCbXsO+nc9n1hCxHcGA3Zx3Eo+UHZoInFGUIXNM=", version = "v0.0.0-20190812154241-14fe0d1b01d4", ) + + go_repository( + name = "com_github_prometheus_common", + importpath = "github.com/prometheus/common", + sum = "h1:7etb9YClo3a6HjLzfl6rIQaU+FDfi0VSX39io3aQ+DM=", + version = "v0.4.0", + ) + go_repository( + name = "com_github_prometheus_procfs", + importpath = "github.com/prometheus/procfs", + sum = "h1:sofwID9zm4tzrgykg80hfFph1mryUeLRsUfoocVVmRY=", + version = "v0.0.0-20190507164030-5867b95ac084", + ) + go_repository( + name = "com_github_prometheus_tsdb", + importpath = "github.com/prometheus/tsdb", + sum = "h1:YZcsG11NqnK4czYLrWd9mpEuAJIHVQLwdrleYfszMAA=", + version = "v0.7.1", + ) go_repository( name = "com_github_protolambda_zssz", importpath = "github.com/protolambda/zssz", sum = "h1:WL25qizRrzcmaHz62CiWA/oHX+cXDELV/UT0kpbi64Y=", version = "v0.1.3", ) + + go_repository( + name = "com_github_prysmaticlabs_eth2_types", + importpath = "github.com/prysmaticlabs/eth2-types", + sum = "h1:1dN7YAqMN3oAJ0LceWcyv/U4jHLh+5urnSnr4br6zg4=", + version = "v0.0.0-20210303084904-c9735a06829d", + ) + + go_repository( + name = "com_github_prysmaticlabs_go_bitfield", + importpath = "github.com/prysmaticlabs/go-bitfield", + sum = "h1:18+Qqobq3HAUY0hgIhPGSqmLFnaLLocemmU7+Sj2aYQ=", + version = "v0.0.0-20210202205921-7fcea7c45dc8", + ) go_repository( name = "com_github_prysmaticlabs_go_ssz", importpath = "github.com/prysmaticlabs/go-ssz", sum = "h1:Th5ufPIaL5s/7i3gXHTgiTwfsUhWDP/PwFRiI6qV6v0=", version = "v0.0.0-20200101200214-e24db4d9e963", ) + go_repository( + name = "com_github_prysmaticlabs_protoc_gen_go_cast", + importpath = "github.com/prysmaticlabs/protoc-gen-go-cast", + sum = "h1:k7CCMwN7VooQ7GhfySnaVyI4/9+QbhJTdasoC6VOZOI=", + version = "v0.0.0-20210504233148-1e141af6a0a1", + ) go_repository( name = "com_github_rogpeppe_fastuuid", importpath = "github.com/rogpeppe/fastuuid", sum = "h1:Ppwyp6VYCF1nvBTXL3trRso7mXMlRrw9ooo375wvi2s=", version = "v1.2.0", ) + go_repository( + name = "com_github_rogpeppe_go_internal", + importpath = "github.com/rogpeppe/go-internal", + sum = "h1:RR9dF3JtopPvtkroDZuVD7qquD0bnHlKSqaQhgwt8yk=", + version = "v1.3.0", + ) + + go_repository( + name = "com_github_russross_blackfriday_v2", + importpath = "github.com/russross/blackfriday/v2", + sum = "h1:lPqVAte+HuHNfhJ/0LC98ESWRz8afy9tM/0RK8m9o+Q=", + version = "v2.0.1", + ) + go_repository( + name = "com_github_ryanuber_columnize", + importpath = "github.com/ryanuber/columnize", + sum = "h1:UFr9zpz4xgTnIE5yIMtWAMngCdZ9p/+q6lTbgelo80M=", + version = "v0.0.0-20160712163229-9b3edd62028f", + ) + go_repository( + name = "com_github_sean_seed", + importpath = "github.com/sean-/seed", + sum = "h1:nn5Wsu0esKSJiIVhscUtVbo7ada43DJhG55ua/hjS5I=", + version = "v0.0.0-20170313163322-e2103e2c3529", + ) + go_repository( + name = "com_github_shurcool_sanitized_anchor_name", + importpath = "github.com/shurcooL/sanitized_anchor_name", + sum = "h1:PdmoCO6wvbs+7yrJyMORt4/BmY5IYyJwS/kOiWx8mHo=", + version = "v1.0.0", + ) + go_repository( + name = "com_github_sirupsen_logrus", + importpath = "github.com/sirupsen/logrus", + sum = "h1:juTguoYk5qI21pwyTXY3B3Y5cOTH3ZUyZCg1v/mihuo=", + version = "v1.2.0", + ) + go_repository( + name = "com_github_smartystreets_assertions", + importpath = "github.com/smartystreets/assertions", + sum = "h1:zE9ykElWQ6/NYmHa3jpm/yHnI4xSofP+UP6SpjHcSeM=", + version = "v0.0.0-20180927180507-b2de0cb4f26d", + ) + go_repository( + name = "com_github_smartystreets_goconvey", + importpath = "github.com/smartystreets/goconvey", + sum = "h1:fv0U8FUIMPNf1L9lnHLvLhgicrIVChEkdzIKYqbNC9s=", + version = "v1.6.4", + ) + go_repository( + name = "com_github_soheilhy_cmux", + importpath = "github.com/soheilhy/cmux", + sum = "h1:0HKaf1o97UwFjHH9o5XsHUOF+tqmdA7KEzXLpiyaw0E=", + version = "v0.1.4", + ) go_repository( name = "com_github_spaolacci_murmur3", importpath = "github.com/spaolacci/murmur3", sum = "h1:qLC7fQah7D6K1B0ujays3HV9gkFtllcxhzImRR7ArPQ=", version = "v0.0.0-20180118202830-f09979ecbc72", ) + + go_repository( + name = "com_github_spf13_afero", + importpath = "github.com/spf13/afero", + sum = "h1:m8/z1t7/fwjysjQRYbP0RD+bUIF/8tJwPdEZsI83ACI=", + version = "v1.1.2", + ) + go_repository( + name = "com_github_spf13_cast", + importpath = "github.com/spf13/cast", + sum = "h1:oget//CVOEoFewqQxwr0Ej5yjygnqGkvggSE/gB35Q8=", + version = "v1.3.0", + ) + go_repository( + name = "com_github_spf13_cobra", + importpath = "github.com/spf13/cobra", + sum = "h1:O63eWlXlvyw4YdsuatjRIU6emvJ2fqz+PTdMEoxIT2s=", + version = "v1.0.1-0.20201006035406-b97b5ead31f7", + ) + go_repository( + name = "com_github_spf13_jwalterweatherman", + importpath = "github.com/spf13/jwalterweatherman", + sum = "h1:XHEdyB+EcvlqZamSM4ZOMGlc93t6AcsBEu9Gc1vn7yk=", + version = "v1.0.0", + ) + go_repository( + name = "com_github_spf13_pflag", + importpath = "github.com/spf13/pflag", + sum = "h1:iy+VFUOCP1a+8yFto/drg2CJ5u0yRoB7fZw3DKv/JXA=", + version = "v1.0.5", + ) + go_repository( + name = "com_github_spf13_viper", + importpath = "github.com/spf13/viper", + sum = "h1:xVKxvI7ouOI5I+U9s2eeiUfMaWBVoXA3AWskkrqK0VM=", + version = "v1.7.0", + ) go_repository( name = "com_github_stretchr_objx", importpath = "github.com/stretchr/objx", - sum = "h1:4G4v2dO3VZwixGIRoQ5Lfboy6nUhCyYzaqnIAPPhYs4=", - version = "v0.1.0", + sum = "h1:2vfRuCMp5sSVIDSqO8oNnWJq7mPa6KVP3iPIwFBuy8A=", + version = "v0.1.1", ) go_repository( name = "com_github_stretchr_testify", importpath = "github.com/stretchr/testify", - sum = "h1:nOGnQDM7FYENwehXlg/kFVnos3rEvtKTjRvOWSzb6H4=", - version = "v1.5.1", + sum = "h1:nwc3DEeHmmLAfoZucVR881uASk0Mfjw8xYJ99tb5CcY=", + version = "v1.7.0", + ) + + go_repository( + name = "com_github_subosito_gotenv", + importpath = "github.com/subosito/gotenv", + sum = "h1:Slr1R9HxAlEKefgq5jn9U+DnETlIUa6HfgEzj0g5d7s=", + version = "v1.2.0", + ) + go_repository( + name = "com_github_tmc_grpc_websocket_proxy", + importpath = "github.com/tmc/grpc-websocket-proxy", + sum = "h1:LnC5Kc/wtumK+WB441p7ynQJzVuNRJiqddSIE3IlSEQ=", + version = "v0.0.0-20190109142713-0ad062ec5ee5", ) + go_repository( + name = "com_github_twitchtv_twirp", + importpath = "github.com/twitchtv/twirp", + sum = "h1:3fNSDoSPyq+fTrifIvGue9XM/tptzuhiGY83rxPVNUg=", + version = "v7.1.0+incompatible", + ) + go_repository( + name = "com_github_xiang90_probing", + importpath = "github.com/xiang90/probing", + sum = "h1:eY9dn8+vbi4tKz5Qo6v2eYzo7kUS51QINcR5jNpbZS8=", + version = "v0.0.0-20190116061207-43a291ad63a2", + ) + go_repository( + name = "com_github_yuin_goldmark", + importpath = "github.com/yuin/goldmark", + sum = "h1:ruQGxdhGHe7FWOJPT0mKs5+pD2Xs1Bm/kdGlHO04FmM=", + version = "v1.2.1", + ) + go_repository( name = "com_google_cloud_go", importpath = "cloud.google.com/go", - sum = "h1:eOI3/cP2VTU6uZLDYAoic+eyzzB9YyGmJ7eIjl8rOPg=", - version = "v0.34.0", + sum = "h1:Dg9iHVQfrhq82rUNu9ZxUDrJLaxFUe/HlCVaLyRruq8=", + version = "v0.65.0", + ) + go_repository( + name = "com_google_cloud_go_bigquery", + importpath = "cloud.google.com/go/bigquery", + sum = "h1:PQcPefKFdaIzjQFbiyOgAqyx8q5djaE7x9Sqe712DPA=", + version = "v1.8.0", + ) + + go_repository( + name = "com_google_cloud_go_datastore", + importpath = "cloud.google.com/go/datastore", + sum = "h1:/May9ojXjRkPBNVrq+oWLqmWCkr4OU5uRY29bu0mRyQ=", + version = "v1.1.0", + ) + + go_repository( + name = "com_google_cloud_go_firestore", + importpath = "cloud.google.com/go/firestore", + sum = "h1:9x7Bx0A9R5/M9jibeJeZWqjeVEIxYW9fZYqB9a70/bY=", + version = "v1.1.0", + ) + go_repository( + name = "com_google_cloud_go_pubsub", + importpath = "cloud.google.com/go/pubsub", + sum = "h1:ukjixP1wl0LpnZ6LWtZJ0mX5tBmjp1f8Sqer8Z2OMUU=", + version = "v1.3.1", + ) + + go_repository( + name = "com_google_cloud_go_storage", + importpath = "cloud.google.com/go/storage", + sum = "h1:STgFzyU5/8miMl0//zKh2aQeTyeaUH3WN9bSUiJ09bA=", + version = "v1.10.0", + ) + + go_repository( + name = "com_shuralyov_dmitri_gpu_mtl", + importpath = "dmitri.shuralyov.com/gpu/mtl", + sum = "h1:VpgP7xuJadIUuKccphEpTJnWhS2jkQyMt6Y7pJCD7fY=", + version = "v0.0.0-20190408044501-666a987793e9", + ) + + go_repository( + name = "in_gopkg_alecthomas_kingpin_v2", + importpath = "gopkg.in/alecthomas/kingpin.v2", + sum = "h1:jMFz6MfLP0/4fUyZle81rXUoxOBFi19VUFKVDOQfozc=", + version = "v2.2.6", ) go_repository( name = "in_gopkg_check_v1", importpath = "gopkg.in/check.v1", - sum = "h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM=", - version = "v0.0.0-20161208181325-20d25e280405", + sum = "h1:qIbj1fsPNlZgppZ+VLlY7N33q108Sa+fhmuc+sWQYwY=", + version = "v1.0.0-20180628173108-788fd7840127", + ) + go_repository( + name = "in_gopkg_errgo_v2", + importpath = "gopkg.in/errgo.v2", + sum = "h1:0vLT13EuvQ0hNvakwLuFZ/jYrLp5F3kcWHXdRggjCE8=", + version = "v2.1.0", ) + + go_repository( + name = "in_gopkg_ini_v1", + importpath = "gopkg.in/ini.v1", + sum = "h1:AQvPpx3LzTDM0AjnIRlVFwFFGC+npRopjZxLJj6gdno=", + version = "v1.51.0", + ) + go_repository( + name = "in_gopkg_resty_v1", + importpath = "gopkg.in/resty.v1", + sum = "h1:CuXP0Pjfw9rOuY6EP+UvtNvt5DSqHpIxILZKT/quCZI=", + version = "v1.12.0", + ) + go_repository( + name = "in_gopkg_yaml_v2", + importpath = "gopkg.in/yaml.v2", + sum = "h1:D8xgwECY7CYvx+Y2n4sBz93Jn9JRvxdiyyo8CTfuKaY=", + version = "v2.4.0", + ) + + go_repository( + name = "in_gopkg_yaml_v3", + importpath = "gopkg.in/yaml.v3", + sum = "h1:h8qDotaEPuJATrMmW04NCwg7v22aHH28wwpauUhK9Oo=", + version = "v3.0.0-20210107192922-496545a6307b", + ) + go_repository( + name = "io_etcd_go_bbolt", + importpath = "go.etcd.io/bbolt", + sum = "h1:Z/90sZLPOeCy2PwprqkFa25PdkusRzaj9P8zm/KNyvk=", + version = "v1.3.2", + ) + go_repository( + name = "io_opencensus_go", + importpath = "go.opencensus.io", + sum = "h1:BdkrbWrzDlV9dnbzoP7sfN+dHheJ4J9JOaYxcUDL+ok=", + version = "v0.22.6", + ) + + go_repository( + name = "io_rsc_binaryregexp", + importpath = "rsc.io/binaryregexp", + sum = "h1:HfqmD5MEmC0zvwBuF187nq9mdnXjXsSivRiXN7SmRkE=", + version = "v0.2.0", + ) + + go_repository( + name = "io_rsc_quote_v3", + importpath = "rsc.io/quote/v3", + sum = "h1:9JKUTTIUgS6kzR9mK1YuGKv6Nl+DijDNIc0ghT58FaY=", + version = "v3.1.0", + ) + + go_repository( + name = "io_rsc_sampler", + importpath = "rsc.io/sampler", + sum = "h1:7uVkIFmeBqHfdjD+gZwtXXI+RODJ2Wc4O7MPEh/QiW4=", + version = "v1.3.0", + ) + + go_repository( + name = "org_golang_google_api", + importpath = "google.golang.org/api", + sum = "h1:yfrXXP61wVuLb0vBcG6qaOoIoqYEzOQS8jum51jkv2w=", + version = "v0.30.0", + ) + go_repository( name = "org_golang_google_appengine", importpath = "google.golang.org/appengine", - sum = "h1:/wp5JvzpHIxhs/dumFmF7BXTf3Z+dd4uXta4kVyO508=", - version = "v1.4.0", + sum = "h1:lMO5rYAqUxkmaj76jAkRUvt5JZgFymx/+Q5Mzfivuhc=", + version = "v1.6.6", ) go_repository( name = "org_golang_google_genproto", importpath = "google.golang.org/genproto", - sum = "h1:nl5tymnV+50ACFZUDAP+xFCe3Zh3SWdMDx+ernZSKNA=", - version = "v0.0.0-20200528191852-705c0b31589b", + sum = "h1:0VNRpy5TroA/6mYt3pPEq+E3oomxLJ+FUit3+oIsUy4=", + version = "v0.0.0-20210325141258-5636347f2b14", ) go_repository( name = "org_golang_google_grpc", importpath = "google.golang.org/grpc", - sum = "h1:DGeFlSan2f+WEtCERJ4J9GJWk15TxUi8QGagfI87Xyc=", - version = "v1.33.1", + sum = "h1:o1bcQ6imQMIOpdrO3SWf2z5RV72WbDwdXuK0MDlc8As=", + version = "v1.36.0", ) + go_repository( + name = "org_golang_google_grpc_cmd_protoc_gen_go_grpc", + importpath = "google.golang.org/grpc/cmd/protoc-gen-go-grpc", + sum = "h1:lQ+dE99pFsb8osbJB3oRfE5eW4Hx6a/lZQr8Jh+eoT4=", + version = "v1.0.0", + ) + go_repository( name = "org_golang_google_protobuf", importpath = "google.golang.org/protobuf", - sum = "h1:UhZDfRO8JRQru4/+LlLE0BRKGF8L+PICnvYZmx/fEGA=", - version = "v1.24.0", + sum = "h1:bxAC2xTBsZGibn2RTntX0oH50xLsqy1OxA9tTL3p/lk=", + version = "v1.26.0", ) go_repository( name = "org_golang_x_crypto", @@ -251,50 +1199,84 @@ def ethereumapi_deps(): go_repository( name = "org_golang_x_exp", importpath = "golang.org/x/exp", - sum = "h1:c2HOrn5iMezYjSlGPncknSEr/8x5LELb/ilJbXi9DEA=", - version = "v0.0.0-20190121172915-509febef88a4", + sum = "h1:QE6XYQK6naiK1EPAe1g/ILLxN5RBoH5xkJk3CqlMI/Y=", + version = "v0.0.0-20200224162631-6cc2880d07d6", + ) + go_repository( + name = "org_golang_x_image", + importpath = "golang.org/x/image", + sum = "h1:+qEpEAPhDZ1o0x3tHzZTQDArnOixOzGD9HUJfcg0mb4=", + version = "v0.0.0-20190802002840-cff245a6509b", ) + go_repository( name = "org_golang_x_lint", importpath = "golang.org/x/lint", - sum = "h1:XQyxROzUlZH+WIQwySDgnISgOivlhjIEwaQaJEJrrN0=", - version = "v0.0.0-20190313153728-d0100b6bd8b3", + sum = "h1:2M3HP5CCK1Si9FQhwnzYhXdG6DXeebvUHFpre8QvbyI=", + version = "v0.0.0-20201208152925-83fdc39ff7b5", + ) + go_repository( + name = "org_golang_x_mobile", + importpath = "golang.org/x/mobile", + sum = "h1:4+4C/Iv2U4fMZBiMCc98MG1In4gJY5YRhtpDNeDeHWs=", + version = "v0.0.0-20190719004257-d2bd2a29d028", ) + go_repository( + name = "org_golang_x_mod", + importpath = "golang.org/x/mod", + sum = "h1:RM4zey1++hCTbCVQfnWeKs9/IEsaBLA8vTkd0WVtmH4=", + version = "v0.3.0", + ) + go_repository( name = "org_golang_x_net", importpath = "golang.org/x/net", - sum = "h1:VvcQYSHwXgi7W+TpUR6A9g6Up98WAHf3f/ulnJ62IyA=", - version = "v0.0.0-20200822124328-c89045814202", + sum = "h1:b0LrWgu8+q7z4J+0Y3Umo5q1dL7NXBkKBWkaVkAq17E=", + version = "v0.0.0-20210316092652-d523dce5a7f4", ) go_repository( name = "org_golang_x_oauth2", importpath = "golang.org/x/oauth2", - sum = "h1:TzXSXBo42m9gQenoE3b9BGiEpg5IG2JkU5FkPIawgtw=", - version = "v0.0.0-20200107190931-bf48bf16ab8d", + sum = "h1:D7nTwh4J0i+5mW4Zjzn5omvlr6YBcWywE6KOcatyNxY=", + version = "v0.0.0-20210323180902-22b0adad7558", ) go_repository( name = "org_golang_x_sync", importpath = "golang.org/x/sync", - sum = "h1:8gQV6CLnAEikrhgkHFbMAEhagSSnXWGV915qUMm9mrU=", - version = "v0.0.0-20190423024810-112230192c58", + sum = "h1:SQFwaSi55rU7vdNs9Yr0Z324VNlrF+0wMqRXT4St8ck=", + version = "v0.0.0-20201020160332-67f06af15bc9", ) go_repository( name = "org_golang_x_sys", importpath = "golang.org/x/sys", - sum = "h1:xhmwyvizuTgC2qz7ZlMluP20uW+C3Rm0FD/WLDX8884=", - version = "v0.0.0-20200323222414-85ca7c5b95cd", + sum = "h1:EZ2mChiOa8udjfp6rRmswTbtZN/QzUQp4ptM4rnjHvc=", + version = "v0.0.0-20210320140829-1e4c9ba3b0c4", + ) + + go_repository( + name = "org_golang_x_term", + importpath = "golang.org/x/term", + sum = "h1:v+OssWQX+hTHEmOBgwxdZxK4zHq3yOs8F9J7mk0PY8E=", + version = "v0.0.0-20201126162022-7de9c90e9dd1", ) go_repository( name = "org_golang_x_text", importpath = "golang.org/x/text", - sum = "h1:g61tztE5qeGQ89tm6NTjjM9VPIm088od1l6aSorWRWg=", - version = "v0.3.0", + sum = "h1:i6eZZ+zk0SOf0xgBpEpPD18qWcJda6q1sxt3S0kzyUQ=", + version = "v0.3.5", ) + go_repository( + name = "org_golang_x_time", + importpath = "golang.org/x/time", + sum = "h1:/5xXl8Y5W96D+TtHSlonuFqGHIWVuyCkGJLwGh9JJFs=", + version = "v0.0.0-20191024005414-555d28b269f0", + ) + go_repository( name = "org_golang_x_tools", importpath = "golang.org/x/tools", - sum = "h1:5Beo0mZN8dRzgrMMkDp0jc8YXQKx9DiJ2k1dkvGsn5A=", - version = "v0.0.0-20190524140312-2c0ae7006135", + sum = "h1:po9/4sTYwZU9lPhi1tOrb4hCv3qrhiQ77LZfGa2OjwY=", + version = "v0.1.0", ) go_repository( name = "org_golang_x_xerrors", @@ -303,56 +1285,33 @@ def ethereumapi_deps(): version = "v0.0.0-20200804184101-5ec99f83aff1", ) go_repository( - name = "tools_gotest", - importpath = "gotest.tools", - sum = "h1:VsBPFP1AI068pPrMxtb/S8Zkgf9xEmTLJjfM+P5UIEo=", - version = "v2.2.0+incompatible", - ) - go_repository( - name = "com_github_ferranbt_fastssz", - importpath = "github.com/ferranbt/fastssz", - sum = "h1:9VDpsWq096+oGMDTT/SgBD/VgZYf4pTF+KTPmZ+OaKM=", - version = "v0.0.0-20210120143747-11b9eff30ea9", - ) - go_repository( - name = "com_github_ghodss_yaml", - importpath = "github.com/ghodss/yaml", - sum = "h1:wQHKEahhL6wmXdzwWG11gIVCkOv05bNOh+Rxn0yngAk=", - version = "v1.0.0", + name = "org_uber_go_atomic", + importpath = "go.uber.org/atomic", + sum = "h1:ADUqmZGgLDDfbSL9ZmPxKTybcoEYHgpYfELNoN+7hsw=", + version = "v1.7.0", ) go_repository( - name = "com_github_prysmaticlabs_go_bitfield", - importpath = "github.com/prysmaticlabs/go-bitfield", - sum = "h1:18+Qqobq3HAUY0hgIhPGSqmLFnaLLocemmU7+Sj2aYQ=", - version = "v0.0.0-20210202205921-7fcea7c45dc8", + name = "org_uber_go_multierr", + importpath = "go.uber.org/multierr", + sum = "h1:y6IPFStTAIT5Ytl7/XYmHvzXQ7S3g/IeZW9hyZ5thw4=", + version = "v1.6.0", ) go_repository( - name = "in_gopkg_yaml_v2", - importpath = "gopkg.in/yaml.v2", - sum = "h1:clyUAQHOM3G0M3f5vQj7LuJrETvjVot3Z5el9nffUtU=", - version = "v2.3.0", + name = "org_uber_go_tools", + importpath = "go.uber.org/tools", + sum = "h1:0mgffUl7nfd+FpvXMVz4IDEaUSmT1ysygQC7qYo7sG4=", + version = "v0.0.0-20190618225709-2cfd321de3ee", ) + go_repository( - name = "com_github_grpc_ecosystem_grpc_gateway", - importpath = "github.com/grpc-ecosystem/grpc-gateway", - sum = "h1:gmcG1KaJ57LophUzW0Hy8NmPhnMZb4M0+kPpLofRdBo=", + name = "org_uber_go_zap", + importpath = "go.uber.org/zap", + sum = "h1:uFRZXykJGK9lLY4HtgSw44DnIcAM+kRBP7x5m+NpAOM=", version = "v1.16.0", ) go_repository( - name = "com_github_mitchellh_mapstructure", - importpath = "github.com/mitchellh/mapstructure", - sum = "h1:mRS76wmkOn3KkKAyXDu42V+6ebnXWIztFSYGN7GeoRg=", - version = "v1.3.2", - ) - go_repository( - name = "com_github_prysmaticlabs_eth2_types", - importpath = "github.com/prysmaticlabs/eth2-types", - sum = "h1:n/ZI+/bZfkMoGoV2Rult3YvS5LT4dvpAFOuISq+I+GY=", - version = "v0.0.0-20210127031309-22cbe426eba6", - ) - go_repository( - name = "com_github_google_uuid", - importpath = "github.com/google/uuid", - sum = "h1:EVhdT+1Kseyi1/pUmXKaFxYsDNy9RQYkMWRH68J/W7Y=", - version = "v1.1.2", + name = "tools_gotest", + importpath = "gotest.tools", + sum = "h1:VsBPFP1AI068pPrMxtb/S8Zkgf9xEmTLJjfM+P5UIEo=", + version = "v2.2.0+incompatible", )