-
-
Notifications
You must be signed in to change notification settings - Fork 325
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
Oonoonba sync - Invalid state root #2631
Comments
Update: ignore this |
after a while it could process the same blocks and stay synced |
Notable parts of the logs:
|
These 2 errors actually have the same root cause: we cannot process a block after fetching it from In the above log, 14255 came missing parent root, it' saved to If a gossip block come without being persisted to |
Update: this
|
when we refetch a pending block from db, it's actually a struct and we have an issue with |
We always have
|
the root cause is we compute the next sync committee indices at wrong place - when rotating epoch. At that time the epoch in the state is increased already and we have different active validator indices
at that time we should simply get sync committee indices from the available next sync committee pubkeys calculated at previous epoch transition (at sync committee period boundary) |
Describe the bug
Got this after we sync all the way to head
Expected behavior
No error
Steps to Reproduce
./bin/lodestar beacon --network oonoonba
The text was updated successfully, but these errors were encountered: