mirror of
https://github.com/pezkuwichain/pezkuwi-runtime-templates.git
synced 2026-04-22 09:07:56 +00:00
Generic asset manager (#341)
Co-authored-by: Nikita Khateev <nikita.khateev@gmail.com>
This commit is contained in:
@@ -234,6 +234,7 @@ impl_runtime_apis! {
|
||||
|
||||
use super::{*, types::*, configs::*, constants::currency::CENTS};
|
||||
|
||||
#[allow(non_local_definitions)]
|
||||
impl frame_system_benchmarking::Config for Runtime {
|
||||
fn setup_set_code_requirements(code: &sp_std::vec::Vec<u8>) -> Result<(), BenchmarkError> {
|
||||
ParachainSystem::initialize_for_set_code_benchmark(code.len() as u32);
|
||||
@@ -262,6 +263,8 @@ impl_runtime_apis! {
|
||||
>;
|
||||
use pallet_xcm::benchmarking::Pallet as PalletXcmExtrinsicsBenchmark;
|
||||
use xcm::latest::prelude::{Asset, AssetId, Assets as AssetList, Fungible, Location, Parachain, Parent, ParentThen, PalletInstance, GeneralIndex};
|
||||
|
||||
#[allow(non_local_definitions)]
|
||||
impl pallet_xcm::benchmarking::Config for Runtime {
|
||||
type DeliveryHelper = cumulus_primitives_utility::ToParentDeliveryHelper<
|
||||
xcm_config::XcmConfig,
|
||||
@@ -363,6 +366,8 @@ impl_runtime_apis! {
|
||||
}
|
||||
|
||||
use cumulus_pallet_session_benchmarking::Pallet as SessionBench;
|
||||
|
||||
#[allow(non_local_definitions)]
|
||||
impl cumulus_pallet_session_benchmarking::Config for Runtime {}
|
||||
|
||||
use frame_support::traits::WhitelistedStorageKeys;
|
||||
|
||||
Reference in New Issue
Block a user