This repository has been archived by the owner on Nov 15, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 378
Integrate new Aura / Parachain Consensus Logic in Parachain-Template / Polkadot-Parachain #2864
Merged
rphmeier
merged 40 commits into
slumber-async-backing-feature
from
rh-integrate-new-aura
Aug 3, 2023
Merged
Changes from 38 commits
Commits
Show all changes
40 commits
Select commit
Hold shift + click to select a range
b8deeb6
add a comment
rphmeier 14cd025
refactor client/service utilities
rphmeier 8efd201
deprecate start_collator
rphmeier d9e5b0d
update parachain-template
rphmeier 67dc9d8
update test-service in the same way
rphmeier 5010d72
update polkadot-parachain crate
rphmeier 3eeba28
fmt
rphmeier faaee0c
wire up new SubmitCollation message
rphmeier d9d4c9d
some runtime utilities for implementing unincluded segment runtime APIs
rphmeier 7591e38
allow parachains to configure their level of sybil-resistance when st…
rphmeier 873be56
make aura-ext compile
rphmeier 0b3b463
update to specify sybil resistance levels
rphmeier f82cd12
fmt
rphmeier 2318901
specify relay chain slot duration in milliseconds
rphmeier b4eb494
update Aura to explicitly produce Send futures
rphmeier bb0fb3f
add authoring duration to basic collator and document params
rphmeier 56be008
integrate new basic collator into parachain-template
rphmeier b906b88
remove assert_send used for testing
rphmeier 0fa5a58
basic-aura: only author when parent included
rphmeier 51293e3
update polkadot-parachain-bin
rphmeier aaefdbc
fmt
rphmeier 73b8245
some fixes
rphmeier 62db51b
fixes
rphmeier f72e351
add a RelayNumberMonotonicallyIncreases
rphmeier 065c911
add a utility function for initializing subsystems
rphmeier 61ded06
some logging for timestamp adjustment
rphmeier ac05b8a
fmt
rphmeier 07a575b
some fixes for lookahead collator
rphmeier e37ab0a
add a log
rphmeier 763134b
update `find_potential_parents` to account for sessions
rphmeier 3fd1f51
bound the loop
rphmeier a9d7438
Merge branch 'slumber-async-backing-feature' into rh-integrate-new-aura
rphmeier 73ebbf5
restore & deprecate old start_collator and start_full_node functions.
rphmeier c368fc2
Merge branch 'slumber-async-backing-feature' into rh-integrate-new-aura
rphmeier 3ccde1f
remove unnecessary await calls
rphmeier cdffb35
fix warning
rphmeier 45d2a34
clippy
rphmeier 46d207c
more clippy
rphmeier 39ce40e
remove unneeded logic
rphmeier 55317b1
ci
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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.
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.
Are the futures in the
run()
functions of lookahead.rs and basic.rs examples of the "consensus futures" you mention here?Perhaps we would call said
run()
functions instead ofold_consensus::start_collator()
inparachain-template/node/src/service.rs
to fully activate async backing aura?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.
Yes, exactly.
The first step is to use the
basic.rs
future, which is intended to have the exact same behavior as current Aura. Then, when asynchronous backing is being enabled, thelookahead.rs
future would be swapped in.