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

Change enum's variant field to smaller type #622

Open
nedsalk opened this issue Dec 13, 2024 · 0 comments
Open

Change enum's variant field to smaller type #622

nedsalk opened this issue Dec 13, 2024 · 0 comments
Labels
ABI Contract ABI

Comments

@nedsalk
Copy link

nedsalk commented Dec 13, 2024

The variant field of an enum is currently encoded as u64 which is unnecessarily large and can be reduced to u8 or u16, depending on the amount of variants we want to allow.

@nedsalk nedsalk added the ABI Contract ABI label Dec 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ABI Contract ABI
Projects
None yet
Development

No branches or pull requests

1 participant