From e1ee1102a31cd7a0ce2c57891a0b994d8c7a98db Mon Sep 17 00:00:00 2001 From: Gurjot Date: Wed, 26 Apr 2023 18:32:40 +0530 Subject: [PATCH] typo --- client/docs/swagger-ui/swagger.yaml | 4 ++-- proto/babylon/zoneconcierge/v1/query.proto | 4 ++-- x/zoneconcierge/client/cli/query.go | 4 ---- x/zoneconcierge/types/query.pb.go | 4 ++-- 4 files changed, 6 insertions(+), 10 deletions(-) diff --git a/client/docs/swagger-ui/swagger.yaml b/client/docs/swagger-ui/swagger.yaml index aa2264367..7ded4d2d7 100644 --- a/client/docs/swagger-ui/swagger.yaml +++ b/client/docs/swagger-ui/swagger.yaml @@ -7081,7 +7081,7 @@ paths: canonical chain title: ChainInfo is the information of a CZ description: >- - QueryChainsInfoResponse is response type for the Query/ChainInfo + QueryChainsInfoResponse is response type for the Query/ChainsInfo RPC method. default: description: An unexpected error response. @@ -16039,7 +16039,7 @@ definitions: canonical chain title: ChainInfo is the information of a CZ description: >- - QueryChainsInfoResponse is response type for the Query/ChainInfo RPC + QueryChainsInfoResponse is response type for the Query/ChainsInfo RPC method. babylon.zoneconcierge.v1.QueryEpochChainInfoResponse: type: object diff --git a/proto/babylon/zoneconcierge/v1/query.proto b/proto/babylon/zoneconcierge/v1/query.proto index ac2a3e3db..0a33dea00 100644 --- a/proto/babylon/zoneconcierge/v1/query.proto +++ b/proto/babylon/zoneconcierge/v1/query.proto @@ -88,10 +88,10 @@ message QueryChainListResponse { cosmos.base.query.v1beta1.PageResponse pagination = 2; } -// QueryChainsInfoRequest is request type for the Query/ChainInfo RPC method. +// QueryChainsInfoRequest is request type for the Query/ChainsInfo RPC method. message QueryChainsInfoRequest { repeated string chain_ids = 1; } -// QueryChainsInfoResponse is response type for the Query/ChainInfo RPC method. +// QueryChainsInfoResponse is response type for the Query/ChainsInfo RPC method. message QueryChainsInfoResponse { repeated babylon.zoneconcierge.v1.ChainInfo chains_info = 1; } diff --git a/x/zoneconcierge/client/cli/query.go b/x/zoneconcierge/client/cli/query.go index 5c9fdd1b8..6744cd407 100644 --- a/x/zoneconcierge/client/cli/query.go +++ b/x/zoneconcierge/client/cli/query.go @@ -4,14 +4,10 @@ import ( "context" "fmt" - // "strings" - "github.com/cosmos/cosmos-sdk/client/flags" "github.com/spf13/cobra" "github.com/cosmos/cosmos-sdk/client" - // "github.com/cosmos/cosmos-sdk/client/flags" - // sdk "github.com/cosmos/cosmos-sdk/types" "github.com/babylonchain/babylon/x/zoneconcierge/types" ) diff --git a/x/zoneconcierge/types/query.pb.go b/x/zoneconcierge/types/query.pb.go index 66e42d8d3..88988b821 100644 --- a/x/zoneconcierge/types/query.pb.go +++ b/x/zoneconcierge/types/query.pb.go @@ -239,7 +239,7 @@ func (m *QueryChainListResponse) GetPagination() *query.PageResponse { return nil } -// QueryChainsInfoRequest is request type for the Query/ChainInfo RPC method. +// QueryChainsInfoRequest is request type for the Query/ChainsInfo RPC method. type QueryChainsInfoRequest struct { ChainIds []string `protobuf:"bytes,1,rep,name=chain_ids,json=chainIds,proto3" json:"chain_ids,omitempty"` } @@ -284,7 +284,7 @@ func (m *QueryChainsInfoRequest) GetChainIds() []string { return nil } -// QueryChainsInfoResponse is response type for the Query/ChainInfo RPC method. +// QueryChainsInfoResponse is response type for the Query/ChainsInfo RPC method. type QueryChainsInfoResponse struct { ChainsInfo []*ChainInfo `protobuf:"bytes,1,rep,name=chains_info,json=chainsInfo,proto3" json:"chains_info,omitempty"` }