git.delta.rocks / unique-network / refs/commits / 8aca5b544b64

difftreelog

bench weights

Igor Kozyrev2022-03-01parent: #cc00e3f.patch.diff
in: master

5 files changed

modifiedpallets/evm-migration/src/weights.rsdiffbeforeafterboth
--- a/pallets/evm-migration/src/weights.rs
+++ b/pallets/evm-migration/src/weights.rs
@@ -2,9 +2,9 @@
 
 //! Autogenerated weights for pallet_evm_migration
 //!
-//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.0
-//! DATE: 2021-08-12, STEPS: `[50, ]`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
-//! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 128
+//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
+//! DATE: 2022-03-01, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024
 
 // Executed Command:
 // target/release/unique-collator
@@ -20,7 +20,6 @@
 // --steps=50
 // --repeat=20
 // --output=./pallets/evm-migration/src/weights.rs
-
 
 #![cfg_attr(rustfmt, rustfmt_skip)]
 #![allow(unused_parens)]
@@ -40,20 +39,29 @@
 /// Weights for pallet_evm_migration using the Substrate node and recommended hardware.
 pub struct SubstrateWeight<T>(PhantomData<T>);
 impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
+	// Storage: EvmMigration MigrationPending (r:1 w:1)
+	// Storage: System Account (r:1 w:0)
+	// Storage: EVM AccountCodes (r:1 w:0)
 	fn begin() -> Weight {
-		(6_210_000 as Weight)
+		(6_918_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 {
-		(2_926_000 as Weight)
-			// Standard Error: 4_000
-			.saturating_add((649_000 as Weight).saturating_mul(b as Weight))
+		(3_048_000 as Weight)
+			// Standard Error: 3_000
+			.saturating_add((1_047_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)))
 	}
-	fn finish(_b: u32, ) -> Weight {
-		(4_309_000 as Weight)
+	// Storage: EvmMigration MigrationPending (r:1 w:1)
+	// Storage: EVM AccountCodes (r:0 w:1)
+	fn finish(b: u32, ) -> Weight {
+		(4_921_000 as Weight)
+			// Standard Error: 0
+			.saturating_add((1_000 as Weight).saturating_mul(b as Weight))
 			.saturating_add(T::DbWeight::get().reads(1 as Weight))
 			.saturating_add(T::DbWeight::get().writes(2 as Weight))
 	}
@@ -61,21 +69,30 @@
 
 // For backwards compatibility and tests
 impl WeightInfo for () {
+	// Storage: EvmMigration MigrationPending (r:1 w:1)
+	// Storage: System Account (r:1 w:0)
+	// Storage: EVM AccountCodes (r:1 w:0)
 	fn begin() -> Weight {
-		(6_210_000 as Weight)
+		(6_918_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 {
-		(2_926_000 as Weight)
-			// Standard Error: 4_000
-			.saturating_add((649_000 as Weight).saturating_mul(b as Weight))
+		(3_048_000 as Weight)
+			// Standard Error: 3_000
+			.saturating_add((1_047_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)))
 	}
-	fn finish(_b: u32, ) -> Weight {
-		(4_309_000 as Weight)
+	// Storage: EvmMigration MigrationPending (r:1 w:1)
+	// Storage: EVM AccountCodes (r:0 w:1)
+	fn finish(b: u32, ) -> Weight {
+		(4_921_000 as Weight)
+			// Standard Error: 0
+			.saturating_add((1_000 as Weight).saturating_mul(b as Weight))
 			.saturating_add(RocksDbWeight::get().reads(1 as Weight))
 			.saturating_add(RocksDbWeight::get().writes(2 as Weight))
 	}
-}
\ No newline at end of file
+}
modifiedpallets/fungible/src/weights.rsdiffbeforeafterboth
--- a/pallets/fungible/src/weights.rs
+++ b/pallets/fungible/src/weights.rs
@@ -3,8 +3,8 @@
 //! Autogenerated weights for pallet_fungible
 //!
 //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
-//! DATE: 2021-10-21, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
-//! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 128
+//! DATE: 2022-03-01, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024
 
 // Executed Command:
 // target/release/unique-collator
@@ -21,7 +21,6 @@
 // --repeat=20
 // --output=./pallets/fungible/src/weights.rs
 
-
 #![cfg_attr(rustfmt, rustfmt_skip)]
 #![allow(unused_parens)]
 #![allow(unused_imports)]
@@ -44,19 +43,19 @@
 /// Weights for pallet_fungible using the Substrate node and recommended hardware.
 pub struct SubstrateWeight<T>(PhantomData<T>);
 impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
+	// Storage: Fungible TotalSupply (r:1 w:1)
 	// Storage: Fungible Balance (r:1 w:1)
-	// Storage: Fungible TotalSupply (r:0 w:1)
 	fn create_item() -> Weight {
-		(12_069_000 as Weight)
-			.saturating_add(T::DbWeight::get().reads(1 as Weight))
+		(15_284_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 {
-		(1_055_000 as Weight)
-			// Standard Error: 22_000
-			.saturating_add((5_273_000 as Weight).saturating_mul(b as Weight))
+		(15_044_000 as Weight)
+			// Standard Error: 5_000
+			.saturating_add((4_005_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,27 +64,27 @@
 	// Storage: Fungible TotalSupply (r:1 w:1)
 	// Storage: Fungible Balance (r:1 w:1)
 	fn burn_item() -> Weight {
-		(14_096_000 as Weight)
+		(16_814_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 {
-		(15_436_000 as Weight)
+		(18_463_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 {
-		(12_867_000 as Weight)
+		(15_445_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 {
-		(21_462_000 as Weight)
+		(26_265_000 as Weight)
 			.saturating_add(T::DbWeight::get().reads(3 as Weight))
 			.saturating_add(T::DbWeight::get().writes(3 as Weight))
 	}
@@ -93,7 +92,7 @@
 	// Storage: Fungible TotalSupply (r:1 w:1)
 	// Storage: Fungible Balance (r:1 w:1)
 	fn burn_from() -> Weight {
-		(55_874_000 as Weight)
+		(25_053_000 as Weight)
 			.saturating_add(T::DbWeight::get().reads(3 as Weight))
 			.saturating_add(T::DbWeight::get().writes(3 as Weight))
 	}
@@ -101,19 +100,19 @@
 
 // For backwards compatibility and tests
 impl WeightInfo for () {
+	// Storage: Fungible TotalSupply (r:1 w:1)
 	// Storage: Fungible Balance (r:1 w:1)
-	// Storage: Fungible TotalSupply (r:0 w:1)
 	fn create_item() -> Weight {
-		(12_069_000 as Weight)
-			.saturating_add(RocksDbWeight::get().reads(1 as Weight))
+		(15_284_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 {
-		(1_055_000 as Weight)
-			// Standard Error: 22_000
-			.saturating_add((5_273_000 as Weight).saturating_mul(b as Weight))
+		(15_044_000 as Weight)
+			// Standard Error: 5_000
+			.saturating_add((4_005_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))
@@ -122,27 +121,27 @@
 	// Storage: Fungible TotalSupply (r:1 w:1)
 	// Storage: Fungible Balance (r:1 w:1)
 	fn burn_item() -> Weight {
-		(14_096_000 as Weight)
+		(16_814_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 {
-		(15_436_000 as Weight)
+		(18_463_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 {
-		(12_867_000 as Weight)
+		(15_445_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 {
-		(21_462_000 as Weight)
+		(26_265_000 as Weight)
 			.saturating_add(RocksDbWeight::get().reads(3 as Weight))
 			.saturating_add(RocksDbWeight::get().writes(3 as Weight))
 	}
@@ -150,7 +149,7 @@
 	// Storage: Fungible TotalSupply (r:1 w:1)
 	// Storage: Fungible Balance (r:1 w:1)
 	fn burn_from() -> Weight {
-		(55_874_000 as Weight)
+		(25_053_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,8 +3,8 @@
 //! Autogenerated weights for pallet_nonfungible
 //!
 //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
-//! DATE: 2021-10-21, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
-//! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 128
+//! DATE: 2022-03-01, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024
 
 // Executed Command:
 // target/release/unique-collator
@@ -20,7 +20,6 @@
 // --steps=50
 // --repeat=20
 // --output=./pallets/nonfungible/src/weights.rs
-
 
 #![cfg_attr(rustfmt, rustfmt_skip)]
 #![allow(unused_parens)]
@@ -51,7 +50,7 @@
 	// Storage: Nonfungible TokenData (r:0 w:1)
 	// Storage: Nonfungible Owned (r:0 w:1)
 	fn create_item() -> Weight {
-		(16_902_000 as Weight)
+		(18_527_000 as Weight)
 			.saturating_add(T::DbWeight::get().reads(2 as Weight))
 			.saturating_add(T::DbWeight::get().writes(4 as Weight))
 	}
@@ -60,9 +59,9 @@
 	// Storage: Nonfungible TokenData (r:0 w:4)
 	// Storage: Nonfungible Owned (r:0 w:4)
 	fn create_multiple_items(b: u32, ) -> Weight {
-		(15_860_000 as Weight)
-			// Standard Error: 5_000
-			.saturating_add((3_916_000 as Weight).saturating_mul(b as Weight))
+		(18_877_000 as Weight)
+			// Standard Error: 6_000
+			.saturating_add((4_471_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)))
@@ -72,9 +71,9 @@
 	// Storage: Nonfungible TokenData (r:0 w:4)
 	// Storage: Nonfungible Owned (r:0 w:4)
 	fn create_multiple_items_ex(b: u32, ) -> Weight {
-		(2_090_000 as Weight)
-			// Standard Error: 10_000
-			.saturating_add((9_230_000 as Weight).saturating_mul(b as Weight))
+		(10_556_000 as Weight)
+			// Standard Error: 14_000
+			.saturating_add((7_291_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))
@@ -82,26 +81,27 @@
 	}
 	// Storage: Nonfungible TokenData (r:1 w:1)
 	// 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)
 	fn burn_item() -> Weight {
-		(17_966_000 as Weight)
-			.saturating_add(T::DbWeight::get().reads(3 as Weight))
-			.saturating_add(T::DbWeight::get().writes(3 as Weight))
+		(24_402_000 as Weight)
+			.saturating_add(T::DbWeight::get().reads(4 as Weight))
+			.saturating_add(T::DbWeight::get().writes(4 as Weight))
 	}
 	// Storage: Nonfungible TokenData (r:1 w:1)
 	// Storage: Nonfungible AccountBalance (r:2 w:2)
 	// Storage: Nonfungible Allowance (r:1 w:0)
 	// Storage: Nonfungible Owned (r:0 w:2)
 	fn transfer() -> Weight {
-		(23_886_000 as Weight)
+		(27_992_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 {
-		(14_697_000 as Weight)
+		(17_838_000 as Weight)
 			.saturating_add(T::DbWeight::get().reads(2 as Weight))
 			.saturating_add(T::DbWeight::get().writes(1 as Weight))
 	}
@@ -110,22 +110,23 @@
 	// Storage: Nonfungible AccountBalance (r:2 w:2)
 	// Storage: Nonfungible Owned (r:0 w:2)
 	fn transfer_from() -> Weight {
-		(28_001_000 as Weight)
+		(32_410_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 TokensBurnt (r:1 w:1)
+	// Storage: Nonfungible AccountBalance (r:1 w:1)
 	// Storage: Nonfungible Owned (r:0 w:1)
 	fn burn_from() -> Weight {
-		(53_429_000 as Weight)
-			.saturating_add(T::DbWeight::get().reads(3 as Weight))
-			.saturating_add(T::DbWeight::get().writes(4 as Weight))
+		(28_496_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:1)
 	fn set_variable_metadata(_b: u32, ) -> Weight {
-		(6_380_000 as Weight)
+		(8_272_000 as Weight)
 			.saturating_add(T::DbWeight::get().reads(1 as Weight))
 			.saturating_add(T::DbWeight::get().writes(1 as Weight))
 	}
@@ -138,7 +139,7 @@
 	// Storage: Nonfungible TokenData (r:0 w:1)
 	// Storage: Nonfungible Owned (r:0 w:1)
 	fn create_item() -> Weight {
-		(16_902_000 as Weight)
+		(18_527_000 as Weight)
 			.saturating_add(RocksDbWeight::get().reads(2 as Weight))
 			.saturating_add(RocksDbWeight::get().writes(4 as Weight))
 	}
@@ -147,9 +148,9 @@
 	// Storage: Nonfungible TokenData (r:0 w:4)
 	// Storage: Nonfungible Owned (r:0 w:4)
 	fn create_multiple_items(b: u32, ) -> Weight {
-		(15_860_000 as Weight)
-			// Standard Error: 5_000
-			.saturating_add((3_916_000 as Weight).saturating_mul(b as Weight))
+		(18_877_000 as Weight)
+			// Standard Error: 6_000
+			.saturating_add((4_471_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)))
@@ -159,9 +160,9 @@
 	// Storage: Nonfungible TokenData (r:0 w:4)
 	// Storage: Nonfungible Owned (r:0 w:4)
 	fn create_multiple_items_ex(b: u32, ) -> Weight {
-		(2_090_000 as Weight)
-			// Standard Error: 10_000
-			.saturating_add((9_230_000 as Weight).saturating_mul(b as Weight))
+		(10_556_000 as Weight)
+			// Standard Error: 14_000
+			.saturating_add((7_291_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))
@@ -169,26 +170,27 @@
 	}
 	// Storage: Nonfungible TokenData (r:1 w:1)
 	// 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)
 	fn burn_item() -> Weight {
-		(17_966_000 as Weight)
-			.saturating_add(RocksDbWeight::get().reads(3 as Weight))
-			.saturating_add(RocksDbWeight::get().writes(3 as Weight))
+		(24_402_000 as Weight)
+			.saturating_add(RocksDbWeight::get().reads(4 as Weight))
+			.saturating_add(RocksDbWeight::get().writes(4 as Weight))
 	}
 	// Storage: Nonfungible TokenData (r:1 w:1)
 	// Storage: Nonfungible AccountBalance (r:2 w:2)
 	// Storage: Nonfungible Allowance (r:1 w:0)
 	// Storage: Nonfungible Owned (r:0 w:2)
 	fn transfer() -> Weight {
-		(23_886_000 as Weight)
+		(27_992_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 {
-		(14_697_000 as Weight)
+		(17_838_000 as Weight)
 			.saturating_add(RocksDbWeight::get().reads(2 as Weight))
 			.saturating_add(RocksDbWeight::get().writes(1 as Weight))
 	}
@@ -197,22 +199,23 @@
 	// Storage: Nonfungible AccountBalance (r:2 w:2)
 	// Storage: Nonfungible Owned (r:0 w:2)
 	fn transfer_from() -> Weight {
-		(28_001_000 as Weight)
+		(32_410_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 TokensBurnt (r:1 w:1)
+	// Storage: Nonfungible AccountBalance (r:1 w:1)
 	// Storage: Nonfungible Owned (r:0 w:1)
 	fn burn_from() -> Weight {
-		(53_429_000 as Weight)
-			.saturating_add(RocksDbWeight::get().reads(3 as Weight))
-			.saturating_add(RocksDbWeight::get().writes(4 as Weight))
+		(28_496_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:1)
 	fn set_variable_metadata(_b: u32, ) -> Weight {
-		(6_380_000 as Weight)
+		(8_272_000 as Weight)
 			.saturating_add(RocksDbWeight::get().reads(1 as Weight))
 			.saturating_add(RocksDbWeight::get().writes(1 as 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: 2021-10-21, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`7//! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 12889// 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=2022// --output=./pallets/refungible/src/weights.rs232425#![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 transfer_normal() -> Weight;42	fn transfer_creating() -> Weight;43	fn transfer_removing() -> Weight;44	fn transfer_creating_removing() -> Weight;45	fn approve() -> Weight;46	fn transfer_from_normal() -> Weight;47	fn transfer_from_creating() -> Weight;48	fn transfer_from_removing() -> Weight;49	fn transfer_from_creating_removing() -> Weight;50	fn burn_from() -> Weight;51	fn set_variable_metadata(b: u32, ) -> 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		(18_681_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		(13_869_000 as Weight)76			// Standard Error: 28_00077			.saturating_add((5_611_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		(11_953_000 as Weight)90			// Standard Error: 27_00091			.saturating_add((10_775_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		(0 as Weight)105			// Standard Error: 13_000106			.saturating_add((8_528_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		(21_591_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		(29_257_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		(17_733_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		(20_943_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		(22_406_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		(24_762_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		(14_109_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		(25_348_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		(28_647_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		(30_472_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		(32_362_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		(60_903_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	// Storage: Refungible TokenData (r:1 w:1)216	fn set_variable_metadata(_b: u32, ) -> Weight {217		(6_801_000 as Weight)218			.saturating_add(T::DbWeight::get().reads(1 as Weight))219			.saturating_add(T::DbWeight::get().writes(1 as Weight))220	}221}222223// For backwards compatibility and tests224impl WeightInfo for () {225	// Storage: Refungible TokensMinted (r:1 w:1)226	// Storage: Refungible AccountBalance (r:1 w:1)227	// Storage: Refungible Balance (r:0 w:1)228	// Storage: Refungible TotalSupply (r:0 w:1)229	// Storage: Refungible TokenData (r:0 w:1)230	// Storage: Refungible Owned (r:0 w:1)231	fn create_item() -> Weight {232		(18_681_000 as Weight)233			.saturating_add(RocksDbWeight::get().reads(2 as Weight))234			.saturating_add(RocksDbWeight::get().writes(6 as Weight))235	}236	// Storage: Refungible TokensMinted (r:1 w:1)237	// Storage: Refungible AccountBalance (r:1 w:1)238	// Storage: Refungible Balance (r:0 w:4)239	// Storage: Refungible TotalSupply (r:0 w:4)240	// Storage: Refungible TokenData (r:0 w:4)241	// Storage: Refungible Owned (r:0 w:4)242	fn create_multiple_items(b: u32, ) -> Weight {243		(13_869_000 as Weight)244			// Standard Error: 28_000245			.saturating_add((5_611_000 as Weight).saturating_mul(b as Weight))246			.saturating_add(RocksDbWeight::get().reads(2 as Weight))247			.saturating_add(RocksDbWeight::get().writes(2 as Weight))248			.saturating_add(RocksDbWeight::get().writes((4 as Weight).saturating_mul(b as Weight)))249	}250	// Storage: Refungible TokensMinted (r:1 w:1)251	// Storage: Refungible AccountBalance (r:4 w:4)252	// Storage: Refungible Balance (r:0 w:4)253	// Storage: Refungible TotalSupply (r:0 w:4)254	// Storage: Refungible TokenData (r:0 w:4)255	// Storage: Refungible Owned (r:0 w:4)256	fn create_multiple_items_ex_multiple_items(b: u32, ) -> Weight {257		(11_953_000 as Weight)258			// Standard Error: 27_000259			.saturating_add((10_775_000 as Weight).saturating_mul(b as Weight))260			.saturating_add(RocksDbWeight::get().reads(1 as Weight))261			.saturating_add(RocksDbWeight::get().reads((1 as Weight).saturating_mul(b as Weight)))262			.saturating_add(RocksDbWeight::get().writes(1 as Weight))263			.saturating_add(RocksDbWeight::get().writes((5 as Weight).saturating_mul(b as Weight)))264	}265	// Storage: Refungible TokensMinted (r:1 w:1)266	// Storage: Refungible TotalSupply (r:0 w:1)267	// Storage: Refungible TokenData (r:0 w:1)268	// Storage: Refungible AccountBalance (r:4 w:4)269	// Storage: Refungible Balance (r:0 w:4)270	// Storage: Refungible Owned (r:0 w:4)271	fn create_multiple_items_ex_multiple_owners(b: u32, ) -> Weight {272		(0 as Weight)273			// Standard Error: 13_000274			.saturating_add((8_528_000 as Weight).saturating_mul(b as Weight))275			.saturating_add(RocksDbWeight::get().reads(1 as Weight))276			.saturating_add(RocksDbWeight::get().reads((1 as Weight).saturating_mul(b as Weight)))277			.saturating_add(RocksDbWeight::get().writes(3 as Weight))278			.saturating_add(RocksDbWeight::get().writes((3 as Weight).saturating_mul(b as Weight)))279	}280	// Storage: Refungible TotalSupply (r:1 w:1)281	// Storage: Refungible Balance (r:1 w:1)282	// Storage: Refungible AccountBalance (r:1 w:1)283	// Storage: Refungible Owned (r:0 w:1)284	fn burn_item_partial() -> Weight {285		(21_591_000 as Weight)286			.saturating_add(RocksDbWeight::get().reads(3 as Weight))287			.saturating_add(RocksDbWeight::get().writes(4 as Weight))288	}289	// Storage: Refungible TotalSupply (r:1 w:1)290	// Storage: Refungible Balance (r:1 w:1)291	// Storage: Refungible AccountBalance (r:1 w:1)292	// Storage: Refungible TokensBurnt (r:1 w:1)293	// Storage: Refungible TokenData (r:0 w:1)294	// Storage: Refungible Owned (r:0 w:1)295	fn burn_item_fully() -> Weight {296		(29_257_000 as Weight)297			.saturating_add(RocksDbWeight::get().reads(4 as Weight))298			.saturating_add(RocksDbWeight::get().writes(6 as Weight))299	}300	// Storage: Refungible Balance (r:2 w:2)301	fn transfer_normal() -> Weight {302		(17_733_000 as Weight)303			.saturating_add(RocksDbWeight::get().reads(2 as Weight))304			.saturating_add(RocksDbWeight::get().writes(2 as Weight))305	}306	// Storage: Refungible Balance (r:2 w:2)307	// Storage: Refungible AccountBalance (r:1 w:1)308	// Storage: Refungible Owned (r:0 w:1)309	fn transfer_creating() -> Weight {310		(20_943_000 as Weight)311			.saturating_add(RocksDbWeight::get().reads(3 as Weight))312			.saturating_add(RocksDbWeight::get().writes(4 as Weight))313	}314	// Storage: Refungible Balance (r:2 w:2)315	// Storage: Refungible AccountBalance (r:1 w:1)316	// Storage: Refungible Owned (r:0 w:1)317	fn transfer_removing() -> Weight {318		(22_406_000 as Weight)319			.saturating_add(RocksDbWeight::get().reads(3 as Weight))320			.saturating_add(RocksDbWeight::get().writes(4 as Weight))321	}322	// Storage: Refungible Balance (r:2 w:2)323	// Storage: Refungible AccountBalance (r:2 w:2)324	// Storage: Refungible Owned (r:0 w:2)325	fn transfer_creating_removing() -> Weight {326		(24_762_000 as Weight)327			.saturating_add(RocksDbWeight::get().reads(4 as Weight))328			.saturating_add(RocksDbWeight::get().writes(6 as Weight))329	}330	// Storage: Refungible Balance (r:1 w:0)331	// Storage: Refungible Allowance (r:0 w:1)332	fn approve() -> Weight {333		(14_109_000 as Weight)334			.saturating_add(RocksDbWeight::get().reads(1 as Weight))335			.saturating_add(RocksDbWeight::get().writes(1 as Weight))336	}337	// Storage: Refungible Allowance (r:1 w:1)338	// Storage: Refungible Balance (r:2 w:2)339	fn transfer_from_normal() -> Weight {340		(25_348_000 as Weight)341			.saturating_add(RocksDbWeight::get().reads(3 as Weight))342			.saturating_add(RocksDbWeight::get().writes(3 as Weight))343	}344	// Storage: Refungible Allowance (r:1 w:1)345	// Storage: Refungible Balance (r:2 w:2)346	// Storage: Refungible AccountBalance (r:1 w:1)347	// Storage: Refungible Owned (r:0 w:1)348	fn transfer_from_creating() -> Weight {349		(28_647_000 as Weight)350			.saturating_add(RocksDbWeight::get().reads(4 as Weight))351			.saturating_add(RocksDbWeight::get().writes(5 as Weight))352	}353	// Storage: Refungible Allowance (r:1 w:1)354	// Storage: Refungible Balance (r:2 w:2)355	// Storage: Refungible AccountBalance (r:1 w:1)356	// Storage: Refungible Owned (r:0 w:1)357	fn transfer_from_removing() -> Weight {358		(30_472_000 as Weight)359			.saturating_add(RocksDbWeight::get().reads(4 as Weight))360			.saturating_add(RocksDbWeight::get().writes(5 as Weight))361	}362	// Storage: Refungible Allowance (r:1 w:1)363	// Storage: Refungible Balance (r:2 w:2)364	// Storage: Refungible AccountBalance (r:2 w:2)365	// Storage: Refungible Owned (r:0 w:2)366	fn transfer_from_creating_removing() -> Weight {367		(32_362_000 as Weight)368			.saturating_add(RocksDbWeight::get().reads(5 as Weight))369			.saturating_add(RocksDbWeight::get().writes(7 as Weight))370	}371	// Storage: Refungible Allowance (r:1 w:1)372	// Storage: Refungible TotalSupply (r:1 w:1)373	// Storage: Refungible Balance (r:1 w:1)374	// Storage: Refungible AccountBalance (r:1 w:1)375	// Storage: Refungible TokensBurnt (r:1 w:1)376	// Storage: Refungible TokenData (r:0 w:1)377	// Storage: Refungible Owned (r:0 w:1)378	fn burn_from() -> Weight {379		(60_903_000 as Weight)380			.saturating_add(RocksDbWeight::get().reads(5 as Weight))381			.saturating_add(RocksDbWeight::get().writes(7 as Weight))382	}383	// Storage: Refungible TokenData (r:1 w:1)384	fn set_variable_metadata(_b: u32, ) -> Weight {385		(6_801_000 as Weight)386			.saturating_add(RocksDbWeight::get().reads(1 as Weight))387			.saturating_add(RocksDbWeight::get().writes(1 as Weight))388	}389}
modifiedpallets/unique/src/weights.rsdiffbeforeafterboth
--- a/pallets/unique/src/weights.rs
+++ b/pallets/unique/src/weights.rs
@@ -3,8 +3,8 @@
 //! Autogenerated weights for pallet_unique
 //!
 //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
-//! DATE: 2021-10-21, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
-//! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 128
+//! DATE: 2022-03-01, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024
 
 // Executed Command:
 // target/release/unique-collator
@@ -21,7 +21,6 @@
 // --repeat=20
 // --output=./pallets/unique/src/weights.rs
 
-
 #![cfg_attr(rustfmt, rustfmt_skip)]
 #![allow(unused_parens)]
 #![allow(unused_imports)]
@@ -61,7 +60,7 @@
 	// Storage: System Account (r:2 w:2)
 	// Storage: Common CollectionById (r:0 w:1)
 	fn create_collection() -> Weight {
-		(23_803_000 as Weight)
+		(29_550_000 as Weight)
 			.saturating_add(T::DbWeight::get().reads(4 as Weight))
 			.saturating_add(T::DbWeight::get().writes(4 as Weight))
 	}
@@ -69,116 +68,117 @@
 	// 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)
 	fn destroy_collection() -> Weight {
-		(27_831_000 as Weight)
+		(40_838_000 as Weight)
 			.saturating_add(T::DbWeight::get().reads(2 as Weight))
-			.saturating_add(T::DbWeight::get().writes(4 as Weight))
+			.saturating_add(T::DbWeight::get().writes(5 as Weight))
 	}
 	// Storage: Common CollectionById (r:1 w:0)
 	// Storage: Common Allowlist (r:0 w:1)
 	fn add_to_allow_list() -> Weight {
-		(6_629_000 as Weight)
+		(15_331_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 {
-		(6_596_000 as Weight)
+		(16_706_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 {
-		(6_338_000 as Weight)
+		(16_189_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 {
-		(6_383_000 as Weight)
+		(16_072_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 {
-		(6_493_000 as Weight)
+		(14_929_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 IsAdmin (r:0 w:1)
+	// Storage: Common IsAdmin (r:1 w:1)
+	// Storage: Common AdminAmount (r:1 w:1)
 	fn add_collection_admin() -> Weight {
-		(6_850_000 as Weight)
-			.saturating_add(T::DbWeight::get().reads(1 as Weight))
-			.saturating_add(T::DbWeight::get().writes(1 as Weight))
+		(19_262_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:0)
-	// Storage: Common IsAdmin (r:0 w:1)
+	// Storage: Common IsAdmin (r:1 w:1)
+	// Storage: Common AdminAmount (r:1 w:1)
 	fn remove_collection_admin() -> Weight {
-		(6_615_000 as Weight)
-			.saturating_add(T::DbWeight::get().reads(1 as Weight))
-			.saturating_add(T::DbWeight::get().writes(1 as Weight))
+		(21_024_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 {
-		(6_430_000 as Weight)
+		(15_600_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 {
-		(6_125_000 as Weight)
+		(15_153_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 {
-		(6_236_000 as Weight)
+		(14_929_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 {
-		(6_500_000 as Weight)
+		(7_856_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 {
-		(6_538_000 as Weight)
+		(15_790_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 {
-		(6_542_000 as Weight)
+		(15_775_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_variable_on_chain_schema(b: u32, ) -> Weight {
-		(6_092_000 as Weight)
-			// Standard Error: 0
-			.saturating_add((2_000 as Weight).saturating_mul(b as Weight))
+	fn set_variable_on_chain_schema(_b: u32, ) -> Weight {
+		(15_788_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 {
-		(6_470_000 as Weight)
+		(15_148_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 {
-		(6_841_000 as Weight)
+		(15_811_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_meta_update_permission_flag() -> Weight {
-		(6_278_000 as Weight)
+		(7_663_000 as Weight)
 			.saturating_add(T::DbWeight::get().reads(1 as Weight))
 			.saturating_add(T::DbWeight::get().writes(1 as Weight))
 	}
@@ -191,7 +191,7 @@
 	// Storage: System Account (r:2 w:2)
 	// Storage: Common CollectionById (r:0 w:1)
 	fn create_collection() -> Weight {
-		(23_803_000 as Weight)
+		(29_550_000 as Weight)
 			.saturating_add(RocksDbWeight::get().reads(4 as Weight))
 			.saturating_add(RocksDbWeight::get().writes(4 as Weight))
 	}
@@ -199,117 +199,118 @@
 	// 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)
 	fn destroy_collection() -> Weight {
-		(27_831_000 as Weight)
+		(40_838_000 as Weight)
 			.saturating_add(RocksDbWeight::get().reads(2 as Weight))
-			.saturating_add(RocksDbWeight::get().writes(4 as Weight))
+			.saturating_add(RocksDbWeight::get().writes(5 as Weight))
 	}
 	// Storage: Common CollectionById (r:1 w:0)
 	// Storage: Common Allowlist (r:0 w:1)
 	fn add_to_allow_list() -> Weight {
-		(6_629_000 as Weight)
+		(15_331_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 {
-		(6_596_000 as Weight)
+		(16_706_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 {
-		(6_338_000 as Weight)
+		(16_189_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 {
-		(6_383_000 as Weight)
+		(16_072_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 {
-		(6_493_000 as Weight)
+		(14_929_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 IsAdmin (r:0 w:1)
+	// Storage: Common IsAdmin (r:1 w:1)
+	// Storage: Common AdminAmount (r:1 w:1)
 	fn add_collection_admin() -> Weight {
-		(6_850_000 as Weight)
-			.saturating_add(RocksDbWeight::get().reads(1 as Weight))
-			.saturating_add(RocksDbWeight::get().writes(1 as Weight))
+		(19_262_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:0)
-	// Storage: Common IsAdmin (r:0 w:1)
+	// Storage: Common IsAdmin (r:1 w:1)
+	// Storage: Common AdminAmount (r:1 w:1)
 	fn remove_collection_admin() -> Weight {
-		(6_615_000 as Weight)
-			.saturating_add(RocksDbWeight::get().reads(1 as Weight))
-			.saturating_add(RocksDbWeight::get().writes(1 as Weight))
+		(21_024_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 {
-		(6_430_000 as Weight)
+		(15_600_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 {
-		(6_125_000 as Weight)
+		(15_153_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 {
-		(6_236_000 as Weight)
+		(14_929_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 {
-		(6_500_000 as Weight)
+		(7_856_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 {
-		(6_538_000 as Weight)
+		(15_790_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 {
-		(6_542_000 as Weight)
+		(15_775_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_variable_on_chain_schema(b: u32, ) -> Weight {
-		(6_092_000 as Weight)
-			// Standard Error: 0
-			.saturating_add((2_000 as Weight).saturating_mul(b as Weight))
+	fn set_variable_on_chain_schema(_b: u32, ) -> Weight {
+		(15_788_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 {
-		(6_470_000 as Weight)
+		(15_148_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 {
-		(6_841_000 as Weight)
+		(15_811_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_meta_update_permission_flag() -> Weight {
-		(6_278_000 as Weight)
+		(7_663_000 as Weight)
 			.saturating_add(RocksDbWeight::get().reads(1 as Weight))
 			.saturating_add(RocksDbWeight::get().writes(1 as Weight))
 	}
-}
\ No newline at end of file
+}