This repository has been archived by the owner on Nov 15, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Adds ability to provide defaults for types provided by construct_runtime
#14682
Merged
paritytech-processbot
merged 46 commits into
master
from
gupnik/derive-impl-improvements
Aug 25, 2023
Merged
Changes from all commits
Commits
Show all changes
46 commits
Select commit
Hold shift + click to select a range
bfc3ff7
Adds ability to use defaults for verbatim types
gupnik 18dc0ac
Adds RuntimeOrigin and PalletInfo in DefaultConfig
gupnik 7fb9749
Adds RuntimeEvent in DefaultConfig
gupnik 43fff80
Adds RuntimeEvent in DefaultConfig
gupnik 8e45209
Minor fix
gupnik 9af59d6
Minor fix
gupnik 44f2845
Everything in frame_system can now have a default
gupnik eed9dc8
Adds docs
gupnik d2a3546
Adds UI Test for no_bounds
gupnik 821424a
Updates docs
gupnik 5e54173
Adds UI tests for verbatim
gupnik cd3e530
Merge branch 'master' of github.com:paritytech/substrate into gupnik/…
gupnik 641cc9b
Minor update
gupnik 90af58e
Minor updates
gupnik c3f5134
Minor updates
gupnik 7f80e65
Addresses review comments
gupnik 38c0601
Merge branch 'master' of github.com:paritytech/substrate into gupnik/…
gupnik 846f296
Fixes test
gupnik 6dfb929
Update frame/support/procedural/src/derive_impl.rs
gupnik 0ddf452
Minor fix
gupnik 3e90665
Merge branch 'master' of github.com:paritytech/substrate into gupnik/…
gupnik de6e5b6
Minor
gupnik ce1ad29
Optionally keep verbatim to be replaced later
gupnik 821758b
Fixes build
gupnik d33f51f
Uses runtime_type
gupnik 96fc62c
Merge branch 'master' of github.com:paritytech/substrate into gupnik/…
gupnik e051985
Fixes comment
gupnik 16028ff
Fixes comment
gupnik 34f66f6
Fixes test
gupnik 97e470c
Merge branch 'master' of github.com:paritytech/substrate into gupnik/…
gupnik 92ddd1e
Merge branch 'master' of github.com:paritytech/substrate into gupnik/…
gupnik 3524c14
Uses no_aggregated_types as an option in derive_impl
gupnik 1218faf
Uses specific imports
gupnik 01071a9
Fmt
gupnik a3db9f4
Updates doc
gupnik 28f7cec
Merge branch 'master' of github.com:paritytech/substrate into gupnik/…
gupnik 9d31723
Update frame/support/procedural/src/derive_impl.rs
gupnik 3f1fcc6
Update frame/support/procedural/src/derive_impl.rs
gupnik 58762cf
Addresses review comment
gupnik cb2a8e0
Addresses review comment
gupnik 32f33ae
fmt
gupnik 88f6253
Renames test files
gupnik bb30704
Adds docs using docify
gupnik 8f3191f
Fixes test
gupnik 718c1ce
Fixes UI tests
gupnik 969bf0e
Merge branch 'master' of github.com:paritytech/substrate into gupnik/…
gupnik 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 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 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 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 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 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 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 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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we use an enum instead of a boolean in here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am not sure if it adds a lot of value here. What are the enum variants that you would suggest?