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

Neptune-Crypto / twenty-first / 15120928877
98%

Build:
DEFAULT BRANCH: master
Ran 19 May 2025 07:21PM UTC
Jobs 1
Files 25
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

19 May 2025 06:53PM UTC coverage: 97.909% (+0.07%) from 97.844%
15120928877

push

github

web-flow
feat!: MerkleTree-specific Type Aliases (#251)

This PR introduces type aliases:
 - `MerkleTreeNodeIndex` for `usize`
 - `MerkleTreeLeafIndex` for `usize`
 - `MerkleTreeHeight` for `u32`
with the objective of documenting the conventions for
arithmetic with these index types.

Also:
 - Public function `nodes()` dropped in favor of `node(i)`.
 - Public function `leafs()` now returns an iterator instead
   of a slice.
 - Private function `authentication_structure_node_indices` is
   marked `pub` as it is needed downstream.

Displaces #250.

---------

Co-authored-by: Jan Ferdinand Sauer <ferdinand@neptune.cash>

74 of 75 new or added lines in 4 files covered. (98.67%)

12687 of 12958 relevant lines covered (97.91%)

42714280.71 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
99.2
1.47% twenty-first/src/util_types/merkle_tree.rs
Jobs
ID Job ID Ran Files Coverage
1 15120928877.1 19 May 2025 07:21PM UTC 25
97.91
GitHub Action Run
Source Files on build 15120928877
  • Tree
  • List 25
  • Changed 5
  • Source Changed 4
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #15120928877
  • fb6bb691 on github
  • Prev Build on master (#15015327041)
  • Next Build on master (#15133161671)
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