diff --git a/conv/config_test.go b/conv/config_test.go index 9eab92b82..c0b6ef5ef 100644 --- a/conv/config_test.go +++ b/conv/config_test.go @@ -14,7 +14,6 @@ func TestGetNodeConfig(t *testing.T) { validCosmos := "127.0.0.1:1234" validDymint := "/ip4/127.0.0.1/tcp/1234" - validSeed := "https://ade4d8bc8cbe014af6ebdf3cb7b1e9ad36f412c0@seeds.polkachu.com:20556" cases := []struct { name string @@ -23,8 +22,7 @@ func TestGetNodeConfig(t *testing.T) { expectError bool }{ {"empty", nil, config.NodeConfig{}, true}, - // TODO: get a valid seed and replace its value - {"Seeds", &tmcfg.Config{P2P: &tmcfg.P2PConfig{Seeds: validSeed}}, config.NodeConfig{P2P: config.P2PConfig{Seeds: validSeed}}, true}, + {"Seeds", &tmcfg.Config{P2P: &tmcfg.P2PConfig{Seeds: validCosmos + "," + validCosmos}}, config.NodeConfig{P2P: config.P2PConfig{Seeds: validDymint + "," + validDymint}}, false}, //GetNodeConfig translates the listen address, so we expect the translated address {"ListenAddress", &tmcfg.Config{P2P: &tmcfg.P2PConfig{ListenAddress: validCosmos}}, config.NodeConfig{P2P: config.P2PConfig{ListenAddress: validDymint}}, false}, {"RootDir", &tmcfg.Config{BaseConfig: tmcfg.BaseConfig{RootDir: "~/root"}}, config.NodeConfig{RootDir: "~/root"}, false},