Closed tayfunelmas closed 1 month ago
Attention: Patch coverage is 98.80952%
with 1 line
in your changes missing coverage. Please review.
Project coverage is 71.60%. Comparing base (
52b4684
) to head (c59ba95
). Report is 1 commits behind head on master.
Files with missing lines | Patch % | Lines |
---|---|---|
core/primitives/src/views.rs | 97.56% | 0 Missing and 1 partial :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
The test
rpc_hash.py
revealed two problems for the changes previously done for task #11900. 1)BlockHeaderView
was not updated to representBlockHeaderV5
, so added chunk endorsements bitmap there (we add the inner vector instead of exposingChunkEndorsementBitmap
struct there). 2) Genesis block header was not updated to representBlockHeaderV5
, so added an empty bitmap to the genesis block header.Then we updated the test
rpc_hash.py
to check for nightly version producingBlockHeaderV5
with endorsements bitmap as well.TODO: We noticed that there are 3 places that we generate
BlockHeader
versions usingBlockHeader::new()
function (when producing blocks, for genesis block, and from view to header conversion). Added a TODO to consolidate them instead of needing to update separate places.Also fix test_inflation integration test by updating the validator reward multiplier.