git.delta.rocks / unique-network / refs/commits / 2fb81764d405

difftreelog

chore run benchmarks

Igor Kozyrev2022-12-26parent: #f1d694e.patch.diff
in: master

9 files changed

modifiedMakefilediffbeforeafterboth
--- a/Makefile
+++ b/Makefile
@@ -134,4 +134,5 @@
 	make _bench PALLET=app-promotion PALLET_DIR=app-promotion
 	
 .PHONY: bench
-bench: bench-evm-migration bench-unique bench-structure bench-fungible bench-refungible bench-nonfungible bench-scheduler bench-rmrk-core bench-rmrk-equip bench-foreign-assets
+# Disabled: bench-scheduler, bench-rmrk-core, bench-rmrk-equip
+bench: bench-evm-migration bench-unique bench-structure bench-fungible bench-refungible bench-nonfungible bench-foreign-assets
modifiedpallets/evm-migration/src/weights.rsdiffbeforeafterboth
--- a/pallets/evm-migration/src/weights.rs
+++ b/pallets/evm-migration/src/weights.rs
@@ -3,7 +3,7 @@
 //! Autogenerated weights for pallet_evm_migration
 //!
 //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
-//! DATE: 2022-11-23, STEPS: `50`, REPEAT: 80, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! DATE: 2022-12-26, STEPS: `50`, REPEAT: 80, LOW RANGE: `[]`, HIGH RANGE: `[]`
 //! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024
 
 // Executed Command:
@@ -48,37 +48,37 @@
 	// Storage: System Account (r:1 w:0)
 	// Storage: EVM AccountCodes (r:1 w:0)
 	fn begin() -> Weight {
-		Weight::from_ref_time(16_080_000 as u64)
+		Weight::from_ref_time(15_073_000 as u64)
 			.saturating_add(T::DbWeight::get().reads(3 as u64))
 			.saturating_add(T::DbWeight::get().writes(1 as u64))
 	}
 	// Storage: EvmMigration MigrationPending (r:1 w:0)
 	// Storage: EVM AccountStorages (r:0 w:1)
 	fn set_data(b: u32, ) -> Weight {
-		Weight::from_ref_time(7_945_000 as u64)
-			// Standard Error: 1_272
-			.saturating_add(Weight::from_ref_time(1_056_832 as u64).saturating_mul(b as u64))
+		Weight::from_ref_time(7_943_438 as u64)
+			// Standard Error: 1_792
+			.saturating_add(Weight::from_ref_time(960_230 as u64).saturating_mul(b as u64))
 			.saturating_add(T::DbWeight::get().reads(1 as u64))
 			.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(b as u64)))
 	}
 	// Storage: EvmMigration MigrationPending (r:1 w:1)
 	// Storage: EVM AccountCodes (r:0 w:1)
 	fn finish(b: u32, ) -> Weight {
-		Weight::from_ref_time(8_336_000 as u64)
-			// Standard Error: 89
-			.saturating_add(Weight::from_ref_time(6_411 as u64).saturating_mul(b as u64))
+		Weight::from_ref_time(9_316_585 as u64)
+			// Standard Error: 595
+			.saturating_add(Weight::from_ref_time(2_082 as u64).saturating_mul(b as u64))
 			.saturating_add(T::DbWeight::get().reads(1 as u64))
 			.saturating_add(T::DbWeight::get().writes(2 as u64))
 	}
 	fn insert_eth_logs(b: u32, ) -> Weight {
-		Weight::from_ref_time(3_447_000 as u64)
-			// Standard Error: 843
-			.saturating_add(Weight::from_ref_time(901_039 as u64).saturating_mul(b as u64))
+		Weight::from_ref_time(6_570_767 as u64)
+			// Standard Error: 2_292
+			.saturating_add(Weight::from_ref_time(722_345 as u64).saturating_mul(b as u64))
 	}
 	fn insert_events(b: u32, ) -> Weight {
-		Weight::from_ref_time(3_457_000 as u64)
-			// Standard Error: 1_460
-			.saturating_add(Weight::from_ref_time(1_491_611 as u64).saturating_mul(b as u64))
+		Weight::from_ref_time(10_936_376 as u64)
+			// Standard Error: 1_227
+			.saturating_add(Weight::from_ref_time(1_311_481 as u64).saturating_mul(b as u64))
 	}
 }
 
@@ -88,36 +88,36 @@
 	// Storage: System Account (r:1 w:0)
 	// Storage: EVM AccountCodes (r:1 w:0)
 	fn begin() -> Weight {
-		Weight::from_ref_time(16_080_000 as u64)
+		Weight::from_ref_time(15_073_000 as u64)
 			.saturating_add(RocksDbWeight::get().reads(3 as u64))
 			.saturating_add(RocksDbWeight::get().writes(1 as u64))
 	}
 	// Storage: EvmMigration MigrationPending (r:1 w:0)
 	// Storage: EVM AccountStorages (r:0 w:1)
 	fn set_data(b: u32, ) -> Weight {
-		Weight::from_ref_time(7_945_000 as u64)
-			// Standard Error: 1_272
-			.saturating_add(Weight::from_ref_time(1_056_832 as u64).saturating_mul(b as u64))
+		Weight::from_ref_time(7_943_438 as u64)
+			// Standard Error: 1_792
+			.saturating_add(Weight::from_ref_time(960_230 as u64).saturating_mul(b as u64))
 			.saturating_add(RocksDbWeight::get().reads(1 as u64))
 			.saturating_add(RocksDbWeight::get().writes((1 as u64).saturating_mul(b as u64)))
 	}
 	// Storage: EvmMigration MigrationPending (r:1 w:1)
 	// Storage: EVM AccountCodes (r:0 w:1)
 	fn finish(b: u32, ) -> Weight {
-		Weight::from_ref_time(8_336_000 as u64)
-			// Standard Error: 89
-			.saturating_add(Weight::from_ref_time(6_411 as u64).saturating_mul(b as u64))
+		Weight::from_ref_time(9_316_585 as u64)
+			// Standard Error: 595
+			.saturating_add(Weight::from_ref_time(2_082 as u64).saturating_mul(b as u64))
 			.saturating_add(RocksDbWeight::get().reads(1 as u64))
 			.saturating_add(RocksDbWeight::get().writes(2 as u64))
 	}
 	fn insert_eth_logs(b: u32, ) -> Weight {
-		Weight::from_ref_time(3_447_000 as u64)
-			// Standard Error: 843
-			.saturating_add(Weight::from_ref_time(901_039 as u64).saturating_mul(b as u64))
+		Weight::from_ref_time(6_570_767 as u64)
+			// Standard Error: 2_292
+			.saturating_add(Weight::from_ref_time(722_345 as u64).saturating_mul(b as u64))
 	}
 	fn insert_events(b: u32, ) -> Weight {
-		Weight::from_ref_time(3_457_000 as u64)
-			// Standard Error: 1_460
-			.saturating_add(Weight::from_ref_time(1_491_611 as u64).saturating_mul(b as u64))
+		Weight::from_ref_time(10_936_376 as u64)
+			// Standard Error: 1_227
+			.saturating_add(Weight::from_ref_time(1_311_481 as u64).saturating_mul(b as u64))
 	}
 }
modifiedpallets/foreign-assets/src/weights.rsdiffbeforeafterboth
--- a/pallets/foreign-assets/src/weights.rs
+++ b/pallets/foreign-assets/src/weights.rs
@@ -3,7 +3,7 @@
 //! Autogenerated weights for pallet_foreign_assets
 //!
 //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
-//! DATE: 2022-09-16, STEPS: `50`, REPEAT: 80, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! DATE: 2022-12-26, STEPS: `50`, REPEAT: 80, LOW RANGE: `[]`, HIGH RANGE: `[]`
 //! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024
 
 // Executed Command:
@@ -53,14 +53,14 @@
 	// Storage: Common CollectionProperties (r:0 w:1)
 	// Storage: Common CollectionById (r:0 w:1)
 	fn register_foreign_asset() -> Weight {
-		Weight::from_ref_time(52_161_000)
+		Weight::from_ref_time(54_196_000 as u64)
 			.saturating_add(T::DbWeight::get().reads(9 as u64))
 			.saturating_add(T::DbWeight::get().writes(11 as u64))
 	}
 	// Storage: ForeignAssets ForeignAssetLocations (r:1 w:1)
 	// Storage: ForeignAssets AssetMetadatas (r:1 w:1)
 	fn update_foreign_asset() -> Weight {
-		Weight::from_ref_time(19_111_000)
+		Weight::from_ref_time(23_719_000 as u64)
 			.saturating_add(T::DbWeight::get().reads(2 as u64))
 			.saturating_add(T::DbWeight::get().writes(2 as u64))
 	}
@@ -80,14 +80,14 @@
 	// Storage: Common CollectionProperties (r:0 w:1)
 	// Storage: Common CollectionById (r:0 w:1)
 	fn register_foreign_asset() -> Weight {
-		Weight::from_ref_time(52_161_000)
+		Weight::from_ref_time(54_196_000 as u64)
 			.saturating_add(RocksDbWeight::get().reads(9 as u64))
 			.saturating_add(RocksDbWeight::get().writes(11 as u64))
 	}
 	// Storage: ForeignAssets ForeignAssetLocations (r:1 w:1)
 	// Storage: ForeignAssets AssetMetadatas (r:1 w:1)
 	fn update_foreign_asset() -> Weight {
-		Weight::from_ref_time(19_111_000)
+		Weight::from_ref_time(23_719_000 as u64)
 			.saturating_add(RocksDbWeight::get().reads(2 as u64))
 			.saturating_add(RocksDbWeight::get().writes(2 as u64))
 	}
modifiedpallets/fungible/src/weights.rsdiffbeforeafterboth
--- a/pallets/fungible/src/weights.rs
+++ b/pallets/fungible/src/weights.rs
@@ -3,7 +3,7 @@
 //! Autogenerated weights for pallet_fungible
 //!
 //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
-//! DATE: 2022-08-15, STEPS: `50`, REPEAT: 80, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! DATE: 2022-12-26, STEPS: `50`, REPEAT: 80, LOW RANGE: `[]`, HIGH RANGE: `[]`
 //! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024
 
 // Executed Command:
@@ -26,6 +26,7 @@
 #![cfg_attr(rustfmt, rustfmt_skip)]
 #![allow(unused_parens)]
 #![allow(unused_imports)]
+#![allow(missing_docs)]
 #![allow(clippy::unnecessary_cast)]
 
 use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}};
