Skip to content
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

log correctly the head changed when it actually changes #12324

Merged
merged 8 commits into from
Apr 27, 2023

Conversation

potuz
Copy link
Contributor

@potuz potuz commented Apr 24, 2023

return confirmation from forkchoiceUpdateWithExecution of whether the head was changed in fact, so as to log correctly when head changes due to attestation counting.

@potuz potuz requested a review from a team as a code owner April 24, 2023 17:16
Copy link
Member

@terencechain terencechain left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why not move the log to within forkchoiceUpdateWithExecution unless we only care about it for attestations?

@potuz
Copy link
Contributor Author

potuz commented Apr 24, 2023

Why not move the log to within forkchoiceUpdateWithExecution unless we only care about it for attestations?

because that's called within block insertion and this log is about head changing on new slot. We already log reorgs on block insertion.

@potuz potuz added Ready For Review A pull request ready for code review OK to merge labels Apr 26, 2023
@prylabs-bulldozer prylabs-bulldozer bot merged commit b56f3e7 into develop Apr 27, 2023
@delete-merged-branch delete-merged-branch bot deleted the log-head-changes-correctly branch April 27, 2023 17:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Ready For Review A pull request ready for code review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants