git.delta.rocks / unique-network / refs/commits / e589ae5ff79d

difftreelog

chore re-run benchmarks

Igor Kozyrev2022-06-15parent: #a5c6ddf.patch.diff
in: master

11 files changed

modifiedMakefilediffbeforeafterboth
--- a/Makefile
+++ b/Makefile
@@ -60,18 +60,10 @@
 .PHONY: _bench
 _bench:
 	cargo run --release --features runtime-benchmarks,unique-runtime -- \
-	benchmark pallet --pallet pallet-$(PALLET) \
+	benchmark pallet --pallet pallet-$(if $(PALLET),$(PALLET),$(error Must set PALLET)) \
 	--wasm-execution compiled --extrinsic '*' \
-	--template .maintain/frame-weight-template.hbs --steps=50 --repeat=200 --heap-pages=4096 \
-	--output=./pallets/$(PALLET)/src/weights.rs
-
-.PHONY: _bench2
-_bench2:
-	cargo run --release --features runtime-benchmarks,unique-runtime -- \
-	benchmark pallet --pallet pallet-$(PALLET) \
-	--wasm-execution compiled --extrinsic '*' \
-	--template .maintain/frame-weight-template.hbs --steps=50 --repeat=200 --heap-pages=4096 \
-	--output=./pallets/$(PALLET_DIR)/src/weights.rs
+	--template .maintain/frame-weight-template.hbs --steps=50 --repeat=80 --heap-pages=4096 \
+	--output=./pallets/$(if $(PALLET_DIR),$(PALLET_DIR),$(PALLET))/src/weights.rs
 
 .PHONY: bench-evm-migration
 bench-evm-migration:
@@ -103,7 +95,7 @@
 
 .PHONY: bench-scheduler
 bench-scheduler:
-	make _bench2 PALLET=unique-scheduler PALLET_DIR=scheduler
+	make _bench PALLET=unique-scheduler PALLET_DIR=scheduler
 
 .PHONY: bench-rmrk-core
 bench-rmrk-core:
modifiedpallets/common/src/benchmarking.rsdiffbeforeafterboth
--- a/pallets/common/src/benchmarking.rs
+++ b/pallets/common/src/benchmarking.rs
@@ -100,6 +100,7 @@
 					restricted: None,
 					permissive: true,
 				}),
+                mint_mode: Some(true),
 				..Default::default()
 			}),
 			..Default::default()
modifiedpallets/common/src/lib.rsdiffbeforeafterboth
--- a/pallets/common/src/lib.rs
+++ b/pallets/common/src/lib.rs
@@ -1212,11 +1212,14 @@
 		limit_default_clone!(old_limit, new_limit,
 			access => {},
 			mint_mode => {},
-			nesting => ensure!(
-				// Permissive is only allowed for tests and internal usage of chain for now
-				old_limit.permissive || !new_limit.permissive,
-				<Error<T>>::NoPermission,
-			),
+			nesting => {
+				#[cfg(not(feature = "runtime-benchmarks"))]
+				ensure!(
+					// Permissive is only allowed for tests and internal usage of chain for now
+					old_limit.permissive || !new_limit.permissive,
+					<Error<T>>::NoPermission,
+				)
+			},
 		);
 		Ok(new_limit)
 	}
modifiedpallets/evm-migration/src/weights.rsdiffbeforeafterboth
--- a/pallets/evm-migration/src/weights.rs
+++ b/pallets/evm-migration/src/weights.rs
@@ -3,12 +3,13 @@
 //! Autogenerated weights for pallet_evm_migration
 //!
 //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
-//! DATE: 2022-03-01, STEPS: `50`, REPEAT: 200, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! DATE: 2022-06-15, STEPS: `50`, REPEAT: 200, LOW RANGE: `[]`, HIGH RANGE: `[]`
 //! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024
 
 // Executed Command:
 // target/release/unique-collator
 // benchmark
+// pallet
 // --pallet
 // pallet-evm-migration
 // --wasm-execution
@@ -44,23 +45,23 @@
 	// Storage: System Account (r:1 w:0)
 	// Storage: EVM AccountCodes (r:1 w:0)
 	fn begin() -> Weight {
-		(6_441_000 as Weight)
+		(6_914_000 as Weight)
 			.saturating_add(T::DbWeight::get().reads(3 as Weight))
 			.saturating_add(T::DbWeight::get().writes(1 as Weight))
 	}
 	// Storage: EvmMigration MigrationPending (r:1 w:0)
 	// Storage: EVM AccountStorages (r:0 w:1)
 	fn set_data(b: u32, ) -> Weight {
-		(3_424_000 as Weight)
+		(2_875_000 as Weight)
 			// Standard Error: 0
-			.saturating_add((973_000 as Weight).saturating_mul(b as Weight))
+			.saturating_add((794_000 as Weight).saturating_mul(b as Weight))
 			.saturating_add(T::DbWeight::get().reads(1 as Weight))
 			.saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(b as Weight)))
 	}
 	// Storage: EvmMigration MigrationPending (r:1 w:1)
 	// Storage: EVM AccountCodes (r:0 w:1)
 	fn finish(b: u32, ) -> Weight {
-		(4_702_000 as Weight)
+		(6_320_000 as Weight)
 			// Standard Error: 0
 			.saturating_add((2_000 as Weight).saturating_mul(b as Weight))
 			.saturating_add(T::DbWeight::get().reads(1 as Weight))
@@ -74,23 +75,23 @@
 	// Storage: System Account (r:1 w:0)
 	// Storage: EVM AccountCodes (r:1 w:0)
 	fn begin() -> Weight {
-		(6_441_000 as Weight)
+		(6_914_000 as Weight)
 			.saturating_add(RocksDbWeight::get().reads(3 as Weight))
 			.saturating_add(RocksDbWeight::get().writes(1 as Weight))
 	}
 	// Storage: EvmMigration MigrationPending (r:1 w:0)
 	// Storage: EVM AccountStorages (r:0 w:1)
 	fn set_data(b: u32, ) -> Weight {
-		(3_424_000 as Weight)
+		(2_875_000 as Weight)
 			// Standard Error: 0
-			.saturating_add((973_000 as Weight).saturating_mul(b as Weight))
+			.saturating_add((794_000 as Weight).saturating_mul(b as Weight))
 			.saturating_add(RocksDbWeight::get().reads(1 as Weight))
 			.saturating_add(RocksDbWeight::get().writes((1 as Weight).saturating_mul(b as Weight)))
 	}
 	// Storage: EvmMigration MigrationPending (r:1 w:1)
 	// Storage: EVM AccountCodes (r:0 w:1)
 	fn finish(b: u32, ) -> Weight {
-		(4_702_000 as Weight)
+		(6_320_000 as Weight)
 			// Standard Error: 0
 			.saturating_add((2_000 as Weight).saturating_mul(b as Weight))
 			.saturating_add(RocksDbWeight::get().reads(1 as Weight))
modifiedpallets/fungible/src/weights.rsdiffbeforeafterboth
--- a/pallets/fungible/src/weights.rs
+++ b/pallets/fungible/src/weights.rs
@@ -3,12 +3,13 @@
 //! Autogenerated weights for pallet_fungible
 //!
 //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
-//! DATE: 2022-03-01, STEPS: `50`, REPEAT: 200, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! DATE: 2022-06-15, STEPS: `50`, REPEAT: 80, LOW RANGE: `[]`, HIGH RANGE: `[]`
 //! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024
 
 // Executed Command:
 // target/release/unique-collator
 // benchmark
+// pallet
 // --pallet
 // pallet-fungible
 // --wasm-execution
@@ -18,7 +19,7 @@
 // --template
 // .maintain/frame-weight-template.hbs
 // --steps=50
-// --repeat=200
+// --repeat=80
 // --heap-pages=4096
 // --output=./pallets/fungible/src/weights.rs
 
@@ -47,16 +48,16 @@
 	// Storage: Fungible TotalSupply (r:1 w:1)
 	// Storage: Fungible Balance (r:1 w:1)
 	fn create_item() -> Weight {
-		(14_407_000 as Weight)
+		(17_828_000 as Weight)
 			.saturating_add(T::DbWeight::get().reads(2 as Weight))
 			.saturating_add(T::DbWeight::get().writes(2 as Weight))
 	}
 	// Storage: Fungible TotalSupply (r:1 w:1)
 	// Storage: Fungible Balance (r:4 w:4)
 	fn create_multiple_items_ex(b: u32, ) -> Weight {
-		(13_030_000 as Weight)
-			// Standard Error: 1_000
-			.saturating_add((3_779_000 as Weight).saturating_mul(b as Weight))
+		(17_574_000 as Weight)
+			// Standard Error: 3_000
+			.saturating_add((4_288_000 as Weight).saturating_mul(b as Weight))
 			.saturating_add(T::DbWeight::get().reads(1 as Weight))
 			.saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(b as Weight)))
 			.saturating_add(T::DbWeight::get().writes(1 as Weight))
@@ -65,28 +66,27 @@
 	// Storage: Fungible TotalSupply (r:1 w:1)
 	// Storage: Fungible Balance (r:1 w:1)
 	fn burn_item() -> Weight {
-		(15_565_000 as Weight)
+		(18_417_000 as Weight)
 			.saturating_add(T::DbWeight::get().reads(2 as Weight))
 			.saturating_add(T::DbWeight::get().writes(2 as Weight))
 	}
-
 	// Storage: Fungible Balance (r:2 w:2)
 	fn transfer() -> Weight {
-		(17_713_000 as Weight)
+		(20_090_000 as Weight)
 			.saturating_add(T::DbWeight::get().reads(2 as Weight))
 			.saturating_add(T::DbWeight::get().writes(2 as Weight))
 	}
 	// Storage: Fungible Balance (r:1 w:0)
 	// Storage: Fungible Allowance (r:0 w:1)
 	fn approve() -> Weight {
-		(14_834_000 as Weight)
+		(17_532_000 as Weight)
 			.saturating_add(T::DbWeight::get().reads(1 as Weight))
 			.saturating_add(T::DbWeight::get().writes(1 as Weight))
 	}
 	// Storage: Fungible Allowance (r:1 w:1)
 	// Storage: Fungible Balance (r:2 w:2)
 	fn transfer_from() -> Weight {
-		(25_189_000 as Weight)
+		(29_869_000 as Weight)
 			.saturating_add(T::DbWeight::get().reads(3 as Weight))
 			.saturating_add(T::DbWeight::get().writes(3 as Weight))
 	}
@@ -94,7 +94,7 @@
 	// Storage: Fungible TotalSupply (r:1 w:1)
 	// Storage: Fungible Balance (r:1 w:1)
 	fn burn_from() -> Weight {
-		(24_065_000 as Weight)
+		(27_835_000 as Weight)
 			.saturating_add(T::DbWeight::get().reads(3 as Weight))
 			.saturating_add(T::DbWeight::get().writes(3 as Weight))
 	}
@@ -105,16 +105,16 @@
 	// Storage: Fungible TotalSupply (r:1 w:1)
 	// Storage: Fungible Balance (r:1 w:1)
 	fn create_item() -> Weight {
-		(14_407_000 as Weight)
+		(17_828_000 as Weight)
 			.saturating_add(RocksDbWeight::get().reads(2 as Weight))
 			.saturating_add(RocksDbWeight::get().writes(2 as Weight))
 	}
 	// Storage: Fungible TotalSupply (r:1 w:1)
 	// Storage: Fungible Balance (r:4 w:4)
 	fn create_multiple_items_ex(b: u32, ) -> Weight {
-		(13_030_000 as Weight)
-			// Standard Error: 1_000
-			.saturating_add((3_779_000 as Weight).saturating_mul(b as Weight))
+		(17_574_000 as Weight)
+			// Standard Error: 3_000
+			.saturating_add((4_288_000 as Weight).saturating_mul(b as Weight))
 			.saturating_add(RocksDbWeight::get().reads(1 as Weight))
 			.saturating_add(RocksDbWeight::get().reads((1 as Weight).saturating_mul(b as Weight)))
 			.saturating_add(RocksDbWeight::get().writes(1 as Weight))
@@ -123,28 +123,27 @@
 	// Storage: Fungible TotalSupply (r:1 w:1)
 	// Storage: Fungible Balance (r:1 w:1)
 	fn burn_item() -> Weight {
-		(15_565_000 as Weight)
+		(18_417_000 as Weight)
 			.saturating_add(RocksDbWeight::get().reads(2 as Weight))
 			.saturating_add(RocksDbWeight::get().writes(2 as Weight))
 	}
-
 	// Storage: Fungible Balance (r:2 w:2)
 	fn transfer() -> Weight {
-		(17_713_000 as Weight)
+		(20_090_000 as Weight)
 			.saturating_add(RocksDbWeight::get().reads(2 as Weight))
 			.saturating_add(RocksDbWeight::get().writes(2 as Weight))
 	}
 	// Storage: Fungible Balance (r:1 w:0)
 	// Storage: Fungible Allowance (r:0 w:1)
 	fn approve() -> Weight {
-		(14_834_000 as Weight)
+		(17_532_000 as Weight)
 			.saturating_add(RocksDbWeight::get().reads(1 as Weight))
 			.saturating_add(RocksDbWeight::get().writes(1 as Weight))
 	}
 	// Storage: Fungible Allowance (r:1 w:1)
 	// Storage: Fungible Balance (r:2 w:2)
 	fn transfer_from() -> Weight {
-		(25_189_000 as Weight)
+		(29_869_000 as Weight)
 			.saturating_add(RocksDbWeight::get().reads(3 as Weight))
 			.saturating_add(RocksDbWeight::get().writes(3 as Weight))
 	}
@@ -152,7 +151,7 @@
 	// Storage: Fungible TotalSupply (r:1 w:1)
 	// Storage: Fungible Balance (r:1 w:1)
 	fn burn_from() -> Weight {
-		(24_065_000 as Weight)
+		(27_835_000 as Weight)
 			.saturating_add(RocksDbWeight::get().reads(3 as Weight))
 			.saturating_add(RocksDbWeight::get().writes(3 as Weight))
 	}
modifiedpallets/nonfungible/src/weights.rsdiffbeforeafterboth
--- a/pallets/nonfungible/src/weights.rs
+++ b/pallets/nonfungible/src/weights.rs
@@ -3,12 +3,13 @@
 //! Autogenerated weights for pallet_nonfungible
 //!
 //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
-//! DATE: 2022-03-01, STEPS: `50`, REPEAT: 200, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! DATE: 2022-06-15, STEPS: `50`, REPEAT: 80, LOW RANGE: `[]`, HIGH RANGE: `[]`
 //! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024
 
 // Executed Command:
 // target/release/unique-collator
 // benchmark
+// pallet
 // --pallet
 // pallet-nonfungible
 // --wasm-execution
@@ -18,7 +19,7 @@
 // --template
 // .maintain/frame-weight-template.hbs
 // --steps=50
-// --repeat=200
+// --repeat=80
 // --heap-pages=4096
 // --output=./pallets/nonfungible/src/weights.rs
 
@@ -42,9 +43,9 @@
 	fn approve() -> Weight;
 	fn transfer_from() -> Weight;
 	fn burn_from() -> Weight;
-	fn set_token_property_permissions(b: u32) -> Weight;
-	fn set_token_properties(b: u32) -> Weight;
-	fn delete_token_properties(b: u32) -> Weight;
+	fn set_token_property_permissions(b: u32, ) -> Weight;
+	fn set_token_properties(b: u32, ) -> Weight;
+	fn delete_token_properties(b: u32, ) -> Weight;
 }
 
 /// Weights for pallet_nonfungible using the Substrate node and recommended hardware.
@@ -55,7 +56,7 @@
 	// Storage: Nonfungible TokenData (r:0 w:1)
 	// Storage: Nonfungible Owned (r:0 w:1)
 	fn create_item() -> Weight {
-		(18_450_000 as Weight)
+		(24_135_000 as Weight)
 			.saturating_add(T::DbWeight::get().reads(2 as Weight))
 			.saturating_add(T::DbWeight::get().writes(4 as Weight))
 	}
@@ -64,9 +65,9 @@
 	// Storage: Nonfungible TokenData (r:0 w:4)
 	// Storage: Nonfungible Owned (r:0 w:4)
 	fn create_multiple_items(b: u32, ) -> Weight {
-		(10_228_000 as Weight)
-			// Standard Error: 1_000
-			.saturating_add((4_392_000 as Weight).saturating_mul(b as Weight))
+		(21_952_000 as Weight)
+			// Standard Error: 5_000
+			.saturating_add((4_727_000 as Weight).saturating_mul(b as Weight))
 			.saturating_add(T::DbWeight::get().reads(2 as Weight))
 			.saturating_add(T::DbWeight::get().writes(2 as Weight))
 			.saturating_add(T::DbWeight::get().writes((2 as Weight).saturating_mul(b as Weight)))
@@ -76,23 +77,25 @@
 	// Storage: Nonfungible TokenData (r:0 w:4)
 	// Storage: Nonfungible Owned (r:0 w:4)
 	fn create_multiple_items_ex(b: u32, ) -> Weight {
-		(6_543_000 as Weight)
-			// Standard Error: 2_000
-			.saturating_add((7_175_000 as Weight).saturating_mul(b as Weight))
+		(10_432_000 as Weight)
+			// Standard Error: 6_000
+			.saturating_add((7_383_000 as Weight).saturating_mul(b as Weight))
 			.saturating_add(T::DbWeight::get().reads(1 as Weight))
 			.saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(b as Weight)))
 			.saturating_add(T::DbWeight::get().writes(1 as Weight))
 			.saturating_add(T::DbWeight::get().writes((3 as Weight).saturating_mul(b as Weight)))
 	}
 	// Storage: Nonfungible TokenData (r:1 w:1)
