Skip to content

Add additional invariant check to enterCommit #7020

@williambanfield

Description

@williambanfield

During #6954 it was discovered that enterCommit does not check that the block that has received +2/3 precommits is non-nil. This check is performed outside of the call to enterCommit but should likely also be added to enterCommit to safeguard against the check not being included outside the method for future uses.

Metadata

Metadata

Assignees

No one assigned

    Labels

    stalefor use by stalebot

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions