diff --git a/beacon_chain/conf.nim b/beacon_chain/conf.nim index 5795b1ec1..907e063f7 100644 --- a/beacon_chain/conf.nim +++ b/beacon_chain/conf.nim @@ -699,7 +699,7 @@ type of DepositsCmd.exit: exitedValidator* {. name: "validator" - desc: "Validator index or a public key of the exited validator" .}: string + desc: "Validator index, public key or a keystore path of the exited validator" .}: string exitAtEpoch* {. name: "epoch" diff --git a/docs/the_nimbus_book/src/voluntary-exit.md b/docs/the_nimbus_book/src/voluntary-exit.md index 118900f15..7d98eb67c 100644 --- a/docs/the_nimbus_book/src/voluntary-exit.md +++ b/docs/the_nimbus_book/src/voluntary-exit.md @@ -15,24 +15,24 @@ Exits are subject to a wait period that depends on the length of the exit queue. !!! note Voluntary exits won't be processed if the chain isn't finalising. -To perform a voluntary exit, make sure your beacon node is running with the `--rest`option enabled (e.g. `./run-mainnet-beacon-node.sh --rest`), then run: +To perform a voluntary exit, make sure your beacon node is running with the `--rest` option enabled (e.g. `./run-mainnet-beacon-node.sh --rest`), then run: === "Mainnet" ``` build/nimbus_beacon_node deposits exit \ --data-dir=build/data/shared_mainnet_0 \ - --validator= + --validator= ``` === "Prater" ``` build/nimbus_beacon_node deposits exit \ --data-dir=build/data/shared_prater_0 \ - --validator= + --validator= ``` !!! note - Make sure your `` is prefixed with `0x`. In other words the public key should look like `0x95e3...` + In the command above, you must replace `` with the file-system path of an Ethereum [ERC-2335 Keystore](https://eips.ethereum.org/EIPS/eip-2335) created by a tool such as [staking-deposit-cli](https://github.com/ethereum/staking-deposit-cli) or [ethdo](https://github.com/wealdtech/ethdo). ## `rest-url` parameter