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
before · pallets/nonfungible/src/weights.rs
1// Template adopted from https://github.com/paritytech/substrate/blob/master/.maintain/frame-weight-template.hbs23//! Autogenerated weights for pallet_nonfungible4//!5//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev6//! DATE: 2022-03-01, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`7//! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 102489// Executed Command:10// target/release/unique-collator11// benchmark12// --pallet13// pallet-nonfungible14// --wasm-execution15// compiled16// --extrinsic17// *18// --template19// .maintain/frame-weight-template.hbs20// --steps=5021// --repeat=2022// --output=./pallets/nonfungible/src/weights.rs2324#![cfg_attr(rustfmt, rustfmt_skip)]25#![allow(unused_parens)]26#![allow(unused_imports)]27#![allow(clippy::unnecessary_cast)]2829use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}};30use sp_std::marker::PhantomData;3132/// Weight functions needed for pallet_nonfungible.33pub trait WeightInfo {34	fn create_item() -> Weight;35	fn create_multiple_items(b: u32, ) -> Weight;36	fn create_multiple_items_ex(b: u32, ) -> Weight;37	fn burn_item() -> Weight;38	fn transfer() -> Weight;39	fn approve() -> Weight;40	fn transfer_from() -> Weight;41	fn burn_from() -> Weight;42	fn set_variable_metadata(b: u32, ) -> Weight;43}4445/// Weights for pallet_nonfungible using the Substrate node and recommended hardware.46pub struct SubstrateWeight<T>(PhantomData<T>);47impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {48	// Storage: Nonfungible TokensMinted (r:1 w:1)49	// Storage: Nonfungible AccountBalance (r:1 w:1)50	// Storage: Nonfungible TokenData (r:0 w:1)51	// Storage: Nonfungible Owned (r:0 w:1)52	fn create_item() -> Weight {53		(18_709_000 as Weight)54			.saturating_add(T::DbWeight::get().reads(2 as Weight))55			.saturating_add(T::DbWeight::get().writes(4 as Weight))56	}57	// Storage: Nonfungible TokensMinted (r:1 w:1)58	// Storage: Nonfungible AccountBalance (r:1 w:1)59	// Storage: Nonfungible TokenData (r:0 w:4)60	// Storage: Nonfungible Owned (r:0 w:4)61	fn create_multiple_items(b: u32, ) -> Weight {62		(22_235_000 as Weight)63			// Standard Error: 8_00064			.saturating_add((4_515_000 as Weight).saturating_mul(b as Weight))65			.saturating_add(T::DbWeight::get().reads(2 as Weight))66			.saturating_add(T::DbWeight::get().writes(2 as Weight))67			.saturating_add(T::DbWeight::get().writes((2 as Weight).saturating_mul(b as Weight)))68	}69	// Storage: Nonfungible TokensMinted (r:1 w:1)70	// Storage: Nonfungible AccountBalance (r:4 w:4)71	// Storage: Nonfungible TokenData (r:0 w:4)72	// Storage: Nonfungible Owned (r:0 w:4)73	fn create_multiple_items_ex(b: u32, ) -> Weight {74		(14_436_000 as Weight)75			// Standard Error: 14_00076			.saturating_add((7_376_000 as Weight).saturating_mul(b as Weight))77			.saturating_add(T::DbWeight::get().reads(1 as Weight))78			.saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(b as Weight)))79			.saturating_add(T::DbWeight::get().writes(1 as Weight))80			.saturating_add(T::DbWeight::get().writes((3 as Weight).saturating_mul(b as Weight)))81	}82	// Storage: Nonfungible TokenData (r:1 w:1)83	// Storage: Nonfungible TokensBurnt (r:1 w:1)84	// Storage: Nonfungible AccountBalance (r:1 w:1)85	// Storage: Nonfungible Allowance (r:1 w:0)86	// Storage: Nonfungible Owned (r:0 w:1)87	fn burn_item() -> Weight {88		(24_609_000 as Weight)89			.saturating_add(T::DbWeight::get().reads(4 as Weight))90			.saturating_add(T::DbWeight::get().writes(4 as Weight))91	}92	// Storage: Nonfungible TokenData (r:1 w:1)93	// Storage: Nonfungible AccountBalance (r:2 w:2)94	// Storage: Nonfungible Allowance (r:1 w:0)95	// Storage: Nonfungible Owned (r:0 w:2)96	fn transfer() -> Weight {97		(28_283_000 as Weight)98			.saturating_add(T::DbWeight::get().reads(4 as Weight))99			.saturating_add(T::DbWeight::get().writes(5 as Weight))100	}101	// Storage: Nonfungible TokenData (r:1 w:0)102	// Storage: Nonfungible Allowance (r:1 w:1)103	fn approve() -> Weight {104		(17_514_000 as Weight)105			.saturating_add(T::DbWeight::get().reads(2 as Weight))106			.saturating_add(T::DbWeight::get().writes(1 as Weight))107	}108	// Storage: Nonfungible Allowance (r:1 w:1)109	// Storage: Nonfungible TokenData (r:1 w:1)110	// Storage: Nonfungible AccountBalance (r:2 w:2)111	// Storage: Nonfungible Owned (r:0 w:2)112	fn transfer_from() -> Weight {113		(32_523_000 as Weight)114			.saturating_add(T::DbWeight::get().reads(4 as Weight))115			.saturating_add(T::DbWeight::get().writes(6 as Weight))116	}117	// Storage: Nonfungible Allowance (r:1 w:1)118	// Storage: Nonfungible TokenData (r:1 w:1)119	// Storage: Nonfungible TokensBurnt (r:1 w:1)120	// Storage: Nonfungible AccountBalance (r:1 w:1)121	// Storage: Nonfungible Owned (r:0 w:1)122	fn burn_from() -> Weight {123		(28_459_000 as Weight)124			.saturating_add(T::DbWeight::get().reads(4 as Weight))125			.saturating_add(T::DbWeight::get().writes(5 as Weight))126	}127	// Storage: Nonfungible TokenData (r:1 w:1)128	fn set_variable_metadata(_b: u32, ) -> Weight {129		(8_212_000 as Weight)130			.saturating_add(T::DbWeight::get().reads(1 as Weight))131			.saturating_add(T::DbWeight::get().writes(1 as Weight))132	}133}134135// For backwards compatibility and tests136impl WeightInfo for () {137	// Storage: Nonfungible TokensMinted (r:1 w:1)138	// Storage: Nonfungible AccountBalance (r:1 w:1)139	// Storage: Nonfungible TokenData (r:0 w:1)140	// Storage: Nonfungible Owned (r:0 w:1)141	fn create_item() -> Weight {142		(18_709_000 as Weight)143			.saturating_add(RocksDbWeight::get().reads(2 as Weight))144			.saturating_add(RocksDbWeight::get().writes(4 as Weight))145	}146	// Storage: Nonfungible TokensMinted (r:1 w:1)147	// Storage: Nonfungible AccountBalance (r:1 w:1)148	// Storage: Nonfungible TokenData (r:0 w:4)149	// Storage: Nonfungible Owned (r:0 w:4)150	fn create_multiple_items(b: u32, ) -> Weight {151		(22_235_000 as Weight)152			// Standard Error: 8_000153			.saturating_add((4_515_000 as Weight).saturating_mul(b as Weight))154			.saturating_add(RocksDbWeight::get().reads(2 as Weight))155			.saturating_add(RocksDbWeight::get().writes(2 as Weight))156			.saturating_add(RocksDbWeight::get().writes((2 as Weight).saturating_mul(b as Weight)))157	}158	// Storage: Nonfungible TokensMinted (r:1 w:1)159	// Storage: Nonfungible AccountBalance (r:4 w:4)160	// Storage: Nonfungible TokenData (r:0 w:4)161	// Storage: Nonfungible Owned (r:0 w:4)162	fn create_multiple_items_ex(b: u32, ) -> Weight {163		(14_436_000 as Weight)164			// Standard Error: 14_000165			.saturating_add((7_376_000 as Weight).saturating_mul(b as Weight))166			.saturating_add(RocksDbWeight::get().reads(1 as Weight))167			.saturating_add(RocksDbWeight::get().reads((1 as Weight).saturating_mul(b as Weight)))168			.saturating_add(RocksDbWeight::get().writes(1 as Weight))169			.saturating_add(RocksDbWeight::get().writes((3 as Weight).saturating_mul(b as Weight)))170	}171	// Storage: Nonfungible TokenData (r:1 w:1)172	// Storage: Nonfungible TokensBurnt (r:1 w:1)173	// Storage: Nonfungible AccountBalance (r:1 w:1)174	// Storage: Nonfungible Allowance (r:1 w:0)175	// Storage: Nonfungible Owned (r:0 w:1)176	fn burn_item() -> Weight {177		(24_609_000 as Weight)178			.saturating_add(RocksDbWeight::get().reads(4 as Weight))179			.saturating_add(RocksDbWeight::get().writes(4 as Weight))180	}181	// Storage: Nonfungible TokenData (r:1 w:1)182	// Storage: Nonfungible AccountBalance (r:2 w:2)183	// Storage: Nonfungible Allowance (r:1 w:0)184	// Storage: Nonfungible Owned (r:0 w:2)185	fn transfer() -> Weight {186		(28_283_000 as Weight)187			.saturating_add(RocksDbWeight::get().reads(4 as Weight))188			.saturating_add(RocksDbWeight::get().writes(5 as Weight))189	}190	// Storage: Nonfungible TokenData (r:1 w:0)191	// Storage: Nonfungible Allowance (r:1 w:1)192	fn approve() -> Weight {193		(17_514_000 as Weight)194			.saturating_add(RocksDbWeight::get().reads(2 as Weight))195			.saturating_add(RocksDbWeight::get().writes(1 as Weight))196	}197	// Storage: Nonfungible Allowance (r:1 w:1)198	// Storage: Nonfungible TokenData (r:1 w:1)199	// Storage: Nonfungible AccountBalance (r:2 w:2)200	// Storage: Nonfungible Owned (r:0 w:2)201	fn transfer_from() -> Weight {202		(32_523_000 as Weight)203			.saturating_add(RocksDbWeight::get().reads(4 as Weight))204			.saturating_add(RocksDbWeight::get().writes(6 as Weight))205	}206	// Storage: Nonfungible Allowance (r:1 w:1)207	// Storage: Nonfungible TokenData (r:1 w:1)208	// Storage: Nonfungible TokensBurnt (r:1 w:1)209	// Storage: Nonfungible AccountBalance (r:1 w:1)210	// Storage: Nonfungible Owned (r:0 w:1)211	fn burn_from() -> Weight {212		(28_459_000 as Weight)213			.saturating_add(RocksDbWeight::get().reads(4 as Weight))214			.saturating_add(RocksDbWeight::get().writes(5 as Weight))215	}216	// Storage: Nonfungible TokenData (r:1 w:1)217	fn set_variable_metadata(_b: u32, ) -> Weight {218		(8_212_000 as Weight)219			.saturating_add(RocksDbWeight::get().reads(1 as Weight))220			.saturating_add(RocksDbWeight::get().writes(1 as Weight))221	}222}
after · pallets/nonfungible/src/weights.rs
1// Template adopted from https://github.com/paritytech/substrate/blob/master/.maintain/frame-weight-template.hbs23//! Autogenerated weights for pallet_nonfungible4//!5//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev6//! DATE: 2022-03-01, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`7//! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 102489// Executed Command:10// target/release/unique-collator11// benchmark12// --pallet13// pallet-nonfungible14// --wasm-execution15// compiled16// --extrinsic17// *18// --template19// .maintain/frame-weight-template.hbs20// --steps=5021// --repeat=2022// --heap-pages=409623// --output=./pallets/nonfungible/src/weights.rs2425#![cfg_attr(rustfmt, rustfmt_skip)]26#![allow(unused_parens)]27#![allow(unused_imports)]28#![allow(clippy::unnecessary_cast)]2930use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}};31use sp_std::marker::PhantomData;3233/// Weight functions needed for pallet_nonfungible.34pub trait WeightInfo {35	fn create_item() -> Weight;36	fn create_multiple_items(b: u32, ) -> Weight;37	fn create_multiple_items_ex(b: u32, ) -> Weight;38	fn burn_item() -> Weight;39	fn transfer() -> Weight;40	fn approve() -> Weight;41	fn transfer_from() -> Weight;42	fn burn_from() -> Weight;43	fn set_variable_metadata(b: u32, ) -> Weight;44}4546/// Weights for pallet_nonfungible using the Substrate node and recommended hardware.47pub struct SubstrateWeight<T>(PhantomData<T>);48impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {49	// Storage: Nonfungible TokensMinted (r:1 w:1)50	// Storage: Nonfungible AccountBalance (r:1 w:1)51	// Storage: Nonfungible TokenData (r:0 w:1)52	// Storage: Nonfungible Owned (r:0 w:1)53	fn create_item() -> Weight {54		(23_112_000 as Weight)55			.saturating_add(T::DbWeight::get().reads(2 as Weight))56			.saturating_add(T::DbWeight::get().writes(4 as Weight))57	}58	// Storage: Nonfungible TokensMinted (r:1 w:1)59	// Storage: Nonfungible AccountBalance (r:1 w:1)60	// Storage: Nonfungible TokenData (r:0 w:4)61	// Storage: Nonfungible Owned (r:0 w:4)62	fn create_multiple_items(b: u32, ) -> Weight {63		(27_574_000 as Weight)64			// Standard Error: 9_00065			.saturating_add((4_368_000 as Weight).saturating_mul(b as Weight))66			.saturating_add(T::DbWeight::get().reads(2 as Weight))67			.saturating_add(T::DbWeight::get().writes(2 as Weight))68			.saturating_add(T::DbWeight::get().writes((2 as Weight).saturating_mul(b as Weight)))69	}70	// Storage: Nonfungible TokensMinted (r:1 w:1)71	// Storage: Nonfungible AccountBalance (r:4 w:4)72	// Storage: Nonfungible TokenData (r:0 w:4)73	// Storage: Nonfungible Owned (r:0 w:4)74	fn create_multiple_items_ex(b: u32, ) -> Weight {75		(7_051_000 as Weight)76			// Standard Error: 14_00077			.saturating_add((7_294_000 as Weight).saturating_mul(b as Weight))78			.saturating_add(T::DbWeight::get().reads(1 as Weight))79			.saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(b as Weight)))80			.saturating_add(T::DbWeight::get().writes(1 as Weight))81			.saturating_add(T::DbWeight::get().writes((3 as Weight).saturating_mul(b as Weight)))82	}83	// Storage: Nonfungible TokenData (r:1 w:1)84	// Storage: Nonfungible TokensBurnt (r:1 w:1)85	// Storage: Nonfungible AccountBalance (r:1 w:1)86	// Storage: Nonfungible Allowance (r:1 w:0)87	// Storage: Nonfungible Owned (r:0 w:1)88	fn burn_item() -> Weight {89		(23_780_000 as Weight)90			.saturating_add(T::DbWeight::get().reads(4 as Weight))91			.saturating_add(T::DbWeight::get().writes(4 as Weight))92	}93	// Storage: Nonfungible TokenData (r:1 w:1)94	// Storage: Nonfungible AccountBalance (r:2 w:2)95	// Storage: Nonfungible Allowance (r:1 w:0)96	// Storage: Nonfungible Owned (r:0 w:2)97	fn transfer() -> Weight {98		(34_259_000 as Weight)99			.saturating_add(T::DbWeight::get().reads(4 as Weight))100			.saturating_add(T::DbWeight::get().writes(5 as Weight))101	}102	// Storage: Nonfungible TokenData (r:1 w:0)103	// Storage: Nonfungible Allowance (r:1 w:1)104	fn approve() -> Weight {105		(17_024_000 as Weight)106			.saturating_add(T::DbWeight::get().reads(2 as Weight))107			.saturating_add(T::DbWeight::get().writes(1 as Weight))108	}109	// Storage: Nonfungible Allowance (r:1 w:1)110	// Storage: Nonfungible TokenData (r:1 w:1)111	// Storage: Nonfungible AccountBalance (r:2 w:2)112	// Storage: Nonfungible Owned (r:0 w:2)113	fn transfer_from() -> Weight {114		(31_708_000 as Weight)115			.saturating_add(T::DbWeight::get().reads(4 as Weight))116			.saturating_add(T::DbWeight::get().writes(6 as Weight))117	}118	// Storage: Nonfungible Allowance (r:1 w:1)119	// Storage: Nonfungible TokenData (r:1 w:1)120	// Storage: Nonfungible TokensBurnt (r:1 w:1)121	// Storage: Nonfungible AccountBalance (r:1 w:1)122	// Storage: Nonfungible Owned (r:0 w:1)123	fn burn_from() -> Weight {124		(28_075_000 as Weight)125			.saturating_add(T::DbWeight::get().reads(4 as Weight))126			.saturating_add(T::DbWeight::get().writes(5 as Weight))127	}128	// Storage: Nonfungible TokenData (r:1 w:1)129	fn set_variable_metadata(_b: u32, ) -> Weight {130		(7_658_000 as Weight)131			.saturating_add(T::DbWeight::get().reads(1 as Weight))132			.saturating_add(T::DbWeight::get().writes(1 as Weight))133	}134}135136// For backwards compatibility and tests137impl WeightInfo for () {138	// Storage: Nonfungible TokensMinted (r:1 w:1)139	// Storage: Nonfungible AccountBalance (r:1 w:1)140	// Storage: Nonfungible TokenData (r:0 w:1)141	// Storage: Nonfungible Owned (r:0 w:1)142	fn create_item() -> Weight {143		(23_112_000 as Weight)144			.saturating_add(RocksDbWeight::get().reads(2 as Weight))145			.saturating_add(RocksDbWeight::get().writes(4 as Weight))146	}147	// Storage: Nonfungible TokensMinted (r:1 w:1)148	// Storage: Nonfungible AccountBalance (r:1 w:1)149	// Storage: Nonfungible TokenData (r:0 w:4)150	// Storage: Nonfungible Owned (r:0 w:4)151	fn create_multiple_items(b: u32, ) -> Weight {152		(27_574_000 as Weight)153			// Standard Error: 9_000154			.saturating_add((4_368_000 as Weight).saturating_mul(b as Weight))155			.saturating_add(RocksDbWeight::get().reads(2 as Weight))156			.saturating_add(RocksDbWeight::get().writes(2 as Weight))157			.saturating_add(RocksDbWeight::get().writes((2 as Weight).saturating_mul(b as Weight)))158	}159	// Storage: Nonfungible TokensMinted (r:1 w:1)160	// Storage: Nonfungible AccountBalance (r:4 w:4)161	// Storage: Nonfungible TokenData (r:0 w:4)162	// Storage: Nonfungible Owned (r:0 w:4)163	fn create_multiple_items_ex(b: u32, ) -> Weight {164		(7_051_000 as Weight)165			// Standard Error: 14_000166			.saturating_add((7_294_000 as Weight).saturating_mul(b as Weight))167			.saturating_add(RocksDbWeight::get().reads(1 as Weight))168			.saturating_add(RocksDbWeight::get().reads((1 as Weight).saturating_mul(b as Weight)))169			.saturating_add(RocksDbWeight::get().writes(1 as Weight))170			.saturating_add(RocksDbWeight::get().writes((3 as Weight).saturating_mul(b as Weight)))171	}172	// Storage: Nonfungible TokenData (r:1 w:1)173	// Storage: Nonfungible TokensBurnt (r:1 w:1)174	// Storage: Nonfungible AccountBalance (r:1 w:1)175	// Storage: Nonfungible Allowance (r:1 w:0)176	// Storage: Nonfungible Owned (r:0 w:1)177	fn burn_item() -> Weight {178		(23_780_000 as Weight)179			.saturating_add(RocksDbWeight::get().reads(4 as Weight))180			.saturating_add(RocksDbWeight::get().writes(4 as Weight))181	}182	// Storage: Nonfungible TokenData (r:1 w:1)183	// Storage: Nonfungible AccountBalance (r:2 w:2)184	// Storage: Nonfungible Allowance (r:1 w:0)185	// Storage: Nonfungible Owned (r:0 w:2)186	fn transfer() -> Weight {187		(34_259_000 as Weight)188			.saturating_add(RocksDbWeight::get().reads(4 as Weight))189			.saturating_add(RocksDbWeight::get().writes(5 as Weight))190	}191	// Storage: Nonfungible TokenData (r:1 w:0)192	// Storage: Nonfungible Allowance (r:1 w:1)193	fn approve() -> Weight {194		(17_024_000 as Weight)195			.saturating_add(RocksDbWeight::get().reads(2 as Weight))196			.saturating_add(RocksDbWeight::get().writes(1 as Weight))197	}198	// Storage: Nonfungible Allowance (r:1 w:1)199	// Storage: Nonfungible TokenData (r:1 w:1)200	// Storage: Nonfungible AccountBalance (r:2 w:2)201	// Storage: Nonfungible Owned (r:0 w:2)202	fn transfer_from() -> Weight {203		(31_708_000 as Weight)204			.saturating_add(RocksDbWeight::get().reads(4 as Weight))205			.saturating_add(RocksDbWeight::get().writes(6 as Weight))206	}207	// Storage: Nonfungible Allowance (r:1 w:1)208	// Storage: Nonfungible TokenData (r:1 w:1)209	// Storage: Nonfungible TokensBurnt (r:1 w:1)210	// Storage: Nonfungible AccountBalance (r:1 w:1)211	// Storage: Nonfungible Owned (r:0 w:1)212	fn burn_from() -> Weight {213		(28_075_000 as Weight)214			.saturating_add(RocksDbWeight::get().reads(4 as Weight))215			.saturating_add(RocksDbWeight::get().writes(5 as Weight))216	}217	// Storage: Nonfungible TokenData (r:1 w:1)218	fn set_variable_metadata(_b: u32, ) -> Weight {219		(7_658_000 as Weight)220			.saturating_add(RocksDbWeight::get().reads(1 as Weight))221			.saturating_add(RocksDbWeight::get().writes(1 as Weight))222	}223}
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
--- a/pallets/unique/src/weights.rs
+++ b/pallets/unique/src/weights.rs
@@ -19,6 +19,7 @@
 // .maintain/frame-weight-template.hbs
 // --steps=50
 // --repeat=20
