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
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
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! {