+	// Storage: Nonfungible TokenChildren (r:1 w:0)
 	// Storage: Nonfungible TokensBurnt (r:1 w:1)
 	// Storage: Nonfungible AccountBalance (r:1 w:1)
 	// Storage: Nonfungible Allowance (r:1 w:0)
 	// Storage: Nonfungible Owned (r:0 w:1)
+	// Storage: Nonfungible TokenProperties (r:0 w:1)
 	fn burn_item() -> Weight {
-		(24_554_000 as Weight)
-			.saturating_add(T::DbWeight::get().reads(4 as Weight))
-			.saturating_add(T::DbWeight::get().writes(4 as Weight))
+		(29_798_000 as Weight)
+			.saturating_add(T::DbWeight::get().reads(5 as Weight))
+			.saturating_add(T::DbWeight::get().writes(5 as Weight))
 	}
 	// Storage: Nonfungible TokenChildren (r:1 w:0)
 	// Storage: Nonfungible TokenData (r:1 w:1)
@@ -102,7 +105,7 @@
 	// Storage: Nonfungible Owned (r:0 w:1)
 	// Storage: Nonfungible TokenProperties (r:0 w:1)
 	fn burn_recursively_self_raw() -> Weight {
-		(86_136_000 as Weight)
+		(37_955_000 as Weight)
 			.saturating_add(T::DbWeight::get().reads(5 as Weight))
 			.saturating_add(T::DbWeight::get().writes(5 as Weight))
 	}
@@ -116,11 +119,11 @@
 	// Storage: Common CollectionById (r:1 w:0)
 	fn burn_recursively_breadth_plus_self_plus_self_per_each_raw(b: u32, ) -> Weight {
 		(0 as Weight)
-			// Standard Error: 42_828_000
-			.saturating_add((381_478_000 as Weight).saturating_mul(b as Weight))
-			.saturating_add(T::DbWeight::get().reads(6 as Weight))
+			// Standard Error: 1_349_000
+			.saturating_add((275_145_000 as Weight).saturating_mul(b as Weight))
+			.saturating_add(T::DbWeight::get().reads(7 as Weight))
 			.saturating_add(T::DbWeight::get().reads((4 as Weight).saturating_mul(b as Weight)))
-			.saturating_add(T::DbWeight::get().writes(5 as Weight))
+			.saturating_add(T::DbWeight::get().writes(6 as Weight))
 			.saturating_add(T::DbWeight::get().writes((4 as Weight).saturating_mul(b as Weight)))
 	}
 	// Storage: Nonfungible TokenData (r:1 w:1)
@@ -128,14 +131,14 @@
 	// Storage: Nonfungible Allowance (r:1 w:0)
 	// Storage: Nonfungible Owned (r:0 w:2)
 	fn transfer() -> Weight {
-		(28_339_000 as Weight)
+		(27_867_000 as Weight)
 			.saturating_add(T::DbWeight::get().reads(4 as Weight))
 			.saturating_add(T::DbWeight::get().writes(5 as Weight))
 	}
 	// Storage: Nonfungible TokenData (r:1 w:0)
 	// Storage: Nonfungible Allowance (r:1 w:1)
 	fn approve() -> Weight {
-		(17_616_000 as Weight)
+		(18_824_000 as Weight)
 			.saturating_add(T::DbWeight::get().reads(2 as Weight))
 			.saturating_add(T::DbWeight::get().writes(1 as Weight))
 	}
@@ -144,25 +147,27 @@
 	// Storage: Nonfungible AccountBalance (r:2 w:2)
 	// Storage: Nonfungible Owned (r:0 w:2)
 	fn transfer_from() -> Weight {
-		(32_196_000 as Weight)
+		(32_879_000 as Weight)
 			.saturating_add(T::DbWeight::get().reads(4 as Weight))
 			.saturating_add(T::DbWeight::get().writes(6 as Weight))
 	}
 	// Storage: Nonfungible Allowance (r:1 w:1)
 	// Storage: Nonfungible TokenData (r:1 w:1)
+	// Storage: Nonfungible TokenChildren (r:1 w:0)
 	// Storage: Nonfungible TokensBurnt (r:1 w:1)
 	// Storage: Nonfungible AccountBalance (r:1 w:1)
 	// Storage: Nonfungible Owned (r:0 w:1)
+	// Storage: Nonfungible TokenProperties (r:0 w:1)
 	fn burn_from() -> Weight {
-		(27_580_000 as Weight)
-			.saturating_add(T::DbWeight::get().reads(4 as Weight))
-			.saturating_add(T::DbWeight::get().writes(5 as Weight))
+		(37_061_000 as Weight)
+			.saturating_add(T::DbWeight::get().reads(5 as Weight))
+			.saturating_add(T::DbWeight::get().writes(6 as Weight))
 	}
 	// Storage: Common CollectionPropertyPermissions (r:1 w:1)
 	fn set_token_property_permissions(b: u32, ) -> Weight {
 		(0 as Weight)
-			// Standard Error: 3_432_000
-			.saturating_add((126_888_000 as Weight).saturating_mul(b as Weight))
+			// Standard Error: 57_000
+			.saturating_add((15_149_000 as Weight).saturating_mul(b as Weight))
 			.saturating_add(T::DbWeight::get().reads(1 as Weight))
 			.saturating_add(T::DbWeight::get().writes(1 as Weight))
 	}
@@ -171,8 +176,8 @@
 	// Storage: Nonfungible TokenProperties (r:1 w:1)
 	fn set_token_properties(b: u32, ) -> Weight {
 		(0 as Weight)
-			// Standard Error: 158_583_000
-			.saturating_add((4_707_700_000 as Weight).saturating_mul(b as Weight))
+			// Standard Error: 2_278_000
+			.saturating_add((409_613_000 as Weight).saturating_mul(b as Weight))
 			.saturating_add(T::DbWeight::get().reads(3 as Weight))
 			.saturating_add(T::DbWeight::get().writes(1 as Weight))
 	}
@@ -181,8 +186,8 @@
 	// Storage: Nonfungible TokenProperties (r:1 w:1)
 	fn delete_token_properties(b: u32, ) -> Weight {
 		(0 as Weight)
-			// Standard Error: 169_018_000
-			.saturating_add((4_783_967_000 as Weight).saturating_mul(b as Weight))
+			// Standard Error: 2_234_000
+			.saturating_add((408_185_000 as Weight).saturating_mul(b as Weight))
 			.saturating_add(T::DbWeight::get().reads(3 as Weight))
 			.saturating_add(T::DbWeight::get().writes(1 as Weight))
 	}
@@ -195,7 +200,7 @@
 	// Storage: Nonfungible TokenData (r:0 w:1)
 	// Storage: Nonfungible Owned (r:0 w:1)
 	fn create_item() -> Weight {
-		(18_450_000 as Weight)
+		(24_135_000 as Weight)
 			.saturating_add(RocksDbWeight::get().reads(2 as Weight))
 			.saturating_add(RocksDbWeight::get().writes(4 as Weight))
 	}
