From 1373ab14ff9b09533a33e5862a249eb5992c5f4a Mon Sep 17 00:00:00 2001 From: Kaloyan Tanev Date: Tue, 7 Jan 2025 10:49:42 +0200 Subject: [PATCH 1/2] Bump protobuf to 1.36.1 --- app/log/loki/lokipb/v1/loki.pb.go | 29 +++---- app/peerinfo/peerinfopb/v1/peerinfo.pb.go | 9 +- app/protonil/testdata/v1/test.pb.go | 64 +++++++------- cluster/manifestpb/v1/manifest.pb.go | 100 ++++++++++------------ core/corepb/v1/consensus.pb.go | 69 +++++++-------- core/corepb/v1/core.pb.go | 36 ++++---- core/corepb/v1/parsigex.pb.go | 11 ++- core/corepb/v1/priority.pb.go | 53 ++++++------ dkg/dkgpb/v1/bcast.pb.go | 31 +++---- dkg/dkgpb/v1/frost.pb.go | 71 +++++++-------- dkg/dkgpb/v1/nodesigs.pb.go | 11 ++- dkg/dkgpb/v1/sync.pb.go | 16 ++-- 12 files changed, 227 insertions(+), 273 deletions(-) diff --git a/app/log/loki/lokipb/v1/loki.pb.go b/app/log/loki/lokipb/v1/loki.pb.go index e1f71c092c..584f0ee28e 100644 --- a/app/log/loki/lokipb/v1/loki.pb.go +++ b/app/log/loki/lokipb/v1/loki.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.35.2 +// protoc-gen-go v1.36.1 // protoc (unknown) // source: app/log/loki/lokipb/v1/loki.proto @@ -22,11 +22,10 @@ const ( ) type PushRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Streams []*Stream `protobuf:"bytes,1,rep,name=streams,proto3" json:"streams,omitempty"` unknownFields protoimpl.UnknownFields - - Streams []*Stream `protobuf:"bytes,1,rep,name=streams,proto3" json:"streams,omitempty"` + sizeCache protoimpl.SizeCache } func (x *PushRequest) Reset() { @@ -67,13 +66,12 @@ func (x *PushRequest) GetStreams() []*Stream { } type Stream struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Labels string `protobuf:"bytes,1,opt,name=labels,proto3" json:"labels,omitempty"` + Entries []*Entry `protobuf:"bytes,2,rep,name=entries,proto3" json:"entries,omitempty"` + Hash uint64 `protobuf:"varint,3,opt,name=hash,proto3" json:"hash,omitempty"` unknownFields protoimpl.UnknownFields - - Labels string `protobuf:"bytes,1,opt,name=labels,proto3" json:"labels,omitempty"` - Entries []*Entry `protobuf:"bytes,2,rep,name=entries,proto3" json:"entries,omitempty"` - Hash uint64 `protobuf:"varint,3,opt,name=hash,proto3" json:"hash,omitempty"` + sizeCache protoimpl.SizeCache } func (x *Stream) Reset() { @@ -128,12 +126,11 @@ func (x *Stream) GetHash() uint64 { } type Entry struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Timestamp *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"` + Line string `protobuf:"bytes,2,opt,name=line,proto3" json:"line,omitempty"` unknownFields protoimpl.UnknownFields - - Timestamp *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"` - Line string `protobuf:"bytes,2,opt,name=line,proto3" json:"line,omitempty"` + sizeCache protoimpl.SizeCache } func (x *Entry) Reset() { diff --git a/app/peerinfo/peerinfopb/v1/peerinfo.pb.go b/app/peerinfo/peerinfopb/v1/peerinfo.pb.go index 8663f44084..93559344d1 100644 --- a/app/peerinfo/peerinfopb/v1/peerinfo.pb.go +++ b/app/peerinfo/peerinfopb/v1/peerinfo.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.35.2 +// protoc-gen-go v1.36.1 // protoc (unknown) // source: app/peerinfo/peerinfopb/v1/peerinfo.proto @@ -22,16 +22,15 @@ const ( ) type PeerInfo struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` CharonVersion string `protobuf:"bytes,1,opt,name=charon_version,json=charonVersion,proto3" json:"charon_version,omitempty"` LockHash []byte `protobuf:"bytes,2,opt,name=lock_hash,json=lockHash,proto3" json:"lock_hash,omitempty"` SentAt *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=sent_at,json=sentAt,proto3,oneof" json:"sent_at,omitempty"` GitHash string `protobuf:"bytes,4,opt,name=git_hash,json=gitHash,proto3" json:"git_hash,omitempty"` StartedAt *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=started_at,json=startedAt,proto3,oneof" json:"started_at,omitempty"` BuilderApiEnabled bool `protobuf:"varint,6,opt,name=builder_api_enabled,json=builderApiEnabled,proto3" json:"builder_api_enabled,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *PeerInfo) Reset() { diff --git a/app/protonil/testdata/v1/test.pb.go b/app/protonil/testdata/v1/test.pb.go index 19a41ae255..9f9ae55be1 100644 --- a/app/protonil/testdata/v1/test.pb.go +++ b/app/protonil/testdata/v1/test.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.35.2 +// protoc-gen-go v1.36.1 // protoc (unknown) // source: app/protonil/testdata/v1/test.proto @@ -21,13 +21,12 @@ const ( ) type M1 struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + M2 *M2 `protobuf:"bytes,2,opt,name=m2,proto3" json:"m2,omitempty"` + M2Optional *M2 `protobuf:"bytes,3,opt,name=m2_optional,json=m2Optional,proto3,oneof" json:"m2_optional,omitempty"` unknownFields protoimpl.UnknownFields - - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - M2 *M2 `protobuf:"bytes,2,opt,name=m2,proto3" json:"m2,omitempty"` - M2Optional *M2 `protobuf:"bytes,3,opt,name=m2_optional,json=m2Optional,proto3,oneof" json:"m2_optional,omitempty"` + sizeCache protoimpl.SizeCache } func (x *M1) Reset() { @@ -82,13 +81,12 @@ func (x *M1) GetM2Optional() *M2 { } type M2 struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + M3 *M3 `protobuf:"bytes,2,opt,name=m3,proto3" json:"m3,omitempty"` + M3Optional *M3 `protobuf:"bytes,3,opt,name=m3_optional,json=m3Optional,proto3,oneof" json:"m3_optional,omitempty"` unknownFields protoimpl.UnknownFields - - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - M3 *M3 `protobuf:"bytes,2,opt,name=m3,proto3" json:"m3,omitempty"` - M3Optional *M3 `protobuf:"bytes,3,opt,name=m3_optional,json=m3Optional,proto3,oneof" json:"m3_optional,omitempty"` + sizeCache protoimpl.SizeCache } func (x *M2) Reset() { @@ -143,11 +141,10 @@ func (x *M2) GetM3Optional() *M3 { } type M3 struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // Note it doesn't start at 1 unknownFields protoimpl.UnknownFields - - Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // Note it doesn't start at 1 + sizeCache protoimpl.SizeCache } func (x *M3) Reset() { @@ -188,13 +185,12 @@ func (x *M3) GetName() string { } type M4 struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + M3Map map[string]*M3 `protobuf:"bytes,2,rep,name=m3_map,json=m3Map,proto3" json:"m3_map,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` + M3List []*M3 `protobuf:"bytes,3,rep,name=m3_list,json=m3List,proto3" json:"m3_list,omitempty"` unknownFields protoimpl.UnknownFields - - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - M3Map map[string]*M3 `protobuf:"bytes,2,rep,name=m3_map,json=m3Map,proto3" json:"m3_map,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - M3List []*M3 `protobuf:"bytes,3,rep,name=m3_list,json=m3List,proto3" json:"m3_list,omitempty"` + sizeCache protoimpl.SizeCache } func (x *M4) Reset() { @@ -250,11 +246,10 @@ func (x *M4) GetM3List() []*M3 { // MaxIndex is used to test the max index type MaxIndex struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Name string `protobuf:"bytes,65,opt,name=name,proto3" json:"name,omitempty"` unknownFields protoimpl.UnknownFields - - Name string `protobuf:"bytes,65,opt,name=name,proto3" json:"name,omitempty"` + sizeCache protoimpl.SizeCache } func (x *MaxIndex) Reset() { @@ -298,15 +293,14 @@ func (x *MaxIndex) GetName() string { // and adds a unknown field and a invalid numbered field. // Both should be ignored. type Attack struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + M2 *M2 `protobuf:"bytes,2,opt,name=m2,proto3" json:"m2,omitempty"` + M2Optional *M2 `protobuf:"bytes,3,opt,name=m2_optional,json=m2Optional,proto3,oneof" json:"m2_optional,omitempty"` + M3Unknown *M3 `protobuf:"bytes,4,opt,name=m3_unknown,json=m3Unknown,proto3" json:"m3_unknown,omitempty"` + M3Attack *M3 `protobuf:"bytes,99999999,opt,name=m3_attack,json=m3Attack,proto3" json:"m3_attack,omitempty"` unknownFields protoimpl.UnknownFields - - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - M2 *M2 `protobuf:"bytes,2,opt,name=m2,proto3" json:"m2,omitempty"` - M2Optional *M2 `protobuf:"bytes,3,opt,name=m2_optional,json=m2Optional,proto3,oneof" json:"m2_optional,omitempty"` - M3Unknown *M3 `protobuf:"bytes,4,opt,name=m3_unknown,json=m3Unknown,proto3" json:"m3_unknown,omitempty"` - M3Attack *M3 `protobuf:"bytes,99999999,opt,name=m3_attack,json=m3Attack,proto3" json:"m3_attack,omitempty"` + sizeCache protoimpl.SizeCache } func (x *Attack) Reset() { diff --git a/cluster/manifestpb/v1/manifest.pb.go b/cluster/manifestpb/v1/manifest.pb.go index 2b171afd90..73bf8256d8 100644 --- a/cluster/manifestpb/v1/manifest.pb.go +++ b/cluster/manifestpb/v1/manifest.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.35.2 +// protoc-gen-go v1.36.1 // protoc (unknown) // source: cluster/manifestpb/v1/manifest.proto @@ -23,19 +23,18 @@ const ( // Cluster represents the manifest of a cluster after applying a sequence of mutations. type Cluster struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - InitialMutationHash []byte `protobuf:"bytes,1,opt,name=initial_mutation_hash,json=initialMutationHash,proto3" json:"initial_mutation_hash,omitempty"` // InitialMutationHash is the hash of first signed mutation, uniquely identifying cluster, aka "cluster hash". It must be 32 bytes. - LatestMutationHash []byte `protobuf:"bytes,2,opt,name=latest_mutation_hash,json=latestMutationHash,proto3" json:"latest_mutation_hash,omitempty"` // LatestMutationHash is the hash of last signed mutation, identifying this specific cluster iteration. It must be 32 bytes. - Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` // Name is the name of the cluster. - Threshold int32 `protobuf:"varint,4,opt,name=threshold,proto3" json:"threshold,omitempty"` // Threshold is the threshold of the cluster. - DkgAlgorithm string `protobuf:"bytes,5,opt,name=dkg_algorithm,json=dkgAlgorithm,proto3" json:"dkg_algorithm,omitempty"` // DKGAlgorithm is the DKG algorithm used to create the validator keys of the cluster. - ForkVersion []byte `protobuf:"bytes,6,opt,name=fork_version,json=forkVersion,proto3" json:"fork_version,omitempty"` // ForkVersion is the fork version (network/chain) of the cluster. It must be 4 bytes. - Operators []*Operator `protobuf:"bytes,7,rep,name=operators,proto3" json:"operators,omitempty"` // Operators is the list of operators of the cluster. - Validators []*Validator `protobuf:"bytes,8,rep,name=validators,proto3" json:"validators,omitempty"` // Validators is the list of validators of the cluster. - ConsensusProtocol string `protobuf:"bytes,9,opt,name=consensus_protocol,json=consensusProtocol,proto3" json:"consensus_protocol,omitempty"` // ConsensusProtocol is the consensus protocol name preferred by the cluster, e.g. "abft". + state protoimpl.MessageState `protogen:"open.v1"` + InitialMutationHash []byte `protobuf:"bytes,1,opt,name=initial_mutation_hash,json=initialMutationHash,proto3" json:"initial_mutation_hash,omitempty"` // InitialMutationHash is the hash of first signed mutation, uniquely identifying cluster, aka "cluster hash". It must be 32 bytes. + LatestMutationHash []byte `protobuf:"bytes,2,opt,name=latest_mutation_hash,json=latestMutationHash,proto3" json:"latest_mutation_hash,omitempty"` // LatestMutationHash is the hash of last signed mutation, identifying this specific cluster iteration. It must be 32 bytes. + Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` // Name is the name of the cluster. + Threshold int32 `protobuf:"varint,4,opt,name=threshold,proto3" json:"threshold,omitempty"` // Threshold is the threshold of the cluster. + DkgAlgorithm string `protobuf:"bytes,5,opt,name=dkg_algorithm,json=dkgAlgorithm,proto3" json:"dkg_algorithm,omitempty"` // DKGAlgorithm is the DKG algorithm used to create the validator keys of the cluster. + ForkVersion []byte `protobuf:"bytes,6,opt,name=fork_version,json=forkVersion,proto3" json:"fork_version,omitempty"` // ForkVersion is the fork version (network/chain) of the cluster. It must be 4 bytes. + Operators []*Operator `protobuf:"bytes,7,rep,name=operators,proto3" json:"operators,omitempty"` // Operators is the list of operators of the cluster. + Validators []*Validator `protobuf:"bytes,8,rep,name=validators,proto3" json:"validators,omitempty"` // Validators is the list of validators of the cluster. + ConsensusProtocol string `protobuf:"bytes,9,opt,name=consensus_protocol,json=consensusProtocol,proto3" json:"consensus_protocol,omitempty"` // ConsensusProtocol is the consensus protocol name preferred by the cluster, e.g. "abft". + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Cluster) Reset() { @@ -133,13 +132,12 @@ func (x *Cluster) GetConsensusProtocol() string { // Mutation mutates the cluster manifest. type Mutation struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Parent []byte `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Parent is the hash of the parent mutation. It must be 32 bytes. + Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"` // Type is the type of mutation. + Data *anypb.Any `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` // Data is the data of the mutation. Must be non-nil. unknownFields protoimpl.UnknownFields - - Parent []byte `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Parent is the hash of the parent mutation. It must be 32 bytes. - Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"` // Type is the type of mutation. - Data *anypb.Any `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` // Data is the data of the mutation. Must be non-nil. + sizeCache protoimpl.SizeCache } func (x *Mutation) Reset() { @@ -195,13 +193,12 @@ func (x *Mutation) GetData() *anypb.Any { // SignedMutation is a mutation signed by a signer. type SignedMutation struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Mutation *Mutation `protobuf:"bytes,1,opt,name=mutation,proto3" json:"mutation,omitempty"` // Mutation is the mutation. + Signer []byte `protobuf:"bytes,2,opt,name=signer,proto3" json:"signer,omitempty"` // Signer is the identity (public key) of the signer. + Signature []byte `protobuf:"bytes,3,opt,name=signature,proto3" json:"signature,omitempty"` // Signature is the signature of the mutation. unknownFields protoimpl.UnknownFields - - Mutation *Mutation `protobuf:"bytes,1,opt,name=mutation,proto3" json:"mutation,omitempty"` // Mutation is the mutation. - Signer []byte `protobuf:"bytes,2,opt,name=signer,proto3" json:"signer,omitempty"` // Signer is the identity (public key) of the signer. - Signature []byte `protobuf:"bytes,3,opt,name=signature,proto3" json:"signature,omitempty"` // Signature is the signature of the mutation. + sizeCache protoimpl.SizeCache } func (x *SignedMutation) Reset() { @@ -257,11 +254,10 @@ func (x *SignedMutation) GetSignature() []byte { // SignedMutationList is a list of signed mutations. type SignedMutationList struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Mutations []*SignedMutation `protobuf:"bytes,1,rep,name=mutations,proto3" json:"mutations,omitempty"` // Mutations is the list of mutations. unknownFields protoimpl.UnknownFields - - Mutations []*SignedMutation `protobuf:"bytes,1,rep,name=mutations,proto3" json:"mutations,omitempty"` // Mutations is the list of mutations. + sizeCache protoimpl.SizeCache } func (x *SignedMutationList) Reset() { @@ -303,12 +299,11 @@ func (x *SignedMutationList) GetMutations() []*SignedMutation { // Operator represents the operator of a node in the cluster. type Operator struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` // Address is the operator's Ethereum address. + Enr string `protobuf:"bytes,2,opt,name=enr,proto3" json:"enr,omitempty"` // enr identifies the operator's charon node. unknownFields protoimpl.UnknownFields - - Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` // Address is the operator's Ethereum address. - Enr string `protobuf:"bytes,2,opt,name=enr,proto3" json:"enr,omitempty"` // enr identifies the operator's charon node. + sizeCache protoimpl.SizeCache } func (x *Operator) Reset() { @@ -357,15 +352,14 @@ func (x *Operator) GetEnr() string { // Validator represents a distributed validator managed by the DV cluster. 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"` // PublicKey is the group public key of the validator. - PubShares [][]byte `protobuf:"bytes,2,rep,name=pub_shares,json=pubShares,proto3" json:"pub_shares,omitempty"` // PubShares is the ordered list of public shares of the validator. - FeeRecipientAddress string `protobuf:"bytes,3,opt,name=fee_recipient_address,json=feeRecipientAddress,proto3" json:"fee_recipient_address,omitempty"` // FeeRecipientAddress is the fee recipient Ethereum address of the validator. - WithdrawalAddress string `protobuf:"bytes,4,opt,name=withdrawal_address,json=withdrawalAddress,proto3" json:"withdrawal_address,omitempty"` // WithdrawalAddress is the withdrawal Ethereum address of the validator. - BuilderRegistrationJson []byte `protobuf:"bytes,5,opt,name=builder_registration_json,json=builderRegistrationJson,proto3" json:"builder_registration_json,omitempty"` // BuilderRegistration is the pre-generated json-formatted builder-API validator registration of the validator. + state protoimpl.MessageState `protogen:"open.v1"` + PublicKey []byte `protobuf:"bytes,1,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"` // PublicKey is the group public key of the validator. + PubShares [][]byte `protobuf:"bytes,2,rep,name=pub_shares,json=pubShares,proto3" json:"pub_shares,omitempty"` // PubShares is the ordered list of public shares of the validator. + FeeRecipientAddress string `protobuf:"bytes,3,opt,name=fee_recipient_address,json=feeRecipientAddress,proto3" json:"fee_recipient_address,omitempty"` // FeeRecipientAddress is the fee recipient Ethereum address of the validator. + WithdrawalAddress string `protobuf:"bytes,4,opt,name=withdrawal_address,json=withdrawalAddress,proto3" json:"withdrawal_address,omitempty"` // WithdrawalAddress is the withdrawal Ethereum address of the validator. + BuilderRegistrationJson []byte `protobuf:"bytes,5,opt,name=builder_registration_json,json=builderRegistrationJson,proto3" json:"builder_registration_json,omitempty"` // BuilderRegistration is the pre-generated json-formatted builder-API validator registration of the validator. + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Validator) Reset() { @@ -435,11 +429,10 @@ func (x *Validator) GetBuilderRegistrationJson() []byte { // ValidatorList is a list of validators. type ValidatorList struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Validators []*Validator `protobuf:"bytes,1,rep,name=validators,proto3" json:"validators,omitempty"` // Validators is the list of validators. unknownFields protoimpl.UnknownFields - - Validators []*Validator `protobuf:"bytes,1,rep,name=validators,proto3" json:"validators,omitempty"` // Validators is the list of validators. + sizeCache protoimpl.SizeCache } func (x *ValidatorList) Reset() { @@ -481,11 +474,10 @@ func (x *ValidatorList) GetValidators() []*Validator { // LegacyLock represents a json formatted legacy cluster lock file. type LegacyLock struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Json []byte `protobuf:"bytes,1,opt,name=json,proto3" json:"json,omitempty"` unknownFields protoimpl.UnknownFields - - Json []byte `protobuf:"bytes,1,opt,name=json,proto3" json:"json,omitempty"` + sizeCache protoimpl.SizeCache } func (x *LegacyLock) Reset() { @@ -527,9 +519,9 @@ func (x *LegacyLock) GetJson() []byte { // Empty is an empty/noop message. type Empty struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Empty) Reset() { diff --git a/core/corepb/v1/consensus.pb.go b/core/corepb/v1/consensus.pb.go index 7d5ae8cfb0..b87ce3891f 100644 --- a/core/corepb/v1/consensus.pb.go +++ b/core/corepb/v1/consensus.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.35.2 +// protoc-gen-go v1.36.1 // protoc (unknown) // source: core/corepb/v1/consensus.proto @@ -23,18 +23,17 @@ const ( ) type QBFTMsg struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Type int64 `protobuf:"varint,1,opt,name=type,proto3" json:"type,omitempty"` - Duty *Duty `protobuf:"bytes,2,opt,name=duty,proto3" json:"duty,omitempty"` - PeerIdx int64 `protobuf:"varint,3,opt,name=peer_idx,json=peerIdx,proto3" json:"peer_idx,omitempty"` - Round int64 `protobuf:"varint,4,opt,name=round,proto3" json:"round,omitempty"` - PreparedRound int64 `protobuf:"varint,6,opt,name=prepared_round,json=preparedRound,proto3" json:"prepared_round,omitempty"` - Signature []byte `protobuf:"bytes,8,opt,name=signature,proto3" json:"signature,omitempty"` - ValueHash []byte `protobuf:"bytes,11,opt,name=value_hash,json=valueHash,proto3" json:"value_hash,omitempty"` - PreparedValueHash []byte `protobuf:"bytes,12,opt,name=prepared_value_hash,json=preparedValueHash,proto3" json:"prepared_value_hash,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + Type int64 `protobuf:"varint,1,opt,name=type,proto3" json:"type,omitempty"` + Duty *Duty `protobuf:"bytes,2,opt,name=duty,proto3" json:"duty,omitempty"` + PeerIdx int64 `protobuf:"varint,3,opt,name=peer_idx,json=peerIdx,proto3" json:"peer_idx,omitempty"` + Round int64 `protobuf:"varint,4,opt,name=round,proto3" json:"round,omitempty"` + PreparedRound int64 `protobuf:"varint,6,opt,name=prepared_round,json=preparedRound,proto3" json:"prepared_round,omitempty"` + Signature []byte `protobuf:"bytes,8,opt,name=signature,proto3" json:"signature,omitempty"` + ValueHash []byte `protobuf:"bytes,11,opt,name=value_hash,json=valueHash,proto3" json:"value_hash,omitempty"` + PreparedValueHash []byte `protobuf:"bytes,12,opt,name=prepared_value_hash,json=preparedValueHash,proto3" json:"prepared_value_hash,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *QBFTMsg) Reset() { @@ -124,13 +123,12 @@ func (x *QBFTMsg) GetPreparedValueHash() []byte { } type QBFTConsensusMsg struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Msg *QBFTMsg `protobuf:"bytes,1,opt,name=msg,proto3" json:"msg,omitempty"` // msg is the message that we send + Justification []*QBFTMsg `protobuf:"bytes,2,rep,name=justification,proto3" json:"justification,omitempty"` // justification is the justifications from others for the message + Values []*anypb.Any `protobuf:"bytes,3,rep,name=values,proto3" json:"values,omitempty"` // values of the hashes in the messages unknownFields protoimpl.UnknownFields - - Msg *QBFTMsg `protobuf:"bytes,1,opt,name=msg,proto3" json:"msg,omitempty"` // msg is the message that we send - Justification []*QBFTMsg `protobuf:"bytes,2,rep,name=justification,proto3" json:"justification,omitempty"` // justification is the justifications from others for the message - Values []*anypb.Any `protobuf:"bytes,3,rep,name=values,proto3" json:"values,omitempty"` // values of the hashes in the messages + sizeCache protoimpl.SizeCache } func (x *QBFTConsensusMsg) Reset() { @@ -185,12 +183,11 @@ func (x *QBFTConsensusMsg) GetValues() []*anypb.Any { } type SniffedConsensusMsg struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Timestamp *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"` + Msg *QBFTConsensusMsg `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"` // Other consensus protocol messages can be added here unknownFields protoimpl.UnknownFields - - Timestamp *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"` - Msg *QBFTConsensusMsg `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"` // Other consensus protocol messages can be added here + sizeCache protoimpl.SizeCache } func (x *SniffedConsensusMsg) Reset() { @@ -238,15 +235,14 @@ func (x *SniffedConsensusMsg) GetMsg() *QBFTConsensusMsg { } type SniffedConsensusInstance struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + StartedAt *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=started_at,json=startedAt,proto3" json:"started_at,omitempty"` + Nodes int64 `protobuf:"varint,2,opt,name=nodes,proto3" json:"nodes,omitempty"` + PeerIdx int64 `protobuf:"varint,3,opt,name=peer_idx,json=peerIdx,proto3" json:"peer_idx,omitempty"` + Msgs []*SniffedConsensusMsg `protobuf:"bytes,4,rep,name=msgs,proto3" json:"msgs,omitempty"` + ProtocolId string `protobuf:"bytes,5,opt,name=protocol_id,json=protocolId,proto3" json:"protocol_id,omitempty"` unknownFields protoimpl.UnknownFields - - StartedAt *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=started_at,json=startedAt,proto3" json:"started_at,omitempty"` - Nodes int64 `protobuf:"varint,2,opt,name=nodes,proto3" json:"nodes,omitempty"` - PeerIdx int64 `protobuf:"varint,3,opt,name=peer_idx,json=peerIdx,proto3" json:"peer_idx,omitempty"` - Msgs []*SniffedConsensusMsg `protobuf:"bytes,4,rep,name=msgs,proto3" json:"msgs,omitempty"` - ProtocolId string `protobuf:"bytes,5,opt,name=protocol_id,json=protocolId,proto3" json:"protocol_id,omitempty"` + sizeCache protoimpl.SizeCache } func (x *SniffedConsensusInstance) Reset() { @@ -315,12 +311,11 @@ func (x *SniffedConsensusInstance) GetProtocolId() string { } type SniffedConsensusInstances struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Instances []*SniffedConsensusInstance `protobuf:"bytes,1,rep,name=instances,proto3" json:"instances,omitempty"` + GitHash string `protobuf:"bytes,2,opt,name=git_hash,json=gitHash,proto3" json:"git_hash,omitempty"` unknownFields protoimpl.UnknownFields - - Instances []*SniffedConsensusInstance `protobuf:"bytes,1,rep,name=instances,proto3" json:"instances,omitempty"` - GitHash string `protobuf:"bytes,2,opt,name=git_hash,json=gitHash,proto3" json:"git_hash,omitempty"` + sizeCache protoimpl.SizeCache } func (x *SniffedConsensusInstances) Reset() { diff --git a/core/corepb/v1/core.pb.go b/core/corepb/v1/core.pb.go index baeb54a46b..478ddde453 100644 --- a/core/corepb/v1/core.pb.go +++ b/core/corepb/v1/core.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.35.2 +// protoc-gen-go v1.36.1 // protoc (unknown) // source: core/corepb/v1/core.proto @@ -21,12 +21,11 @@ const ( ) type Duty struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Slot uint64 `protobuf:"varint,1,opt,name=slot,proto3" json:"slot,omitempty"` // uint64 + Type int32 `protobuf:"varint,2,opt,name=type,proto3" json:"type,omitempty"` // core.DutyType unknownFields protoimpl.UnknownFields - - Slot uint64 `protobuf:"varint,1,opt,name=slot,proto3" json:"slot,omitempty"` // uint64 - Type int32 `protobuf:"varint,2,opt,name=type,proto3" json:"type,omitempty"` // core.DutyType + sizeCache protoimpl.SizeCache } func (x *Duty) Reset() { @@ -74,11 +73,10 @@ func (x *Duty) GetType() int32 { } type UnsignedDataSet struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Set map[string][]byte `protobuf:"bytes,1,rep,name=set,proto3" json:"set,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` // map[core.PubKey]core.UnsignedData unknownFields protoimpl.UnknownFields - - Set map[string][]byte `protobuf:"bytes,1,rep,name=set,proto3" json:"set,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // map[core.PubKey]core.UnsignedData + sizeCache protoimpl.SizeCache } func (x *UnsignedDataSet) Reset() { @@ -119,11 +117,10 @@ func (x *UnsignedDataSet) GetSet() map[string][]byte { } type ParSignedDataSet struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Set map[string]*ParSignedData `protobuf:"bytes,1,rep,name=set,proto3" json:"set,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` // map[core.PubKey]core.ParSignedData unknownFields protoimpl.UnknownFields - - Set map[string]*ParSignedData `protobuf:"bytes,1,rep,name=set,proto3" json:"set,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // map[core.PubKey]core.ParSignedData + sizeCache protoimpl.SizeCache } func (x *ParSignedDataSet) Reset() { @@ -164,13 +161,12 @@ func (x *ParSignedDataSet) GetSet() map[string]*ParSignedData { } type ParSignedData struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` // []byte + Signature []byte `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"` // core.Signature + ShareIdx int32 `protobuf:"varint,3,opt,name=share_idx,json=shareIdx,proto3" json:"share_idx,omitempty"` // int unknownFields protoimpl.UnknownFields - - Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` // []byte - Signature []byte `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"` // core.Signature - ShareIdx int32 `protobuf:"varint,3,opt,name=share_idx,json=shareIdx,proto3" json:"share_idx,omitempty"` // int + sizeCache protoimpl.SizeCache } func (x *ParSignedData) Reset() { diff --git a/core/corepb/v1/parsigex.pb.go b/core/corepb/v1/parsigex.pb.go index aabb6d5ae4..28f5251d32 100644 --- a/core/corepb/v1/parsigex.pb.go +++ b/core/corepb/v1/parsigex.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.35.2 +// protoc-gen-go v1.36.1 // protoc (unknown) // source: core/corepb/v1/parsigex.proto @@ -21,12 +21,11 @@ const ( ) type ParSigExMsg struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Duty *Duty `protobuf:"bytes,1,opt,name=duty,proto3" json:"duty,omitempty"` + DataSet *ParSignedDataSet `protobuf:"bytes,2,opt,name=data_set,json=dataSet,proto3" json:"data_set,omitempty"` unknownFields protoimpl.UnknownFields - - Duty *Duty `protobuf:"bytes,1,opt,name=duty,proto3" json:"duty,omitempty"` - DataSet *ParSignedDataSet `protobuf:"bytes,2,opt,name=data_set,json=dataSet,proto3" json:"data_set,omitempty"` + sizeCache protoimpl.SizeCache } func (x *ParSigExMsg) Reset() { diff --git a/core/corepb/v1/priority.pb.go b/core/corepb/v1/priority.pb.go index 1db8a47889..597c6561b3 100644 --- a/core/corepb/v1/priority.pb.go +++ b/core/corepb/v1/priority.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.35.2 +// protoc-gen-go v1.36.1 // protoc (unknown) // source: core/corepb/v1/priority.proto @@ -23,12 +23,11 @@ const ( // PriorityResult defines a cluster wide priority result of the Prioritiser protocol. type PriorityResult struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Msgs []*PriorityMsg `protobuf:"bytes,1,rep,name=msgs,proto3" json:"msgs,omitempty"` + Topics []*PriorityTopicResult `protobuf:"bytes,2,rep,name=topics,proto3" json:"topics,omitempty"` unknownFields protoimpl.UnknownFields - - Msgs []*PriorityMsg `protobuf:"bytes,1,rep,name=msgs,proto3" json:"msgs,omitempty"` - Topics []*PriorityTopicResult `protobuf:"bytes,2,rep,name=topics,proto3" json:"topics,omitempty"` + sizeCache protoimpl.SizeCache } func (x *PriorityResult) Reset() { @@ -77,14 +76,13 @@ func (x *PriorityResult) GetTopics() []*PriorityTopicResult { // PriorityMsg defines all the priorities and metadata of a single peer in the Prioritiser protocol. type PriorityMsg struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Duty *Duty `protobuf:"bytes,1,opt,name=duty,proto3" json:"duty,omitempty"` + Topics []*PriorityTopicProposal `protobuf:"bytes,2,rep,name=topics,proto3" json:"topics,omitempty"` + PeerId string `protobuf:"bytes,3,opt,name=peer_id,json=peerId,proto3" json:"peer_id,omitempty"` + Signature []byte `protobuf:"bytes,4,opt,name=signature,proto3" json:"signature,omitempty"` unknownFields protoimpl.UnknownFields - - Duty *Duty `protobuf:"bytes,1,opt,name=duty,proto3" json:"duty,omitempty"` - Topics []*PriorityTopicProposal `protobuf:"bytes,2,rep,name=topics,proto3" json:"topics,omitempty"` - PeerId string `protobuf:"bytes,3,opt,name=peer_id,json=peerId,proto3" json:"peer_id,omitempty"` - Signature []byte `protobuf:"bytes,4,opt,name=signature,proto3" json:"signature,omitempty"` + sizeCache protoimpl.SizeCache } func (x *PriorityMsg) Reset() { @@ -147,12 +145,11 @@ func (x *PriorityMsg) GetSignature() []byte { // PriorityTopicProposal defines a single peers proposed priorities for a single topic in the Prioritiser protocol. type PriorityTopicProposal struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Topic *anypb.Any `protobuf:"bytes,1,opt,name=topic,proto3" json:"topic,omitempty"` + Priorities []*anypb.Any `protobuf:"bytes,2,rep,name=priorities,proto3" json:"priorities,omitempty"` unknownFields protoimpl.UnknownFields - - Topic *anypb.Any `protobuf:"bytes,1,opt,name=topic,proto3" json:"topic,omitempty"` - Priorities []*anypb.Any `protobuf:"bytes,2,rep,name=priorities,proto3" json:"priorities,omitempty"` + sizeCache protoimpl.SizeCache } func (x *PriorityTopicProposal) Reset() { @@ -202,13 +199,12 @@ func (x *PriorityTopicProposal) GetPriorities() []*anypb.Any { // PriorityTopicResult defines the cluster wide resulting priorities for a // single topic in the Prioritiser protocol. type PriorityTopicResult struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Topic *anypb.Any `protobuf:"bytes,1,opt,name=topic,proto3" json:"topic,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + Topic *anypb.Any `protobuf:"bytes,1,opt,name=topic,proto3" json:"topic,omitempty"` // priorities are ordered by decreasing score, ties are broken by peer with lowest peer ID. - Priorities []*PriorityScoredResult `protobuf:"bytes,2,rep,name=priorities,proto3" json:"priorities,omitempty"` + Priorities []*PriorityScoredResult `protobuf:"bytes,2,rep,name=priorities,proto3" json:"priorities,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *PriorityTopicResult) Reset() { @@ -257,12 +253,11 @@ func (x *PriorityTopicResult) GetPriorities() []*PriorityScoredResult { // PriorityScoredResult defines the cluster wide priority score in the Prioritiser protocol. type PriorityScoredResult struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Priority *anypb.Any `protobuf:"bytes,1,opt,name=priority,proto3" json:"priority,omitempty"` + Score int64 `protobuf:"varint,2,opt,name=score,proto3" json:"score,omitempty"` unknownFields protoimpl.UnknownFields - - Priority *anypb.Any `protobuf:"bytes,1,opt,name=priority,proto3" json:"priority,omitempty"` - Score int64 `protobuf:"varint,2,opt,name=score,proto3" json:"score,omitempty"` + sizeCache protoimpl.SizeCache } func (x *PriorityScoredResult) Reset() { diff --git a/dkg/dkgpb/v1/bcast.pb.go b/dkg/dkgpb/v1/bcast.pb.go index 1f8063c3e1..ad6ded2e52 100644 --- a/dkg/dkgpb/v1/bcast.pb.go +++ b/dkg/dkgpb/v1/bcast.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.35.2 +// protoc-gen-go v1.36.1 // protoc (unknown) // source: dkg/dkgpb/v1/bcast.proto @@ -22,12 +22,11 @@ const ( ) type BCastSigRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + Message *anypb.Any `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"` unknownFields protoimpl.UnknownFields - - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - Message *anypb.Any `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"` + sizeCache protoimpl.SizeCache } func (x *BCastSigRequest) Reset() { @@ -75,12 +74,11 @@ func (x *BCastSigRequest) GetMessage() *anypb.Any { } type BCastSigResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + Signature []byte `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"` unknownFields protoimpl.UnknownFields - - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - Signature []byte `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"` + sizeCache protoimpl.SizeCache } func (x *BCastSigResponse) Reset() { @@ -128,13 +126,12 @@ func (x *BCastSigResponse) GetSignature() []byte { } type BCastMessage struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + Message *anypb.Any `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` + Signatures [][]byte `protobuf:"bytes,3,rep,name=signatures,proto3" json:"signatures,omitempty"` unknownFields protoimpl.UnknownFields - - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - Message *anypb.Any `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` - Signatures [][]byte `protobuf:"bytes,3,rep,name=signatures,proto3" json:"signatures,omitempty"` + sizeCache protoimpl.SizeCache } func (x *BCastMessage) Reset() { diff --git a/dkg/dkgpb/v1/frost.pb.go b/dkg/dkgpb/v1/frost.pb.go index 3a5f6d52e5..8d46adc4c8 100644 --- a/dkg/dkgpb/v1/frost.pb.go +++ b/dkg/dkgpb/v1/frost.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.35.2 +// protoc-gen-go v1.36.1 // protoc (unknown) // source: dkg/dkgpb/v1/frost.proto @@ -21,13 +21,12 @@ const ( ) type FrostMsgKey struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + ValIdx uint32 `protobuf:"varint,1,opt,name=val_idx,json=valIdx,proto3" json:"val_idx,omitempty"` + SourceId uint32 `protobuf:"varint,2,opt,name=source_id,json=sourceId,proto3" json:"source_id,omitempty"` + TargetId uint32 `protobuf:"varint,3,opt,name=target_id,json=targetId,proto3" json:"target_id,omitempty"` unknownFields protoimpl.UnknownFields - - ValIdx uint32 `protobuf:"varint,1,opt,name=val_idx,json=valIdx,proto3" json:"val_idx,omitempty"` - SourceId uint32 `protobuf:"varint,2,opt,name=source_id,json=sourceId,proto3" json:"source_id,omitempty"` - TargetId uint32 `protobuf:"varint,3,opt,name=target_id,json=targetId,proto3" json:"target_id,omitempty"` + sizeCache protoimpl.SizeCache } func (x *FrostMsgKey) Reset() { @@ -82,11 +81,10 @@ func (x *FrostMsgKey) GetTargetId() uint32 { } type FrostRound1Casts struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Casts []*FrostRound1Cast `protobuf:"bytes,1,rep,name=casts,proto3" json:"casts,omitempty"` // One per validator unknownFields protoimpl.UnknownFields - - Casts []*FrostRound1Cast `protobuf:"bytes,1,rep,name=casts,proto3" json:"casts,omitempty"` // One per validator + sizeCache protoimpl.SizeCache } func (x *FrostRound1Casts) Reset() { @@ -127,14 +125,13 @@ func (x *FrostRound1Casts) GetCasts() []*FrostRound1Cast { } type FrostRound1Cast struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Key *FrostMsgKey `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` + Wi []byte `protobuf:"bytes,2,opt,name=wi,proto3" json:"wi,omitempty"` + Ci []byte `protobuf:"bytes,3,opt,name=ci,proto3" json:"ci,omitempty"` + Commitments [][]byte `protobuf:"bytes,4,rep,name=commitments,proto3" json:"commitments,omitempty"` unknownFields protoimpl.UnknownFields - - Key *FrostMsgKey `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` - Wi []byte `protobuf:"bytes,2,opt,name=wi,proto3" json:"wi,omitempty"` - Ci []byte `protobuf:"bytes,3,opt,name=ci,proto3" json:"ci,omitempty"` - Commitments [][]byte `protobuf:"bytes,4,rep,name=commitments,proto3" json:"commitments,omitempty"` + sizeCache protoimpl.SizeCache } func (x *FrostRound1Cast) Reset() { @@ -196,11 +193,10 @@ func (x *FrostRound1Cast) GetCommitments() [][]byte { } type FrostRound1P2P struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Shares []*FrostRound1ShamirShare `protobuf:"bytes,1,rep,name=shares,proto3" json:"shares,omitempty"` // One per validator unknownFields protoimpl.UnknownFields - - Shares []*FrostRound1ShamirShare `protobuf:"bytes,1,rep,name=shares,proto3" json:"shares,omitempty"` // One per validator + sizeCache protoimpl.SizeCache } func (x *FrostRound1P2P) Reset() { @@ -241,13 +237,12 @@ func (x *FrostRound1P2P) GetShares() []*FrostRound1ShamirShare { } type FrostRound1ShamirShare struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Key *FrostMsgKey `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` + Id uint32 `protobuf:"varint,2,opt,name=id,proto3" json:"id,omitempty"` + Value []byte `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"` unknownFields protoimpl.UnknownFields - - Key *FrostMsgKey `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` - Id uint32 `protobuf:"varint,2,opt,name=id,proto3" json:"id,omitempty"` - Value []byte `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"` + sizeCache protoimpl.SizeCache } func (x *FrostRound1ShamirShare) Reset() { @@ -302,11 +297,10 @@ func (x *FrostRound1ShamirShare) GetValue() []byte { } type FrostRound2Casts struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Casts []*FrostRound2Cast `protobuf:"bytes,1,rep,name=casts,proto3" json:"casts,omitempty"` // One per validator unknownFields protoimpl.UnknownFields - - Casts []*FrostRound2Cast `protobuf:"bytes,1,rep,name=casts,proto3" json:"casts,omitempty"` // One per validator + sizeCache protoimpl.SizeCache } func (x *FrostRound2Casts) Reset() { @@ -347,13 +341,12 @@ func (x *FrostRound2Casts) GetCasts() []*FrostRound2Cast { } type FrostRound2Cast struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Key *FrostMsgKey `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` - VerificationKey []byte `protobuf:"bytes,2,opt,name=verification_key,json=verificationKey,proto3" json:"verification_key,omitempty"` - VkShare []byte `protobuf:"bytes,3,opt,name=vk_share,json=vkShare,proto3" json:"vk_share,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + Key *FrostMsgKey `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` + VerificationKey []byte `protobuf:"bytes,2,opt,name=verification_key,json=verificationKey,proto3" json:"verification_key,omitempty"` + VkShare []byte `protobuf:"bytes,3,opt,name=vk_share,json=vkShare,proto3" json:"vk_share,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *FrostRound2Cast) Reset() { diff --git a/dkg/dkgpb/v1/nodesigs.pb.go b/dkg/dkgpb/v1/nodesigs.pb.go index f6ac5a1e65..ae980ab791 100644 --- a/dkg/dkgpb/v1/nodesigs.pb.go +++ b/dkg/dkgpb/v1/nodesigs.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.35.2 +// protoc-gen-go v1.36.1 // protoc (unknown) // source: dkg/dkgpb/v1/nodesigs.proto @@ -21,12 +21,11 @@ const ( ) type MsgNodeSig struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Signature []byte `protobuf:"bytes,1,opt,name=signature,proto3" json:"signature,omitempty"` + PeerIndex uint32 `protobuf:"varint,2,opt,name=peer_index,json=peerIndex,proto3" json:"peer_index,omitempty"` unknownFields protoimpl.UnknownFields - - Signature []byte `protobuf:"bytes,1,opt,name=signature,proto3" json:"signature,omitempty"` - PeerIndex uint32 `protobuf:"varint,2,opt,name=peer_index,json=peerIndex,proto3" json:"peer_index,omitempty"` + sizeCache protoimpl.SizeCache } func (x *MsgNodeSig) Reset() { diff --git a/dkg/dkgpb/v1/sync.pb.go b/dkg/dkgpb/v1/sync.pb.go index e6218b0509..217cec3578 100644 --- a/dkg/dkgpb/v1/sync.pb.go +++ b/dkg/dkgpb/v1/sync.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.35.2 +// protoc-gen-go v1.36.1 // protoc (unknown) // source: dkg/dkgpb/v1/sync.proto @@ -22,15 +22,14 @@ const ( ) type MsgSync struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` Timestamp *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"` HashSignature []byte `protobuf:"bytes,2,opt,name=hash_signature,json=hashSignature,proto3" json:"hash_signature,omitempty"` Shutdown bool `protobuf:"varint,3,opt,name=shutdown,proto3" json:"shutdown,omitempty"` Version string `protobuf:"bytes,4,opt,name=version,proto3" json:"version,omitempty"` Step int64 `protobuf:"varint,5,opt,name=step,proto3" json:"step,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *MsgSync) Reset() { @@ -99,12 +98,11 @@ func (x *MsgSync) GetStep() int64 { } type MsgSyncResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` SyncTimestamp *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=sync_timestamp,json=syncTimestamp,proto3" json:"sync_timestamp,omitempty"` Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *MsgSyncResponse) Reset() { From 0952462b80078a90358507a1522b4fd0153983ef Mon Sep 17 00:00:00 2001 From: Kaloyan Tanev Date: Tue, 7 Jan 2025 16:23:05 +0200 Subject: [PATCH 2/2] Bump protobuf to 1.36.2 --- app/log/loki/lokipb/v1/loki.pb.go | 2 +- app/peerinfo/peerinfopb/v1/peerinfo.pb.go | 2 +- app/protonil/testdata/v1/test.pb.go | 2 +- cluster/manifestpb/v1/manifest.pb.go | 2 +- core/corepb/v1/consensus.pb.go | 2 +- core/corepb/v1/core.pb.go | 2 +- core/corepb/v1/parsigex.pb.go | 2 +- core/corepb/v1/priority.pb.go | 2 +- dkg/dkgpb/v1/bcast.pb.go | 2 +- dkg/dkgpb/v1/frost.pb.go | 2 +- dkg/dkgpb/v1/nodesigs.pb.go | 2 +- dkg/dkgpb/v1/sync.pb.go | 2 +- 12 files changed, 12 insertions(+), 12 deletions(-) diff --git a/app/log/loki/lokipb/v1/loki.pb.go b/app/log/loki/lokipb/v1/loki.pb.go index 584f0ee28e..fa4d0aef0c 100644 --- a/app/log/loki/lokipb/v1/loki.pb.go +++ b/app/log/loki/lokipb/v1/loki.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.1 +// protoc-gen-go v1.36.2 // protoc (unknown) // source: app/log/loki/lokipb/v1/loki.proto diff --git a/app/peerinfo/peerinfopb/v1/peerinfo.pb.go b/app/peerinfo/peerinfopb/v1/peerinfo.pb.go index 93559344d1..09d3f61167 100644 --- a/app/peerinfo/peerinfopb/v1/peerinfo.pb.go +++ b/app/peerinfo/peerinfopb/v1/peerinfo.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.1 +// protoc-gen-go v1.36.2 // protoc (unknown) // source: app/peerinfo/peerinfopb/v1/peerinfo.proto diff --git a/app/protonil/testdata/v1/test.pb.go b/app/protonil/testdata/v1/test.pb.go index 9f9ae55be1..e92940b125 100644 --- a/app/protonil/testdata/v1/test.pb.go +++ b/app/protonil/testdata/v1/test.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.1 +// protoc-gen-go v1.36.2 // protoc (unknown) // source: app/protonil/testdata/v1/test.proto diff --git a/cluster/manifestpb/v1/manifest.pb.go b/cluster/manifestpb/v1/manifest.pb.go index 73bf8256d8..f2b05b4eed 100644 --- a/cluster/manifestpb/v1/manifest.pb.go +++ b/cluster/manifestpb/v1/manifest.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.1 +// protoc-gen-go v1.36.2 // protoc (unknown) // source: cluster/manifestpb/v1/manifest.proto diff --git a/core/corepb/v1/consensus.pb.go b/core/corepb/v1/consensus.pb.go index b87ce3891f..d0fa47760f 100644 --- a/core/corepb/v1/consensus.pb.go +++ b/core/corepb/v1/consensus.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.1 +// protoc-gen-go v1.36.2 // protoc (unknown) // source: core/corepb/v1/consensus.proto diff --git a/core/corepb/v1/core.pb.go b/core/corepb/v1/core.pb.go index 478ddde453..27883ab081 100644 --- a/core/corepb/v1/core.pb.go +++ b/core/corepb/v1/core.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.1 +// protoc-gen-go v1.36.2 // protoc (unknown) // source: core/corepb/v1/core.proto diff --git a/core/corepb/v1/parsigex.pb.go b/core/corepb/v1/parsigex.pb.go index 28f5251d32..8a288da0c6 100644 --- a/core/corepb/v1/parsigex.pb.go +++ b/core/corepb/v1/parsigex.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.1 +// protoc-gen-go v1.36.2 // protoc (unknown) // source: core/corepb/v1/parsigex.proto diff --git a/core/corepb/v1/priority.pb.go b/core/corepb/v1/priority.pb.go index 597c6561b3..b1f3b33022 100644 --- a/core/corepb/v1/priority.pb.go +++ b/core/corepb/v1/priority.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.1 +// protoc-gen-go v1.36.2 // protoc (unknown) // source: core/corepb/v1/priority.proto diff --git a/dkg/dkgpb/v1/bcast.pb.go b/dkg/dkgpb/v1/bcast.pb.go index ad6ded2e52..4e2ab8bce0 100644 --- a/dkg/dkgpb/v1/bcast.pb.go +++ b/dkg/dkgpb/v1/bcast.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.1 +// protoc-gen-go v1.36.2 // protoc (unknown) // source: dkg/dkgpb/v1/bcast.proto diff --git a/dkg/dkgpb/v1/frost.pb.go b/dkg/dkgpb/v1/frost.pb.go index 8d46adc4c8..7e121d1abe 100644 --- a/dkg/dkgpb/v1/frost.pb.go +++ b/dkg/dkgpb/v1/frost.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.1 +// protoc-gen-go v1.36.2 // protoc (unknown) // source: dkg/dkgpb/v1/frost.proto diff --git a/dkg/dkgpb/v1/nodesigs.pb.go b/dkg/dkgpb/v1/nodesigs.pb.go index ae980ab791..743fd6f717 100644 --- a/dkg/dkgpb/v1/nodesigs.pb.go +++ b/dkg/dkgpb/v1/nodesigs.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.1 +// protoc-gen-go v1.36.2 // protoc (unknown) // source: dkg/dkgpb/v1/nodesigs.proto diff --git a/dkg/dkgpb/v1/sync.pb.go b/dkg/dkgpb/v1/sync.pb.go index 217cec3578..36497cc46c 100644 --- a/dkg/dkgpb/v1/sync.pb.go +++ b/dkg/dkgpb/v1/sync.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.1 +// protoc-gen-go v1.36.2 // protoc (unknown) // source: dkg/dkgpb/v1/sync.proto