Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: change tendermint logging to debug for e2e #3279

Merged
merged 7 commits into from
Mar 14, 2023
Merged
26 changes: 17 additions & 9 deletions e2e/testconfig/testconfig.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ import (
govv1 "github.com/cosmos/cosmos-sdk/x/gov/types/v1"
govv1beta1 "github.com/cosmos/cosmos-sdk/x/gov/types/v1beta1"
"github.com/strangelove-ventures/interchaintest/v7/ibc"
interchaintestutil "github.com/strangelove-ventures/interchaintest/v7/testutil"

"github.com/cosmos/ibc-go/e2e/relayer"
"github.com/cosmos/ibc-go/e2e/semverutil"
Expand Down Expand Up @@ -197,6 +198,12 @@ func DefaultChainOptions() ChainOptions {

// newDefaultSimappConfig creates an ibc configuration for simd.
func newDefaultSimappConfig(cc ChainConfig, name, chainID, denom string) ibc.ChainConfig {
configFileOverrides := make(map[string]any)
tmTomlOverrides := make(interchaintestutil.Toml)

tmTomlOverrides["log_level"] = "info" // change to debug to increase cometbft logging
configFileOverrides["config/config.toml"] = tmTomlOverrides

return ibc.ChainConfig{
Type: "cosmos",
Name: name,
Expand All @@ -207,15 +214,16 @@ func newDefaultSimappConfig(cc ChainConfig, name, chainID, denom string) ibc.Cha
Version: cc.Tag,
},
},
Bin: cc.Binary,
Bech32Prefix: "cosmos",
CoinType: fmt.Sprint(sdk.GetConfig().GetCoinType()),
Denom: denom,
GasPrices: fmt.Sprintf("0.00%s", denom),
GasAdjustment: 1.3,
TrustingPeriod: "508h",
NoHostMount: false,
ModifyGenesis: getGenesisModificationFunction(cc),
Bin: cc.Binary,
Bech32Prefix: "cosmos",
CoinType: fmt.Sprint(sdk.GetConfig().GetCoinType()),
Denom: denom,
GasPrices: fmt.Sprintf("0.00%s", denom),
GasAdjustment: 1.3,
TrustingPeriod: "508h",
NoHostMount: false,
ModifyGenesis: getGenesisModificationFunction(cc),
ConfigFileOverrides: configFileOverrides,
}
}

Expand Down