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

workflow: Update artifacts automatically #1296

Closed
lexnv opened this issue Nov 29, 2023 · 1 comment · Fixed by #1352
Closed

workflow: Update artifacts automatically #1296

lexnv opened this issue Nov 29, 2023 · 1 comment · Fixed by #1352
Assignees

Comments

@lexnv
Copy link
Collaborator

lexnv commented Nov 29, 2023

Create a workflow that runs the scripts/artifacts.sh file to update:

  • metadata scale
  • polkadot.rs codegen interface from testing
  • demo chain specs

The changes should be pushed as a commit for us to review, with weekly frequency.

The advantage of doing this is that we'll never have to worry about manually updating those files.
In the past, we have added features to the codegen that were not reflected in the artifacts files.
Also, the demo chainSpec plays a huge role in the synchronization time of the light clients.

This should be done after:

@jsdw
Copy link
Collaborator

jsdw commented Dec 7, 2023

I like this idea, and also it's another way to spot compatibility issues (updating the polkadot_metadata could break docs/example code etc)

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 a pull request may close this issue.

3 participants