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

difftreelog

fix unit tests for polkadot-1.9

Daniel Shiposha2024-06-17parent: #2413863.patch.diff
in: master

3 files changed

modifiedpallets/collator-selection/src/mock.rsdiffbeforeafterboth
--- 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;
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
58 type MaxReserves = ();58 type MaxReserves = ();
59 type ReserveIdentifier = ();59 type ReserveIdentifier = ();
60 type FreezeIdentifier = ();60 type FreezeIdentifier = ();
61 type MaxHolds = ();
62 type MaxFreezes = ();61 type MaxFreezes = ();
63 type RuntimeHoldReason = RuntimeHoldReason;62 type RuntimeHoldReason = RuntimeHoldReason;
64 type RuntimeFreezeReason = RuntimeFreezeReason;63 type RuntimeFreezeReason = RuntimeFreezeReason;
103 type SS58Prefix = SS58Prefix;102 type SS58Prefix = SS58Prefix;
104 type OnSetCode = ();103 type OnSetCode = ();
105 type MaxConsumers = ConstU32<16>;104 type MaxConsumers = ConstU32<16>;
105 type RuntimeTask = ();
106 type PreInherents = ();
107 type PostInherents = ();
108 type PostTransactions = ();
109 type SingleBlockMigrations = ();
110 type MultiBlockMigrator = ();
106}111}
107112
108parameter_types! {113parameter_types! {