--- a/pallets/common/src/benchmarking.rs +++ b/pallets/common/src/benchmarking.rs @@ -198,7 +198,7 @@ check_accesslist{ bench_init!{ owner: sub; collection: collection(owner); - sender: cross_from_sub(owner); receiver: cross_sub; + sender: cross_from_sub(owner); }; let mut collection_handle = >::try_get(collection.id)?; @@ -216,8 +216,6 @@ )?; assert_eq!(collection_handle.permissions.access(), AccessMode::AllowList); - - collection_handle.check_allowlist(&sender)?; }: {collection_handle.check_allowlist(&sender)?;} }