@@ -204,9 +209,9 @@
 	// Storage: Nonfungible TokenData (r:0 w:4)
 	// Storage: Nonfungible Owned (r:0 w:4)
 	fn create_multiple_items(b: u32, ) -> Weight {
-		(10_228_000 as Weight)
-			// Standard Error: 1_000
-			.saturating_add((4_392_000 as Weight).saturating_mul(b as Weight))
+		(21_952_000 as Weight)
+			// Standard Error: 5_000
+			.saturating_add((4_727_000 as Weight).saturating_mul(b as Weight))
 			.saturating_add(RocksDbWeight::get().reads(2 as Weight))
 			.saturating_add(RocksDbWeight::get().writes(2 as Weight))
 			.saturating_add(RocksDbWeight::get().writes((2 as Weight).saturating_mul(b as Weight)))
@@ -216,23 +221,25 @@
 	// Storage: Nonfungible TokenData (r:0 w:4)
 	// Storage: Nonfungible Owned (r:0 w:4)
 	fn create_multiple_items_ex(b: u32, ) -> Weight {
-		(6_543_000 as Weight)
-			// Standard Error: 2_000
-			.saturating_add((7_175_000 as Weight).saturating_mul(b as Weight))
+		(10_432_000 as Weight)
+			// Standard Error: 6_000
+			.saturating_add((7_383_000 as Weight).saturating_mul(b as Weight))
 			.saturating_add(RocksDbWeight::get().reads(1 as Weight))
 			.saturating_add(RocksDbWeight::get().reads((1 as Weight).saturating_mul(b as Weight)))
 			.saturating_add(RocksDbWeight::get().writes(1 as Weight))
 			.saturating_add(RocksDbWeight::get().writes((3 as Weight).saturating_mul(b as Weight)))
 	}
 	// Storage: Nonfungible TokenData (r:1 w:1)
+	// Storage: Nonfungible TokenChildren (r:1 w:0)
 	// Storage: Nonfungible TokensBurnt (r:1 w:1)
 	// Storage: Nonfungible AccountBalance (r:1 w:1)
 	// Storage: Nonfungible Allowance (r:1 w:0)
 	// Storage: Nonfungible Owned (r:0 w:1)
+	// Storage: Nonfungible TokenProperties (r:0 w:1)
 	fn burn_item() -> Weight {
-		(24_554_000 as Weight)
-			.saturating_add(RocksDbWeight::get().reads(4 as Weight))
-			.saturating_add(RocksDbWeight::get().writes(4 as Weight))
+		(29_798_000 as Weight)
+			.saturating_add(RocksDbWeight::get().reads(5 as Weight))
+			.saturating_add(RocksDbWeight::get().writes(5 as Weight))
 	}
 	// Storage: Nonfungible TokenChildren (r:1 w:0)
 	// Storage: Nonfungible TokenData (r:1 w:1)
@@ -242,7 +249,7 @@
 	// Storage: Nonfungible Owned (r:0 w:1)
 	// Storage: Nonfungible TokenProperties (r:0 w:1)
 	fn burn_recursively_self_raw() -> Weight {
-		(86_136_000 as Weight)
+		(37_955_000 as Weight)
 			.saturating_add(RocksDbWeight::get().reads(5 as Weight))
 			.saturating_add(RocksDbWeight::get().writes(5 as Weight))
 	}
@@ -256,11 +263,11 @@
 	// Storage: Common CollectionById (r:1 w:0)
 	fn burn_recursively_breadth_plus_self_plus_self_per_each_raw(b: u32, ) -> Weight {
 		(0 as Weight)
-			// Standard Error: 42_828_000
-			.saturating_add((381_478_000 as Weight).saturating_mul(b as Weight))
-			.saturating_add(RocksDbWeight::get().reads(6 as Weight))
+			// Standard Error: 1_349_000
+			.saturating_add((275_145_000 as Weight).saturating_mul(b as Weight))
+			.saturating_add(RocksDbWeight::get().reads(7 as Weight))
 			.saturating_add(RocksDbWeight::get().reads((4 as Weight).saturating_mul(b as Weight)))
-			.saturating_add(RocksDbWeight::get().writes(5 as Weight))
+			.saturating_add(RocksDbWeight::get().writes(6 as Weight))
 			.saturating_add(RocksDbWeight::get().writes((4 as Weight).saturating_mul(b as Weight)))
 	}
 	// Storage: Nonfungible TokenData (r:1 w:1)
@@ -268,14 +275,14 @@
 	// Storage: Nonfungible Allowance (r:1 w:0)
 	// Storage: Nonfungible Owned (r:0 w:2)
 	fn transfer() -> Weight {
-		(28_339_000 as Weight)
+		(27_867_000 as Weight)
 			.saturating_add(RocksDbWeight::get().reads(4 as Weight))
 			.saturating_add(RocksDbWeight::get().writes(5 as Weight))
 	}
 	// Storage: Nonfungible TokenData (r:1 w:0)
 	// Storage: Nonfungible Allowance (r:1 w:1)
 	fn approve() -> Weight {
-		(17_616_000 as Weight)
+		(18_824_000 as Weight)
 			.saturating_add(RocksDbWeight::get().reads(2 as Weight))
 			.saturating_add(RocksDbWeight::get().writes(1 as Weight))
 	}
@@ -284,25 +291,27 @@
 	// Storage: Nonfungible AccountBalance (r:2 w:2)
 	// Storage: Nonfungible Owned (r:0 w:2)
 	fn transfer_from() -> Weight {
-		(32_196_000 as Weight)
+		(32_879_000 as Weight)
 			.saturating_add(RocksDbWeight::get().reads(4 as Weight))
 			.saturating_add(RocksDbWeight::get().writes(6 as Weight))
 	}
 	// Storage: Nonfungible Allowance (r:1 w:1)
 	// Storage: Nonfungible TokenData (r:1 w:1)
+	// Storage: Nonfungible TokenChildren (r:1 w:0)
 	// Storage: Nonfungible TokensBurnt (r:1 w:1)
 	// Storage: Nonfungible AccountBalance (r:1 w:1)
 	// Storage: Nonfungible Owned (r:0 w:1)
+	// Storage: Nonfungible TokenProperties (r:0 w:1)
 	fn burn_from() -> Weight {
-		(27_580_000 as Weight)
-			.saturating_add(RocksDbWeight::get().reads(4 as Weight))
-			.saturating_add(RocksDbWeight::get().writes(5 as Weight))
+		(37_061_000 as Weight)
+			.saturating_add(RocksDbWeight::get().reads(5 as Weight))
+			.saturating_add(RocksDbWeight::get().writes(6 as Weight))
 	}
 	// Storage: Common CollectionPropertyPermissions (r:1 w:1)
 	fn set_token_property_permissions(b: u32, ) -> Weight {
 		(0 as Weight)
-			// Standard Error: 3_432_000
-			.saturating_add((126_888_000 as Weight).saturating_mul(b as Weight))
+			// Standard Error: 57_000
+			.saturating_add((15_149_000 as Weight).saturating_mul(b as Weight))
 			.saturating_add(RocksDbWeight::get().reads(1 as Weight))
 			.saturating_add(RocksDbWeight::get().writes(1 as Weight))
 	}
@@ -311,8 +320,8 @@
 	// Storage: Nonfungible TokenProperties (r:1 w:1)
 	fn set_token_properties(b: u32, ) -> Weight {
 		(0 as Weight)
-			// Standard Error: 158_583_000
-			.saturating_add((4_707_700_000 as Weight).saturating_mul(b as Weight))
+			// Standard Error: 2_278_000
+			.saturating_add((409_613_000 as Weight).saturating_mul(b as Weight))
 			.saturating_add(RocksDbWeight::get().reads(3 as Weight))
 			.saturating_add(RocksDbWeight::get().writes(1 as Weight))
 	}
@@ -321,8 +330,8 @@
 	// Storage: Nonfungible TokenProperties (r:1 w:1)
 	fn delete_token_properties(b: u32, ) -> Weight {
 		(0 as Weight)
-			// Standard Error: 169_018_000
-			.saturating_add((4_783_967_000 as Weight).saturating_mul(b as Weight))
+			// Standard Error: 2_234_000
+			.saturating_add((408_185_000 as Weight).saturating_mul(b as Weight))
 			.saturating_add(RocksDbWeight::get().reads(3 as Weight))
 			.saturating_add(RocksDbWeight::get().writes(1 as Weight))
 	}
modifiedpallets/refungible/src/common.rsdiffbeforeafterboth
--- a/pallets/refungible/src/common.rs
+++ b/pallets/refungible/src/common.rs
@@ -77,16 +77,19 @@
 		0
 	}
 
