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

privacy-scaling-explorations / zk-kit.rust / 10704018133
90%

Build:
DEFAULT BRANCH: main
Ran 04 Sep 2024 02:43PM UTC
Jobs 1
Files 4
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

04 Sep 2024 02:42PM UTC coverage: 90.56% (-0.6%) from 91.127%
10704018133

push

github

web-flow
chore(imt): Add methods to retrieve nodes and zeroes in IMT (#50)

## Description

The code changes introduce two new getter methods, `nodes()` and
`zeroes()`, to the IMT struct. These methods are necessary for accessing
the internal structure of the IMT, particularly for cases where the
intermediate tree states and padding values are required.

The `nodes()` method provides access to the current state of the tree's
nodes, which is useful for debugging and verifying the structure of the
Merkle tree during construction.

The `zeroes()` method allows retrieval of the precomputed zero nodes,
which are critical for correctly padding incomplete levels when
combining batch roots in parallel Merkle tree construction.

## Other Information 
I needed access to the zeroes without re-generating them, and the
intermediate nodes are useful for debugging during parallelization.

## Checklist

- [x] My code follows the style guidelines of this project
- [x] I have performed a self-review of my code
- [x] My changes generate no new warnings
- [x] New and existing unit tests pass locally with my changes

0 of 6 new or added lines in 1 file covered. (0.0%)

873 of 964 relevant lines covered (90.56%)

18.62 hits per line

Jobs
ID Job ID Ran Files Coverage
1 10704018133.1 04 Sep 2024 02:43PM UTC 0
90.56
GitHub Action Run
Source Files on build 10704018133
Detailed source file information is not available for this build.
  • Back to Repo
  • Github Actions Build #10704018133
  • 206a4b4e on github
  • Prev Build on main (#10305606576)
  • Next Build on main (#10704215601)
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