Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[frame] #[pallet::composite_enum] improved variant count handling + removed pallet_balances's MaxHolds config #2657

Merged
merged 63 commits into from
Jan 31, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
63 commits
Select commit Hold shift + click to select a range
746732c
Test for MaxHolds
bkontur Dec 7, 2023
d1dba07
wip
bkontur Dec 13, 2023
535a883
Dedicated test for `composite_enum` and variant count
bkontur Dec 22, 2023
2e8a925
Fix `HoldReason` and `FreezeReason` variant count
bkontur Jan 4, 2024
b752f74
Fix macro for no composite enums
bkontur Jan 5, 2024
80c685c
impl `Get<u32>` for RuntimeFreezeReason/RuntimeHoldReason
bkontur Jan 5, 2024
a2b272a
Set all `MaxHolds = RuntimeHoldReason` and `MaxFreezes = RuntimeFreez…
bkontur Jan 5, 2024
694d230
".git/.scripts/commands/fmt/fmt.sh"
Jan 5, 2024
a0dd0a8
Docs fix
bkontur Jan 5, 2024
71156bb
Update substrate/frame/support/procedural/src/lib.rs
bkontur Jan 8, 2024
2f3c31c
Fix other places with Basti's suggestion
bkontur Jan 8, 2024
6d6e75c
Update substrate/frame/support/procedural/src/lib.rs
bkontur Jan 8, 2024
b84cc1b
Update substrate/frame/support/procedural/src/lib.rs
bkontur Jan 8, 2024
4f5c9c8
Update substrate/frame/support/procedural/src/lib.rs
bkontur Jan 8, 2024
b30e17e
fix
bkontur Jan 8, 2024
b38ddb2
Update substrate/frame/support/procedural/src/construct_runtime/expan…
bkontur Jan 8, 2024
8d9bdf0
Update substrate/frame/support/procedural/src/construct_runtime/expan…
bkontur Jan 8, 2024
9bde28f
`pallet::balances` replace `MaxHolds` with `VariantCountOf<T::Runtime…
bkontur Jan 8, 2024
f759563
Removed unnecessery `impl #scrate::traits::Get<u32> for Runtime*Reason`
bkontur Jan 16, 2024
635724e
Removed `MaxHolds` from everywhere
bkontur Jan 17, 2024
a32b0b0
Fix after removed `Get` impl
bkontur Jan 17, 2024
f43412c
Removed derive macro `CompositeEnumVariantCount` and replace with exp…
bkontur Jan 17, 2024
248790a
fmt
bkontur Jan 17, 2024
9faefd8
One more revert for `MaxFreezes`
bkontur Jan 17, 2024
3c81275
Add additional check for composite enums
bkontur Jan 17, 2024
9b8aa8e
Merge remote-tracking branch 'origin/master' into bko-max-holds-integ…
bkontur Jan 17, 2024
32cf3ff
Fix for multi-instance pallets when `InstanceXYZ` is not specified in…
bkontur Jan 18, 2024
3a4a1ce
Merge remote-tracking branch 'origin/master' into bko-max-holds-integ…
bkontur Jan 18, 2024
bccc074
Fix preimage tests
bkontur Jan 18, 2024
ba7df0b
prdoc
bkontur Jan 19, 2024
6778282
Merge remote-tracking branch 'origin/master' into bko-max-holds-integ…
bkontur Jan 19, 2024
0959bea
prdoc - change audience
bkontur Jan 19, 2024
c637145
prdoc one more time
bkontur Jan 19, 2024
9eca694
removed empty line
bkontur Jan 19, 2024
44b0827
Merge remote-tracking branch 'origin/master' into bko-max-holds-integ…
bkontur Jan 19, 2024
f4cfc2c
Hit me, baby, one more time...
bkontur Jan 19, 2024
5a1b161
Merge remote-tracking branch 'origin/master' into bko-max-holds-integ…
bkontur Jan 24, 2024
d557601
Update substrate/frame/support/procedural/src/pallet/expand/mod.rs
bkontur Jan 24, 2024
48c3d37
Update substrate/frame/support/procedural/src/pallet/expand/mod.rs
bkontur Jan 24, 2024
442f3fd
Update prdoc/pr_2657.prdoc
bkontur Jan 24, 2024
abaf487
Update substrate/frame/support/test/tests/composite_enum.rs
bkontur Jan 24, 2024
2358636
Merge remote-tracking branch 'origin/bko-max-holds-integrity-test' in…
bkontur Jan 24, 2024
7d113e9
Removed unnecessary indexes from `construct_runtime`
bkontur Jan 24, 2024
6a0289a
".git/.scripts/commands/fmt/fmt.sh"
Jan 24, 2024
0cb363a
Fmt? struct vs enum?
bkontur Jan 24, 2024
83e64fe
".git/.scripts/commands/bench/bench.sh" --subcommand=pallet --runtime…
Jan 24, 2024
4342247
".git/.scripts/commands/bench/bench.sh" --subcommand=runtime --runtim…
Jan 24, 2024
71c55c7
".git/.scripts/commands/bench/bench.sh" --subcommand=runtime --runtim…
Jan 24, 2024
5af90e7
Merge branch 'master' into bko-max-holds-integrity-test
bkontur Jan 24, 2024
464af0c
Update prdoc/pr_2657.prdoc
bkontur Jan 26, 2024
4015ea0
PR review fixes
bkontur Jan 26, 2024
c869313
Merge remote-tracking branch 'origin/master' into bko-max-holds-integ…
bkontur Jan 26, 2024
77066c8
Merge branch 'master' into bko-max-holds-integrity-test
bkontur Jan 30, 2024
5380371
Merge branch 'master' into bko-max-holds-integrity-test
bkontur Jan 30, 2024
01c39bf
Merge remote-tracking branch 'origin/master' into bko-max-holds-integ…
bkontur Jan 30, 2024
0ce9eca
".git/.scripts/commands/bench-all/bench-all.sh" --pallet=pallet_balances
Jan 31, 2024
3aeb0f8
Merge branch 'master' of https://github.com/paritytech/polkadot-sdk i…
Jan 31, 2024
998ed0f
".git/.scripts/commands/bench-all/bench-all.sh" --pallet=pallet_balances
Jan 31, 2024
53b2f44
".git/.scripts/commands/bench-all/bench-all.sh" --pallet=pallet_balances
Jan 31, 2024
e6552cc
".git/.scripts/commands/bench-all/bench-all.sh" --pallet=pallet_balances
Jan 31, 2024
2d6a3c4
".git/.scripts/commands/bench-all/bench-all.sh" --pallet=pallet_balances
Jan 31, 2024
27a5723
".git/.scripts/commands/bench-all/bench-all.sh" --pallet=pallet_balances
Jan 31, 2024
adbcace
".git/.scripts/commands/bench-all/bench-all.sh" --pallet=pallet_balances
Jan 31, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,6 @@ impl pallet_balances::Config for Test {
type MaxFreezes = ();
type RuntimeHoldReason = ();
type RuntimeFreezeReason = ();
type MaxHolds = ();
}

