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

runtimes: presets are provided as config patches #6349

Merged
merged 13 commits into from
Nov 8, 2024

Conversation

michalkucharczyk
Copy link
Contributor

This PR introduces usage of build_struct_json_patch macro in all runtimes (also guides) within the code base.

It also fixes macro to support field init shorthand, and Struct Update syntax which were missing in original implementation.

Follow up of #5700 and #5813

@michalkucharczyk michalkucharczyk changed the title runtimes: presets improved runtimes: presets are provided as config patches Nov 4, 2024
@michalkucharczyk michalkucharczyk added R0-silent Changes should not be mentioned in any release notes T1-FRAME This PR/Issue is related to core FRAME, the framework. labels Nov 4, 2024
@michalkucharczyk michalkucharczyk marked this pull request as ready for review November 4, 2024 15:48
@michalkucharczyk michalkucharczyk requested a review from a team as a code owner November 4, 2024 15:48
Copy link
Contributor

@gui1117 gui1117 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me, minor comments.

substrate/frame/support/src/generate_genesis_config.rs Outdated Show resolved Hide resolved
substrate/frame/support/src/generate_genesis_config.rs Outdated Show resolved Hide resolved
prdoc/pr_6349.prdoc Outdated Show resolved Hide resolved
@michalkucharczyk michalkucharczyk added this pull request to the merge queue Nov 8, 2024
Merged via the queue into master with commit 8c8f339 Nov 8, 2024
195 of 197 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
R0-silent Changes should not be mentioned in any release notes T1-FRAME This PR/Issue is related to core FRAME, the framework.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants