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

18 lines
383 B
Go
Raw Normal View History

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