git.delta.rocks / unique-network / refs/commits / 6eebd250d451

difftreelog

bench weights #3

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

6 files changed

modifiedMakefilediffbeforeafterboth
--- a/Makefile
+++ b/Makefile
@@ -34,7 +34,7 @@
 	cargo run --release --features runtime-benchmarks -- \
 	benchmark --pallet pallet-$(PALLET) \
 	--wasm-execution compiled --extrinsic '*' \
-	--template .maintain/frame-weight-template.hbs --steps=50 --repeat=20 \
+	--template .maintain/frame-weight-template.hbs --steps=50 --repeat=20 --heap-pages=4096 \
 	--output=./pallets/$(PALLET)/src/weights.rs
 
 .PHONY: bench-evm-migration
modifiedpallets/evm-migration/src/weights.rsdiffbeforeafterboth
--- a/pallets/evm-migration/src/weights.rs
+++ b/pallets/evm-migration/src/weights.rs
@@ -19,6 +19,7 @@
 // .maintain/frame-weight-template.hbs
 // --steps=50
 // --repeat=20
+// --heap-pages=4096
 // --output=./pallets/evm-migration/src/weights.rs
 
 #![cfg_attr(rustfmt, rustfmt_skip)]
@@ -43,23 +44,23 @@
 	// Storage: System Account (r:1 w:0)
 	// Storage: EVM AccountCodes (r:1 w:0)
 	fn begin() -> Weight {
-		(7_230_000 as Weight)
+		(6_750_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_442_000 as Weight)
-			// Standard Error: 5_000
-			.saturating_add((1_038_000 as Weight).saturating_mul(b as Weight))
+		(3_555_000 as Weight)
+			// Standard Error: 3_000
+			.saturating_add((1_071_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 {
-		(5_282_000 as Weight)
+		(5_166_000 as Weight)
 			.saturating_add(T::DbWeight::get().reads(1 as Weight))
 			.saturating_add(T::DbWeight::get().writes(2 as Weight))
 	}
@@ -71,23 +72,23 @@
 	// Storage: System Account (r:1 w:0)
 	// Storage: EVM AccountCodes (r:1 w:0)
 	fn begin() -> Weight {
-		(7_230_000 as Weight)
+		(6_750_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_442_000 as Weight)
-			// Standard Error: 5_000
-			.saturating_add((1_038_000 as Weight).saturating_mul(b as Weight))
+		(3_555_000 as Weight)
+			// Standard Error: 3_000
+			.saturating_add((1_071_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 {
-		(5_282_000 as Weight)
+		(5_166_000 as Weight)
 			.saturating_add(RocksDbWeight::get().reads(1 as Weight))
 			.saturating_add(RocksDbWeight::get().writes(2 as Weight))
 	}
modifiedpallets/fungible/src/weights.rsdiffbeforeafterboth
--- a/pallets/fungible/src/weights.rs
+++ b/pallets/fungible/src/weights.rs
@@ -19,6 +19,7 @@
 // .maintain/frame-weight-template.hbs
 // --steps=50
 // --repeat=20
+// --heap-pages=4096
 // --output=./pallets/fungible/src/weights.rs
 
 #![cfg_attr(rustfmt, rustfmt_skip)]
@@ -46,16 +47,16 @@
 	// Storage: Fungible TotalSupply (r:1 w:1)
 	// Storage: Fungible Balance (r:1 w:1)
 	fn create_item() -> Weight {
-		(15_015_000 as Weight)
+		(15_063_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 {
-		(15_984_000 as Weight)
-			// Standard Error: 5_000
-			.saturating_add((3_986_000 as Weight).saturating_mul(b as Weight))
+		(18_679_000 as Weight)
+			// Standard Error: 7_000
+			.saturating_add((3_847_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))
@@ -64,27 +65,27 @@
 	// Storage: Fungible TotalSupply (r:1 w:1)
 	// Storage: Fungible Balance (r:1 w:1)
 	fn burn_item() -> Weight {
-		(16_679_000 as Weight)
+		(15_875_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 {
-		(18_498_000 as Weight)
+		(17_801_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 {
-		(15_347_000 as Weight)
+		(14_814_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_956_000 as Weight)
+		(25_305_000 as Weight)
 			.saturating_add(T::DbWeight::get().reads(3 as Weight))
 			.saturating_add(T::DbWeight::get().writes(3 as Weight))
 	}
@@ -92,7 +93,7 @@
 	// Storage: Fungible TotalSupply (r:1 w:1)
 	// Storage: Fungible Balance (r:1 w:1)
 	fn burn_from() -> Weight {
-		(24_472_000 as Weight)
+		(23_435_000 as Weight)
 			.saturating_add(T::DbWeight::get().reads(3 as Weight))
 			.saturating_add(T::DbWeight::get().writes(3 as Weight))
 	}
@@ -103,16 +104,16 @@
 	// Storage: Fungible TotalSupply (r:1 w:1)
 	// Storage: Fungible Balance (r:1 w:1)
 	fn create_item() -> Weight {
-		(15_015_000 as Weight)
+		(15_063_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 {
-		(15_984_000 as Weight)
-			// Standard Error: 5_000
-			.saturating_add((3_986_000 as Weight).saturating_mul(b as Weight))
+		(18_679_000 as Weight)
+			// Standard Error: 7_000
+			.saturating_add((3_847_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))
@@ -121,27 +122,27 @@
 	// Storage: Fungible TotalSupply (r:1 w:1)
 	// Storage: Fungible Balance (r:1 w:1)
 	fn burn_item() -> Weight {
-		(16_679_000 as Weight)
+		(15_875_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 {
-		(18_498_000 as Weight)
+		(17_801_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 {
-		(15_347_000 as Weight)
+		(14_814_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_956_000 as Weight)
+		(25_305_000 as Weight)
 			.saturating_add(RocksDbWeight::get().reads(3 as Weight))
 			.saturating_add(RocksDbWeight::get().writes(3 as Weight))
 	}
@@ -149,7 +150,7 @@
 	// Storage: Fungible TotalSupply (r:1 w:1)
 	// Storage: Fungible Balance (r:1 w:1)
 	fn burn_from() -> Weight {
-		(24_472_000 as Weight)
+		(23_435_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
@@ -19,6 +19,7 @@
 // .maintain/frame-weight-template.hbs
 // --steps=50
 // --repeat=20
+// --heap-pages=4096
 // --output=./pallets/nonfungible/src/weights.rs
 
 #![cfg_attr(rustfmt, rustfmt_skip)]
@@ -50,7 +51,7 @@
 	// Storage: Nonfungible TokenData (r:0 w:1)
 	// Storage: Nonfungible Owned (r:0 w:1)
 	fn create_item() -> Weight {
-		(18_709_000 as Weight)
+		(23_112_000 as Weight)
 			.saturating_add(T::DbWeight::get().reads(2 as Weight))
 			.saturating_add(T::DbWeight::get().writes(4 as Weight))
 	}
@@ -59,9 +60,9 @@
 	// Storage: Nonfungible TokenData (r:0 w:4)
 	// Storage: Nonfungible Owned (r:0 w:4)
 	fn create_multiple_items(b: u32, ) -> Weight {
-		(22_235_000 as Weight)
-			// Standard Error: 8_000
-			.saturating_add((4_515_000 as Weight).saturating_mul(b as Weight))
+		(27_574_000 as Weight)
+			// Standard Error: 9_000
+			.saturating_add((4_368_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)))
@@ -71,9 +72,9 @@
 	// Storage: Nonfungible TokenData (r:0 w:4)
 	// Storage: Nonfungible Owned (r:0 w:4)
 	fn create_multiple_items_ex(b: u32, ) -> Weight {
-		(14_436_000 as Weight)
+		(7_051_000 as Weight)
 			// Standard Error: 14_000
-			.saturating_add((7_376_000 as Weight).saturating_mul(b as Weight))
+			.saturating_add((7_294_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))
@@ -85,7 +86,7 @@
 	// Storage: Nonfungible Allowance (r:1 w:0)
 	// Storage: Nonfungible Owned (r:0 w:1)
 	fn burn_item() -> Weight {
-		(24_609_000 as Weight)
+		(23_780_000 as Weight)
 			.saturating_add(T::DbWeight::get().reads(4 as Weight))
 			.saturating_add(T::DbWeight::get().writes(4 as Weight))
 	}
@@ -94,14 +95,14 @@
 	// Storage: Nonfungible Allowance (r:1 w:0)
 	// Storage: Nonfungible Owned (r:0 w:2)
 	fn transfer() -> Weight {
-		(28_283_000 as Weight)
+		(34_259_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_514_000 as Weight)
+		(17_024_000 as Weight)
 			.saturating_add(T::DbWeight::get().reads(2 as Weight))
 			.saturating_add(T::DbWeight::get().writes(1 as Weight))
 	}
@@ -110,7 +111,7 @@
 	// Storage: Nonfungible AccountBalance (r:2 w:2)
 	// Storage: Nonfungible Owned (r:0 w:2)
 	fn transfer_from() -> Weight {
-		(32_523_000 as Weight)
+		(31_708_000 as Weight)
 			.saturating_add(T::DbWeight::get().reads(4 as Weight))
 			.saturating_add(T::DbWeight::get().writes(6 as Weight))
 	}
@@ -120,13 +121,13 @@
 	// Storage: Nonfungible AccountBalance (r:1 w:1)
 	// Storage: Nonfungible Owned (r:0 w:1)
 	fn burn_from() -> Weight {
-		(28_459_000 as Weight)
+		(28_075_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 {
-		(8_212_000 as Weight)
+		(7_658_000 as Weight)
 			.saturating_add(T::DbWeight::get().reads(1 as Weight))
 			.saturating_add(T::DbWeight::get().writes(1 as Weight))
 	}
@@ -139,7 +140,7 @@
 	// Storage: Nonfungible TokenData (r:0 w:1)
 	// Storage: Nonfungible Owned (r:0 w:1)
 	fn create_item() -> Weight {
-		(18_709_000 as Weight)
+		(23_112_000 as Weight)
 			.saturating_add(RocksDbWeight::get().reads(2 as Weight))
 			.saturating_add(RocksDbWeight::get().writes(4 as Weight))
 	}
@@ -148,9 +149,9 @@
 	// Storage: Nonfungible TokenData (r:0 w:4)
 	// Storage: Nonfungible Owned (r:0 w:4)
 	fn create_multiple_items(b: u32, ) -> Weight {
-		(22_235_000 as Weight)
-			// Standard Error: 8_000
-			.saturating_add((4_515_000 as Weight).saturating_mul(b as Weight))
+		(27_574_000 as Weight)
+			// Standard Error: 9_000
+			.saturating_add((4_368_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)))
@@ -160,9 +161,9 @@
 	// Storage: Nonfungible TokenData (r:0 w:4)
 	// Storage: Nonfungible Owned (r:0 w:4)
 	fn create_multiple_items_ex(b: u32, ) -> Weight {
-		(14_436_000 as Weight)
+		(7_051_000 as Weight)
 			// Standard Error: 14_000
-			.saturating_add((7_376_000 as Weight).saturating_mul(b as Weight))
+			.saturating_add((7_294_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))
@@ -174,7 +175,7 @@
 	// Storage: Nonfungible Allowance (r:1 w:0)
 	// Storage: Nonfungible Owned (r:0 w:1)
 	fn burn_item() -> Weight {
-		(24_609_000 as Weight)
+		(23_780_000 as Weight)
 			.saturating_add(RocksDbWeight::get().reads(4 as Weight))
 			.saturating_add(RocksDbWeight::get().writes(4 as Weight))
 	}
@@ -183,14 +184,14 @@
 	// Storage: Nonfungible Allowance (r:1 w:0)
 	// Storage: Nonfungible Owned (r:0 w:2)
 	fn transfer() -> Weight {
-		(28_283_000 as Weight)
+		(34_259_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_514_000 as Weight)
+		(17_024_000 as Weight)
 			.saturating_add(RocksDbWeight::get().reads(2 as Weight))
 			.saturating_add(RocksDbWeight::get().writes(1 as Weight))
 	}
@@ -199,7 +200,7 @@
 	// Storage: Nonfungible AccountBalance (r:2 w:2)
 	// Storage: Nonfungible Owned (r:0 w:2)
 	fn transfer_from() -> Weight {
-		(32_523_000 as Weight)
+		(31_708_000 as Weight)
 			.saturating_add(RocksDbWeight::get().reads(4 as Weight))
 			.saturating_add(RocksDbWeight::get().writes(6 as Weight))
 	}
@@ -209,13 +210,13 @@
 	// Storage: Nonfungible AccountBalance (r:1 w:1)
 	// Storage: Nonfungible Owned (r:0 w:1)
 	fn burn_from() -> Weight {
-		(28_459_000 as Weight)
+		(28_075_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 {
-		(8_212_000 as Weight)
+		(7_658_000 as Weight)
 			.saturating_add(RocksDbWeight::get().reads(1 as Weight))
 			.saturating_add(RocksDbWeight::get().writes(1 as Weight))
 	}
modifiedpallets/refungible/src/weights.rsdiffbeforeafterboth
--- a/pallets/refungible/src/weights.rs
+++ b/pallets/refungible/src/weights.rs
@@ -19,6 +19,7 @@
 // .maintain/frame-weight-template.hbs
 // --steps=50
 // --repeat=20
+// --heap-pages=4096
 // --output=./pallets/refungible/src/weights.rs
 
 #![cfg_attr(rustfmt, rustfmt_skip)]
@@ -60,7 +61,7 @@
 	// Storage: Refungible TokenData (r:0 w:1)
 	// Storage: Refungible Owned (r:0 w:1)
 	fn create_item() -> Weight {
-		(21_122_000 as Weight)
+		(21_044_000 as Weight)
 			.saturating_add(T::DbWeight::get().reads(2 as Weight))
 			.saturating_add(T::DbWeight::get().writes(6 as Weight))
 	}
@@ -71,9 +72,9 @@
 	// Storage: Refungible TokenData (r:0 w:4)
 	// Storage: Refungible Owned (r:0 w:4)
 	fn create_multiple_items(b: u32, ) -> Weight {
-		(21_553_000 as Weight)
-			// Standard Error: 10_000
-			.saturating_add((5_768_000 as Weight).saturating_mul(b as Weight))
+		(25_069_000 as Weight)
+			// Standard Error: 9_000
+			.saturating_add((5_721_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((4 as Weight).saturating_mul(b as Weight)))
@@ -85,9 +86,9 @@
 	// Storage: Refungible TokenData (r:0 w:4)
 	// Storage: Refungible Owned (r:0 w:4)
 	fn create_multiple_items_ex_multiple_items(b: u32, ) -> Weight {
-		(24_715_000 as Weight)
-			// Standard Error: 15_000
-			.saturating_add((8_456_000 as Weight).saturating_mul(b as Weight))
+		(20_379_000 as Weight)
+			// Standard Error: 13_000
+			.saturating_add((8_445_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))
@@ -100,9 +101,9 @@
 	// Storage: Refungible Balance (r:0 w:4)
 	// Storage: Refungible Owned (r:0 w:4)
 	fn create_multiple_items_ex_multiple_owners(b: u32, ) -> Weight {
-		(14_998_000 as Weight)
-			// Standard Error: 6_000
-			.saturating_add((6_380_000 as Weight).saturating_mul(b as Weight))
+		(25_605_000 as Weight)
+			// Standard Error: 12_000
+			.saturating_add((6_276_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(3 as Weight))
@@ -113,7 +114,7 @@
 	// Storage: Refungible AccountBalance (r:1 w:1)
 	// Storage: Refungible Owned (r:0 w:1)
 	fn burn_item_partial() -> Weight {
-		(23_945_000 as Weight)
+		(24_247_000 as Weight)
 			.saturating_add(T::DbWeight::get().reads(3 as Weight))
 			.saturating_add(T::DbWeight::get().writes(4 as Weight))
 	}
@@ -124,13 +125,13 @@
 	// Storage: Refungible TokenData (r:0 w:1)
 	// Storage: Refungible Owned (r:0 w:1)
 	fn burn_item_fully() -> Weight {
-		(33_347_000 as Weight)
+		(32_746_000 as Weight)
 			.saturating_add(T::DbWeight::get().reads(4 as Weight))
 			.saturating_add(T::DbWeight::get().writes(6 as Weight))
 	}
 	// Storage: Refungible Balance (r:2 w:2)
 	fn transfer_normal() -> Weight {
-		(20_780_000 as Weight)
+		(20_270_000 as Weight)
 			.saturating_add(T::DbWeight::get().reads(2 as Weight))
 			.saturating_add(T::DbWeight::get().writes(2 as Weight))
 	}
@@ -138,7 +139,7 @@
 	// Storage: Refungible AccountBalance (r:1 w:1)
 	// Storage: Refungible Owned (r:0 w:1)
 	fn transfer_creating() -> Weight {
-		(24_135_000 as Weight)
+		(23_980_000 as Weight)
 			.saturating_add(T::DbWeight::get().reads(3 as Weight))
 			.saturating_add(T::DbWeight::get().writes(4 as Weight))
 	}
@@ -146,7 +147,7 @@
 	// Storage: Refungible AccountBalance (r:1 w:1)
 	// Storage: Refungible Owned (r:0 w:1)
 	fn transfer_removing() -> Weight {
-		(26_275_000 as Weight)
+		(25_635_000 as Weight)
 			.saturating_add(T::DbWeight::get().reads(3 as Weight))
 			.saturating_add(T::DbWeight::get().writes(4 as Weight))
 	}
@@ -154,21 +155,21 @@
 	// Storage: Refungible AccountBalance (r:2 w:2)
 	// Storage: Refungible Owned (r:0 w:2)
 	fn transfer_creating_removing() -> Weight {
-		(29_151_000 as Weight)
+		(28_782_000 as Weight)
 			.saturating_add(T::DbWeight::get().reads(4 as Weight))
 			.saturating_add(T::DbWeight::get().writes(6 as Weight))
 	}
 	// Storage: Refungible Balance (r:1 w:0)
 	// Storage: Refungible Allowance (r:0 w:1)
 	fn approve() -> Weight {
-		(16_309_000 as Weight)
+		(15_814_000 as Weight)
 			.saturating_add(T::DbWeight::get().reads(1 as Weight))
 			.saturating_add(T::DbWeight::get().writes(1 as Weight))
 	}
 	// Storage: Refungible Allowance (r:1 w:1)
 	// Storage: Refungible Balance (r:2 w:2)
 	fn transfer_from_normal() -> Weight {
-		(29_193_000 as Weight)
+		(29_910_000 as Weight)
 			.saturating_add(T::DbWeight::get().reads(3 as Weight))
 			.saturating_add(T::DbWeight::get().writes(3 as Weight))
 	}
@@ -177,7 +178,7 @@
 	// Storage: Refungible AccountBalance (r:1 w:1)
 	// Storage: Refungible Owned (r:0 w:1)
 	fn transfer_from_creating() -> Weight {
-		(33_671_000 as Weight)
+		(34_203_000 as Weight)
 			.saturating_add(T::DbWeight::get().reads(4 as Weight))
 			.saturating_add(T::DbWeight::get().writes(5 as Weight))
 	}
@@ -186,7 +187,7 @@
 	// Storage: Refungible AccountBalance (r:1 w:1)
 	// Storage: Refungible Owned (r:0 w:1)
 	fn transfer_from_removing() -> Weight {
-		(35_638_000 as Weight)
+		(35_887_000 as Weight)
 			.saturating_add(T::DbWeight::get().reads(4 as Weight))
 			.saturating_add(T::DbWeight::get().writes(5 as Weight))
 	}
@@ -195,7 +196,7 @@
 	// Storage: Refungible AccountBalance (r:2 w:2)
 	// Storage: Refungible Owned (r:0 w:2)
 	fn transfer_from_creating_removing() -> Weight {
-		(38_359_000 as Weight)
+		(38_780_000 as Weight)
 			.saturating_add(T::DbWeight::get().reads(5 as Weight))
 			.saturating_add(T::DbWeight::get().writes(7 as Weight))
 	}
@@ -207,13 +208,13 @@
 	// Storage: Refungible TokenData (r:0 w:1)
 	// Storage: Refungible Owned (r:0 w:1)
 	fn burn_from() -> Weight {
-		(42_912_000 as Weight)
+		(44_192_000 as Weight)
 			.saturating_add(T::DbWeight::get().reads(5 as Weight))
 			.saturating_add(T::DbWeight::get().writes(7 as Weight))
 	}
 	// Storage: Refungible TokenData (r:1 w:1)
 	fn set_variable_metadata(_b: u32, ) -> Weight {
-		(7_725_000 as Weight)
+		(7_896_000 as Weight)
 			.saturating_add(T::DbWeight::get().reads(1 as Weight))
 			.saturating_add(T::DbWeight::get().writes(1 as Weight))
 	}
@@ -228,7 +229,7 @@
 	// Storage: Refungible TokenData (r:0 w:1)
 	// Storage: Refungible Owned (r:0 w:1)
 	fn create_item() -> Weight {
-		(21_122_000 as Weight)
+		(21_044_000 as Weight)
 			.saturating_add(RocksDbWeight::get().reads(2 as Weight))
 			.saturating_add(RocksDbWeight::get().writes(6 as Weight))
 	}
@@ -239,9 +240,9 @@
 	// Storage: Refungible TokenData (r:0 w:4)
 	// Storage: Refungible Owned (r:0 w:4)
 	fn create_multiple_items(b: u32, ) -> Weight {
-		(21_553_000 as Weight)
-			// Standard Error: 10_000
-			.saturating_add((5_768_000 as Weight).saturating_mul(b as Weight))
+		(25_069_000 as Weight)
+			// Standard Error: 9_000
+			.saturating_add((5_721_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((4 as Weight).saturating_mul(b as Weight)))
@@ -253,9 +254,9 @@
 	// Storage: Refungible TokenData (r:0 w:4)
 	// Storage: Refungible Owned (r:0 w:4)
 	fn create_multiple_items_ex_multiple_items(b: u32, ) -> Weight {
-		(24_715_000 as Weight)
-			// Standard Error: 15_000
-			.saturating_add((8_456_000 as Weight).saturating_mul(b as Weight))
+		(20_379_000 as Weight)
+			// Standard Error: 13_000
+			.saturating_add((8_445_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))
@@ -268,9 +269,9 @@
 	// Storage: Refungible Balance (r:0 w:4)
 	// Storage: Refungible Owned (r:0 w:4)
 	fn create_multiple_items_ex_multiple_owners(b: u32, ) -> Weight {
-		(14_998_000 as Weight)
-			// Standard Error: 6_000
-			.saturating_add((6_380_000 as Weight).saturating_mul(b as Weight))
+		(25_605_000 as Weight)
+			// Standard Error: 12_000
+			.saturating_add((6_276_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(3 as Weight))
@@ -281,7 +282,7 @@
 	// Storage: Refungible AccountBalance (r:1 w:1)
 	// Storage: Refungible Owned (r:0 w:1)
 	fn burn_item_partial() -> Weight {
-		(23_945_000 as Weight)
+		(24_247_000 as Weight)
 			.saturating_add(RocksDbWeight::get().reads(3 as Weight))
 			.saturating_add(RocksDbWeight::get().writes(4 as Weight))
 	}
@@ -292,13 +293,13 @@
 	// Storage: Refungible TokenData (r:0 w:1)
 	// Storage: Refungible Owned (r:0 w:1)
 	fn burn_item_fully() -> Weight {
-		(33_347_000 as Weight)
+		(32_746_000 as Weight)
 			.saturating_add(RocksDbWeight::get().reads(4 as Weight))
 			.saturating_add(RocksDbWeight::get().writes(6 as Weight))
 	}
 	// Storage: Refungible Balance (r:2 w:2)
 	fn transfer_normal() -> Weight {
-		(20_780_000 as Weight)
+		(20_270_000 as Weight)
 			.saturating_add(RocksDbWeight::get().reads(2 as Weight))
 			.saturating_add(RocksDbWeight::get().writes(2 as Weight))
 	}
@@ -306,7 +307,7 @@
 	// Storage: Refungible AccountBalance (r:1 w:1)
 	// Storage: Refungible Owned (r:0 w:1)
 	fn transfer_creating() -> Weight {
-		(24_135_000 as Weight)
+		(23_980_000 as Weight)
 			.saturating_add(RocksDbWeight::get().reads(3 as Weight))
 			.saturating_add(RocksDbWeight::get().writes(4 as Weight))
 	}
@@ -314,7 +315,7 @@
 	// Storage: Refungible AccountBalance (r:1 w:1)
 	// Storage: Refungible Owned (r:0 w:1)
 	fn transfer_removing() -> Weight {
-		(26_275_000 as Weight)
+		(25_635_000 as Weight)
 			.saturating_add(RocksDbWeight::get().reads(3 as Weight))
 			.saturating_add(RocksDbWeight::get().writes(4 as Weight))
 	}
@@ -322,21 +323,21 @@
 	// Storage: Refungible AccountBalance (r:2 w:2)
 	// Storage: Refungible Owned (r:0 w:2)
 	fn transfer_creating_removing() -> Weight {
-		(29_151_000 as Weight)
+		(28_782_000 as Weight)
 			.saturating_add(RocksDbWeight::get().reads(4 as Weight))
 			.saturating_add(RocksDbWeight::get().writes(6 as Weight))
 	}
 	// Storage: Refungible Balance (r:1 w:0)
 	// Storage: Refungible Allowance (r:0 w:1)
 	fn approve() -> Weight {
-		(16_309_000 as Weight)
+		(15_814_000 as Weight)
 			.saturating_add(RocksDbWeight::get().reads(1 as Weight))
 			.saturating_add(RocksDbWeight::get().writes(1 as Weight))
 	}
 	// Storage: Refungible Allowance (r:1 w:1)
 	// Storage: Refungible Balance (r:2 w:2)
 	fn transfer_from_normal() -> Weight {
-		(29_193_000 as Weight)
+		(29_910_000 as Weight)
 			.saturating_add(RocksDbWeight::get().reads(3 as Weight))
 			.saturating_add(RocksDbWeight::get().writes(3 as Weight))
 	}
@@ -345,7 +346,7 @@
 	// Storage: Refungible AccountBalance (r:1 w:1)
 	// Storage: Refungible Owned (r:0 w:1)
 	fn transfer_from_creating() -> Weight {
-		(33_671_000 as Weight)
+		(34_203_000 as Weight)
 			.saturating_add(RocksDbWeight::get().reads(4 as Weight))
 			.saturating_add(RocksDbWeight::get().writes(5 as Weight))
 	}
@@ -354,7 +355,7 @@
 	// Storage: Refungible AccountBalance (r:1 w:1)
 	// Storage: Refungible Owned (r:0 w:1)
 	fn transfer_from_removing() -> Weight {
-		(35_638_000 as Weight)
+		(35_887_000 as Weight)
 			.saturating_add(RocksDbWeight::get().reads(4 as Weight))
 			.saturating_add(RocksDbWeight::get().writes(5 as Weight))
 	}
@@ -363,7 +364,7 @@
 	// Storage: Refungible AccountBalance (r:2 w:2)
 	// Storage: Refungible Owned (r:0 w:2)
 	fn transfer_from_creating_removing() -> Weight {
-		(38_359_000 as Weight)
+		(38_780_000 as Weight)
 			.saturating_add(RocksDbWeight::get().reads(5 as Weight))
 			.saturating_add(RocksDbWeight::get().writes(7 as Weight))
 	}
@@ -375,13 +376,13 @@
 	// Storage: Refungible TokenData (r:0 w:1)
 	// Storage: Refungible Owned (r:0 w:1)
 	fn burn_from() -> Weight {
-		(42_912_000 as Weight)
+		(44_192_000 as Weight)
 			.saturating_add(RocksDbWeight::get().reads(5 as Weight))
 			.saturating_add(RocksDbWeight::get().writes(7 as Weight))
 	}
 	// Storage: Refungible TokenData (r:1 w:1)
 	fn set_variable_metadata(_b: u32, ) -> Weight {
-		(7_725_000 as Weight)
+		(7_896_000 as Weight)
 			.saturating_add(RocksDbWeight::get().reads(1 as Weight))
 			.saturating_add(RocksDbWeight::get().writes(1 as Weight))
 	}
modifiedpallets/unique/src/weights.rsdiffbeforeafterboth
19// .maintain/frame-weight-template.hbs19// .maintain/frame-weight-template.hbs
20// --steps=5020// --steps=50
21// --repeat=2021// --repeat=20
22// --heap-pages=4096
22// --output=./pallets/unique/src/weights.rs23// --output=./pallets/unique/src/weights.rs
2324
24#![cfg_attr(rustfmt, rustfmt_skip)]25#![cfg_attr(rustfmt, rustfmt_skip)]
60 // Storage: System Account (r:2 w:2)61 // Storage: System Account (r:2 w:2)
61 // Storage: Common CollectionById (r:0 w:1)62 // Storage: Common CollectionById (r:0 w:1)
62 fn create_collection() -> Weight {63 fn create_collection() -> Weight {
63 (28_864_000 as Weight)64 (28_650_000 as Weight)
64 .saturating_add(T::DbWeight::get().reads(4 as Weight))65 .saturating_add(T::DbWeight::get().reads(4 as Weight))
65 .saturating_add(T::DbWeight::get().writes(4 as Weight))66 .saturating_add(T::DbWeight::get().writes(4 as Weight))
66 }67 }
70 // Storage: Nonfungible TokensBurnt (r:0 w:1)71 // Storage: Nonfungible TokensBurnt (r:0 w:1)
71 // Storage: Common AdminAmount (r:0 w:1)72 // Storage: Common AdminAmount (r:0 w:1)
72 fn destroy_collection() -> Weight {73 fn destroy_collection() -> Weight {
73 (39_196_000 as Weight)74 (40_437_000 as Weight)
74 .saturating_add(T::DbWeight::get().reads(2 as Weight))75 .saturating_add(T::DbWeight::get().reads(2 as Weight))
75 .saturating_add(T::DbWeight::get().writes(5 as Weight))76 .saturating_add(T::DbWeight::get().writes(5 as Weight))
76 }77 }
77 // Storage: Common CollectionById (r:1 w:0)78 // Storage: Common CollectionById (r:1 w:0)
78 // Storage: Common Allowlist (r:0 w:1)79 // Storage: Common Allowlist (r:0 w:1)
79 fn add_to_allow_list() -> Weight {80 fn add_to_allow_list() -> Weight {
80 (15_161_000 as Weight)81 (15_316_000 as Weight)
81 .saturating_add(T::DbWeight::get().reads(1 as Weight))82 .saturating_add(T::DbWeight::get().reads(1 as Weight))
82 .saturating_add(T::DbWeight::get().writes(1 as Weight))83 .saturating_add(T::DbWeight::get().writes(1 as Weight))
83 }84 }
84 // Storage: Common CollectionById (r:1 w:0)85 // Storage: Common CollectionById (r:1 w:0)
85 // Storage: Common Allowlist (r:0 w:1)86 // Storage: Common Allowlist (r:0 w:1)
86 fn remove_from_allow_list() -> Weight {87 fn remove_from_allow_list() -> Weight {
87 (17_224_000 as Weight)88 (15_189_000 as Weight)
88 .saturating_add(T::DbWeight::get().reads(1 as Weight))89 .saturating_add(T::DbWeight::get().reads(1 as Weight))
89 .saturating_add(T::DbWeight::get().writes(1 as Weight))90 .saturating_add(T::DbWeight::get().writes(1 as Weight))
90 }91 }
91 // Storage: Common CollectionById (r:1 w:1)92 // Storage: Common CollectionById (r:1 w:1)
92 fn set_public_access_mode() -> Weight {93 fn set_public_access_mode() -> Weight {
93 (14_557_000 as Weight)94 (14_695_000 as Weight)
94 .saturating_add(T::DbWeight::get().reads(1 as Weight))95 .saturating_add(T::DbWeight::get().reads(1 as Weight))
95 .saturating_add(T::DbWeight::get().writes(1 as Weight))96 .saturating_add(T::DbWeight::get().writes(1 as Weight))
96 }97 }
97 // Storage: Common CollectionById (r:1 w:1)98 // Storage: Common CollectionById (r:1 w:1)
98 fn set_mint_permission() -> Weight {99 fn set_mint_permission() -> Weight {
99 (14_835_000 as Weight)100 (14_561_000 as Weight)
100 .saturating_add(T::DbWeight::get().reads(1 as Weight))101 .saturating_add(T::DbWeight::get().reads(1 as Weight))
101 .saturating_add(T::DbWeight::get().writes(1 as Weight))102 .saturating_add(T::DbWeight::get().writes(1 as Weight))
102 }103 }
103 // Storage: Common CollectionById (r:1 w:1)104 // Storage: Common CollectionById (r:1 w:1)
104 fn change_collection_owner() -> Weight {105 fn change_collection_owner() -> Weight {
105 (15_587_000 as Weight)106 (15_598_000 as Weight)
106 .saturating_add(T::DbWeight::get().reads(1 as Weight))107 .saturating_add(T::DbWeight::get().reads(1 as Weight))
107 .saturating_add(T::DbWeight::get().writes(1 as Weight))108 .saturating_add(T::DbWeight::get().writes(1 as Weight))
108 }109 }
109 // Storage: Common CollectionById (r:1 w:0)110 // Storage: Common CollectionById (r:1 w:0)
110 // Storage: Common IsAdmin (r:1 w:1)111 // Storage: Common IsAdmin (r:1 w:1)
111 // Storage: Common AdminAmount (r:1 w:1)112 // Storage: Common AdminAmount (r:1 w:1)
112 fn add_collection_admin() -> Weight {113 fn add_collection_admin() -> Weight {
113 (24_447_000 as Weight)114 (20_230_000 as Weight)
114 .saturating_add(T::DbWeight::get().reads(3 as Weight))115 .saturating_add(T::DbWeight::get().reads(3 as Weight))
115 .saturating_add(T::DbWeight::get().writes(2 as Weight))116 .saturating_add(T::DbWeight::get().writes(2 as Weight))
116 }117 }
117 // Storage: Common CollectionById (r:1 w:0)118 // Storage: Common CollectionById (r:1 w:0)
118 // Storage: Common IsAdmin (r:1 w:1)119 // Storage: Common IsAdmin (r:1 w:1)
119 // Storage: Common AdminAmount (r:1 w:1)120 // Storage: Common AdminAmount (r:1 w:1)
120 fn remove_collection_admin() -> Weight {121 fn remove_collection_admin() -> Weight {
121 (22_141_000 as Weight)122 (22_449_000 as Weight)
122 .saturating_add(T::DbWeight::get().reads(3 as Weight))123 .saturating_add(T::DbWeight::get().reads(3 as Weight))
123 .saturating_add(T::DbWeight::get().writes(2 as Weight))124 .saturating_add(T::DbWeight::get().writes(2 as Weight))
124 }125 }
125 // Storage: Common CollectionById (r:1 w:1)126 // Storage: Common CollectionById (r:1 w:1)
126 fn set_collection_sponsor() -> Weight {127 fn set_collection_sponsor() -> Weight {
127 (15_407_000 as Weight)128 (15_619_000 as Weight)
128 .saturating_add(T::DbWeight::get().reads(1 as Weight))129 .saturating_add(T::DbWeight::get().reads(1 as Weight))
129 .saturating_add(T::DbWeight::get().writes(1 as Weight))130 .saturating_add(T::DbWeight::get().writes(1 as Weight))
130 }131 }
131 // Storage: Common CollectionById (r:1 w:1)132 // Storage: Common CollectionById (r:1 w:1)
132 fn confirm_sponsorship() -> Weight {133 fn confirm_sponsorship() -> Weight {
133 (14_939_000 as Weight)134 (15_328_000 as Weight)
134 .saturating_add(T::DbWeight::get().reads(1 as Weight))135 .saturating_add(T::DbWeight::get().reads(1 as Weight))
135 .saturating_add(T::DbWeight::get().writes(1 as Weight))136 .saturating_add(T::DbWeight::get().writes(1 as Weight))
136 }137 }
137 // Storage: Common CollectionById (r:1 w:1)138 // Storage: Common CollectionById (r:1 w:1)
138 fn remove_collection_sponsor() -> Weight {139 fn remove_collection_sponsor() -> Weight {
139 (14_504_000 as Weight)140 (15_005_000 as Weight)
140 .saturating_add(T::DbWeight::get().reads(1 as Weight))141 .saturating_add(T::DbWeight::get().reads(1 as Weight))
141 .saturating_add(T::DbWeight::get().writes(1 as Weight))142 .saturating_add(T::DbWeight::get().writes(1 as Weight))
142 }143 }
143 // Storage: Common CollectionById (r:1 w:1)144 // Storage: Common CollectionById (r:1 w:1)
144 fn set_transfers_enabled_flag() -> Weight {145 fn set_transfers_enabled_flag() -> Weight {
145 (7_218_000 as Weight)146 (7_867_000 as Weight)
146 .saturating_add(T::DbWeight::get().reads(1 as Weight))147 .saturating_add(T::DbWeight::get().reads(1 as Weight))
147 .saturating_add(T::DbWeight::get().writes(1 as Weight))148 .saturating_add(T::DbWeight::get().writes(1 as Weight))
148 }149 }
149 // Storage: Common CollectionById (r:1 w:1)150 // Storage: Common CollectionById (r:1 w:1)
150 fn set_offchain_schema(_b: u32, ) -> Weight {151 fn set_offchain_schema(_b: u32, ) -> Weight {
151 (15_040_000 as Weight)152 (15_644_000 as Weight)
152 .saturating_add(T::DbWeight::get().reads(1 as Weight))153 .saturating_add(T::DbWeight::get().reads(1 as Weight))
153 .saturating_add(T::DbWeight::get().writes(1 as Weight))154 .saturating_add(T::DbWeight::get().writes(1 as Weight))
154 }155 }
155 // Storage: Common CollectionById (r:1 w:1)156 // Storage: Common CollectionById (r:1 w:1)
156 fn set_const_on_chain_schema(_b: u32, ) -> Weight {157 fn set_const_on_chain_schema(_b: u32, ) -> Weight {
157 (14_932_000 as Weight)158 (15_398_000 as Weight)
158 .saturating_add(T::DbWeight::get().reads(1 as Weight))159 .saturating_add(T::DbWeight::get().reads(1 as Weight))
159 .saturating_add(T::DbWeight::get().writes(1 as Weight))160 .saturating_add(T::DbWeight::get().writes(1 as Weight))
160 }161 }
161 // Storage: Common CollectionById (r:1 w:1)162 // Storage: Common CollectionById (r:1 w:1)
162 fn set_variable_on_chain_schema(_b: u32, ) -> Weight {163 fn set_variable_on_chain_schema(_b: u32, ) -> Weight {
163 (15_291_000 as Weight)164 (15_500_000 as Weight)
164 .saturating_add(T::DbWeight::get().reads(1 as Weight))165 .saturating_add(T::DbWeight::get().reads(1 as Weight))
165 .saturating_add(T::DbWeight::get().writes(1 as Weight))166 .saturating_add(T::DbWeight::get().writes(1 as Weight))
166 }167 }
167 // Storage: Common CollectionById (r:1 w:1)168 // Storage: Common CollectionById (r:1 w:1)
168 fn set_schema_version() -> Weight {169 fn set_schema_version() -> Weight {
169 (14_725_000 as Weight)170 (15_097_000 as Weight)
170 .saturating_add(T::DbWeight::get().reads(1 as Weight))171 .saturating_add(T::DbWeight::get().reads(1 as Weight))
171 .saturating_add(T::DbWeight::get().writes(1 as Weight))172 .saturating_add(T::DbWeight::get().writes(1 as Weight))
172 }173 }
173 // Storage: Common CollectionById (r:1 w:1)174 // Storage: Common CollectionById (r:1 w:1)
174 fn set_collection_limits() -> Weight {175 fn set_collection_limits() -> Weight {
175 (15_222_000 as Weight)176 (15_631_000 as Weight)
176 .saturating_add(T::DbWeight::get().reads(1 as Weight))177 .saturating_add(T::DbWeight::get().reads(1 as Weight))
177 .saturating_add(T::DbWeight::get().writes(1 as Weight))178 .saturating_add(T::DbWeight::get().writes(1 as Weight))
178 }179 }
179 // Storage: Common CollectionById (r:1 w:1)180 // Storage: Common CollectionById (r:1 w:1)
180 fn set_meta_update_permission_flag() -> Weight {181 fn set_meta_update_permission_flag() -> Weight {
181 (7_270_000 as Weight)182 (7_469_000 as Weight)
182 .saturating_add(T::DbWeight::get().reads(1 as Weight))183 .saturating_add(T::DbWeight::get().reads(1 as Weight))
183 .saturating_add(T::DbWeight::get().writes(1 as Weight))184 .saturating_add(T::DbWeight::get().writes(1 as Weight))
184 }185 }
191 // Storage: System Account (r:2 w:2)192 // Storage: System Account (r:2 w:2)
192 // Storage: Common CollectionById (r:0 w:1)193 // Storage: Common CollectionById (r:0 w:1)
193 fn create_collection() -> Weight {194 fn create_collection() -> Weight {
194 (28_864_000 as Weight)195 (28_650_000 as Weight)
195 .saturating_add(RocksDbWeight::get().reads(4 as Weight))196 .saturating_add(RocksDbWeight::get().reads(4 as Weight))
196 .saturating_add(RocksDbWeight::get().writes(4 as Weight))197 .saturating_add(RocksDbWeight::get().writes(4 as Weight))
197 }198 }
201 // Storage: Nonfungible TokensBurnt (r:0 w:1)202 // Storage: Nonfungible TokensBurnt (r:0 w:1)
202 // Storage: Common AdminAmount (r:0 w:1)203 // Storage: Common AdminAmount (r:0 w:1)
203 fn destroy_collection() -> Weight {204 fn destroy_collection() -> Weight {
204 (39_196_000 as Weight)205 (40_437_000 as Weight)
205 .saturating_add(RocksDbWeight::get().reads(2 as Weight))206 .saturating_add(RocksDbWeight::get().reads(2 as Weight))
206 .saturating_add(RocksDbWeight::get().writes(5 as Weight))207 .saturating_add(RocksDbWeight::get().writes(5 as Weight))
207 }208 }
208 // Storage: Common CollectionById (r:1 w:0)209 // Storage: Common CollectionById (r:1 w:0)
209 // Storage: Common Allowlist (r:0 w:1)210 // Storage: Common Allowlist (r:0 w:1)
210 fn add_to_allow_list() -> Weight {211 fn add_to_allow_list() -> Weight {
211 (15_161_000 as Weight)212 (15_316_000 as Weight)
212 .saturating_add(RocksDbWeight::get().reads(1 as Weight))213 .saturating_add(RocksDbWeight::get().reads(1 as Weight))
213 .saturating_add(RocksDbWeight::get().writes(1 as Weight))214 .saturating_add(RocksDbWeight::get().writes(1 as Weight))
214 }215 }
215 // Storage: Common CollectionById (r:1 w:0)216 // Storage: Common CollectionById (r:1 w:0)
216 // Storage: Common Allowlist (r:0 w:1)217 // Storage: Common Allowlist (r:0 w:1)
217 fn remove_from_allow_list() -> Weight {218 fn remove_from_allow_list() -> Weight {
218 (17_224_000 as Weight)219 (15_189_000 as Weight)
219 .saturating_add(RocksDbWeight::get().reads(1 as Weight))220 .saturating_add(RocksDbWeight::get().reads(1 as Weight))
220 .saturating_add(RocksDbWeight::get().writes(1 as Weight))221 .saturating_add(RocksDbWeight::get().writes(1 as Weight))
221 }222 }
222 // Storage: Common CollectionById (r:1 w:1)223 // Storage: Common CollectionById (r:1 w:1)
223 fn set_public_access_mode() -> Weight {224 fn set_public_access_mode() -> Weight {
224 (14_557_000 as Weight)225 (14_695_000 as Weight)
225 .saturating_add(RocksDbWeight::get().reads(1 as Weight))226 .saturating_add(RocksDbWeight::get().reads(1 as Weight))
226 .saturating_add(RocksDbWeight::get().writes(1 as Weight))227 .saturating_add(RocksDbWeight::get().writes(1 as Weight))
227 }228 }
228 // Storage: Common CollectionById (r:1 w:1)229 // Storage: Common CollectionById (r:1 w:1)
229 fn set_mint_permission() -> Weight {230 fn set_mint_permission() -> Weight {
230 (14_835_000 as Weight)231 (14_561_000 as Weight)
231 .saturating_add(RocksDbWeight::get().reads(1 as Weight))232 .saturating_add(RocksDbWeight::get().reads(1 as Weight))
232 .saturating_add(RocksDbWeight::get().writes(1 as Weight))233 .saturating_add(RocksDbWeight::get().writes(1 as Weight))
233 }234 }
234 // Storage: Common CollectionById (r:1 w:1)235 // Storage: Common CollectionById (r:1 w:1)
235 fn change_collection_owner() -> Weight {236 fn change_collection_owner() -> Weight {
236 (15_587_000 as Weight)237 (15_598_000 as Weight)
237 .saturating_add(RocksDbWeight::get().reads(1 as Weight))238 .saturating_add(RocksDbWeight::get().reads(1 as Weight))
238 .saturating_add(RocksDbWeight::get().writes(1 as Weight))239 .saturating_add(RocksDbWeight::get().writes(1 as Weight))
239 }240 }
240 // Storage: Common CollectionById (r:1 w:0)241 // Storage: Common CollectionById (r:1 w:0)
241 // Storage: Common IsAdmin (r:1 w:1)242 // Storage: Common IsAdmin (r:1 w:1)
242 // Storage: Common AdminAmount (r:1 w:1)243 // Storage: Common AdminAmount (r:1 w:1)
243 fn add_collection_admin() -> Weight {244 fn add_collection_admin() -> Weight {
244 (24_447_000 as Weight)245 (20_230_000 as Weight)
245 .saturating_add(RocksDbWeight::get().reads(3 as Weight))246 .saturating_add(RocksDbWeight::get().reads(3 as Weight))
246 .saturating_add(RocksDbWeight::get().writes(2 as Weight))247 .saturating_add(RocksDbWeight::get().writes(2 as Weight))
247 }248 }
248 // Storage: Common CollectionById (r:1 w:0)249 // Storage: Common CollectionById (r:1 w:0)
249 // Storage: Common IsAdmin (r:1 w:1)250 // Storage: Common IsAdmin (r:1 w:1)
250 // Storage: Common AdminAmount (r:1 w:1)251 // Storage: Common AdminAmount (r:1 w:1)
251 fn remove_collection_admin() -> Weight {252 fn remove_collection_admin() -> Weight {
252 (22_141_000 as Weight)253 (22_449_000 as Weight)
253 .saturating_add(RocksDbWeight::get().reads(3 as Weight))254 .saturating_add(RocksDbWeight::get().reads(3 as Weight))
254 .saturating_add(RocksDbWeight::get().writes(2 as Weight))255 .saturating_add(RocksDbWeight::get().writes(2 as Weight))
255 }256 }
256 // Storage: Common CollectionById (r:1 w:1)257 // Storage: Common CollectionById (r:1 w:1)
257 fn set_collection_sponsor() -> Weight {258 fn set_collection_sponsor() -> Weight {
258 (15_407_000 as Weight)259 (15_619_000 as Weight)
259 .saturating_add(RocksDbWeight::get().reads(1 as Weight))260 .saturating_add(RocksDbWeight::get().reads(1 as Weight))
260 .saturating_add(RocksDbWeight::get().writes(1 as Weight))261 .saturating_add(RocksDbWeight::get().writes(1 as Weight))
261 }262 }
262 // Storage: Common CollectionById (r:1 w:1)263 // Storage: Common CollectionById (r:1 w:1)
263 fn confirm_sponsorship() -> Weight {264 fn confirm_sponsorship() -> Weight {
264 (14_939_000 as Weight)265 (15_328_000 as Weight)
265 .saturating_add(RocksDbWeight::get().reads(1 as Weight))266 .saturating_add(RocksDbWeight::get().reads(1 as Weight))
266 .saturating_add(RocksDbWeight::get().writes(1 as Weight))267 .saturating_add(RocksDbWeight::get().writes(1 as Weight))
267 }268 }
268 // Storage: Common CollectionById (r:1 w:1)269 // Storage: Common CollectionById (r:1 w:1)
269 fn remove_collection_sponsor() -> Weight {270 fn remove_collection_sponsor() -> Weight {
270 (14_504_000 as Weight)271 (15_005_000 as Weight)
271 .saturating_add(RocksDbWeight::get().reads(1 as Weight))272 .saturating_add(RocksDbWeight::get().reads(1 as Weight))
272 .saturating_add(RocksDbWeight::get().writes(1 as Weight))273 .saturating_add(RocksDbWeight::get().writes(1 as Weight))
273 }274 }
274 // Storage: Common CollectionById (r:1 w:1)275 // Storage: Common CollectionById (r:1 w:1)
275 fn set_transfers_enabled_flag() -> Weight {276 fn set_transfers_enabled_flag() -> Weight {
276 (7_218_000 as Weight)277 (7_867_000 as Weight)
277 .saturating_add(RocksDbWeight::get().reads(1 as Weight))278 .saturating_add(RocksDbWeight::get().reads(1 as Weight))
278 .saturating_add(RocksDbWeight::get().writes(1 as Weight))279 .saturating_add(RocksDbWeight::get().writes(1 as Weight))
279 }280 }
280 // Storage: Common CollectionById (r:1 w:1)281 // Storage: Common CollectionById (r:1 w:1)
281 fn set_offchain_schema(_b: u32, ) -> Weight {282 fn set_offchain_schema(_b: u32, ) -> Weight {
282 (15_040_000 as Weight)283 (15_644_000 as Weight)
283 .saturating_add(RocksDbWeight::get().reads(1 as Weight))284 .saturating_add(RocksDbWeight::get().reads(1 as Weight))
284 .saturating_add(RocksDbWeight::get().writes(1 as Weight))285 .saturating_add(RocksDbWeight::get().writes(1 as Weight))
285 }286 }
286 // Storage: Common CollectionById (r:1 w:1)287 // Storage: Common CollectionById (r:1 w:1)
287 fn set_const_on_chain_schema(_b: u32, ) -> Weight {288 fn set_const_on_chain_schema(_b: u32, ) -> Weight {
288 (14_932_000 as Weight)289 (15_398_000 as Weight)
289 .saturating_add(RocksDbWeight::get().reads(1 as Weight))290 .saturating_add(RocksDbWeight::get().reads(1 as Weight))
290 .saturating_add(RocksDbWeight::get().writes(1 as Weight))291 .saturating_add(RocksDbWeight::get().writes(1 as Weight))
291 }292 }
292 // Storage: Common CollectionById (r:1 w:1)293 // Storage: Common CollectionById (r:1 w:1)
293 fn set_variable_on_chain_schema(_b: u32, ) -> Weight {294 fn set_variable_on_chain_schema(_b: u32, ) -> Weight {
294 (15_291_000 as Weight)295 (15_500_000 as Weight)
295 .saturating_add(RocksDbWeight::get().reads(1 as Weight))296 .saturating_add(RocksDbWeight::get().reads(1 as Weight))
296 .saturating_add(RocksDbWeight::get().writes(1 as Weight))297 .saturating_add(RocksDbWeight::get().writes(1 as Weight))
297 }298 }
298 // Storage: Common CollectionById (r:1 w:1)299 // Storage: Common CollectionById (r:1 w:1)
299 fn set_schema_version() -> Weight {300 fn set_schema_version() -> Weight {
300 (14_725_000 as Weight)301 (15_097_000 as Weight)
301 .saturating_add(RocksDbWeight::get().reads(1 as Weight))302 .saturating_add(RocksDbWeight::get().reads(1 as Weight))
302 .saturating_add(RocksDbWeight::get().writes(1 as Weight))303 .saturating_add(RocksDbWeight::get().writes(1 as Weight))
303 }304 }
304 // Storage: Common CollectionById (r:1 w:1)305 // Storage: Common CollectionById (r:1 w:1)
305 fn set_collection_limits() -> Weight {306 fn set_collection_limits() -> Weight {
306 (15_222_000 as Weight)307 (15_631_000 as Weight)
307 .saturating_add(RocksDbWeight::get().reads(1 as Weight))308 .saturating_add(RocksDbWeight::get().reads(1 as Weight))
308 .saturating_add(RocksDbWeight::get().writes(1 as Weight))309 .saturating_add(RocksDbWeight::get().writes(1 as Weight))
309 }310 }
310 // Storage: Common CollectionById (r:1 w:1)311 // Storage: Common CollectionById (r:1 w:1)
311 fn set_meta_update_permission_flag() -> Weight {312 fn set_meta_update_permission_flag() -> Weight {
312 (7_270_000 as Weight)313 (7_469_000 as Weight)
313 .saturating_add(RocksDbWeight::get().reads(1 as Weight))314 .saturating_add(RocksDbWeight::get().reads(1 as Weight))
314 .saturating_add(RocksDbWeight::get().writes(1 as Weight))315 .saturating_add(RocksDbWeight::get().writes(1 as Weight))
315 }316 }