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

Local chains export id dependent state #684

Merged
merged 3 commits into from
Aug 13, 2021

Conversation

girazoki
Copy link
Collaborator

@girazoki girazoki commented Aug 12, 2021

What does it do?

Fixes a small discrepancy with local chains. export-genesis-state wasnt giving the same state as the nodes that were running the chain spec if the parachain-id was not the default one. I opted for an approach similar to what cumulus is doing to fix it.

What important points reviewers should know?

This was preventing our local launch script to register parachains in an parachain Id different than the default one.

Is there something left for follow-up PRs?

What alternative implementations were considered?

Are there relevant PRs or issues in other repositories (Substrate, Polkadot, Frontier, Cumulus)?

What value does it bring to the blockchain users?

@girazoki girazoki added the B5-clientnoteworthy Changes should be mentioned in any downstream projects' release notes label Aug 12, 2021
@JoshOrndorff
Copy link
Contributor

Looks like one of the scripts broke. Maybe you just need to supply the old default param explicitly?

@girazoki
Copy link
Collaborator Author

girazoki commented Aug 13, 2021

Yeah in generate-specs we were inserting --parachain-id with a non-existen paraId variable. I renamed it to the correct one. Perhaps now I trigerred it because I slightly changed how this option should be accepted (made it an option in the cli).

@girazoki girazoki merged commit ec2e111 into master Aug 13, 2021
@girazoki girazoki deleted the local_chains_export_id_dependent_state branch August 13, 2021 13:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
B5-clientnoteworthy Changes should be mentioned in any downstream projects' release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants