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

recompute_head executes only after the first epoch #1383

Open
rodrigo-o opened this issue Feb 5, 2025 · 0 comments
Open

recompute_head executes only after the first epoch #1383

rodrigo-o opened this issue Feb 5, 2025 · 0 comments
Labels
bug Something isn't working P1 This is a MUST for this milestone. It's a main feature, or blocking other main features.

Comments

@rodrigo-o
Copy link
Collaborator

On syncing, the head root is set to the checkpoint state block root, but never recalculated throughout the current epoch, it statrs to be recalculated just after the initial one has ended.

This could be seen in the logs, as it never shows the root change for the first couple of minutes:

INFO 19:09:21.187 [Fork choice] Adding new block slot=10997347 root=0x1ed..752a
INFO 19:09:35.494 [Fork choice] Block processed. Recomputing head. 
INFO 19:09:35.703 [Fork choice] Added new block slot=10997347 root=0x1ed..752a
INFO 19:09:35.704 [Fork choice] Recomputed head slot=10997344 root=0x61a..c919
INFO 19:09:35.704 [Fork choice] Block processing time: 14.307s | Recompute head time: 0.175s
 
INFO 19:09:35.706 [Fork choice] Adding new block slot=10997348 root=0x674..df69
INFO 19:09:50.037 [Fork choice] Block processed. Recomputing head. 
INFO 19:09:50.291 [Fork choice] Added new block slot=10997348 root=0x674..df69
INFO 19:09:50.291 [Fork choice] Recomputed head slot=10997344 root=0x61a..c919
INFO 19:09:50.291 [Fork choice] Block processing time: 14.331s | Recompute head time: 0.206s 
@rodrigo-o rodrigo-o added bug Something isn't working P1 This is a MUST for this milestone. It's a main feature, or blocking other main features. labels Feb 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working P1 This is a MUST for this milestone. It's a main feature, or blocking other main features.
Projects
Status: No status
Development

No branches or pull requests

1 participant