Skip to content
This repository has been archived by the owner on Oct 24, 2024. It is now read-only.

Commit

Permalink
rm isRegistrable query
Browse files Browse the repository at this point in the history
  • Loading branch information
taryune committed Nov 2, 2023
1 parent f923a89 commit bd93364
Show file tree
Hide file tree
Showing 7 changed files with 65 additions and 816 deletions.
50 changes: 0 additions & 50 deletions docs/static/openapi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50261,49 +50261,6 @@ paths:
format: uint64
tags:
- Query
/mycel-domain/mycel/registry/is_registrable_domain/{name}/{parent}:
get:
summary: Queries a list of IsRegistrableDomain items.
operationId: MycelRegistryIsRegistrableDomain
responses:
'200':
description: A successful response.
schema:
type: object
properties:
isRegstrable:
type: boolean
errorMessage:
type: string
default:
description: An unexpected error response.
schema:
type: object
properties:
code:
type: integer
format: int32
message:
type: string
details:
type: array
items:
type: object
properties:
'@type':
type: string
additionalProperties: {}
parameters:
- name: name
in: path
required: true
type: string
- name: parent
in: path
required: true
type: string
tags:
- Query
/mycel-domain/mycel/registry/top_level_domain:
get:
operationId: MycelRegistryTopLevelDomainAll
Expand Down Expand Up @@ -81973,13 +81930,6 @@ definitions:
method

signatures required by gogoproto.
mycel.registry.QueryIsRegistrableDomainResponse:
type: object
properties:
isRegstrable:
type: boolean
errorMessage:
type: string
mycel.registry.QueryParamsResponse:
type: object
properties:
Expand Down
17 changes: 0 additions & 17 deletions proto/mycel/registry/query.proto
Original file line number Diff line number Diff line change
Expand Up @@ -57,12 +57,6 @@ service Query {
option (google.api.http).get = "/mycel-domain/mycel/registry/domain_registration_fee/{name}/{parent}";

}

// Queries a list of IsRegistrableDomain items.
rpc IsRegistrableDomain (QueryIsRegistrableDomainRequest) returns (QueryIsRegistrableDomainResponse) {
option (google.api.http).get = "/mycel-domain/mycel/registry/is_registrable_domain/{name}/{parent}";

}
}
// QueryParamsRequest is request type for the Query/Params RPC method.
message QueryParamsRequest {}
Expand Down Expand Up @@ -148,14 +142,3 @@ message QueryDomainRegistrationFeeResponse {
uint64 maxSubDomainRegistrations = 4;
string errorMessage = 5;
}

message QueryIsRegistrableDomainRequest {
string name = 1;
string parent = 2;
}

message QueryIsRegistrableDomainResponse {
bool isRegstrable = 1;
string errorMessage = 2;
}

3 changes: 0 additions & 3 deletions x/registry/client/cli/query.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,6 @@ func GetQueryCmd(queryRoute string) *cobra.Command {
cmd.AddCommand(CmdListDomainOwnership())
cmd.AddCommand(CmdShowDomainOwnership())
cmd.AddCommand(CmdDomainRegistrationFee())

cmd.AddCommand(CmdIsRegistrableDomain())

cmd.AddCommand(CmdListTopLevelDomain())
cmd.AddCommand(CmdShowTopLevelDomain())
// this line is used by starport scaffolding # 1
Expand Down
48 changes: 0 additions & 48 deletions x/registry/client/cli/query_is_registrable_domain.go

This file was deleted.

36 changes: 0 additions & 36 deletions x/registry/keeper/query_is_registrable_domain.go

This file was deleted.

Loading

0 comments on commit bd93364

Please sign in to comment.