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

chore: rm non exhaustive for envelope #1842

Merged
merged 1 commit into from
Dec 23, 2024
Merged

chore: rm non exhaustive for envelope #1842

merged 1 commit into from
Dec 23, 2024

Conversation

mattsse
Copy link
Member

@mattsse mattsse commented Dec 23, 2024

this is a footgun because this forces users to add a _ => unreachable on a match missing new tx types

@mattsse mattsse requested a review from klkvr December 23, 2024 19:33
@mattsse mattsse enabled auto-merge (squash) December 23, 2024 19:33
@mattsse mattsse force-pushed the matt/rm-non-exhaustive branch from e5ede62 to a8a2c40 Compare December 23, 2024 19:35
@mattsse mattsse merged commit 8ab278c into main Dec 23, 2024
26 checks passed
Copy link
Member

@klkvr klkvr left a comment

Choose a reason for hiding this comment

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

yeah this is not great

should we do the same for ReceiptEnvelope?

@mattsse mattsse deleted the matt/rm-non-exhaustive branch December 23, 2024 20:04
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