use pezkuwi_teyrchain_primitives::primitives::Id as ParaId;
use pezkuwi_runtime_teyrchains::origin;
use xcm_builder::{
    ChildTeyrChainAsNative, ChildSystemTeyrChainAsSuperuser, SignedAccountId32AsNative,
    SovereignSignedViaLocation,
};

use crate::xcm_mock::relay_chain::{
    constants::RelayNetwork, location_converter::LocationConverter, RuntimeOrigin,
};

type LocalOriginConverter = (
    SovereignSignedViaLocation<LocationConverter, RuntimeOrigin>,
    ChildTeyrChainAsNative<origin::Origin, RuntimeOrigin>,
    SignedAccountId32AsNative<RelayNetwork, RuntimeOrigin>,
    ChildSystemTeyrChainAsSuperuser<ParaId, RuntimeOrigin>,
);

pub type OriginConverter = LocalOriginConverter;
