-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Conversation
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.
Looks good 👍 , also shows why we need to get rid of AllSubsystems
eventually.
Will give it a second pass as soon as the remaining checkmarks are set :)
/// A Dispute Distribution subsystem. | ||
pub dispute_distribution: DD, | ||
/// A Chain Selection subsystem. | ||
pub chain_selection: CS, |
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.
Does this automatically generate communication handling for the subsystems?
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.
This is a barely used abstraction for Overseer::new
which will be removed soon™ ( tracked as chore in #3427 ), removing the wip
keyword from the #[subsystem(..)]
annotation does it.
Co-authored-by: Robert Habermeier <rphmeier@gmail.com>
#[subsystem(no_dispatch, wip, DisputeDistributionMessage)] | ||
dipute_distribution: DisputeDistribution, | ||
#[subsystem(no_dispatch, DisputeDistributionMessage)] | ||
dispute_distribution: DisputeDistribution, |
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.
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.
Woah, I like this "wip" thing.
* master: Update secp256k1 and remove unrequired usage (#3502) Bump libc from 0.2.91 to 0.2.98 (#3496) Bump slotmap from 1.0.2 to 1.0.5 (#3495) Gossip rebroadcast rate limiter (#3494) dependabot: ignore another git dep (#3493) add rustfmt toml (#3491) Disputes runtime (#2947) Bump async-process from 1.0.1 to 1.1.0 (#3122) remove the kubernetes helm chart (#3483) added pallet-proxy in rococo feature dependencies (#3486) Update BEEFY+MMR integration. (#3480) more verbose asserts (#3476) ci: use srtool-actions to build runtimes (#3423) overseer gen minor chore fixes (#3479)
I think we should probably play it safer with enabling the stagnant checks, maybe there should be a mode where we only log about this before rolling it out on Kusama. |
Ok, let's make a small PR where we change the configuration of the chain selection subsystem to prevent turning on the stagnant check worker. |
I pushed a commit to address @andresilva's concerns. However, we should introduce the stagnant check at the same time as removing the training wheels. Otherwise the fork-choice rule may follow a stagnant chain indefinitely. |
* master: Reduce staking miner reward (companion `substrate/pull/9395`) (#3465) Parachains shared.rs to Frame V2 (#3425) Parachains hrmp.rs to Frame V2 (#3475) Migrate slots pallet to pallet attribute macro. (#3218) Improve test in bridge (#3507) parachain dmp.rs to Frame V2 (#3426) Parachains inclusion.rs to Frame V2 (#3440) Dispute coordinator - Recover disputes on startup (#3481) Use correct syntax for owning all files in a folder (#3510) Add wococo-local chain spec (#3509) Dispute vote filtering for block authors (#3498) Bump indexmap from 1.6.1 to 1.7.0 (#3497) Companion for substrate #9315 (#3477)
This reverts commit e210505.
@@ -159,16 +160,22 @@ impl<Client> HeadSupportsParachains for Arc<Client> where | |||
} | |||
|
|||
|
|||
/// A handler used to communicate with the [`Overseer`]. | |||
/// A handle used to communicate with the [`Overseer`]. |
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.
Ty
pub struct Handle(pub Option<OverseerHandle>); | ||
pub enum Handle { | ||
/// Used only at initialization to break the cyclic dependency. | ||
// TODO: refactor in https://github.com/paritytech/polkadot/issues/3427 |
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.
👍
Fixes #3473
WARNING: this PR bums the parachain's DB version, which means it's a one-way migration unless you delete the parachain's DB folder.