-
Notifications
You must be signed in to change notification settings - Fork 27
docs: update Anchor documentation #739
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: unstable
Are you sure you want to change the base?
Conversation
|
Claude encountered an error —— View job I'll analyze this and get back to you. |
| }, | ||
| ], | ||
|
|
||
| editLink: { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
deleted this because the "edit this page" is not working
|
@claude review this PR |
|
Claude finished @diegomrsantos's task —— View job Review Progress
|
docs/docs/pages/faq.mdx
Outdated
| Anchor is like a validator client. | ||
|
|
||
| Typically, by having Ethereum validators, you will run an execution client, a beacon node and a validator client. | ||
|
|
||
| However, if you run Anchor, you do not have to run the validator client. This is because, Anchor will connect with other SSV clients (which can be Anchor or the go-ssv client) to perform validator duties. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't know if we want this not to be too technical, but otherwise here is an inspiration:
The SSV Network (Secret Shared Validator network) is a protocol built on Ethereum that allows a validator’s duties to be distributed among multiple operators (node instances) in a trustless way. In SSV, a set of operators collectively run an Ethereum validator by sharing the key (via cryptographic secret sharing) and coordinating actions via a consensus algorithm (a variant of BFT). An SSV node is essentially a specialized client that an operator runs, which communicates with other operators in a cluster to perform validator duties.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the review. I combine with the first question, revised made in 828c955
dknopik
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice, thanks so much! Added a few corrections for typos and some technical notes.
docs/docs/pages/faq.mdx
Outdated
| INFO Processed contract events from block 1598180 log_count=0 | ||
| ``` | ||
|
|
||
| When attestation happens, Anchor will log: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When an attestation
docs/docs/pages/faq.mdx
Outdated
|
|
||
| ## How do I know if Anchor is working normally? | ||
|
|
||
| A synced and working Anchor has the following logs: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
working Anchor node has
docs/docs/pages/faq.mdx
Outdated
|
|
||
| <div id="how-not-working" /> | ||
|
|
||
| ## Why the validator is not attesting? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is the validator
docs/docs/pages/faq.mdx
Outdated
|
|
||
| ## Why the validator is not attesting? | ||
|
|
||
| One reason the validator that you operate on is not performing its duties could be due to some operators are offline. For example, in a cluster of 4 operators, at most 1 operator can be offline. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
some operators being offline
docs/docs/pages/faq.mdx
Outdated
| WARN No attestations were published | ||
| ``` | ||
|
|
||
| If otherwise the logs on Anchor are normal, then there is no action required on your side. Once other operators came back online, the validator should resume attesting. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is not quite correct. For example, if we can't find a good set of peers (or even no peers at all), one might also see the logs above.
docs/docs/pages/faq.mdx
Outdated
| WARN Waiting for EL to finish syncing | ||
| ``` | ||
| The error or warning Logs will go away once the beacon node and the execution client are synced. | ||
| Anchor will sync simultaneously at the same time and will be ready to perform duty soon when the beacon node and the execution client are synced. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Anchor will not sync while the EL is not synced
docs/docs/pages/faq.mdx
Outdated
| WARN Round timer elapsed | ||
| ``` | ||
|
|
||
| and the node is already at the target peer count (60), you may consider increasing the peer count using `--target-peers`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
as the target peer count is dynamic, claiming 60 here is incorrect
docs/docs/pages/faq.mdx
Outdated
|
|
||
|
|
||
|
|
||
|
|
||
|
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove additional blank lines
Thanks for the meticulous review, as always. I have address all comments in c72bc1b. Feel free to review and comment or point out any errors |

Update the docs to include mainnet configs, and also the FAQs. I am not completely sure about the technical correctness of the content, so feel free to correct me.
Thanks