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

Implement automatic schema updates. #55

Open
Tracked by #23
elmattic opened this issue Oct 29, 2024 · 0 comments
Open
Tracked by #23

Implement automatic schema updates. #55

elmattic opened this issue Oct 29, 2024 · 0 comments

Comments

@elmattic
Copy link
Contributor

elmattic commented Oct 29, 2024

Whenever we have a new change in Forest JSON-RPC API, RPC types, etc., we must regenerate the spec:

forest-tool shed openrpc --path v1 > forest-$(git rev-parse --short HEAD)-path-v1.json

Afterward, copy the generated file (or files) into this repository, making any necessary adjustments, e.g. renaming it to follow the format:
src/binding/specs/'v1 forest_9d76a71562f_path_v1.json'

This process should be automated.

According to @LesnyRumcajs it should be easily done with a GHA cronjob to grab the latest forest docker image and execute it and make a PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Ready
Development

No branches or pull requests

1 participant