pub(crate) fn router_v2<S>(state: Arc<S>, modules: OptionalModules) -> Routerwhere
S: StatusService + TokenService + NodeService + ConfigService + DatabaseService + AvailabilityService + MerklizedStateService + RewardStateService + StateSignatureService + SubmitService + ExplorerService + CatchupService + LightClientService + Send + Sync + 'static,Expand description
The v2 REST routes exactly as serve_axum mounts them. Extracted so the test asserting
every documented route is mounted exercises the same construction; don’t inline it back.