chore: Upgrade module path for v2 (#383)
This commit is contained in:
@@ -8,7 +8,7 @@ import (
|
||||
"github.com/cosmos/cosmos-sdk/client"
|
||||
"github.com/spf13/cobra"
|
||||
|
||||
"github.com/skip-mev/block-sdk/x/blocksdk/types"
|
||||
"github.com/skip-mev/block-sdk/v2/x/blocksdk/types"
|
||||
)
|
||||
|
||||
// GetQueryCmd returns the cli query commands for the blocksdk module.
|
||||
|
||||
@@ -4,7 +4,7 @@ import (
|
||||
"github.com/cosmos/cosmos-sdk/client"
|
||||
"github.com/spf13/cobra"
|
||||
|
||||
"github.com/skip-mev/block-sdk/x/blocksdk/types"
|
||||
"github.com/skip-mev/block-sdk/v2/x/blocksdk/types"
|
||||
)
|
||||
|
||||
// NewTxCmd returns a root CLI command handler for all x/blocksdk transaction
|
||||
|
||||
@@ -3,7 +3,7 @@ package keeper
|
||||
import (
|
||||
sdk "github.com/cosmos/cosmos-sdk/types"
|
||||
|
||||
"github.com/skip-mev/block-sdk/x/blocksdk/types"
|
||||
"github.com/skip-mev/block-sdk/v2/x/blocksdk/types"
|
||||
)
|
||||
|
||||
// InitGenesis initializes the blocksdk module's state from a given genesis state.
|
||||
|
||||
@@ -5,7 +5,7 @@ import (
|
||||
|
||||
sdk "github.com/cosmos/cosmos-sdk/types"
|
||||
|
||||
"github.com/skip-mev/block-sdk/x/blocksdk/types"
|
||||
"github.com/skip-mev/block-sdk/v2/x/blocksdk/types"
|
||||
)
|
||||
|
||||
var _ types.QueryServer = QueryServer{}
|
||||
|
||||
@@ -3,7 +3,7 @@ package keeper_test
|
||||
import (
|
||||
"cosmossdk.io/math"
|
||||
|
||||
"github.com/skip-mev/block-sdk/x/blocksdk/types"
|
||||
"github.com/skip-mev/block-sdk/v2/x/blocksdk/types"
|
||||
)
|
||||
|
||||
func (s *KeeperTestSuite) TestQueryLane() {
|
||||
|
||||
@@ -10,7 +10,7 @@ import (
|
||||
"github.com/cosmos/cosmos-sdk/codec"
|
||||
sdk "github.com/cosmos/cosmos-sdk/types"
|
||||
|
||||
"github.com/skip-mev/block-sdk/x/blocksdk/types"
|
||||
"github.com/skip-mev/block-sdk/v2/x/blocksdk/types"
|
||||
)
|
||||
|
||||
type Keeper struct {
|
||||
|
||||
@@ -11,9 +11,9 @@ import (
|
||||
|
||||
"github.com/stretchr/testify/suite"
|
||||
|
||||
testutils "github.com/skip-mev/block-sdk/testutils"
|
||||
"github.com/skip-mev/block-sdk/x/blocksdk/keeper"
|
||||
"github.com/skip-mev/block-sdk/x/blocksdk/types"
|
||||
testutils "github.com/skip-mev/block-sdk/v2/testutils"
|
||||
"github.com/skip-mev/block-sdk/v2/x/blocksdk/keeper"
|
||||
"github.com/skip-mev/block-sdk/v2/x/blocksdk/types"
|
||||
)
|
||||
|
||||
type KeeperTestSuite struct {
|
||||
|
||||
@@ -6,7 +6,7 @@ import (
|
||||
|
||||
sdk "github.com/cosmos/cosmos-sdk/types"
|
||||
|
||||
"github.com/skip-mev/block-sdk/x/blocksdk/types"
|
||||
"github.com/skip-mev/block-sdk/v2/x/blocksdk/types"
|
||||
)
|
||||
|
||||
var _ types.MsgServer = MsgServer{}
|
||||
|
||||
@@ -6,9 +6,9 @@ import (
|
||||
|
||||
"cosmossdk.io/math"
|
||||
|
||||
testutils "github.com/skip-mev/block-sdk/testutils"
|
||||
testutils "github.com/skip-mev/block-sdk/v2/testutils"
|
||||
|
||||
"github.com/skip-mev/block-sdk/x/blocksdk/types"
|
||||
"github.com/skip-mev/block-sdk/v2/x/blocksdk/types"
|
||||
)
|
||||
|
||||
func (s *KeeperTestSuite) TestMsgUpdateLane() {
|
||||
|
||||
@@ -20,10 +20,10 @@ import (
|
||||
"github.com/grpc-ecosystem/grpc-gateway/runtime"
|
||||
"github.com/spf13/cobra"
|
||||
|
||||
modulev1 "github.com/skip-mev/block-sdk/api/sdk/blocksdk/module/v1"
|
||||
"github.com/skip-mev/block-sdk/x/blocksdk/client/cli"
|
||||
"github.com/skip-mev/block-sdk/x/blocksdk/keeper"
|
||||
"github.com/skip-mev/block-sdk/x/blocksdk/types"
|
||||
modulev1 "github.com/skip-mev/block-sdk/v2/api/sdk/blocksdk/module/v1"
|
||||
"github.com/skip-mev/block-sdk/v2/x/blocksdk/client/cli"
|
||||
"github.com/skip-mev/block-sdk/v2/x/blocksdk/keeper"
|
||||
"github.com/skip-mev/block-sdk/v2/x/blocksdk/types"
|
||||
)
|
||||
|
||||
var (
|
||||
|
||||
@@ -5,7 +5,7 @@ import (
|
||||
|
||||
"cosmossdk.io/math"
|
||||
|
||||
"github.com/skip-mev/block-sdk/x/blocksdk/types"
|
||||
"github.com/skip-mev/block-sdk/v2/x/blocksdk/types"
|
||||
)
|
||||
|
||||
func TestLane_ValidateBasic(t *testing.T) {
|
||||
|
||||
@@ -7,9 +7,9 @@ import (
|
||||
|
||||
"cosmossdk.io/math"
|
||||
|
||||
"github.com/skip-mev/block-sdk/testutils"
|
||||
"github.com/skip-mev/block-sdk/v2/testutils"
|
||||
|
||||
"github.com/skip-mev/block-sdk/x/blocksdk/types"
|
||||
"github.com/skip-mev/block-sdk/v2/x/blocksdk/types"
|
||||
)
|
||||
|
||||
func TestMsgUpdateLane_ValidateBasic(t *testing.T) {
|
||||
|
||||
Reference in New Issue
Block a user