Skip to content

Commit

Permalink
remove old bootnode dns
Browse files Browse the repository at this point in the history
we will switchover completely to the new HA dns
  • Loading branch information
aly-obol committed Aug 24, 2022
1 parent 1af62d6 commit 42f01a7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions cmd/cmd_internal_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ func TestCmdFlags(t *testing.T) {
Format: "console",
},
P2P: p2p.Config{
UDPBootnodes: []string{"http://bootnode.lb.gcp.obol.tech:3640/enr", "http://bootnode.gcp.obol.tech:3640/enr"},
UDPBootnodes: []string{"http://bootnode.lb.gcp.obol.tech:3640/enr"},
UDPAddr: "127.0.0.1:3630",
TCPAddrs: []string{"127.0.0.1:3610"},
Allowlist: "",
Expand All @@ -97,7 +97,7 @@ func TestCmdFlags(t *testing.T) {
Args: slice("create", "enr"),
Datadir: ".charon",
P2PConfig: &p2p.Config{
UDPBootnodes: []string{"http://bootnode.lb.gcp.obol.tech:3640/enr", "http://bootnode.gcp.obol.tech:3640/enr"},
UDPBootnodes: []string{"http://bootnode.lb.gcp.obol.tech:3640/enr"},
UDPAddr: "127.0.0.1:3630",
TCPAddrs: []string{"127.0.0.1:3610"},
Allowlist: "",
Expand Down
2 changes: 1 addition & 1 deletion cmd/run.go
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ func bindDataDirFlag(flags *pflag.FlagSet, dataDir *string) {
}

func bindP2PFlags(flags *pflag.FlagSet, config *p2p.Config) {
flags.StringSliceVar(&config.UDPBootnodes, "p2p-bootnodes", []string{"http://bootnode.lb.gcp.obol.tech:3640/enr", "http://bootnode.gcp.obol.tech:3640/enr"}, "Comma-separated list of discv5 bootnode URLs or ENRs.")
flags.StringSliceVar(&config.UDPBootnodes, "p2p-bootnodes", []string{"http://bootnode.lb.gcp.obol.tech:3640/enr"}, "Comma-separated list of discv5 bootnode URLs or ENRs.")
flags.BoolVar(&config.BootnodeRelay, "p2p-bootnode-relay", false, "Enables using bootnodes as libp2p circuit relays. Useful if some charon nodes are not have publicly accessible.")
flags.BoolVar(&config.UDPBootLock, "p2p-bootnodes-from-lockfile", false, "Enables using cluster lock ENRs as discv5 bootnodes. Allows skipping explicit bootnodes if key generation ceremony included correct IPs.")
flags.StringVar(&config.UDPAddr, "p2p-udp-address", "127.0.0.1:3630", "Listening UDP address (ip and port) for discv5 discovery.")
Expand Down

0 comments on commit 42f01a7

Please sign in to comment.