@@ -48,16 +49,16 @@
 	// Storage: Fungible TotalSupply (r:1 w:1)
 	// Storage: Fungible Balance (r:1 w:1)
 	fn create_item() -> Weight {
-		Weight::from_ref_time(18_195_000)
+		Weight::from_ref_time(19_626_000 as u64)
 			.saturating_add(T::DbWeight::get().reads(2 as u64))
 			.saturating_add(T::DbWeight::get().writes(2 as u64))
 	}
 	// Storage: Fungible TotalSupply (r:1 w:1)
 	// Storage: Fungible Balance (r:4 w:4)
 	fn create_multiple_items_ex(b: u32, ) -> Weight {
-		Weight::from_ref_time(19_218_000)
-			// Standard Error: 3_000
-			.saturating_add(Weight::from_ref_time(4_516_000).saturating_mul(b as u64))
+		Weight::from_ref_time(22_364_107 as u64)
+			// Standard Error: 6_123
+			.saturating_add(Weight::from_ref_time(3_608_476 as u64).saturating_mul(b as u64))
 			.saturating_add(T::DbWeight::get().reads(1 as u64))
 			.saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(b as u64)))
 			.saturating_add(T::DbWeight::get().writes(1 as u64))
@@ -66,27 +67,27 @@
 	// Storage: Fungible TotalSupply (r:1 w:1)
 	// Storage: Fungible Balance (r:1 w:1)
 	fn burn_item() -> Weight {
-		Weight::from_ref_time(18_719_000)
+		Weight::from_ref_time(21_886_000 as u64)
 			.saturating_add(T::DbWeight::get().reads(2 as u64))
 			.saturating_add(T::DbWeight::get().writes(2 as u64))
 	}
 	// Storage: Fungible Balance (r:2 w:2)
 	fn transfer() -> Weight {
-		Weight::from_ref_time(20_563_000)
+		Weight::from_ref_time(23_827_000 as u64)
 			.saturating_add(T::DbWeight::get().reads(2 as u64))
 			.saturating_add(T::DbWeight::get().writes(2 as u64))
 	}
 	// Storage: Fungible Balance (r:1 w:0)
 	// Storage: Fungible Allowance (r:0 w:1)
 	fn approve() -> Weight {
-		Weight::from_ref_time(17_583_000)
+		Weight::from_ref_time(21_626_000 as u64)
 			.saturating_add(T::DbWeight::get().reads(1 as u64))
 			.saturating_add(T::DbWeight::get().writes(1 as u64))
 	}
 	// Storage: Fungible Allowance (r:1 w:1)
 	// Storage: Fungible Balance (r:2 w:2)
 	fn transfer_from() -> Weight {
-		Weight::from_ref_time(29_845_000)
+		Weight::from_ref_time(31_398_000 as u64)
 			.saturating_add(T::DbWeight::get().reads(3 as u64))
 			.saturating_add(T::DbWeight::get().writes(3 as u64))
 	}
@@ -94,7 +95,7 @@
 	// Storage: Fungible TotalSupply (r:1 w:1)
 	// Storage: Fungible Balance (r:1 w:1)
 	fn burn_from() -> Weight {
-		Weight::from_ref_time(28_248_000)
+		Weight::from_ref_time(30_499_000 as u64)
 			.saturating_add(T::DbWeight::get().reads(3 as u64))
 			.saturating_add(T::DbWeight::get().writes(3 as u64))
 	}
