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

fix: recently signed check when slashing unavailable validator #1547

Merged
merged 1 commit into from
May 8, 2023

Commits on May 8, 2023

  1. fix: recently signed check when slashing unavailable validator

    The first validator in snap.Recents is shifted out and allowed to seal the block
    already. However, when determining if we should slash the validator in Finalize
    and FinalizeAndAssemble, we mark that first validator as unable to seal block
    and don't slash this validator. This commit fixes that bug and creates a
    separate helper function to check if the validator recently signed a block for
    consistency in all places the check happens.
    minh-bq committed May 8, 2023
    Configuration menu
    Copy the full SHA
    762c3af View commit details
    Browse the repository at this point in the history