Skip to content

Commit

Permalink
fix(namada): Remove unnecesary namada config (#1301)
Browse files Browse the repository at this point in the history
  • Loading branch information
yito88 authored Nov 12, 2024
1 parent bab7af8 commit 5a20631
Showing 1 changed file with 0 additions and 11 deletions.
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

0 comments on commit 5a20631

Please sign in to comment.