From 04eaacc5b56d6e0593d27f736625392b6bf97424 Mon Sep 17 00:00:00 2001 From: Daniel Shiposha Date: Tue, 13 Dec 2022 20:33:21 +0000 Subject: [PATCH] fix: runtime benchmark list features --- --- a/runtime/common/runtime_apis.rs +++ b/runtime/common/runtime_apis.rs @@ -688,19 +688,19 @@ list_benchmark!(list, extra, pallet_fungible, Fungible); list_benchmark!(list, extra, pallet_nonfungible, Nonfungible); - #[cfg(not(any(feature = "unique-runtime", feature = "quartz-runtime")))] + #[cfg(feature = "refungible")] list_benchmark!(list, extra, pallet_refungible, Refungible); - #[cfg(not(any(feature = "unique-runtime", feature = "quartz-runtime")))] + #[cfg(feature = "scheduler")] list_benchmark!(list, extra, pallet_unique_scheduler_v2, Scheduler); - #[cfg(not(any(feature = "unique-runtime", feature = "quartz-runtime")))] + #[cfg(feature = "rmrk")] list_benchmark!(list, extra, pallet_proxy_rmrk_core, RmrkCore); - #[cfg(not(any(feature = "unique-runtime", feature = "quartz-runtime")))] + #[cfg(feature = "rmrk")] list_benchmark!(list, extra, pallet_proxy_rmrk_equip, RmrkEquip); - #[cfg(not(any(feature = "unique-runtime", feature = "quartz-runtime")))] + #[cfg(feature = "foreign-assets")] list_benchmark!(list, extra, pallet_foreign_assets, ForeignAssets); @@ -748,19 +748,19 @@ add_benchmark!(params, batches, pallet_fungible, Fungible); add_benchmark!(params, batches, pallet_nonfungible, Nonfungible); - #[cfg(not(any(feature = "unique-runtime", feature = "quartz-runtime")))] + #[cfg(feature = "refungible")] add_benchmark!(params, batches, pallet_refungible, Refungible); - #[cfg(not(any(feature = "unique-runtime", feature = "quartz-runtime")))] + #[cfg(feature = "scheduler")] add_benchmark!(params, batches, pallet_unique_scheduler_v2, Scheduler); - #[cfg(not(any(feature = "unique-runtime", feature = "quartz-runtime")))] + #[cfg(feature = "rmrk")] add_benchmark!(params, batches, pallet_proxy_rmrk_core, RmrkCore); - #[cfg(not(any(feature = "unique-runtime", feature = "quartz-runtime")))] + #[cfg(feature = "rmrk")] add_benchmark!(params, batches, pallet_proxy_rmrk_equip, RmrkEquip); - #[cfg(not(any(feature = "unique-runtime", feature = "quartz-runtime")))] + #[cfg(feature = "foreign-assets")] add_benchmark!(params, batches, pallet_foreign_assets, ForeignAssets); // add_benchmark!(params, batches, pallet_evm_coder_substrate, EvmCoderSubstrate); -- gitstuff