gpu-compute-chain/x/cosmostest/keeper/msg_server_test.go

17 lines
385 B
Go
Raw Normal View History

2022-08-25 16:51:14 -07:00
package keeper_test
import (
"context"
"testing"
keepertest "cosmos-test/testutil/keeper"
"cosmos-test/x/cosmostest/keeper"
"cosmos-test/x/cosmostest/types"
sdk "github.com/cosmos/cosmos-sdk/types"
)
func setupMsgServer(t testing.TB) (types.MsgServer, context.Context) {
k, ctx := keepertest.CosmostestKeeper(t)
return keeper.NewMsgServerImpl(*k), sdk.WrapSDKContext(ctx)
}