@@ -105,16 +106,16 @@
 	// Storage: Fungible TotalSupply (r:1 w:1)
 	// Storage: Fungible Balance (r:1 w:1)
 	fn create_item() -> Weight {
-		Weight::from_ref_time(18_195_000)
+		Weight::from_ref_time(19_626_000 as u64)
 			.saturating_add(RocksDbWeight::get().reads(2 as u64))
 			.saturating_add(RocksDbWeight::get().writes(2 as u64))
 	}
 	// Storage: Fungible TotalSupply (r:1 w:1)
 	// Storage: Fungible Balance (r:4 w:4)
 	fn create_multiple_items_ex(b: u32, ) -> Weight {
-		Weight::from_ref_time(19_218_000)
-			// Standard Error: 3_000
-			.saturating_add(Weight::from_ref_time(4_516_000).saturating_mul(b as u64))
+		Weight::from_ref_time(22_364_107 as u64)
+			// Standard Error: 6_123
+			.saturating_add(Weight::from_ref_time(3_608_476 as u64).saturating_mul(b as u64))
 			.saturating_add(RocksDbWeight::get().reads(1 as u64))
 			.saturating_add(RocksDbWeight::get().reads((1 as u64).saturating_mul(b as u64)))
 			.saturating_add(RocksDbWeight::get().writes(1 as u64))
@@ -123,27 +124,27 @@
 	// Storage: Fungible TotalSupply (r:1 w:1)
 	// Storage: Fungible Balance (r:1 w:1)
 	fn burn_item() -> Weight {
-		Weight::from_ref_time(18_719_000)
+		Weight::from_ref_time(21_886_000 as u64)
 			.saturating_add(RocksDbWeight::get().reads(2 as u64))
 			.saturating_add(RocksDbWeight::get().writes(2 as u64))
 	}
 	// Storage: Fungible Balance (r:2 w:2)
 	fn transfer() -> Weight {
-		Weight::from_ref_time(20_563_000)
+		Weight::from_ref_time(23_827_000 as u64)
 			.saturating_add(RocksDbWeight::get().reads(2 as u64))
 			.saturating_add(RocksDbWeight::get().writes(2 as u64))
 	}
 	// Storage: Fungible Balance (r:1 w:0)
 	// Storage: Fungible Allowance (r:0 w:1)
 	fn approve() -> Weight {
-		Weight::from_ref_time(17_583_000)
+		Weight::from_ref_time(21_626_000 as u64)
 			.saturating_add(RocksDbWeight::get().reads(1 as u64))
 			.saturating_add(RocksDbWeight::get().writes(1 as u64))
 	}
 	// Storage: Fungible Allowance (r:1 w:1)
 	// Storage: Fungible Balance (r:2 w:2)
 	fn transfer_from() -> Weight {
-		Weight::from_ref_time(29_845_000)
+		Weight::from_ref_time(31_398_000 as u64)
 			.saturating_add(RocksDbWeight::get().reads(3 as u64))
 			.saturating_add(RocksDbWeight::get().writes(3 as u64))
 	}
@@ -151,7 +152,7 @@
 	// Storage: Fungible TotalSupply (r:1 w:1)
 	// Storage: Fungible Balance (r:1 w:1)
 	fn burn_from() -> Weight {
-		Weight::from_ref_time(28_248_000)
+		Weight::from_ref_time(30_499_000 as u64)
 			.saturating_add(RocksDbWeight::get().reads(3 as u64))
 			.saturating_add(RocksDbWeight::get().writes(3 as u64))
 	}
modifiedpallets/nonfungible/src/weights.rsdiffbeforeafterboth
--- a/pallets/nonfungible/src/weights.rs
+++ b/pallets/nonfungible/src/weights.rs
@@ -3,7 +3,7 @@
 //! Autogenerated weights for pallet_nonfungible
 //!
 //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
-//! DATE: 2022-08-15, STEPS: `50`, REPEAT: 80, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! DATE: 2022-12-26, STEPS: `50`, REPEAT: 80, LOW RANGE: `[]`, HIGH RANGE: `[]`
 //! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024
 
 // Executed Command:
@@ -61,7 +61,7 @@
 	// Storage: Nonfungible TokenData (r:0 w:1)
 	// Storage: Nonfungible Owned (r:0 w:1)
 	fn create_item() -> Weight {
-		Weight::from_ref_time(25_905_000)
+		Weight::from_ref_time(26_377_000 as u64)
 			.saturating_add(T::DbWeight::get().reads(2 as u64))
 			.saturating_add(T::DbWeight::get().writes(4 as u64))
 	}
@@ -70,9 +70,9 @@
 	// Storage: Nonfungible TokenData (r:0 w:4)
 	// Storage: Nonfungible Owned (r:0 w:4)
 	fn create_multiple_items(b: u32, ) -> Weight {
-		Weight::from_ref_time(24_955_000)
-			// Standard Error: 3_000
-			.saturating_add(Weight::from_ref_time(5_340_000).saturating_mul(b as u64))
+		Weight::from_ref_time(20_059_186 as u64)
+			// Standard Error: 4_735
+			.saturating_add(Weight::from_ref_time(4_856_306 as u64).saturating_mul(b as u64))
 			.saturating_add(T::DbWeight::get().reads(2 as u64))
 			.saturating_add(T::DbWeight::get().writes(2 as u64))
 			.saturating_add(T::DbWeight::get().writes((2 as u64).saturating_mul(b as u64)))
@@ -82,9 +82,9 @@
 	// Storage: Nonfungible TokenData (r:0 w:4)
 	// Storage: Nonfungible Owned (r:0 w:4)
 	fn create_multiple_items_ex(b: u32, ) -> Weight {
-		Weight::from_ref_time(13_666_000)
-			// Standard Error: 5_000
-			.saturating_add(Weight::from_ref_time(8_299_000).saturating_mul(b as u64))
+		Weight::from_ref_time(16_365_581 as u64)
+			// Standard Error: 9_711
+			.saturating_add(Weight::from_ref_time(6_681_940 as u64).saturating_mul(b as u64))
 			.saturating_add(T::DbWeight::get().reads(1 as u64))
 			.saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(b as u64)))
 			.saturating_add(T::DbWeight::get().writes(1 as u64))
@@ -98,7 +98,7 @@
 	// Storage: Nonfungible Owned (r:0 w:1)
 	// Storage: Nonfungible TokenProperties (r:0 w:1)
 	fn burn_item() -> Weight {
-		Weight::from_ref_time(36_205_000)
+		Weight::from_ref_time(33_502_000 as u64)
 			.saturating_add(T::DbWeight::get().reads(5 as u64))
 			.saturating_add(T::DbWeight::get().writes(5 as u64))
 	}
@@ -110,7 +110,7 @@
 	// Storage: Nonfungible Owned (r:0 w:1)
 	// Storage: Nonfungible TokenProperties (r:0 w:1)
 	fn burn_recursively_self_raw() -> Weight {
-		Weight::from_ref_time(44_550_000)
+		Weight::from_ref_time(43_255_000 as u64)
 			.saturating_add(T::DbWeight::get().reads(5 as u64))
 			.saturating_add(T::DbWeight::get().writes(5 as u64))
 	}
@@ -123,9 +123,9 @@
 	// Storage: Nonfungible TokenProperties (r:0 w:1)
 	// Storage: Common CollectionById (r:1 w:0)
 	fn burn_recursively_breadth_plus_self_plus_self_per_each_raw(b: u32, ) -> Weight {
-		(Weight::from_ref_time(0))
-			// Standard Error: 1_536_000
-			.saturating_add(Weight::from_ref_time(312_125_000).saturating_mul(b as u64))
+		Weight::from_ref_time(42_992_000 as u64)
+			// Standard Error: 1_010_119
+			.saturating_add(Weight::from_ref_time(209_972_755 as u64).saturating_mul(b as u64))
 			.saturating_add(T::DbWeight::get().reads(7 as u64))
 			.saturating_add(T::DbWeight::get().reads((4 as u64).saturating_mul(b as u64)))
 			.saturating_add(T::DbWeight::get().writes(6 as u64))
@@ -136,14 +136,14 @@
 	// Storage: Nonfungible Allowance (r:1 w:0)
 	// Storage: Nonfungible Owned (r:0 w:2)
 	fn transfer() -> Weight {
-		Weight::from_ref_time(31_116_000)
+		Weight::from_ref_time(31_239_000 as u64)
 			.saturating_add(T::DbWeight::get().reads(4 as u64))
 			.saturating_add(T::DbWeight::get().writes(5 as u64))
 	}
 	// Storage: Nonfungible TokenData (r:1 w:0)
 	// Storage: Nonfungible Allowance (r:1 w:1)
 	fn approve() -> Weight {
-		Weight::from_ref_time(20_802_000)
+		Weight::from_ref_time(21_985_000 as u64)
 			.saturating_add(T::DbWeight::get().reads(2 as u64))
 			.saturating_add(T::DbWeight::get().writes(1 as u64))
 	}
@@ -152,7 +152,7 @@
 	// Storage: Nonfungible AccountBalance (r:2 w:2)
 	// Storage: Nonfungible Owned (r:0 w:2)
 	fn transfer_from() -> Weight {
-		Weight::from_ref_time(36_083_000)
+		Weight::from_ref_time(36_382_000 as u64)
 			.saturating_add(T::DbWeight::get().reads(4 as u64))
 			.saturating_add(T::DbWeight::get().writes(6 as u64))
 	}
@@ -164,54 +164,54 @@
 	// Storage: Nonfungible Owned (r:0 w:1)
 	// Storage: Nonfungible TokenProperties (r:0 w:1)
 	fn burn_from() -> Weight {
-		Weight::from_ref_time(41_781_000)
+		Weight::from_ref_time(42_046_000 as u64)
 			.saturating_add(T::DbWeight::get().reads(5 as u64))
 			.saturating_add(T::DbWeight::get().writes(6 as u64))
 	}
 	// Storage: Common CollectionPropertyPermissions (r:1 w:1)
 	fn set_token_property_permissions(b: u32, ) -> Weight {
-		(Weight::from_ref_time(0))
-			// Standard Error: 58_000
-			.saturating_add(Weight::from_ref_time(15_705_000).saturating_mul(b as u64))
+		Weight::from_ref_time(5_543_000 as u64)
+			// Standard Error: 40_525
+			.saturating_add(Weight::from_ref_time(12_126_787 as u64).saturating_mul(b as u64))
 			.saturating_add(T::DbWeight::get().reads(1 as u64))
 			.saturating_add(T::DbWeight::get().writes(1 as u64))
 	}
 	// Storage: Common CollectionPropertyPermissions (r:1 w:0)
 	// Storage: Nonfungible TokenProperties (r:1 w:1)
 	fn set_token_properties(b: u32, ) -> Weight {
-		(Weight::from_ref_time(0))
-			// Standard Error: 3_595_000
-			.saturating_add(Weight::from_ref_time(590_344_000).saturating_mul(b as u64))
+		Weight::from_ref_time(4_361_000 as u64)
+			// Standard Error: 5_349_868
+			.saturating_add(Weight::from_ref_time(637_246_356 as u64).saturating_mul(b as u64))
 			.saturating_add(T::DbWeight::get().reads(2 as u64))
 			.saturating_add(T::DbWeight::get().writes(1 as u64))
 	}
 	// Storage: Common CollectionPropertyPermissions (r:1 w:0)
 	// Storage: Nonfungible TokenProperties (r:1 w:1)
 	fn delete_token_properties(b: u32, ) -> Weight {
-		(Weight::from_ref_time(0))
-			// Standard Error: 3_664_000
-			.saturating_add(Weight::from_ref_time(605_836_000).saturating_mul(b as u64))
+		Weight::from_ref_time(4_489_000 as u64)
+			// Standard Error: 5_738_954
+			.saturating_add(Weight::from_ref_time(689_912_822 as u64).saturating_mul(b as u64))
 			.saturating_add(T::DbWeight::get().reads(2 as u64))
 			.saturating_add(T::DbWeight::get().writes(1 as u64))
 	}
 	// Storage: Nonfungible TokenData (r:1 w:0)
 	fn token_owner() -> Weight {
-		Weight::from_ref_time(4_366_000)
+		Weight::from_ref_time(6_881_000 as u64)
 			.saturating_add(T::DbWeight::get().reads(1 as u64))
 	}
-	// Storage: Nonfungible WalletOperator (r:0 w:1)
+	// Storage: Nonfungible CollectionAllowance (r:0 w:1)
 	fn set_allowance_for_all() -> Weight {
-		Weight::from_ref_time(16_231_000 as u64)
+		Weight::from_ref_time(16_223_000 as u64)
 			.saturating_add(T::DbWeight::get().writes(1 as u64))
 	}
-	// Storage: Nonfungible WalletOperator (r:1 w:0)
+	// Storage: Nonfungible CollectionAllowance (r:1 w:0)
 	fn allowance_for_all() -> Weight {
-		Weight::from_ref_time(6_161_000 as u64)
+		Weight::from_ref_time(5_639_000 as u64)
 			.saturating_add(T::DbWeight::get().reads(1 as u64))
 	}
 	// Storage: Nonfungible TokenProperties (r:1 w:1)
 	fn repair_item() -> Weight {
-		Weight::from_ref_time(5_701_000 as u64)
+		Weight::from_ref_time(6_111_000 as u64)
 			.saturating_add(T::DbWeight::get().reads(1 as u64))
 			.saturating_add(T::DbWeight::get().writes(1 as u64))
 	}
@@ -224,7 +224,7 @@
 	// Storage: Nonfungible TokenData (r:0 w:1)
 	// Storage: Nonfungible Owned (r:0 w:1)
 	fn create_item() -> Weight {
-		Weight::from_ref_time(25_905_000)
+		Weight::from_ref_time(26_377_000 as u64)
 			.saturating_add(RocksDbWeight::get().reads(2 as u64))
 			.saturating_add(RocksDbWeight::get().writes(4 as u64))
 	}
@@ -233,9 +233,9 @@
 	// Storage: Nonfungible TokenData (r:0 w:4)
 	// Storage: Nonfungible Owned (r:0 w:4)
 	fn create_multiple_items(b: u32, ) -> Weight {
-		Weight::from_ref_time(24_955_000)
-			// Standard Error: 3_000
-			.saturating_add(Weight::from_ref_time(5_340_000).saturating_mul(b as u64))
+		Weight::from_ref_time(20_059_186 as u64)
+			// Standard Error: 4_735
+			.saturating_add(Weight::from_ref_time(4_856_306 as u64).saturating_mul(b as u64))
 			.saturating_add(RocksDbWeight::get().reads(2 as u64))
 			.saturating_add(RocksDbWeight::get().writes(2 as u64))
 			.saturating_add(RocksDbWeight::get().writes((2 as u64).saturating_mul(b as u64)))
@@ -245,9 +245,9 @@
 	// Storage: Nonfungible TokenData (r:0 w:4)
 	// Storage: Nonfungible Owned (r:0 w:4)
 	fn create_multiple_items_ex(b: u32, ) -> Weight {
-		Weight::from_ref_time(13_666_000)
-			// Standard Error: 5_000
-			.saturating_add(Weight::from_ref_time(8_299_000).saturating_mul(b as u64))
+		Weight::from_ref_time(16_365_581 as u64)
+			// Standard Error: 9_711
+			.saturating_add(Weight::from_ref_time(6_681_940 as u64).saturating_mul(b as u64))
 			.saturating_add(RocksDbWeight::get().reads(1 as u64))
 			.saturating_add(RocksDbWeight::get().reads((1 as u64).saturating_mul(b as u64)))
 			.saturating_add(RocksDbWeight::get().writes(1 as u64))
@@ -261,7 +261,7 @@
 	// Storage: Nonfungible Owned (r:0 w:1)
 	// Storage: Nonfungible TokenProperties (r:0 w:1)
 	fn burn_item() -> Weight {
-		Weight::from_ref_time(36_205_000)
+		Weight::from_ref_time(33_502_000 as u64)
 			.saturating_add(RocksDbWeight::get().reads(5 as u64))
 			.saturating_add(RocksDbWeight::get().writes(5 as u64))
 	}
@@ -273,7 +273,7 @@
 	// Storage: Nonfungible Owned (r:0 w:1)
 	// Storage: Nonfungible TokenProperties (r:0 w:1)
 	fn burn_recursively_self_raw() -> Weight {
-		Weight::from_ref_time(44_550_000)
+		Weight::from_ref_time(43_255_000 as u64)
 			.saturating_add(RocksDbWeight::get().reads(5 as u64))
 			.saturating_add(RocksDbWeight::get().writes(5 as u64))
 	}
@@ -286,9 +286,9 @@
 	// Storage: Nonfungible TokenProperties (r:0 w:1)
 	// Storage: Common CollectionById (r:1 w:0)
 	fn burn_recursively_breadth_plus_self_plus_self_per_each_raw(b: u32, ) -> Weight {
-		(Weight::from_ref_time(0))
-			// Standard Error: 1_536_000
-			.saturating_add(Weight::from_ref_time(312_125_000).saturating_mul(b as u64))
+		Weight::from_ref_time(42_992_000 as u64)
+			// Standard Error: 1_010_119
+			.saturating_add(Weight::from_ref_time(209_972_755 as u64).saturating_mul(b as u64))
 			.saturating_add(RocksDbWeight::get().reads(7 as u64))
 			.saturating_add(RocksDbWeight::get().reads((4 as u64).saturating_mul(b as u64)))
 			.saturating_add(RocksDbWeight::get().writes(6 as u64))
@@ -299,14 +299,14 @@
 	// Storage: Nonfungible Allowance (r:1 w:0)
 	// Storage: Nonfungible Owned (r:0 w:2)
 	fn transfer() -> Weight {
-		Weight::from_ref_time(31_116_000)
+		Weight::from_ref_time(31_239_000 as u64)
 			.saturating_add(RocksDbWeight::get().reads(4 as u64))
 			.saturating_add(RocksDbWeight::get().writes(5 as u64))
 	}
 	// Storage: Nonfungible TokenData (r:1 w:0)
 	// Storage: Nonfungible Allowance (r:1 w:1)
 	fn approve() -> Weight {
-		Weight::from_ref_time(20_802_000)
+		Weight::from_ref_time(21_985_000 as u64)
 			.saturating_add(RocksDbWeight::get().reads(2 as u64))
 			.saturating_add(RocksDbWeight::get().writes(1 as u64))
 	}
@@ -315,7 +315,7 @@
 	// Storage: Nonfungible AccountBalance (r:2 w:2)
 	// Storage: Nonfungible Owned (r:0 w:2)
 	fn transfer_from() -> Weight {
-		Weight::from_ref_time(36_083_000)
+		Weight::from_ref_time(36_382_000 as u64)
 			.saturating_add(RocksDbWeight::get().reads(4 as u64))
 			.saturating_add(RocksDbWeight::get().writes(6 as u64))
 	}
@@ -327,54 +327,54 @@
 	// Storage: Nonfungible Owned (r:0 w:1)
 	// Storage: Nonfungible TokenProperties (r:0 w:1)
 	fn burn_from() -> Weight {
-		Weight::from_ref_time(41_781_000)
+		Weight::from_ref_time(42_046_000 as u64)
 			.saturating_add(RocksDbWeight::get().reads(5 as u64))
 			.saturating_add(RocksDbWeight::get().writes(6 as u64))
 	}
 	// Storage: Common CollectionPropertyPermissions (r:1 w:1)
 	fn set_token_property_permissions(b: u32, ) -> Weight {
-		(Weight::from_ref_time(0))
-			// Standard Error: 58_000
-			.saturating_add(Weight::from_ref_time(15_705_000).saturating_mul(b as u64))
+		Weight::from_ref_time(5_543_000 as u64)
+			// Standard Error: 40_525
+			.saturating_add(Weight::from_ref_time(12_126_787 as u64).saturating_mul(b as u64))
 			.saturating_add(RocksDbWeight::get().reads(1 as u64))
 			.saturating_add(RocksDbWeight::get().writes(1 as u64))
 	}
 	// Storage: Common CollectionPropertyPermissions (r:1 w:0)
 	// Storage: Nonfungible TokenProperties (r:1 w:1)
 	fn set_token_properties(b: u32, ) -> Weight {
-		(Weight::from_ref_time(0))
-			// Standard Error: 3_595_000
-			.saturating_add(Weight::from_ref_time(590_344_000).saturating_mul(b as u64))
+		Weight::from_ref_time(4_361_000 as u64)
+			// Standard Error: 5_349_868
+			.saturating_add(Weight::from_ref_time(637_246_356 as u64).saturating_mul(b as u64))
 			.saturating_add(RocksDbWeight::get().reads(2 as u64))
 			.saturating_add(RocksDbWeight::get().writes(1 as u64))
 	}
 	// Storage: Common CollectionPropertyPermissions (r:1 w:0)
 	// Storage: Nonfungible TokenProperties (r:1 w:1)
 	fn delete_token_properties(b: u32, ) -> Weight {
-		(Weight::from_ref_time(0))
-			// Standard Error: 3_664_000
-			.saturating_add(Weight::from_ref_time(605_836_000).saturating_mul(b as u64))
+		Weight::from_ref_time(4_489_000 as u64)
+			// Standard Error: 5_738_954
+			.saturating_add(Weight::from_ref_time(689_912_822 as u64).saturating_mul(b as u64))
 			.saturating_add(RocksDbWeight::get().reads(2 as u64))
 			.saturating_add(RocksDbWeight::get().writes(1 as u64))
 	}
 	// Storage: Nonfungible TokenData (r:1 w:0)
 	fn token_owner() -> Weight {
-		Weight::from_ref_time(4_366_000)
+		Weight::from_ref_time(6_881_000 as u64)
 			.saturating_add(RocksDbWeight::get().reads(1 as u64))
 	}
-	// Storage: Nonfungible WalletOperator (r:0 w:1)
+	// Storage: Nonfungible CollectionAllowance (r:0 w:1)
 	fn set_allowance_for_all() -> Weight {
-		Weight::from_ref_time(16_231_000 as u64)
+		Weight::from_ref_time(16_223_000 as u64)
 			.saturating_add(RocksDbWeight::get().writes(1 as u64))
 	}
-	// Storage: Nonfungible WalletOperator (r:1 w:0)
+	// Storage: Nonfungible CollectionAllowance (r:1 w:0)
 	fn allowance_for_all() -> Weight {
-		Weight::from_ref_time(6_161_000 as u64)
+		Weight::from_ref_time(5_639_000 as u64)
 			.saturating_add(RocksDbWeight::get().reads(1 as u64))
 	}
 	// Storage: Nonfungible TokenProperties (r:1 w:1)
 	fn repair_item() -> Weight {
-		Weight::from_ref_time(5_701_000 as u64)
+		Weight::from_ref_time(6_111_000 as u64)
 			.saturating_add(RocksDbWeight::get().reads(1 as u64))
 			.saturating_add(RocksDbWeight::get().writes(1 as u64))
 	}
modifiedpallets/refungible/src/weights.rsdiffbeforeafterboth
--- a/pallets/refungible/src/weights.rs
+++ b/pallets/refungible/src/weights.rs
@@ -3,7 +3,7 @@
 //! Autogenerated weights for pallet_refungible
 //!
 //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
-//! DATE: 2022-11-25, STEPS: `50`, REPEAT: 80, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! DATE: 2022-12-26, STEPS: `50`, REPEAT: 80, LOW RANGE: `[]`, HIGH RANGE: `[]`
 //! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024
 
 // Executed Command:
@@ -69,7 +69,7 @@
 	// Storage: Refungible TotalSupply (r:0 w:1)
 	// Storage: Refungible Owned (r:0 w:1)
 	fn create_item() -> Weight {
-		Weight::from_ref_time(29_527_000)
+		Weight::from_ref_time(32_864_000 as u64)
 			.saturating_add(T::DbWeight::get().reads(2 as u64))
 			.saturating_add(T::DbWeight::get().writes(5 as u64))
 	}
@@ -79,9 +79,9 @@
 	// Storage: Refungible TotalSupply (r:0 w:4)
 	// Storage: Refungible Owned (r:0 w:4)
 	fn create_multiple_items(b: u32, ) -> Weight {
-		Weight::from_ref_time(28_541_000)
-			// Standard Error: 4_000
-			.saturating_add(Weight::from_ref_time(6_671_000).saturating_mul(b as u64))
+		Weight::from_ref_time(11_880_472 as u64)
+			// Standard Error: 5_240
+			.saturating_add(Weight::from_ref_time(6_556_575 as u64).saturating_mul(b as u64))
 			.saturating_add(T::DbWeight::get().reads(2 as u64))
 			.saturating_add(T::DbWeight::get().writes(2 as u64))
 			.saturating_add(T::DbWeight::get().writes((3 as u64).saturating_mul(b as u64)))
@@ -92,9 +92,9 @@
 	// Storage: Refungible TotalSupply (r:0 w:4)
 	// Storage: Refungible Owned (r:0 w:4)
 	fn create_multiple_items_ex_multiple_items(b: u32, ) -> Weight {
-		Weight::from_ref_time(24_366_000)
-			// Standard Error: 5_000
-			.saturating_add(Weight::from_ref_time(9_338_000).saturating_mul(b as u64))
+		Weight::from_ref_time(11_644_173 as u64)
+			// Standard Error: 5_876
+			.saturating_add(Weight::from_ref_time(8_214_607 as u64).saturating_mul(b as u64))
 			.saturating_add(T::DbWeight::get().reads(1 as u64))
 			.saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(b as u64)))
 			.saturating_add(T::DbWeight::get().writes(1 as u64))
@@ -106,38 +106,38 @@
 	// Storage: Refungible Balance (r:0 w:4)
 	// Storage: Refungible Owned (r:0 w:4)
 	fn create_multiple_items_ex_multiple_owners(b: u32, ) -> Weight {
-		Weight::from_ref_time(27_574_000)
-			// Standard Error: 4_000
-			.saturating_add(Weight::from_ref_time(7_193_000).saturating_mul(b as u64))
+		Weight::from_ref_time(21_817_067 as u64)
+			// Standard Error: 5_215
+			.saturating_add(Weight::from_ref_time(6_084_938 as u64).saturating_mul(b as u64))
 			.saturating_add(T::DbWeight::get().reads(1 as u64))
 			.saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(b as u64)))
 			.saturating_add(T::DbWeight::get().writes(2 as u64))
 			.saturating_add(T::DbWeight::get().writes((3 as u64).saturating_mul(b as u64)))
 	}
+	// Storage: Refungible Balance (r:3 w:1)
 	// Storage: Refungible TotalSupply (r:1 w:1)
-	// Storage: Refungible Balance (r:3 w:1)
 	// Storage: Refungible AccountBalance (r:1 w:1)
 	// Storage: Refungible Owned (r:0 w:1)
 	fn burn_item_partial() -> Weight {
-		Weight::from_ref_time(42_943_000)
+		Weight::from_ref_time(47_087_000 as u64)
 			.saturating_add(T::DbWeight::get().reads(5 as u64))
 			.saturating_add(T::DbWeight::get().writes(4 as u64))
 	}
-	// Storage: Refungible TotalSupply (r:1 w:1)
 	// Storage: Refungible Balance (r:1 w:1)
+	// Storage: Refungible TotalSupply (r:1 w:1)
 	// Storage: Refungible AccountBalance (r:1 w:1)
 	// Storage: Refungible TokensBurnt (r:1 w:1)
 	// Storage: Refungible Owned (r:0 w:1)
 	// Storage: Refungible TokenProperties (r:0 w:1)
 	fn burn_item_fully() -> Weight {
-		Weight::from_ref_time(36_861_000)
+		Weight::from_ref_time(40_135_000 as u64)
 			.saturating_add(T::DbWeight::get().reads(4 as u64))
 			.saturating_add(T::DbWeight::get().writes(6 as u64))
 	}
 	// Storage: Refungible Balance (r:2 w:2)
 	// Storage: Refungible TotalSupply (r:1 w:0)
 	fn transfer_normal() -> Weight {
-		Weight::from_ref_time(27_789_000)
+		Weight::from_ref_time(30_749_000 as u64)
 			.saturating_add(T::DbWeight::get().reads(3 as u64))
 			.saturating_add(T::DbWeight::get().writes(2 as u64))
 	}
@@ -146,7 +146,7 @@
 	// Storage: Refungible TotalSupply (r:1 w:0)
 	// Storage: Refungible Owned (r:0 w:1)
 	fn transfer_creating() -> Weight {
-		Weight::from_ref_time(32_893_000)
+		Weight::from_ref_time(33_565_000 as u64)
 			.saturating_add(T::DbWeight::get().reads(4 as u64))
 			.saturating_add(T::DbWeight::get().writes(4 as u64))
 	}
@@ -155,7 +155,7 @@
 	// Storage: Refungible TotalSupply (r:1 w:0)
 	// Storage: Refungible Owned (r:0 w:1)
 	fn transfer_removing() -> Weight {
-		Weight::from_ref_time(34_703_000)
+		Weight::from_ref_time(37_406_000 as u64)
 			.saturating_add(T::DbWeight::get().reads(4 as u64))
 			.saturating_add(T::DbWeight::get().writes(4 as u64))
 	}
@@ -164,118 +164,123 @@
 	// Storage: Refungible TotalSupply (r:1 w:0)
 	// Storage: Refungible Owned (r:0 w:2)
 	fn transfer_creating_removing() -> Weight {
-		Weight::from_ref_time(37_547_000)
+		Weight::from_ref_time(36_689_000 as u64)
 			.saturating_add(T::DbWeight::get().reads(5 as u64))
 			.saturating_add(T::DbWeight::get().writes(6 as u64))
 	}
 	// Storage: Refungible Balance (r:1 w:0)
 	// Storage: Refungible Allowance (r:0 w:1)
 	fn approve() -> Weight {
-		Weight::from_ref_time(20_039_000)
+		Weight::from_ref_time(23_177_000 as u64)
 			.saturating_add(T::DbWeight::get().reads(1 as u64))
 			.saturating_add(T::DbWeight::get().writes(1 as u64))
 	}
 	// Storage: Refungible Allowance (r:1 w:1)
+	// Storage: Refungible CollectionAllowance (r:1 w:0)
 	// Storage: Refungible Balance (r:2 w:2)
 	// Storage: Refungible TotalSupply (r:1 w:0)
 	fn transfer_from_normal() -> Weight {
-		Weight::from_ref_time(37_628_000)
-			.saturating_add(T::DbWeight::get().reads(4 as u64))
+		Weight::from_ref_time(41_288_000 as u64)
+			.saturating_add(T::DbWeight::get().reads(5 as u64))
 			.saturating_add(T::DbWeight::get().writes(3 as u64))
 	}
 	// Storage: Refungible Allowance (r:1 w:1)
+	// Storage: Refungible CollectionAllowance (r:1 w:0)
 	// Storage: Refungible Balance (r:2 w:2)
 	// Storage: Refungible AccountBalance (r:1 w:1)
 	// Storage: Refungible TotalSupply (r:1 w:0)
 	// Storage: Refungible Owned (r:0 w:1)
 	fn transfer_from_creating() -> Weight {
-		Weight::from_ref_time(42_072_000)
-			.saturating_add(T::DbWeight::get().reads(5 as u64))
+		Weight::from_ref_time(44_807_000 as u64)
+			.saturating_add(T::DbWeight::get().reads(6 as u64))
 			.saturating_add(T::DbWeight::get().writes(5 as u64))
 	}
 	// Storage: Refungible Allowance (r:1 w:1)
+	// Storage: Refungible CollectionAllowance (r:1 w:0)
 	// Storage: Refungible Balance (r:2 w:2)
 	// Storage: Refungible AccountBalance (r:1 w:1)
 	// Storage: Refungible TotalSupply (r:1 w:0)
 	// Storage: Refungible Owned (r:0 w:1)
 	fn transfer_from_removing() -> Weight {
-		Weight::from_ref_time(43_024_000)
-			.saturating_add(T::DbWeight::get().reads(5 as u64))
+		Weight::from_ref_time(47_297_000 as u64)
+			.saturating_add(T::DbWeight::get().reads(6 as u64))
 			.saturating_add(T::DbWeight::get().writes(5 as u64))
 	}
 	// Storage: Refungible Allowance (r:1 w:1)
+	// Storage: Refungible CollectionAllowance (r:1 w:0)
 	// Storage: Refungible Balance (r:2 w:2)
 	// Storage: Refungible AccountBalance (r:2 w:2)
 	// Storage: Refungible TotalSupply (r:1 w:0)
 	// Storage: Refungible Owned (r:0 w:2)
 	fn transfer_from_creating_removing() -> Weight {
-		Weight::from_ref_time(45_910_000)
-			.saturating_add(T::DbWeight::get().reads(6 as u64))
+		Weight::from_ref_time(47_566_000 as u64)
+			.saturating_add(T::DbWeight::get().reads(7 as u64))
 			.saturating_add(T::DbWeight::get().writes(7 as u64))
 	}
 	// Storage: Refungible Allowance (r:1 w:1)
-	// Storage: Refungible TotalSupply (r:1 w:1)
+	// Storage: Refungible CollectionAllowance (r:1 w:0)
 	// Storage: Refungible Balance (r:1 w:1)
+	// Storage: Refungible TotalSupply (r:1 w:1)
 	// Storage: Refungible AccountBalance (r:1 w:1)
 	// Storage: Refungible TokensBurnt (r:1 w:1)
 	// Storage: Refungible Owned (r:0 w:1)
 	// Storage: Refungible TokenProperties (r:0 w:1)
 	fn burn_from() -> Weight {
-		Weight::from_ref_time(48_584_000)
-			.saturating_add(T::DbWeight::get().reads(5 as u64))
+		Weight::from_ref_time(53_074_000 as u64)
+			.saturating_add(T::DbWeight::get().reads(6 as u64))
 			.saturating_add(T::DbWeight::get().writes(7 as u64))
 	}
 	// Storage: Common CollectionPropertyPermissions (r:1 w:1)
 	fn set_token_property_permissions(b: u32, ) -> Weight {
-		(Weight::from_ref_time(0))
-			// Standard Error: 60_000
-			.saturating_add(Weight::from_ref_time(15_533_000).saturating_mul(b as u64))
+		Weight::from_ref_time(5_170_000 as u64)
+			// Standard Error: 40_532
+			.saturating_add(Weight::from_ref_time(11_948_016 as u64).saturating_mul(b as u64))
 			.saturating_add(T::DbWeight::get().reads(1 as u64))
 			.saturating_add(T::DbWeight::get().writes(1 as u64))
 	}
 	// Storage: Common CollectionPropertyPermissions (r:1 w:0)
 	// Storage: Refungible TokenProperties (r:1 w:1)
 	fn set_token_properties(b: u32, ) -> Weight {
-		(Weight::from_ref_time(0))
-			// Standard Error: 3_609_000
-			.saturating_add(Weight::from_ref_time(590_204_000).saturating_mul(b as u64))
+		Weight::from_ref_time(4_578_000 as u64)
+			// Standard Error: 5_396_287
+			.saturating_add(Weight::from_ref_time(633_314_546 as u64).saturating_mul(b as u64))
 			.saturating_add(T::DbWeight::get().reads(2 as u64))
 			.saturating_add(T::DbWeight::get().writes(1 as u64))
 	}
 	// Storage: Common CollectionPropertyPermissions (r:1 w:0)
 	// Storage: Refungible TokenProperties (r:1 w:1)
 	fn delete_token_properties(b: u32, ) -> Weight {
-		(Weight::from_ref_time(0))
-			// Standard Error: 3_637_000
-			.saturating_add(Weight::from_ref_time(603_468_000).saturating_mul(b as u64))
+		Weight::from_ref_time(4_583_000 as u64)
+			// Standard Error: 5_762_380
+			.saturating_add(Weight::from_ref_time(696_007_076 as u64).saturating_mul(b as u64))
 			.saturating_add(T::DbWeight::get().reads(2 as u64))
 			.saturating_add(T::DbWeight::get().writes(1 as u64))
 	}
 	// Storage: Refungible TotalSupply (r:1 w:1)
 	// Storage: Refungible Balance (r:1 w:1)
 	fn repartition_item() -> Weight {
-		Weight::from_ref_time(22_356_000)
+		Weight::from_ref_time(25_574_000 as u64)
 			.saturating_add(T::DbWeight::get().reads(2 as u64))
 			.saturating_add(T::DbWeight::get().writes(2 as u64))
 	}
 	// Storage: Refungible Balance (r:2 w:0)
 	fn token_owner() -> Weight {
-		Weight::from_ref_time(9_431_000)
+		Weight::from_ref_time(9_819_000 as u64)
 			.saturating_add(T::DbWeight::get().reads(2 as u64))
 	}
-	// Storage: Refungible WalletOperator (r:0 w:1)
+	// Storage: Refungible CollectionAllowance (r:0 w:1)
 	fn set_allowance_for_all() -> Weight {
-		Weight::from_ref_time(16_150_000 as u64)
+		Weight::from_ref_time(16_228_000 as u64)
 			.saturating_add(T::DbWeight::get().writes(1 as u64))
 	}
-	// Storage: Refungible WalletOperator (r:1 w:0)
+	// Storage: Refungible CollectionAllowance (r:1 w:0)
 	fn allowance_for_all() -> Weight {
-		Weight::from_ref_time(5_901_000 as u64)
+		Weight::from_ref_time(5_374_000 as u64)
 			.saturating_add(T::DbWeight::get().reads(1 as u64))
 	}
 	// Storage: Refungible TokenProperties (r:1 w:1)
 	fn repair_item() -> Weight {
-		Weight::from_ref_time(5_489_000 as u64)
+		Weight::from_ref_time(5_624_000 as u64)
 			.saturating_add(T::DbWeight::get().reads(1 as u64))
 			.saturating_add(T::DbWeight::get().writes(1 as u64))
 	}
@@ -289,7 +294,7 @@
 	// Storage: Refungible TotalSupply (r:0 w:1)
 	// Storage: Refungible Owned (r:0 w:1)
 	fn create_item() -> Weight {
-		Weight::from_ref_time(29_527_000)
+		Weight::from_ref_time(32_864_000 as u64)
 			.saturating_add(RocksDbWeight::get().reads(2 as u64))
 			.saturating_add(RocksDbWeight::get().writes(5 as u64))
 	}
@@ -299,9 +304,9 @@
 	// Storage: Refungible TotalSupply (r:0 w:4)
 	// Storage: Refungible Owned (r:0 w:4)
 	fn create_multiple_items(b: u32, ) -> Weight {
-		Weight::from_ref_time(28_541_000)
-			// Standard Error: 4_000
-			.saturating_add(Weight::from_ref_time(6_671_000).saturating_mul(b as u64))
+		Weight::from_ref_time(11_880_472 as u64)
+			// Standard Error: 5_240
+			.saturating_add(Weight::from_ref_time(6_556_575 as u64).saturating_mul(b as u64))
 			.saturating_add(RocksDbWeight::get().reads(2 as u64))
 			.saturating_add(RocksDbWeight::get().writes(2 as u64))
 			.saturating_add(RocksDbWeight::get().writes((3 as u64).saturating_mul(b as u64)))
@@ -312,9 +317,9 @@
 	// Storage: Refungible TotalSupply (r:0 w:4)
 	// Storage: Refungible Owned (r:0 w:4)
 	fn create_multiple_items_ex_multiple_items(b: u32, ) -> Weight {
-		Weight::from_ref_time(24_366_000)
-			// Standard Error: 5_000
-			.saturating_add(Weight::from_ref_time(9_338_000).saturating_mul(b as u64))
+		Weight::from_ref_time(11_644_173 as u64)
+			// Standard Error: 5_876
+			.saturating_add(Weight::from_ref_time(8_214_607 as u64).saturating_mul(b as u64))
 			.saturating_add(RocksDbWeight::get().reads(1 as u64))
 			.saturating_add(RocksDbWeight::get().reads((1 as u64).saturating_mul(b as u64)))
 			.saturating_add(RocksDbWeight::get().writes(1 as u64))
@@ -326,38 +331,38 @@
 	// Storage: Refungible Balance (r:0 w:4)
 	// Storage: Refungible Owned (r:0 w:4)
 	fn create_multiple_items_ex_multiple_owners(b: u32, ) -> Weight {
-		Weight::from_ref_time(27_574_000)
-			// Standard Error: 4_000
-			.saturating_add(Weight::from_ref_time(7_193_000).saturating_mul(b as u64))
+		Weight::from_ref_time(21_817_067 as u64)
+			// Standard Error: 5_215
+			.saturating_add(Weight::from_ref_time(6_084_938 as u64).saturating_mul(b as u64))
 			.saturating_add(RocksDbWeight::get().reads(1 as u64))
 			.saturating_add(RocksDbWeight::get().reads((1 as u64).saturating_mul(b as u64)))
 			.saturating_add(RocksDbWeight::get().writes(2 as u64))
 			.saturating_add(RocksDbWeight::get().writes((3 as u64).saturating_mul(b as u64)))
 	}
+	// Storage: Refungible Balance (r:3 w:1)
 	// Storage: Refungible TotalSupply (r:1 w:1)
-	// Storage: Refungible Balance (r:3 w:1)
 	// Storage: Refungible AccountBalance (r:1 w:1)
 	// Storage: Refungible Owned (r:0 w:1)
 	fn burn_item_partial() -> Weight {
-		Weight::from_ref_time(42_943_000)
+		Weight::from_ref_time(47_087_000 as u64)
 			.saturating_add(RocksDbWeight::get().reads(5 as u64))
 			.saturating_add(RocksDbWeight::get().writes(4 as u64))
 	}
+	// Storage: Refungible Balance (r:1 w:1)
 	// Storage: Refungible TotalSupply (r:1 w:1)
-	// Storage: Refungible Balance (r:1 w:1)
 	// Storage: Refungible AccountBalance (r:1 w:1)
 	// Storage: Refungible TokensBurnt (r:1 w:1)
 	// Storage: Refungible Owned (r:0 w:1)
 	// Storage: Refungible TokenProperties (r:0 w:1)
 	fn burn_item_fully() -> Weight {
-		Weight::from_ref_time(36_861_000)
+		Weight::from_ref_time(40_135_000 as u64)
 			.saturating_add(RocksDbWeight::get().reads(4 as u64))
 			.saturating_add(RocksDbWeight::get().writes(6 as u64))
 	}
 	// Storage: Refungible Balance (r:2 w:2)
 	// Storage: Refungible TotalSupply (r:1 w:0)
 	fn transfer_normal() -> Weight {
-		Weight::from_ref_time(27_789_000)
+		Weight::from_ref_time(30_749_000 as u64)
 			.saturating_add(RocksDbWeight::get().reads(3 as u64))
 			.saturating_add(RocksDbWeight::get().writes(2 as u64))
 	}
@@ -366,7 +371,7 @@
 	// Storage: Refungible TotalSupply (r:1 w:0)
 	// Storage: Refungible Owned (r:0 w:1)
 	fn transfer_creating() -> Weight {
-		Weight::from_ref_time(32_893_000)
+		Weight::from_ref_time(33_565_000 as u64)
 			.saturating_add(RocksDbWeight::get().reads(4 as u64))
 			.saturating_add(RocksDbWeight::get().writes(4 as u64))
 	}
@@ -375,7 +380,7 @@
 	// Storage: Refungible TotalSupply (r:1 w:0)
 	// Storage: Refungible Owned (r:0 w:1)
 	fn transfer_removing() -> Weight {
-		Weight::from_ref_time(34_703_000)
+		Weight::from_ref_time(37_406_000 as u64)
 			.saturating_add(RocksDbWeight::get().reads(4 as u64))
 			.saturating_add(RocksDbWeight::get().writes(4 as u64))
 	}
@@ -384,118 +389,123 @@
 	// Storage: Refungible TotalSupply (r:1 w:0)
 	// Storage: Refungible Owned (r:0 w:2)
 	fn transfer_creating_removing() -> Weight {
-		Weight::from_ref_time(37_547_000)
+		Weight::from_ref_time(36_689_000 as u64)
 			.saturating_add(RocksDbWeight::get().reads(5 as u64))
 			.saturating_add(RocksDbWeight::get().writes(6 as u64))
 	}
 	// Storage: Refungible Balance (r:1 w:0)
 	// Storage: Refungible Allowance (r:0 w:1)
 	fn approve() -> Weight {
-		Weight::from_ref_time(20_039_000)
+		Weight::from_ref_time(23_177_000 as u64)
 			.saturating_add(RocksDbWeight::get().reads(1 as u64))
 			.saturating_add(RocksDbWeight::get().writes(1 as u64))
 	}
 	// Storage: Refungible Allowance (r:1 w:1)
+	// Storage: Refungible CollectionAllowance (r:1 w:0)
 	// Storage: Refungible Balance (r:2 w:2)
 	// Storage: Refungible TotalSupply (r:1 w:0)
 	fn transfer_from_normal() -> Weight {
-		Weight::from_ref_time(37_628_000)
-			.saturating_add(RocksDbWeight::get().reads(4 as u64))
+		Weight::from_ref_time(41_288_000 as u64)
+			.saturating_add(RocksDbWeight::get().reads(5 as u64))
 			.saturating_add(RocksDbWeight::get().writes(3 as u64))
 	}
 	// Storage: Refungible Allowance (r:1 w:1)
+	// Storage: Refungible CollectionAllowance (r:1 w:0)
 	// Storage: Refungible Balance (r:2 w:2)
 	// Storage: Refungible AccountBalance (r:1 w:1)
 	// Storage: Refungible TotalSupply (r:1 w:0)
 	// Storage: Refungible Owned (r:0 w:1)
 	fn transfer_from_creating() -> Weight {
-		Weight::from_ref_time(42_072_000)
-			.saturating_add(RocksDbWeight::get().reads(5 as u64))
+		Weight::from_ref_time(44_807_000 as u64)
+			.saturating_add(RocksDbWeight::get().reads(6 as u64))
 			.saturating_add(RocksDbWeight::get().writes(5 as u64))
 	}
 	// Storage: Refungible Allowance (r:1 w:1)
+	// Storage: Refungible CollectionAllowance (r:1 w:0)
 	// Storage: Refungible Balance (r:2 w:2)
 	// Storage: Refungible AccountBalance (r:1 w:1)
 	// Storage: Refungible TotalSupply (r:1 w:0)
 	// Storage: Refungible Owned (r:0 w:1)
 	fn transfer_from_removing() -> Weight {
-		Weight::from_ref_time(43_024_000)
-			.saturating_add(RocksDbWeight::get().reads(5 as u64))
+		Weight::from_ref_time(47_297_000 as u64)
+			.saturating_add(RocksDbWeight::get().reads(6 as u64))
 			.saturating_add(RocksDbWeight::get().writes(5 as u64))
 	}
 	// Storage: Refungible Allowance (r:1 w:1)
+	// Storage: Refungible CollectionAllowance (r:1 w:0)
 	// Storage: Refungible Balance (r:2 w:2)
 	// Storage: Refungible AccountBalance (r:2 w:2)
 	// Storage: Refungible TotalSupply (r:1 w:0)
 	// Storage: Refungible Owned (r:0 w:2)
 	fn transfer_from_creating_removing() -> Weight {
-		Weight::from_ref_time(45_910_000)
-			.saturating_add(RocksDbWeight::get().reads(6 as u64))
+		Weight::from_ref_time(47_566_000 as u64)
+			.saturating_add(RocksDbWeight::get().reads(7 as u64))
 			.saturating_add(RocksDbWeight::get().writes(7 as u64))
 	}
 	// Storage: Refungible Allowance (r:1 w:1)
-	// Storage: Refungible TotalSupply (r:1 w:1)
+	// Storage: Refungible CollectionAllowance (r:1 w:0)
 	// Storage: Refungible Balance (r:1 w:1)
+	// Storage: Refungible TotalSupply (r:1 w:1)
 	// Storage: Refungible AccountBalance (r:1 w:1)
 	// Storage: Refungible TokensBurnt (r:1 w:1)
 	// Storage: Refungible Owned (r:0 w:1)
 	// Storage: Refungible TokenProperties (r:0 w:1)
 	fn burn_from() -> Weight {
-		Weight::from_ref_time(48_584_000)
-			.saturating_add(RocksDbWeight::get().reads(5 as u64))
+		Weight::from_ref_time(53_074_000 as u64)
+			.saturating_add(RocksDbWeight::get().reads(6 as u64))
 			.saturating_add(RocksDbWeight::get().writes(7 as u64))
 	}
 	// Storage: Common CollectionPropertyPermissions (r:1 w:1)
 	fn set_token_property_permissions(b: u32, ) -> Weight {
-		(Weight::from_ref_time(0))
-			// Standard Error: 60_000
-			.saturating_add(Weight::from_ref_time(15_533_000).saturating_mul(b as u64))
+		Weight::from_ref_time(5_170_000 as u64)
+			// Standard Error: 40_532
+			.saturating_add(Weight::from_ref_time(11_948_016 as u64).saturating_mul(b as u64))
 			.saturating_add(RocksDbWeight::get().reads(1 as u64))
 			.saturating_add(RocksDbWeight::get().writes(1 as u64))
 	}
 	// Storage: Common CollectionPropertyPermissions (r:1 w:0)
 	// Storage: Refungible TokenProperties (r:1 w:1)
 	fn set_token_properties(b: u32, ) -> Weight {
-		(Weight::from_ref_time(0))
-			// Standard Error: 3_609_000
-			.saturating_add(Weight::from_ref_time(590_204_000).saturating_mul(b as u64))
+		Weight::from_ref_time(4_578_000 as u64)
+			// Standard Error: 5_396_287
+			.saturating_add(Weight::from_ref_time(633_314_546 as u64).saturating_mul(b as u64))
 			.saturating_add(RocksDbWeight::get().reads(2 as u64))
 			.saturating_add(RocksDbWeight::get().writes(1 as u64))
 	}
 	// Storage: Common CollectionPropertyPermissions (r:1 w:0)
 	// Storage: Refungible TokenProperties (r:1 w:1)
 	fn delete_token_properties(b: u32, ) -> Weight {
-		(Weight::from_ref_time(0))
-			// Standard Error: 3_637_000
-			.saturating_add(Weight::from_ref_time(603_468_000).saturating_mul(b as u64))
+		Weight::from_ref_time(4_583_000 as u64)
+			// Standard Error: 5_762_380
+			.saturating_add(Weight::from_ref_time(696_007_076 as u64).saturating_mul(b as u64))
 			.saturating_add(RocksDbWeight::get().reads(2 as u64))
 			.saturating_add(RocksDbWeight::get().writes(1 as u64))
 	}
 	// Storage: Refungible TotalSupply (r:1 w:1)
 	// Storage: Refungible Balance (r:1 w:1)
 	fn repartition_item() -> Weight {
-		Weight::from_ref_time(22_356_000)
+		Weight::from_ref_time(25_574_000 as u64)
 			.saturating_add(RocksDbWeight::get().reads(2 as u64))
 			.saturating_add(RocksDbWeight::get().writes(2 as u64))
 	}
 	// Storage: Refungible Balance (r:2 w:0)
 	fn token_owner() -> Weight {
-		Weight::from_ref_time(9_431_000)
+		Weight::from_ref_time(9_819_000 as u64)
 			.saturating_add(RocksDbWeight::get().reads(2 as u64))
 	}
-	// Storage: Refungible WalletOperator (r:0 w:1)
+	// Storage: Refungible CollectionAllowance (r:0 w:1)
 	fn set_allowance_for_all() -> Weight {
-		Weight::from_ref_time(16_150_000 as u64)
+		Weight::from_ref_time(16_228_000 as u64)
 			.saturating_add(RocksDbWeight::get().writes(1 as u64))
 	}
-	// Storage: Refungible WalletOperator (r:1 w:0)
+	// Storage: Refungible CollectionAllowance (r:1 w:0)
 	fn allowance_for_all() -> Weight {
-		Weight::from_ref_time(5_901_000 as u64)
+		Weight::from_ref_time(5_374_000 as u64)
 			.saturating_add(RocksDbWeight::get().reads(1 as u64))
 	}
 	// Storage: Refungible TokenProperties (r:1 w:1)
 	fn repair_item() -> Weight {
-		Weight::from_ref_time(5_489_000 as u64)
+		Weight::from_ref_time(5_624_000 as u64)
 			.saturating_add(RocksDbWeight::get().reads(1 as u64))
 			.saturating_add(RocksDbWeight::get().writes(1 as u64))
 	}
modifiedpallets/structure/src/weights.rsdiffbeforeafterboth
--- a/pallets/structure/src/weights.rs
+++ b/pallets/structure/src/weights.rs
@@ -3,7 +3,7 @@
 //! Autogenerated weights for pallet_structure
 //!
 //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
-//! DATE: 2022-08-15, STEPS: `50`, REPEAT: 80, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! DATE: 2022-12-26, STEPS: `50`, REPEAT: 80, LOW RANGE: `[]`, HIGH RANGE: `[]`
 //! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024
 
 // Executed Command:
@@ -26,6 +26,7 @@
 #![cfg_attr(rustfmt, rustfmt_skip)]
 #![allow(unused_parens)]
 #![allow(unused_imports)]
+#![allow(missing_docs)]
 #![allow(clippy::unnecessary_cast)]
 
 use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}};
@@ -42,7 +43,7 @@
 	// Storage: Common CollectionById (r:1 w:0)
 	// Storage: Nonfungible TokenData (r:1 w:0)
 	fn find_parent() -> Weight {
-		Weight::from_ref_time(7_180_000)
+		Weight::from_ref_time(11_355_000 as u64)
 			.saturating_add(T::DbWeight::get().reads(2 as u64))
 	}
 }
@@ -52,7 +53,7 @@
 	// Storage: Common CollectionById (r:1 w:0)
 	// Storage: Nonfungible TokenData (r:1 w:0)
 	fn find_parent() -> Weight {
-		Weight::from_ref_time(7_180_000)
+		Weight::from_ref_time(11_355_000 as u64)
 			.saturating_add(RocksDbWeight::get().reads(2 as u64))
 	}
 }
modifiedpallets/unique/src/benchmarking.rsdiffbeforeafterboth
before · pallets/unique/src/benchmarking.rs
1// Copyright 2019-2022 Unique Network (Gibraltar) Ltd.2// This file is part of Unique Network.34// Unique Network is free software: you can redistribute it and/or modify5// it under the terms of the GNU General Public License as published by6// the Free Software Foundation, either version 3 of the License, or7// (at your option) any later version.89// Unique Network is distributed in the hope that it will be useful,10// but WITHOUT ANY WARRANTY; without even the implied warranty of11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the12// GNU General Public License for more details.1314// You should have received a copy of the GNU General Public License15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.1617#![cfg(feature = "runtime-benchmarks")]1819use super::*;20use crate::Pallet;21use frame_system::RawOrigin;22use frame_support::traits::{tokens::currency::Currency, Get};23use frame_benchmarking::{benchmarks, account};24use sp_runtime::DispatchError;25use pallet_common::{26	Config as CommonConfig,27	benchmarking::{create_data, create_u16_data},28};2930const SEED: u32 = 1;3132fn create_collection_helper<T: Config>(33	owner: T::AccountId,34	mode: CollectionMode,35) -> Result<CollectionId, DispatchError> {36	<T as CommonConfig>::Currency::deposit_creating(&owner, T::CollectionCreationPrice::get());37	let col_name = create_u16_data::<MAX_COLLECTION_NAME_LENGTH>();38	let col_desc = create_u16_data::<MAX_COLLECTION_DESCRIPTION_LENGTH>();39	let token_prefix = create_data::<MAX_TOKEN_PREFIX_LENGTH>();40	<Pallet<T>>::create_collection(41		RawOrigin::Signed(owner).into(),42		col_name,43		col_desc,44		token_prefix,45		mode,46	)?;47	Ok(<pallet_common::CreatedCollectionCount<T>>::get())48}49pub fn create_nft_collection<T: Config>(50	owner: T::AccountId,51) -> Result<CollectionId, DispatchError> {52	create_collection_helper::<T>(owner, CollectionMode::NFT)53}5455benchmarks! {56	create_collection {57		let col_name = create_u16_data::<MAX_COLLECTION_NAME_LENGTH>();58		let col_desc = create_u16_data::<MAX_COLLECTION_DESCRIPTION_LENGTH>();59		let token_prefix = create_data::<MAX_TOKEN_PREFIX_LENGTH>();60		let mode: CollectionMode = CollectionMode::NFT;61		let caller: T::AccountId = account("caller", 0, SEED);62		<T as CommonConfig>::Currency::deposit_creating(&caller, T::CollectionCreationPrice::get());63	}: _(RawOrigin::Signed(caller.clone()), col_name.clone(), col_desc.clone(), token_prefix.clone(), mode)64	verify {65		assert_eq!(<pallet_common::CollectionById<T>>::get(CollectionId(1)).unwrap().owner, caller);66	}6768	destroy_collection {69		let caller: T::AccountId = account("caller", 0, SEED);70		let collection = create_nft_collection::<T>(caller.clone())?;71	}: _(RawOrigin::Signed(caller.clone()), collection)7273	add_to_allow_list {74		let caller: T::AccountId = account("caller", 0, SEED);75		let allowlist_account: T::AccountId = account("admin", 0, SEED);76		let collection = create_nft_collection::<T>(caller.clone())?;77	}: _(RawOrigin::Signed(caller.clone()), collection, T::CrossAccountId::from_sub(allowlist_account))7879	remove_from_allow_list {80		let caller: T::AccountId = account("caller", 0, SEED);81		let allowlist_account: T::AccountId = account("admin", 0, SEED);82		let collection = create_nft_collection::<T>(caller.clone())?;83		<Pallet<T>>::add_to_allow_list(RawOrigin::Signed(caller.clone()).into(), collection, T::CrossAccountId::from_sub(allowlist_account.clone()))?;84	}: _(RawOrigin::Signed(caller.clone()), collection, T::CrossAccountId::from_sub(allowlist_account))8586	change_collection_owner {87		let caller: T::AccountId = account("caller", 0, SEED);88		let collection = create_nft_collection::<T>(caller.clone())?;89		let new_owner: T::AccountId = account("admin", 0, SEED);90	}: _(RawOrigin::Signed(caller.clone()), collection, new_owner)9192	add_collection_admin {93		let caller: T::AccountId = account("caller", 0, SEED);94		let collection = create_nft_collection::<T>(caller.clone())?;95		let new_admin: T::AccountId = account("admin", 0, SEED);96	}: _(RawOrigin::Signed(caller.clone()), collection, T::CrossAccountId::from_sub(new_admin))9798	remove_collection_admin {99		let caller: T::AccountId = account("caller", 0, SEED);100		let collection = create_nft_collection::<T>(caller.clone())?;101		let new_admin: T::AccountId = account("admin", 0, SEED);102		<Pallet<T>>::add_collection_admin(RawOrigin::Signed(caller.clone()).into(), collection, T::CrossAccountId::from_sub(new_admin.clone()))?;103	}: _(RawOrigin::Signed(caller.clone()), collection, T::CrossAccountId::from_sub(new_admin))104105	set_collection_sponsor {106		let caller: T::AccountId = account("caller", 0, SEED);107		let collection = create_nft_collection::<T>(caller.clone())?;108	}: _(RawOrigin::Signed(caller.clone()), collection, caller.clone())109110	confirm_sponsorship {111		let caller: T::AccountId = account("caller", 0, SEED);112		let collection = create_nft_collection::<T>(caller.clone())?;113		<Pallet<T>>::set_collection_sponsor(RawOrigin::Signed(caller.clone()).into(), collection, caller.clone())?;114	}: _(RawOrigin::Signed(caller.clone()), collection)115116	remove_collection_sponsor {117		let caller: T::AccountId = account("caller", 0, SEED);118		let collection = create_nft_collection::<T>(caller.clone())?;119		<Pallet<T>>::set_collection_sponsor(RawOrigin::Signed(caller.clone()).into(), collection, caller.clone())?;120		<Pallet<T>>::confirm_sponsorship(RawOrigin::Signed(caller.clone()).into(), collection)?;121	}: _(RawOrigin::Signed(caller.clone()), collection)122123	set_transfers_enabled_flag {124		let caller: T::AccountId = account("caller", 0, SEED);125		let collection = create_nft_collection::<T>(caller.clone())?;126	}: _(RawOrigin::Signed(caller.clone()), collection, false)127128129	set_collection_limits{130		let caller: T::AccountId = account("caller", 0, SEED);131		let collection = create_nft_collection::<T>(caller.clone())?;132133		let cl = CollectionLimits {134			account_token_ownership_limit: Some(0),135			sponsored_data_size: Some(0),136			token_limit: Some(1),137			sponsor_transfer_timeout: Some(0),138			sponsor_approve_timeout: None,139			owner_can_destroy: Some(true),140			owner_can_transfer: Some(true),141			sponsored_data_rate_limit: None,142			transfers_enabled: Some(true),143		};144	}: set_collection_limits(RawOrigin::Signed(caller.clone()), collection, cl)145}
modifiedpallets/unique/src/weights.rsdiffbeforeafterboth
--- a/pallets/unique/src/weights.rs
+++ b/pallets/unique/src/weights.rs
@@ -3,7 +3,7 @@
 //! Autogenerated weights for pallet_unique
 //!
 //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
-//! DATE: 2022-08-15, STEPS: `50`, REPEAT: 80, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! DATE: 2022-12-26, STEPS: `50`, REPEAT: 80, LOW RANGE: `[]`, HIGH RANGE: `[]`
 //! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024
 
 // Executed Command:
@@ -26,6 +26,7 @@
 #![cfg_attr(rustfmt, rustfmt_skip)]
 #![allow(unused_parens)]
 #![allow(unused_imports)]
+#![allow(missing_docs)]
 #![allow(clippy::unnecessary_cast)]
 
 use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}};
