This commit is contained in:
Gav Wood
2021-10-23 23:26:04 +02:00
parent 8159c2c5f9
commit 8f48998279
12 changed files with 333 additions and 233 deletions
+3
View File
@@ -457,6 +457,7 @@ parameter_types! {
// One XCM operation is 1_000_000_000 weight - almost certainly a conservative estimate.
pub UnitWeightCost: Weight = 1_000_000_000;
pub const MaxInstructions: u32 = 100;
pub const MaxAssetsIntoHolding: u32 = 64;
}
match_type! {
@@ -490,6 +491,8 @@ impl Config for XcmConfig {
type AssetTrap = PolkadotXcm;
type AssetClaims = PolkadotXcm;
type SubscriptionService = PolkadotXcm;
type PalletInstancesInfo = ();
type MaxAssetsIntoHolding = MaxAssetsIntoHolding;
}
parameter_types! {