From c8317f2c29cf7a9800ef731fce00b7cd2d0cdaf7 Mon Sep 17 00:00:00 2001 From: Paul Hauner Date: Thu, 3 Aug 2023 11:34:38 +1000 Subject: [PATCH] Apply suggestions from code review Co-authored-by: chonghe <44791194+chong-he@users.noreply.github.com> --- book/src/validator-manager-create.md | 9 ++++++++- book/src/validator-manager-move.md | 6 +++++- 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/book/src/validator-manager-create.md b/book/src/validator-manager-create.md index 904756d7444..9d8a3b0c93e 100644 --- a/book/src/validator-manager-create.md +++ b/book/src/validator-manager-create.md @@ -171,7 +171,14 @@ Uploaded keystore 2 of 2 to the VC The user should now *securely* delete the `validators.json` file (e.g., `shred -u validators.json`). The `validators.json` contains the unencrypted validator keys and must not be shared with anyone. - +At the same time, `lighthouse vc` will log: +```bash +INFO Importing keystores via standard HTTP API, count: 1 +WARN No slashing protection data provided with keystores +INFO Enabled validator voting_pubkey: 0xab6e29f1b98fedfca878edce2b471f1b5ee58ee4c3bd216201f98254ef6f6eac40a53d74c8b7da54f51d3e85cacae92f, signing_method: local_keystore +INFO Modified key_cache saved successfully +``` +The WARN message means that the `validators.json` file does not contain the slashing protection data. This is normal if you are starting a new validator. The flag `--enable-doppelganger-protection` will also protect users from potential slashing risk. The validators will now go through 2-3 epochs of [doppelganger protection](./validator-doppelganger.md) and will automatically start performing their duties when they are deposited and activated. The guide is complete. \ No newline at end of file diff --git a/book/src/validator-manager-move.md b/book/src/validator-manager-move.md index ef40c02c0d3..af1a1623595 100644 --- a/book/src/validator-manager-move.md +++ b/book/src/validator-manager-move.md @@ -170,7 +170,11 @@ Moved keystore 1 of 2 Moved keystore 2 of 2 Done. ``` - +At the same time, `lighthouse vc` will log: +```bash +INFO Importing keystores via standard HTTP API, count: 1 +INFO Enabled validator voting_pubkey: 0xab6e29f1b98fedfca878edce2b471f1b5ee58ee4c3bd216201f98254ef6f6eac40a53d74c8b7da54f51d3e85cacae92f, signing_method: local_keystore +INFO Modified key_cache saved successfully Once the operation completes successfully, there is nothing else to be done. The validators have been removed from the `src-host` and enabled at the `dest-host`. If the `--enable-doppelganger-protection` flag was used it may take 2-3 epochs