This repository was archived by the owner on Nov 15, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Explicit Para Lifecycle w/ Upgrades and Downgrades #2354
Merged
Merged
Changes from 9 commits
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
ceb0bee
initial implementation of lifecycles and upgrades
shawntabrizi ca2e930
clean up a bit
shawntabrizi f03cf68
fix doc comment
shawntabrizi 8ab27f0
more rigid lifecycle checks
shawntabrizi af59148
include paras which are transitioning, and lifecycle query
shawntabrizi a154cf8
format guide
shawntabrizi bfc96a1
update api
shawntabrizi fdde35f
update guide
shawntabrizi 623746c
explicit outgoing state, fix genesis
shawntabrizi 2eb5e19
handle outgoing with transitioning paras
shawntabrizi 80c7b64
do not include transitioning paras in identifier
shawntabrizi ee07f80
Update roadmap/implementers-guide/src/runtime/paras.md
gavofyork ea62e00
Update roadmap/implementers-guide/src/runtime/paras.md
gavofyork 1289e39
Update roadmap/implementers-guide/src/runtime/paras.md
gavofyork c26b42e
Apply suggestions from code review
gavofyork 26d6c99
Use matches macro
gavofyork 4f26659
Correct terms
gavofyork a785985
Apply suggestions from code review
gavofyork b2e9011
actions queue
shawntabrizi f56777c
Revert "actions queue"
shawntabrizi 7455165
collapse onboarding state
shawntabrizi 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
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.
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.
why would the number of bits alter when upgrading/downgrading between parthread and parachain?
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.
Every availability core gets its own bit in the bitfield. Parathreads are multiplexed over a fixed number of cores (configured per-session), whereas Parachains each get their own dedicated core. Upgrading from parathread to parachain would alter the amount of availability cores, which would alter the division of validators into groups, which could lead to consensus issues across forks.