-	fn set_token_properties(amount: u32) -> Weight {
-		<SelfWeightOf<T>>::set_token_properties(amount)
+	fn set_token_properties(_amount: u32) -> Weight {
+		// Error
+		0
 	}
 
-	fn delete_token_properties(amount: u32) -> Weight {
-		<SelfWeightOf<T>>::delete_token_properties(amount)
+	fn delete_token_properties(_amount: u32) -> Weight {
+		// Error
+		0
 	}
 
-	fn set_token_property_permissions(amount: u32) -> Weight {
-		<SelfWeightOf<T>>::set_token_property_permissions(amount)
+	fn set_token_property_permissions(_amount: u32) -> Weight {
+		// Error
+		0
 	}
 
 	fn transfer() -> Weight {
modifiedpallets/refungible/src/weights.rsdiffbeforeafterboth
before · pallets/refungible/src/weights.rs
1// Template adopted from https://github.com/paritytech/substrate/blob/master/.maintain/frame-weight-template.hbs23//! Autogenerated weights for pallet_refungible4//!5//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev6//! DATE: 2022-03-01, STEPS: `50`, REPEAT: 200, LOW RANGE: `[]`, HIGH RANGE: `[]`7//! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 102489// Executed Command:10// target/release/unique-collator11// benchmark12// --pallet13// pallet-refungible14// --wasm-execution15// compiled16// --extrinsic17// *18// --template19// .maintain/frame-weight-template.hbs20// --steps=5021// --repeat=20022// --heap-pages=409623// --output=./pallets/refungible/src/weights.rs2425#![cfg_attr(rustfmt, rustfmt_skip)]26#![allow(unused_parens)]27#![allow(unused_imports)]28#![allow(clippy::unnecessary_cast)]2930use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}};31use sp_std::marker::PhantomData;3233/// Weight functions needed for pallet_refungible.34pub trait WeightInfo {35	fn create_item() -> Weight;36	fn create_multiple_items(b: u32, ) -> Weight;37	fn create_multiple_items_ex_multiple_items(b: u32, ) -> Weight;38	fn create_multiple_items_ex_multiple_owners(b: u32, ) -> Weight;39	fn burn_item_partial() -> Weight;40	fn burn_item_fully() -> Weight;41	fn set_token_properties(amount: u32) -> Weight;42	fn delete_token_properties(amount: u32) -> Weight;43	fn set_token_property_permissions(amount: u32) -> Weight;44	fn transfer_normal() -> Weight;45	fn transfer_creating() -> Weight;46	fn transfer_removing() -> Weight;47	fn transfer_creating_removing() -> Weight;48	fn approve() -> Weight;49	fn transfer_from_normal() -> Weight;50	fn transfer_from_creating() -> Weight;51	fn transfer_from_removing() -> Weight;52	fn transfer_from_creating_removing() -> Weight;53	fn burn_from() -> Weight;54}5556/// Weights for pallet_refungible using the Substrate node and recommended hardware.57pub struct SubstrateWeight<T>(PhantomData<T>);58impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {59	// Storage: Refungible TokensMinted (r:1 w:1)60	// Storage: Refungible AccountBalance (r:1 w:1)61	// Storage: Refungible Balance (r:0 w:1)62	// Storage: Refungible TotalSupply (r:0 w:1)63	// Storage: Refungible TokenData (r:0 w:1)64	// Storage: Refungible Owned (r:0 w:1)65	fn create_item() -> Weight {66		(21_255_000 as Weight)67			.saturating_add(T::DbWeight::get().reads(2 as Weight))68			.saturating_add(T::DbWeight::get().writes(6 as Weight))69	}70	// Storage: Refungible TokensMinted (r:1 w:1)71	// Storage: Refungible AccountBalance (r:1 w:1)72	// Storage: Refungible Balance (r:0 w:4)73	// Storage: Refungible TotalSupply (r:0 w:4)74	// Storage: Refungible TokenData (r:0 w:4)75	// Storage: Refungible Owned (r:0 w:4)76	fn create_multiple_items(b: u32, ) -> Weight {77		(18_052_000 as Weight)78			// Standard Error: 1_00079			.saturating_add((5_549_000 as Weight).saturating_mul(b as Weight))80			.saturating_add(T::DbWeight::get().reads(2 as Weight))81			.saturating_add(T::DbWeight::get().writes(2 as Weight))82			.saturating_add(T::DbWeight::get().writes((4 as Weight).saturating_mul(b as Weight)))83	}84	// Storage: Refungible TokensMinted (r:1 w:1)85	// Storage: Refungible AccountBalance (r:4 w:4)86	// Storage: Refungible Balance (r:0 w:4)87	// Storage: Refungible TotalSupply (r:0 w:4)88	// Storage: Refungible TokenData (r:0 w:4)89	// Storage: Refungible Owned (r:0 w:4)90	fn create_multiple_items_ex_multiple_items(b: u32, ) -> Weight {91		(15_766_000 as Weight)92			// Standard Error: 2_00093			.saturating_add((8_187_000 as Weight).saturating_mul(b as Weight))94			.saturating_add(T::DbWeight::get().reads(1 as Weight))95			.saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(b as Weight)))96			.saturating_add(T::DbWeight::get().writes(1 as Weight))97			.saturating_add(T::DbWeight::get().writes((5 as Weight).saturating_mul(b as Weight)))98	}99	// Storage: Refungible TokensMinted (r:1 w:1)100	// Storage: Refungible TotalSupply (r:0 w:1)101	// Storage: Refungible TokenData (r:0 w:1)102	// Storage: Refungible AccountBalance (r:4 w:4)103	// Storage: Refungible Balance (r:0 w:4)104	// Storage: Refungible Owned (r:0 w:4)105	fn create_multiple_items_ex_multiple_owners(b: u32, ) -> Weight {106		(5_675_000 as Weight)107			// Standard Error: 2_000108			.saturating_add((6_315_000 as Weight).saturating_mul(b as Weight))109			.saturating_add(T::DbWeight::get().reads(1 as Weight))110			.saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(b as Weight)))111			.saturating_add(T::DbWeight::get().writes(3 as Weight))112			.saturating_add(T::DbWeight::get().writes((3 as Weight).saturating_mul(b as Weight)))113	}114	// Storage: Refungible TotalSupply (r:1 w:1)115	// Storage: Refungible Balance (r:1 w:1)116	// Storage: Refungible AccountBalance (r:1 w:1)117	// Storage: Refungible Owned (r:0 w:1)118	fn burn_item_partial() -> Weight {119		(23_518_000 as Weight)120			.saturating_add(T::DbWeight::get().reads(3 as Weight))121			.saturating_add(T::DbWeight::get().writes(4 as Weight))122	}123	// Storage: Refungible TotalSupply (r:1 w:1)124	// Storage: Refungible Balance (r:1 w:1)125	// Storage: Refungible AccountBalance (r:1 w:1)126	// Storage: Refungible TokensBurnt (r:1 w:1)127	// Storage: Refungible TokenData (r:0 w:1)128	// Storage: Refungible Owned (r:0 w:1)129	fn burn_item_fully() -> Weight {130		(32_489_000 as Weight)131			.saturating_add(T::DbWeight::get().reads(4 as Weight))132			.saturating_add(T::DbWeight::get().writes(6 as Weight))133	}134135	fn set_token_properties(_amount: u32) -> Weight {136		// Error137		0138	}139140	fn delete_token_properties(_amount: u32) -> Weight {141		// Error142		0143	}144145	fn set_token_property_permissions(_amount: u32) -> Weight {146		// Error147		0148	}149150	// Storage: Refungible Balance (r:2 w:2)151	fn transfer_normal() -> Weight {152		(19_766_000 as Weight)153			.saturating_add(T::DbWeight::get().reads(2 as Weight))154			.saturating_add(T::DbWeight::get().writes(2 as Weight))155	}156	// Storage: Refungible Balance (r:2 w:2)157	// Storage: Refungible AccountBalance (r:1 w:1)158	// Storage: Refungible Owned (r:0 w:1)159	fn transfer_creating() -> Weight {160		(23_360_000 as Weight)161			.saturating_add(T::DbWeight::get().reads(3 as Weight))162			.saturating_add(T::DbWeight::get().writes(4 as Weight))163	}164	// Storage: Refungible Balance (r:2 w:2)165	// Storage: Refungible AccountBalance (r:1 w:1)166	// Storage: Refungible Owned (r:0 w:1)167	fn transfer_removing() -> Weight {168		(25_344_000 as Weight)169			.saturating_add(T::DbWeight::get().reads(3 as Weight))170			.saturating_add(T::DbWeight::get().writes(4 as Weight))171	}172	// Storage: Refungible Balance (r:2 w:2)173	// Storage: Refungible AccountBalance (r:2 w:2)174	// Storage: Refungible Owned (r:0 w:2)175	fn transfer_creating_removing() -> Weight {176		(28_553_000 as Weight)177			.saturating_add(T::DbWeight::get().reads(4 as Weight))178			.saturating_add(T::DbWeight::get().writes(6 as Weight))179	}180	// Storage: Refungible Balance (r:1 w:0)181	// Storage: Refungible Allowance (r:0 w:1)182	fn approve() -> Weight {183		(15_356_000 as Weight)184			.saturating_add(T::DbWeight::get().reads(1 as Weight))185			.saturating_add(T::DbWeight::get().writes(1 as Weight))186	}187	// Storage: Refungible Allowance (r:1 w:1)188	// Storage: Refungible Balance (r:2 w:2)189	fn transfer_from_normal() -> Weight {190		(28_832_000 as Weight)191			.saturating_add(T::DbWeight::get().reads(3 as Weight))192			.saturating_add(T::DbWeight::get().writes(3 as Weight))193	}194	// Storage: Refungible Allowance (r:1 w:1)195	// Storage: Refungible Balance (r:2 w:2)196	// Storage: Refungible AccountBalance (r:1 w:1)197	// Storage: Refungible Owned (r:0 w:1)198	fn transfer_from_creating() -> Weight {199		(32_132_000 as Weight)200			.saturating_add(T::DbWeight::get().reads(4 as Weight))201			.saturating_add(T::DbWeight::get().writes(5 as Weight))202	}203	// Storage: Refungible Allowance (r:1 w:1)204	// Storage: Refungible Balance (r:2 w:2)205	// Storage: Refungible AccountBalance (r:1 w:1)206	// Storage: Refungible Owned (r:0 w:1)207	fn transfer_from_removing() -> Weight {208		(33_237_000 as Weight)209			.saturating_add(T::DbWeight::get().reads(4 as Weight))210			.saturating_add(T::DbWeight::get().writes(5 as Weight))211	}212	// Storage: Refungible Allowance (r:1 w:1)213	// Storage: Refungible Balance (r:2 w:2)214	// Storage: Refungible AccountBalance (r:2 w:2)215	// Storage: Refungible Owned (r:0 w:2)216	fn transfer_from_creating_removing() -> Weight {217		(36_399_000 as Weight)218			.saturating_add(T::DbWeight::get().reads(5 as Weight))219			.saturating_add(T::DbWeight::get().writes(7 as Weight))220	}221	// Storage: Refungible Allowance (r:1 w:1)222	// Storage: Refungible TotalSupply (r:1 w:1)223	// Storage: Refungible Balance (r:1 w:1)224	// Storage: Refungible AccountBalance (r:1 w:1)225	// Storage: Refungible TokensBurnt (r:1 w:1)226	// Storage: Refungible TokenData (r:0 w:1)227	// Storage: Refungible Owned (r:0 w:1)228	fn burn_from() -> Weight {229		(42_043_000 as Weight)230			.saturating_add(T::DbWeight::get().reads(5 as Weight))231			.saturating_add(T::DbWeight::get().writes(7 as Weight))232	}233}234235// For backwards compatibility and tests236impl WeightInfo for () {237	// Storage: Refungible TokensMinted (r:1 w:1)238	// Storage: Refungible AccountBalance (r:1 w:1)239	// Storage: Refungible Balance (r:0 w:1)240	// Storage: Refungible TotalSupply (r:0 w:1)241	// Storage: Refungible TokenData (r:0 w:1)242	// Storage: Refungible Owned (r:0 w:1)243	fn create_item() -> Weight {244		(21_255_000 as Weight)245			.saturating_add(RocksDbWeight::get().reads(2 as Weight))246			.saturating_add(RocksDbWeight::get().writes(6 as Weight))247	}248	// Storage: Refungible TokensMinted (r:1 w:1)249	// Storage: Refungible AccountBalance (r:1 w:1)250	// Storage: Refungible Balance (r:0 w:4)251	// Storage: Refungible TotalSupply (r:0 w:4)252	// Storage: Refungible TokenData (r:0 w:4)253	// Storage: Refungible Owned (r:0 w:4)254	fn create_multiple_items(b: u32, ) -> Weight {255		(18_052_000 as Weight)256			// Standard Error: 1_000257			.saturating_add((5_549_000 as Weight).saturating_mul(b as Weight))258			.saturating_add(RocksDbWeight::get().reads(2 as Weight))259			.saturating_add(RocksDbWeight::get().writes(2 as Weight))260			.saturating_add(RocksDbWeight::get().writes((4 as Weight).saturating_mul(b as Weight)))261	}262	// Storage: Refungible TokensMinted (r:1 w:1)263	// Storage: Refungible AccountBalance (r:4 w:4)264	// Storage: Refungible Balance (r:0 w:4)265	// Storage: Refungible TotalSupply (r:0 w:4)266	// Storage: Refungible TokenData (r:0 w:4)267	// Storage: Refungible Owned (r:0 w:4)268	fn create_multiple_items_ex_multiple_items(b: u32, ) -> Weight {269		(15_766_000 as Weight)270			// Standard Error: 2_000271			.saturating_add((8_187_000 as Weight).saturating_mul(b as Weight))272			.saturating_add(RocksDbWeight::get().reads(1 as Weight))273			.saturating_add(RocksDbWeight::get().reads((1 as Weight).saturating_mul(b as Weight)))274			.saturating_add(RocksDbWeight::get().writes(1 as Weight))275			.saturating_add(RocksDbWeight::get().writes((5 as Weight).saturating_mul(b as Weight)))276	}277	// Storage: Refungible TokensMinted (r:1 w:1)278	// Storage: Refungible TotalSupply (r:0 w:1)279	// Storage: Refungible TokenData (r:0 w:1)280	// Storage: Refungible AccountBalance (r:4 w:4)281	// Storage: Refungible Balance (r:0 w:4)282	// Storage: Refungible Owned (r:0 w:4)283	fn create_multiple_items_ex_multiple_owners(b: u32, ) -> Weight {284		(5_675_000 as Weight)285			// Standard Error: 2_000286			.saturating_add((6_315_000 as Weight).saturating_mul(b as Weight))287			.saturating_add(RocksDbWeight::get().reads(1 as Weight))288			.saturating_add(RocksDbWeight::get().reads((1 as Weight).saturating_mul(b as Weight)))289			.saturating_add(RocksDbWeight::get().writes(3 as Weight))290			.saturating_add(RocksDbWeight::get().writes((3 as Weight).saturating_mul(b as Weight)))291	}292	// Storage: Refungible TotalSupply (r:1 w:1)293	// Storage: Refungible Balance (r:1 w:1)294	// Storage: Refungible AccountBalance (r:1 w:1)295	// Storage: Refungible Owned (r:0 w:1)296	fn burn_item_partial() -> Weight {297		(23_518_000 as Weight)298			.saturating_add(RocksDbWeight::get().reads(3 as Weight))299			.saturating_add(RocksDbWeight::get().writes(4 as Weight))300	}301	// Storage: Refungible TotalSupply (r:1 w:1)302	// Storage: Refungible Balance (r:1 w:1)303	// Storage: Refungible AccountBalance (r:1 w:1)304	// Storage: Refungible TokensBurnt (r:1 w:1)305	// Storage: Refungible TokenData (r:0 w:1)306	// Storage: Refungible Owned (r:0 w:1)307	fn burn_item_fully() -> Weight {308		(32_489_000 as Weight)309			.saturating_add(RocksDbWeight::get().reads(4 as Weight))310			.saturating_add(RocksDbWeight::get().writes(6 as Weight))311	}312313	fn set_token_properties(_amount: u32) -> Weight {314		// Error315		0316	}317318	fn delete_token_properties(_amount: u32) -> Weight {319		// Error320		0321	}322323	fn set_token_property_permissions(_amount: u32) -> Weight {324		// Error325		0326	}327328	// Storage: Refungible Balance (r:2 w:2)329	fn transfer_normal() -> Weight {330		(19_766_000 as Weight)331			.saturating_add(RocksDbWeight::get().reads(2 as Weight))332			.saturating_add(RocksDbWeight::get().writes(2 as Weight))333	}334	// Storage: Refungible Balance (r:2 w:2)335	// Storage: Refungible AccountBalance (r:1 w:1)336	// Storage: Refungible Owned (r:0 w:1)337	fn transfer_creating() -> Weight {338		(23_360_000 as Weight)339			.saturating_add(RocksDbWeight::get().reads(3 as Weight))340			.saturating_add(RocksDbWeight::get().writes(4 as Weight))341	}342	// Storage: Refungible Balance (r:2 w:2)343	// Storage: Refungible AccountBalance (r:1 w:1)344	// Storage: Refungible Owned (r:0 w:1)345	fn transfer_removing() -> Weight {346		(25_344_000 as Weight)347			.saturating_add(RocksDbWeight::get().reads(3 as Weight))348			.saturating_add(RocksDbWeight::get().writes(4 as Weight))349	}350	// Storage: Refungible Balance (r:2 w:2)351	// Storage: Refungible AccountBalance (r:2 w:2)352	// Storage: Refungible Owned (r:0 w:2)353	fn transfer_creating_removing() -> Weight {354		(28_553_000 as Weight)355			.saturating_add(RocksDbWeight::get().reads(4 as Weight))356			.saturating_add(RocksDbWeight::get().writes(6 as Weight))357	}358	// Storage: Refungible Balance (r:1 w:0)359	// Storage: Refungible Allowance (r:0 w:1)360	fn approve() -> Weight {361		(15_356_000 as Weight)362			.saturating_add(RocksDbWeight::get().reads(1 as Weight))363			.saturating_add(RocksDbWeight::get().writes(1 as Weight))364	}365	// Storage: Refungible Allowance (r:1 w:1)366	// Storage: Refungible Balance (r:2 w:2)367	fn transfer_from_normal() -> Weight {368		(28_832_000 as Weight)369			.saturating_add(RocksDbWeight::get().reads(3 as Weight))370			.saturating_add(RocksDbWeight::get().writes(3 as Weight))371	}372	// Storage: Refungible Allowance (r:1 w:1)373	// Storage: Refungible Balance (r:2 w:2)374	// Storage: Refungible AccountBalance (r:1 w:1)375	// Storage: Refungible Owned (r:0 w:1)376	fn transfer_from_creating() -> Weight {377		(32_132_000 as Weight)378			.saturating_add(RocksDbWeight::get().reads(4 as Weight))379			.saturating_add(RocksDbWeight::get().writes(5 as Weight))380	}381	// Storage: Refungible Allowance (r:1 w:1)382	// Storage: Refungible Balance (r:2 w:2)383	// Storage: Refungible AccountBalance (r:1 w:1)384	// Storage: Refungible Owned (r:0 w:1)385	fn transfer_from_removing() -> Weight {386		(33_237_000 as Weight)387			.saturating_add(RocksDbWeight::get().reads(4 as Weight))388			.saturating_add(RocksDbWeight::get().writes(5 as Weight))389	}390	// Storage: Refungible Allowance (r:1 w:1)391	// Storage: Refungible Balance (r:2 w:2)392	// Storage: Refungible AccountBalance (r:2 w:2)393	// Storage: Refungible Owned (r:0 w:2)394	fn transfer_from_creating_removing() -> Weight {395		(36_399_000 as Weight)396			.saturating_add(RocksDbWeight::get().reads(5 as Weight))397			.saturating_add(RocksDbWeight::get().writes(7 as Weight))398	}399	// Storage: Refungible Allowance (r:1 w:1)400	// Storage: Refungible TotalSupply (r:1 w:1)401	// Storage: Refungible Balance (r:1 w:1)402	// Storage: Refungible AccountBalance (r:1 w:1)403	// Storage: Refungible TokensBurnt (r:1 w:1)404	// Storage: Refungible TokenData (r:0 w:1)405	// Storage: Refungible Owned (r:0 w:1)406	fn burn_from() -> Weight {407		(42_043_000 as Weight)408			.saturating_add(RocksDbWeight::get().reads(5 as Weight))409			.saturating_add(RocksDbWeight::get().writes(7 as Weight))410	}411}
after · pallets/refungible/src/weights.rs
1// Template adopted from https://github.com/paritytech/substrate/blob/master/.maintain/frame-weight-template.hbs23//! Autogenerated weights for pallet_refungible4//!5//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev6//! DATE: 2022-06-15, STEPS: `50`, REPEAT: 80, LOW RANGE: `[]`, HIGH RANGE: `[]`7//! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 102489// Executed Command:10// target/release/unique-collator11// benchmark12// pallet13// --pallet14// pallet-refungible15// --wasm-execution16// compiled17// --extrinsic18// *19// --template20// .maintain/frame-weight-template.hbs21// --steps=5022// --repeat=8023// --heap-pages=409624// --output=./pallets/refungible/src/weights.rs2526#![cfg_attr(rustfmt, rustfmt_skip)]27#![allow(unused_parens)]28#![allow(unused_imports)]29#![allow(clippy::unnecessary_cast)]3031use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}};32use sp_std::marker::PhantomData;3334/// Weight functions needed for pallet_refungible.35pub trait WeightInfo {36	fn create_item() -> Weight;37	fn create_multiple_items(b: u32, ) -> Weight;38	fn create_multiple_items_ex_multiple_items(b: u32, ) -> Weight;39	fn create_multiple_items_ex_multiple_owners(b: u32, ) -> Weight;40	fn burn_item_partial() -> Weight;41	fn burn_item_fully() -> Weight;42	fn transfer_normal() -> Weight;43	fn transfer_creating() -> Weight;44	fn transfer_removing() -> Weight;45	fn transfer_creating_removing() -> Weight;46	fn approve() -> Weight;47	fn transfer_from_normal() -> Weight;48	fn transfer_from_creating() -> Weight;49	fn transfer_from_removing() -> Weight;50	fn transfer_from_creating_removing() -> Weight;51	fn burn_from() -> Weight;52}5354/// Weights for pallet_refungible using the Substrate node and recommended hardware.55pub struct SubstrateWeight<T>(PhantomData<T>);56impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {57	// Storage: Refungible TokensMinted (r:1 w:1)58	// Storage: Refungible AccountBalance (r:1 w:1)59	// Storage: Refungible Balance (r:0 w:1)60	// Storage: Refungible TotalSupply (r:0 w:1)61	// Storage: Refungible TokenData (r:0 w:1)62	// Storage: Refungible Owned (r:0 w:1)63	fn create_item() -> Weight {64		(21_321_000 as Weight)65			.saturating_add(T::DbWeight::get().reads(2 as Weight))66			.saturating_add(T::DbWeight::get().writes(6 as Weight))67	}68	// Storage: Refungible TokensMinted (r:1 w:1)69	// Storage: Refungible AccountBalance (r:1 w:1)70	// Storage: Refungible Balance (r:0 w:4)71	// Storage: Refungible TotalSupply (r:0 w:4)72	// Storage: Refungible TokenData (r:0 w:4)73	// Storage: Refungible Owned (r:0 w:4)74	fn create_multiple_items(b: u32, ) -> Weight {75		(16_313_000 as Weight)76			// Standard Error: 4_00077			.saturating_add((5_464_000 as Weight).saturating_mul(b as Weight))78			.saturating_add(T::DbWeight::get().reads(2 as Weight))79			.saturating_add(T::DbWeight::get().writes(2 as Weight))80			.saturating_add(T::DbWeight::get().writes((4 as Weight).saturating_mul(b as Weight)))81	}82	// Storage: Refungible TokensMinted (r:1 w:1)83	// Storage: Refungible AccountBalance (r:4 w:4)84	// Storage: Refungible Balance (r:0 w:4)85	// Storage: Refungible TotalSupply (r:0 w:4)86	// Storage: Refungible TokenData (r:0 w:4)87	// Storage: Refungible Owned (r:0 w:4)88	fn create_multiple_items_ex_multiple_items(b: u32, ) -> Weight {89		(15_631_000 as Weight)90			// Standard Error: 5_00091			.saturating_add((8_141_000 as Weight).saturating_mul(b as Weight))92			.saturating_add(T::DbWeight::get().reads(1 as Weight))93			.saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(b as Weight)))94			.saturating_add(T::DbWeight::get().writes(1 as Weight))95			.saturating_add(T::DbWeight::get().writes((5 as Weight).saturating_mul(b as Weight)))96	}97	// Storage: Refungible TokensMinted (r:1 w:1)98	// Storage: Refungible TotalSupply (r:0 w:1)99	// Storage: Refungible TokenData (r:0 w:1)100	// Storage: Refungible AccountBalance (r:4 w:4)101	// Storage: Refungible Balance (r:0 w:4)102	// Storage: Refungible Owned (r:0 w:4)103	fn create_multiple_items_ex_multiple_owners(b: u32, ) -> Weight {104		(11_191_000 as Weight)105			// Standard Error: 4_000106			.saturating_add((6_321_000 as Weight).saturating_mul(b as Weight))107			.saturating_add(T::DbWeight::get().reads(1 as Weight))108			.saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(b as Weight)))109			.saturating_add(T::DbWeight::get().writes(3 as Weight))110			.saturating_add(T::DbWeight::get().writes((3 as Weight).saturating_mul(b as Weight)))111	}112	// Storage: Refungible TotalSupply (r:1 w:1)113	// Storage: Refungible Balance (r:1 w:1)114	// Storage: Refungible AccountBalance (r:1 w:1)115	// Storage: Refungible Owned (r:0 w:1)116	fn burn_item_partial() -> Weight {117		(24_421_000 as Weight)118			.saturating_add(T::DbWeight::get().reads(3 as Weight))119			.saturating_add(T::DbWeight::get().writes(4 as Weight))120	}121	// Storage: Refungible TotalSupply (r:1 w:1)122	// Storage: Refungible Balance (r:1 w:1)123	// Storage: Refungible AccountBalance (r:1 w:1)124	// Storage: Refungible TokensBurnt (r:1 w:1)125	// Storage: Refungible TokenData (r:0 w:1)126	// Storage: Refungible Owned (r:0 w:1)127	fn burn_item_fully() -> Weight {128		(32_900_000 as Weight)129			.saturating_add(T::DbWeight::get().reads(4 as Weight))130			.saturating_add(T::DbWeight::get().writes(6 as Weight))131	}132	// Storage: Refungible Balance (r:2 w:2)133	fn transfer_normal() -> Weight {134		(20_215_000 as Weight)135			.saturating_add(T::DbWeight::get().reads(2 as Weight))136			.saturating_add(T::DbWeight::get().writes(2 as Weight))137	}138	// Storage: Refungible Balance (r:2 w:2)139	// Storage: Refungible AccountBalance (r:1 w:1)140	// Storage: Refungible Owned (r:0 w:1)141	fn transfer_creating() -> Weight {142		(24_809_000 as Weight)143			.saturating_add(T::DbWeight::get().reads(3 as Weight))144			.saturating_add(T::DbWeight::get().writes(4 as Weight))145	}146	// Storage: Refungible Balance (r:2 w:2)147	// Storage: Refungible AccountBalance (r:1 w:1)148	// Storage: Refungible Owned (r:0 w:1)149	fn transfer_removing() -> Weight {150		(26_704_000 as Weight)151			.saturating_add(T::DbWeight::get().reads(3 as Weight))152			.saturating_add(T::DbWeight::get().writes(4 as Weight))153	}154	// Storage: Refungible Balance (r:2 w:2)155	// Storage: Refungible AccountBalance (r:2 w:2)156	// Storage: Refungible Owned (r:0 w:2)157	fn transfer_creating_removing() -> Weight {158		(28_728_000 as Weight)159			.saturating_add(T::DbWeight::get().reads(4 as Weight))160			.saturating_add(T::DbWeight::get().writes(6 as Weight))161	}162	// Storage: Refungible Balance (r:1 w:0)163	// Storage: Refungible Allowance (r:0 w:1)164	fn approve() -> Weight {165		(16_107_000 as Weight)166			.saturating_add(T::DbWeight::get().reads(1 as Weight))167			.saturating_add(T::DbWeight::get().writes(1 as Weight))168	}169	// Storage: Refungible Allowance (r:1 w:1)170	// Storage: Refungible Balance (r:2 w:2)171	fn transfer_from_normal() -> Weight {172		(28_765_000 as Weight)173			.saturating_add(T::DbWeight::get().reads(3 as Weight))174			.saturating_add(T::DbWeight::get().writes(3 as Weight))175	}176	// Storage: Refungible Allowance (r:1 w:1)177	// Storage: Refungible Balance (r:2 w:2)178	// Storage: Refungible AccountBalance (r:1 w:1)179	// Storage: Refungible Owned (r:0 w:1)180	fn transfer_from_creating() -> Weight {181		(32_788_000 as Weight)182			.saturating_add(T::DbWeight::get().reads(4 as Weight))183			.saturating_add(T::DbWeight::get().writes(5 as Weight))184	}185	// Storage: Refungible Allowance (r:1 w:1)186	// Storage: Refungible Balance (r:2 w:2)187	// Storage: Refungible AccountBalance (r:1 w:1)188	// Storage: Refungible Owned (r:0 w:1)189	fn transfer_from_removing() -> Weight {190		(34_523_000 as Weight)191			.saturating_add(T::DbWeight::get().reads(4 as Weight))192			.saturating_add(T::DbWeight::get().writes(5 as Weight))193	}194	// Storage: Refungible Allowance (r:1 w:1)195	// Storage: Refungible Balance (r:2 w:2)196	// Storage: Refungible AccountBalance (r:2 w:2)197	// Storage: Refungible Owned (r:0 w:2)198	fn transfer_from_creating_removing() -> Weight {199		(36_749_000 as Weight)200			.saturating_add(T::DbWeight::get().reads(5 as Weight))201			.saturating_add(T::DbWeight::get().writes(7 as Weight))202	}203	// Storage: Refungible Allowance (r:1 w:1)204	// Storage: Refungible TotalSupply (r:1 w:1)205	// Storage: Refungible Balance (r:1 w:1)206	// Storage: Refungible AccountBalance (r:1 w:1)207	// Storage: Refungible TokensBurnt (r:1 w:1)208	// Storage: Refungible TokenData (r:0 w:1)209	// Storage: Refungible Owned (r:0 w:1)210	fn burn_from() -> Weight {211		(42_259_000 as Weight)212			.saturating_add(T::DbWeight::get().reads(5 as Weight))213			.saturating_add(T::DbWeight::get().writes(7 as Weight))214	}215}216217// For backwards compatibility and tests218impl WeightInfo for () {219	// Storage: Refungible TokensMinted (r:1 w:1)220	// Storage: Refungible AccountBalance (r:1 w:1)221	// Storage: Refungible Balance (r:0 w:1)222	// Storage: Refungible TotalSupply (r:0 w:1)223	// Storage: Refungible TokenData (r:0 w:1)224	// Storage: Refungible Owned (r:0 w:1)225	fn create_item() -> Weight {226		(21_321_000 as Weight)227			.saturating_add(RocksDbWeight::get().reads(2 as Weight))228			.saturating_add(RocksDbWeight::get().writes(6 as Weight))229	}230	// Storage: Refungible TokensMinted (r:1 w:1)231	// Storage: Refungible AccountBalance (r:1 w:1)232	// Storage: Refungible Balance (r:0 w:4)233	// Storage: Refungible TotalSupply (r:0 w:4)234	// Storage: Refungible TokenData (r:0 w:4)235	// Storage: Refungible Owned (r:0 w:4)236	fn create_multiple_items(b: u32, ) -> Weight {237		(16_313_000 as Weight)238			// Standard Error: 4_000239			.saturating_add((5_464_000 as Weight).saturating_mul(b as Weight))240			.saturating_add(RocksDbWeight::get().reads(2 as Weight))241			.saturating_add(RocksDbWeight::get().writes(2 as Weight))242			.saturating_add(RocksDbWeight::get().writes((4 as Weight).saturating_mul(b as Weight)))243	}244	// Storage: Refungible TokensMinted (r:1 w:1)245	// Storage: Refungible AccountBalance (r:4 w:4)246	// Storage: Refungible Balance (r:0 w:4)247	// Storage: Refungible TotalSupply (r:0 w:4)248	// Storage: Refungible TokenData (r:0 w:4)249	// Storage: Refungible Owned (r:0 w:4)250	fn create_multiple_items_ex_multiple_items(b: u32, ) -> Weight {251		(15_631_000 as Weight)252			// Standard Error: 5_000253			.saturating_add((8_141_000 as Weight).saturating_mul(b as Weight))254			.saturating_add(RocksDbWeight::get().reads(1 as Weight))255			.saturating_add(RocksDbWeight::get().reads((1 as Weight).saturating_mul(b as Weight)))256			.saturating_add(RocksDbWeight::get().writes(1 as Weight))257			.saturating_add(RocksDbWeight::get().writes((5 as Weight).saturating_mul(b as Weight)))258	}259	// Storage: Refungible TokensMinted (r:1 w:1)260	// Storage: Refungible TotalSupply (r:0 w:1)261	// Storage: Refungible TokenData (r:0 w:1)262	// Storage: Refungible AccountBalance (r:4 w:4)263	// Storage: Refungible Balance (r:0 w:4)264	// Storage: Refungible Owned (r:0 w:4)265	fn create_multiple_items_ex_multiple_owners(b: u32, ) -> Weight {266		(11_191_000 as Weight)267			// Standard Error: 4_000268			.saturating_add((6_321_000 as Weight).saturating_mul(b as Weight))269			.saturating_add(RocksDbWeight::get().reads(1 as Weight))270			.saturating_add(RocksDbWeight::get().reads((1 as Weight).saturating_mul(b as Weight)))271			.saturating_add(RocksDbWeight::get().writes(3 as Weight))272			.saturating_add(RocksDbWeight::get().writes((3 as Weight).saturating_mul(b as Weight)))273	}274	// Storage: Refungible TotalSupply (r:1 w:1)275	// Storage: Refungible Balance (r:1 w:1)276	// Storage: Refungible AccountBalance (r:1 w:1)277	// Storage: Refungible Owned (r:0 w:1)278	fn burn_item_partial() -> Weight {279		(24_421_000 as Weight)280			.saturating_add(RocksDbWeight::get().reads(3 as Weight))281			.saturating_add(RocksDbWeight::get().writes(4 as Weight))282	}283	// Storage: Refungible TotalSupply (r:1 w:1)284	// Storage: Refungible Balance (r:1 w:1)285	// Storage: Refungible AccountBalance (r:1 w:1)286	// Storage: Refungible TokensBurnt (r:1 w:1)287	// Storage: Refungible TokenData (r:0 w:1)288	// Storage: Refungible Owned (r:0 w:1)289	fn burn_item_fully() -> Weight {290		(32_900_000 as Weight)291			.saturating_add(RocksDbWeight::get().reads(4 as Weight))292			.saturating_add(RocksDbWeight::get().writes(6 as Weight))293	}294	// Storage: Refungible Balance (r:2 w:2)295	fn transfer_normal() -> Weight {296		(20_215_000 as Weight)297			.saturating_add(RocksDbWeight::get().reads(2 as Weight))298			.saturating_add(RocksDbWeight::get().writes(2 as Weight))299	}300	// Storage: Refungible Balance (r:2 w:2)301	// Storage: Refungible AccountBalance (r:1 w:1)302	// Storage: Refungible Owned (r:0 w:1)303	fn transfer_creating() -> Weight {304		(24_809_000 as Weight)305			.saturating_add(RocksDbWeight::get().reads(3 as Weight))306			.saturating_add(RocksDbWeight::get().writes(4 as Weight))307	}308	// Storage: Refungible Balance (r:2 w:2)309	// Storage: Refungible AccountBalance (r:1 w:1)310	// Storage: Refungible Owned (r:0 w:1)311	fn transfer_removing() -> Weight {312		(26_704_000 as Weight)313			.saturating_add(RocksDbWeight::get().reads(3 as Weight))314			.saturating_add(RocksDbWeight::get().writes(4 as Weight))315	}316	// Storage: Refungible Balance (r:2 w:2)317	// Storage: Refungible AccountBalance (r:2 w:2)318	// Storage: Refungible Owned (r:0 w:2)319	fn transfer_creating_removing() -> Weight {320		(28_728_000 as Weight)321			.saturating_add(RocksDbWeight::get().reads(4 as Weight))322			.saturating_add(RocksDbWeight::get().writes(6 as Weight))323	}324	// Storage: Refungible Balance (r:1 w:0)325	// Storage: Refungible Allowance (r:0 w:1)326	fn approve() -> Weight {327		(16_107_000 as Weight)328			.saturating_add(RocksDbWeight::get().reads(1 as Weight))329			.saturating_add(RocksDbWeight::get().writes(1 as Weight))330	}331	// Storage: Refungible Allowance (r:1 w:1)332	// Storage: Refungible Balance (r:2 w:2)333	fn transfer_from_normal() -> Weight {334		(28_765_000 as Weight)335			.saturating_add(RocksDbWeight::get().reads(3 as Weight))336			.saturating_add(RocksDbWeight::get().writes(3 as Weight))337	}338	// Storage: Refungible Allowance (r:1 w:1)339	// Storage: Refungible Balance (r:2 w:2)340	// Storage: Refungible AccountBalance (r:1 w:1)341	// Storage: Refungible Owned (r:0 w:1)342	fn transfer_from_creating() -> Weight {343		(32_788_000 as Weight)344			.saturating_add(RocksDbWeight::get().reads(4 as Weight))345			.saturating_add(RocksDbWeight::get().writes(5 as Weight))346	}347	// Storage: Refungible Allowance (r:1 w:1)348	// Storage: Refungible Balance (r:2 w:2)349	// Storage: Refungible AccountBalance (r:1 w:1)350	// Storage: Refungible Owned (r:0 w:1)351	fn transfer_from_removing() -> Weight {352		(34_523_000 as Weight)353			.saturating_add(RocksDbWeight::get().reads(4 as Weight))354			.saturating_add(RocksDbWeight::get().writes(5 as Weight))355	}356	// Storage: Refungible Allowance (r:1 w:1)357	// Storage: Refungible Balance (r:2 w:2)358	// Storage: Refungible AccountBalance (r:2 w:2)359	// Storage: Refungible Owned (r:0 w:2)360	fn transfer_from_creating_removing() -> Weight {361		(36_749_000 as Weight)362			.saturating_add(RocksDbWeight::get().reads(5 as Weight))363			.saturating_add(RocksDbWeight::get().writes(7 as Weight))364	}365	// Storage: Refungible Allowance (r:1 w:1)366	// Storage: Refungible TotalSupply (r:1 w:1)367	// Storage: Refungible Balance (r:1 w:1)368	// Storage: Refungible AccountBalance (r:1 w:1)369	// Storage: Refungible TokensBurnt (r:1 w:1)370	// Storage: Refungible TokenData (r:0 w:1)371	// Storage: Refungible Owned (r:0 w:1)372	fn burn_from() -> Weight {373		(42_259_000 as Weight)374			.saturating_add(RocksDbWeight::get().reads(5 as Weight))375			.saturating_add(RocksDbWeight::get().writes(7 as Weight))376	}377}
modifiedpallets/scheduler/src/weights.rsdiffbeforeafterboth
--- a/pallets/scheduler/src/weights.rs
+++ b/pallets/scheduler/src/weights.rs
@@ -3,7 +3,7 @@
 //! Autogenerated weights for pallet_unique_scheduler
 //!
 //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
-//! DATE: 2022-06-09, STEPS: `50`, REPEAT: 200, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! DATE: 2022-06-15, STEPS: `50`, REPEAT: 80, LOW RANGE: `[]`, HIGH RANGE: `[]`
 //! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024
 
 // Executed Command:
@@ -19,7 +19,7 @@
 // --template
 // .maintain/frame-weight-template.hbs
 // --steps=50
-// --repeat=200
+// --repeat=80
 // --heap-pages=4096
 // --output=./pallets/scheduler/src/weights.rs
 
@@ -55,9 +55,9 @@
 	// Storage: System BlockWeight (r:1 w:1)
 	// Storage: Scheduler Lookup (r:0 w:1)
 	fn on_initialize_periodic_named_resolved(s: u32, ) -> Weight {
-		(35_999_000 as Weight)
-			// Standard Error: 3_000
-			.saturating_add((32_234_000 as Weight).saturating_mul(s as Weight))
+		(27_374_000 as Weight)
+			// Standard Error: 7_000
+			.saturating_add((9_673_000 as Weight).saturating_mul(s as Weight))
 			.saturating_add(T::DbWeight::get().reads(4 as Weight))
 			.saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(s as Weight)))
 			.saturating_add(T::DbWeight::get().writes(4 as Weight))
@@ -69,9 +69,9 @@
 	// Storage: System BlockWeight (r:1 w:1)
 	// Storage: Scheduler Lookup (r:0 w:1)
 	fn on_initialize_named_resolved(s: u32, ) -> Weight {
-		(34_874_000 as Weight)
-			// Standard Error: 2_000
-			.saturating_add((23_114_000 as Weight).saturating_mul(s as Weight))
+		(25_967_000 as Weight)
+			// Standard Error: 6_000
+			.saturating_add((5_916_000 as Weight).saturating_mul(s as Weight))
 			.saturating_add(T::DbWeight::get().reads(4 as Weight))
 			.saturating_add(T::DbWeight::get().writes(4 as Weight))
 			.saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(s as Weight)))
@@ -82,9 +82,9 @@
 	// Storage: System BlockWeight (r:1 w:1)
 	// Storage: Scheduler Lookup (r:0 w:1)
 	fn on_initialize_periodic(s: u32, ) -> Weight {
-		(36_469_000 as Weight)
-			// Standard Error: 3_000
-			.saturating_add((32_202_000 as Weight).saturating_mul(s as Weight))
+		(27_097_000 as Weight)
+			// Standard Error: 5_000
+			.saturating_add((9_652_000 as Weight).saturating_mul(s as Weight))
 			.saturating_add(T::DbWeight::get().reads(4 as Weight))
 			.saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(s as Weight)))
 			.saturating_add(T::DbWeight::get().writes(4 as Weight))
@@ -96,9 +96,9 @@
 	// Storage: System BlockWeight (r:1 w:1)
 	// Storage: Scheduler Lookup (r:0 w:1)
 	fn on_initialize_periodic_resolved(s: u32, ) -> Weight {
-		(35_352_000 as Weight)
-			// Standard Error: 3_000
-			.saturating_add((32_309_000 as Weight).saturating_mul(s as Weight))
+		(43_116_000 as Weight)
+			// Standard Error: 18_000
+			.saturating_add((8_352_000 as Weight).saturating_mul(s as Weight))
 			.saturating_add(T::DbWeight::get().reads(4 as Weight))
 			.saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(s as Weight)))
 			.saturating_add(T::DbWeight::get().writes(4 as Weight))
