Skip to content
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

feat(#81): conway update #82

Merged
merged 11 commits into from
Aug 30, 2024
Merged

feat(#81): conway update #82

merged 11 commits into from
Aug 30, 2024

Conversation

sourabhxyz
Copy link
Member

No description provided.

@sourabhxyz sourabhxyz requested a review from a team as a code owner August 28, 2024 13:57
@@ -135,6 +100,39 @@ exceptionHandler =
WH $ \case
GYConversionException convErr → someBackendError $ tShow convErr
GYQueryUTxOException txErr → someBackendError $ tShow txErr
e@(GYBuildTxException buildErr) → case buildErr of
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It would be nice if the special cases here could be covered by tests.

I don't see any test changes in this PR. I would expect to see some updated tests when such logic changes.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is largely governed by type system. There is no longer BuildTxException, IIRC it's renamed to GYBuildTxError which no longer has Exception instance so it cannot be thrown in first place. This GYBuildTxError is now part of GYBuildTxException and so there has been reordering of these error messages.

Copy link
Contributor

@4TT1L4 4TT1L4 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@sourabhxyz sourabhxyz merged commit 3ec3448 into main Aug 30, 2024
2 checks passed
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.

2 participants