Skip to content

Commit

Permalink
chore: remove RPCs, Request types, add mock responses until removed f…
Browse files Browse the repository at this point in the history
…rom dependency. (#6433)

* chore: remove RPCs, Request types, add mock responses until removed from dependency.

* lint: make lint-fix

* chore: fix proto issues

---------

Co-authored-by: chatton <cian@interchain.io>
  • Loading branch information
DimitrisJim and chatton committed May 30, 2024
1 parent 0beaba6 commit e67e30b
Show file tree
Hide file tree
Showing 5 changed files with 100 additions and 1,210 deletions.
12 changes: 0 additions & 12 deletions modules/apps/transfer/keeper/grpc_query.go
Original file line number Diff line number Diff line change
Expand Up @@ -159,15 +159,3 @@ func (k Keeper) TotalEscrowForDenom(c context.Context, req *types.QueryTotalEscr
Amount: amount,
}, nil
}

// DenomTrace implements the Query/DenomTrace gRPC method
// Deprecated: Please use Denom instead.
func (Keeper) DenomTrace(c context.Context, req *types.QueryDenomTraceRequest) (*types.QueryDenomTraceResponse, error) {
return nil, status.Error(codes.Unimplemented, "unsupported rpc")
}

// DenomTraces implements the Query/DenomTraces gRPC method
// Deprecated: Please use Denoms instead.
func (Keeper) DenomTraces(c context.Context, req *types.QueryDenomTracesRequest) (*types.QueryDenomTracesResponse, error) {
return nil, status.Error(codes.Unimplemented, "unsupported rpc")
}
8 changes: 8 additions & 0 deletions modules/apps/transfer/types/legacy_denomtrace.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
package types

// TODO: https://github.com/cosmos/ibc-go/issues/6421#issuecomment-2137516426
// Kept around due to dependency. Empty and useless and ideally dropped before v9.
type (
QueryDenomTracesResponse struct{}
QueryDenomTraceResponse struct{}
)
Loading

0 comments on commit e67e30b

Please sign in to comment.