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
88 type SS58Prefix = ();88 type SS58Prefix = ();
89 type OnSetCode = ();89 type OnSetCode = ();
90 type MaxConsumers = ConstU32<16>;90 type MaxConsumers = ConstU32<16>;
91 type RuntimeTask = ();
92 type PreInherents = ();
93 type PostInherents = ();
94 type PostTransactions = ();
95 type SingleBlockMigrations = ();
96 type MultiBlockMigrator = ();
91}97}
9298
93impl pallet_balances::Config for Test {99impl pallet_balances::Config for Test {
103 type RuntimeHoldReason = RuntimeHoldReason;109 type RuntimeHoldReason = RuntimeHoldReason;
104 type RuntimeFreezeReason = RuntimeFreezeReason;110 type RuntimeFreezeReason = RuntimeFreezeReason;
105 type FreezeIdentifier = ();111 type FreezeIdentifier = ();
106 type MaxHolds = ();
107 type MaxFreezes = ();112 type MaxFreezes = ();
108}113}
109114
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! {