Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 5 commits into from
May 30, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 0 additions & 11 deletions modules/apps/transfer/keeper/grpc_query.go
Original file line number Diff line number Diff line change
Expand Up @@ -160,14 +160,3 @@ func (k Keeper) TotalEscrowForDenom(c context.Context, req *types.QueryTotalEscr
}, 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")
}
6 changes: 6 additions & 0 deletions modules/apps/transfer/types/legacy_denomtrace.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
package types
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

don't mind moving these elsewhere if people want. just chose a random file for time being.


// 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 {}
type QueryDenomTraceResponse struct {}
Loading
Loading