chore: update cosmossdk.io/api mod (#11951)

This commit is contained in:
Aleksandr Bezobchuk 2022-05-12 09:54:43 -04:00 committed by GitHub
parent 3283617cfb
commit e856b01746
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 10 additions and 9 deletions

View File

@ -2192,7 +2192,7 @@ type SecondaryIndexDescriptor struct {
// Index keys are prefixed by the varint encoded table id and the varint
// encoded index id plus any additional prefix specified by the schema.
//
// In addition the the field segments, non-unique index keys are suffixed with
// In addition the field segments, non-unique index keys are suffixed with
// any additional primary key fields not present in the index fields so that the
// primary key can be reconstructed. Unique indexes instead of being suffixed
// store the remaining primary key fields in the value..

View File

@ -13829,7 +13829,7 @@ type QueryValidatorResponse struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// validator defines the the validator info.
// validator defines the validator info.
Validator *Validator `protobuf:"bytes,1,opt,name=validator,proto3" json:"validator,omitempty"`
}
@ -14566,7 +14566,7 @@ type QueryDelegatorValidatorsResponse struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// validators defines the the validators' info of a delegator.
// validators defines the validators' info of a delegator.
Validators []*Validator `protobuf:"bytes,1,rep,name=validators,proto3" json:"validators,omitempty"`
// pagination defines the pagination in the response.
Pagination *v1beta1.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
@ -14660,7 +14660,7 @@ type QueryDelegatorValidatorResponse struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// validator defines the the validator info.
// validator defines the validator info.
Validator *Validator `protobuf:"bytes,1,opt,name=validator,proto3" json:"validator,omitempty"`
}

3
go.mod
View File

@ -3,6 +3,7 @@ go 1.18
module github.com/cosmos/cosmos-sdk
require (
cosmossdk.io/api v0.1.0-alpha8
cosmossdk.io/errors v1.0.0-beta.6
cosmossdk.io/math v1.0.0-beta.2
github.com/99designs/keyring v1.1.6
@ -58,7 +59,6 @@ require (
google.golang.org/protobuf v1.28.0
pgregory.net/rapid v0.4.7
sigs.k8s.io/yaml v1.3.0
cosmossdk.io/api v0.0.0-00010101000000-000000000000
)
require (
@ -151,7 +151,6 @@ require (
)
replace (
cosmossdk.io/api => ./api
github.com/99designs/keyring => github.com/cosmos/keyring v1.1.7-0.20210622111912-ef00f8ac3d76
github.com/cosmos/cosmos-sdk/db => ./db

2
go.sum
View File

@ -69,6 +69,8 @@ cloud.google.com/go/storage v1.14.0 h1:6RRlFMv1omScs6iq2hfE3IvgE+l6RfJPampq8UZc5
cloud.google.com/go/storage v1.14.0/go.mod h1:GrKmX003DSIwi9o29oFT7YDnHYwZoctc3fOKtUw0Xmo=
collectd.org v0.3.0/go.mod h1:A/8DzQBkF6abtvrT2j/AU/4tiBgJWYyh0y/oB/4MlWE=
contrib.go.opencensus.io/exporter/stackdriver v0.13.4/go.mod h1:aXENhDJ1Y4lIg4EUaVTwzvYETVNZk10Pu26tevFKLUc=
cosmossdk.io/api v0.1.0-alpha8 h1:Hr+8bLI4UphF+aMiDIVklrdzRm99dFaNq2inBKGDzNU=
cosmossdk.io/api v0.1.0-alpha8/go.mod h1:gIs3NW5OSNK5wKqxF8JHnGTL82QMsXpwGeKmu2i5xFA=
cosmossdk.io/errors v1.0.0-beta.6 h1:aIn9ZemUfjdgVHNuAgEcKklbOa+ygv6u9gbWOGvzIoU=
cosmossdk.io/errors v1.0.0-beta.6/go.mod h1:mz6FQMJRku4bY7aqS/Gwfcmr/ue91roMEKAmDUDpBfE=
cosmossdk.io/math v1.0.0-beta.2 h1:17hSVc9ne1c31IaLDfjRojtN+y4Rd2N8H/6Fht2sBzw=

View File

@ -189,7 +189,7 @@ func (m *QueryValidatorRequest) GetValidatorAddr() string {
// QueryValidatorResponse is response type for the Query/Validator RPC method
type QueryValidatorResponse struct {
// validator defines the the validator info.
// validator defines the validator info.
Validator Validator `protobuf:"bytes,1,opt,name=validator,proto3" json:"validator"`
}
@ -988,7 +988,7 @@ var xxx_messageInfo_QueryDelegatorValidatorsRequest proto.InternalMessageInfo
// QueryDelegatorValidatorsResponse is response type for the
// Query/DelegatorValidators RPC method.
type QueryDelegatorValidatorsResponse struct {
// validators defines the the validators' info of a delegator.
// validators defines the validators' info of a delegator.
Validators []Validator `protobuf:"bytes,1,rep,name=validators,proto3" json:"validators"`
// pagination defines the pagination in the response.
Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
@ -1086,7 +1086,7 @@ var xxx_messageInfo_QueryDelegatorValidatorRequest proto.InternalMessageInfo
// QueryDelegatorValidatorResponse response type for the
// Query/DelegatorValidator RPC method.
type QueryDelegatorValidatorResponse struct {
// validator defines the the validator info.
// validator defines the validator info.
Validator Validator `protobuf:"bytes,1,opt,name=validator,proto3" json:"validator"`
}