From 9f47cd4061d3096160445a04f07ae2f5c7a70a6a Mon Sep 17 00:00:00 2001 From: corverroos Date: Fri, 25 Mar 2022 17:19:42 +0200 Subject: [PATCH] cleanup --- cmd/run.go | 4 ++-- docs/configuration.md | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/cmd/run.go b/cmd/run.go index e030fd957..1c6fe3cf4 100644 --- a/cmd/run.go +++ b/cmd/run.go @@ -54,8 +54,8 @@ func bindRunFlags(flags *pflag.FlagSet, config *app.Config) { flags.StringVar(&config.ValidatorAPIAddr, "validator-api-address", "127.0.0.1:3500", "Listening address (ip and port) for validator-facing traffic proxying the beacon-node API") flags.StringVar(&config.MonitoringAddr, "monitoring-address", "127.0.0.1:8088", "Listening address (ip and port) for the monitoring API (prometheus, pprof)") flags.StringVar(&config.JaegerAddr, "jaeger-address", "", "Listening address for jaeger tracing") - flags.BoolVar(&config.SimnetVMock, "simnet-validator-mock", false, "Enables mock validator when running simnet.") - flags.BoolVar(&config.Simnet, "simnet", false, "Enables simnet, starts and connect to a mock beacon node.") + flags.BoolVar(&config.Simnet, "simnet", false, "Enables simnet, starts and connects to an internal mock beacon node.") + flags.BoolVar(&config.SimnetVMock, "simnet-validator-mock", false, "Enables an internal mock validator client when running simnet.") } func bindGeneralFlags(flags *pflag.FlagSet, dataDir *string) { diff --git a/docs/configuration.md b/docs/configuration.md index 4c4979c4c..2d7f476a7 100644 --- a/docs/configuration.md +++ b/docs/configuration.md @@ -36,8 +36,8 @@ Flags: --p2p-peerdb string Path to store a discv5 peer database. Empty default results in in-memory database. --p2p-tcp-address strings Comma-separated list of listening TCP addresses (ip and port) for LibP2P traffic (default [127.0.0.1:13900]) --p2p-udp-address string Listening UDP address (ip and port) for Discv5 discovery (default "127.0.0.1:30309") - --simnet Enables simnet, starts and connect to a mock beacon node. - --simnet-validator-mock Enables mock validator when running simnet. + --simnet Enables simnet, starts and connects to an internal mock beacon node. + --simnet-validator-mock Enables an internal mock validator client when running simnet. --validator-api-address string Listening address (ip and port) for validator-facing traffic proxying the beacon-node API (default "127.0.0.1:3500") ````