-
Notifications
You must be signed in to change notification settings - Fork 740
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
Add chain-spec for minimal/parachain template runtimes for direct use with Omni Node #6334
Comments
Hey @kianenigma and @iulianbarbu, is this issue still available? If so, I'd like to tackle it. |
Hey @EleisonC ! Thanks for the interest and yes, you can work on it. Let us know if you need help. |
Hello @iulianbarbu thank you very much. I also want to mention I am new here. To get up to speed, I have been familiarizing myself with:
While exploring I discovered the template folder
You mentioned 👆🏾. My questions
I will need guidance here so I don't go to the wrong place or path. |
hey @EleisonC ! You are on the right path with the investigation. Happy to share some of my understanding on the subject.
Yes, chain specs are JSON files. In our case,
There could be other fields involved in chain spec configs (depending on their form: full/patch). You should rely on Separately, the second point of the issue can be omitted, but if done so we should track it under a different issue before closing this one. |
Alright thank you.🙏🏾 |
Hey @iulianbarbu My objective is to generate a chain spec file for the first time. I have followed the ReadMe.md
But i still got the error What might I be missing? |
Hey @EleisonC ! What's missing is the fact we haven't released the READMEs for the templates yet (what this does is that it will sync each template from At the same time, installing I recommend you to:
|
Hey @iulianbarbu, this was very informative! 😃. No worries about the confusion. |
Hey @iulianbarbu Currently I am trying to run via Zombienet with minimal-template-node with command |
Hey @EleisonC ! Indeed, seems like it is sorted out. Checking the logs of the nodes and scanning for errors is your best bet to ensure things are working as expected, but if you see this final table, it is already a good indication things started fine. So I get that you were able to update the |
Hey @iulianbarbu I raised a PR.
I’m considering adding a Rust test. Should this be included in this PR, or would it be better suited for a separate one?" |
Thanks for the PR! I'll take a look over it soon. It would be great to add the README changes and the rust test with this PR too. |
Removed the |
When using zombienet with omni-node, node operators must setup the
chain_spec_path
specification field for parachains to a valid path. Forminimal
andparachain
template we do that too, but given there isn't yet a chain spec, to get its path and use it in the zombienet spec, we first clarify how to generate the chain spec and hint to the zombienet spec file that needs to be updated with a valid chain spec path.It would be great to update the templates so that they include the
development
chain specs, and we keep them in sync with the runtime's code. Might need a separate GH workflow to check they are in sync. We should also update thezombienet-omni-node.toml
files to contain a path to the included chain specs (short term)cc @kianenigma
The text was updated successfully, but these errors were encountered: