difftreelog
Merge pull request #771 from UniqueNetwork/fix/runtime-benchmark-list
in: master
3 files changed
runtime/common/runtime_apis.rsdiffbeforeafterboth--- a/runtime/common/runtime_apis.rs
+++ b/runtime/common/runtime_apis.rs
@@ -684,23 +684,26 @@
list_benchmark!(list, extra, pallet_unique, Unique);
list_benchmark!(list, extra, pallet_structure, Structure);
list_benchmark!(list, extra, pallet_inflation, Inflation);
+
+ #[cfg(feature = "app-promotion")]
list_benchmark!(list, extra, pallet_app_promotion, AppPromotion);
+
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);
@@ -744,23 +747,26 @@
add_benchmark!(params, batches, pallet_unique, Unique);
add_benchmark!(params, batches, pallet_structure, Structure);
add_benchmark!(params, batches, pallet_inflation, Inflation);
+
+ #[cfg(feature = "app-promotion")]
add_benchmark!(params, batches, pallet_app_promotion, AppPromotion);
+
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);
runtime/quartz/Cargo.tomldiffbeforeafterboth--- a/runtime/quartz/Cargo.toml
+++ b/runtime/quartz/Cargo.toml
@@ -40,6 +40,7 @@
'pallet-unique/runtime-benchmarks',
'pallet-foreign-assets/runtime-benchmarks',
'pallet-inflation/runtime-benchmarks',
+ 'pallet-app-promotion/runtime-benchmarks',
'pallet-xcm/runtime-benchmarks',
'sp-runtime/runtime-benchmarks',
'xcm-builder/runtime-benchmarks',
@@ -81,6 +82,7 @@
'pallet-app-promotion/try-runtime',
'pallet-foreign-assets/try-runtime',
'pallet-ethereum/try-runtime',
+ 'pallet-evm/try-runtime',
'pallet-evm-coder-substrate/try-runtime',
'pallet-evm-contract-helpers/try-runtime',
'pallet-evm-transaction-payment/try-runtime',
@@ -128,6 +130,7 @@
'serde',
'pallet-inflation/std',
'pallet-configuration/std',
+ 'pallet-app-promotion/std',
'pallet-common/std',
'pallet-structure/std',
'pallet-fungible/std',
runtime/unique/Cargo.tomldiffbeforeafterboth40 'pallet-unique/runtime-benchmarks',40 'pallet-unique/runtime-benchmarks',41 'pallet-foreign-assets/runtime-benchmarks',41 'pallet-foreign-assets/runtime-benchmarks',42 'pallet-inflation/runtime-benchmarks',42 'pallet-inflation/runtime-benchmarks',43 'pallet-app-promotion/runtime-benchmarks',43 'pallet-xcm/runtime-benchmarks',44 'pallet-xcm/runtime-benchmarks',44 'sp-runtime/runtime-benchmarks',45 'sp-runtime/runtime-benchmarks',45 'xcm-builder/runtime-benchmarks',46 'xcm-builder/runtime-benchmarks',82 'pallet-app-promotion/try-runtime',83 'pallet-app-promotion/try-runtime',83 'pallet-foreign-assets/try-runtime',84 'pallet-foreign-assets/try-runtime',84 'pallet-ethereum/try-runtime',85 'pallet-ethereum/try-runtime',86 'pallet-evm/try-runtime',85 'pallet-evm-coder-substrate/try-runtime',87 'pallet-evm-coder-substrate/try-runtime',86 'pallet-evm-contract-helpers/try-runtime',88 'pallet-evm-contract-helpers/try-runtime',87 'pallet-evm-transaction-payment/try-runtime',89 'pallet-evm-transaction-payment/try-runtime',129 'serde',131 'serde',130 'pallet-inflation/std',132 'pallet-inflation/std',131 'pallet-configuration/std',133 'pallet-configuration/std',134 'pallet-app-promotion/std',132 'pallet-common/std',135 'pallet-common/std',133 'pallet-structure/std',136 'pallet-structure/std',134 'pallet-fungible/std',137 'pallet-fungible/std',