@@ -107,9 +107,9 @@
 	// Storage: Scheduler Agenda (r:2 w:2)
 	// Storage: Scheduler Lookup (r:0 w:1)
 	fn on_initialize_aborted(s: u32, ) -> Weight {
-		(11_267_000 as Weight)
-			// Standard Error: 1_000
-			.saturating_add((9_368_000 as Weight).saturating_mul(s as Weight))
+		(4_921_000 as Weight)
+			// Standard Error: 4_000
+			.saturating_add((2_249_000 as Weight).saturating_mul(s as Weight))
 			.saturating_add(T::DbWeight::get().reads(2 as Weight))
 			.saturating_add(T::DbWeight::get().writes(2 as Weight))
 			.saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(s as Weight)))
@@ -120,9 +120,9 @@
 	// Storage: System BlockWeight (r:1 w:1)
 	// Storage: Scheduler Lookup (r:0 w:1)
 	fn on_initialize_named_aborted(s: u32, ) -> Weight {
-		(35_937_000 as Weight)
-			// Standard Error: 3_000
-			.saturating_add((23_037_000 as Weight).saturating_mul(s as Weight))
+		(26_934_000 as Weight)
+			// Standard Error: 7_000
+			.saturating_add((5_819_000 as Weight).saturating_mul(s as Weight))
 			.saturating_add(T::DbWeight::get().reads(4 as Weight))
 			.saturating_add(T::DbWeight::get().writes(4 as Weight))
 			.saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(s as Weight)))
