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

Make GasConfig non_exhaustive #1921

Merged
merged 1 commit into from
Oct 17, 2023
Merged

Make GasConfig non_exhaustive #1921

merged 1 commit into from
Oct 17, 2023

Conversation

webmaster128
Copy link
Member

GasConfig is currently not exported, making this a non-breaking change. But we want to be prepared to add more crypto algorithms with their gas configuration.

GasConfig is currently not exported, making this a non-breaking change.
But we want to be prepared to add more crypto algorithms with their gas
configuration.
@webmaster128 webmaster128 marked this pull request as ready for review October 17, 2023 07:15
Copy link
Collaborator

@chipshort chipshort left a comment

Choose a reason for hiding this comment

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

Do we plan to make it public?

@webmaster128
Copy link
Member Author

I don't see that happening any time soon. But if the code evolves that way, it's good to have the annotation in place.

@webmaster128 webmaster128 merged commit b515e5c into main Oct 17, 2023
@webmaster128 webmaster128 deleted the GasConfig-non_exhaustive branch October 17, 2023 07:54
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