Skip to content

Commit

Permalink
Bump gravity dep version to v5 in integration tests
Browse files Browse the repository at this point in the history
  • Loading branch information
cbrit committed Oct 9, 2024
1 parent a9837f6 commit 01d5b58
Show file tree
Hide file tree
Showing 8 changed files with 12 additions and 12 deletions.
8 changes: 4 additions & 4 deletions integration_tests/chain.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,10 @@ import (
upgradeclient "github.com/cosmos/cosmos-sdk/x/upgrade/client"
ibctransfer "github.com/cosmos/ibc-go/v7/modules/apps/transfer"
ibc "github.com/cosmos/ibc-go/v7/modules/core"
"github.com/peggyjv/gravity-bridge/module/v4/app"
"github.com/peggyjv/gravity-bridge/module/v4/app/params"
gravityclient "github.com/peggyjv/gravity-bridge/module/v4/x/gravity/client"
gravitytypes "github.com/peggyjv/gravity-bridge/module/v4/x/gravity/types"
"github.com/peggyjv/gravity-bridge/module/v5/app"
"github.com/peggyjv/gravity-bridge/module/v5/app/params"
gravityclient "github.com/peggyjv/gravity-bridge/module/v5/x/gravity/client"
gravitytypes "github.com/peggyjv/gravity-bridge/module/v5/x/gravity/types"
)

const (
Expand Down
2 changes: 1 addition & 1 deletion integration_tests/ethereum.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/ethereum/go-ethereum/accounts/abi"
"github.com/ethereum/go-ethereum/common"
gravitytypes "github.com/peggyjv/gravity-bridge/module/v4/x/gravity/types"
gravitytypes "github.com/peggyjv/gravity-bridge/module/v5/x/gravity/types"
)

type EthereumConfig struct {
Expand Down
2 changes: 1 addition & 1 deletion integration_tests/happy_path_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import (
govtypesv1beta1 "github.com/cosmos/cosmos-sdk/x/gov/types/v1beta1"
"github.com/ethereum/go-ethereum/common"
"github.com/ory/dockertest/v3"
"github.com/peggyjv/gravity-bridge/module/v4/x/gravity/types"
"github.com/peggyjv/gravity-bridge/module/v5/x/gravity/types"
)

func (s *IntegrationTestSuite) TestHappyPath() {
Expand Down
2 changes: 1 addition & 1 deletion integration_tests/setup_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ import (
stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types"
"github.com/ory/dockertest/v3"
"github.com/ory/dockertest/v3/docker"
gravitytypes "github.com/peggyjv/gravity-bridge/module/v4/x/gravity/types"
gravitytypes "github.com/peggyjv/gravity-bridge/module/v5/x/gravity/types"
"github.com/spf13/viper"
"github.com/stretchr/testify/suite"
)
Expand Down
2 changes: 1 addition & 1 deletion integration_tests/transaction_stress_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
sdk "github.com/cosmos/cosmos-sdk/types"
banktypes "github.com/cosmos/cosmos-sdk/x/bank/types"
"github.com/ethereum/go-ethereum/common"
"github.com/peggyjv/gravity-bridge/module/v4/x/gravity/types"
"github.com/peggyjv/gravity-bridge/module/v5/x/gravity/types"
)

// We have 4 validators running so this totals to 100 tx's
Expand Down
4 changes: 2 additions & 2 deletions integration_tests/validator.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ import (
stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types"
"github.com/ethereum/go-ethereum/common/hexutil"
"github.com/ethereum/go-ethereum/crypto"
"github.com/peggyjv/gravity-bridge/module/v4/app"
gravitytypes "github.com/peggyjv/gravity-bridge/module/v4/x/gravity/types"
"github.com/peggyjv/gravity-bridge/module/v5/app"
gravitytypes "github.com/peggyjv/gravity-bridge/module/v5/x/gravity/types"
)

type validator struct {
Expand Down
2 changes: 1 addition & 1 deletion integration_tests/validator_out.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
banktypes "github.com/cosmos/cosmos-sdk/x/bank/types"
stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types"
"github.com/ethereum/go-ethereum/common"
"github.com/peggyjv/gravity-bridge/module/v4/x/gravity/types"
"github.com/peggyjv/gravity-bridge/module/v5/x/gravity/types"
)

// Validator out tests a validator that is not running the mandatory Ethereum node. This validator will be slashed and the bridge will remain functioning.
Expand Down
2 changes: 1 addition & 1 deletion integration_tests/valset_stress_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (

sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/cosmos/cosmos-sdk/x/staking/types"
gravity "github.com/peggyjv/gravity-bridge/module/v4/x/gravity/types"
gravity "github.com/peggyjv/gravity-bridge/module/v5/x/gravity/types"
)

// call stress_test for a range of nonce values
Expand Down

0 comments on commit 01d5b58

Please sign in to comment.