-
Notifications
You must be signed in to change notification settings - Fork 668
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
[FRAME] Execution phases ApplyInherent
and AfterInherent
#3666
Open
ggwpez
wants to merge
11
commits into
master
Choose a base branch
from
oty-inherent-execution-phase
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 10 commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
8e0bca6
Add execution phases: ApplyInherent and AfterInherent
ggwpez 626f7c5
Fix tests
ggwpez 1814b1e
Fix tests
ggwpez 82c677c
Merge remote-tracking branch 'origin/master' into oty-inherent-execut…
ggwpez dd3db9e
Fix tests
ggwpez 2e5269b
Add docs
ggwpez 5cfada2
Merge remote-tracking branch 'origin/master' into oty-inherent-execut…
ggwpez f2dddce
Test poll hook
ggwpez 216f766
add prdoc
ggwpez 3e34043
typo
ggwpez 2eb37b1
Merge branch 'master' into oty-inherent-execution-phase
ggwpez 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 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,12 @@ | ||
title: "[FRAME] Execution phases ApplyInherent and AfterInherent" | ||
|
||
doc: | ||
- audience: Runtime User | ||
description: | | ||
FRAME runtimes now have two additional execution phases; `ApplyInherent(u32)` and `AfterInherent`. These are used to distinct in what phase of a block some logic runs. Formerly, inherents would also use the `ApplyExtrinsic(u32)` phase and all logic that runs in hooks between inherent and extrinsic application did not have a dedicated phase. | ||
|
||
crates: | ||
- name: frame-system | ||
bump: major | ||
- name: frame-executive | ||
bump: major |
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.
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.
here you wanna have it within
Initialization
phase?