@@ -171,11 +171,13 @@ impl frame_system::Trait for Runtime {
171
171
type AccountData = pallet_balances:: AccountData < Balance > ;
172
172
type OnNewAccount = ( ) ;
173
173
type OnKilledAccount = ( ) ;
174
+ type SystemWeightInfo = ( ) ;
174
175
}
175
176
176
177
impl pallet_utility:: Trait for Runtime {
177
178
type Event = Event ;
178
179
type Call = Call ;
180
+ type WeightInfo = ( ) ;
179
181
}
180
182
181
183
parameter_types ! {
@@ -193,6 +195,7 @@ impl pallet_multisig::Trait for Runtime {
193
195
type DepositBase = DepositBase ;
194
196
type DepositFactor = DepositFactor ;
195
197
type MaxSignatories = MaxSignatories ;
198
+ type WeightInfo = ( ) ;
196
199
}
197
200
198
201
parameter_types ! {
@@ -246,6 +249,7 @@ impl pallet_proxy::Trait for Runtime {
246
249
type ProxyDepositBase = ProxyDepositBase ;
247
250
type ProxyDepositFactor = ProxyDepositFactor ;
248
251
type MaxProxies = MaxProxies ;
252
+ type WeightInfo = ( ) ;
249
253
}
250
254
251
255
parameter_types ! {
@@ -259,6 +263,7 @@ impl pallet_scheduler::Trait for Runtime {
259
263
type Call = Call ;
260
264
type MaximumWeight = MaximumSchedulerWeight ;
261
265
type ScheduleOrigin = EnsureRoot < AccountId > ;
266
+ type WeightInfo = ( ) ;
262
267
}
263
268
264
269
parameter_types ! {
@@ -296,6 +301,7 @@ impl pallet_indices::Trait for Runtime {
296
301
type Currency = Balances ;
297
302
type Deposit = IndexDeposit ;
298
303
type Event = Event ;
304
+ type WeightInfo = ( ) ;
299
305
}
300
306
301
307
parameter_types ! {
@@ -308,6 +314,7 @@ impl pallet_balances::Trait for Runtime {
308
314
type Event = Event ;
309
315
type ExistentialDeposit = ExistentialDeposit ;
310
316
type AccountStore = frame_system:: Module < Runtime > ;
317
+ type WeightInfo = ( ) ;
311
318
}
312
319
313
320
parameter_types ! {
@@ -334,6 +341,7 @@ impl pallet_timestamp::Trait for Runtime {
334
341
type Moment = Moment ;
335
342
type OnTimestampSet = Babe ;
336
343
type MinimumPeriod = MinimumPeriod ;
344
+ type WeightInfo = ( ) ;
337
345
}
338
346
339
347
parameter_types ! {
@@ -370,6 +378,7 @@ impl pallet_session::Trait for Runtime {
370
378
type SessionHandler = <SessionKeys as OpaqueKeys >:: KeyTypeIdProviders ;
371
379
type Keys = SessionKeys ;
372
380
type DisabledValidatorsThreshold = DisabledValidatorsThreshold ;
381
+ type WeightInfo = ( ) ;
373
382
}
374
383
375
384
impl pallet_session:: historical:: Trait for Runtime {
@@ -426,6 +435,7 @@ impl pallet_staking::Trait for Runtime {
426
435
type MinSolutionScoreBump = MinSolutionScoreBump ;
427
436
type MaxNominatorRewardedPerValidator = MaxNominatorRewardedPerValidator ;
428
437
type UnsignedPriority = StakingUnsignedPriority ;
438
+ type WeightInfo = ( ) ;
429
439
}
430
440
431
441
parameter_types ! {
@@ -474,6 +484,7 @@ impl pallet_democracy::Trait for Runtime {
474
484
type Scheduler = Scheduler ;
475
485
type PalletsOrigin = OriginCaller ;
476
486
type MaxVotes = MaxVotes ;
487
+ type WeightInfo = ( ) ;
477
488
}
478
489
479
490
parameter_types ! {
@@ -488,6 +499,7 @@ impl pallet_collective::Trait<CouncilCollective> for Runtime {
488
499
type Event = Event ;
489
500
type MotionDuration = CouncilMotionDuration ;
490
501
type MaxProposals = CouncilMaxProposals ;
502
+ type WeightInfo = ( ) ;
491
503
}
492
504
493
505
parameter_types ! {
@@ -519,6 +531,7 @@ impl pallet_elections_phragmen::Trait for Runtime {
519
531
type DesiredMembers = DesiredMembers ;
520
532
type DesiredRunnersUp = DesiredRunnersUp ;
521
533
type TermDuration = TermDuration ;
534
+ type WeightInfo = ( ) ;
522
535
}
523
536
524
537
parameter_types ! {
@@ -533,6 +546,7 @@ impl pallet_collective::Trait<TechnicalCollective> for Runtime {
533
546
type Event = Event ;
534
547
type MotionDuration = TechnicalMotionDuration ;
535
548
type MaxProposals = TechnicalMaxProposals ;
549
+ type WeightInfo = ( ) ;
536
550
}
537
551
538
552
type EnsureRootOrHalfCouncil = EnsureOneOf <
@@ -587,6 +601,7 @@ impl pallet_treasury::Trait for Runtime {
587
601
type ProposalBondMinimum = ProposalBondMinimum ;
588
602
type SpendPeriod = SpendPeriod ;
589
603
type Burn = Burn ;
604
+ type WeightInfo = ( ) ;
590
605
}
591
606
592
607
parameter_types ! {
@@ -688,6 +703,7 @@ impl pallet_im_online::Trait for Runtime {
688
703
type SessionDuration = SessionDuration ;
689
704
type ReportUnresponsiveness = Offences ;
690
705
type UnsignedPriority = ImOnlineUnsignedPriority ;
706
+ type WeightInfo = ( ) ;
691
707
}
692
708
693
709
parameter_types ! {
@@ -699,6 +715,7 @@ impl pallet_offences::Trait for Runtime {
699
715
type IdentificationTuple = pallet_session:: historical:: IdentificationTuple < Self > ;
700
716
type OnOffenceHandler = Staking ;
701
717
type WeightSoftLimit = OffencesWeightSoftLimit ;
718
+ type WeightInfo = ( ) ;
702
719
}
703
720
704
721
impl pallet_authority_discovery:: Trait for Runtime { }
@@ -757,6 +774,7 @@ impl pallet_identity::Trait for Runtime {
757
774
type Slashed = Treasury ;
758
775
type ForceOrigin = EnsureRootOrHalfCouncil ;
759
776
type RegistrarOrigin = EnsureRootOrHalfCouncil ;
777
+ type WeightInfo = ( ) ;
760
778
}
761
779
762
780
parameter_types ! {
@@ -813,6 +831,7 @@ impl pallet_vesting::Trait for Runtime {
813
831
type Currency = Balances ;
814
832
type BlockNumberToBalance = ConvertInto ;
815
833
type MinVestedTransfer = MinVestedTransfer ;
834
+ type WeightInfo = ( ) ;
816
835
}
817
836
818
837
construct_runtime ! (
0 commit comments