/// Maximum number of collators to be assigned to orchestrator chain after all the container chains have been
/// Rotate all collators once every n sessions. If this value is 0 means that there is no rotation
// TODO: for now we only support 1 collator per parathread because using Aura for consensus conflicts with
// the idea of being able to create blocks every n slots: if there are 2 collators and we create blocks
/// A struct that holds the configuration that was active before the session change and optionally
pub fn initializer_on_new_session(session_index: &T::SessionIndex) -> SessionChangeOutcome {
// NOTE: Explicitly tell rustc not to inline this because otherwise heuristics note the incoming
fn schedule_config_update(updater: impl FnOnce(&mut HostConfiguration)) -> DispatchResult {
// We will use X as the base configuration. We need to schedule a new configuration change
// There cannot be (cur, X) because those are applied in the session change handler for the