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

tari-project / bulletproofs-plus / 6589206851
98%

Build:
DEFAULT BRANCH: main
Ran 20 Oct 2023 02:47PM UTC
Jobs 1
Files 20
Run time 1s
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

20 Oct 2023 02:40PM UTC coverage: 97.333% (+0.003%) from 97.33%
6589206851

push

github

web-flow
fix: add check for unused deserialization data (#83)

Adds an extra check for unused deserialization data to ensure proof
serialization is canonical. Removes redundant length checks.

Currently, serialized proof data is read as
[chunks](https://github.com/tari-project/bulletproofs-plus/blob/e01c38018/src/range_proof.rs#L1017-L1020)
and
[tuples](https://docs.rs/itertools/latest/itertools/trait.Itertools.html#method.tuples)
for parsing purposes. Each of these functions can have leftover data.
However, existing length checks ensure such conditions cannot occur.

This PR replaces the length checks with a final check that there is no
leftover data. This helps to assert that serialization is canonical and
simplifies deserialization.

Closes #82.

21 of 21 new or added lines in 1 file covered. (100.0%)

2080 of 2137 relevant lines covered (97.33%)

2603.88 hits per line

Jobs
ID Job ID Ran Files Coverage
1 6589206851.1 20 Oct 2023 02:47PM UTC 0
97.33
GitHub Action Run
Source Files on build 6589206851
Detailed source file information is not available for this build.
  • Back to Repo
  • 55191b83 on github
  • Prev Build on main (#6589198842)
  • Next Build on main (#6589221214)
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