@@ -58,7 +59,7 @@
 	// Storage: Common CollectionProperties (r:0 w:1)
 	// Storage: Common CollectionById (r:0 w:1)
 	fn create_collection() -> Weight {
-		Weight::from_ref_time(43_143_000)
+		Weight::from_ref_time(52_640_000 as u64)
 			.saturating_add(T::DbWeight::get().reads(4 as u64))
 			.saturating_add(T::DbWeight::get().writes(6 as u64))
 	}
@@ -70,27 +71,27 @@
 	// Storage: Common AdminAmount (r:0 w:1)
 	// Storage: Common CollectionProperties (r:0 w:1)
 	fn destroy_collection() -> Weight {
-		Weight::from_ref_time(50_188_000)
+		Weight::from_ref_time(63_934_000 as u64)
 			.saturating_add(T::DbWeight::get().reads(3 as u64))
 			.saturating_add(T::DbWeight::get().writes(6 as u64))
 	}
 	// Storage: Common CollectionById (r:1 w:0)
 	// Storage: Common Allowlist (r:0 w:1)
 	fn add_to_allow_list() -> Weight {
-		Weight::from_ref_time(18_238_000)
+		Weight::from_ref_time(31_858_000 as u64)
 			.saturating_add(T::DbWeight::get().reads(1 as u64))
 			.saturating_add(T::DbWeight::get().writes(1 as u64))
 	}
 	// Storage: Common CollectionById (r:1 w:0)
 	// Storage: Common Allowlist (r:0 w:1)
 	fn remove_from_allow_list() -> Weight {
-		Weight::from_ref_time(18_084_000)
+		Weight::from_ref_time(27_634_000 as u64)
 			.saturating_add(T::DbWeight::get().reads(1 as u64))
 			.saturating_add(T::DbWeight::get().writes(1 as u64))
 	}
 	// Storage: Common CollectionById (r:1 w:1)
 	fn change_collection_owner() -> Weight {
-		Weight::from_ref_time(18_265_000)
+		Weight::from_ref_time(25_212_000 as u64)
 			.saturating_add(T::DbWeight::get().reads(1 as u64))
 			.saturating_add(T::DbWeight::get().writes(1 as u64))
 	}
