Skip to content

Commit

Permalink
fix: local-ic go namespace (#1142)
Browse files Browse the repository at this point in the history
* `github.com/strangelove-ventures/interchaintest/localinterchain`

* `interchaintest/localic`

* `interchaintest/local-interchain`
  • Loading branch information
Reecepbcups authored May 25, 2024
1 parent ecee546 commit bf6829f
Show file tree
Hide file tree
Showing 13 changed files with 23 additions and 23 deletions.
2 changes: 1 addition & 1 deletion local-interchain/cmd/local-ic/interaction.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"strings"

"github.com/spf13/cobra"
"github.com/strangelove-ventures/localinterchain/interchain/handlers"
"github.com/strangelove-ventures/interchaintest/local-interchain/interchain/handlers"
)

const (
Expand Down
4 changes: 2 additions & 2 deletions local-interchain/cmd/local-ic/new_chain.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ import (
"strings"

"github.com/spf13/cobra"
"github.com/strangelove-ventures/interchaintest/local-interchain/interchain/types"
ictypes "github.com/strangelove-ventures/interchaintest/local-interchain/interchain/types"
"github.com/strangelove-ventures/interchaintest/v8/ibc"
"github.com/strangelove-ventures/localinterchain/interchain/types"
ictypes "github.com/strangelove-ventures/localinterchain/interchain/types"
)

var reader = bufio.NewReader(os.Stdin)
Expand Down
4 changes: 2 additions & 2 deletions local-interchain/cmd/local-ic/start_chain.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ import (
"strings"

"github.com/spf13/cobra"
"github.com/strangelove-ventures/interchaintest/local-interchain/interchain"
"github.com/strangelove-ventures/interchaintest/local-interchain/interchain/types"
"github.com/strangelove-ventures/interchaintest/v8/ibc"
"github.com/strangelove-ventures/localinterchain/interchain"
"github.com/strangelove-ventures/localinterchain/interchain/types"
)

const (
Expand Down
8 changes: 4 additions & 4 deletions local-interchain/go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/strangelove-ventures/localinterchain
module github.com/strangelove-ventures/interchaintest/local-interchain

go 1.22.2

Expand All @@ -14,11 +14,12 @@ replace (
require (
cosmossdk.io/math v1.3.0
github.com/cosmos/cosmos-sdk v0.50.6
github.com/cosmos/go-bip39 v1.0.0
github.com/go-playground/validator v9.31.0+incompatible
github.com/gorilla/mux v1.8.1
github.com/spf13/cobra v1.8.0
github.com/strangelove-ventures/interchaintest/v8 v8.0.0-00010101000000-000000000000
github.com/tyler-smith/go-bip39 v1.1.0
github.com/stretchr/testify v1.9.0
go.uber.org/zap v1.27.0
gopkg.in/yaml.v3 v3.0.1

Expand Down Expand Up @@ -75,7 +76,6 @@ require (
github.com/cosmos/btcutil v1.0.5 // indirect
github.com/cosmos/cosmos-db v1.0.2 // indirect
github.com/cosmos/cosmos-proto v1.0.0-beta.5 // indirect
github.com/cosmos/go-bip39 v1.0.0 // indirect
github.com/cosmos/gogogateway v1.2.0 // indirect
github.com/cosmos/gogoproto v1.4.12 // indirect
github.com/cosmos/iavl v1.1.2 // indirect
Expand Down Expand Up @@ -218,12 +218,12 @@ require (
github.com/spf13/cast v1.6.0 // indirect
github.com/spf13/pflag v1.0.5 // indirect
github.com/spf13/viper v1.18.2 // indirect
github.com/stretchr/testify v1.9.0 // indirect
github.com/subosito/gotenv v1.6.0 // indirect
github.com/syndtr/goleveldb v1.0.1-0.20220721030215-126854af5e6d // indirect
github.com/tendermint/go-amino v0.16.0 // indirect
github.com/tidwall/btree v1.7.0 // indirect
github.com/tyler-smith/go-bip32 v1.0.0 // indirect
github.com/tyler-smith/go-bip39 v1.1.0 // indirect
github.com/ulikunitz/xz v0.5.11 // indirect
github.com/zondax/hid v0.9.2 // indirect
github.com/zondax/ledger-go v0.14.3 // indirect
Expand Down
4 changes: 2 additions & 2 deletions local-interchain/interchain/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ import (
"strings"
"time"

types "github.com/strangelove-ventures/localinterchain/interchain/types"
"github.com/strangelove-ventures/localinterchain/interchain/util"
types "github.com/strangelove-ventures/interchaintest/local-interchain/interchain/types"
"github.com/strangelove-ventures/interchaintest/local-interchain/interchain/util"
"gopkg.in/yaml.v3"

"github.com/strangelove-ventures/interchaintest/v8"
Expand Down
2 changes: 1 addition & 1 deletion local-interchain/interchain/genesis.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ import (
"strings"

sdk "github.com/cosmos/cosmos-sdk/types"
types "github.com/strangelove-ventures/interchaintest/local-interchain/interchain/types"
"github.com/strangelove-ventures/interchaintest/v8/chain/cosmos"
"github.com/strangelove-ventures/interchaintest/v8/ibc"
types "github.com/strangelove-ventures/localinterchain/interchain/types"
)

func AddGenesisKeysToKeyring(ctx context.Context, config *types.Config, chains []ibc.Chain) {
Expand Down
2 changes: 1 addition & 1 deletion local-interchain/interchain/handlers/actions.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ import (

sdkmath "cosmossdk.io/math"

"github.com/strangelove-ventures/interchaintest/local-interchain/interchain/util"
"github.com/strangelove-ventures/interchaintest/v8"
"github.com/strangelove-ventures/interchaintest/v8/chain/cosmos"
"github.com/strangelove-ventures/interchaintest/v8/ibc"
"github.com/strangelove-ventures/localinterchain/interchain/util"
)

type actions struct {
Expand Down
4 changes: 2 additions & 2 deletions local-interchain/interchain/handlers/info.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ import (
"path/filepath"
"strconv"

types "github.com/strangelove-ventures/interchaintest/local-interchain/interchain/types"
util "github.com/strangelove-ventures/interchaintest/local-interchain/interchain/util"
"github.com/strangelove-ventures/interchaintest/v8"
"github.com/strangelove-ventures/interchaintest/v8/chain/cosmos"
"github.com/strangelove-ventures/interchaintest/v8/ibc"
types "github.com/strangelove-ventures/localinterchain/interchain/types"
util "github.com/strangelove-ventures/localinterchain/interchain/util"
)

type info struct {
Expand Down
2 changes: 1 addition & 1 deletion local-interchain/interchain/handlers/uploader.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ import (
"os"
"path/filepath"

"github.com/strangelove-ventures/interchaintest/local-interchain/interchain/util"
"github.com/strangelove-ventures/interchaintest/v8/chain/cosmos"
"github.com/strangelove-ventures/localinterchain/interchain/util"
)

type upload struct {
Expand Down
2 changes: 1 addition & 1 deletion local-interchain/interchain/ibc.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ import (
"context"
"fmt"

types "github.com/strangelove-ventures/interchaintest/local-interchain/interchain/types"
"github.com/strangelove-ventures/interchaintest/v8"
"github.com/strangelove-ventures/interchaintest/v8/ibc"
types "github.com/strangelove-ventures/localinterchain/interchain/types"
)

func VerifyIBCPaths(ibcpaths map[string][]int) error {
Expand Down
2 changes: 1 addition & 1 deletion local-interchain/interchain/logs.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ import (
"path/filepath"
"time"

types "github.com/strangelove-ventures/interchaintest/local-interchain/interchain/types"
"github.com/strangelove-ventures/interchaintest/v8/chain/cosmos"
"github.com/strangelove-ventures/interchaintest/v8/chain/ethereum"
"github.com/strangelove-ventures/interchaintest/v8/ibc"
types "github.com/strangelove-ventures/localinterchain/interchain/types"
"go.uber.org/zap"
"go.uber.org/zap/zapcore"
)
Expand Down
6 changes: 3 additions & 3 deletions local-interchain/interchain/router/router.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ import (
"net/http"

"github.com/gorilla/mux"
ictypes "github.com/strangelove-ventures/interchaintest/local-interchain/interchain/types"
"github.com/strangelove-ventures/interchaintest/local-interchain/interchain/util"
"github.com/strangelove-ventures/interchaintest/v8"
"github.com/strangelove-ventures/interchaintest/v8/chain/cosmos"
"github.com/strangelove-ventures/interchaintest/v8/ibc"
ictypes "github.com/strangelove-ventures/localinterchain/interchain/types"
"github.com/strangelove-ventures/localinterchain/interchain/util"

"github.com/strangelove-ventures/localinterchain/interchain/handlers"
"github.com/strangelove-ventures/interchaintest/local-interchain/interchain/handlers"
)

type Route struct {
Expand Down
4 changes: 2 additions & 2 deletions local-interchain/interchain/start.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@ import (
"path"
"strings"

"github.com/strangelove-ventures/interchaintest/local-interchain/interchain/router"
"github.com/strangelove-ventures/interchaintest/local-interchain/interchain/types"
"github.com/strangelove-ventures/interchaintest/v8"
"github.com/strangelove-ventures/interchaintest/v8/chain/cosmos"
"github.com/strangelove-ventures/interchaintest/v8/ibc"
interchaintestrelayer "github.com/strangelove-ventures/interchaintest/v8/relayer"
"github.com/strangelove-ventures/interchaintest/v8/testreporter"
"github.com/strangelove-ventures/interchaintest/v8/testutil"
"github.com/strangelove-ventures/localinterchain/interchain/router"
"github.com/strangelove-ventures/localinterchain/interchain/types"
"go.uber.org/zap"
)

Expand Down

0 comments on commit bf6829f

Please sign in to comment.