Skip to content

feat(cat-gateway): cardano/assets integration test #2139

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 8 commits into from
Apr 10, 2025

Conversation

Mr-Leshiy
Copy link
Contributor

Description

Port of #1986

Added a cardano/assets initial implementation of the integration test comparing data against the old stack snapshot file

@Mr-Leshiy Mr-Leshiy self-assigned this Apr 2, 2025
@Mr-Leshiy Mr-Leshiy added the review me PR is ready for review label Apr 2, 2025
@Mr-Leshiy Mr-Leshiy moved this from New to 👀 In review in Catalyst Apr 2, 2025
@Mr-Leshiy Mr-Leshiy marked this pull request as ready for review April 2, 2025 08:25
@Mr-Leshiy Mr-Leshiy requested a review from kukkok3 as a code owner April 2, 2025 08:25
@Mr-Leshiy Mr-Leshiy requested a review from stevenj April 2, 2025 08:31
Copy link
Contributor

github-actions bot commented Apr 2, 2025

Test Report | ${\color{lightgreen}Pass: 676/676}$ | ${\color{red}Fail: 0/676}$ |

@Mr-Leshiy Mr-Leshiy merged commit c8359e9 into fix/cip36-assets-indexing Apr 10, 2025
34 of 38 checks passed
@github-project-automation github-project-automation bot moved this from 👀 In review to ✅ Done in Catalyst Apr 10, 2025
@Mr-Leshiy Mr-Leshiy deleted the feat/assets-test branch April 10, 2025 10:16
Mr-Leshiy added a commit that referenced this pull request Apr 17, 2025
* fix(cat-gateway): Fixing indexing issues and chain follower synchronisation (#2100)

* update cardano sync code

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* fix fmt

* change schema version

* wip

* wip

* wip

* wip

* fix(cat-gateway): Fix `cardano/assets` endpoint. (#2109)

* fix assets endpoint

* wip

* wip

* wip

* wip

* wip

* fix spelling

* Update catalyst-gateway/bin/src/service/common/objects/cardano/stake_info.rs

Co-authored-by: Steven Johnson <[email protected]>

* wip

---------

Co-authored-by: Steven Johnson <[email protected]>

* fix(cat-gateway): Use persistent state in volatile asset calculation (#2160)

* fix(cat-gateway): separate futures

* fix(cat-gateway): calculate volatile assets

* wip

* remove unused code

---------

Co-authored-by: Mr-Leshiy <[email protected]>

* fix(cat-gateway): Correct Service Health logic (#1974)

* wip(rust/signed_doc): add atomic variables for live check, update endpoint and middleware

* wip(rust/signed_doc): reset live counter

* fix(cat-gateway): typo

* fix(cat-gateway): use timestamp for LIVE_COUNTER, update logic

* fix(cat-gateway): refactor code into health utilities

* fix(cat-gateway): fix panic catcher to disable live service flag

* fix(cat-gateway): remove unused atomic-counter crate

* fix(cat-gateway): refactor health::live utilities into proper module

* fix(cat-gateway): restore live counter logic, set env var for threshold

* fix(cat-gateway): code format

* fix(cat-gateway): return service unavailable with proper error

* fix(cat-gateway): refactor health::start utilities into proper module

* feat(cat-gateway): add service::utilities::health::ready module

* wip(rust/signed_doc): add atomic variables for live check, update endpoint and middleware

* wip(rust/signed_doc): reset live counter

* fix(cat-gateway): typo

* fix(cat-gateway): use timestamp for LIVE_COUNTER, update logic

* fix(cat-gateway): refactor code into health utilities

* fix(cat-gateway): fix panic catcher to disable live service flag

* fix(cat-gateway): remove unused atomic-counter crate

* fix(cat-gateway): refactor health::live utilities into proper module

* fix(cat-gateway): restore live counter logic, set env var for threshold

* fix(cat-gateway): code format

* fix(cat-gateway): return service unavailable with proper error

* fix(cat-gateway): add atomic vars to health::started to keep track and set state

* fix(cat-gateway): add atomic var to health::started to keep track of chain follower

* fix(cat-gateway): implement logic for health::started flags

* fix(cat-gateway): add middleware to check DB connections

* fix(cat-gateway): attempt DB reconnect if health/ready check fails

* fix(cat-gateway): implement logic for health::ready endpoint

* fix(cat-gateway): handle DB errors at endpoints

* chore(cat-gateway): fix doc comments

* fix(cat-gateway): add suggested fixes

* fix(cat-gateway): simplify boolean logic, correctly set flag when follower first syncs

* fix(cat-gateway): add suggested fix

* chore(docs): fix doc comment

* fix(cat-gateway): update doc comments for health endpoints

* fix(cat-gateway): add suggested fix to doc comments

* wip

* fix(cat-gateway): set index db liveness after waiting for it to be ready

---------

Co-authored-by: Alex Pozhylenkov <[email protected]>
Co-authored-by: Steven Johnson <[email protected]>

* feat(cat-gateway): `cardano/assets` integration test (#2139)

* add assets test

* wip

* fix

* wip

* wip

* fix(cat-gateway): Fix test_assets.py (#2300)

* fix assets test

* wip

* fix

* try

* wip

* wip

* wip

* fix

* wip

* increase timeout for `schemathesis`

---------

Co-authored-by: Steven Johnson <[email protected]>
Co-authored-by: Joaquín Rosales <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
review me PR is ready for review
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

1 participant