@@ -98,7 +99,7 @@
 	// Storage: Common IsAdmin (r:1 w:1)
 	// Storage: Common AdminAmount (r:1 w:1)
 	fn add_collection_admin() -> Weight {
-		Weight::from_ref_time(23_558_000)
+		Weight::from_ref_time(29_307_000 as u64)
 			.saturating_add(T::DbWeight::get().reads(3 as u64))
 			.saturating_add(T::DbWeight::get().writes(2 as u64))
 	}
@@ -106,43 +107,43 @@
 	// Storage: Common IsAdmin (r:1 w:1)
 	// Storage: Common AdminAmount (r:1 w:1)
 	fn remove_collection_admin() -> Weight {
-		Weight::from_ref_time(25_285_000)
+		Weight::from_ref_time(32_592_000 as u64)
 			.saturating_add(T::DbWeight::get().reads(3 as u64))
 			.saturating_add(T::DbWeight::get().writes(2 as u64))
 	}
 	// Storage: Common CollectionById (r:1 w:1)
 	fn set_collection_sponsor() -> Weight {
-		Weight::from_ref_time(17_885_000)
+		Weight::from_ref_time(25_438_000 as u64)
 			.saturating_add(T::DbWeight::get().reads(1 as u64))
 			.saturating_add(T::DbWeight::get().writes(1 as u64))
 	}
 	// Storage: Common CollectionById (r:1 w:1)
 	fn confirm_sponsorship() -> Weight {
-		Weight::from_ref_time(17_897_000)
+		Weight::from_ref_time(24_965_000 as u64)
 			.saturating_add(T::DbWeight::get().reads(1 as u64))
 			.saturating_add(T::DbWeight::get().writes(1 as u64))
 	}
 	// Storage: Common CollectionById (r:1 w:1)
 	fn remove_collection_sponsor() -> Weight {
-		Weight::from_ref_time(17_836_000)
+		Weight::from_ref_time(25_094_000 as u64)
 			.saturating_add(T::DbWeight::get().reads(1 as u64))
 			.saturating_add(T::DbWeight::get().writes(1 as u64))
 	}
 	// Storage: Common CollectionById (r:1 w:1)
 	fn set_transfers_enabled_flag() -> Weight {
-		Weight::from_ref_time(9_714_000)
+		Weight::from_ref_time(12_800_000 as u64)
 			.saturating_add(T::DbWeight::get().reads(1 as u64))
 			.saturating_add(T::DbWeight::get().writes(1 as u64))
 	}
 	// Storage: Common CollectionById (r:1 w:1)
 	fn set_collection_limits() -> Weight {
-		Weight::from_ref_time(18_166_000)
+		Weight::from_ref_time(25_908_000 as u64)
 			.saturating_add(T::DbWeight::get().reads(1 as u64))
 			.saturating_add(T::DbWeight::get().writes(1 as u64))
 	}
 	// Storage: Common CollectionProperties (r:1 w:1)
 	fn force_repair_collection() -> Weight {
-		Weight::from_ref_time(5_701_000 as u64)
+		Weight::from_ref_time(10_598_000 as u64)
 			.saturating_add(T::DbWeight::get().reads(1 as u64))
 			.saturating_add(T::DbWeight::get().writes(1 as u64))
 	}