parameter_types! {
Expand Down
1 change: 0 additions & 1 deletion bridges/snowbridge/parachain/pallets/system/src/mock.rs
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,6 @@ impl pallet_balances::Config for Test {
type MaxFreezes = ();
type RuntimeHoldReason = ();
type RuntimeFreezeReason = ();
type MaxHolds = ();
}

impl pallet_xcm_origin::Config for Test {
Expand Down
1 change: 0 additions & 1 deletion cumulus/pallets/collator-selection/src/mock.rs
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,6 @@ impl pallet_balances::Config for Test {
type RuntimeHoldReason = RuntimeHoldReason;
type RuntimeFreezeReason = RuntimeFreezeReason;
type FreezeIdentifier = ();
type MaxHolds = ConstU32<0>;
type MaxFreezes = ConstU32<0>;
}

Expand Down
1 change: 0 additions & 1 deletion cumulus/pallets/xcmp-queue/src/mock.rs
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,6 @@ impl pallet_balances::Config for Test {
type RuntimeHoldReason = RuntimeHoldReason;
type RuntimeFreezeReason = RuntimeFreezeReason;
type FreezeIdentifier = ();
type MaxHolds = ConstU32<0>;
type MaxFreezes = ConstU32<0>;
}

Expand Down
1 change: 0 additions & 1 deletion cumulus/parachain-template/runtime/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,6 @@ impl pallet_balances::Config for Runtime {
type RuntimeHoldReason = RuntimeHoldReason;
type RuntimeFreezeReason = RuntimeFreezeReason;
type FreezeIdentifier = ();
type MaxHolds = ConstU32<0>;
type MaxFreezes = ConstU32<0>;
}

Expand Down
1 change: 0 additions & 1 deletion cumulus/parachains/common/src/impls.rs
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,6 @@ mod tests {
type RuntimeHoldReason = RuntimeHoldReason;
type RuntimeFreezeReason = RuntimeFreezeReason;
type FreezeIdentifier = ();
type MaxHolds = ConstU32<1>;
type MaxFreezes = ConstU32<1>;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -241,10 +241,6 @@ impl pallet_balances::Config for Runtime {
type RuntimeHoldReason = RuntimeHoldReason;
type RuntimeFreezeReason = RuntimeFreezeReason;
type FreezeIdentifier = ();
// We allow each account to have holds on it from:
// - `NftFractionalization`: 1
// - `StateTrieMigration`: 1
type MaxHolds = ConstU32<2>;
type MaxFreezes = ConstU32<0>;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@

//! Autogenerated weights for `pallet_balances`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2024-01-20, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0
//! DATE: 2024-01-31, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `runner-j8vvqcjr-project-674-concurrent-0`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
//! HOSTNAME: `runner-8idpd4bs-project-674-concurrent-0`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("asset-hub-rococo-dev")`, DB CACHE: 1024

// Executed Command:
Expand Down Expand Up @@ -54,8 +54,8 @@ impl<T: frame_system::Config> pallet_balances::WeightInfo for WeightInfo<T> {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `3593`
// Minimum execution time: 45_402_000 picoseconds.
Weight::from_parts(46_086_000, 0)
// Minimum execution time: 42_706_000 picoseconds.
Weight::from_parts(43_378_000, 0)
.saturating_add(Weight::from_parts(0, 3593))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
Expand All @@ -66,8 +66,8 @@ impl<T: frame_system::Config> pallet_balances::WeightInfo for WeightInfo<T> {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `3593`
// Minimum execution time: 35_707_000 picoseconds.
Weight::from_parts(36_107_000, 0)
// Minimum execution time: 33_090_000 picoseconds.
Weight::from_parts(33_703_000, 0)
.saturating_add(Weight::from_parts(0, 3593))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
Expand All @@ -78,8 +78,8 @@ impl<T: frame_system::Config> pallet_balances::WeightInfo for WeightInfo<T> {
// Proof Size summary in bytes:
// Measured: `103`
// Estimated: `3593`
// Minimum execution time: 13_538_000 picoseconds.
Weight::from_parts(13_771_000, 0)
// Minimum execution time: 12_678_000 picoseconds.
Weight::from_parts(13_068_000, 0)
.saturating_add(Weight::from_parts(0, 3593))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
Expand All @@ -90,8 +90,8 @@ impl<T: frame_system::Config> pallet_balances::WeightInfo for WeightInfo<T> {
// Proof Size summary in bytes:
// Measured: `103`
// Estimated: `3593`
// Minimum execution time: 18_488_000 picoseconds.
Weight::from_parts(19_136_000, 0)
// Minimum execution time: 17_336_000 picoseconds.
Weight::from_parts(17_824_000, 0)
.saturating_add(Weight::from_parts(0, 3593))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
Expand All @@ -102,8 +102,8 @@ impl<T: frame_system::Config> pallet_balances::WeightInfo for WeightInfo<T> {
// Proof Size summary in bytes:
// Measured: `103`
// Estimated: `6196`
// Minimum execution time: 48_168_000 picoseconds.
Weight::from_parts(48_874_000, 0)
// Minimum execution time: 44_817_000 picoseconds.
Weight::from_parts(45_453_000, 0)
.saturating_add(Weight::from_parts(0, 6196))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
Expand All @@ -114,8 +114,8 @@ impl<T: frame_system::Config> pallet_balances::WeightInfo for WeightInfo<T> {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `3593`
// Minimum execution time: 44_463_000 picoseconds.
Weight::from_parts(45_320_000, 0)
// Minimum execution time: 41_468_000 picoseconds.
Weight::from_parts(42_093_000, 0)
.saturating_add(Weight::from_parts(0, 3593))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
Expand All @@ -126,8 +126,8 @@ impl<T: frame_system::Config> pallet_balances::WeightInfo for WeightInfo<T> {
// Proof Size summary in bytes:
// Measured: `103`
// Estimated: `3593`
// Minimum execution time: 16_227_000 picoseconds.
Weight::from_parts(16_549_000, 0)
// Minimum execution time: 15_344_000 picoseconds.
Weight::from_parts(15_878_000, 0)
.saturating_add(Weight::from_parts(0, 3593))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
Expand All @@ -139,11 +139,11 @@ impl<T: frame_system::Config> pallet_balances::WeightInfo for WeightInfo<T> {
// Proof Size summary in bytes:
// Measured: `0 + u * (136 ±0)`
// Estimated: `990 + u * (2603 ±0)`
// Minimum execution time: 15_992_000 picoseconds.
Weight::from_parts(16_243_000, 0)
// Minimum execution time: 15_067_000 picoseconds.
Weight::from_parts(15_281_000, 0)
.saturating_add(Weight::from_parts(0, 990))
// Standard Error: 12_426
.saturating_add(Weight::from_parts(13_617_673, 0).saturating_mul(u.into()))
// Standard Error: 11_009
.saturating_add(Weight::from_parts(13_050_024, 0).saturating_mul(u.into()))
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(u.into())))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(u.into())))
.saturating_add(Weight::from_parts(0, 2603).saturating_mul(u.into()))
Expand All @@ -154,8 +154,8 @@ impl<T: frame_system::Config> pallet_balances::WeightInfo for WeightInfo<T> {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `1501`
// Minimum execution time: 5_713_000 picoseconds.
Weight::from_parts(6_054_000, 0)
// Minimum execution time: 5_139_000 picoseconds.
Weight::from_parts(5_511_000, 0)
.saturating_add(Weight::from_parts(0, 1501))
.saturating_add(T::DbWeight::get().reads(1))
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -199,9 +199,6 @@ impl pallet_balances::Config for Runtime {
type RuntimeHoldReason = RuntimeHoldReason;
type RuntimeFreezeReason = RuntimeFreezeReason;
type FreezeIdentifier = ();
// We allow each account to have holds on it from:
// - `NftFractionalization`: 1
type MaxHolds = ConstU32<1>;
type MaxFreezes = ConstU32<0>;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@

//! Autogenerated weights for `pallet_balances`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2024-01-20, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0
//! DATE: 2024-01-31, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `runner-j8vvqcjr-project-674-concurrent-0`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
//! HOSTNAME: `runner-8idpd4bs-project-674-concurrent-0`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("asset-hub-westend-dev")`, DB CACHE: 1024

// Executed Command:
Expand Down Expand Up @@ -54,8 +54,8 @@ impl<T: frame_system::Config> pallet_balances::WeightInfo for WeightInfo<T> {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `3593`
// Minimum execution time: 42_658_000 picoseconds.
Weight::from_parts(43_649_000, 0)
// Minimum execution time: 43_122_000 picoseconds.
Weight::from_parts(43_640_000, 0)
.saturating_add(Weight::from_parts(0, 3593))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
Expand All @@ -66,8 +66,8 @@ impl<T: frame_system::Config> pallet_balances::WeightInfo for WeightInfo<T> {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `3593`
// Minimum execution time: 33_810_000 picoseconds.
Weight::from_parts(34_322_000, 0)
// Minimum execution time: 33_636_000 picoseconds.
Weight::from_parts(34_571_000, 0)
.saturating_add(Weight::from_parts(0, 3593))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
Expand All @@ -78,8 +78,8 @@ impl<T: frame_system::Config> pallet_balances::WeightInfo for WeightInfo<T> {
// Proof Size summary in bytes:
// Measured: `103`
// Estimated: `3593`
// Minimum execution time: 11_825_000 picoseconds.
Weight::from_parts(12_258_000, 0)
// Minimum execution time: 12_101_000 picoseconds.
Weight::from_parts(12_511_000, 0)
.saturating_add(Weight::from_parts(0, 3593))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
Expand All @@ -90,8 +90,8 @@ impl<T: frame_system::Config> pallet_balances::WeightInfo for WeightInfo<T> {
// Proof Size summary in bytes:
// Measured: `103`
// Estimated: `3593`
// Minimum execution time: 16_540_000 picoseconds.
Weight::from_parts(17_058_000, 0)
// Minimum execution time: 17_077_000 picoseconds.
Weight::from_parts(17_362_000, 0)
.saturating_add(Weight::from_parts(0, 3593))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
Expand All @@ -102,8 +102,8 @@ impl<T: frame_system::Config> pallet_balances::WeightInfo for WeightInfo<T> {
// Proof Size summary in bytes:
// Measured: `103`
// Estimated: `6196`
// Minimum execution time: 45_138_000 picoseconds.
Weight::from_parts(45_481_000, 0)
// Minimum execution time: 44_352_000 picoseconds.
Weight::from_parts(45_045_000, 0)
.saturating_add(Weight::from_parts(0, 6196))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
Expand All @@ -114,8 +114,8 @@ impl<T: frame_system::Config> pallet_balances::WeightInfo for WeightInfo<T> {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `3593`
// Minimum execution time: 42_147_000 picoseconds.
Weight::from_parts(43_120_000, 0)
// Minimum execution time: 41_836_000 picoseconds.
Weight::from_parts(43_201_000, 0)
.saturating_add(Weight::from_parts(0, 3593))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
Expand All @@ -126,8 +126,8 @@ impl<T: frame_system::Config> pallet_balances::WeightInfo for WeightInfo<T> {
// Proof Size summary in bytes:
// Measured: `103`
// Estimated: `3593`
// Minimum execution time: 14_730_000 picoseconds.
Weight::from_parts(14_867_000, 0)
// Minimum execution time: 14_413_000 picoseconds.
Weight::from_parts(14_743_000, 0)
.saturating_add(Weight::from_parts(0, 3593))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
Expand All @@ -139,11 +139,11 @@ impl<T: frame_system::Config> pallet_balances::WeightInfo for WeightInfo<T> {
// Proof Size summary in bytes:
// Measured: `0 + u * (136 ±0)`
// Estimated: `990 + u * (2603 ±0)`
// Minimum execution time: 14_425_000 picoseconds.
Weight::from_parts(14_590_000, 0)
// Minimum execution time: 14_542_000 picoseconds.
Weight::from_parts(14_731_000, 0)
.saturating_add(Weight::from_parts(0, 990))
// Standard Error: 12_643
.saturating_add(Weight::from_parts(13_203_227, 0).saturating_mul(u.into()))
// Standard Error: 11_213
.saturating_add(Weight::from_parts(13_160_721, 0).saturating_mul(u.into()))
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(u.into())))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(u.into())))
.saturating_add(Weight::from_parts(0, 2603).saturating_mul(u.into()))
Expand All @@ -154,8 +154,8 @@ impl<T: frame_system::Config> pallet_balances::WeightInfo for WeightInfo<T> {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `1501`
// Minimum execution time: 5_397_000 picoseconds.
Weight::from_parts(5_689_000, 0)
// Minimum execution time: 5_208_000 picoseconds.
Weight::from_parts(5_619_000, 0)
.saturating_add(Weight::from_parts(0, 1501))
.saturating_add(T::DbWeight::get().reads(1))
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,6 @@ impl pallet_balances::Config for Runtime {
type RuntimeHoldReason = RuntimeHoldReason;
type RuntimeFreezeReason = RuntimeFreezeReason;
type FreezeIdentifier = ();
type MaxHolds = ConstU32<0>;
type MaxFreezes = ConstU32<0>;
}

Expand Down
Loading
Loading