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
implement custom proposer #1320
Merged
Merged
Changes from 1 commit
Commits
Show all changes
65 commits
Select commit
Hold shift + click to select a range
54873ea
network bridge skeleton
rphmeier 5eea3bf
move some primitives around and add debug impls
rphmeier 27456b5
protocol registration glue & abstract network interface
rphmeier 3bf17fa
add send_msgs to subsystemctx
rphmeier e05abd2
select logic
rphmeier ba005c9
transform different events into actions and handle
rphmeier 7572bba
implement remaining network bridge state machine
rphmeier 24a91c4
start test skeleton
rphmeier 064a00c
make network methods asynchronous
rphmeier c116061
extract subsystem out to subsystem crate
rphmeier e6162de
port over overseer to subsystem context trait
rphmeier 844a9d1
fix minimal example
rphmeier cae1561
fix overseer doc test
rphmeier 2c9be73
update network-bridge crate
rphmeier 534535f
write a subsystem test-helpers crate
rphmeier 8ac6269
write a network test helper for network-bridge
rphmeier 51ff607
set up (broken) view test
rphmeier 960029b
Revamp network to be more async-friendly and not require Sync
rphmeier eb52f9a
fix spacing
rphmeier f6526c4
fix test compilation
rphmeier 0f5a1b1
insert side-channel for actions
rphmeier 8f75746
Add some more message types to AllMessages
rphmeier 940216b
introduce a test harness
rphmeier a20cfd5
impl ProvideInherent for InclusionInherent
coriolinus 5c44804
reduce import churn; correct expect message
coriolinus 6efd05a
move inclusion inherent identifier into primitives
coriolinus fedd931
bump kusama spec_version to placate CI
coriolinus d696e1b
copy sc_basic_authorship::{ProposerFactory, Proposer}
coriolinus 9f05198
use polkadot custom proposer instead of basic-authorship one
coriolinus 859bd8b
add some tests
rphmeier c504d12
Merge branch 'master' into rh-network-bridge
rphmeier 4343f5c
ensure service compiles and passes tests
rphmeier 98c4c54
fix typo
rphmeier d194838
fix service-new compilation
rphmeier d468a2b
Subsystem test helpers send messages synchronously
rphmeier b676adc
remove smelly action inspector
rphmeier 7d44a62
remove superfluous let binding
rphmeier 989e8b5
fix warnings
rphmeier dffb0ab
Merge remote-tracking branch 'origin/master' into prgn-custom-proposer
coriolinus da07b9e
add license header
coriolinus 3110bf8
empty commit; maybe github will notice the one with changes
coriolinus 64792f7
Update node/network/bridge/src/lib.rs
rphmeier 6b88341
add sanity check to only include valid inherents
coriolinus 2b6a7d0
stub: encapsulate block production mechanics instead of copying them
coriolinus 01f2cd9
Merge remote-tracking branch 'origin/prgn-inclusioninherent-providein…
coriolinus d2af626
partial implementation of propose fn
coriolinus 50b51dd
fix compilation
rphmeier fd1dea5
Merge remote-tracking branch 'origin/rh-network-bridge' into prgn-cus…
coriolinus 2ab09a7
Merge remote-tracking branch 'origin/rh-network-bridge' into prgn-cus…
coriolinus ad5cbc8
clear a few more compile errors
coriolinus 4577215
Merge remote-tracking branch 'origin/master' into prgn-custom-proposer
coriolinus 5bcf147
finish fn propose
coriolinus 2377744
broken: add timeout to proposal
coriolinus af699dd
add timeout to proposal
coriolinus 3642dce
guide: provisioner is responsible for selecting parachain candidates
coriolinus 75190d8
implement ProvisionerMessage::RequestInherentData & update fn propose
coriolinus 3063303
Merge remote-tracking branch 'origin/master' into prgn-custom-proposer
coriolinus 6e41882
impl CreateProposer::init; clean up
coriolinus cfec8c2
impl std::error::Error for Error
coriolinus 6092ba0
document error-handling rationale
coriolinus c78dd28
cause polkadot-service-new to compile correctly
coriolinus d37e89e
Move potentially-blocking call from fn init -> fn propose
coriolinus b91be19
document struct Proposer
coriolinus 9bae56e
extract provisioner data fetch
coriolinus 0b0b86c
Merge branch 'master' into prgn-custom-proposer
gavofyork 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
partial implementation of propose fn
Doesn't actually compile yet; need to bring in some other commits to ensure ProvisionerMessage is a thing, and also figure out how to get the block hash given the current context.
- Loading branch information
commit d2af62613da865cca2ae82bb7c7dcafc3a93bcc0
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 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.