@@ -130,9 +130,9 @@
 	// Storage: Scheduler Agenda (r:2 w:2)
 	// Storage: Scheduler Lookup (r:0 w:1)
 	fn on_initialize_named(s: u32, ) -> Weight {
-		(10_338_000 as Weight)
-			// Standard Error: 2_000
-			.saturating_add((9_422_000 as Weight).saturating_mul(s as Weight))
+		(6_423_000 as Weight)
+			// Standard Error: 1_000
+			.saturating_add((2_141_000 as Weight).saturating_mul(s as Weight))
 			.saturating_add(T::DbWeight::get().reads(2 as Weight))
 			.saturating_add(T::DbWeight::get().writes(2 as Weight))
 			.saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(s as Weight)))
@@ -143,9 +143,9 @@
 	// Storage: System BlockWeight (r:1 w:1)
 	// Storage: Scheduler Lookup (r:0 w:1)
 	fn on_initialize(s: u32, ) -> Weight {
-		(37_448_000 as Weight)
-			// Standard Error: 7_000
-			.saturating_add((22_907_000 as Weight).saturating_mul(s as Weight))
+		(27_586_000 as Weight)
+			// Standard Error: 11_000
+			.saturating_add((5_264_000 as Weight).saturating_mul(s as Weight))
 			.saturating_add(T::DbWeight::get().reads(4 as Weight))
 			.saturating_add(T::DbWeight::get().writes(4 as Weight))
 			.saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(s as Weight)))
@@ -156,9 +156,9 @@
 	// Storage: System BlockWeight (r:1 w:1)
 	// Storage: Scheduler Lookup (r:0 w:1)
 	fn on_initialize_resolved(s: u32, ) -> Weight {
-		(34_841_000 as Weight)
-			// Standard Error: 7_000
-			.saturating_add((22_966_000 as Weight).saturating_mul(s as Weight))
+		(24_356_000 as Weight)
+			// Standard Error: 4_000
+			.saturating_add((5_301_000 as Weight).saturating_mul(s as Weight))
 			.saturating_add(T::DbWeight::get().reads(4 as Weight))
 			.saturating_add(T::DbWeight::get().writes(4 as Weight))
 			.saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(s as Weight)))
