Skip to content

Commit

Permalink
fix imports
Browse files Browse the repository at this point in the history
  • Loading branch information
agouin committed Sep 26, 2023
1 parent bf21425 commit 4932780
Show file tree
Hide file tree
Showing 16 changed files with 134 additions and 62 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/e2e-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -112,4 +112,4 @@ jobs:
run: docker image load -i ${{ env.TAR_PATH }}

- name: run test
run: cd interchaintest && go test -race -v -timeout 15m -run ^${{ matrix.test }}$ .
run: cd interchaintest && go test -race -v -timeout 30m -run ^${{ matrix.test }}$ .
7 changes: 4 additions & 3 deletions interchaintest/cctp_deposit_for_burn_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +3,21 @@ package interchaintest_test
import (
"context"
"encoding/hex"
"github.com/ethereum/go-ethereum/crypto"
"testing"
"time"

"github.com/ethereum/go-ethereum/crypto"

cosmossdk_io_math "cosmossdk.io/math"
"github.com/circlefin/noble-cctp-private-builds/cmd"
cctptypes "github.com/circlefin/noble-cctp-private-builds/x/cctp/types"
cctptypes "github.com/circlefin/noble-cctp/x/cctp/types"
sdkclient "github.com/cosmos/cosmos-sdk/client"
"github.com/cosmos/cosmos-sdk/client/flags"
sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/ethereum/go-ethereum/common"
"github.com/strangelove-ventures/interchaintest/v3"
"github.com/strangelove-ventures/interchaintest/v3/chain/cosmos"
"github.com/strangelove-ventures/interchaintest/v3/testreporter"
"github.com/strangelove-ventures/noble/cmd"
"github.com/stretchr/testify/require"
"go.uber.org/zap/zaptest"
)
Expand Down
7 changes: 4 additions & 3 deletions interchaintest/cctp_deposit_for_burn_with_caller_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +3,21 @@ package interchaintest_test
import (
"context"
"encoding/hex"
"github.com/ethereum/go-ethereum/crypto"
"testing"
"time"

"github.com/ethereum/go-ethereum/crypto"

cosmossdk_io_math "cosmossdk.io/math"
"github.com/circlefin/noble-cctp-private-builds/cmd"
cctptypes "github.com/circlefin/noble-cctp-private-builds/x/cctp/types"
cctptypes "github.com/circlefin/noble-cctp/x/cctp/types"
sdkclient "github.com/cosmos/cosmos-sdk/client"
"github.com/cosmos/cosmos-sdk/client/flags"
sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/ethereum/go-ethereum/common"
"github.com/strangelove-ventures/interchaintest/v3"
"github.com/strangelove-ventures/interchaintest/v3/chain/cosmos"
"github.com/strangelove-ventures/interchaintest/v3/testreporter"
"github.com/strangelove-ventures/noble/cmd"
"github.com/stretchr/testify/require"
"go.uber.org/zap/zaptest"
)
Expand Down
6 changes: 3 additions & 3 deletions interchaintest/cctp_receive_message_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,7 @@ import (
"time"

cosmossdk_io_math "cosmossdk.io/math"
"github.com/circlefin/noble-cctp-private-builds/cmd"
cctptypes "github.com/circlefin/noble-cctp-private-builds/x/cctp/types"
routertypes "github.com/circlefin/noble-cctp-private-builds/x/router/types"
cctptypes "github.com/circlefin/noble-cctp/x/cctp/types"
sdkclient "github.com/cosmos/cosmos-sdk/client"
"github.com/cosmos/cosmos-sdk/client/flags"
sdk "github.com/cosmos/cosmos-sdk/types"
Expand All @@ -27,6 +25,8 @@ import (
"github.com/strangelove-ventures/interchaintest/v3/ibc"
"github.com/strangelove-ventures/interchaintest/v3/testreporter"
"github.com/strangelove-ventures/interchaintest/v3/testutil"
routertypes "github.com/strangelove-ventures/noble-router/x/router/types"
"github.com/strangelove-ventures/noble/cmd"
"github.com/stretchr/testify/require"
"go.uber.org/zap/zaptest"
)
Expand Down
6 changes: 3 additions & 3 deletions interchaintest/cctp_receive_message_with_caller_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,7 @@ import (
"time"

cosmossdk_io_math "cosmossdk.io/math"
"github.com/circlefin/noble-cctp-private-builds/cmd"
cctptypes "github.com/circlefin/noble-cctp-private-builds/x/cctp/types"
routertypes "github.com/circlefin/noble-cctp-private-builds/x/router/types"
cctptypes "github.com/circlefin/noble-cctp/x/cctp/types"
sdkclient "github.com/cosmos/cosmos-sdk/client"
"github.com/cosmos/cosmos-sdk/client/flags"
sdk "github.com/cosmos/cosmos-sdk/types"
Expand All @@ -27,6 +25,8 @@ import (
"github.com/strangelove-ventures/interchaintest/v3/ibc"
"github.com/strangelove-ventures/interchaintest/v3/testreporter"
"github.com/strangelove-ventures/interchaintest/v3/testutil"
routertypes "github.com/strangelove-ventures/noble-router/x/router/types"
"github.com/strangelove-ventures/noble/cmd"
"github.com/stretchr/testify/require"
"go.uber.org/zap/zaptest"
)
Expand Down
9 changes: 5 additions & 4 deletions interchaintest/cctp_replace_deposit_for_burn_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,22 +7,23 @@ import (
"crypto/elliptic"
"encoding/hex"
"fmt"
authtypes "github.com/cosmos/cosmos-sdk/x/auth/types"
"github.com/ethereum/go-ethereum/crypto"
"sort"
"testing"
"time"

authtypes "github.com/cosmos/cosmos-sdk/x/auth/types"
"github.com/ethereum/go-ethereum/crypto"

cosmossdk_io_math "cosmossdk.io/math"
"github.com/circlefin/noble-cctp-private-builds/cmd"
cctptypes "github.com/circlefin/noble-cctp-private-builds/x/cctp/types"
cctptypes "github.com/circlefin/noble-cctp/x/cctp/types"
sdkclient "github.com/cosmos/cosmos-sdk/client"
"github.com/cosmos/cosmos-sdk/client/flags"
sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/ethereum/go-ethereum/common"
"github.com/strangelove-ventures/interchaintest/v3"
"github.com/strangelove-ventures/interchaintest/v3/chain/cosmos"
"github.com/strangelove-ventures/interchaintest/v3/testreporter"
"github.com/strangelove-ventures/noble/cmd"
"github.com/stretchr/testify/require"
"go.uber.org/zap/zaptest"
)
Expand Down
2 changes: 1 addition & 1 deletion interchaintest/genesis_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import (
"encoding/json"
"fmt"

tokenfactorytypes "github.com/circlefin/noble-cctp-private-builds/x/tokenfactory/types"
simappparams "github.com/cosmos/cosmos-sdk/simapp/params"
"github.com/cosmos/cosmos-sdk/types"
"github.com/icza/dyno"
Expand All @@ -14,6 +13,7 @@ import (
"github.com/strangelove-ventures/interchaintest/v3/ibc"
"github.com/strangelove-ventures/interchaintest/v3/relayer"
"github.com/strangelove-ventures/interchaintest/v3/relayer/rly"
tokenfactorytypes "github.com/strangelove-ventures/noble/x/tokenfactory/types"
proposaltypes "github.com/strangelove-ventures/paramauthority/x/params/types/proposal"
upgradetypes "github.com/strangelove-ventures/paramauthority/x/upgrade/types"
)
Expand Down
2 changes: 1 addition & 1 deletion interchaintest/globalfee_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ import (
"fmt"
"testing"

"github.com/circlefin/noble-cctp-private-builds/cmd"
"github.com/cosmos/cosmos-sdk/x/params/types/proposal"
"github.com/strangelove-ventures/interchaintest/v3"
"github.com/strangelove-ventures/interchaintest/v3/chain/cosmos"
"github.com/strangelove-ventures/interchaintest/v3/testreporter"
"github.com/strangelove-ventures/noble/cmd"
proposaltypes "github.com/strangelove-ventures/paramauthority/x/params/types/proposal"
"github.com/stretchr/testify/require"
"go.uber.org/zap/zaptest"
Expand Down
36 changes: 19 additions & 17 deletions interchaintest/go.mod
Original file line number Diff line number Diff line change
@@ -1,16 +1,19 @@
module github.com/circlefin/noble-cctp-private-builds/interchaintest
module github.com/strangelove-ventures/noble/interchaintest

go 1.19
go 1.21

require (
cosmossdk.io/math v1.0.1
github.com/circlefin/noble-cctp-private-builds v0.0.0-00010101000000-000000000000
github.com/circlefin/noble-cctp v0.0.0-20230925203250-4d2482bd0d7c
github.com/cosmos/cosmos-sdk v0.45.16
github.com/cosmos/ibc-go/v3 v3.4.0
github.com/ethereum/go-ethereum v1.12.2
github.com/golang/protobuf v1.5.3
github.com/icza/dyno v0.0.0-20220812133438-f0b6f8a18845
github.com/strangelove-ventures/interchaintest/v3 v3.0.0-20230622221919-28c608364e27
github.com/strangelove-ventures/paramauthority v0.2.0
github.com/strangelove-ventures/noble v1.0.1-0.20230717234609-400609f26a31
github.com/strangelove-ventures/noble-router v0.0.0-20230925195953-bcb42317a439
github.com/strangelove-ventures/paramauthority v1.0.0
github.com/stretchr/testify v1.8.4
go.uber.org/zap v1.24.0
)
Expand Down Expand Up @@ -74,7 +77,6 @@ require (
github.com/gogo/gateway v1.1.0 // indirect
github.com/gogo/protobuf v1.3.3 // indirect
github.com/golang/glog v1.1.0 // indirect
github.com/golang/protobuf v1.5.3 // indirect
github.com/golang/snappy v0.0.5-0.20220116011046-fa5810519dcb // indirect
github.com/google/btree v1.1.2 // indirect
github.com/google/orderedcode v0.0.1 // indirect
Expand All @@ -100,7 +102,7 @@ require (
github.com/klauspost/compress v1.16.3 // indirect
github.com/kr/pretty v0.3.1 // indirect
github.com/kr/text v0.2.0 // indirect
github.com/lib/pq v1.10.6 // indirect
github.com/lib/pq v1.10.9 // indirect
github.com/libp2p/go-buffer-pool v0.1.0 // indirect
github.com/linxGnu/grocksdb v1.7.10 // indirect
github.com/magiconair/properties v1.8.7 // indirect
Expand All @@ -127,7 +129,7 @@ require (
github.com/rcrowley/go-metrics v0.0.0-20201227073835-cf1acfcdf475 // indirect
github.com/regen-network/cosmos-proto v0.3.1 // indirect
github.com/remyoudompheng/bigfft v0.0.0-20230129092748-24d4a6f8daec // indirect
github.com/rogpeppe/go-internal v1.9.0 // indirect
github.com/rogpeppe/go-internal v1.10.0 // indirect
github.com/rs/cors v1.8.3 // indirect
github.com/rs/zerolog v1.27.0 // indirect
github.com/sasha-s/go-deadlock v0.3.1 // indirect
Expand All @@ -149,15 +151,15 @@ require (
go.etcd.io/bbolt v1.3.7 // indirect
go.uber.org/atomic v1.10.0 // indirect
go.uber.org/multierr v1.11.0 // indirect
golang.org/x/crypto v0.11.0 // indirect
golang.org/x/crypto v0.12.0 // indirect
golang.org/x/exp v0.0.0-20230810033253-352e893a4cad // indirect
golang.org/x/mod v0.11.0 // indirect
golang.org/x/net v0.12.0 // indirect
golang.org/x/mod v0.12.0 // indirect
golang.org/x/net v0.14.0 // indirect
golang.org/x/sync v0.3.0 // indirect
golang.org/x/sys v0.10.0 // indirect
golang.org/x/term v0.10.0 // indirect
golang.org/x/text v0.11.0 // indirect
golang.org/x/tools v0.9.3 // indirect
golang.org/x/sys v0.11.0 // indirect
golang.org/x/term v0.11.0 // indirect
golang.org/x/text v0.12.0 // indirect
golang.org/x/tools v0.12.0 // indirect
google.golang.org/genproto v0.0.0-20230629202037-9506855d4529 // indirect
google.golang.org/genproto/googleapis/api v0.0.0-20230526203410-71b5a4ffd15e // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20230706204954-ccb25ca9f130 // indirect
Expand All @@ -183,11 +185,11 @@ replace (
github.com/ChainSafe/go-schnorrkel => github.com/ChainSafe/go-schnorrkel v0.0.0-20200405005733-88cbf1b4c40d
github.com/ChainSafe/go-schnorrkel/1 => github.com/ChainSafe/go-schnorrkel v1.0.0

// For this nested module, you always want to replace the parent reference with the current worktree.
github.com/circlefin/noble-cctp-private-builds => ../

github.com/gogo/protobuf => github.com/regen-network/protobuf v1.3.3-alpha.regen.1

// For this nested module, you always want to replace the parent reference with the current worktree.
github.com/strangelove-ventures/noble => ../

// cometbft
github.com/tendermint/tendermint => github.com/cometbft/cometbft v0.34.27

Expand Down
Loading

0 comments on commit 4932780

Please sign in to comment.