-
Notifications
You must be signed in to change notification settings - Fork 1.2k
RuntimeGenesiConfig: json macro added
#5813
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
Merged
Merged
Changes from 21 commits
Commits
Show all changes
23 commits
Select commit
Hold shift + click to select a range
e61bbb2
RuntimeGenesiConfig: json macro added
michalkucharczyk 7b2012c
prdoc + loop/match
michalkucharczyk 9a2f1c4
spelling
michalkucharczyk 0bd43fc
Merge remote-tracking branch 'origin/master' into mku-runtime-genesis…
michalkucharczyk 6db4b41
recursive macro for partial struct initialization
michalkucharczyk d868b85
naive macro removed
michalkucharczyk df48645
taply
michalkucharczyk 1a43f8c
fix
michalkucharczyk 2f630e9
prdoc
michalkucharczyk ef425be
fix
michalkucharczyk b027ff4
Inflector is dev-dep
michalkucharczyk cab3eb5
fmt
michalkucharczyk 3c4bdf5
compare_keys made simpler
michalkucharczyk be43b86
clippy
michalkucharczyk 2865daf
marco renamed
michalkucharczyk b262998
improvements
michalkucharczyk d6c8854
support for types' paths
michalkucharczyk 0c24c45
doc + review suggestiong (tt->ident)
michalkucharczyk 9fd2dbd
review comments: macro hygiene + Cow
michalkucharczyk c717948
polkado_sdk::reference_doc updated
michalkucharczyk 5316807
hygiene: serde_json
michalkucharczyk 5cafbc9
ci fix
michalkucharczyk c92afa3
Merge branch 'master' into mku-runtime-genesis-config-macro
michalkucharczyk File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,18 @@ | ||
| title: "build_struct_json_patch macro added" | ||
|
|
||
| doc: | ||
| - audience: Runtime Dev | ||
| description: | | ||
| This PR adds a macro that allows to construct a RuntimeGenesisConfig preset | ||
| containing only provided fields, while performing the validation of the | ||
| entire struct. | ||
|
|
||
| Related issue: https://github.com/paritytech/polkadot-sdk/issues/5700 | ||
|
|
||
| crates: | ||
| - name: frame-support | ||
| bump: minor | ||
| - name: asset-hub-rococo-runtime | ||
| bump: patch | ||
| - name: westend-runtime | ||
| bump: patch |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.