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

Add extension to chain_spec_builder #4889

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

CrackTheCode016
Copy link
Contributor

@CrackTheCode016 CrackTheCode016 commented Jun 26, 2024

When using with polkadot-parachain, you usually need to specify the relay_chain and para_id fields in the chain spec.

A struct, called Extensions is introduced to the chain spec building process

One thing to consider is if we always want this extension present or if we wish to have a separate process for a parachain vs. a solo chain. I'm not sure how crucial the separation is here.

Also adds a fix for not overwriting the chain spec with the default config each time

@bkchr
Copy link
Member

bkchr commented Jun 26, 2024

Generally we should start with this: #4873

Maybe having like a separate command to add this could be useful. I mean I'm not a 100% fan of it, but it will make it easier for the users.

@CrackTheCode016
Copy link
Contributor Author

Yeah that makes sense. I can either include a fix for that issue in this PR (left a comment on how to potentially fix it here), or push another PR to address it

@bkchr
Copy link
Member

bkchr commented Jun 27, 2024

If you like, you can push it directly here.

@paritytech-cicd-pr
Copy link

The CI pipeline was cancelled due to failure one of the required jobs.
Job name: test-linux-stable 1/3
Logs: https://gitlab.parity.io/parity/mirrors/polkadot-sdk/-/jobs/6597843

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 this pull request may close these issues.

None yet

3 participants