Skip to content

Conversation

@sourabhxyz
Copy link
Contributor

No description provided.

@sourabhxyz sourabhxyz requested a review from a team as a code owner August 28, 2024 13:57
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
Contributor 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
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.

3 participants