difftreelog
fix bench for common pallet
in: master
1 file changed
pallets/common/src/benchmarking.rsdiffbeforeafterboth198 check_accesslist{198 check_accesslist{199 bench_init!{199 bench_init!{200 owner: sub; collection: collection(owner);200 owner: sub; collection: collection(owner);201 sender: cross_from_sub(owner); receiver: cross_sub;201 sender: cross_from_sub(owner);202 };202 };203203204 let mut collection_handle = <CollectionHandle<T>>::try_get(collection.id)?;204 let mut collection_handle = <CollectionHandle<T>>::try_get(collection.id)?;217217218 assert_eq!(collection_handle.permissions.access(), AccessMode::AllowList);218 assert_eq!(collection_handle.permissions.access(), AccessMode::AllowList);219220 collection_handle.check_allowlist(&sender)?;221219222 }: {collection_handle.check_allowlist(&sender)?;}220 }: {collection_handle.check_allowlist(&sender)?;}223}221}