difftreelog
feat(rmrk) benchmark change_collection_issuer
in: master
1 file changed
pallets/proxy-rmrk-core/src/benchmarking.rsdiffbeforeafterboth6 traits::{Currency, Get},6 traits::{Currency, Get},7 BoundedVec,7 BoundedVec,8};8};9use sp_runtime::traits::AccountIdLookup;91010use up_data_structs::*;11use up_data_structs::*;111243 let collection_id = create_max_collection::<T>(&caller)?;44 let collection_id = create_max_collection::<T>(&caller)?;44 }: _(RawOrigin::Signed(caller), collection_id)45 }: _(RawOrigin::Signed(caller), collection_id)4647 change_collection_issuer {48 let caller: T::AccountId = account("caller", 0, SEED);49 let collection_id = create_max_collection::<T>(&caller)?;50 let new_owner: T::AccountId = account("new_owner", 0, SEED);5152 let new_owner_source = T::Lookup::unlookup(new_owner);53 }: _(RawOrigin::Signed(caller), collection_id, new_owner_source)45}54}4655