|
Ran
|
Jobs
1
|
Files
20
|
Run time
2s
|
Badge
README BADGES
|
push
github
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
| ID | Job ID | Ran | Files | Coverage | |
|---|---|---|---|---|---|
| 1 | 6245221995.1 | 0 |
97.48 |
GitHub Action Run |