use pezpallet_xcm::XcmPassthrough;
use xcm_builder::{SignedAccountId32AsNative, SovereignSignedViaLocation};

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

type XcmOriginToCallOrigin = (
    SovereignSignedViaLocation<LocationConverter, RuntimeOrigin>,
    SignedAccountId32AsNative<RelayNetwork, RuntimeOrigin>,
    XcmPassthrough<RuntimeOrigin>,
);

pub type OriginConverter = XcmOriginToCallOrigin;
