-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Introduce CreateBare, deprecated CreateInherent #7597
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 all commits
Commits
Show all changes
24 commits
Select commit
Hold shift + click to select a range
b603f2c
doc
gui1117 28e0ab3
Merge branch 'master' into gui-improve-doc
gui1117 e3de76b
Introduce CreateBare and deprecate CreateInherent
gui1117 2068d7e
Update from gui1117 running command 'prdoc --audience runtime_dev --m…
github-actions[bot] 1565a6a
Update prdoc/pr_7597.prdoc
gui1117 84a9e90
prdoc
gui1117 2e14572
Merge branch 'master' into gui-improve-doc
gui1117 be4e019
Update from gui1117 running command 'fmt'
github-actions[bot] 1a51d59
WIP: automatic create bare implementation
gui1117 41e0a39
CreatBare usage: non-breaking as possible
gui1117 2b61876
prdoc + doc
gui1117 d804858
Update from gui1117 running command 'fmt'
github-actions[bot] 1aa50c0
Merge branch 'master' into gui-improve-doc
gui1117 9274b16
deprecated create inherent and use create bare
gui1117 1512357
simply rename trait + new method create_bare + deprecate create_inherent
gui1117 412b80d
remove warning
gui1117 ee3836f
missed one
gui1117 a1afad7
missed some
gui1117 3f7dbe1
Update from gui1117 running command 'update-ui'
github-actions[bot] d9da435
revert some change I forgot
gui1117 7794fbd
Merge remote-tracking branch 'origin/master' into gui-improve-doc
gui1117 f98da0f
better doc
gui1117 59b532a
fix merge
gui1117 e29ec07
Merge remote-tracking branch 'origin/master' into gui-improve-doc
gui1117 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
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
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,40 @@ | ||
| title: 'Introduce CreateBare, deprecated CreateInherent' | ||
| doc: | ||
| - audience: Runtime Dev | ||
| description: | | ||
| Rename `CreateInherent` to `CreateBare`, add method `create_bare` and deprecate `create_inherent`. | ||
|
|
||
| Both unsigned transaction and inherent use the extrinsic type `Bare`. | ||
| Before this PR `CreateInherent` trait was use to generate unsigned transaction, now unsigned transaction can be generated using a proper trait `CreateBare`. | ||
|
|
||
| How to upgrade: | ||
| * Change usage of `CreateInherent` to `CreateBare` and `create_inherent` to `create_bare`. | ||
| * Implement `CreateBare` for the runtime, the method `create_bare` is usually implemented using `Extrinsic::new_bare`. | ||
|
|
||
| crates: | ||
| - name: frame-system | ||
| bump: major | ||
| - name: polkadot-runtime-common | ||
| bump: major | ||
| - name: polkadot-runtime-parachains | ||
| bump: major | ||
| - name: rococo-runtime | ||
| bump: major | ||
| - name: westend-runtime | ||
| bump: major | ||
| - name: pallet-babe | ||
| bump: major | ||
| - name: pallet-beefy | ||
| bump: major | ||
| - name: pallet-election-provider-multi-block | ||
| bump: major | ||
| - name: pallet-election-provider-multi-phase | ||
| bump: major | ||
| - name: pallet-grandpa | ||
| bump: major | ||
| - name: pallet-im-online | ||
| bump: major | ||
| - name: pallet-mixnet | ||
| bump: major | ||
| - name: pallet-offences-benchmarking | ||
| bump: major | ||
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
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
Oops, something went wrong.
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.