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

Ensure light client optimistic_header to be at head #2814

Merged
merged 1 commit into from
Feb 9, 2022
Merged

Ensure light client optimistic_header to be at head #2814

merged 1 commit into from
Feb 9, 2022

Commits on Jan 25, 2022

  1. Ensure light client optimistic_header to be at head

    When a light client updates its `finalized_header` using a forced update
    because of the timeout, and the new header was not signed by enough sync
    committee participants to pass `get_safety_threshold(store)`, it may
    occur that `store.finalized_header.slot > store.optimistic_header.slot`.
    This patch ensures that the `optimistic_header` is updated to the latest
    `finalized_header` if that happens, so that it always indicates the
    latest known and accepted head.
    etan-status committed Jan 25, 2022
    Configuration menu
    Copy the full SHA
    0e9460b View commit details
    Browse the repository at this point in the history