git.delta.rocks / unique-network / refs/commits / 60c75ed8e2a4

difftreelog

fix app promotion features passing + benchmark list

Daniel Shiposha2022-12-15parent: #04eaacc.patch.diff
in: master

3 files changed

modifiedruntime/common/runtime_apis.rsdiffbeforeafterboth
--- a/runtime/common/runtime_apis.rs
+++ b/runtime/common/runtime_apis.rs
@@ -684,7 +684,10 @@
                     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);
 
@@ -744,7 +747,10 @@
                     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);
 
modifiedruntime/quartz/Cargo.tomldiffbeforeafterboth
40 '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',
128 'serde',129 'serde',
129 'pallet-inflation/std',130 'pallet-inflation/std',
130 'pallet-configuration/std',131 'pallet-configuration/std',
132 'pallet-app-promotion/std',
131 'pallet-common/std',133 'pallet-common/std',
132 'pallet-structure/std',134 'pallet-structure/std',
133 'pallet-fungible/std',135 'pallet-fungible/std',
modifiedruntime/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',
@@ -129,6 +130,7 @@
     'serde',
     'pallet-inflation/std',
     'pallet-configuration/std',
+    'pallet-app-promotion/std',
     'pallet-common/std',
     'pallet-structure/std',
     'pallet-fungible/std',