From 35e4f5f76e2df8c77da0b907b9356d520e898e95 Mon Sep 17 00:00:00 2001 From: bgallois <benjamin@gallois.cc> Date: Fri, 14 Apr 2023 14:33:44 +0200 Subject: [PATCH] feat(runtimes): use our benchmarks for pallet identity --- runtime/common/src/pallets_config.rs | 1 + runtime/common/src/weights.rs | 1 + 2 files changed, 2 insertions(+) diff --git a/runtime/common/src/pallets_config.rs b/runtime/common/src/pallets_config.rs index 36306fa52..d618f0442 100644 --- a/runtime/common/src/pallets_config.rs +++ b/runtime/common/src/pallets_config.rs @@ -440,6 +440,7 @@ macro_rules! pallets_config { type RevocationSigner = <Signature as sp_runtime::traits::Verify>::Signer; type RevocationSignature = Signature; type RuntimeEvent = RuntimeEvent; + type WeightInfo = common_runtime::weights::pallet_identity::WeightInfo<Runtime>; } impl pallet_membership::Config<frame_support::instances::Instance1> for Runtime { diff --git a/runtime/common/src/weights.rs b/runtime/common/src/weights.rs index 2798093fb..f1e246952 100644 --- a/runtime/common/src/weights.rs +++ b/runtime/common/src/weights.rs @@ -31,6 +31,7 @@ pub mod pallet_timestamp; pub mod pallet_universal_dividend; pub mod pallet_upgrade_origin; pub mod pallet_provide_randomness; +pub mod pallet_identity; pub mod pallet_duniter_account; pub mod pallet_certification_cert; pub mod pallet_certification_smiths_cert; -- GitLab