Skip to content

Commit

Permalink
test: improve suite (#242)
Browse files Browse the repository at this point in the history
  • Loading branch information
mbreithecker authored Feb 6, 2025
1 parent f712d86 commit 1f27380
Show file tree
Hide file tree
Showing 22 changed files with 684 additions and 459 deletions.
3 changes: 1 addition & 2 deletions interchaintest/global/abci_utils_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import (

"cosmossdk.io/math"

"github.com/KYVENetwork/chain/app"
i "github.com/KYVENetwork/chain/testutil/integration"
sdk "github.com/cosmos/cosmos-sdk/types"
sdktestutil "github.com/cosmos/cosmos-sdk/types/module/testutil"
Expand All @@ -28,7 +27,7 @@ const (

func encodingConfig() *sdktestutil.TestEncodingConfig {
cfg := sdktestutil.TestEncodingConfig{}
a := app.Setup()
a := i.NewCleanChain().App()

cfg.Codec = a.AppCodec()
cfg.TxConfig = authtx.NewTxConfig(a.AppCodec(), authtx.DefaultSignModes)
Expand Down
5 changes: 3 additions & 2 deletions interchaintest/ibc/ibc_utils_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,10 @@ import (
"encoding/json"
"strconv"

i "github.com/KYVENetwork/chain/testutil/integration"

"cosmossdk.io/math"

"github.com/KYVENetwork/chain/app"
sdk "github.com/cosmos/cosmos-sdk/types"
sdktestutil "github.com/cosmos/cosmos-sdk/types/module/testutil"
authtx "github.com/cosmos/cosmos-sdk/x/auth/tx"
Expand All @@ -24,7 +25,7 @@ const (

func encodingConfig() *sdktestutil.TestEncodingConfig {
cfg := sdktestutil.TestEncodingConfig{}
a := app.Setup()
a := i.NewCleanChain().App()

cfg.Codec = a.AppCodec()
cfg.TxConfig = authtx.NewTxConfig(a.AppCodec(), authtx.DefaultSignModes)
Expand Down
Loading

0 comments on commit 1f27380

Please sign in to comment.