You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
## Issue Addressed
Updated Lighthouse book on Section 2 and added some FAQs
## Proposed Changes
All changes are made in the book/src .md files.
## Additional Info
Please provide any additional information. For example, future considerations
or information useful for reviewers.
Co-authored-by: chonghe <tanck2005@gmail.com>
Co-authored-by: Michael Sproul <micsproul@gmail.com>
Copy file name to clipboardExpand all lines: book/src/faq.md
+49-1Lines changed: 49 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -9,6 +9,11 @@
9
9
-[What is "Syncing deposit contract block cache"?](#what-is-syncing-deposit-contract-block-cache)
10
10
-[Can I use redundancy in my staking setup?](#can-i-use-redundancy-in-my-staking-setup)
11
11
-[How can I monitor my validators?](#how-can-i-monitor-my-validators)
12
+
-[I see beacon logs showing `WARN: Execution engine called failed`, what should I do?](#i-see-beacon-logs-showing-warn-execution-engine-called-failed-what-should-i-do)
13
+
-[How do I check or update my withdrawal credentials?](#how-do-i-check-or-update-my-withdrawal-credentials)
14
+
-[I am missing attestations. Why?](#i-am-missing-attestations-why)
15
+
-[Sometimes I miss the attestation head vote, resulting in penalty. Is this normal?](#sometimes-i-miss-the-attestation-head-vote-resulting-in-penalty-is-this-normal)
16
+
-[My beacon node is stuck at downloading historical block using checkpoing sync. What can I do?](#my-beacon-node-is-stuck-at-downloading-historical-block-using-checkpoing-sync-what-can-i-do)
12
17
13
18
### Why does it take so long for a validator to be activated?
14
19
@@ -185,4 +190,47 @@ However, there are some components which can be configured with redundancy. See
185
190
186
191
Apart from using block explorers, you may use the "Validator Monitor" built into Lighthouse which
187
192
provides logging and Prometheus/Grafana metrics for individual validators. See [Validator
188
-
Monitoring](./validator-monitoring.md) for more information.
193
+
Monitoring](./validator-monitoring.md) for more information. Lighthouse has also developed Lighthouse UI (Siren) to monitor performance, see [Lighthouse UI (Siren)](./lighthouse-ui.md).
194
+
195
+
### I see beacon logs showing `WARN: Execution engine called failed`, what should I do?
196
+
197
+
The `WARN Execution engine called failed` log is shown when the beacon node cannot reach the execution engine. When this warning occurs, it will be followed by a detailed message. A frequently encountered example of the error message is:
which says `TimedOut` at the end of the message. This means that the execution engine has not responded in time to the beacon node. There are a few reasons why this can occur:
202
+
1. The execution engine is not synced. Check the log of the execution engine to make sure that it is synced. If it is syncing, wait until it is synced and the error will disappear. You will see the beacon node logs `INFO Execution engine online` when it is synced.
203
+
1. The computer is overloaded. Check the CPU and RAM usage to see if it has overloaded. You can use `htop` to check for CPU and RAM usage.
204
+
1. Your SSD is slow. Check if your SSD is in "The Bad" list [here](https://gist.github.com/yorickdowne/f3a3e79a573bf35767cd002cc977b038). If your SSD is in "The Bad" list, it means it cannot keep in sync to the network and you may want to consider upgrading to a better SSD.
205
+
206
+
If the reason for the error message is caused by no. 1 above, you may want to look further. If the execution engine is out of sync suddenly, it is usually caused by ungraceful shutdown. The common causes for ungraceful shutdown are:
207
+
- Power outage. If power outages are an issue at your place, consider getting a UPS to avoid ungraceful shutdown of services.
208
+
- The service file is not stopped properly. To overcome this, make sure that the process is stop properly, e.g., during client updates.
209
+
- Out of memory (oom) error. This can happen when the system memory usage has reached its maximum and causes the execution engine to be killed. When this occurs, the log file will show `Main process exited, code=killed, status=9/KILL`. You can also run `sudo journalctl -a --since "18 hours ago" | grep -i "killed process` to confirm that the execution client has been killed due to oom. If you are using geth as the execution client, a short term solution is to reduce the resources used, for example: (1) reduce the cache by adding the flag `--cache 2048` (2) connect to less peers using the flag `--maxpeers 10`. If the oom occurs rather frequently, a long term solution is to increase the memory capacity of the computer.
210
+
211
+
212
+
### How do I check or update my withdrawal credentials?
213
+
Withdrawals will be available after the Capella/Shanghai upgrades on 12<sup>th</sup> April 2023. To check that if you are eligible for withdrawals, go to [Staking launchpad](https://launchpad.ethereum.org/en/withdrawals), enter your validator index and click `verify on mainnet`:
214
+
-`withdrawals enabled` means you will automatically receive withdrawals to the withdrawal address that you set.
215
+
-`withdrawals not enabled` means you will need to update your withdrawal credentials from `0x00` type to `0x01` type. The common way to do this is using `Staking deposit CLI` or `ethdo`, with the instructions available [here](https://launchpad.ethereum.org/en/withdrawals#update-your-keys).
216
+
217
+
For the case of `withdrawals not enabled`, you can update your withdrawal credentials **anytime**, and there is no deadline for that. The catch is that as long as you do not update your withdrawal credentials, your rewards in the beacon chain will continue to be locked in the beacon chain. Only after you update the withdrawal credentials, will the rewards be withdrawn to the withdrawal address.
218
+
219
+
220
+
### I am missing attestations. Why?
221
+
The first thing is to ensure both consensus and execution clients are synced with the network. If they are synced, there may still be some issues with the node setup itself that is causing the missed attestations. Check the setup to ensure that:
222
+
- the clock is synced
223
+
- the computer has sufficient resources and is not overloaded
224
+
- the internet is working well
225
+
- you have sufficient peers
226
+
227
+
You can see more information on the [Ethstaker KB](https://ethstaker.gitbook.io/ethstaker-knowledge-base/help/missed-attestations). Once the above points are good, missing attestation should be a rare occurance.
228
+
229
+
### Sometimes I miss the attestation head vote, resulting in penalty. Is this normal?
230
+
231
+
In general it is unavoiadable to have some penalties occasionally. This is particularly the case when you are assigned to attest on the first slot of an epoch and if the proposer of that slot releases the block late, then you will get penalised for missing the target and head votes. Your attestation performance does not only depend on your own setup, but also on everyone else's performance.
232
+
233
+
234
+
### My beacon node is stuck at downloading historical block using checkpoing sync. What can I do?
235
+
236
+
Check the number of peers you are connected to. If you have low peers (less than 50), try to do port forwarding on the port 9000 TCP/UDP to increase peer count.
1. Download the `lighthouse-${VERSION}-x86_64-unknown-linux-gnu.tar.gz` binary. For example, to obtain the binary file for v4.0.1 (the latest version at the time of writing), a user can run the following commands in a linux terminal:
tar -xvf lighthouse-v4.0.1-x86_64-unknown-linux-gnu.tar.gz
37
+
```
36
38
1. Test the binary with `./lighthouse --version` (it should print the version).
37
-
1. (Optional) Move the `lighthouse` binary to a location in your `PATH`, so the `lighthouse` command can be called from anywhere.
38
-
- E.g., `cp lighthouse /usr/bin`
39
+
1. (Optional) Move the `lighthouse` binary to a location in your `PATH`, so the `lighthouse`command can be called from anywhere. For example, to copy `lighthouse` from the current directory to `usr/bin`, run `sudo cp lighthouse /usr/bin`.
39
40
40
-
> Windows users will need to execute the commands in Step 3 from PowerShell.
41
+
42
+
43
+
> Windows users will need to execute the commands in Step 2 from PowerShell.
41
44
42
45
## Portability
43
46
@@ -64,4 +67,4 @@ WARN CPU seems incompatible with optimized Lighthouse build, advice: If you get
64
67
65
68
On some VPS providers, the virtualization can make it appear as if CPU features are not available,
66
69
even when they are. In this case you might see the warning above, but so long as the client
67
-
continues to function it's nothing to worry about.
70
+
continues to function, it's nothing to worry about.
1. Install the [Chocolatey](https://chocolatey.org/install) package manager for Windows.
67
+
> Tips:
68
+
> - Use PowerShell to install. In Windows, search for PowerShell and run as administrator.
69
+
> - You must ensure `Get-ExecutionPolicy` is not Restricted. To test this, run `Get-ExecutionPolicy` in PowerShell. If it returns `restricted`, then run `Set-ExecutionPolicy AllSigned`, and then run
0 commit comments