diff --git a/chain/namada/namada_node.go b/chain/namada/namada_node.go index 96c4fdb2d..ce265a4ec 100644 --- a/chain/namada/namada_node.go +++ b/chain/namada/namada_node.go @@ -183,7 +183,8 @@ func (n *NamadaNode) CreateContainer(ctx context.Context) error { 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) + baseDir := fmt.Sprintf("%s/%s", n.HomeDir(), n.Chain.Config().ChainID) + mvCmd = fmt.Sprintf(`mv %s/wallet.toml %s && sed -i 's/127.0.0.1:26657/0.0.0.0:26657/g' %s/config.toml`, n.HomeDir(), baseDir, baseDir) } ledgerCmd := fmt.Sprintf(`%s node --base-dir %s ledger`, n.Chain.Config().Bin, n.HomeDir()) diff --git a/examples/namada/namada_chain_test.go b/examples/namada/namada_chain_test.go index 856a03b63..aff90094e 100644 --- a/examples/namada/namada_chain_test.go +++ b/examples/namada/namada_chain_test.go @@ -28,8 +28,8 @@ func TestNamadaNetwork(t *testing.T) { t.Parallel() client, network := interchaintest.DockerSetup(t) - nv := 1 - fn := 0 + nv := 2 + fn := 1 coinDecimals := namadachain.NamTokenDenom chains, err := interchaintest.NewBuiltinChainFactory(zaptest.NewLogger(t), []*interchaintest.ChainSpec{