From ae85519e9d6c557497dd2e3d58dbd69197a3b785 Mon Sep 17 00:00:00 2001 From: bgallois <benjamin@gallois.cc> Date: Mon, 17 Apr 2023 17:20:23 +0200 Subject: [PATCH] feat(runtimes): use our benchmarks for pallet oneshot_account --- 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 892cb3723..69323965e 100644 --- a/runtime/common/src/pallets_config.rs +++ b/runtime/common/src/pallets_config.rs @@ -186,6 +186,7 @@ macro_rules! pallets_config { type Currency = Balances; type RuntimeEvent = RuntimeEvent; type InnerOnChargeTransaction = CurrencyAdapter<Balances, HandleFees>; + type WeightInfo = common_runtime::weights::pallet_oneshot_account::WeightInfo<Runtime>; } // CONSENSUS // diff --git a/runtime/common/src/weights.rs b/runtime/common/src/weights.rs index b692cbca4..97903b4e1 100644 --- a/runtime/common/src/weights.rs +++ b/runtime/common/src/weights.rs @@ -33,6 +33,7 @@ pub mod pallet_upgrade_origin; pub mod pallet_provide_randomness; pub mod pallet_identity; pub mod pallet_duniter_account; +pub mod pallet_oneshot_account; pub mod pallet_certification_cert; pub mod pallet_certification_smith_cert; pub mod paritydb_weights; -- GitLab