near / nearcore

Reference client for NEAR Protocol
https://near.org
GNU General Public License v3.0
2.32k stars 623 forks source link

feat: Introduce min-max online ratio for chunk endorsement #12034

Closed tayfunelmas closed 1 month ago

codecov[bot] commented 2 months ago

Codecov Report

Attention: Patch coverage is 77.46479% with 32 lines in your changes missing coverage. Please review.

Project coverage is 71.40%. Comparing base (e8fa073) to head (0cb57e5).

Files with missing lines Patch % Lines
chain/epoch-manager/src/validator_stats.rs 59.57% 19 Missing :warning:
core/primitives/src/epoch_manager.rs 47.05% 7 Missing and 2 partials :warning:
chain/epoch-manager/src/lib.rs 73.33% 3 Missing and 1 partial :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #12034 +/- ## =========================================== + Coverage 0 71.40% +71.40% =========================================== Files 0 814 +814 Lines 0 164824 +164824 Branches 0 164824 +164824 =========================================== + Hits 0 117699 +117699 - Misses 0 41951 +41951 - Partials 0 5174 +5174 ``` | [Flag](https://app.codecov.io/gh/near/nearcore/pull/12034/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=near) | Coverage Δ | | |---|---|---| | [backward-compatibility](https://app.codecov.io/gh/near/nearcore/pull/12034/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=near) | `0.17% <0.00%> (?)` | | | [db-migration](https://app.codecov.io/gh/near/nearcore/pull/12034/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=near) | `0.17% <0.00%> (?)` | | | [genesis-check](https://app.codecov.io/gh/near/nearcore/pull/12034/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=near) | `1.27% <0.00%> (?)` | | | [integration-tests](https://app.codecov.io/gh/near/nearcore/pull/12034/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=near) | `38.57% <50.70%> (?)` | | | [linux](https://app.codecov.io/gh/near/nearcore/pull/12034/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=near) | `71.19% <77.46%> (?)` | | | [linux-nightly](https://app.codecov.io/gh/near/nearcore/pull/12034/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=near) | `71.02% <77.46%> (?)` | | | [macos](https://app.codecov.io/gh/near/nearcore/pull/12034/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=near) | `53.83% <77.46%> (?)` | | | [pytests](https://app.codecov.io/gh/near/nearcore/pull/12034/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=near) | `1.54% <0.00%> (?)` | | | [sanity-checks](https://app.codecov.io/gh/near/nearcore/pull/12034/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=near) | `1.34% <0.00%> (?)` | | | [unittests](https://app.codecov.io/gh/near/nearcore/pull/12034/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=near) | `65.24% <77.46%> (?)` | | | [upgradability](https://app.codecov.io/gh/near/nearcore/pull/12034/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=near) | `0.21% <0.00%> (?)` | | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=near#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.