git.delta.rocks / unique-network / refs/commits / efce2880f220

difftreelog

Merge pull request #1075 from UniqueNetwork/fix/pallet-unit-tests-1.9

Yaroslav Bolyukin2024-06-17parents: #2413863 #c5e73ec.patch.diff
in: master

3 files changed

modifiedpallets/collator-selection/src/mock.rsdiffbeforeafterboth
91 type SS58Prefix = SS58Prefix;91 type SS58Prefix = SS58Prefix;
92 type OnSetCode = ();92 type OnSetCode = ();
93 type MaxConsumers = ConstU32<16>;93 type MaxConsumers = ConstU32<16>;
94 type RuntimeTask = ();
95 type PreInherents = ();
96 type PostInherents = ();
97 type PostTransactions = ();
98 type SingleBlockMigrations = ();
99 type MultiBlockMigrator = ();
94}100}
95101
96parameter_types! {102parameter_types! {
111 type MaxReserves = MaxReserves;117 type MaxReserves = MaxReserves;
112 type ReserveIdentifier = [u8; 8];118 type ReserveIdentifier = [u8; 8];
113 type FreezeIdentifier = [u8; 16];119 type FreezeIdentifier = [u8; 16];
114 type MaxHolds = MaxHolds;
115 type MaxFreezes = MaxFreezes;120 type MaxFreezes = MaxFreezes;
116 type RuntimeHoldReason = RuntimeHoldReason;121 type RuntimeHoldReason = RuntimeHoldReason;
117 type RuntimeFreezeReason = RuntimeFreezeReason;122 type RuntimeFreezeReason = RuntimeFreezeReason;
modifiedpallets/identity/src/tests.rsdiffbeforeafterboth
--- 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 = ();
 }
 
modifiedpallets/inflation/src/tests.rsdiffbeforeafterboth
--- 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! {