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

fix: wrong as_u8 generated for enum #413

Merged
merged 1 commit into from
Nov 15, 2023
Merged

fix: wrong as_u8 generated for enum #413

merged 1 commit into from
Nov 15, 2023

Conversation

huyhduong1401
Copy link
Contributor

@huyhduong1401 huyhduong1401 commented Nov 15, 2023

Motivation

I found a bug which I open an issue in #412

Closes #412

Solution

Directly casting pointer type

PR Checklist

  • Added Tests
  • Added Documentation
  • Breaking changes

Copy link
Member

@DaniPopes DaniPopes left a comment

Choose a reason for hiding this comment

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

Thanks!

@DaniPopes DaniPopes merged commit 0ea9024 into alloy-rs:main Nov 15, 2023
20 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.

[Bug] as_u8 enum generated from sol! is incorrect
2 participants