difftreelog
feat(rmrk) benchmark mint_nft
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;9use sp_runtime::Permill;101011use up_data_structs::*;11use up_data_structs::*;121257 let collection_id = create_max_collection::<T>(&caller)?;57 let collection_id = create_max_collection::<T>(&caller)?;58 }: _(RawOrigin::Signed(caller), collection_id)58 }: _(RawOrigin::Signed(caller), collection_id)5960 mint_nft {61 let caller: T::AccountId = account("caller", 0, SEED);62 let collection_id = create_max_collection::<T>(&caller)?;63 let owner = caller.clone();64 65 let royalty_recipient = Some(caller.clone());66 let royalty_amount = Some(Permill::from_percent(25));67 let metadata = create_data();68 let transferable = true;69 }: _(70 RawOrigin::Signed(caller),71 owner,72 collection_id,73 royalty_recipient,74 royalty_amount,75 metadata,76 transferable77 )59}78}6079