chore(proto): fix comments (#20679)

Co-authored-by: Julien Robert <julien@rbrt.fr>
This commit is contained in:
winniehere 2024-06-17 16:32:06 +08:00 committed by GitHub
parent 9ab7d397bb
commit 1ed018afa8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 5 additions and 5 deletions

View File

@ -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

View File

@ -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).

View File

@ -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.

View File

@ -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).

View File

@ -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).