24 lines
525 B
Go
24 lines
525 B
Go
package keeper
|
|
|
|
import (
|
|
"context"
|
|
|
|
"cosmos-test/x/cosmostest/types"
|
|
sdk "github.com/cosmos/cosmos-sdk/types"
|
|
"google.golang.org/grpc/codes"
|
|
"google.golang.org/grpc/status"
|
|
)
|
|
|
|
func (k Keeper) AuctionBids(goCtx context.Context, req *types.QueryAuctionBidsRequest) (*types.QueryAuctionBidsResponse, error) {
|
|
if req == nil {
|
|
return nil, status.Error(codes.InvalidArgument, "invalid request")
|
|
}
|
|
|
|
ctx := sdk.UnwrapSDKContext(goCtx)
|
|
|
|
// TODO: Process the query
|
|
_ = ctx
|
|
|
|
return &types.QueryAuctionBidsResponse{}, nil
|
|
}
|