Skip to content

Commit 703e674

Browse files
committed
[pallet_balances] adapt paritytech/polkadot-sdk#2657 (removed MaxHolds)
1 parent cdd6bf7 commit 703e674

File tree

8 files changed

+0
-11
lines changed
  • relay
  • system-parachains
    • asset-hubs
    • bridge-hubs
    • collectives/collectives-polkadot/src
    • encointer/src

8 files changed

+0
-11
lines changed

relay/kusama/src/lib.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,6 @@ impl pallet_balances::Config for Runtime {
326326
type MaxFreezes = ConstU32<8>;
327327
type RuntimeHoldReason = RuntimeHoldReason;
328328
type RuntimeFreezeReason = RuntimeFreezeReason;
329-
type MaxHolds = ConstU32<2>;
330329
}
331330

332331
parameter_types! {
@@ -1417,7 +1416,6 @@ impl pallet_balances::Config<NisCounterpartInstance> for Runtime {
14171416
type RuntimeHoldReason = RuntimeHoldReason;
14181417
type RuntimeFreezeReason = RuntimeFreezeReason;
14191418
type FreezeIdentifier = ();
1420-
type MaxHolds = ConstU32<2>;
14211419
type MaxFreezes = ConstU32<1>;
14221420
}
14231421

relay/polkadot/src/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,6 @@ impl pallet_balances::Config for Runtime {
319319
type RuntimeHoldReason = RuntimeHoldReason;
320320
type RuntimeFreezeReason = RuntimeFreezeReason;
321321
type FreezeIdentifier = RuntimeFreezeReason;
322-
type MaxHolds = ConstU32<1>;
323322
type MaxFreezes = ConstU32<8>;
324323
}
325324

system-parachains/asset-hubs/asset-hub-kusama/src/lib.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -227,9 +227,6 @@ impl pallet_balances::Config for Runtime {
227227
type RuntimeHoldReason = RuntimeHoldReason;
228228
type RuntimeFreezeReason = RuntimeFreezeReason;
229229
type FreezeIdentifier = ();
230-
// We allow each account to have holds on it from:
231-
// - `NftFractionalization`: 1
232-
type MaxHolds = ConstU32<1>;
233230
type MaxFreezes = ConstU32<0>;
234231
}
235232

system-parachains/asset-hubs/asset-hub-polkadot/src/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,6 @@ impl pallet_balances::Config for Runtime {
242242
type RuntimeHoldReason = RuntimeHoldReason;
243243
type RuntimeFreezeReason = RuntimeFreezeReason;
244244
type FreezeIdentifier = ();
245-
type MaxHolds = ConstU32<0>;
246245
type MaxFreezes = ConstU32<0>;
247246
}
248247

system-parachains/bridge-hubs/bridge-hub-kusama/src/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,6 @@ impl pallet_balances::Config for Runtime {
268268
type RuntimeHoldReason = RuntimeHoldReason;
269269
type RuntimeFreezeReason = RuntimeFreezeReason;
270270
type FreezeIdentifier = ();
271-
type MaxHolds = ConstU32<0>;
272271
type MaxFreezes = ConstU32<0>;
273272
}
274273

system-parachains/bridge-hubs/bridge-hub-polkadot/src/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,6 @@ impl pallet_balances::Config for Runtime {
268268
type RuntimeHoldReason = RuntimeHoldReason;
269269
type RuntimeFreezeReason = RuntimeFreezeReason;
270270
type FreezeIdentifier = ();
271-
type MaxHolds = ConstU32<0>;
272271
type MaxFreezes = ConstU32<0>;
273272
}
274273

system-parachains/collectives/collectives-polkadot/src/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,6 @@ impl pallet_balances::Config for Runtime {
216216
type RuntimeHoldReason = RuntimeHoldReason;
217217
type RuntimeFreezeReason = RuntimeFreezeReason;
218218
type FreezeIdentifier = ();
219-
type MaxHolds = ConstU32<1>;
220219
type MaxFreezes = ConstU32<0>;
221220
}
222221

system-parachains/encointer/src/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,6 @@ impl pallet_balances::Config for Runtime {
306306
type RuntimeHoldReason = ();
307307
type RuntimeFreezeReason = RuntimeFreezeReason;
308308
type FreezeIdentifier = ();
309-
type MaxHolds = ConstU32<0>;
310309
type MaxFreezes = ConstU32<0>;
311310
}
312311

0 commit comments

Comments
 (0)