pub(super) fn merklized_state<N, P, D, S, V: Versions, const ARITY: usize>(
api_ver: Version,
) -> Result<Api<ApiState<ExtensibleDataSource<D, ApiState<N, P, V>>>, Error, SequencerApiVersion>>where
N: ConnectedNetwork<PubKey>,
D: MerklizedStateDataSource<SeqTypes, S, ARITY> + Send + Sync + MerklizedStateHeightPersistence + 'static,
S: MerklizedState<SeqTypes, ARITY>,
P: SequencerPersistence,
for<'a> <S::Commit as TryFrom<&'a TaggedBase64>>::Error: Display,