--- a/pallets/common/src/benchmarking.rs +++ b/pallets/common/src/benchmarking.rs @@ -116,7 +116,7 @@ create_collection_raw( owner, CollectionMode::NFT, - |owner, data| >::init_collection(owner, data, CollectionFlags::default()), + |owner: T::CrossAccountId, data| >::init_collection(owner.clone(), owner, data, CollectionFlags::default()), |h| h, ) } --- a/pallets/fungible/src/benchmarking.rs +++ b/pallets/fungible/src/benchmarking.rs @@ -31,7 +31,7 @@ create_collection_raw( owner, CollectionMode::Fungible(0), - >::init_collection, + |owner: T::CrossAccountId, data| >::init_collection(owner.clone(), owner, data), FungibleHandle::cast, ) } --- a/pallets/nonfungible/src/benchmarking.rs +++ b/pallets/nonfungible/src/benchmarking.rs @@ -54,7 +54,7 @@ create_collection_raw( owner, CollectionMode::NFT, - |owner, data| >::init_collection(owner, data, true), + |owner: T::CrossAccountId, data| >::init_collection(owner.clone(), owner, data, true), NonfungibleHandle::cast, ) } --- a/pallets/refungible/src/benchmarking.rs +++ b/pallets/refungible/src/benchmarking.rs @@ -62,7 +62,7 @@ create_collection_raw( owner, CollectionMode::ReFungible, - >::init_collection, + |owner: T::CrossAccountId, data| >::init_collection(owner.clone(), owner, data), RefungibleHandle::cast, ) } --- a/pallets/structure/src/benchmarking.rs +++ b/pallets/structure/src/benchmarking.rs @@ -32,7 +32,7 @@ let caller_cross = T::CrossAccountId::from_sub(caller.clone()); ::Currency::deposit_creating(&caller, T::CollectionCreationPrice::get()); - T::CollectionDispatch::create(caller_cross.clone(), CreateCollectionData { + T::CollectionDispatch::create(caller_cross.clone(), caller_cross.clone(), CreateCollectionData { mode: CollectionMode::NFT, ..Default::default() })?;