@@ -157,7 +158,7 @@
 	// Storage: Common CollectionProperties (r:0 w:1)
 	// Storage: Common CollectionById (r:0 w:1)
 	fn create_collection() -> Weight {
-		Weight::from_ref_time(43_143_000)
+		Weight::from_ref_time(52_640_000 as u64)
 			.saturating_add(RocksDbWeight::get().reads(4 as u64))
 			.saturating_add(RocksDbWeight::get().writes(6 as u64))
 	}
@@ -169,27 +170,27 @@
 	// Storage: Common AdminAmount (r:0 w:1)
 	// Storage: Common CollectionProperties (r:0 w:1)
 	fn destroy_collection() -> Weight {
-		Weight::from_ref_time(50_188_000)
+		Weight::from_ref_time(63_934_000 as u64)
 			.saturating_add(RocksDbWeight::get().reads(3 as u64))
 			.saturating_add(RocksDbWeight::get().writes(6 as u64))
 	}
 	// Storage: Common CollectionById (r:1 w:0)
 	// Storage: Common Allowlist (r:0 w:1)
 	fn add_to_allow_list() -> Weight {
-		Weight::from_ref_time(18_238_000)
+		Weight::from_ref_time(31_858_000 as u64)
 			.saturating_add(RocksDbWeight::get().reads(1 as u64))
 			.saturating_add(RocksDbWeight::get().writes(1 as u64))
 	}
 	// Storage: Common CollectionById (r:1 w:0)
 	// Storage: Common Allowlist (r:0 w:1)
 	fn remove_from_allow_list() -> Weight {
-		Weight::from_ref_time(18_084_000)
+		Weight::from_ref_time(27_634_000 as u64)
 			.saturating_add(RocksDbWeight::get().reads(1 as u64))
 			.saturating_add(RocksDbWeight::get().writes(1 as u64))
 	}
 	// Storage: Common CollectionById (r:1 w:1)
 	fn change_collection_owner() -> Weight {
-		Weight::from_ref_time(18_265_000)
+		Weight::from_ref_time(25_212_000 as u64)
 			.saturating_add(RocksDbWeight::get().reads(1 as u64))
 			.saturating_add(RocksDbWeight::get().writes(1 as u64))
 	}
