git.delta.rocks / unique-network / refs/commits / 59f9c8e9550a

difftreelog

fix bencmarks for RFT&NFT pallets

PraetorP2023-02-14parent: #b84fc5c.patch.diff
in: master

2 files changed

modifiedpallets/nonfungible/src/benchmarking.rsdiffbeforeafterboth
25};25};
26use sp_std::prelude::*;26use sp_std::prelude::*;
27use up_data_structs::{CollectionMode, MAX_ITEMS_PER_BATCH, MAX_PROPERTIES_PER_ITEM, budget::Unlimited};27use up_data_structs::{
28 CollectionMode, MAX_ITEMS_PER_BATCH, MAX_PROPERTIES_PER_ITEM, budget::Unlimited,
29 PropertyPermission,
30};
2831
29const SEED: u32 = 1;32const SEED: u32 = 1;
modifiedpallets/refungible/src/benchmarking.rsdiffbeforeafterboth
--- 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;