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

input-output-hk / catalyst-libs / 12954348379
67%

Build:
DEFAULT BRANCH: main
Ran 24 Jan 2025 05:22PM UTC
Jobs 1
Files 160
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

24 Jan 2025 05:17PM UTC coverage: 60.206% (-0.1%) from 60.346%
12954348379

push

github

web-flow
feat(rust/rbac-registration): refactoring (#127)

* Introduce Cip0134UriSet type (#119)

* Store x509 certificates (Cip509RbacMetadata::x509_certs) in the decoded format (#128)

* Store and update certificate URIs in the registration chain (#130)

* Check for presense of purpose and txn_inputs_hash fields

* Use Blake2b256Hash type

* Make Cip509 field private

* Use problem report

* More problem report usage in Cip509RbacMetadata

* Cip0134Uri::try_from(&[u8])

* Move addresses extraction to a function

* Move Cip0134Uri to the cardano-blockchain-types crate

* role data as map

* Role0 constant

* Member functions

* Cip509 constructors

* Validation

* Fix after merge

* Validation tests

* Registration chain

* Fix clippy warnings and some tests

* Test decremented_index

* decode context

* Role data conversion

* Fix clippy lints

* Update the validation tests

* Update chunks decoding tests

* Move payment history types

* Move payment history to Cip509

* Add TODO comments

* Use TxnWitness from cardano-blockchain-types

* Clippy

* Use (more) types from the 'cardano-blockchain-types' crate

* Update the registration chain tests

* Fix clippy (again)

* Fix warnings in the tests

* Use the 'cbork-utils' crate

* Remove MultiEraBlock::new_block

* Fix the 'decode_any' usage

* Split certificates into multiple files

* Fix some review comments

* Remove duplicated hash helpers

* Fix after merge

* Update the payment key logic

* Remove unused dependencies

* More error handling

* Improve role 0 signing key validation

* Error handling

* More error handling

* Fix Clippy

* Improve error handling once again

* update decode_revocation_list

* test(rust/rbac-registration): Fix test in CIP509 (#160)

* test(rbac-registration): fix test and test data

Signed-off-by: bkioshn <bkioshn@gmail.com>

* fix(rbac-registration): name txn_index

S... (continued)

8374 of 13909 relevant lines covered (60.21%)

3185.21 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
1
95.45
13.97% home/runner/work/catalyst-libs/catalyst-libs/rust/rbac-registration/src/cardano/cip509/utils/cip19.rs
3
70.0
13.75% home/runner/work/catalyst-libs/catalyst-libs/rust/rbac-registration/src/cardano/cip509/types/tx_input_hash.rs
5
66.67
-10.88% home/runner/work/catalyst-libs/catalyst-libs/rust/rbac-registration/src/utils/decode_helper.rs
6
64.0
5.67% home/runner/work/catalyst-libs/catalyst-libs/rust/rbac-registration/src/cardano/cip509/rbac/pub_key.rs
24
83.33
-11.21% home/runner/work/catalyst-libs/catalyst-libs/rust/rbac-registration/src/cardano/cip509/x509_chunks.rs
50
78.63
1.52% home/runner/work/catalyst-libs/catalyst-libs/rust/rbac-registration/src/registration/cardano/mod.rs
53
43.16
-47.47% home/runner/work/catalyst-libs/catalyst-libs/rust/rbac-registration/src/cardano/cip509/rbac/role_data.rs
71
63.21
-2.87% home/runner/work/catalyst-libs/catalyst-libs/rust/rbac-registration/src/cardano/cip509/validation.rs
Jobs
ID Job ID Ran Files Coverage
1 rust-unit-test - 12954348379.1 24 Jan 2025 05:22PM UTC 160
60.21
GitHub Action Run
Source Files on build 12954348379
  • Tree
  • List 160
  • Changed 31
  • Source Changed 0
  • Coverage Changed 9
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #12954348379
  • ffe23e3e on github
  • Prev Build on main (#12952907676)
  • Next Build on main (#12987915666)
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

© 2025 Coveralls, Inc