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

input-output-hk / catalyst-voices / 16205139355
23%

Build:
DEFAULT BRANCH: main
Ran 10 Jul 2025 09:42PM UTC
Jobs 3
Files 1225
Run time 2min
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

10 Jul 2025 08:18PM UTC coverage: 22.823% (-0.1%) from 22.944%
16205139355

push

github

web-flow
feat(cat-gateway): Cardano assets caches (#2925)

* feat(cat-gateway): Cardano assets cache setup with adding native assets cache (#2893)

* remove slot_no for GetTxoByStakeAddressQueryParams

* add cardano_assets_cache env var settings

* wip

* wip

* wip

* wip

* wip

* fix clippy

* set LRU eviction policy

* Update catalyst-gateway/bin/src/db/index/queries/staked_ada/get_assets_by_stake_address.rs

Co-authored-by: Rafał Chabowski <rafal.chabowski@iohk.io>

* fix

---------

Co-authored-by: Rafał Chabowski <rafal.chabowski@iohk.io>

* feat(rust): Eliminate a bunch of unnecessarty clones by using Arc and some data structure refactoring. (#2948)

Merging this into the feature branch, and building on top of it on PR #2944.

* feat(cat-gateway): Implement UTXO Assets by Stake Address Cache (#2944)

* wip(cat-gateway): add Cache for UTXO assets

* feat(cat-gateway): add Cache for UTXO assets

* update GetTxoByStakeAddressQuery with cache functionality
* update calls to GetTxoByStakeAddressQuery::exexute

* wip(cat-gateway): update txos asset cache when spent

* feat(cat-gateway): purge Txo Asset Cache

* feat(cat-gateway): update txos asset cache when spent

* fix(cat-gateway): comment

* fix(cat-gateway): remove unnecessary cloning and use sync Cache

* chore(cat-gateway): doc comments

* feat(cat-gateway): Add prometheus metrics for assets caches (#2994)

* wip(cat-gateway): add metrics for asset caches

* wip(cat-gateway): add metrics for asset caches

* wip(cat-gateway): refactor txo_by_stake cache into module

* wip(cat-gateway): add metrics for asset caches

* wip(cat-gateway): refactor txo_assets_by_stake cache into module

* wip(cat-gateway): metric update functions

* chore(cat-gateway): cleanup naming

* fix(cat-gateway): debug message

* chore(cat-gateway): cleanup code

* fix(cat-gateway): better log info

* fix(cat-gateway): update cache metrics

* fix(cat-gateway): correct naming (#3019)

* fix(cat-gateway): update cache metric descripti... (continued)

17 of 404 new or added lines in 17 files covered. (4.21%)

4 existing lines in 3 files now uncovered.

10429 of 45695 relevant lines covered (22.82%)

1.88 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
0.0
0.0% catalyst-gateway/bin/src/metrics/mod.rs
1
75.51
0.0% catalyst-gateway/bin/src/service/common/types/cardano/asset_name.rs
2
0.0
0.0% catalyst-gateway/bin/src/cardano/mod.rs
2
75.56
0.0% catalyst-gateway/bin/src/service/common/types/cardano/hash28.rs
3
0.0
0.0% catalyst-gateway/bin/src/db/index/session.rs
3
63.48
-0.55% catalyst-gateway/bin/src/settings/mod.rs
4
0.0
0.0% catalyst-gateway/bin/src/db/index/queries/staked_ada/update_txo_spent.rs
4
0.0
catalyst-gateway/bin/src/metrics/caches/mod.rs
6
72.73
catalyst-gateway/bin/src/settings/cardano_assets_cache.rs
7
32.31
-0.5% catalyst-gateway/bin/src/service/common/types/cardano/asset_value.rs
32
0.0
catalyst-gateway/bin/src/db/index/queries/caches/txo_assets_by_stake.rs
38
0.0
0.0% catalyst-gateway/bin/src/db/index/queries/staked_ada/get_txo_by_stake_address.rs
39
0.0
0.0% catalyst-gateway/bin/src/db/index/queries/staked_ada/get_assets_by_stake_address.rs
50
0.46
0.01% catalyst-gateway/bin/src/service/api/cardano/staking/assets_get.rs
63
0.0
catalyst-gateway/bin/src/metrics/caches/native_assets.rs
63
0.0
catalyst-gateway/bin/src/metrics/caches/txo_assets.rs
69
0.0
catalyst-gateway/bin/src/db/index/queries/caches/txo_by_stake.rs

Uncovered Existing Lines

Lines Coverage ∆ File
1
0.0
0.0% catalyst-gateway/bin/src/metrics/mod.rs
1
0.0
0.0% catalyst-gateway/bin/src/db/index/queries/staked_ada/get_assets_by_stake_address.rs
2
0.46
0.01% catalyst-gateway/bin/src/service/api/cardano/staking/assets_get.rs
Jobs
ID Job ID Ran Files Coverage
1 rust-unit-test - 16205139355.1 10 Jul 2025 09:42PM UTC 208
22.65
GitHub Action Run
2 flutter-test - 16205139355.2 10 Jul 2025 09:42PM UTC 1008
22.88
GitHub Action Run
3 api-test - 16205139355.3 10 Jul 2025 09:42PM UTC 9
23.77
GitHub Action Run
Source Files on build 16205139355
  • Tree
  • List 1225
  • Changed 13
  • Source Changed 12
  • Coverage Changed 11
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #16205139355
  • 643d39ec on github
  • Prev Build on main (#16195442663)
  • Next Build on main (#16210668225)
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