Skip to content

Commit

Permalink
refactor: Rename module to the shorter ibctest (strangelove-ventures#77)
Browse files Browse the repository at this point in the history
* rename go.mod module

* move ibctest nested pkg to root

* refactor package name

Co-authored-by: Mark Rushakoff <[email protected]>
  • Loading branch information
DavidNix and mark-rushakoff authored May 16, 2022
1 parent 94dd93c commit c6d6b0f
Show file tree
Hide file tree
Showing 20 changed files with 45 additions and 45 deletions.
4 changes: 2 additions & 2 deletions chain/cosmos/chain_node.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ import (
"github.com/davecgh/go-spew/spew"
"github.com/ory/dockertest/v3"
"github.com/ory/dockertest/v3/docker"
"github.com/strangelove-ventures/ibc-test-framework/dockerutil"
"github.com/strangelove-ventures/ibc-test-framework/ibc"
"github.com/strangelove-ventures/ibctest/dockerutil"
"github.com/strangelove-ventures/ibctest/ibc"
tmconfig "github.com/tendermint/tendermint/config"
"github.com/tendermint/tendermint/p2p"
rpcclient "github.com/tendermint/tendermint/rpc/client"
Expand Down
6 changes: 3 additions & 3 deletions chain/cosmos/cosmos_chain.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ import (
authTx "github.com/cosmos/cosmos-sdk/x/auth/tx"
bankTypes "github.com/cosmos/cosmos-sdk/x/bank/types"
chantypes "github.com/cosmos/ibc-go/v3/modules/core/04-channel/types"
"github.com/strangelove-ventures/ibc-test-framework/chain/tendermint"
"github.com/strangelove-ventures/ibc-test-framework/dockerutil"
"github.com/strangelove-ventures/ibc-test-framework/ibc"
"github.com/strangelove-ventures/ibctest/chain/tendermint"
"github.com/strangelove-ventures/ibctest/dockerutil"
"github.com/strangelove-ventures/ibctest/ibc"
"go.uber.org/zap"

"github.com/ory/dockertest/v3"
Expand Down
2 changes: 1 addition & 1 deletion chain/cosmos/node_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"testing"

stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types"
"github.com/strangelove-ventures/ibc-test-framework/chain/cosmos"
"github.com/strangelove-ventures/ibctest/chain/cosmos"
"github.com/stretchr/testify/require"
)

Expand Down
4 changes: 2 additions & 2 deletions chain/penumbra/penumbra_app_node.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ import (

"github.com/ory/dockertest/v3"
"github.com/ory/dockertest/v3/docker"
"github.com/strangelove-ventures/ibc-test-framework/dockerutil"
"github.com/strangelove-ventures/ibc-test-framework/ibc"
"github.com/strangelove-ventures/ibctest/dockerutil"
"github.com/strangelove-ventures/ibctest/ibc"
)

type PenumbraAppNode struct {
Expand Down
6 changes: 3 additions & 3 deletions chain/penumbra/penumbra_chain.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ import (
"strings"

"github.com/cosmos/cosmos-sdk/types"
"github.com/strangelove-ventures/ibc-test-framework/chain/tendermint"
"github.com/strangelove-ventures/ibc-test-framework/dockerutil"
"github.com/strangelove-ventures/ibc-test-framework/ibc"
"github.com/strangelove-ventures/ibctest/chain/tendermint"
"github.com/strangelove-ventures/ibctest/dockerutil"
"github.com/strangelove-ventures/ibctest/ibc"

"github.com/ory/dockertest/v3"
"github.com/ory/dockertest/v3/docker"
Expand Down
2 changes: 1 addition & 1 deletion chain/penumbra/penumbra_chain_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package penumbra_test
import (
"testing"

"github.com/strangelove-ventures/ibc-test-framework/ibctest"
"github.com/strangelove-ventures/ibctest"
"github.com/stretchr/testify/require"
"go.uber.org/zap"
)
Expand Down
4 changes: 2 additions & 2 deletions chain/tendermint/tendermint_node.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ import (

"github.com/ory/dockertest/v3"
"github.com/ory/dockertest/v3/docker"
"github.com/strangelove-ventures/ibc-test-framework/dockerutil"
"github.com/strangelove-ventures/ibc-test-framework/ibc"
"github.com/strangelove-ventures/ibctest/dockerutil"
"github.com/strangelove-ventures/ibctest/ibc"
"github.com/tendermint/tendermint/p2p"
rpcclient "github.com/tendermint/tendermint/rpc/client"
rpchttp "github.com/tendermint/tendermint/rpc/client/http"
Expand Down
6 changes: 3 additions & 3 deletions ibctest/chainfactory.go → chainfactory.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ import (
"fmt"
"strings"

"github.com/strangelove-ventures/ibc-test-framework/chain/penumbra"
"github.com/strangelove-ventures/ibctest/chain/penumbra"
"go.uber.org/zap"

"github.com/strangelove-ventures/ibc-test-framework/chain/cosmos"
"github.com/strangelove-ventures/ibc-test-framework/ibc"
"github.com/strangelove-ventures/ibctest/chain/cosmos"
"github.com/strangelove-ventures/ibctest/ibc"
)

// ChainFactory describes how to get chains for tests.
Expand Down
2 changes: 1 addition & 1 deletion cmd/ibctest/flags.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"os"
"time"

"github.com/strangelove-ventures/ibc-test-framework/ibctest"
"github.com/strangelove-ventures/ibctest"
"go.uber.org/zap"
"go.uber.org/zap/zapcore"
)
Expand Down
8 changes: 4 additions & 4 deletions cmd/ibctest/ibctest_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ import (
"testing"
"time"

"github.com/strangelove-ventures/ibc-test-framework/ibc"
"github.com/strangelove-ventures/ibc-test-framework/ibctest"
"github.com/strangelove-ventures/ibc-test-framework/relayertest"
"github.com/strangelove-ventures/ibc-test-framework/testreporter"
"github.com/strangelove-ventures/ibctest"
"github.com/strangelove-ventures/ibctest/ibc"
"github.com/strangelove-ventures/ibctest/relayertest"
"github.com/strangelove-ventures/ibctest/testreporter"
"go.uber.org/zap"
)

Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/strangelove-ventures/ibc-test-framework
module github.com/strangelove-ventures/ibctest

go 1.17

Expand Down
File renamed without changes.
6 changes: 3 additions & 3 deletions relayer/rly/cosmos_relayer.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ import (
"github.com/cosmos/cosmos-sdk/crypto/keyring"
"github.com/ory/dockertest/v3"
"github.com/ory/dockertest/v3/docker"
"github.com/strangelove-ventures/ibc-test-framework/dockerutil"
"github.com/strangelove-ventures/ibc-test-framework/ibc"
"github.com/strangelove-ventures/ibc-test-framework/relayer"
"github.com/strangelove-ventures/ibctest/dockerutil"
"github.com/strangelove-ventures/ibctest/ibc"
"github.com/strangelove-ventures/ibctest/relayer"
"go.uber.org/zap"
)

Expand Down
6 changes: 3 additions & 3 deletions ibctest/relayerfactory.go → relayerfactory.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ import (
"testing"

"github.com/ory/dockertest/v3"
"github.com/strangelove-ventures/ibc-test-framework/ibc"
"github.com/strangelove-ventures/ibc-test-framework/relayer"
"github.com/strangelove-ventures/ibc-test-framework/relayer/rly"
"github.com/strangelove-ventures/ibctest/ibc"
"github.com/strangelove-ventures/ibctest/relayer"
"github.com/strangelove-ventures/ibctest/relayer/rly"
"go.uber.org/zap"
)

Expand Down
12 changes: 6 additions & 6 deletions relayertest/test.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
// import (
// "testing"
//
// "github.com/strangelove-ventures/ibc-test-framework/ibc"
// "github.com/strangelove-ventures/ibc-test-framework/relayertest"
// "github.com/strangelove-ventures/ibctest/ibc"
// "github.com/strangelove-ventures/ibctest/relayertest"
// )
//
// func TestMyRelayer(t *testing.T) {
Expand All @@ -36,10 +36,10 @@ import (
"time"

transfertypes "github.com/cosmos/ibc-go/v3/modules/apps/transfer/types"
"github.com/strangelove-ventures/ibc-test-framework/ibc"
"github.com/strangelove-ventures/ibc-test-framework/ibctest"
"github.com/strangelove-ventures/ibc-test-framework/relayer"
"github.com/strangelove-ventures/ibc-test-framework/testreporter"
"github.com/strangelove-ventures/ibctest"
"github.com/strangelove-ventures/ibctest/ibc"
"github.com/strangelove-ventures/ibctest/relayer"
"github.com/strangelove-ventures/ibctest/testreporter"
"github.com/stretchr/testify/require"
"golang.org/x/sync/errgroup"
)
Expand Down
6 changes: 3 additions & 3 deletions ibctest/test_chains.go → test_chains.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ import (
"fmt"
"strings"

"github.com/strangelove-ventures/ibc-test-framework/chain/penumbra"
"github.com/strangelove-ventures/ibctest/chain/penumbra"
"go.uber.org/zap"

"github.com/strangelove-ventures/ibc-test-framework/chain/cosmos"
"github.com/strangelove-ventures/ibc-test-framework/ibc"
"github.com/strangelove-ventures/ibctest/chain/cosmos"
"github.com/strangelove-ventures/ibctest/ibc"
)

var chainConfigs = []ibc.ChainConfig{
Expand Down
6 changes: 3 additions & 3 deletions ibctest/test_setup.go → test_setup.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ import (
"github.com/cosmos/cosmos-sdk/types"
"github.com/ory/dockertest/v3"
"github.com/ory/dockertest/v3/docker"
"github.com/strangelove-ventures/ibc-test-framework/dockerutil"
"github.com/strangelove-ventures/ibc-test-framework/ibc"
"github.com/strangelove-ventures/ibc-test-framework/testreporter"
"github.com/strangelove-ventures/ibctest/dockerutil"
"github.com/strangelove-ventures/ibctest/ibc"
"github.com/strangelove-ventures/ibctest/testreporter"
"golang.org/x/sync/errgroup"
)

Expand Down
4 changes: 2 additions & 2 deletions ibctest/test_user.go → test_user.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import (
"testing"

"github.com/cosmos/cosmos-sdk/types"
"github.com/strangelove-ventures/ibc-test-framework/dockerutil"
"github.com/strangelove-ventures/ibc-test-framework/ibc"
"github.com/strangelove-ventures/ibctest/dockerutil"
"github.com/strangelove-ventures/ibctest/ibc"
"github.com/stretchr/testify/require"
)

Expand Down
2 changes: 1 addition & 1 deletion testreporter/messages_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"time"

"github.com/google/go-cmp/cmp"
"github.com/strangelove-ventures/ibc-test-framework/testreporter"
"github.com/strangelove-ventures/ibctest/testreporter"
"github.com/stretchr/testify/require"
)

Expand Down
2 changes: 1 addition & 1 deletion testreporter/reporter_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"time"

"github.com/google/go-cmp/cmp"
"github.com/strangelove-ventures/ibc-test-framework/testreporter"
"github.com/strangelove-ventures/ibctest/testreporter"
"github.com/stretchr/testify/require"
)

Expand Down

0 comments on commit c6d6b0f

Please sign in to comment.