From 5a20631067d76520a39e2f6f0ef70acca595bd4c Mon Sep 17 00:00:00 2001 From: Yuji Ito Date: Tue, 12 Nov 2024 16:51:42 +0100 Subject: [PATCH] fix(namada): Remove unnecesary namada config (#1301) --- chain/namada/namada_node.go | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/chain/namada/namada_node.go b/chain/namada/namada_node.go index 717ba48b6..96c4fdb2d 100644 --- a/chain/namada/namada_node.go +++ b/chain/namada/namada_node.go @@ -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 { @@ -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)