Closed tayfunelmas closed 1 month ago
Attention: Patch coverage is 77.14286%
with 8 lines
in your changes missing coverage. Please review.
Project coverage is 71.59%. Comparing base (
4b11f9f
) to head (f0b02c4
). Report is 1 commits behind head on master.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
We previously excluded
ChunkEndorsementsInBlockHeader
(which also introducesBlockHeaderV5
) from Nightly. In this PR, we move it to the Nightly version.For this, we fix a bunch of validation checks (which applied incorrect checks) and tests (which did not initialize endorsement signatures correctly). For example, some validation checks are moved from validating-block-body to validating-header since the validator assignments are not available (the assignments are from the height the chunk was created, not included).
We also fix an incorrect use of the bitmap that, when a chunk is old (missing), the endorsement bitmap (and endorsement signatures) must be empty, so we should consider the endorsements expected but not produced (previously it considered endorsements not expected at all).