difftreelog
Merge pull request #771 from UniqueNetwork/fix/runtime-benchmark-list
in: master
3 files changed
runtime/common/runtime_apis.rsdiffbeforeafterboth685 list_benchmark!(list, extra, pallet_structure, Structure);685 list_benchmark!(list, extra, pallet_structure, Structure);686 list_benchmark!(list, extra, pallet_inflation, Inflation);686 list_benchmark!(list, extra, pallet_inflation, Inflation);687688 #[cfg(feature = "app-promotion")]687 list_benchmark!(list, extra, pallet_app_promotion, AppPromotion);689 list_benchmark!(list, extra, pallet_app_promotion, AppPromotion);690688 list_benchmark!(list, extra, pallet_fungible, Fungible);691 list_benchmark!(list, extra, pallet_fungible, Fungible);689 list_benchmark!(list, extra, pallet_nonfungible, Nonfungible);692 list_benchmark!(list, extra, pallet_nonfungible, Nonfungible);690693691 #[cfg(not(any(feature = "unique-runtime", feature = "quartz-runtime")))]694 #[cfg(feature = "refungible")]692 list_benchmark!(list, extra, pallet_refungible, Refungible);695 list_benchmark!(list, extra, pallet_refungible, Refungible);693696694 #[cfg(not(any(feature = "unique-runtime", feature = "quartz-runtime")))]697 #[cfg(feature = "scheduler")]695 list_benchmark!(list, extra, pallet_unique_scheduler_v2, Scheduler);698 list_benchmark!(list, extra, pallet_unique_scheduler_v2, Scheduler);696699697 #[cfg(not(any(feature = "unique-runtime", feature = "quartz-runtime")))]700 #[cfg(feature = "rmrk")]698 list_benchmark!(list, extra, pallet_proxy_rmrk_core, RmrkCore);701 list_benchmark!(list, extra, pallet_proxy_rmrk_core, RmrkCore);699702700 #[cfg(not(any(feature = "unique-runtime", feature = "quartz-runtime")))]703 #[cfg(feature = "rmrk")]701 list_benchmark!(list, extra, pallet_proxy_rmrk_equip, RmrkEquip);704 list_benchmark!(list, extra, pallet_proxy_rmrk_equip, RmrkEquip);702705703 #[cfg(not(any(feature = "unique-runtime", feature = "quartz-runtime")))]706 #[cfg(feature = "foreign-assets")]704 list_benchmark!(list, extra, pallet_foreign_assets, ForeignAssets);707 list_benchmark!(list, extra, pallet_foreign_assets, ForeignAssets);705708706709745 add_benchmark!(params, batches, pallet_structure, Structure);748 add_benchmark!(params, batches, pallet_structure, Structure);746 add_benchmark!(params, batches, pallet_inflation, Inflation);749 add_benchmark!(params, batches, pallet_inflation, Inflation);750751 #[cfg(feature = "app-promotion")]747 add_benchmark!(params, batches, pallet_app_promotion, AppPromotion);752 add_benchmark!(params, batches, pallet_app_promotion, AppPromotion);753748 add_benchmark!(params, batches, pallet_fungible, Fungible);754 add_benchmark!(params, batches, pallet_fungible, Fungible);749 add_benchmark!(params, batches, pallet_nonfungible, Nonfungible);755 add_benchmark!(params, batches, pallet_nonfungible, Nonfungible);750756751 #[cfg(not(any(feature = "unique-runtime", feature = "quartz-runtime")))]757 #[cfg(feature = "refungible")]752 add_benchmark!(params, batches, pallet_refungible, Refungible);758 add_benchmark!(params, batches, pallet_refungible, Refungible);753759754 #[cfg(not(any(feature = "unique-runtime", feature = "quartz-runtime")))]760 #[cfg(feature = "scheduler")]755 add_benchmark!(params, batches, pallet_unique_scheduler_v2, Scheduler);761 add_benchmark!(params, batches, pallet_unique_scheduler_v2, Scheduler);756762757 #[cfg(not(any(feature = "unique-runtime", feature = "quartz-runtime")))]763 #[cfg(feature = "rmrk")]758 add_benchmark!(params, batches, pallet_proxy_rmrk_core, RmrkCore);764 add_benchmark!(params, batches, pallet_proxy_rmrk_core, RmrkCore);759765760 #[cfg(not(any(feature = "unique-runtime", feature = "quartz-runtime")))]766 #[cfg(feature = "rmrk")]761 add_benchmark!(params, batches, pallet_proxy_rmrk_equip, RmrkEquip);767 add_benchmark!(params, batches, pallet_proxy_rmrk_equip, RmrkEquip);762768763 #[cfg(not(any(feature = "unique-runtime", feature = "quartz-runtime")))]769 #[cfg(feature = "foreign-assets")]764 add_benchmark!(params, batches, pallet_foreign_assets, ForeignAssets);770 add_benchmark!(params, batches, pallet_foreign_assets, ForeignAssets);765771766 // add_benchmark!(params, batches, pallet_evm_coder_substrate, EvmCoderSubstrate);772 // 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.tomldiffbeforeafterboth--- a/runtime/unique/Cargo.toml
+++ b/runtime/unique/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',
@@ -82,6 +83,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',
@@ -129,6 +131,7 @@
'serde',
'pallet-inflation/std',
'pallet-configuration/std',
+ 'pallet-app-promotion/std',
'pallet-common/std',
'pallet-structure/std',
'pallet-fungible/std',