Companion for paritytech/substrate#12219 (#5987)

* Companion for paritytech/substrate#12219

* Fixes

* update lockfile for {"substrate"}

* Fixes

* cargo fmt

Co-authored-by: parity-processbot <>
This commit is contained in:
Keith Yeung
2022-09-13 23:48:17 +08:00
committed by GitHub
parent 85f9ad25fe
commit a2c6536f77
12 changed files with 212 additions and 191 deletions
+1 -4
View File
@@ -18,10 +18,7 @@ use crate::traits::{
ClaimAssets, ConvertOrigin, DropAssets, FilterAssetLocation, InvertLocation, OnResponse,
ShouldExecute, TransactAsset, VersionChangeNotifier, WeightBounds, WeightTrader,
};
use frame_support::{
dispatch::{Dispatchable, Parameter},
weights::{GetDispatchInfo, PostDispatchInfo},
};
use frame_support::dispatch::{Dispatchable, GetDispatchInfo, Parameter, PostDispatchInfo};
use xcm::latest::SendXcm;
/// The trait to parameterize the `XcmExecutor`.
+4 -1
View File
@@ -16,7 +16,10 @@
#![cfg_attr(not(feature = "std"), no_std)]
use frame_support::{dispatch::Dispatchable, ensure, weights::GetDispatchInfo};
use frame_support::{
dispatch::{Dispatchable, GetDispatchInfo},
ensure,
};
use sp_runtime::traits::Saturating;
use sp_std::{marker::PhantomData, prelude::*};
use xcm::latest::{