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

fix(namada): Remove unnecesary namada config #1301

Merged
merged 1 commit into from
Nov 12, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 0 additions & 11 deletions chain/namada/namada_node.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ import (

"github.com/strangelove-ventures/interchaintest/v8/dockerutil"
"github.com/strangelove-ventures/interchaintest/v8/ibc"
"github.com/strangelove-ventures/interchaintest/v8/testutil"
)

type NamadaNode struct {
Expand Down Expand Up @@ -182,16 +181,6 @@ func (n *NamadaNode) CreateContainer(ctx context.Context) error {
joinNetworkCmd += " --genesis-validator " + fmt.Sprintf("validator-%d", n.Index)
}

configPath := fmt.Sprintf("%s/%s/config.toml", n.HomeDir(), n.Chain.Config().ChainID)
c := make(testutil.Toml)
p2p := make(testutil.Toml)
p2p["laddr"] = "0.0.0.0:26657"
c["ledger.cometbft.p2p"] = p2p
err := testutil.ModifyTomlConfigFile(ctx, n.logger(), n.DockerClient, n.TestName, n.VolumeName, configPath, c)
if err != nil {
return err
}

mvCmd := "echo 'starting a validator node'"
if !n.Validator {
mvCmd = fmt.Sprintf(`mv %s/wallet.toml %s/%s`, n.HomeDir(), n.HomeDir(), n.Chain.Config().ChainID)
Expand Down
Loading