This repository has been archived by the owner on Nov 15, 2023. It is now read-only.
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.
Allow root origin to force transition phases #13070
base: master
Are you sure you want to change the base?
Allow root origin to force transition phases #13070
Changes from 12 commits
f233e7b
974f6bd
b8cc054
91b7a56
e30df1d
c0a6ed6
d128084
9f9c639
1e0a673
59abf6c
1fab484
6464caa
fcbe75d
9b2e7f2
00b0d23
fa4a22b
f5a0979
6c2660e
1931103
b1bc6c5
d3bb8df
944c5e2
75c50c4
5cd9fd1
465d885
acca1fc
440072c
f8d3b63
8da9aa6
c3a6d55
90eed95
f3cba4b
bef191c
6123d80
1bd8c84
f08a775
c87549c
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
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.
Could we reuse code either by
fn start_signed()
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.
A good reason to extract logic into functions
start_<some>_phase
is that we can potentially add it to traitElectionProvider
such that other pallets can tell EPM to force phase as well.