Skip to content
Snippets Groups Projects
Commit c4c67388 authored by Peter Goodspeed-Niklaus's avatar Peter Goodspeed-Niklaus
Browse files

start working on building the real overseer

Unfortunately, this fails to compile right now due to an upstream
failure to compile which is probably brought on by a recent upgrade
to rustc v1.47.
parent ba0d1a32
No related merge requests found
......@@ -5389,13 +5389,28 @@ dependencies = [
"pallet-transaction-payment-rpc-runtime-api",
"parity-scale-codec",
"parking_lot 0.9.0",
"polkadot-availability-bitfield-distribution",
"polkadot-availability-distribution",
"polkadot-collator-protocol",
"polkadot-network-bridge",
"polkadot-node-collation-generation",
"polkadot-node-core-av-store",
"polkadot-node-core-backing",
"polkadot-node-core-bitfield-signing",
"polkadot-node-core-candidate-selection",
"polkadot-node-core-candidate-validation",
"polkadot-node-core-chain-api",
"polkadot-node-core-proposer",
"polkadot-node-core-provisioner",
"polkadot-node-core-runtime-api",
"polkadot-node-subsystem",
"polkadot-overseer",
"polkadot-parachain",
"polkadot-pov-distribution",
"polkadot-primitives",
"polkadot-rpc",
"polkadot-runtime",
"polkadot-statement-distribution",
"polkadot-test-runtime-client",
"rococo-v1-runtime",
"sc-authority-discovery",
......
......@@ -68,10 +68,27 @@ polkadot-parachain = { path = "../../parachain" }
polkadot-primitives = { path = "../../primitives" }
polkadot-rpc = { path = "../../rpc" }
polkadot-runtime = { path = "../../runtime/polkadot" }
polkadot-subsystem = { package = "polkadot-node-subsystem", path = "../subsystem" }
rococo-runtime = { package = "rococo-v1-runtime", path = "../../runtime/rococo-v1" }
westend-runtime = { path = "../../runtime/westend" }
# Polkadot Subsystems
polkadot-subsystem = { package = "polkadot-node-subsystem", path = "../subsystem" }
polkadot-node-core-candidate-validation = { path = "../core/candidate-validation" }
polkadot-node-core-backing = { path = "../core/backing" }
polkadot-node-core-candidate-selection = { path = "../core/candidate-selection" }
polkadot-statement-distribution = { path = "../network/statement-distribution" }
polkadot-availability-distribution = { path = "../network/availability-distribution" }
polkadot-node-core-bitfield-signing = { path = "../core/bitfield-signing" }
polkadot-availability-bitfield-distribution = { path = "../network/bitfield-distribution" }
polkadot-node-core-provisioner = { path = "../core/provisioner" }
polkadot-pov-distribution = { path = "../network/pov-distribution" }
polkadot-node-core-runtime-api = { path = "../core/runtime-api" }
polkadot-node-core-av-store = { path = "../core/av-store" }
polkadot-network-bridge = { path = "../network/bridge" }
polkadot-node-core-chain-api = { path = "../core/chain-api" }
polkadot-node-collation-generation = { path = "../collation-generation" }
polkadot-collator-protocol = { path = "../network/collator-protocol" }
[dev-dependencies]
polkadot-test-runtime-client = { path = "../../runtime/test-runtime/client" }
sc-block-builder = { git = "https://github.com/paritytech/substrate", branch = "master" }
......
......@@ -271,22 +271,38 @@ fn real_overseer<S: SpawnNamed>(
prometheus_registry: Option<&Registry>,
s: S,
) -> Result<(Overseer<S>, OverseerHandler), ServiceError> {
use polkadot_node_core_candidate_validation::CandidateValidationSubsystem;
use polkadot_node_core_backing::CandidateBackingSubsystem;
use polkadot_node_core_candidate_selection::CandidateSelectionSubsystem;
use polkadot_statement_distribution::StatementDistribution as StatementDistributionSubsystem;
use polkadot_availability_distribution::AvailabilityDistributionSubsystem;
use polkadot_node_core_bitfield_signing::BitfieldSigningSubsystem;
use polkadot_availability_bitfield_distribution::BitfieldDistribution as BitfieldDistributionSubsystem;
use polkadot_node_core_provisioner::ProvisioningSubsystem as ProvisionerSubsystem;
use polkadot_pov_distribution::PoVDistribution as PoVDistributionSubsystem;
use polkadot_node_core_runtime_api::RuntimeApiSubsystem;
use polkadot_node_core_av_store::AvailabilityStoreSubsystem;
use polkadot_network_bridge::NetworkBridge as NetworkBridgeSubsystem;
use polkadot_node_core_chain_api::ChainApiSubsystem;
use polkadot_node_collation_generation::CollationGenerationSubsystem;
use polkadot_collator_protocol::CollatorProtocolSubsystem;
let all_subsystems = AllSubsystems {
candidate_validation: DummySubsystem,
candidate_backing: DummySubsystem,
candidate_selection: DummySubsystem,
statement_distribution: DummySubsystem,
availability_distribution: DummySubsystem,
bitfield_signing: DummySubsystem,
bitfield_distribution: DummySubsystem,
provisioner: DummySubsystem,
pov_distribution: DummySubsystem,
runtime_api: DummySubsystem,
availability_store: DummySubsystem,
network_bridge: DummySubsystem,
chain_api: DummySubsystem,
collation_generation: DummySubsystem,
collator_protocol: DummySubsystem,
candidate_validation: CandidateValidationSubsystem::new(),
candidate_backing: CandidateBackingSubsystem::new(),
candidate_selection: CandidateSelectionSubsystem::new(),
statement_distribution: StatementDistributionSubsystem::new(),
availability_distribution: AvailabilityDistributionSubsystem::new(),
bitfield_signing: BitfieldSigningSubsystem::new(),
bitfield_distribution: BitfieldDistributionSubsystem::new(),
provisioner: ProvisionerSubsystem::new(),
pov_distribution: PoVDistributionSubsystem::new(),
runtime_api: RuntimeApiSubsystem::new(),
availability_store: AvailabilityStoreSubsystem::new(),
network_bridge: NetworkBridgeSubsystem::new(),
chain_api: ChainApiSubsystem::new(),
collation_generation: CollationGenerationSubsystem::new(),
collator_protocol: CollatorProtocolSubsystem::new(),
};
Overseer::new(
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment