gpu-compute-chain/x/colinear-core/keeper/msg_server_test.go

18 lines
385 B
Go
Raw Normal View History

2022-08-25 16:51:14 -07:00
package keeper_test
import (
"context"
"testing"
keepertest "colinear/testutil/keeper"
"colinear/x/colinear-core/keeper"
"colinear/x/colinear-core/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)
}