@@ -166,18 +166,18 @@
 	// Storage: Scheduler Lookup (r:1 w:1)
 	// Storage: Scheduler Agenda (r:1 w:1)
 	fn schedule_named(s: u32, ) -> Weight {
-		(33_845_000 as Weight)
-			// Standard Error: 0
-			.saturating_add((168_000 as Weight).saturating_mul(s as Weight))
+		(14_871_000 as Weight)
+			// Standard Error: 1_000
+			.saturating_add((183_000 as Weight).saturating_mul(s as Weight))
 			.saturating_add(T::DbWeight::get().reads(2 as Weight))
 			.saturating_add(T::DbWeight::get().writes(2 as Weight))
 	}
 	// Storage: Scheduler Lookup (r:1 w:1)
 	// Storage: Scheduler Agenda (r:1 w:1)
 	fn cancel_named(s: u32, ) -> Weight {
-		(31_169_000 as Weight)
+		(16_676_000 as Weight)
 			// Standard Error: 1_000
-			.saturating_add((1_565_000 as Weight).saturating_mul(s as Weight))
+			.saturating_add((500_000 as Weight).saturating_mul(s as Weight))
 			.saturating_add(T::DbWeight::get().reads(2 as Weight))
 			.saturating_add(T::DbWeight::get().writes(2 as Weight))
 	}
