From 2260b8690757382d5907221b11ce69c584ccf274 Mon Sep 17 00:00:00 2001 From: Guantong Date: Tue, 17 Jan 2023 13:41:03 +0800 Subject: [PATCH] Companion for paritytech/substrate#12310 --- runtime/crab/src/pallets/assets.rs | 1 + runtime/darwinia/src/pallets/assets.rs | 1 + runtime/pangolin/src/pallets/assets.rs | 1 + 3 files changed, 3 insertions(+) diff --git a/runtime/crab/src/pallets/assets.rs b/runtime/crab/src/pallets/assets.rs index 19ff27cb..50fac259 100644 --- a/runtime/crab/src/pallets/assets.rs +++ b/runtime/crab/src/pallets/assets.rs @@ -44,4 +44,5 @@ impl pallet_assets::Config for Runtime { type RuntimeEvent = RuntimeEvent; type StringLimit = ConstU32<50>; type WeightInfo = (); + type RemoveItemsLimit = ConstU32<1000>; } diff --git a/runtime/darwinia/src/pallets/assets.rs b/runtime/darwinia/src/pallets/assets.rs index 2367bca4..552e64d6 100644 --- a/runtime/darwinia/src/pallets/assets.rs +++ b/runtime/darwinia/src/pallets/assets.rs @@ -44,4 +44,5 @@ impl pallet_assets::Config for Runtime { type RuntimeEvent = RuntimeEvent; type StringLimit = ConstU32<50>; type WeightInfo = (); + type RemoveItemsLimit = ConstU32<1000>; } diff --git a/runtime/pangolin/src/pallets/assets.rs b/runtime/pangolin/src/pallets/assets.rs index d1a5335f..8e2e85ae 100644 --- a/runtime/pangolin/src/pallets/assets.rs +++ b/runtime/pangolin/src/pallets/assets.rs @@ -44,4 +44,5 @@ impl pallet_assets::Config for Runtime { type RuntimeEvent = RuntimeEvent; type StringLimit = ConstU32<50>; type WeightInfo = (); + type RemoveItemsLimit = ConstU32<1000>; }