pub(super) fn config<S, ApiVer: StaticVersionType + 'static>( _: ApiVer, api_ver: Version, ) -> Result<Api<S, Error, ApiVer>>where S: 'static + Send + Sync + ReadState, S::State: Send + Sync + HotShotConfigDataSource,