chore: proto image migrate to ghcr (#13168)

This commit is contained in:
Marko
2022-09-07 12:03:00 +00:00
committed by GitHub
parent 4a07259ff4
commit 1ad3b29560
30 changed files with 643 additions and 599 deletions
+4 -4
View File
@@ -1715,10 +1715,10 @@ type PackageReference struct {
// with pinned file descriptors to make sure there are no incompatible changes.
//
// This behavior ensures that:
// * pinned proto images are up-to-date
// * protobuf files are carefully annotated with revision comments which
// are important good client UX
// * protobuf files are changed in backwards and forwards compatible ways
// - pinned proto images are up-to-date
// - protobuf files are carefully annotated with revision comments which
// are important good client UX
// - protobuf files are changed in backwards and forwards compatible ways
Revision uint32 `protobuf:"varint,2,opt,name=revision,proto3" json:"revision,omitempty"`
}
@@ -1124,10 +1124,10 @@ const (
// PageRequest is to be embedded in gRPC request messages for efficient
// pagination. Ex:
//
// message SomeRequest {
// Foo some_parameter = 1;
// PageRequest pagination = 2;
// }
// message SomeRequest {
// Foo some_parameter = 1;
// PageRequest pagination = 2;
// }
type PageRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@@ -1213,10 +1213,10 @@ func (x *PageRequest) GetReverse() bool {
// PageResponse is to be embedded in gRPC response messages where the
// corresponding request message has used PageRequest.
//
// message SomeResponse {
// repeated Bar results = 1;
// PageResponse page = 2;
// }
// message SomeResponse {
// repeated Bar results = 1;
// PageResponse page = 2;
// }
type PageResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@@ -5122,6 +5122,7 @@ type SnapshotItem struct {
// item is the specific type of snapshot item.
//
// Types that are assignable to Item:
//
// *SnapshotItem_Store
// *SnapshotItem_Iavl
// *SnapshotItem_Extension
@@ -2554,6 +2554,7 @@ type Record struct {
// Record contains one of the following items
//
// Types that are assignable to Item:
//
// *Record_Local_
// *Record_Ledger_
// *Record_Multi_
@@ -6668,11 +6668,12 @@ func (x *Params) GetWithdrawAddrEnabled() bool {
// The reference count indicates the number of objects
// which might need to reference this historical entry at any point.
// ReferenceCount =
// number of outstanding delegations which ended the associated period (and
// might need to read that record)
// + number of slashes which ended the associated period (and might need to
// read that record)
// + one per validator for the zeroeth period, set on initialization
//
// number of outstanding delegations which ended the associated period (and
// might need to read that record)
// + number of slashes which ended the associated period (and might need to
// read that record)
// + one per validator for the zeroeth period, set on initialization
type ValidatorHistoricalRewards struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
+19 -19
View File
@@ -6508,10 +6508,10 @@ type DepositParams struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// Minimum deposit for a proposal to enter voting period.
// Minimum deposit for a proposal to enter voting period.
MinDeposit []*v1beta1.Coin `protobuf:"bytes,1,rep,name=min_deposit,json=minDeposit,proto3" json:"min_deposit,omitempty"`
// Maximum period for Atom holders to deposit on a proposal. Initial value: 2
// months.
// Maximum period for Atom holders to deposit on a proposal. Initial value: 2
// months.
MaxDepositPeriod *durationpb.Duration `protobuf:"bytes,2,opt,name=max_deposit_period,json=maxDepositPeriod,proto3" json:"max_deposit_period,omitempty"`
}
@@ -6555,7 +6555,7 @@ type VotingParams struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// Length of the voting period.
// Length of the voting period.
VotingPeriod *durationpb.Duration `protobuf:"bytes,1,opt,name=voting_period,json=votingPeriod,proto3" json:"voting_period,omitempty"`
}
@@ -6592,13 +6592,13 @@ type TallyParams struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// Minimum percentage of total stake needed to vote for a result to be
// considered valid.
// Minimum percentage of total stake needed to vote for a result to be
// considered valid.
Quorum string `protobuf:"bytes,1,opt,name=quorum,proto3" json:"quorum,omitempty"`
// Minimum proportion of Yes votes for proposal to pass. Default value: 0.5.
// Minimum proportion of Yes votes for proposal to pass. Default value: 0.5.
Threshold string `protobuf:"bytes,2,opt,name=threshold,proto3" json:"threshold,omitempty"`
// Minimum value of Veto votes to Total votes ratio for proposal to be
// vetoed. Default value: 1/3.
// Minimum value of Veto votes to Total votes ratio for proposal to be
// vetoed. Default value: 1/3.
VetoThreshold string `protobuf:"bytes,3,opt,name=veto_threshold,json=vetoThreshold,proto3" json:"veto_threshold,omitempty"`
}
@@ -6651,22 +6651,22 @@ type Params struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// Minimum deposit for a proposal to enter voting period.
// Minimum deposit for a proposal to enter voting period.
MinDeposit []*v1beta1.Coin `protobuf:"bytes,1,rep,name=min_deposit,json=minDeposit,proto3" json:"min_deposit,omitempty"`
// Maximum period for Atom holders to deposit on a proposal. Initial value: 2
// months.
// Maximum period for Atom holders to deposit on a proposal. Initial value: 2
// months.
MaxDepositPeriod *durationpb.Duration `protobuf:"bytes,2,opt,name=max_deposit_period,json=maxDepositPeriod,proto3" json:"max_deposit_period,omitempty"`
// Length of the voting period.
// Length of the voting period.
VotingPeriod *durationpb.Duration `protobuf:"bytes,3,opt,name=voting_period,json=votingPeriod,proto3" json:"voting_period,omitempty"`
// Minimum percentage of total stake needed to vote for a result to be
// considered valid.
// Minimum percentage of total stake needed to vote for a result to be
// considered valid.
Quorum string `protobuf:"bytes,4,opt,name=quorum,proto3" json:"quorum,omitempty"`
// Minimum proportion of Yes votes for proposal to pass. Default value: 0.5.
// Minimum proportion of Yes votes for proposal to pass. Default value: 0.5.
Threshold string `protobuf:"bytes,5,opt,name=threshold,proto3" json:"threshold,omitempty"`
// Minimum value of Veto votes to Total votes ratio for proposal to be
// vetoed. Default value: 1/3.
// Minimum value of Veto votes to Total votes ratio for proposal to be
// vetoed. Default value: 1/3.
VetoThreshold string `protobuf:"bytes,6,opt,name=veto_threshold,json=vetoThreshold,proto3" json:"veto_threshold,omitempty"`
// The ratio representing the proportion of the deposit value that must be paid at proposal submission.
// The ratio representing the proportion of the deposit value that must be paid at proposal submission.
MinInitialDepositRatio string `protobuf:"bytes,7,opt,name=min_initial_deposit_ratio,json=minInitialDepositRatio,proto3" json:"min_initial_deposit_ratio,omitempty"`
}
+9 -9
View File
@@ -5993,10 +5993,10 @@ type DepositParams struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// Minimum deposit for a proposal to enter voting period.
// Minimum deposit for a proposal to enter voting period.
MinDeposit []*v1beta1.Coin `protobuf:"bytes,1,rep,name=min_deposit,json=minDeposit,proto3" json:"min_deposit,omitempty"`
// Maximum period for Atom holders to deposit on a proposal. Initial value: 2
// months.
// Maximum period for Atom holders to deposit on a proposal. Initial value: 2
// months.
MaxDepositPeriod *durationpb.Duration `protobuf:"bytes,2,opt,name=max_deposit_period,json=maxDepositPeriod,proto3" json:"max_deposit_period,omitempty"`
}
@@ -6040,7 +6040,7 @@ type VotingParams struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// Length of the voting period.
// Length of the voting period.
VotingPeriod *durationpb.Duration `protobuf:"bytes,1,opt,name=voting_period,json=votingPeriod,proto3" json:"voting_period,omitempty"`
}
@@ -6077,13 +6077,13 @@ type TallyParams struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// Minimum percentage of total stake needed to vote for a result to be
// considered valid.
// Minimum percentage of total stake needed to vote for a result to be
// considered valid.
Quorum []byte `protobuf:"bytes,1,opt,name=quorum,proto3" json:"quorum,omitempty"`
// Minimum proportion of Yes votes for proposal to pass. Default value: 0.5.
// Minimum proportion of Yes votes for proposal to pass. Default value: 0.5.
Threshold []byte `protobuf:"bytes,2,opt,name=threshold,proto3" json:"threshold,omitempty"`
// Minimum value of Veto votes to Total votes ratio for proposal to be
// vetoed. Default value: 1/3.
// Minimum value of Veto votes to Total votes ratio for proposal to be
// vetoed. Default value: 1/3.
VetoThreshold []byte `protobuf:"bytes,3,opt,name=veto_threshold,json=vetoThreshold,proto3" json:"veto_threshold,omitempty"`
}
+8 -8
View File
@@ -7533,10 +7533,10 @@ func (x *MemberRequest) GetMetadata() string {
// ThresholdDecisionPolicy is a decision policy where a proposal passes when it
// satisfies the two following conditions:
// 1. The sum of all `YES` voters' weights is greater or equal than the defined
// `threshold`.
// 2. The voting and execution periods of the proposal respect the parameters
// given by `windows`.
// 1. The sum of all `YES` voters' weights is greater or equal than the defined
// `threshold`.
// 2. The voting and execution periods of the proposal respect the parameters
// given by `windows`.
type ThresholdDecisionPolicy struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@@ -7585,10 +7585,10 @@ func (x *ThresholdDecisionPolicy) GetWindows() *DecisionPolicyWindows {
// PercentageDecisionPolicy is a decision policy where a proposal passes when
// it satisfies the two following conditions:
// 1. The percentage of all `YES` voters' weights out of the total group weight
// is greater or equal than the given `percentage`.
// 2. The voting and execution periods of the proposal respect the parameters
// given by `windows`.
// 1. The percentage of all `YES` voters' weights out of the total group weight
// is greater or equal than the given `percentage`.
// 2. The voting and execution periods of the proposal respect the parameters
// given by `windows`.
type PercentageDecisionPolicy struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@@ -4697,6 +4697,7 @@ type ListRequest struct {
// in the index.
//
// Types that are assignable to Query:
//
// *ListRequest_Prefix_
// *ListRequest_Range_
Query isListRequest_Query `protobuf_oneof:"query"`
@@ -4839,6 +4840,7 @@ type IndexValue struct {
// value specifies the index value
//
// Types that are assignable to Value:
//
// *IndexValue_Uint
// *IndexValue_Int
// *IndexValue_Str
+8 -8
View File
@@ -2120,19 +2120,19 @@ type PrimaryKeyDescriptor struct {
// is suitable for sorted iteration (not varint encoding). This type is
// well-suited for small integers such as auto-incrementing sequences.
// - fixed32, fixed64 are encoded as big-endian fixed width bytes and support
// sorted iteration. These types are well-suited for encoding fixed with
// decimals as integers.
// sorted iteration. These types are well-suited for encoding fixed with
// decimals as integers.
// - string's are encoded as raw bytes in terminal key segments and null-terminated
// in non-terminal segments. Null characters are thus forbidden in strings.
// string fields support sorted iteration.
// in non-terminal segments. Null characters are thus forbidden in strings.
// string fields support sorted iteration.
// - bytes are encoded as raw bytes in terminal segments and length-prefixed
// with a 32-bit unsigned varint in non-terminal segments.
// with a 32-bit unsigned varint in non-terminal segments.
// - int32, sint32, int64, sint64, sfixed32, sfixed64 are encoded as fixed width bytes with
// an encoding that enables sorted iteration.
// an encoding that enables sorted iteration.
// - google.protobuf.Timestamp and google.protobuf.Duration are encoded
// as 12 bytes using an encoding that enables sorted iteration.
// as 12 bytes using an encoding that enables sorted iteration.
// - enum fields are encoded using varint encoding and do not support sorted
// iteration.
// iteration.
// - bool fields are encoded as a single byte 0 or 1.
//
// All other fields types are unsupported in keys including repeated and
@@ -1286,6 +1286,7 @@ type StakeAuthorization struct {
// validators is the oneof that represents either allow_list or deny_list
//
// Types that are assignable to Validators:
//
// *StakeAuthorization_AllowList
// *StakeAuthorization_DenyList
Validators isStakeAuthorization_Validators `protobuf_oneof:"validators"`
@@ -2900,6 +2900,7 @@ type SignatureDescriptor_Data struct {
// sum is the oneof that specifies whether this represents single or multi-signature data
//
// Types that are assignable to Sum:
//
// *SignatureDescriptor_Data_Single_
// *SignatureDescriptor_Data_Multi_
Sum isSignatureDescriptor_Data_Sum `protobuf_oneof:"sum"`
+1
View File
@@ -8623,6 +8623,7 @@ type ModeInfo struct {
// multisig signer
//
// Types that are assignable to Sum:
//
// *ModeInfo_Single_
// *ModeInfo_Multi_
Sum isModeInfo_Sum `protobuf_oneof:"sum"`
+2
View File
@@ -27173,6 +27173,7 @@ type Request struct {
unknownFields protoimpl.UnknownFields
// Types that are assignable to Value:
//
// *Request_Echo
// *Request_Flush
// *Request_Info
@@ -28086,6 +28087,7 @@ type Response struct {
unknownFields protoimpl.UnknownFields
// Types that are assignable to Value:
//
// *Response_Exception
// *Response_Echo
// *Response_Flush
+1
View File
@@ -563,6 +563,7 @@ type PublicKey struct {
unknownFields protoimpl.UnknownFields
// Types that are assignable to Sum:
//
// *PublicKey_Ed25519
// *PublicKey_Secp256K1
Sum isPublicKey_Sum `protobuf_oneof:"sum"`
+1
View File
@@ -2542,6 +2542,7 @@ type Evidence struct {
unknownFields protoimpl.UnknownFields
// Types that are assignable to Sum:
//
// *Evidence_DuplicateVoteEvidence
// *Evidence_LightClientAttackEvidence
Sum isEvidence_Sum `protobuf_oneof:"sum"`