From ed437b0c235fb738a305196cf439b89fa4199e0a Mon Sep 17 00:00:00 2001 From: atheesh Date: Wed, 14 Feb 2024 22:47:40 +0530 Subject: [PATCH] remove commented code --- x/did/keeper/querier.go | 24 ------------------- .../querier_all_diddoc_versions_metadata.go | 1 - x/did/keeper/querier_diddoc.go | 1 - x/did/keeper/querier_diddoc_version.go | 1 - 4 files changed, 27 deletions(-) delete mode 100644 x/did/keeper/querier.go delete mode 100644 x/did/keeper/querier_all_diddoc_versions_metadata.go delete mode 100644 x/did/keeper/querier_diddoc.go delete mode 100644 x/did/keeper/querier_diddoc_version.go diff --git a/x/did/keeper/querier.go b/x/did/keeper/querier.go deleted file mode 100644 index 95be3a37e..000000000 --- a/x/did/keeper/querier.go +++ /dev/null @@ -1,24 +0,0 @@ -package keeper - -// func NewQuerier(k Keeper, legacyQuerierCdc *codec.LegacyAmino) sdk.Querier { -// return func(ctx sdk.Context, path []string, req abci.RequestQuery) ([]byte, error) { -// var ( -// res []byte -// err error -// ) - -// switch path[0] { -// case types.QueryGetDidDoc: -// return getDidDoc(ctx, path[1], k, legacyQuerierCdc) -// case types.QueryGetAllDidDocVersions: -// return getAllDidDocVersionsMetadata(ctx, path[1], k, legacyQuerierCdc) -// case types.QueryGetDidDocVersion: -// return getDidDocVersion(ctx, path[1], path[2], k, legacyQuerierCdc) - -// default: -// err = sdkerrors.Wrapf(sdkerrors.ErrUnknownRequest, "unknown %s query endpoint: %s", types.ModuleName, path[0]) -// } - -// return res, err -// } -// } diff --git a/x/did/keeper/querier_all_diddoc_versions_metadata.go b/x/did/keeper/querier_all_diddoc_versions_metadata.go deleted file mode 100644 index b55569d4a..000000000 --- a/x/did/keeper/querier_all_diddoc_versions_metadata.go +++ /dev/null @@ -1 +0,0 @@ -package keeper diff --git a/x/did/keeper/querier_diddoc.go b/x/did/keeper/querier_diddoc.go deleted file mode 100644 index b55569d4a..000000000 --- a/x/did/keeper/querier_diddoc.go +++ /dev/null @@ -1 +0,0 @@ -package keeper diff --git a/x/did/keeper/querier_diddoc_version.go b/x/did/keeper/querier_diddoc_version.go deleted file mode 100644 index b55569d4a..000000000 --- a/x/did/keeper/querier_diddoc_version.go +++ /dev/null @@ -1 +0,0 @@ -package keeper