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

tari-project / bulletproofs-plus / 6245221995 / 1
98%
main: 98%

Build:
DEFAULT BRANCH: main
Ran 20 Sep 2023 07:17AM UTC
Files 20
Run time 0s
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.1

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.

2125 of 2180 relevant lines covered (97.48%)

1256.48 hits per line

Source Files on job 6245221995.1
  • Tree
  • List 0
  • Changed 5
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 6245221995
  • e01c3801 on github
  • Prev Job for on main (#6245198298.1)
  • Next Job for on main (#6251735578.1)
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