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

input-output-hk / catalyst-libs / 14877908333 / 1
67%
main: 67%

Build:
DEFAULT BRANCH: main
Ran 07 May 2025 07:47AM UTC
Files 177
Run time 4s
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

07 May 2025 07:41AM UTC coverage: 65.558% (+0.1%) from 65.449%
14877908333.1

push

github

web-flow
feat(rust/catalyst-types): change RoleIndex to enum (#283)

* feat(rust/catalyst-types): change RoleIndex to enum

This commit introduces RoleIndex as enum for a better static control
over the logical variants of the type.

closes #277

* fmt

* fix lints

* update display fmt for key signing

* rename RoleIndex to RoleId

* fix incorrect test vector

* fix examples

* replace RoleNumber with RoleId

* remove validate_role_numbers

The role numbers are now statically defined so an invalid one cannot exist.

* fix post-merge conflicts

* update conversion

* Update rust/catalyst-types/src/id_uri/role_index.rs

Co-authored-by: bkioshn <35752733+bkioshn@users.noreply.github.com>

* Update rust/catalyst-types/src/id_uri/role_index.rs

Co-authored-by: bkioshn <35752733+bkioshn@users.noreply.github.com>

* Update rust/catalyst-types/src/id_uri/role_index.rs

Co-authored-by: bkioshn <35752733+bkioshn@users.noreply.github.com>

* Update rust/catalyst-types/src/id_uri/role_index.rs

Co-authored-by: bkioshn <35752733+bkioshn@users.noreply.github.com>

* use strum

* Update rust/catalyst-types/src/id_uri/role_index.rs

Co-authored-by: Alex Pozhylenkov <leshiy12345678@gmail.com>

* Update rust/catalyst-types/src/id_uri/role_index.rs

Co-authored-by: Alex Pozhylenkov <leshiy12345678@gmail.com>

* add custom role id as any unknown u8

* Update rust/catalyst-types/src/id_uri/role_index.rs

Co-authored-by: Alex Pozhylenkov <leshiy12345678@gmail.com>

* rename error type

* move proptest to attr-macro

* add test to key rotation cert pk generation

---------

Co-authored-by: Steven Johnson <stevenj@users.noreply.github.com>
Co-authored-by: bkioshn <35752733+bkioshn@users.noreply.github.com>
Co-authored-by: Alex Pozhylenkov <leshiy12345678@gmail.com>

10844 of 16541 relevant lines covered (65.56%)

2465.59 hits per line

Source Files on job rust-unit-test - 14877908333.1
  • Tree
  • List 177
  • Changed 16
  • Source Changed 13
  • Coverage Changed 11
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 14877908333
  • 23ece120 on github
  • Prev Job for on main (#14857275602.1)
  • Next Job for on main (#14884846524.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