chore: regenerate umbrella crate, fix feature propagation
This commit is contained in:
@@ -269,8 +269,8 @@ impl ConvertLocation<AccountId> for AccountIndex64Aliases {
|
||||
/// `Convert` implementation to convert from some a `Signed` (system) `Origin` into an
|
||||
/// `AccountIndex64`.
|
||||
///
|
||||
/// Typically used when configuring `pezpallet-xcm` in tests to allow `u64` accounts to dispatch an XCM
|
||||
/// from an `AccountIndex64` origin.
|
||||
/// Typically used when configuring `pezpallet-xcm` in tests to allow `u64` accounts to dispatch an
|
||||
/// XCM from an `AccountIndex64` origin.
|
||||
pub struct SignedToAccountIndex64<RuntimeOrigin, AccountId, Network>(
|
||||
PhantomData<(RuntimeOrigin, AccountId, Network)>,
|
||||
);
|
||||
|
||||
@@ -58,7 +58,8 @@ pub struct DescribePalletTerminal;
|
||||
impl DescribeLocation for DescribePalletTerminal {
|
||||
fn describe_location(l: &Location) -> Option<Vec<u8>> {
|
||||
match l.unpack() {
|
||||
(0, [PalletInstance(i)]) => Some((b"Pezpallet", Compact::<u32>::from(*i as u32)).encode()),
|
||||
(0, [PalletInstance(i)]) =>
|
||||
Some((b"Pezpallet", Compact::<u32>::from(*i as u32)).encode()),
|
||||
_ => return None,
|
||||
}
|
||||
}
|
||||
|
||||
@@ -290,8 +290,8 @@ where
|
||||
/// `Convert` implementation to convert from some an origin which implements `Backing` into a
|
||||
/// corresponding `Plurality` `Location`.
|
||||
///
|
||||
/// Typically used when configuring `pezpallet-xcm` for allowing a collective's Origin to dispatch an
|
||||
/// XCM from a `Plurality` origin.
|
||||
/// Typically used when configuring `pezpallet-xcm` for allowing a collective's Origin to dispatch
|
||||
/// an XCM from a `Plurality` origin.
|
||||
pub struct BackingToPlurality<RuntimeOrigin, COrigin, Body>(
|
||||
PhantomData<(RuntimeOrigin, COrigin, Body)>,
|
||||
);
|
||||
|
||||
@@ -22,8 +22,8 @@ use pezframe_support::{
|
||||
dispatch::GetDispatchInfo,
|
||||
traits::{ProcessMessage, ProcessMessageError},
|
||||
};
|
||||
use scale_info::TypeInfo;
|
||||
use pezsp_weights::{Weight, WeightMeter};
|
||||
use scale_info::TypeInfo;
|
||||
use xcm::{prelude::*, MAX_XCM_DECODE_DEPTH};
|
||||
|
||||
const LOG_TARGET: &str = "xcm::process-message";
|
||||
|
||||
@@ -145,7 +145,9 @@ pub struct AssetKind {
|
||||
}
|
||||
|
||||
pub struct LocatableAssetKindConverter;
|
||||
impl pezsp_runtime::traits::TryConvert<AssetKind, LocatableAssetId> for LocatableAssetKindConverter {
|
||||
impl pezsp_runtime::traits::TryConvert<AssetKind, LocatableAssetId>
|
||||
for LocatableAssetKindConverter
|
||||
{
|
||||
fn try_convert(value: AssetKind) -> Result<LocatableAssetId, AssetKind> {
|
||||
Ok(LocatableAssetId { asset_id: value.asset_id, location: value.destination })
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user