• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

shinghim / rust-bitcoin / 16951269912
83%
master: 84%

Build:
Build:
LAST BUILD BRANCH: units-fuzz
DEFAULT BRANCH: master
Ran 13 Aug 2025 10:57PM UTC
Jobs 1
Files 132
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

13 Aug 2025 10:56PM UTC coverage: 83.4% (+0.02%) from 83.382%
16951269912

push

github

shinghim
Fix overflow bug in `Weight` constructors

This fixes an overflow bug which occured when these ceil functions were
called with `Weight::MAX`, which is a u64::MAX under the hood. This
resulted in the function panicking due to an overflow since part of the
ceil operation involves adding to the `Weight` before dividing by the
appropriate unit. Also removed `Weight::from_non_witness_data_size`
since it does the same thing as `Weight::from_vb`

11 of 11 new or added lines in 3 files covered. (100.0%)

54 existing lines in 2 files now uncovered.

21564 of 25856 relevant lines covered (83.4%)

15108.66 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
13
88.74
-0.58% units/src/weight.rs
41
93.2
0.09% bitcoin/src/blockdata/transaction.rs
Jobs
ID Job ID Ran Files Coverage
1 16951269912.1 13 Aug 2025 10:57PM UTC 132
83.4
GitHub Action Run
Source Files on build 16951269912
  • Tree
  • List 132
  • Changed 4
  • Source Changed 3
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #16951269912
  • 8286aa92 on github
  • Prev Build on units-fuzz (#16925535236)
  • Next Build on units-fuzz (#16980390001)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc