From 0f5f3b522e53b9190ff203e4337b6bc887a79d55 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9my=20Roy?= Date: Sun, 6 Dec 2020 22:16:05 +0000 Subject: [PATCH] Fix default values and --network flag in Voluntary exits book page (#2056) ## Issue Addressed None yet reported. ## Proposed Changes Fix the old flag in the Voluntary exits book page to use the new `--network` flag. Also fix the default value for that flag. --- book/src/voluntary-exit.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/book/src/voluntary-exit.md b/book/src/voluntary-exit.md index 7ae952fb05..4aac647571 100644 --- a/book/src/voluntary-exit.md +++ b/book/src/voluntary-exit.md @@ -27,7 +27,7 @@ In order to initiate an exit, users can use the `lighthouse account validator ex - The `--beacon-node` flag is used to specify a beacon chain HTTP endpoint that confirms to the [Eth2.0 Standard API](https://ethereum.github.io/eth2.0-APIs/) specifications. That beacon node will be used to validate and propagate the voluntary exit. The default value for this flag is `http://localhost:5052`. -- The `--network` flag is used to specify a particular Eth2 network (default is `pyrmont`). +- The `--network` flag is used to specify a particular Eth2 network (default is `mainnet`). - The `--password-file` flag is used to specify the path to the file containing the password for the voting keystore. If this flag is not provided, the user will be prompted to enter the password. @@ -42,9 +42,9 @@ The exit phrase is the following: Below is an example for initiating a voluntary exit on the Pyrmont testnet. ``` -$ lighthouse --testnet pyrmont account validator exit --keystore /path/to/keystore --beacon-node http://localhost:5052 +$ lighthouse --network pyrmont account validator exit --keystore /path/to/keystore --beacon-node http://localhost:5052 -Running account manager for pyrmont testnet +Running account manager for pyrmont network validator-dir path: ~/.lighthouse/pyrmont/validators Enter the keystore password for validator in 0xabcd