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