diff --git a/runtime/src/lib.rs b/runtime/src/lib.rs index 41c3956..4594fb0 100644 --- a/runtime/src/lib.rs +++ b/runtime/src/lib.rs @@ -330,7 +330,7 @@ impl pallet_timestamp::Config for Runtime { /// A timestamp: milliseconds since the unix epoch. type Moment = u64; type OnTimestampSet = Aura; - type WeightInfo = (); + type WeightInfo = pallet_timestamp::weights::SubstrateWeight; } impl pallet_authorship::Config for Runtime { @@ -479,7 +479,7 @@ impl pallet_transaction_payment::Config for Runtime { impl pallet_sudo::Config for Runtime { type RuntimeCall = RuntimeCall; type RuntimeEvent = RuntimeEvent; - type WeightInfo = (); + type WeightInfo = pallet_sudo::weights::SubstrateWeight; } parameter_types! { @@ -517,7 +517,7 @@ impl cumulus_pallet_xcmp_queue::Config for Runtime { type PriceForSiblingDelivery = NoPriceForMessageDelivery; type RuntimeEvent = RuntimeEvent; type VersionWrapper = (); - type WeightInfo = (); + type WeightInfo = cumulus_pallet_xcmp_queue::weights::SubstrateWeight; type XcmExecutor = XcmExecutor; } @@ -561,7 +561,7 @@ impl pallet_session::Config for Runtime { type ValidatorId = ::AccountId; // we don't have stash and controller, thus we don't need the convert as well. type ValidatorIdOf = pallet_collator_selection::IdentityCollator; - type WeightInfo = (); + type WeightInfo = pallet_session::weights::SubstrateWeight; } impl pallet_aura::Config for Runtime { @@ -600,7 +600,7 @@ impl pallet_collator_selection::Config for Runtime { type ValidatorId = ::AccountId; type ValidatorIdOf = pallet_collator_selection::IdentityCollator; type ValidatorRegistration = Session; - type WeightInfo = (); + type WeightInfo = pallet_collator_selection::weights::SubstrateWeight; } /// Configure the pallet template in pallets/template. @@ -612,7 +612,7 @@ impl pallet_utility::Config for Runtime { type PalletsOrigin = OriginCaller; type RuntimeCall = RuntimeCall; type RuntimeEvent = RuntimeEvent; - type WeightInfo = (); + type WeightInfo = pallet_utility::weights::SubstrateWeight; } // Create the runtime by composing the FRAME pallets that were previously