@@ -66,6 +66,7 @@ impl frame_system::Trait for Test {
66
66
type BlockExecutionWeight = ( ) ;
67
67
type ExtrinsicBaseWeight = ( ) ;
68
68
type MaximumExtrinsicWeight = ( ) ;
69
+ type SystemWeightInfo = ( ) ;
69
70
}
70
71
parameter_types ! {
71
72
pub const ExistentialDeposit : Balance = 10 ;
@@ -76,6 +77,7 @@ impl pallet_balances::Trait for Test {
76
77
type DustRemoval = ( ) ;
77
78
type ExistentialDeposit = ExistentialDeposit ;
78
79
type AccountStore = System ;
80
+ type WeightInfo = ( ) ;
79
81
}
80
82
81
83
parameter_types ! {
@@ -85,6 +87,7 @@ impl pallet_timestamp::Trait for Test {
85
87
type Moment = u64 ;
86
88
type OnTimestampSet = ( ) ;
87
89
type MinimumPeriod = MinimumPeriod ;
90
+ type WeightInfo = ( ) ;
88
91
}
89
92
impl pallet_session:: historical:: Trait for Test {
90
93
type FullIdentification = pallet_staking:: Exposure < AccountId , Balance > ;
@@ -127,6 +130,7 @@ impl pallet_session::Trait for Test {
127
130
type ValidatorId = AccountId ;
128
131
type ValidatorIdOf = pallet_staking:: StashOf < Test > ;
129
132
type DisabledValidatorsThreshold = ( ) ;
133
+ type WeightInfo = ( ) ;
130
134
}
131
135
pallet_staking_reward_curve:: build! {
132
136
const I_NPOS : sp_runtime:: curve:: PiecewiseLinear <' static > = curve!(
@@ -178,6 +182,7 @@ impl pallet_staking::Trait for Test {
178
182
type UnsignedPriority = ( ) ;
179
183
type MaxIterations = ( ) ;
180
184
type MinSolutionScoreBump = ( ) ;
185
+ type WeightInfo = ( ) ;
181
186
}
182
187
183
188
impl pallet_im_online:: Trait for Test {
@@ -186,6 +191,7 @@ impl pallet_im_online::Trait for Test {
186
191
type SessionDuration = Period ;
187
192
type ReportUnresponsiveness = Offences ;
188
193
type UnsignedPriority = ( ) ;
194
+ type WeightInfo = ( ) ;
189
195
}
190
196
191
197
parameter_types ! {
@@ -197,6 +203,7 @@ impl pallet_offences::Trait for Test {
197
203
type IdentificationTuple = pallet_session:: historical:: IdentificationTuple < Self > ;
198
204
type OnOffenceHandler = Staking ;
199
205
type WeightSoftLimit = OffencesWeightSoftLimit ;
206
+ type WeightInfo = ( ) ;
200
207
}
201
208
202
209
impl < T > frame_system:: offchain:: SendTransactionTypes < T > for Test where Call : From < T > {
0 commit comments