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

Improve make-gen #511

Open
leovct opened this issue Feb 18, 2025 · 0 comments
Open

Improve make-gen #511

leovct opened this issue Feb 18, 2025 · 0 comments
Labels
enhancement New feature or request

Comments

@leovct
Copy link
Member

leovct commented Feb 18, 2025

make gen was designed as a quick way to automatically generate docs, proto, go bindings, go loadtest modes and json rpc types. The aim was to have a deterministic way of generating such files. It is used by the CI to check that the files generated are up to date. It is also used by developers to update these files. Most of the time, they use this command when the CI fails. However the UX is quite bad and there is no documentation on how to use the tool... We should think of 1) improving the documentation and 2) exploring better ways to generate bindings using docker containers - this would avoid the need to install tools locally just to generate a few files.

For reference: https://github.com/0xPolygon/polygon-cli/blob/main/Makefile#L81-L82

@leovct leovct added the enhancement New feature or request label Feb 18, 2025
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