@@ -370,7 +370,7 @@ impl pallet_transaction_payment::Config for Runtime {
370
370
impl pallet_sudo:: Config for Runtime {
371
371
type RuntimeEvent = RuntimeEvent ;
372
372
type RuntimeCall = RuntimeCall ;
373
- type WeightInfo = ( ) ;
373
+ type WeightInfo = pallet_sudo :: weights :: SubstrateWeight < Runtime > ;
374
374
}
375
375
376
376
parameter_types ! {
@@ -402,7 +402,7 @@ impl cumulus_pallet_xcmp_queue::Config for Runtime {
402
402
type ExecuteOverweightOrigin = EnsureRoot < AccountId > ;
403
403
type ControllerOrigin = EnsureRoot < AccountId > ;
404
404
type ControllerOriginConverter = XcmOriginToTransactDispatchOrigin ;
405
- type WeightInfo = ( ) ;
405
+ type WeightInfo = cumulus_pallet_xcmp_queue :: weights :: SubstrateWeight < Runtime > ;
406
406
type PriceForSiblingDelivery = ( ) ;
407
407
}
408
408
@@ -428,7 +428,7 @@ impl pallet_session::Config for Runtime {
428
428
// Essentially just Aura, but let's be pedantic.
429
429
type SessionHandler = <SessionKeys as sp_runtime:: traits:: OpaqueKeys >:: KeyTypeIdProviders ;
430
430
type Keys = SessionKeys ;
431
- type WeightInfo = ( ) ;
431
+ type WeightInfo = pallet_session :: weights :: SubstrateWeight < Runtime > ;
432
432
}
433
433
434
434
impl pallet_aura:: Config for Runtime {
@@ -463,7 +463,7 @@ impl pallet_collator_selection::Config for Runtime {
463
463
type ValidatorId = <Self as frame_system:: Config >:: AccountId ;
464
464
type ValidatorIdOf = pallet_collator_selection:: IdentityCollator ;
465
465
type ValidatorRegistration = Session ;
466
- type WeightInfo = ( ) ;
466
+ type WeightInfo = pallet_collator_selection :: weights :: SubstrateWeight < Runtime > ;
467
467
}
468
468
469
469
@@ -528,7 +528,7 @@ impl pallet_treasury::Config for Runtime {
528
528
type Burn = Burn ;
529
529
type BurnDestination = Treasury ;
530
530
type MaxApprovals = MaxApprovals ;
531
- type WeightInfo = ( ) ;
531
+ type WeightInfo = pallet_treasury :: weights :: SubstrateWeight < Runtime > ;
532
532
type SpendFunds = Bounties ;
533
533
}
534
534
@@ -541,7 +541,7 @@ impl pallet_child_bounties::Config for Runtime {
541
541
type RuntimeEvent = RuntimeEvent ;
542
542
type MaxActiveChildBountyCount = ConstU32 < 200 > ;
543
543
type ChildBountyValueMinimum = ChildBountyValueMinimum ;
544
- type WeightInfo = ( ) ;
544
+ type WeightInfo = pallet_child_bounties :: weights :: SubstrateWeight < Runtime > ;
545
545
}
546
546
547
547
parameter_types ! {
@@ -569,7 +569,7 @@ impl pallet_assets::Config for Runtime {
569
569
type StringLimit = StringLimit ;
570
570
type Freezer = ( ) ;
571
571
type Extra = ( ) ;
572
- type WeightInfo = ( ) ;
572
+ type WeightInfo = pallet_assets :: weights :: SubstrateWeight < Runtime > ;
573
573
type RemoveItemsLimit = RemoveItemsLimit ;
574
574
type CallbackHandle = ( ) ;
575
575
}
@@ -591,7 +591,7 @@ impl pallet_collective::Config<CouncilCollective> for Runtime {
591
591
type MaxProposals = CouncilMaxProposals ;
592
592
type MaxMembers = CouncilMaxMembers ;
593
593
type DefaultVote = pallet_collective:: PrimeDefaultVote ;
594
- type WeightInfo = ( ) ;
594
+ type WeightInfo = pallet_collective :: weights :: SubstrateWeight < Runtime > ;
595
595
type SetMembersOrigin = EnsureRoot < AccountId > ;
596
596
type MaxProposalWeight = ( ) ;
597
597
}
@@ -622,7 +622,7 @@ impl pallet_society::Config for Runtime {
622
622
type ChallengePeriod = ChallengePeriod ;
623
623
type MaxPayouts = ConstU32 < 5 > ;
624
624
type MaxBids = ConstU32 < 3 > ;
625
- type WeightInfo = ( ) ;
625
+ type WeightInfo = pallet_society :: weights :: SubstrateWeight < Runtime > ;
626
626
627
627
}
628
628
@@ -648,7 +648,7 @@ impl pallet_identity::Config for Runtime {
648
648
type Slashed = Treasury ;
649
649
type ForceOrigin = EnsureRoot < AccountId > ;
650
650
type RegistrarOrigin = EnsureRoot < AccountId > ;
651
- type WeightInfo = ( ) ;
651
+ type WeightInfo = pallet_identity :: weights :: SubstrateWeight < Runtime > ;
652
652
}
653
653
654
654
parameter_types ! {
@@ -678,7 +678,7 @@ impl pallet_indices::Config for Runtime {
678
678
type Currency = Balances ;
679
679
type Deposit = IndexDeposit ;
680
680
type RuntimeEvent = RuntimeEvent ;
681
- type WeightInfo = ( ) ;
681
+ type WeightInfo = pallet_indices :: weights :: SubstrateWeight < Runtime > ;
682
682
}
683
683
684
684
parameter_types ! {
@@ -695,7 +695,7 @@ impl pallet_membership::Config for Runtime {
695
695
type MembershipInitialized = Council ;
696
696
type MembershipChanged = Council ;
697
697
type MaxMembers = MembershipMaxMembers ;
698
- type WeightInfo = ( ) ;
698
+ type WeightInfo = pallet_membership :: weights :: SubstrateWeight < Runtime > ;
699
699
}
700
700
701
701
parameter_types ! {
0 commit comments