@@ -90,6 +90,7 @@ impl frame_system::Trait for Test {
90
90
type AccountData = pallet_balances:: AccountData < u128 > ;
91
91
type OnNewAccount = ( ) ;
92
92
type OnKilledAccount = ( ) ;
93
+ type SystemWeightInfo = ( ) ;
93
94
}
94
95
95
96
impl < C > frame_system:: offchain:: SendTransactionTypes < C > for Test
@@ -116,6 +117,7 @@ impl pallet_session::Trait for Test {
116
117
type SessionHandler = <MockSessionKeys as OpaqueKeys >:: KeyTypeIdProviders ;
117
118
type Keys = MockSessionKeys ;
118
119
type DisabledValidatorsThreshold = DisabledValidatorsThreshold ;
120
+ type WeightInfo = ( ) ;
119
121
}
120
122
121
123
impl pallet_session:: historical:: Trait for Test {
@@ -142,6 +144,7 @@ impl pallet_timestamp::Trait for Test {
142
144
type Moment = u64 ;
143
145
type OnTimestampSet = Babe ;
144
146
type MinimumPeriod = MinimumPeriod ;
147
+ type WeightInfo = ( ) ;
145
148
}
146
149
147
150
parameter_types ! {
@@ -154,6 +157,7 @@ impl pallet_balances::Trait for Test {
154
157
type Event = ( ) ;
155
158
type ExistentialDeposit = ExistentialDeposit ;
156
159
type AccountStore = System ;
160
+ type WeightInfo = ( ) ;
157
161
}
158
162
159
163
pallet_staking_reward_curve:: build! {
@@ -213,6 +217,7 @@ impl pallet_staking::Trait for Test {
213
217
type UnsignedPriority = StakingUnsignedPriority ;
214
218
type MaxIterations = ( ) ;
215
219
type MinSolutionScoreBump = ( ) ;
220
+ type WeightInfo = ( ) ;
216
221
}
217
222
218
223
parameter_types ! {
@@ -224,6 +229,7 @@ impl pallet_offences::Trait for Test {
224
229
type IdentificationTuple = pallet_session:: historical:: IdentificationTuple < Self > ;
225
230
type OnOffenceHandler = Staking ;
226
231
type WeightSoftLimit = OffencesWeightSoftLimit ;
232
+ type WeightInfo = ( ) ;
227
233
}
228
234
229
235
impl Trait for Test {
0 commit comments