18 lines
359 B
Go
18 lines
359 B
Go
|
package keeper
|
||
|
|
||
|
import (
|
||
|
"context"
|
||
|
|
||
|
"cosmos-test/x/cosmostest/types"
|
||
|
sdk "github.com/cosmos/cosmos-sdk/types"
|
||
|
)
|
||
|
|
||
|
func (k msgServer) NewAuction(goCtx context.Context, msg *types.MsgNewAuction) (*types.MsgNewAuctionResponse, error) {
|
||
|
ctx := sdk.UnwrapSDKContext(goCtx)
|
||
|
|
||
|
// TODO: Handling the message
|
||
|
_ = ctx
|
||
|
|
||
|
return &types.MsgNewAuctionResponse{}, nil
|
||
|
}
|