Skip to content

fix: limit possible underflows/overflows - #7459

Open
LesnyRumcajs wants to merge 1 commit into
mainfrom
limit-possible-over-underflows
Open

fix: limit possible underflows/overflows#7459
LesnyRumcajs wants to merge 1 commit into
mainfrom
limit-possible-over-underflows

fix: limit possible underflows/overflows

3e8983d
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Aug 7, 2026 in 0s

65.22% (+0.07%) compared to 9199a82

View this Pull Request on Codecov

65.22% (+0.07%) compared to 9199a82

Details

Codecov Report

❌ Patch coverage is 87.87879% with 28 lines in your changes missing coverage. Please review.
✅ Project coverage is 65.22%. Comparing base (9199a82) to head (3e8983d).
⚠️ Report is 1 commits behind head on main.
✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
src/beacon/drand.rs 75.00% 1 Missing and 6 partials ⚠️
src/rpc/methods/state.rs 87.80% 2 Missing and 3 partials ⚠️
src/blocks/header.rs 66.66% 0 Missing and 2 partials ⚠️
src/chain/mod.rs 80.00% 1 Missing and 1 partial ⚠️
src/rpc/methods/chain.rs 83.33% 2 Missing ⚠️
src/wallet/subcommands/wallet_cmd.rs 0.00% 2 Missing ⚠️
src/beacon/mock_beacon.rs 50.00% 0 Missing and 1 partial ⚠️
src/chain/store/chain_store.rs 0.00% 0 Missing and 1 partial ⚠️
src/chain_sync/validation.rs 95.00% 0 Missing and 1 partial ⚠️
src/db/car/forest/index/mod.rs 95.45% 0 Missing and 1 partial ⚠️
... and 4 more
Additional details and impacted files
Files with missing lines Coverage Δ
src/chain/store/errors.rs 12.50% <ø> (ø)
src/chain/store/index.rs 93.84% <100.00%> (+0.18%) ⬆️
src/daemon/db_util.rs 55.52% <100.00%> (+0.64%) ⬆️
src/lotus_json/mod.rs 77.53% <100.00%> (-0.17%) ⬇️
src/rpc/methods/eth/filter/mod.rs 89.55% <100.00%> (+0.08%) ⬆️
src/rpc/methods/f3/types.rs 62.64% <100.00%> (+0.34%) ⬆️
src/state_manager/message_search.rs 88.29% <100.00%> (+0.32%) ⬆️
src/utils/encoding/hex.rs 96.11% <100.00%> (+1.11%) ⬆️
src/beacon/mock_beacon.rs 56.25% <50.00%> (+25.00%) ⬆️
src/chain/store/chain_store.rs 73.51% <0.00%> (-0.18%) ⬇️
... and 12 more

... and 7 files with indirect coverage changes


Continue to review full report in Codecov by Harness.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 9199a82...3e8983d. Read the comment docs.

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.