@@ -66,6 +66,7 @@ impl frame_system::Trait for Test {
6666 type BlockExecutionWeight = ( ) ;
6767 type ExtrinsicBaseWeight = ( ) ;
6868 type MaximumExtrinsicWeight = ( ) ;
69+ type SystemWeightInfo = ( ) ;
6970}
7071parameter_types ! {
7172 pub const ExistentialDeposit : Balance = 10 ;
@@ -76,6 +77,7 @@ impl pallet_balances::Trait for Test {
7677 type DustRemoval = ( ) ;
7778 type ExistentialDeposit = ExistentialDeposit ;
7879 type AccountStore = System ;
80+ type WeightInfo = ( ) ;
7981}
8082
8183parameter_types ! {
@@ -85,6 +87,7 @@ impl pallet_timestamp::Trait for Test {
8587 type Moment = u64 ;
8688 type OnTimestampSet = ( ) ;
8789 type MinimumPeriod = MinimumPeriod ;
90+ type WeightInfo = ( ) ;
8891}
8992impl pallet_session:: historical:: Trait for Test {
9093 type FullIdentification = pallet_staking:: Exposure < AccountId , Balance > ;
@@ -127,6 +130,7 @@ impl pallet_session::Trait for Test {
127130 type ValidatorId = AccountId ;
128131 type ValidatorIdOf = pallet_staking:: StashOf < Test > ;
129132 type DisabledValidatorsThreshold = ( ) ;
133+ type WeightInfo = ( ) ;
130134}
131135pallet_staking_reward_curve:: build! {
132136 const I_NPOS : sp_runtime:: curve:: PiecewiseLinear <' static > = curve!(
@@ -178,6 +182,7 @@ impl pallet_staking::Trait for Test {
178182 type UnsignedPriority = ( ) ;
179183 type MaxIterations = ( ) ;
180184 type MinSolutionScoreBump = ( ) ;
185+ type WeightInfo = ( ) ;
181186}
182187
183188impl pallet_im_online:: Trait for Test {
@@ -186,6 +191,7 @@ impl pallet_im_online::Trait for Test {
186191 type SessionDuration = Period ;
187192 type ReportUnresponsiveness = Offences ;
188193 type UnsignedPriority = ( ) ;
194+ type WeightInfo = ( ) ;
189195}
190196
191197parameter_types ! {
@@ -197,6 +203,7 @@ impl pallet_offences::Trait for Test {
197203 type IdentificationTuple = pallet_session:: historical:: IdentificationTuple < Self > ;
198204 type OnOffenceHandler = Staking ;
199205 type WeightSoftLimit = OffencesWeightSoftLimit ;
206+ type WeightInfo = ( ) ;
200207}
201208
202209impl < T > frame_system:: offchain:: SendTransactionTypes < T > for Test where Call : From < T > {
0 commit comments