From e27262af4a01d7345eb4566f5f1496cbc41a1b52 Mon Sep 17 00:00:00 2001 From: peg Date: Thu, 15 Aug 2024 22:46:10 +0200 Subject: [PATCH] Include weights in runtime --- runtime/src/lib.rs | 2 +- runtime/src/weights/mod.rs | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/runtime/src/lib.rs b/runtime/src/lib.rs index c62ed21fb..18c757aa7 100644 --- a/runtime/src/lib.rs +++ b/runtime/src/lib.rs @@ -1495,7 +1495,7 @@ impl pallet_parameters::Config for Runtime { impl pallet_attestation::Config for Runtime { type RuntimeEvent = RuntimeEvent; - // type WeightInfo = weights::pallet_attestation::WeightInfo; + type WeightInfo = weights::pallet_attestation::WeightInfo; } construct_runtime!( diff --git a/runtime/src/weights/mod.rs b/runtime/src/weights/mod.rs index 396fd88c6..3d05b0f81 100644 --- a/runtime/src/weights/mod.rs +++ b/runtime/src/weights/mod.rs @@ -30,6 +30,7 @@ pub mod frame_election_provider_support; pub mod frame_system; +pub mod pallet_attestation; pub mod pallet_bags_list; pub mod pallet_balances; pub mod pallet_bounties;