@@ -197,7 +198,7 @@
 	// Storage: Common IsAdmin (r:1 w:1)
 	// Storage: Common AdminAmount (r:1 w:1)
 	fn add_collection_admin() -> Weight {
-		Weight::from_ref_time(23_558_000)
+		Weight::from_ref_time(29_307_000 as u64)
 			.saturating_add(RocksDbWeight::get().reads(3 as u64))
 			.saturating_add(RocksDbWeight::get().writes(2 as u64))
 	}
@@ -205,43 +206,43 @@
 	// Storage: Common IsAdmin (r:1 w:1)
 	// Storage: Common AdminAmount (r:1 w:1)
 	fn remove_collection_admin() -> Weight {
-		Weight::from_ref_time(25_285_000)
+		Weight::from_ref_time(32_592_000 as u64)
 			.saturating_add(RocksDbWeight::get().reads(3 as u64))
 			.saturating_add(RocksDbWeight::get().writes(2 as u64))
 	}
 	// Storage: Common CollectionById (r:1 w:1)
 	fn set_collection_sponsor() -> Weight {
-		Weight::from_ref_time(17_885_000)
+		Weight::from_ref_time(25_438_000 as u64)
 			.saturating_add(RocksDbWeight::get().reads(1 as u64))
 			.saturating_add(RocksDbWeight::get().writes(1 as u64))
 	}
 	// Storage: Common CollectionById (r:1 w:1)
 	fn confirm_sponsorship() -> Weight {
-		Weight::from_ref_time(17_897_000)
+		Weight::from_ref_time(24_965_000 as u64)
 			.saturating_add(RocksDbWeight::get().reads(1 as u64))
 			.saturating_add(RocksDbWeight::get().writes(1 as u64))
 	}
 	// Storage: Common CollectionById (r:1 w:1)
 	fn remove_collection_sponsor() -> Weight {
-		Weight::from_ref_time(17_836_000)
+		Weight::from_ref_time(25_094_000 as u64)
 			.saturating_add(RocksDbWeight::get().reads(1 as u64))
 			.saturating_add(RocksDbWeight::get().writes(1 as u64))
 	}
 	// Storage: Common CollectionById (r:1 w:1)
 	fn set_transfers_enabled_flag() -> Weight {
-		Weight::from_ref_time(9_714_000)
+		Weight::from_ref_time(12_800_000 as u64)
 			.saturating_add(RocksDbWeight::get().reads(1 as u64))
 			.saturating_add(RocksDbWeight::get().writes(1 as u64))
 	}
 	// Storage: Common CollectionById (r:1 w:1)
 	fn set_collection_limits() -> Weight {
-		Weight::from_ref_time(18_166_000)
+		Weight::from_ref_time(25_908_000 as u64)
 			.saturating_add(RocksDbWeight::get().reads(1 as u64))
 			.saturating_add(RocksDbWeight::get().writes(1 as u64))
 	}
 	// Storage: Common CollectionProperties (r:1 w:1)
 	fn force_repair_collection() -> Weight {
-		Weight::from_ref_time(5_701_000 as u64)
+		Weight::from_ref_time(10_598_000 as u64)
 			.saturating_add(RocksDbWeight::get().reads(1 as u64))
 			.saturating_add(RocksDbWeight::get().writes(1 as u64))
 	}