@@ -183,13 +183,13 @@ impl frame_system::Trait for Runtime {
183183 type AccountData = pallet_balances:: AccountData < Balance > ;
184184 type OnNewAccount = ( ) ;
185185 type OnKilledAccount = ( ) ;
186- type SystemWeightInfo = weights:: frame_system:: WeightInfo ;
186+ type SystemWeightInfo = weights:: frame_system:: WeightInfo < Runtime > ;
187187}
188188
189189impl pallet_utility:: Trait for Runtime {
190190 type Event = Event ;
191191 type Call = Call ;
192- type WeightInfo = weights:: pallet_utility:: WeightInfo ;
192+ type WeightInfo = weights:: pallet_utility:: WeightInfo < Runtime > ;
193193}
194194
195195parameter_types ! {
@@ -207,7 +207,7 @@ impl pallet_multisig::Trait for Runtime {
207207 type DepositBase = DepositBase ;
208208 type DepositFactor = DepositFactor ;
209209 type MaxSignatories = MaxSignatories ;
210- type WeightInfo = weights:: pallet_multisig:: WeightInfo ;
210+ type WeightInfo = weights:: pallet_multisig:: WeightInfo < Runtime > ;
211211}
212212
213213parameter_types ! {
@@ -271,7 +271,7 @@ impl pallet_proxy::Trait for Runtime {
271271 type ProxyDepositBase = ProxyDepositBase ;
272272 type ProxyDepositFactor = ProxyDepositFactor ;
273273 type MaxProxies = MaxProxies ;
274- type WeightInfo = weights:: pallet_proxy:: WeightInfo ;
274+ type WeightInfo = weights:: pallet_proxy:: WeightInfo < Runtime > ;
275275 type MaxPending = MaxPending ;
276276 type CallHasher = BlakeTwo256 ;
277277 type AnnouncementDepositBase = AnnouncementDepositBase ;
@@ -291,7 +291,7 @@ impl pallet_scheduler::Trait for Runtime {
291291 type MaximumWeight = MaximumSchedulerWeight ;
292292 type ScheduleOrigin = EnsureRoot < AccountId > ;
293293 type MaxScheduledPerBlock = MaxScheduledPerBlock ;
294- type WeightInfo = weights:: pallet_scheduler:: WeightInfo ;
294+ type WeightInfo = weights:: pallet_scheduler:: WeightInfo < Runtime > ;
295295}
296296
297297parameter_types ! {
@@ -331,7 +331,7 @@ impl pallet_indices::Trait for Runtime {
331331 type Currency = Balances ;
332332 type Deposit = IndexDeposit ;
333333 type Event = Event ;
334- type WeightInfo = weights:: pallet_indices:: WeightInfo ;
334+ type WeightInfo = weights:: pallet_indices:: WeightInfo < Runtime > ;
335335}
336336
337337parameter_types ! {
@@ -348,7 +348,7 @@ impl pallet_balances::Trait for Runtime {
348348 type Event = Event ;
349349 type ExistentialDeposit = ExistentialDeposit ;
350350 type AccountStore = frame_system:: Module < Runtime > ;
351- type WeightInfo = weights:: pallet_balances:: WeightInfo ;
351+ type WeightInfo = weights:: pallet_balances:: WeightInfo < Runtime > ;
352352}
353353
354354parameter_types ! {
@@ -375,7 +375,7 @@ impl pallet_timestamp::Trait for Runtime {
375375 type Moment = Moment ;
376376 type OnTimestampSet = Babe ;
377377 type MinimumPeriod = MinimumPeriod ;
378- type WeightInfo = weights:: pallet_timestamp:: WeightInfo ;
378+ type WeightInfo = weights:: pallet_timestamp:: WeightInfo < Runtime > ;
379379}
380380
381381parameter_types ! {
@@ -412,7 +412,7 @@ impl pallet_session::Trait for Runtime {
412412 type SessionHandler = <SessionKeys as OpaqueKeys >:: KeyTypeIdProviders ;
413413 type Keys = SessionKeys ;
414414 type DisabledValidatorsThreshold = DisabledValidatorsThreshold ;
415- type WeightInfo = weights:: pallet_session:: WeightInfo ;
415+ type WeightInfo = weights:: pallet_session:: WeightInfo < Runtime > ;
416416}
417417
418418impl pallet_session:: historical:: Trait for Runtime {
@@ -469,7 +469,7 @@ impl pallet_staking::Trait for Runtime {
469469 type MinSolutionScoreBump = MinSolutionScoreBump ;
470470 type MaxNominatorRewardedPerValidator = MaxNominatorRewardedPerValidator ;
471471 type UnsignedPriority = StakingUnsignedPriority ;
472- type WeightInfo = weights:: pallet_staking:: WeightInfo ;
472+ type WeightInfo = weights:: pallet_staking:: WeightInfo < Runtime > ;
473473}
474474
475475parameter_types ! {
@@ -518,7 +518,7 @@ impl pallet_democracy::Trait for Runtime {
518518 type Scheduler = Scheduler ;
519519 type PalletsOrigin = OriginCaller ;
520520 type MaxVotes = MaxVotes ;
521- type WeightInfo = weights:: pallet_democracy:: WeightInfo ;
521+ type WeightInfo = weights:: pallet_democracy:: WeightInfo < Runtime > ;
522522}
523523
524524parameter_types ! {
@@ -536,7 +536,7 @@ impl pallet_collective::Trait<CouncilCollective> for Runtime {
536536 type MaxProposals = CouncilMaxProposals ;
537537 type MaxMembers = CouncilMaxMembers ;
538538 type DefaultVote = pallet_collective:: PrimeDefaultVote ;
539- type WeightInfo = weights:: pallet_collective:: WeightInfo ;
539+ type WeightInfo = weights:: pallet_collective:: WeightInfo < Runtime > ;
540540}
541541
542542parameter_types ! {
@@ -568,7 +568,7 @@ impl pallet_elections_phragmen::Trait for Runtime {
568568 type DesiredMembers = DesiredMembers ;
569569 type DesiredRunnersUp = DesiredRunnersUp ;
570570 type TermDuration = TermDuration ;
571- type WeightInfo = weights:: pallet_elections_phragmen:: WeightInfo ;
571+ type WeightInfo = weights:: pallet_elections_phragmen:: WeightInfo < Runtime > ;
572572}
573573
574574parameter_types ! {
@@ -586,7 +586,7 @@ impl pallet_collective::Trait<TechnicalCollective> for Runtime {
586586 type MaxProposals = TechnicalMaxProposals ;
587587 type MaxMembers = TechnicalMaxMembers ;
588588 type DefaultVote = pallet_collective:: PrimeDefaultVote ;
589- type WeightInfo = weights:: pallet_collective:: WeightInfo ;
589+ type WeightInfo = weights:: pallet_collective:: WeightInfo < Runtime > ;
590590}
591591
592592type EnsureRootOrHalfCouncil = EnsureOneOf <
@@ -654,7 +654,7 @@ impl pallet_treasury::Trait for Runtime {
654654 type BountyValueMinimum = BountyValueMinimum ;
655655 type MaximumReasonLength = MaximumReasonLength ;
656656 type BurnDestination = ( ) ;
657- type WeightInfo = weights:: pallet_treasury:: WeightInfo ;
657+ type WeightInfo = weights:: pallet_treasury:: WeightInfo < Runtime > ;
658658}
659659
660660parameter_types ! {
@@ -759,7 +759,7 @@ impl pallet_im_online::Trait for Runtime {
759759 type SessionDuration = SessionDuration ;
760760 type ReportUnresponsiveness = Offences ;
761761 type UnsignedPriority = ImOnlineUnsignedPriority ;
762- type WeightInfo = weights:: pallet_im_online:: WeightInfo ;
762+ type WeightInfo = weights:: pallet_im_online:: WeightInfo < Runtime > ;
763763}
764764
765765parameter_types ! {
@@ -827,7 +827,7 @@ impl pallet_identity::Trait for Runtime {
827827 type Slashed = Treasury ;
828828 type ForceOrigin = EnsureRootOrHalfCouncil ;
829829 type RegistrarOrigin = EnsureRootOrHalfCouncil ;
830- type WeightInfo = weights:: pallet_identity:: WeightInfo ;
830+ type WeightInfo = weights:: pallet_identity:: WeightInfo < Runtime > ;
831831}
832832
833833parameter_types ! {
@@ -884,7 +884,7 @@ impl pallet_vesting::Trait for Runtime {
884884 type Currency = Balances ;
885885 type BlockNumberToBalance = ConvertInto ;
886886 type MinVestedTransfer = MinVestedTransfer ;
887- type WeightInfo = weights:: pallet_vesting:: WeightInfo ;
887+ type WeightInfo = weights:: pallet_vesting:: WeightInfo < Runtime > ;
888888}
889889
890890construct_runtime ! (
0 commit comments