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

Custom fork enums for non Ethereum use cases #25

Open
karalabe opened this issue Sep 18, 2024 · 0 comments
Open

Custom fork enums for non Ethereum use cases #25

karalabe opened this issue Sep 18, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@karalabe
Copy link
Owner

Currently the library ships the Ethereum hard forks in an enum, allowing it to be used across the lib, as well as having built in support in the code generator.

Whilst users of the library can use their own package for the fork enum (i.e. it's just an int), the code generator does not support mapping custom fork names to custom external library package enums. This should not be too hard to add, but it's also not something immediately on my plate.

I.e. this issue is just a braindump to signal this missing feature.

If anyone wants to take a stab at it, please make sure you discuss it here first as the design and integration needs to fit with the rest of the code without breaking too many things.

@karalabe karalabe added the enhancement New feature or request label Sep 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant