--- 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!{