github.com/prysmaticlabs/prysm@v1.4.4/proto/eth/v1/attestation.pb.go (about) 1 // Code generated by protoc-gen-go. DO NOT EDIT. 2 // versions: 3 // protoc-gen-go v1.25.0 4 // protoc v3.15.8 5 // source: proto/eth/v1/attestation.proto 6 7 package v1 8 9 import ( 10 reflect "reflect" 11 sync "sync" 12 13 proto "github.com/golang/protobuf/proto" 14 _ "github.com/golang/protobuf/protoc-gen-go/descriptor" 15 github_com_prysmaticlabs_eth2_types "github.com/prysmaticlabs/eth2-types" 16 github_com_prysmaticlabs_go_bitfield "github.com/prysmaticlabs/go-bitfield" 17 _ "github.com/prysmaticlabs/prysm/proto/eth/ext" 18 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 19 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 20 ) 21 22 const ( 23 // Verify that this generated code is sufficiently up-to-date. 24 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 25 // Verify that runtime/protoimpl is sufficiently up-to-date. 26 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 27 ) 28 29 // This is a compile-time assertion that a sufficiently up-to-date version 30 // of the legacy proto package is being used. 31 const _ = proto.ProtoPackageIsVersion4 32 33 type Attestation struct { 34 state protoimpl.MessageState 35 sizeCache protoimpl.SizeCache 36 unknownFields protoimpl.UnknownFields 37 38 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"` 39 Data *AttestationData `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` 40 Signature []byte `protobuf:"bytes,3,opt,name=signature,proto3" json:"signature,omitempty" ssz-size:"96"` 41 } 42 43 func (x *Attestation) Reset() { 44 *x = Attestation{} 45 if protoimpl.UnsafeEnabled { 46 mi := &file_proto_eth_v1_attestation_proto_msgTypes[0] 47 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 48 ms.StoreMessageInfo(mi) 49 } 50 } 51 52 func (x *Attestation) String() string { 53 return protoimpl.X.MessageStringOf(x) 54 } 55 56 func (*Attestation) ProtoMessage() {} 57 58 func (x *Attestation) ProtoReflect() protoreflect.Message { 59 mi := &file_proto_eth_v1_attestation_proto_msgTypes[0] 60 if protoimpl.UnsafeEnabled && x != nil { 61 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 62 if ms.LoadMessageInfo() == nil { 63 ms.StoreMessageInfo(mi) 64 } 65 return ms 66 } 67 return mi.MessageOf(x) 68 } 69 70 // Deprecated: Use Attestation.ProtoReflect.Descriptor instead. 71 func (*Attestation) Descriptor() ([]byte, []int) { 72 return file_proto_eth_v1_attestation_proto_rawDescGZIP(), []int{0} 73 } 74 75 func (x *Attestation) GetAggregationBits() github_com_prysmaticlabs_go_bitfield.Bitlist { 76 if x != nil { 77 return x.AggregationBits 78 } 79 return github_com_prysmaticlabs_go_bitfield.Bitlist(nil) 80 } 81 82 func (x *Attestation) GetData() *AttestationData { 83 if x != nil { 84 return x.Data 85 } 86 return nil 87 } 88 89 func (x *Attestation) GetSignature() []byte { 90 if x != nil { 91 return x.Signature 92 } 93 return nil 94 } 95 96 type AggregateAttestationAndProof struct { 97 state protoimpl.MessageState 98 sizeCache protoimpl.SizeCache 99 unknownFields protoimpl.UnknownFields 100 101 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"` 102 Aggregate *Attestation `protobuf:"bytes,3,opt,name=aggregate,proto3" json:"aggregate,omitempty"` 103 SelectionProof []byte `protobuf:"bytes,2,opt,name=selection_proof,json=selectionProof,proto3" json:"selection_proof,omitempty" ssz-size:"96"` 104 } 105 106 func (x *AggregateAttestationAndProof) Reset() { 107 *x = AggregateAttestationAndProof{} 108 if protoimpl.UnsafeEnabled { 109 mi := &file_proto_eth_v1_attestation_proto_msgTypes[1] 110 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 111 ms.StoreMessageInfo(mi) 112 } 113 } 114 115 func (x *AggregateAttestationAndProof) String() string { 116 return protoimpl.X.MessageStringOf(x) 117 } 118 119 func (*AggregateAttestationAndProof) ProtoMessage() {} 120 121 func (x *AggregateAttestationAndProof) ProtoReflect() protoreflect.Message { 122 mi := &file_proto_eth_v1_attestation_proto_msgTypes[1] 123 if protoimpl.UnsafeEnabled && x != nil { 124 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 125 if ms.LoadMessageInfo() == nil { 126 ms.StoreMessageInfo(mi) 127 } 128 return ms 129 } 130 return mi.MessageOf(x) 131 } 132 133 // Deprecated: Use AggregateAttestationAndProof.ProtoReflect.Descriptor instead. 134 func (*AggregateAttestationAndProof) Descriptor() ([]byte, []int) { 135 return file_proto_eth_v1_attestation_proto_rawDescGZIP(), []int{1} 136 } 137 138 func (x *AggregateAttestationAndProof) GetAggregatorIndex() github_com_prysmaticlabs_eth2_types.ValidatorIndex { 139 if x != nil { 140 return x.AggregatorIndex 141 } 142 return github_com_prysmaticlabs_eth2_types.ValidatorIndex(0) 143 } 144 145 func (x *AggregateAttestationAndProof) GetAggregate() *Attestation { 146 if x != nil { 147 return x.Aggregate 148 } 149 return nil 150 } 151 152 func (x *AggregateAttestationAndProof) GetSelectionProof() []byte { 153 if x != nil { 154 return x.SelectionProof 155 } 156 return nil 157 } 158 159 type SignedAggregateAttestationAndProof struct { 160 state protoimpl.MessageState 161 sizeCache protoimpl.SizeCache 162 unknownFields protoimpl.UnknownFields 163 164 Message *AggregateAttestationAndProof `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"` 165 Signature []byte `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty" ssz-size:"96"` 166 } 167 168 func (x *SignedAggregateAttestationAndProof) Reset() { 169 *x = SignedAggregateAttestationAndProof{} 170 if protoimpl.UnsafeEnabled { 171 mi := &file_proto_eth_v1_attestation_proto_msgTypes[2] 172 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 173 ms.StoreMessageInfo(mi) 174 } 175 } 176 177 func (x *SignedAggregateAttestationAndProof) String() string { 178 return protoimpl.X.MessageStringOf(x) 179 } 180 181 func (*SignedAggregateAttestationAndProof) ProtoMessage() {} 182 183 func (x *SignedAggregateAttestationAndProof) ProtoReflect() protoreflect.Message { 184 mi := &file_proto_eth_v1_attestation_proto_msgTypes[2] 185 if protoimpl.UnsafeEnabled && x != nil { 186 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 187 if ms.LoadMessageInfo() == nil { 188 ms.StoreMessageInfo(mi) 189 } 190 return ms 191 } 192 return mi.MessageOf(x) 193 } 194 195 // Deprecated: Use SignedAggregateAttestationAndProof.ProtoReflect.Descriptor instead. 196 func (*SignedAggregateAttestationAndProof) Descriptor() ([]byte, []int) { 197 return file_proto_eth_v1_attestation_proto_rawDescGZIP(), []int{2} 198 } 199 200 func (x *SignedAggregateAttestationAndProof) GetMessage() *AggregateAttestationAndProof { 201 if x != nil { 202 return x.Message 203 } 204 return nil 205 } 206 207 func (x *SignedAggregateAttestationAndProof) GetSignature() []byte { 208 if x != nil { 209 return x.Signature 210 } 211 return nil 212 } 213 214 type AttestationData struct { 215 state protoimpl.MessageState 216 sizeCache protoimpl.SizeCache 217 unknownFields protoimpl.UnknownFields 218 219 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"` 220 Index github_com_prysmaticlabs_eth2_types.CommitteeIndex `protobuf:"varint,2,opt,name=index,proto3" json:"index,omitempty" cast-type:"github.com/prysmaticlabs/eth2-types.CommitteeIndex"` 221 BeaconBlockRoot []byte `protobuf:"bytes,3,opt,name=beacon_block_root,json=beaconBlockRoot,proto3" json:"beacon_block_root,omitempty" ssz-size:"32"` 222 Source *Checkpoint `protobuf:"bytes,4,opt,name=source,proto3" json:"source,omitempty"` 223 Target *Checkpoint `protobuf:"bytes,5,opt,name=target,proto3" json:"target,omitempty"` 224 } 225 226 func (x *AttestationData) Reset() { 227 *x = AttestationData{} 228 if protoimpl.UnsafeEnabled { 229 mi := &file_proto_eth_v1_attestation_proto_msgTypes[3] 230 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 231 ms.StoreMessageInfo(mi) 232 } 233 } 234 235 func (x *AttestationData) String() string { 236 return protoimpl.X.MessageStringOf(x) 237 } 238 239 func (*AttestationData) ProtoMessage() {} 240 241 func (x *AttestationData) ProtoReflect() protoreflect.Message { 242 mi := &file_proto_eth_v1_attestation_proto_msgTypes[3] 243 if protoimpl.UnsafeEnabled && x != nil { 244 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 245 if ms.LoadMessageInfo() == nil { 246 ms.StoreMessageInfo(mi) 247 } 248 return ms 249 } 250 return mi.MessageOf(x) 251 } 252 253 // Deprecated: Use AttestationData.ProtoReflect.Descriptor instead. 254 func (*AttestationData) Descriptor() ([]byte, []int) { 255 return file_proto_eth_v1_attestation_proto_rawDescGZIP(), []int{3} 256 } 257 258 func (x *AttestationData) GetSlot() github_com_prysmaticlabs_eth2_types.Slot { 259 if x != nil { 260 return x.Slot 261 } 262 return github_com_prysmaticlabs_eth2_types.Slot(0) 263 } 264 265 func (x *AttestationData) GetIndex() github_com_prysmaticlabs_eth2_types.CommitteeIndex { 266 if x != nil { 267 return x.Index 268 } 269 return github_com_prysmaticlabs_eth2_types.CommitteeIndex(0) 270 } 271 272 func (x *AttestationData) GetBeaconBlockRoot() []byte { 273 if x != nil { 274 return x.BeaconBlockRoot 275 } 276 return nil 277 } 278 279 func (x *AttestationData) GetSource() *Checkpoint { 280 if x != nil { 281 return x.Source 282 } 283 return nil 284 } 285 286 func (x *AttestationData) GetTarget() *Checkpoint { 287 if x != nil { 288 return x.Target 289 } 290 return nil 291 } 292 293 type Checkpoint struct { 294 state protoimpl.MessageState 295 sizeCache protoimpl.SizeCache 296 unknownFields protoimpl.UnknownFields 297 298 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"` 299 Root []byte `protobuf:"bytes,2,opt,name=root,proto3" json:"root,omitempty" ssz-size:"32"` 300 } 301 302 func (x *Checkpoint) Reset() { 303 *x = Checkpoint{} 304 if protoimpl.UnsafeEnabled { 305 mi := &file_proto_eth_v1_attestation_proto_msgTypes[4] 306 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 307 ms.StoreMessageInfo(mi) 308 } 309 } 310 311 func (x *Checkpoint) String() string { 312 return protoimpl.X.MessageStringOf(x) 313 } 314 315 func (*Checkpoint) ProtoMessage() {} 316 317 func (x *Checkpoint) ProtoReflect() protoreflect.Message { 318 mi := &file_proto_eth_v1_attestation_proto_msgTypes[4] 319 if protoimpl.UnsafeEnabled && x != nil { 320 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 321 if ms.LoadMessageInfo() == nil { 322 ms.StoreMessageInfo(mi) 323 } 324 return ms 325 } 326 return mi.MessageOf(x) 327 } 328 329 // Deprecated: Use Checkpoint.ProtoReflect.Descriptor instead. 330 func (*Checkpoint) Descriptor() ([]byte, []int) { 331 return file_proto_eth_v1_attestation_proto_rawDescGZIP(), []int{4} 332 } 333 334 func (x *Checkpoint) GetEpoch() github_com_prysmaticlabs_eth2_types.Epoch { 335 if x != nil { 336 return x.Epoch 337 } 338 return github_com_prysmaticlabs_eth2_types.Epoch(0) 339 } 340 341 func (x *Checkpoint) GetRoot() []byte { 342 if x != nil { 343 return x.Root 344 } 345 return nil 346 } 347 348 var File_proto_eth_v1_attestation_proto protoreflect.FileDescriptor 349 350 var file_proto_eth_v1_attestation_proto_rawDesc = []byte{ 351 0x0a, 0x1e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x65, 0x74, 0x68, 0x2f, 0x76, 0x31, 0x2f, 0x61, 352 0x74, 0x74, 0x65, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 353 0x12, 0x0f, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 354 0x31, 0x1a, 0x20, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 355 0x75, 0x66, 0x2f, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x2e, 0x70, 0x72, 356 0x6f, 0x74, 0x6f, 0x1a, 0x1b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x65, 0x74, 0x68, 0x2f, 0x65, 357 0x78, 0x74, 0x2f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 358 0x22, 0xce, 0x01, 0x0a, 0x0b, 0x41, 0x74, 0x74, 0x65, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 359 0x12, 0x63, 0x0a, 0x10, 0x61, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 360 0x62, 0x69, 0x74, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x42, 0x38, 0x92, 0xb5, 0x18, 0x04, 361 0x32, 0x30, 0x34, 0x38, 0x82, 0xb5, 0x18, 0x2c, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 362 0x6f, 0x6d, 0x2f, 0x70, 0x72, 0x79, 0x73, 0x6d, 0x61, 0x74, 0x69, 0x63, 0x6c, 0x61, 0x62, 0x73, 363 0x2f, 0x67, 0x6f, 0x2d, 0x62, 0x69, 0x74, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x2e, 0x42, 0x69, 0x74, 364 0x6c, 0x69, 0x73, 0x74, 0x52, 0x0f, 0x61, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x69, 0x6f, 365 0x6e, 0x42, 0x69, 0x74, 0x73, 0x12, 0x34, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x02, 0x20, 366 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 367 0x74, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x74, 0x74, 0x65, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 368 0x6e, 0x44, 0x61, 0x74, 0x61, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x12, 0x24, 0x0a, 0x09, 0x73, 369 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x42, 0x06, 370 0x8a, 0xb5, 0x18, 0x02, 0x39, 0x36, 0x52, 0x09, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 371 0x65, 0x22, 0xee, 0x01, 0x0a, 0x1c, 0x41, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x65, 0x41, 372 0x74, 0x74, 0x65, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x41, 0x6e, 0x64, 0x50, 0x72, 0x6f, 373 0x6f, 0x66, 0x12, 0x61, 0x0a, 0x10, 0x61, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x6f, 0x72, 374 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x42, 0x36, 0x82, 0xb5, 375 0x18, 0x32, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x72, 0x79, 376 0x73, 0x6d, 0x61, 0x74, 0x69, 0x63, 0x6c, 0x61, 0x62, 0x73, 0x2f, 0x65, 0x74, 0x68, 0x32, 0x2d, 377 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x49, 378 0x6e, 0x64, 0x65, 0x78, 0x52, 0x0f, 0x61, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x6f, 0x72, 379 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x3a, 0x0a, 0x09, 0x61, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 380 0x74, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 381 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x74, 0x74, 0x65, 0x73, 382 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x09, 0x61, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 383 0x65, 0x12, 0x2f, 0x0a, 0x0f, 0x73, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x70, 384 0x72, 0x6f, 0x6f, 0x66, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x42, 0x06, 0x8a, 0xb5, 0x18, 0x02, 385 0x39, 0x36, 0x52, 0x0e, 0x73, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x6f, 386 0x6f, 0x66, 0x22, 0x93, 0x01, 0x0a, 0x22, 0x53, 0x69, 0x67, 0x6e, 0x65, 0x64, 0x41, 0x67, 0x67, 387 0x72, 0x65, 0x67, 0x61, 0x74, 0x65, 0x41, 0x74, 0x74, 0x65, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 388 0x6e, 0x41, 0x6e, 0x64, 0x50, 0x72, 0x6f, 0x6f, 0x66, 0x12, 0x47, 0x0a, 0x07, 0x6d, 0x65, 0x73, 389 0x73, 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x65, 0x74, 0x68, 390 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x67, 0x67, 391 0x72, 0x65, 0x67, 0x61, 0x74, 0x65, 0x41, 0x74, 0x74, 0x65, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 392 0x6e, 0x41, 0x6e, 0x64, 0x50, 0x72, 0x6f, 0x6f, 0x66, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 393 0x67, 0x65, 0x12, 0x24, 0x0a, 0x09, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x18, 394 0x02, 0x20, 0x01, 0x28, 0x0c, 0x42, 0x06, 0x8a, 0xb5, 0x18, 0x02, 0x39, 0x36, 0x52, 0x09, 0x73, 395 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x22, 0xbf, 0x02, 0x0a, 0x0f, 0x41, 0x74, 0x74, 396 0x65, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x61, 0x74, 0x61, 0x12, 0x40, 0x0a, 0x04, 397 0x73, 0x6c, 0x6f, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x42, 0x2c, 0x82, 0xb5, 0x18, 0x28, 398 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x72, 0x79, 0x73, 0x6d, 399 0x61, 0x74, 0x69, 0x63, 0x6c, 0x61, 0x62, 0x73, 0x2f, 0x65, 0x74, 0x68, 0x32, 0x2d, 0x74, 0x79, 400 0x70, 0x65, 0x73, 0x2e, 0x53, 0x6c, 0x6f, 0x74, 0x52, 0x04, 0x73, 0x6c, 0x6f, 0x74, 0x12, 0x4c, 401 0x0a, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x42, 0x36, 0x82, 402 0xb5, 0x18, 0x32, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x72, 403 0x79, 0x73, 0x6d, 0x61, 0x74, 0x69, 0x63, 0x6c, 0x61, 0x62, 0x73, 0x2f, 0x65, 0x74, 0x68, 0x32, 404 0x2d, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x74, 0x65, 0x65, 405 0x49, 0x6e, 0x64, 0x65, 0x78, 0x52, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x32, 0x0a, 0x11, 406 0x62, 0x65, 0x61, 0x63, 0x6f, 0x6e, 0x5f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x72, 0x6f, 0x6f, 407 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x42, 0x06, 0x8a, 0xb5, 0x18, 0x02, 0x33, 0x32, 0x52, 408 0x0f, 0x62, 0x65, 0x61, 0x63, 0x6f, 0x6e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x6f, 0x6f, 0x74, 409 0x12, 0x33, 0x0a, 0x06, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 410 0x32, 0x1b, 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 411 0x76, 0x31, 0x2e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x52, 0x06, 0x73, 412 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x33, 0x0a, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x18, 413 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 414 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x70, 0x6f, 0x69, 415 0x6e, 0x74, 0x52, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x22, 0x6d, 0x0a, 0x0a, 0x43, 0x68, 416 0x65, 0x63, 0x6b, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x12, 0x43, 0x0a, 0x05, 0x65, 0x70, 0x6f, 0x63, 417 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x42, 0x2d, 0x82, 0xb5, 0x18, 0x29, 0x67, 0x69, 0x74, 418 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x72, 0x79, 0x73, 0x6d, 0x61, 0x74, 0x69, 419 0x63, 0x6c, 0x61, 0x62, 0x73, 0x2f, 0x65, 0x74, 0x68, 0x32, 0x2d, 0x74, 0x79, 0x70, 0x65, 0x73, 420 0x2e, 0x45, 0x70, 0x6f, 0x63, 0x68, 0x52, 0x05, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x12, 0x1a, 0x0a, 421 0x04, 0x72, 0x6f, 0x6f, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x42, 0x06, 0x8a, 0xb5, 0x18, 422 0x02, 0x33, 0x32, 0x52, 0x04, 0x72, 0x6f, 0x6f, 0x74, 0x42, 0x7a, 0x0a, 0x13, 0x6f, 0x72, 0x67, 423 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x2e, 0x76, 0x31, 424 0x42, 0x10, 0x41, 0x74, 0x74, 0x65, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x6f, 425 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x2b, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 426 0x2f, 0x70, 0x72, 0x79, 0x73, 0x6d, 0x61, 0x74, 0x69, 0x63, 0x6c, 0x61, 0x62, 0x73, 0x2f, 0x70, 427 0x72, 0x79, 0x73, 0x6d, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x65, 0x74, 0x68, 0x2f, 0x76, 428 0x31, 0xaa, 0x02, 0x0f, 0x45, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2e, 0x45, 0x74, 0x68, 429 0x2e, 0x76, 0x31, 0xca, 0x02, 0x0f, 0x45, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x5c, 0x45, 430 0x74, 0x68, 0x5c, 0x76, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 431 } 432 433 var ( 434 file_proto_eth_v1_attestation_proto_rawDescOnce sync.Once 435 file_proto_eth_v1_attestation_proto_rawDescData = file_proto_eth_v1_attestation_proto_rawDesc 436 ) 437 438 func file_proto_eth_v1_attestation_proto_rawDescGZIP() []byte { 439 file_proto_eth_v1_attestation_proto_rawDescOnce.Do(func() { 440 file_proto_eth_v1_attestation_proto_rawDescData = protoimpl.X.CompressGZIP(file_proto_eth_v1_attestation_proto_rawDescData) 441 }) 442 return file_proto_eth_v1_attestation_proto_rawDescData 443 } 444 445 var file_proto_eth_v1_attestation_proto_msgTypes = make([]protoimpl.MessageInfo, 5) 446 var file_proto_eth_v1_attestation_proto_goTypes = []interface{}{ 447 (*Attestation)(nil), // 0: ethereum.eth.v1.Attestation 448 (*AggregateAttestationAndProof)(nil), // 1: ethereum.eth.v1.AggregateAttestationAndProof 449 (*SignedAggregateAttestationAndProof)(nil), // 2: ethereum.eth.v1.SignedAggregateAttestationAndProof 450 (*AttestationData)(nil), // 3: ethereum.eth.v1.AttestationData 451 (*Checkpoint)(nil), // 4: ethereum.eth.v1.Checkpoint 452 } 453 var file_proto_eth_v1_attestation_proto_depIdxs = []int32{ 454 3, // 0: ethereum.eth.v1.Attestation.data:type_name -> ethereum.eth.v1.AttestationData 455 0, // 1: ethereum.eth.v1.AggregateAttestationAndProof.aggregate:type_name -> ethereum.eth.v1.Attestation 456 1, // 2: ethereum.eth.v1.SignedAggregateAttestationAndProof.message:type_name -> ethereum.eth.v1.AggregateAttestationAndProof 457 4, // 3: ethereum.eth.v1.AttestationData.source:type_name -> ethereum.eth.v1.Checkpoint 458 4, // 4: ethereum.eth.v1.AttestationData.target:type_name -> ethereum.eth.v1.Checkpoint 459 5, // [5:5] is the sub-list for method output_type 460 5, // [5:5] is the sub-list for method input_type 461 5, // [5:5] is the sub-list for extension type_name 462 5, // [5:5] is the sub-list for extension extendee 463 0, // [0:5] is the sub-list for field type_name 464 } 465 466 func init() { file_proto_eth_v1_attestation_proto_init() } 467 func file_proto_eth_v1_attestation_proto_init() { 468 if File_proto_eth_v1_attestation_proto != nil { 469 return 470 } 471 if !protoimpl.UnsafeEnabled { 472 file_proto_eth_v1_attestation_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 473 switch v := v.(*Attestation); i { 474 case 0: 475 return &v.state 476 case 1: 477 return &v.sizeCache 478 case 2: 479 return &v.unknownFields 480 default: 481 return nil 482 } 483 } 484 file_proto_eth_v1_attestation_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 485 switch v := v.(*AggregateAttestationAndProof); i { 486 case 0: 487 return &v.state 488 case 1: 489 return &v.sizeCache 490 case 2: 491 return &v.unknownFields 492 default: 493 return nil 494 } 495 } 496 file_proto_eth_v1_attestation_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 497 switch v := v.(*SignedAggregateAttestationAndProof); i { 498 case 0: 499 return &v.state 500 case 1: 501 return &v.sizeCache 502 case 2: 503 return &v.unknownFields 504 default: 505 return nil 506 } 507 } 508 file_proto_eth_v1_attestation_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 509 switch v := v.(*AttestationData); i { 510 case 0: 511 return &v.state 512 case 1: 513 return &v.sizeCache 514 case 2: 515 return &v.unknownFields 516 default: 517 return nil 518 } 519 } 520 file_proto_eth_v1_attestation_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { 521 switch v := v.(*Checkpoint); i { 522 case 0: 523 return &v.state 524 case 1: 525 return &v.sizeCache 526 case 2: 527 return &v.unknownFields 528 default: 529 return nil 530 } 531 } 532 } 533 type x struct{} 534 out := protoimpl.TypeBuilder{ 535 File: protoimpl.DescBuilder{ 536 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 537 RawDescriptor: file_proto_eth_v1_attestation_proto_rawDesc, 538 NumEnums: 0, 539 NumMessages: 5, 540 NumExtensions: 0, 541 NumServices: 0, 542 }, 543 GoTypes: file_proto_eth_v1_attestation_proto_goTypes, 544 DependencyIndexes: file_proto_eth_v1_attestation_proto_depIdxs, 545 MessageInfos: file_proto_eth_v1_attestation_proto_msgTypes, 546 }.Build() 547 File_proto_eth_v1_attestation_proto = out.File 548 file_proto_eth_v1_attestation_proto_rawDesc = nil 549 file_proto_eth_v1_attestation_proto_goTypes = nil 550 file_proto_eth_v1_attestation_proto_depIdxs = nil 551 }