From 1ed018afa83a39a623ef3926309a511e61f6748b Mon Sep 17 00:00:00 2001 From: winniehere Date: Mon, 17 Jun 2024 16:32:06 +0800 Subject: [PATCH] chore(proto): fix comments (#20679) Co-authored-by: Julien Robert --- api/cosmos/app/v1alpha1/query.pulsar.go | 2 +- api/cosmos/staking/v1beta1/staking.pulsar.go | 2 +- proto/cosmos/app/v1alpha1/query.proto | 2 +- x/staking/proto/cosmos/staking/v1beta1/staking.proto | 2 +- x/staking/types/staking.pb.go | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/api/cosmos/app/v1alpha1/query.pulsar.go b/api/cosmos/app/v1alpha1/query.pulsar.go index 978824645c58..12bb5b93a7a1 100644 --- a/api/cosmos/app/v1alpha1/query.pulsar.go +++ b/api/cosmos/app/v1alpha1/query.pulsar.go @@ -843,7 +843,7 @@ func (*QueryConfigRequest) Descriptor() ([]byte, []int) { return file_cosmos_app_v1alpha1_query_proto_rawDescGZIP(), []int{0} } -// QueryConfigRequest is the Query/Config response type. +// QueryConfigResponse is the Query/Config response type. type QueryConfigResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache diff --git a/api/cosmos/staking/v1beta1/staking.pulsar.go b/api/cosmos/staking/v1beta1/staking.pulsar.go index bec410e90918..a5bc255e320c 100644 --- a/api/cosmos/staking/v1beta1/staking.pulsar.go +++ b/api/cosmos/staking/v1beta1/staking.pulsar.go @@ -14684,7 +14684,7 @@ func (x *HistoricalInfo) GetValset() []*Validator { return nil } -// Historical contains a set of minimum values needed for evaluating historical validator sets and blocks. +// HistoricalRecord contains a set of minimum values needed for evaluating historical validator sets and blocks. // It is stored as part of staking module's state, which persists the `n` most // recent HistoricalInfo // (`n` is set by the staking module's `historical_entries` parameter). diff --git a/proto/cosmos/app/v1alpha1/query.proto b/proto/cosmos/app/v1alpha1/query.proto index cc611943108b..2a854b18b259 100644 --- a/proto/cosmos/app/v1alpha1/query.proto +++ b/proto/cosmos/app/v1alpha1/query.proto @@ -18,7 +18,7 @@ service Query { // QueryConfigRequest is the Query/Config request type. message QueryConfigRequest {} -// QueryConfigRequest is the Query/Config response type. +// QueryConfigResponse is the Query/Config response type. message QueryConfigResponse { // config is the current app config. diff --git a/x/staking/proto/cosmos/staking/v1beta1/staking.proto b/x/staking/proto/cosmos/staking/v1beta1/staking.proto index 9fa7e58ce57b..48203a8d8e3e 100644 --- a/x/staking/proto/cosmos/staking/v1beta1/staking.proto +++ b/x/staking/proto/cosmos/staking/v1beta1/staking.proto @@ -25,7 +25,7 @@ message HistoricalInfo { repeated Validator valset = 2 [(gogoproto.nullable) = false, (amino.dont_omitempty) = true]; } -// Historical contains a set of minimum values needed for evaluating historical validator sets and blocks. +// HistoricalRecord contains a set of minimum values needed for evaluating historical validator sets and blocks. // It is stored as part of staking module's state, which persists the `n` most // recent HistoricalInfo // (`n` is set by the staking module's `historical_entries` parameter). diff --git a/x/staking/types/staking.pb.go b/x/staking/types/staking.pb.go index edd57d145cc2..1f9adaed0b01 100644 --- a/x/staking/types/staking.pb.go +++ b/x/staking/types/staking.pb.go @@ -166,7 +166,7 @@ func (m *HistoricalInfo) GetValset() []Validator { return nil } -// Historical contains a set of minimum values needed for evaluating historical validator sets and blocks. +// HistoricalRecord contains a set of minimum values needed for evaluating historical validator sets and blocks. // It is stored as part of staking module's state, which persists the `n` most // recent HistoricalInfo // (`n` is set by the staking module's `historical_entries` parameter).