pub(crate) fn merge_hotshot_modules<S>( router: ApiRouter, state: &S, modules: OptionalModules, ) -> ApiRouterwhere S: SubmitApi + CatchupApi + ConfigApi + HotShotEventsApi + Clone + Send + Sync + 'static,