From efce2880f2200d41986152c49e534ee45da3b3e5 Mon Sep 17 00:00:00 2001 From: Yaroslav Bolyukin Date: Mon, 17 Jun 2024 16:17:19 +0000 Subject: [PATCH] Merge pull request #1075 from UniqueNetwork/fix/pallet-unit-tests-1.9 --- --- a/pallets/collator-selection/src/mock.rs +++ b/pallets/collator-selection/src/mock.rs @@ -91,6 +91,12 @@ type SS58Prefix = SS58Prefix; type OnSetCode = (); type MaxConsumers = ConstU32<16>; + type RuntimeTask = (); + type PreInherents = (); + type PostInherents = (); + type PostTransactions = (); + type SingleBlockMigrations = (); + type MultiBlockMigrator = (); } parameter_types! { @@ -111,7 +117,6 @@ type MaxReserves = MaxReserves; type ReserveIdentifier = [u8; 8]; type FreezeIdentifier = [u8; 16]; - type MaxHolds = MaxHolds; type MaxFreezes = MaxFreezes; type RuntimeHoldReason = RuntimeHoldReason; type RuntimeFreezeReason = RuntimeFreezeReason; --- a/pallets/identity/src/tests.rs +++ b/pallets/identity/src/tests.rs @@ -88,6 +88,12 @@ type SS58Prefix = (); type OnSetCode = (); type MaxConsumers = ConstU32<16>; + type RuntimeTask = (); + type PreInherents = (); + type PostInherents = (); + type PostTransactions = (); + type SingleBlockMigrations = (); + type MultiBlockMigrator = (); } impl pallet_balances::Config for Test { @@ -103,7 +109,6 @@ type RuntimeHoldReason = RuntimeHoldReason; type RuntimeFreezeReason = RuntimeFreezeReason; type FreezeIdentifier = (); - type MaxHolds = (); type MaxFreezes = (); } --- a/pallets/inflation/src/tests.rs +++ b/pallets/inflation/src/tests.rs @@ -58,7 +58,6 @@ type MaxReserves = (); type ReserveIdentifier = (); type FreezeIdentifier = (); - type MaxHolds = (); type MaxFreezes = (); type RuntimeHoldReason = RuntimeHoldReason; type RuntimeFreezeReason = RuntimeFreezeReason; @@ -103,6 +102,12 @@ type SS58Prefix = SS58Prefix; type OnSetCode = (); type MaxConsumers = ConstU32<16>; + type RuntimeTask = (); + type PreInherents = (); + type PostInherents = (); + type PostTransactions = (); + type SingleBlockMigrations = (); + type MultiBlockMigrator = (); } parameter_types! { -- gitstuff