+// --heap-pages=4096
 // --output=./pallets/unique/src/weights.rs
 
 #![cfg_attr(rustfmt, rustfmt_skip)]
@@ -60,7 +61,7 @@
 	// Storage: System Account (r:2 w:2)
 	// Storage: Common CollectionById (r:0 w:1)
 	fn create_collection() -> Weight {
-		(28_864_000 as Weight)
+		(28_650_000 as Weight)
 			.saturating_add(T::DbWeight::get().reads(4 as Weight))
 			.saturating_add(T::DbWeight::get().writes(4 as Weight))
 	}
@@ -70,39 +71,39 @@
 	// Storage: Nonfungible TokensBurnt (r:0 w:1)
 	// Storage: Common AdminAmount (r:0 w:1)
 	fn destroy_collection() -> Weight {
-		(39_196_000 as Weight)
+		(40_437_000 as Weight)
 			.saturating_add(T::DbWeight::get().reads(2 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 {
-		(15_161_000 as Weight)
+		(15_316_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 {
-		(17_224_000 as Weight)
+		(15_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_public_access_mode() -> Weight {
-		(14_557_000 as Weight)
+		(14_695_000 as Weight)
 			.saturating_add(T::DbWeight::get().reads(1 as Weight))
 			.saturating_add(T::DbWeight::get().writes(1 as Weight))
 	}
 	// Storage: Common CollectionById (r:1 w:1)
 	fn set_mint_permission() -> Weight {
-		(14_835_000 as Weight)
+		(14_561_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 {
-		(15_587_000 as Weight)
+		(15_598_000 as Weight)
 			.saturating_add(T::DbWeight::get().reads(1 as Weight))
 			.saturating_add(T::DbWeight::get().writes(1 as Weight))
 	}
@@ -110,7 +111,7 @@
 	// Storage: Common IsAdmin (r:1 w:1)
 	// Storage: Common AdminAmount (r:1 w:1)
 	fn add_collection_admin() -> Weight {
-		(24_447_000 as Weight)
+		(20_230_000 as Weight)
 			.saturating_add(T::DbWeight::get().reads(3 as Weight))
 			.saturating_add(T::DbWeight::get().writes(2 as Weight))
 	}
@@ -118,67 +119,67 @@
 	// Storage: Common IsAdmin (r:1 w:1)
 	// Storage: Common AdminAmount (r:1 w:1)
 	fn remove_collection_admin() -> Weight {
-		(22_141_000 as Weight)
+		(22_449_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 {
-		(15_407_000 as Weight)
+		(15_619_000 as Weight)
 			.saturating_add(T::DbWeight::get().reads(1 as Weight))
 			.saturating_add(T::DbWeight::get().writes(1 as Weight))
 	}
 	// Storage: Common CollectionById (r:1 w:1)
 	fn confirm_sponsorship() -> Weight {
-		(14_939_000 as Weight)
+		(15_328_000 as Weight)
 			.saturating_add(T::DbWeight::get().reads(1 as Weight))
 			.saturating_add(T::DbWeight::get().writes(1 as Weight))
 	}
 	// Storage: Common CollectionById (r:1 w:1)
 	fn remove_collection_sponsor() -> Weight {
-		(14_504_000 as Weight)
+		(15_005_000 as Weight)
 			.saturating_add(T::DbWeight::get().reads(1 as Weight))
 			.saturating_add(T::DbWeight::get().writes(1 as Weight))
 	}
 	// Storage: Common CollectionById (r:1 w:1)
 	fn set_transfers_enabled_flag() -> Weight {
-		(7_218_000 as Weight)
+		(7_867_000 as Weight)
 			.saturating_add(T::DbWeight::get().reads(1 as Weight))
 			.saturating_add(T::DbWeight::get().writes(1 as Weight))
 	}
 	// Storage: Common CollectionById (r:1 w:1)
 	fn set_offchain_schema(_b: u32, ) -> Weight {
-		(15_040_000 as Weight)
+		(15_644_000 as Weight)
 			.saturating_add(T::DbWeight::get().reads(1 as Weight))
 			.saturating_add(T::DbWeight::get().writes(1 as Weight))
 	}
 	// Storage: Common CollectionById (r:1 w:1)
 	fn set_const_on_chain_schema(_b: u32, ) -> Weight {
-		(14_932_000 as Weight)
+		(15_398_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 {
-		(15_291_000 as Weight)
+		(15_500_000 as Weight)
 			.saturating_add(T::DbWeight::get().reads(1 as Weight))
 			.saturating_add(T::DbWeight::get().writes(1 as Weight))
 	}
 	// Storage: Common CollectionById (r:1 w:1)
 	fn set_schema_version() -> Weight {
-		(14_725_000 as Weight)
+		(15_097_000 as Weight)
 			.saturating_add(T::DbWeight::get().reads(1 as Weight))
 			.saturating_add(T::DbWeight::get().writes(1 as Weight))
 	}
 	// Storage: Common CollectionById (r:1 w:1)
 	fn set_collection_limits() -> Weight {
-		(15_222_000 as Weight)
+		(15_631_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 {
-		(7_270_000 as Weight)
+		(7_469_000 as Weight)
 			.saturating_add(T::DbWeight::get().reads(1 as Weight))
 			.saturating_add(T::DbWeight::get().writes(1 as Weight))
 	}
@@ -191,7 +192,7 @@
 	// Storage: System Account (r:2 w:2)
 	// Storage: Common CollectionById (r:0 w:1)
 	fn create_collection() -> Weight {
-		(28_864_000 as Weight)
+		(28_650_000 as Weight)
 			.saturating_add(RocksDbWeight::get().reads(4 as Weight))
 			.saturating_add(RocksDbWeight::get().writes(4 as Weight))
 	}
@@ -201,39 +202,39 @@
 	// Storage: Nonfungible TokensBurnt (r:0 w:1)
 	// Storage: Common AdminAmount (r:0 w:1)
 	fn destroy_collection() -> Weight {
-		(39_196_000 as Weight)
+		(40_437_000 as Weight)
 			.saturating_add(RocksDbWeight::get().reads(2 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 {
-		(15_161_000 as Weight)
+		(15_316_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 {
-		(17_224_000 as Weight)
+		(15_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_public_access_mode() -> Weight {
-		(14_557_000 as Weight)
+		(14_695_000 as Weight)
 			.saturating_add(RocksDbWeight::get().reads(1 as Weight))
 			.saturating_add(RocksDbWeight::get().writes(1 as Weight))
 	}
 	// Storage: Common CollectionById (r:1 w:1)
 	fn set_mint_permission() -> Weight {
-		(14_835_000 as Weight)
+		(14_561_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 {
-		(15_587_000 as Weight)
+		(15_598_000 as Weight)
 			.saturating_add(RocksDbWeight::get().reads(1 as Weight))
 			.saturating_add(RocksDbWeight::get().writes(1 as Weight))
 	}
@@ -241,7 +242,7 @@
 	// Storage: Common IsAdmin (r:1 w:1)
 	// Storage: Common AdminAmount (r:1 w:1)
 	fn add_collection_admin() -> Weight {
-		(24_447_000 as Weight)
+		(20_230_000 as Weight)
 			.saturating_add(RocksDbWeight::get().reads(3 as Weight))
 			.saturating_add(RocksDbWeight::get().writes(2 as Weight))
 	}
@@ -249,67 +250,67 @@
 	// Storage: Common IsAdmin (r:1 w:1)
 	// Storage: Common AdminAmount (r:1 w:1)
 	fn remove_collection_admin() -> Weight {
-		(22_141_000 as Weight)
+		(22_449_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 {
-		(15_407_000 as Weight)
+		(15_619_000 as Weight)
 			.saturating_add(RocksDbWeight::get().reads(1 as Weight))
 			.saturating_add(RocksDbWeight::get().writes(1 as Weight))
 	}
 	// Storage: Common CollectionById (r:1 w:1)
 	fn confirm_sponsorship() -> Weight {
-		(14_939_000 as Weight)
+		(15_328_000 as Weight)
 			.saturating_add(RocksDbWeight::get().reads(1 as Weight))
 			.saturating_add(RocksDbWeight::get().writes(1 as Weight))
 	}
 	// Storage: Common CollectionById (r:1 w:1)
 	fn remove_collection_sponsor() -> Weight {
-		(14_504_000 as Weight)
+		(15_005_000 as Weight)
 			.saturating_add(RocksDbWeight::get().reads(1 as Weight))
 			.saturating_add(RocksDbWeight::get().writes(1 as Weight))
 	}
 	// Storage: Common CollectionById (r:1 w:1)
 	fn set_transfers_enabled_flag() -> Weight {
-		(7_218_000 as Weight)
+		(7_867_000 as Weight)
 			.saturating_add(RocksDbWeight::get().reads(1 as Weight))
 			.saturating_add(RocksDbWeight::get().writes(1 as Weight))
 	}
 	// Storage: Common CollectionById (r:1 w:1)
 	fn set_offchain_schema(_b: u32, ) -> Weight {
-		(15_040_000 as Weight)
+		(15_644_000 as Weight)
 			.saturating_add(RocksDbWeight::get().reads(1 as Weight))
 			.saturating_add(RocksDbWeight::get().writes(1 as Weight))
 	}
 	// Storage: Common CollectionById (r:1 w:1)
 	fn set_const_on_chain_schema(_b: u32, ) -> Weight {
-		(14_932_000 as Weight)
+		(15_398_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 {
-		(15_291_000 as Weight)
+		(15_500_000 as Weight)
 			.saturating_add(RocksDbWeight::get().reads(1 as Weight))
 			.saturating_add(RocksDbWeight::get().writes(1 as Weight))
 	}
 	// Storage: Common CollectionById (r:1 w:1)
 	fn set_schema_version() -> Weight {
-		(14_725_000 as Weight)
+		(15_097_000 as Weight)
 			.saturating_add(RocksDbWeight::get().reads(1 as Weight))
 			.saturating_add(RocksDbWeight::get().writes(1 as Weight))
 	}
 	// Storage: Common CollectionById (r:1 w:1)
 	fn set_collection_limits() -> Weight {
-		(15_222_000 as Weight)
+		(15_631_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 {
-		(7_270_000 as Weight)
+		(7_469_000 as Weight)
 			.saturating_add(RocksDbWeight::get().reads(1 as Weight))
 			.saturating_add(RocksDbWeight::get().writes(1 as Weight))
 	}