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
New parachain runtime skeleton #1158
Merged
Merged
Changes from 4 commits
Commits
Show all changes
42 commits
Select commit
Hold shift + click to select a range
05caf14
file structure and initializer skeleton
rphmeier 0703ffd
ensure session changes happen before initialization
rphmeier 11da041
add a couple tests for initializer flow
rphmeier 00d4d60
integrate with session handling
rphmeier e07e656
configuration update logic
rphmeier af66290
configuration methods
rphmeier 48ddd60
move test mock to its own module
rphmeier 33dcdb1
integrate configuration into initializer
rphmeier 0b228e9
add note about initialization order
rphmeier f8a8916
integrate configuration module into mock
rphmeier 2d0c60a
add some tests for config module
rphmeier c1d854f
paras module storage
rphmeier b346d47
implement paras session change operation
rphmeier 3c2dd39
amend past code pruning to fully cover acceptance period
rphmeier 8183638
update guide again
rphmeier 26b8870
do pruning of historical validation code
rphmeier c32759b
add weight to initialization
rphmeier ec0a15d
integrate into mock & leave notes for next session
rphmeier 182fbf4
clean up un-ended sentence
rphmeier a3b89f7
alter test to account for double index in past code meta
rphmeier 3b82a87
port over code-at logic test
rphmeier 1a585a6
clarify checking for conflicting code upgrades
rphmeier 10fe902
add genesis for paras, include in mock, ensure incoming paras are pro…
rphmeier a05a4b9
note on return value of `validation_code_at`
rphmeier f77326f
implement paras routines from implementor's guide
rphmeier fdc3631
bring over some existing tests and begin porting
rphmeier a58b349
port over code upgrade tests
rphmeier e671590
test parachain registration
rphmeier 11c8c3c
test code_at with intermediate block
rphmeier 0116cc4
fix warnings
rphmeier b608d34
Merge branch 'master' into rh-para-runtime-skeleton
rphmeier e0f1a71
clean up docs and extract to separate struct
rphmeier 4fce5b5
adjust implementor's guide to include replacementtimes
rphmeier 1297674
kill stray println
rphmeier e486ce3
rename expected_at to applied_after
rphmeier b50e6d2
rewrite ParaPastCodeMeta to avoid reversal
rphmeier ffe66b1
clarify and test interface of validation_code_at
rphmeier 829dc2e
make FutureCode optional
rphmeier 5a8efc8
Merge branch 'master' into rh-para-runtime-skeleton
rphmeier a01bafd
rename do_old_code_pruning
rphmeier 2a079cc
add comment on Option<()> to answer FAQ
rphmeier 4adc554
address some more grumbles
rphmeier 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
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.