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

Use JSON + builder pattern in chain specs #595

Closed
HCastano opened this issue Jan 18, 2024 · 0 comments · Fixed by #726
Closed

Use JSON + builder pattern in chain specs #595

HCastano opened this issue Jan 18, 2024 · 0 comments · Fixed by #726

Comments

@HCastano
Copy link
Collaborator

This Polkadot-SDK PR made a bunch of changes around how Rust-based chain specs were able to be constructred. In particular it introduced support for a JSON based approach to building the genesis configs used in the chain spec.

This makes the chain spec easier to read as it may only include fields which you want populated, leaving the omitted fields as Default's.

This feature was only released in Polkadot v1.4.0, so we can't take advantage of that feature until we upgrade.

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

Successfully merging a pull request may close this issue.

1 participant