@@ -191,9 +191,9 @@
 	// Storage: System BlockWeight (r:1 w:1)
 	// Storage: Scheduler Lookup (r:0 w:1)
 	fn on_initialize_periodic_named_resolved(s: u32, ) -> Weight {
-		(35_999_000 as Weight)
-			// Standard Error: 3_000
-			.saturating_add((32_234_000 as Weight).saturating_mul(s as Weight))
+		(27_374_000 as Weight)
+			// Standard Error: 7_000
+			.saturating_add((9_673_000 as Weight).saturating_mul(s as Weight))
 			.saturating_add(RocksDbWeight::get().reads(4 as Weight))
 			.saturating_add(RocksDbWeight::get().reads((1 as Weight).saturating_mul(s as Weight)))
 			.saturating_add(RocksDbWeight::get().writes(4 as Weight))
@@ -205,9 +205,9 @@
 	// Storage: System BlockWeight (r:1 w:1)
 	// Storage: Scheduler Lookup (r:0 w:1)
 	fn on_initialize_named_resolved(s: u32, ) -> Weight {
-		(34_874_000 as Weight)
-			// Standard Error: 2_000
-			.saturating_add((23_114_000 as Weight).saturating_mul(s as Weight))
+		(25_967_000 as Weight)
+			// Standard Error: 6_000
+			.saturating_add((5_916_000 as Weight).saturating_mul(s as Weight))
 			.saturating_add(RocksDbWeight::get().reads(4 as Weight))
 			.saturating_add(RocksDbWeight::get().writes(4 as Weight))
 			.saturating_add(RocksDbWeight::get().writes((1 as Weight).saturating_mul(s as Weight)))
@@ -218,9 +218,9 @@
 	// Storage: System BlockWeight (r:1 w:1)
 	// Storage: Scheduler Lookup (r:0 w:1)
 	fn on_initialize_periodic(s: u32, ) -> Weight {
-		(36_469_000 as Weight)
-			// Standard Error: 3_000
-			.saturating_add((32_202_000 as Weight).saturating_mul(s as Weight))
+		(27_097_000 as Weight)
+			// Standard Error: 5_000
+			.saturating_add((9_652_000 as Weight).saturating_mul(s as Weight))
 			.saturating_add(RocksDbWeight::get().reads(4 as Weight))
 			.saturating_add(RocksDbWeight::get().reads((1 as Weight).saturating_mul(s as Weight)))
 			.saturating_add(RocksDbWeight::get().writes(4 as Weight))
@@ -232,9 +232,9 @@
 	// Storage: System BlockWeight (r:1 w:1)
 	// Storage: Scheduler Lookup (r:0 w:1)
 	fn on_initialize_periodic_resolved(s: u32, ) -> Weight {
-		(35_352_000 as Weight)
-			// Standard Error: 3_000
-			.saturating_add((32_309_000 as Weight).saturating_mul(s as Weight))
+		(43_116_000 as Weight)
+			// Standard Error: 18_000
+			.saturating_add((8_352_000 as Weight).saturating_mul(s as Weight))
 			.saturating_add(RocksDbWeight::get().reads(4 as Weight))
 			.saturating_add(RocksDbWeight::get().reads((1 as Weight).saturating_mul(s as Weight)))
 			.saturating_add(RocksDbWeight::get().writes(4 as Weight))
@@ -243,9 +243,9 @@
 	// Storage: Scheduler Agenda (r:2 w:2)
 	// Storage: Scheduler Lookup (r:0 w:1)
 	fn on_initialize_aborted(s: u32, ) -> Weight {
-		(11_267_000 as Weight)
-			// Standard Error: 1_000
-			.saturating_add((9_368_000 as Weight).saturating_mul(s as Weight))
+		(4_921_000 as Weight)
+			// Standard Error: 4_000
+			.saturating_add((2_249_000 as Weight).saturating_mul(s as Weight))
 			.saturating_add(RocksDbWeight::get().reads(2 as Weight))
 			.saturating_add(RocksDbWeight::get().writes(2 as Weight))
 			.saturating_add(RocksDbWeight::get().writes((1 as Weight).saturating_mul(s as Weight)))
@@ -256,9 +256,9 @@
 	// Storage: System BlockWeight (r:1 w:1)
 	// Storage: Scheduler Lookup (r:0 w:1)
 	fn on_initialize_named_aborted(s: u32, ) -> Weight {
-		(35_937_000 as Weight)
-			// Standard Error: 3_000
-			.saturating_add((23_037_000 as Weight).saturating_mul(s as Weight))
+		(26_934_000 as Weight)
+			// Standard Error: 7_000
+			.saturating_add((5_819_000 as Weight).saturating_mul(s as Weight))
 			.saturating_add(RocksDbWeight::get().reads(4 as Weight))
 			.saturating_add(RocksDbWeight::get().writes(4 as Weight))
 			.saturating_add(RocksDbWeight::get().writes((1 as Weight).saturating_mul(s as Weight)))
@@ -266,9 +266,9 @@
 	// Storage: Scheduler Agenda (r:2 w:2)
 	// Storage: Scheduler Lookup (r:0 w:1)
 	fn on_initialize_named(s: u32, ) -> Weight {
-		(10_338_000 as Weight)
-			// Standard Error: 2_000
-			.saturating_add((9_422_000 as Weight).saturating_mul(s as Weight))
+		(6_423_000 as Weight)
+			// Standard Error: 1_000
+			.saturating_add((2_141_000 as Weight).saturating_mul(s as Weight))
 			.saturating_add(RocksDbWeight::get().reads(2 as Weight))
 			.saturating_add(RocksDbWeight::get().writes(2 as Weight))
 			.saturating_add(RocksDbWeight::get().writes((1 as Weight).saturating_mul(s as Weight)))
@@ -279,9 +279,9 @@
 	// Storage: System BlockWeight (r:1 w:1)
 	// Storage: Scheduler Lookup (r:0 w:1)
 	fn on_initialize(s: u32, ) -> Weight {
-		(37_448_000 as Weight)
-			// Standard Error: 7_000
-			.saturating_add((22_907_000 as Weight).saturating_mul(s as Weight))
+		(27_586_000 as Weight)
+			// Standard Error: 11_000
+			.saturating_add((5_264_000 as Weight).saturating_mul(s as Weight))
 			.saturating_add(RocksDbWeight::get().reads(4 as Weight))
 			.saturating_add(RocksDbWeight::get().writes(4 as Weight))
 			.saturating_add(RocksDbWeight::get().writes((1 as Weight).saturating_mul(s as Weight)))
@@ -292,9 +292,9 @@
 	// Storage: System BlockWeight (r:1 w:1)
 	// Storage: Scheduler Lookup (r:0 w:1)
 	fn on_initialize_resolved(s: u32, ) -> Weight {
-		(34_841_000 as Weight)
-			// Standard Error: 7_000
-			.saturating_add((22_966_000 as Weight).saturating_mul(s as Weight))
+		(24_356_000 as Weight)
+			// Standard Error: 4_000
+			.saturating_add((5_301_000 as Weight).saturating_mul(s as Weight))
 			.saturating_add(RocksDbWeight::get().reads(4 as Weight))
 			.saturating_add(RocksDbWeight::get().writes(4 as Weight))
 			.saturating_add(RocksDbWeight::get().writes((1 as Weight).saturating_mul(s as Weight)))
@@ -302,18 +302,18 @@
 	// Storage: Scheduler Lookup (r:1 w:1)
 	// Storage: Scheduler Agenda (r:1 w:1)
 	fn schedule_named(s: u32, ) -> Weight {
-		(33_845_000 as Weight)
-			// Standard Error: 0
-			.saturating_add((168_000 as Weight).saturating_mul(s as Weight))
+		(14_871_000 as Weight)
+			// Standard Error: 1_000
+			.saturating_add((183_000 as Weight).saturating_mul(s as Weight))
 			.saturating_add(RocksDbWeight::get().reads(2 as Weight))
 			.saturating_add(RocksDbWeight::get().writes(2 as Weight))
 	}
 	// Storage: Scheduler Lookup (r:1 w:1)
 	// Storage: Scheduler Agenda (r:1 w:1)
 	fn cancel_named(s: u32, ) -> Weight {
-		(31_169_000 as Weight)
+		(16_676_000 as Weight)
 			// Standard Error: 1_000
-			.saturating_add((1_565_000 as Weight).saturating_mul(s as Weight))
+			.saturating_add((500_000 as Weight).saturating_mul(s as Weight))
 			.saturating_add(RocksDbWeight::get().reads(2 as Weight))
 			.saturating_add(RocksDbWeight::get().writes(2 as Weight))
 	}
modifiedpallets/structure/src/weights.rsdiffbeforeafterboth
--- a/pallets/structure/src/weights.rs
+++ b/pallets/structure/src/weights.rs
@@ -3,12 +3,13 @@
 //! Autogenerated weights for pallet_structure
 //!
 //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
-//! DATE: 2022-03-24, STEPS: `50`, REPEAT: 200, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! DATE: 2022-06-15, STEPS: `50`, REPEAT: 200, LOW RANGE: `[]`, HIGH RANGE: `[]`
 //! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024
 
 // Executed Command:
 // target/release/unique-collator
 // benchmark
+// pallet
 // --pallet
 // pallet-structure
 // --wasm-execution
@@ -41,7 +42,7 @@
 	// Storage: Common CollectionById (r:1 w:0)
 	// Storage: Nonfungible TokenData (r:1 w:0)
 	fn find_parent() -> Weight {
-		(6_302_000 as Weight)
+		(7_013_000 as Weight)
 			.saturating_add(T::DbWeight::get().reads(2 as Weight))
 	}
 }
@@ -51,7 +52,7 @@
 	// Storage: Common CollectionById (r:1 w:0)
 	// Storage: Nonfungible TokenData (r:1 w:0)
 	fn find_parent() -> Weight {
-		(6_302_000 as Weight)
+		(7_013_000 as Weight)
 			.saturating_add(RocksDbWeight::get().reads(2 as Weight))
 	}
 }
modifiedpallets/unique/src/weights.rsdiffbeforeafterboth
--- a/pallets/unique/src/weights.rs
+++ b/pallets/unique/src/weights.rs
@@ -3,12 +3,13 @@
 //! Autogenerated weights for pallet_unique
 //!
 //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
-//! DATE: 2022-03-01, STEPS: `50`, REPEAT: 200, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! DATE: 2022-06-15, STEPS: `50`, REPEAT: 80, LOW RANGE: `[]`, HIGH RANGE: `[]`
 //! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024
 
 // Executed Command:
 // target/release/unique-collator
 // benchmark
+// pallet
 // --pallet
 // pallet-unique
 // --wasm-execution
@@ -18,7 +19,7 @@
 // --template
 // .maintain/frame-weight-template.hbs
 // --steps=50
-// --repeat=200
+// --repeat=80
 // --heap-pages=4096
 // --output=./pallets/unique/src/weights.rs
 
@@ -36,8 +37,6 @@
 	fn destroy_collection() -> Weight;
 	fn add_to_allow_list() -> Weight;
 	fn remove_from_allow_list() -> Weight;
-	fn set_public_access_mode() -> Weight;
-	fn set_mint_permission() -> Weight;
 	fn change_collection_owner() -> Weight;
 	fn add_collection_admin() -> Weight;
 	fn remove_collection_admin() -> Weight;
@@ -45,9 +44,6 @@
 	fn confirm_sponsorship() -> Weight;
 	fn remove_collection_sponsor() -> Weight;
 	fn set_transfers_enabled_flag() -> Weight;
-	fn set_offchain_schema(b: u32, ) -> Weight;
-	fn set_const_on_chain_schema(b: u32, ) -> Weight;
-	fn set_schema_version() -> Weight;
 	fn set_collection_limits() -> Weight;
 }
 
@@ -57,51 +53,43 @@
 	// Storage: Common CreatedCollectionCount (r:1 w:1)
 	// Storage: Common DestroyedCollectionCount (r:1 w:0)
 	// Storage: System Account (r:2 w:2)
+	// Storage: Common CollectionPropertyPermissions (r:0 w:1)
+	// Storage: Common CollectionProperties (r:0 w:1)
 	// Storage: Common CollectionById (r:0 w:1)
 	fn create_collection() -> Weight {
-		(28_929_000 as Weight)
+		(39_427_000 as Weight)
 			.saturating_add(T::DbWeight::get().reads(4 as Weight))
-			.saturating_add(T::DbWeight::get().writes(4 as Weight))
+			.saturating_add(T::DbWeight::get().writes(6 as Weight))
 	}
 	// Storage: Common CollectionById (r:1 w:1)
+	// Storage: Nonfungible TokenData (r:1 w:0)
 	// Storage: Common DestroyedCollectionCount (r:1 w:1)
 	// Storage: Nonfungible TokensMinted (r:0 w:1)
 	// Storage: Nonfungible TokensBurnt (r:0 w:1)
 	// Storage: Common AdminAmount (r:0 w:1)
+	// Storage: Common CollectionProperties (r:0 w:1)
 	fn destroy_collection() -> Weight {
-		(40_303_000 as Weight)
-			.saturating_add(T::DbWeight::get().reads(2 as Weight))
-			.saturating_add(T::DbWeight::get().writes(5 as Weight))
+		(48_339_000 as Weight)
+			.saturating_add(T::DbWeight::get().reads(3 as Weight))
+			.saturating_add(T::DbWeight::get().writes(6 as Weight))
 	}
 	// Storage: Common CollectionById (r:1 w:0)
 	// Storage: Common Allowlist (r:0 w:1)
 	fn add_to_allow_list() -> Weight {
-		(15_989_000 as Weight)
+		(17_379_000 as Weight)
 			.saturating_add(T::DbWeight::get().reads(1 as Weight))
 			.saturating_add(T::DbWeight::get().writes(1 as Weight))
 	}
 	// Storage: Common CollectionById (r:1 w:0)
 	// Storage: Common Allowlist (r:0 w:1)
 	fn remove_from_allow_list() -> Weight {
-		(15_582_000 as Weight)
-			.saturating_add(T::DbWeight::get().reads(1 as Weight))
-			.saturating_add(T::DbWeight::get().writes(1 as Weight))
-	}
-	// Storage: Common CollectionById (r:1 w:1)
-	fn set_public_access_mode() -> Weight {
-		(14_846_000 as Weight)
-			.saturating_add(T::DbWeight::get().reads(1 as Weight))
-			.saturating_add(T::DbWeight::get().writes(1 as Weight))
-	}
-	// Storage: Common CollectionById (r:1 w:1)
-	fn set_mint_permission() -> Weight {
-		(14_534_000 as Weight)
+		(17_490_000 as Weight)
 			.saturating_add(T::DbWeight::get().reads(1 as Weight))
 			.saturating_add(T::DbWeight::get().writes(1 as Weight))
 	}
 	// Storage: Common CollectionById (r:1 w:1)
 	fn change_collection_owner() -> Weight {
-		(14_990_000 as Weight)
+		(17_701_000 as Weight)
 			.saturating_add(T::DbWeight::get().reads(1 as Weight))
 			.saturating_add(T::DbWeight::get().writes(1 as Weight))
 	}
@@ -109,7 +97,7 @@
 	// Storage: Common IsAdmin (r:1 w:1)
 	// Storage: Common AdminAmount (r:1 w:1)
 	fn add_collection_admin() -> Weight {
-		(19_957_000 as Weight)
+		(23_301_000 as Weight)
 			.saturating_add(T::DbWeight::get().reads(3 as Weight))
 			.saturating_add(T::DbWeight::get().writes(2 as Weight))
 	}
@@ -117,55 +105,37 @@
 	// Storage: Common IsAdmin (r:1 w:1)
 	// Storage: Common AdminAmount (r:1 w:1)
 	fn remove_collection_admin() -> Weight {
-		(21_209_000 as Weight)
+		(24_859_000 as Weight)
 			.saturating_add(T::DbWeight::get().reads(3 as Weight))
 			.saturating_add(T::DbWeight::get().writes(2 as Weight))
 	}
 	// Storage: Common CollectionById (r:1 w:1)
 	fn set_collection_sponsor() -> Weight {
-		(14_963_000 as Weight)
+		(17_795_000 as Weight)
 			.saturating_add(T::DbWeight::get().reads(1 as Weight))
 			.saturating_add(T::DbWeight::get().writes(1 as Weight))
 	}
 	// Storage: Common CollectionById (r:1 w:1)
 	fn confirm_sponsorship() -> Weight {
-		(14_478_000 as Weight)
+		(17_297_000 as Weight)
 			.saturating_add(T::DbWeight::get().reads(1 as Weight))
 			.saturating_add(T::DbWeight::get().writes(1 as Weight))
 	}
 	// Storage: Common CollectionById (r:1 w:1)
 	fn remove_collection_sponsor() -> Weight {
-		(14_393_000 as Weight)
+		(17_079_000 as Weight)
 			.saturating_add(T::DbWeight::get().reads(1 as Weight))
 			.saturating_add(T::DbWeight::get().writes(1 as Weight))
 	}
 	// Storage: Common CollectionById (r:1 w:1)
 	fn set_transfers_enabled_flag() -> Weight {
-		(7_309_000 as Weight)
-			.saturating_add(T::DbWeight::get().reads(1 as Weight))
-			.saturating_add(T::DbWeight::get().writes(1 as Weight))
-	}
-	// Storage: Common CollectionById (r:1 w:1)
-	fn set_offchain_schema(_b: u32, ) -> Weight {
-		(15_220_000 as Weight)
-			.saturating_add(T::DbWeight::get().reads(1 as Weight))
-			.saturating_add(T::DbWeight::get().writes(1 as Weight))
-	}
-	// Storage: Common CollectionById (r:1 w:1)
-	fn set_const_on_chain_schema(_b: u32, ) -> Weight {
-		(14_984_000 as Weight)
-			.saturating_add(T::DbWeight::get().reads(1 as Weight))
-			.saturating_add(T::DbWeight::get().writes(1 as Weight))
-	}
-	// Storage: Common CollectionById (r:1 w:1)
-	fn set_schema_version() -> Weight {
-		(14_596_000 as Weight)
+		(9_734_000 as Weight)
 			.saturating_add(T::DbWeight::get().reads(1 as Weight))
 			.saturating_add(T::DbWeight::get().writes(1 as Weight))
 	}
 	// Storage: Common CollectionById (r:1 w:1)
 	fn set_collection_limits() -> Weight {
-		(15_339_000 as Weight)
+		(17_998_000 as Weight)
 			.saturating_add(T::DbWeight::get().reads(1 as Weight))
 			.saturating_add(T::DbWeight::get().writes(1 as Weight))
 	}
@@ -176,51 +146,43 @@
 	// Storage: Common CreatedCollectionCount (r:1 w:1)
 	// Storage: Common DestroyedCollectionCount (r:1 w:0)
 	// Storage: System Account (r:2 w:2)
+	// Storage: Common CollectionPropertyPermissions (r:0 w:1)
+	// Storage: Common CollectionProperties (r:0 w:1)
 	// Storage: Common CollectionById (r:0 w:1)
 	fn create_collection() -> Weight {
-		(28_929_000 as Weight)
+		(39_427_000 as Weight)
 			.saturating_add(RocksDbWeight::get().reads(4 as Weight))
-			.saturating_add(RocksDbWeight::get().writes(4 as Weight))
+			.saturating_add(RocksDbWeight::get().writes(6 as Weight))
 	}
 	// Storage: Common CollectionById (r:1 w:1)
+	// Storage: Nonfungible TokenData (r:1 w:0)
 	// Storage: Common DestroyedCollectionCount (r:1 w:1)
 	// Storage: Nonfungible TokensMinted (r:0 w:1)
 	// Storage: Nonfungible TokensBurnt (r:0 w:1)
 	// Storage: Common AdminAmount (r:0 w:1)
+	// Storage: Common CollectionProperties (r:0 w:1)
 	fn destroy_collection() -> Weight {
-		(40_303_000 as Weight)
-			.saturating_add(RocksDbWeight::get().reads(2 as Weight))
-			.saturating_add(RocksDbWeight::get().writes(5 as Weight))
+		(48_339_000 as Weight)
+			.saturating_add(RocksDbWeight::get().reads(3 as Weight))
+			.saturating_add(RocksDbWeight::get().writes(6 as Weight))
 	}
 	// Storage: Common CollectionById (r:1 w:0)
 	// Storage: Common Allowlist (r:0 w:1)
 	fn add_to_allow_list() -> Weight {
-		(15_989_000 as Weight)
+		(17_379_000 as Weight)
 			.saturating_add(RocksDbWeight::get().reads(1 as Weight))
 			.saturating_add(RocksDbWeight::get().writes(1 as Weight))
 	}
 	// Storage: Common CollectionById (r:1 w:0)
 	// Storage: Common Allowlist (r:0 w:1)
 	fn remove_from_allow_list() -> Weight {
-		(15_582_000 as Weight)
-			.saturating_add(RocksDbWeight::get().reads(1 as Weight))
-			.saturating_add(RocksDbWeight::get().writes(1 as Weight))
-	}
-	// Storage: Common CollectionById (r:1 w:1)
-	fn set_public_access_mode() -> Weight {
-		(14_846_000 as Weight)
-			.saturating_add(RocksDbWeight::get().reads(1 as Weight))
-			.saturating_add(RocksDbWeight::get().writes(1 as Weight))
-	}
-	// Storage: Common CollectionById (r:1 w:1)
-	fn set_mint_permission() -> Weight {
-		(14_534_000 as Weight)
+		(17_490_000 as Weight)
 			.saturating_add(RocksDbWeight::get().reads(1 as Weight))
 			.saturating_add(RocksDbWeight::get().writes(1 as Weight))
 	}
 	// Storage: Common CollectionById (r:1 w:1)
 	fn change_collection_owner() -> Weight {
-		(14_990_000 as Weight)
+		(17_701_000 as Weight)
 			.saturating_add(RocksDbWeight::get().reads(1 as Weight))
 			.saturating_add(RocksDbWeight::get().writes(1 as Weight))
 	}
@@ -228,7 +190,7 @@
 	// Storage: Common IsAdmin (r:1 w:1)
 	// Storage: Common AdminAmount (r:1 w:1)
 	fn add_collection_admin() -> Weight {
-		(19_957_000 as Weight)
+		(23_301_000 as Weight)
 			.saturating_add(RocksDbWeight::get().reads(3 as Weight))
 			.saturating_add(RocksDbWeight::get().writes(2 as Weight))
 	}
@@ -236,55 +198,37 @@
 	// Storage: Common IsAdmin (r:1 w:1)
 	// Storage: Common AdminAmount (r:1 w:1)
 	fn remove_collection_admin() -> Weight {
-		(21_209_000 as Weight)
+		(24_859_000 as Weight)
 			.saturating_add(RocksDbWeight::get().reads(3 as Weight))
 			.saturating_add(RocksDbWeight::get().writes(2 as Weight))
 	}
 	// Storage: Common CollectionById (r:1 w:1)
 	fn set_collection_sponsor() -> Weight {
-		(14_963_000 as Weight)
+		(17_795_000 as Weight)
 			.saturating_add(RocksDbWeight::get().reads(1 as Weight))
 			.saturating_add(RocksDbWeight::get().writes(1 as Weight))
 	}
 	// Storage: Common CollectionById (r:1 w:1)
 	fn confirm_sponsorship() -> Weight {
-		(14_478_000 as Weight)
+		(17_297_000 as Weight)
 			.saturating_add(RocksDbWeight::get().reads(1 as Weight))
 			.saturating_add(RocksDbWeight::get().writes(1 as Weight))
 	}
 	// Storage: Common CollectionById (r:1 w:1)
 	fn remove_collection_sponsor() -> Weight {
-		(14_393_000 as Weight)
+		(17_079_000 as Weight)
 			.saturating_add(RocksDbWeight::get().reads(1 as Weight))
 			.saturating_add(RocksDbWeight::get().writes(1 as Weight))
 	}
 	// Storage: Common CollectionById (r:1 w:1)
 	fn set_transfers_enabled_flag() -> Weight {
-		(7_309_000 as Weight)
-			.saturating_add(RocksDbWeight::get().reads(1 as Weight))
-			.saturating_add(RocksDbWeight::get().writes(1 as Weight))
-	}
-	// Storage: Common CollectionById (r:1 w:1)
-	fn set_offchain_schema(_b: u32, ) -> Weight {
-		(15_220_000 as Weight)
-			.saturating_add(RocksDbWeight::get().reads(1 as Weight))
-			.saturating_add(RocksDbWeight::get().writes(1 as Weight))
-	}
-	// Storage: Common CollectionById (r:1 w:1)
-	fn set_const_on_chain_schema(_b: u32, ) -> Weight {
-		(14_984_000 as Weight)
+		(9_734_000 as Weight)
 			.saturating_add(RocksDbWeight::get().reads(1 as Weight))
 			.saturating_add(RocksDbWeight::get().writes(1 as Weight))
 	}
 	// Storage: Common CollectionById (r:1 w:1)
-	fn set_schema_version() -> Weight {
-		(14_596_000 as Weight)
-			.saturating_add(RocksDbWeight::get().reads(1 as Weight))
-			.saturating_add(RocksDbWeight::get().writes(1 as Weight))
-	}
-	// Storage: Common CollectionById (r:1 w:1)
 	fn set_collection_limits() -> Weight {
-		(15_339_000 as Weight)
+		(17_998_000 as Weight)
 			.saturating_add(RocksDbWeight::get().reads(1 as Weight))
 			.saturating_add(RocksDbWeight::get().writes(1 as Weight))
 	}