From 3c1f2feaa85defaacd54d3a993c1c376bb6e1dfe Mon Sep 17 00:00:00 2001 From: Yaroslav Bolyukin Date: Fri, 24 Mar 2023 08:54:37 +0000 Subject: [PATCH] style(nonfungible): benchmarking warnings --- --- a/pallets/common/src/benchmarking.rs +++ b/pallets/common/src/benchmarking.rs @@ -14,6 +14,8 @@ // You should have received a copy of the GNU General Public License // along with Unique Network. If not, see . +#![allow(missing_docs)] + use sp_std::vec::Vec; use crate::{Config, CollectionHandle, Pallet}; use pallet_evm::account::CrossAccountId; --- a/pallets/nonfungible/src/benchmarking.rs +++ b/pallets/nonfungible/src/benchmarking.rs @@ -232,8 +232,7 @@ owner: cross_from_sub; }; let item = create_max_item(&collection, &owner, owner.clone())?; - - }: {collection.token_owner(item)} + }: {collection.token_owner(item).unwrap()} set_allowance_for_all { bench_init!{ -- gitstuff