git.delta.rocks / unique-network / refs/commits / a7efb3ed579e

difftreelog

fix disable pallets for quartz runtime benchmarking

Yaroslav Bolyukin2022-08-15parent: #293d68a.patch.diff
in: master

1 file changed

modifiedruntime/common/runtime_apis.rsdiffbeforeafterboth
639 list_benchmark!(list, extra, pallet_structure, Structure);639 list_benchmark!(list, extra, pallet_structure, Structure);
640 list_benchmark!(list, extra, pallet_inflation, Inflation);640 list_benchmark!(list, extra, pallet_inflation, Inflation);
641 list_benchmark!(list, extra, pallet_fungible, Fungible);641 list_benchmark!(list, extra, pallet_fungible, Fungible);
642 list_benchmark!(list, extra, pallet_refungible, Refungible);642 list_benchmark!(list, extra, pallet_nonfungible, Nonfungible);
643
644 #[cfg(not(any(feature = "unique-runtime", feature = "quartz-runtime")))]
643 list_benchmark!(list, extra, pallet_nonfungible, Nonfungible);645 list_benchmark!(list, extra, pallet_refungible, Refungible);
646
647 #[cfg(not(any(feature = "unique-runtime", feature = "quartz-runtime")))]
644 list_benchmark!(list, extra, pallet_unique_scheduler, Scheduler);648 list_benchmark!(list, extra, pallet_unique_scheduler, Scheduler);
645649
646 #[cfg(not(feature = "unique-runtime"))]650 #[cfg(not(any(feature = "unique-runtime", feature = "quartz-runtime")))]
647 list_benchmark!(list, extra, pallet_proxy_rmrk_core, RmrkCore);651 list_benchmark!(list, extra, pallet_proxy_rmrk_core, RmrkCore);
648652
649 #[cfg(not(feature = "unique-runtime"))]653 #[cfg(not(any(feature = "unique-runtime", feature = "quartz-runtime")))]
650 list_benchmark!(list, extra, pallet_proxy_rmrk_equip, RmrkEquip);654 list_benchmark!(list, extra, pallet_proxy_rmrk_equip, RmrkEquip);
651655
652 // list_benchmark!(list, extra, pallet_evm_coder_substrate, EvmCoderSubstrate);656 // list_benchmark!(list, extra, pallet_evm_coder_substrate, EvmCoderSubstrate);
690 add_benchmark!(params, batches, pallet_structure, Structure);694 add_benchmark!(params, batches, pallet_structure, Structure);
691 add_benchmark!(params, batches, pallet_inflation, Inflation);695 add_benchmark!(params, batches, pallet_inflation, Inflation);
692 add_benchmark!(params, batches, pallet_fungible, Fungible);696 add_benchmark!(params, batches, pallet_fungible, Fungible);
693 add_benchmark!(params, batches, pallet_refungible, Refungible);697 add_benchmark!(params, batches, pallet_nonfungible, Nonfungible);
698
699 #[cfg(not(any(feature = "unique-runtime", feature = "quartz-runtime")))]
694 add_benchmark!(params, batches, pallet_nonfungible, Nonfungible);700 add_benchmark!(params, batches, pallet_refungible, Refungible);
701
702 #[cfg(not(any(feature = "unique-runtime", feature = "quartz-runtime")))]
695 add_benchmark!(params, batches, pallet_unique_scheduler, Scheduler);703 add_benchmark!(params, batches, pallet_unique_scheduler, Scheduler);
696704
697 #[cfg(not(feature = "unique-runtime"))]705 #[cfg(not(any(feature = "unique-runtime", feature = "quartz-runtime")))]
698 add_benchmark!(params, batches, pallet_proxy_rmrk_core, RmrkCore);706 add_benchmark!(params, batches, pallet_proxy_rmrk_core, RmrkCore);
699707
700 #[cfg(not(feature = "unique-runtime"))]708 #[cfg(not(any(feature = "unique-runtime", feature = "quartz-runtime")))]
701 add_benchmark!(params, batches, pallet_proxy_rmrk_equip, RmrkEquip);709 add_benchmark!(params, batches, pallet_proxy_rmrk_equip, RmrkEquip);
702710
703 // add_benchmark!(params, batches, pallet_evm_coder_substrate, EvmCoderSubstrate);711 // add_benchmark!(params, batches, pallet_evm_coder_substrate, EvmCoderSubstrate);