Skip to content

Fix Hydra integration #189

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

ch1bo
Copy link
Contributor

@ch1bo ch1bo commented Apr 15, 2025

Update decoding of SnapshotConfirmed to use the included transactions directly. This is not needed anymore as the API changed.

Also, the L2 ledger of hydra is always in ConwayEra now.

There is now also a golden file for each server output that the hydra-node sends through the websocket that we can use in tests.

This closes cardano-scaling/hydra#1785

@ch1bo ch1bo moved this to In progress 🕐 in ☕ Hydra Team Work Apr 15, 2025
@KtorZ
Copy link
Member

KtorZ commented Apr 16, 2025

Hey, I just noticed that the golden tests are not as complete as they could be; in particular, the SnapshotConfirmed one contains no confirmed transaction; which seems to be the meat of this PR 😅 ...

https://github.com/cardano-scaling/hydra/blob/526c522327cf69cbd13f529dddb3182348a164ab/hydra-node/golden/ServerOutput/SnapshotConfirmed.json#L11

Might be good to re-generate the golden test to be more useful (maybe multiple per variant?)

Update decoding of SnapshotConfirmed to use the included transactions
directly. This is not needed anymore as the API changed.

Also, the L2 ledger of hydra is always in ConwayEra now.

There is now also a golden file for each server output that the
hydra-node sends through the websocket that we can use in tests.
@ch1bo
Copy link
Contributor Author

ch1bo commented Apr 25, 2025

@KtorZ I have fixed the golden file and make sure it has at least one transaction: cardano-scaling/hydra#1966

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support Kupo again
3 participants