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

input-output-hk / catalyst-voices / 14338063056
24%
main: 23%

Build:
Build:
LAST BUILD BRANCH: feat/face-performance-optimization-3352
DEFAULT BRANCH: main
Ran 08 Apr 2025 04:26PM UTC
Jobs 3
Files 1039
Run time 3min
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

08 Apr 2025 03:20PM UTC coverage: 23.764% (-0.08%) from 23.844%
14338063056

push

github

web-flow
feat(cat-gateway): `cardano/rbac/registrations` endpoint API definition. (#1936)

* move RBAC API definition under its own mod

* wip

* add RbacRegistrations type

* add TxnId type

* wip

* wip

* add NoneOrApiKey security schema

* add detailed flag

* Update catalyst-gateway/bin/src/service/api/cardano/rbac/mod.rs

Co-authored-by: Steven Johnson <stevenj@users.noreply.github.com>

* wip

* add CatIdOrStake

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* fix spelling

* fix fmt

* fix spelling

* wip

* add sorting

* fix

* wip

* wip

* cleanup

* Update catalyst-gateway/bin/src/service/common/types/cardano/transaction_id.rs

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

* Update catalyst-gateway/bin/src/service/common/types/cardano/catalyst_id.rs

Co-authored-by: Stanislav Tkach <stanislav.tkach@gmail.com>

* wip

* wip

* feat(cat-gateway): RBAC registrations endpoint business logic implementation (#2008)

* RBAC registrations endpoint business logic implementation

* catalyst_id_from_stake function

* UnprocessableContent

* remove attribute

* Update catalyst-gateway/bin/src/service/api/cardano/rbac/registrations_get/mod.rs

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

* Import

---------

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

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* Encode certificates and keys

* clippy

* revert is_all check

* Fix comment

* Fix documentation warnings

* Add example attribute

* Remove the default attribute for BooleanFlag

* Hex encode certificates

* Add HexEncodedBinaryData type

* Key data list type

* Extended data

* Payment data list

* Role map

* Remove unneeded minicbor features

* Join registration queries

* Apply review comments

* Update (restore) dependencies and fix the build

* Fix TransactionId to TxnId conversion

* Fix last_volatile_txn

* Key type enum

* Select the latest registration chain by stake address

* U... (continued)

161 of 643 new or added lines in 32 files covered. (25.04%)

58 existing lines in 5 files now uncovered.

9640 of 40565 relevant lines covered (23.76%)

2.55 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
0.0
0.0% catalyst-gateway/bin/src/db/index/queries/rbac/get_rbac_registrations.rs
1
0.0
catalyst-gateway/bin/src/service/api/cardano/rbac/registrations_get/key_type.rs
1
0.0
catalyst-gateway/bin/src/service/common/auth/none_or_api_key.rs
2
61.02
10.17% catalyst-gateway/bin/src/service/common/types/cardano/catalyst_id.rs
3
0.7
-0.01% catalyst-gateway/bin/src/service/common/auth/rbac/scheme.rs
3
89.39
-1.52% catalyst-gateway/bin/src/service/common/auth/rbac/token.rs
4
35.59
0.0% catalyst-gateway/bin/src/service/common/types/cardano/txn_index.rs
4
66.13
-3.36% catalyst-gateway/bin/src/service/common/types/generic/ed25519_public_key.rs
4
15.09
-0.91% catalyst-gateway/bin/src/service/common/types/string_types.rs
5
0.0
0.0% catalyst-gateway/bin/src/service/api/cardano/cip36/endpoint.rs
5
16.67
-83.33% catalyst-gateway/bin/src/service/common/auth/none_or_rbac.rs
7
56.63
4.98% catalyst-gateway/bin/src/service/common/types/cardano/query/stake_or_voter.rs
10
9.09
catalyst-gateway/bin/src/service/api/cardano/rbac/mod.rs
11
38.89
catalyst-gateway/bin/src/service/api/cardano/rbac/registrations_get/payment_data.rs
15
16.67
catalyst-gateway/bin/src/service/api/cardano/rbac/registrations_get/binary_data.rs
15
66.67
catalyst-gateway/bin/src/service/common/types/cardano/query/cat_id_or_stake.rs
15
48.28
catalyst-gateway/bin/src/service/common/types/cardano/transaction_id.rs
17
0.0
catalyst-gateway/bin/src/service/common/types/cardano/slot_tx_idx.rs
22
52.17
catalyst-gateway/bin/src/service/api/cardano/rbac/registrations_get/role_map.rs
32
30.43
catalyst-gateway/bin/src/service/api/cardano/rbac/registrations_get/extended_data.rs
32
23.81
catalyst-gateway/bin/src/service/api/cardano/rbac/registrations_get/registration_chain.rs
36
18.18
catalyst-gateway/bin/src/service/api/cardano/rbac/registrations_get/role_data.rs
53
0.0
catalyst-gateway/bin/src/service/api/cardano/rbac/registrations_get/mod.rs
70
10.26
catalyst-gateway/bin/src/service/api/cardano/rbac/registrations_get/key_data.rs
114
0.0
catalyst-gateway/bin/src/service/api/cardano/rbac/registrations_get/chain_info.rs

Uncovered Existing Lines

Lines Coverage ∆ File
2
56.63
4.98% catalyst-gateway/bin/src/service/common/types/cardano/query/stake_or_voter.rs
2
35.59
0.0% catalyst-gateway/bin/src/service/common/types/cardano/txn_index.rs
3
0.0
0.0% catalyst-gateway/bin/src/db/index/queries/rbac/get_catalyst_id_from_stake_address.rs
3
0.0
-25.0% catalyst-gateway/bin/src/service/utilities/mod.rs
48
0.0
-38.4% catalyst-gateway/bin/src/service/common/objects/cardano/hash.rs
Jobs
ID Job ID Ran Files Coverage
1 rust-unit-test - 14338063056.1 08 Apr 2025 04:26PM UTC 200
23.72
GitHub Action Run
2 api-test - 14338063056.2 08 Apr 2025 04:26PM UTC 7
69.02
GitHub Action Run
3 flutter-test - 14338063056.3 08 Apr 2025 04:26PM UTC 832
23.26
GitHub Action Run
Source Files on build 14338063056
  • Tree
  • List 1039
  • Changed 30
  • Source Changed 27
  • Coverage Changed 29
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #14338063056
  • 4f1bb06d on github
  • Prev Build on main (#14336918537)
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