From 59f9c8e9550a787ead878e2a4f31a460a9bb9724 Mon Sep 17 00:00:00 2001 From: PraetorP Date: Tue, 14 Feb 2023 10:00:18 +0000 Subject: [PATCH] fix: bencmarks for RFT&NFT pallets --- --- a/pallets/nonfungible/src/benchmarking.rs +++ b/pallets/nonfungible/src/benchmarking.rs @@ -24,7 +24,10 @@ CommonCollectionOperations, }; use sp_std::prelude::*; -use up_data_structs::{CollectionMode, MAX_ITEMS_PER_BATCH, MAX_PROPERTIES_PER_ITEM, budget::Unlimited}; +use up_data_structs::{ + CollectionMode, MAX_ITEMS_PER_BATCH, MAX_PROPERTIES_PER_ITEM, budget::Unlimited, + PropertyPermission, +}; const SEED: u32 = 1; --- a/pallets/refungible/src/benchmarking.rs +++ b/pallets/refungible/src/benchmarking.rs @@ -25,7 +25,10 @@ benchmarking::{create_collection_raw, property_key, property_value}, }; use sp_std::prelude::*; -use up_data_structs::{CollectionMode, MAX_ITEMS_PER_BATCH, MAX_PROPERTIES_PER_ITEM, budget::Unlimited}; +use up_data_structs::{ + CollectionMode, MAX_ITEMS_PER_BATCH, MAX_PROPERTIES_PER_ITEM, budget::Unlimited, + PropertyPermission, +}; const SEED: u32 = 1; -- gitstuff