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

tari-project / bulletproofs-plus / 6245221995
98%

Build:
DEFAULT BRANCH: main
Ran 20 Sep 2023 07:17AM UTC
Jobs 1
Files 20
Run time 2s
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 Sep 2023 07:12AM UTC coverage: 97.477% (-0.05%) from 97.529%
6245221995

push

github

web-flow
feat!: replace `lazy_static` with `once_cell` (#69)

Extended commitment generators are currently
[produced](https://github.com/tari-project/bulletproofs-plus/blob/502ae9fa3/src/ristretto.rs#L154-L179)
using the `lazy_static` macro. Unfortunately, `lazy_static` is [no
longer actively maintained](https://crates.io/crates/lazy_static). Other
repositories in the ecosystem are moving to `once_cell`, which is
[actively maintained](https://crates.io/crates/once_cell).

This PR migrates from `lazy_static` to `once_cell`. In the process, it
cleans up the construction. Specifically, it moves from using word-based
numbering (_e.g._ `ONE`, `TWO`) in hash inputs to numerals, which
simplifies the design. It also adds a useful test that asserts the
number of generators matches the size of `ExtensionDegree` to avoid
panics.

Closes #67.

BREAKING CHANGE: Modifies the construction of commitment generators.

36 of 36 new or added lines in 2 files covered. (100.0%)

2125 of 2180 relevant lines covered (97.48%)

1256.48 hits per line

Jobs
ID Job ID Ran Files Coverage
1 6245221995.1 20 Sep 2023 07:17AM UTC 0
97.48
GitHub Action Run
Source Files on build 6245221995
Detailed source file information is not available for this build.
  • Back to Repo
  • e01c3801 on github
  • Prev Build on main (#6245198298)
  • Next Build on main (#6251735578)
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