diff --git a/client/docs/swagger-ui/swagger.yaml b/client/docs/swagger-ui/swagger.yaml index c5f9adf0dc..90b0b3f228 100644 --- a/client/docs/swagger-ui/swagger.yaml +++ b/client/docs/swagger-ui/swagger.yaml @@ -231,7 +231,7 @@ paths: auto_contract: type: string title: >- - ContractByDenomRequest is the response type of ContractByDenom + ContractByDenomResponse is the response type of ContractByDenom call default: description: An unexpected error response. @@ -48065,7 +48065,7 @@ definitions: type: string auto_contract: type: string - title: ContractByDenomRequest is the response type of ContractByDenom call + title: ContractByDenomResponse is the response type of ContractByDenom call cronos.DenomByContractResponse: type: object properties: diff --git a/proto/cronos/query.proto b/proto/cronos/query.proto index cfe8bd7f30..f8b48546a7 100644 --- a/proto/cronos/query.proto +++ b/proto/cronos/query.proto @@ -52,7 +52,7 @@ message ContractByDenomRequest { string denom = 1; } -// ContractByDenomRequest is the response type of ContractByDenom call +// ContractByDenomResponse is the response type of ContractByDenom call message ContractByDenomResponse { string contract = 1; string auto_contract = 2; diff --git a/x/cronos/types/query.pb.go b/x/cronos/types/query.pb.go index 92d67d9067..67aeaed428 100644 --- a/x/cronos/types/query.pb.go +++ b/x/cronos/types/query.pb.go @@ -72,7 +72,7 @@ func (m *ContractByDenomRequest) XXX_DiscardUnknown() { var xxx_messageInfo_ContractByDenomRequest proto.InternalMessageInfo -// ContractByDenomRequest is the response type of ContractByDenom call +// ContractByDenomResponse is the response type of ContractByDenom call type ContractByDenomResponse struct { Contract string `protobuf:"bytes,1,opt,name=contract,proto3" json:"contract,omitempty"` AutoContract string `protobuf:"bytes,2,opt,name=auto_contract,json=autoContract,proto3" json:"auto_contract,omitempty"`