From df366830dc977b79cddf60af3ceea858ec660311 Mon Sep 17 00:00:00 2001
From: bgallois <benjamin@gallois.cc>
Date: Tue, 13 Jun 2023 12:59:30 +0200
Subject: [PATCH] fix pallets config

---
 runtime/common/src/pallets_config.rs | 4 ++--
 runtime/gdev/src/lib.rs              | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/runtime/common/src/pallets_config.rs b/runtime/common/src/pallets_config.rs
index 19b9e8087..cebb892c4 100644
--- a/runtime/common/src/pallets_config.rs
+++ b/runtime/common/src/pallets_config.rs
@@ -152,8 +152,8 @@ macro_rules! pallets_config {
             type AccountStore = Account;
 			type HoldIdentifier = ();
 			type FreezeIdentifier = ();
-			type MaxHolds = frame_support::pallet_prelude::ConstU32<50>;
-			type MaxFreezes = frame_support::pallet_prelude::ConstU32<50>;
+			type MaxHolds = frame_support::pallet_prelude::ConstU32<0>;
+			type MaxFreezes = frame_support::pallet_prelude::ConstU32<0>;
             /// The ubiquitous event type.
             type RuntimeEvent = RuntimeEvent;
             type WeightInfo = common_runtime::weights::pallet_balances::WeightInfo<Runtime>;
diff --git a/runtime/gdev/src/lib.rs b/runtime/gdev/src/lib.rs
index 9015ba50b..2ba88a277 100644
--- a/runtime/gdev/src/lib.rs
+++ b/runtime/gdev/src/lib.rs
@@ -153,7 +153,7 @@ mod benches {
         [pallet_membership, SmithMembership]
         [pallet_authority_members, AuthorityMembers]
         // Substrate
-        [pallet_balances, Balances] //TODO: failling at https://github.com/paritytech/substrate/blob/6ef184e33f6ce0f56999ae84b212ea6148c0624d/frame/balances/src/benchmarking.rs#L272
+        [pallet_balances, Balances]
         [frame_benchmarking::baseline, Baseline::<Runtime>]
         [pallet_collective, TechnicalCommittee]
         [pallet_session, SessionBench::<Runtime>]
-- 
GitLab