mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-31 08:41:02 +00:00
Replace const parameters types (#1691)
* Replace const parameters * fmt * missed out Maxlocks
This commit is contained in:
committed by
Bastian Köcher
parent
9cea69349f
commit
3a8cb23103
@@ -27,7 +27,7 @@ use bridge_runtime_common::{
|
||||
};
|
||||
use frame_support::{
|
||||
parameter_types,
|
||||
traits::{Everything, Nothing},
|
||||
traits::{ConstU32, Everything, Nothing},
|
||||
};
|
||||
use xcm::latest::prelude::*;
|
||||
use xcm_builder::{
|
||||
@@ -104,10 +104,6 @@ pub type XcmRouter = (
|
||||
XcmBridgeAdapter<ToMillauBridge>,
|
||||
);
|
||||
|
||||
parameter_types! {
|
||||
pub const MaxAssetsIntoHolding: u32 = 64;
|
||||
}
|
||||
|
||||
/// The barriers one of which must be passed for an XCM message to be executed.
|
||||
pub type Barrier = (
|
||||
// Weight that is paid for may be consumed.
|
||||
@@ -141,7 +137,7 @@ impl xcm_executor::Config for XcmConfig {
|
||||
type AssetClaims = XcmPallet;
|
||||
type SubscriptionService = XcmPallet;
|
||||
type PalletInstancesInfo = AllPalletsWithSystem;
|
||||
type MaxAssetsIntoHolding = MaxAssetsIntoHolding;
|
||||
type MaxAssetsIntoHolding = ConstU32<64>;
|
||||
type FeeManager = ();
|
||||
type MessageExporter = ();
|
||||
type UniversalAliases = Nothing;
|
||||
|
||||
Reference in New Issue
Block a user