pub(super) fn submit<N, P, S, ApiVer: StaticVersionType + 'static>(
api_ver: Version,
) -> Result<Api<S, Error, ApiVer>>where
N: ConnectedNetwork<PubKey>,
S: 'static + Send + Sync + ReadState,
P: SequencerPersistence,
S::State: Send + Sync + SubmitDataSource<N, P>,