diff --git a/frame/assets/src/benchmarking.rs b/frame/assets/src/benchmarking.rs index 747e072ddde2b..ff20b3e187217 100644 --- a/frame/assets/src/benchmarking.rs +++ b/frame/assets/src/benchmarking.rs @@ -141,10 +141,10 @@ benchmarks_instance_pallet! { let asset_id = default_asset_id::(); let origin = T::CreateOrigin::try_successful_origin(&asset_id.into()) .map_err(|_| BenchmarkError::Weightless)?; - let caller = T::CreateOrigin::ensure_origin(origin, &asset_id.into()).unwrap(); + let caller = T::CreateOrigin::ensure_origin(origin.clone(), &asset_id.into()).unwrap(); let caller_lookup = T::Lookup::unlookup(caller.clone()); T::Currency::make_free_balance_be(&caller, DepositBalanceOf::::max_value()); - }: _(SystemOrigin::Signed(caller.clone()), asset_id.clone(), caller_lookup, 1u32.into()) + }: _(origin, asset_id.clone(), caller_lookup, 1u32.into()) verify { assert_last_event::(Event::Created { asset_id: asset_id.into(), creator: caller.clone(), owner: caller }.into()); } diff --git a/frame/assets/src/weights.rs b/frame/assets/src/weights.rs index 76ac585ff41f8..21e49a9b784a6 100644 --- a/frame/assets/src/weights.rs +++ b/frame/assets/src/weights.rs @@ -18,7 +18,7 @@ //! Autogenerated weights for pallet_assets //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-05-01, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-06-14, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bm3`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 @@ -34,7 +34,7 @@ // --wasm-execution=compiled // --heap-pages=4096 // --json-file=/var/lib/gitlab-runner/builds/zyw4fam_/0/parity/mirrors/substrate/.git/.artifacts/bench.json -// --pallet=pallet_assets +// --pallet=pallet-assets // --chain=dev // --header=./HEADER-APACHE2 // --output=./frame/assets/src/weights.rs @@ -95,8 +95,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `293` // Estimated: `3675` - // Minimum execution time: 31_668_000 picoseconds. - Weight::from_parts(32_079_000, 3675) + // Minimum execution time: 30_116_000 picoseconds. + Weight::from_parts(30_608_000, 3675) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -106,8 +106,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `153` // Estimated: `3675` - // Minimum execution time: 14_885_000 picoseconds. - Weight::from_parts(15_358_000, 3675) + // Minimum execution time: 14_154_000 picoseconds. + Weight::from_parts(14_434_000, 3675) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -117,8 +117,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `385` // Estimated: `3675` - // Minimum execution time: 15_295_000 picoseconds. - Weight::from_parts(15_639_000, 3675) + // Minimum execution time: 14_456_000 picoseconds. + Weight::from_parts(14_798_000, 3675) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -133,10 +133,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0 + c * (208 ±0)` // Estimated: `3675 + c * (2609 ±0)` - // Minimum execution time: 19_916_000 picoseconds. - Weight::from_parts(20_220_000, 3675) - // Standard Error: 7_298 - .saturating_add(Weight::from_parts(12_553_976, 0).saturating_mul(c.into())) + // Minimum execution time: 19_489_000 picoseconds. + Weight::from_parts(19_670_000, 3675) + // Standard Error: 6_989 + .saturating_add(Weight::from_parts(12_307_864, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(c.into()))) .saturating_add(T::DbWeight::get().writes(1_u64)) @@ -152,10 +152,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `522 + a * (86 ±0)` // Estimated: `3675 + a * (2623 ±0)` - // Minimum execution time: 20_322_000 picoseconds. - Weight::from_parts(20_744_000, 3675) - // Standard Error: 12_314 - .saturating_add(Weight::from_parts(14_767_353, 0).saturating_mul(a.into())) + // Minimum execution time: 19_857_000 picoseconds. + Weight::from_parts(20_319_000, 3675) + // Standard Error: 6_375 + .saturating_add(Weight::from_parts(14_205_651, 0).saturating_mul(a.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(a.into()))) .saturating_add(T::DbWeight::get().writes(1_u64)) @@ -170,8 +170,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `351` // Estimated: `3675` - // Minimum execution time: 15_668_000 picoseconds. - Weight::from_parts(16_016_000, 3675) + // Minimum execution time: 14_879_000 picoseconds. + Weight::from_parts(15_235_000, 3675) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -183,8 +183,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `351` // Estimated: `3675` - // Minimum execution time: 28_227_000 picoseconds. - Weight::from_parts(28_769_000, 3675) + // Minimum execution time: 27_071_000 picoseconds. + Weight::from_parts(27_509_000, 3675) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -196,8 +196,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `459` // Estimated: `3675` - // Minimum execution time: 34_672_000 picoseconds. - Weight::from_parts(34_902_000, 3675) + // Minimum execution time: 33_142_000 picoseconds. + Weight::from_parts(33_494_000, 3675) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -211,8 +211,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `498` // Estimated: `6208` - // Minimum execution time: 49_003_000 picoseconds. - Weight::from_parts(49_345_000, 6208) + // Minimum execution time: 47_437_000 picoseconds. + Weight::from_parts(48_039_000, 6208) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } @@ -226,8 +226,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `498` // Estimated: `6208` - // Minimum execution time: 43_429_000 picoseconds. - Weight::from_parts(43_936_000, 6208) + // Minimum execution time: 41_857_000 picoseconds. + Weight::from_parts(42_284_000, 6208) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } @@ -241,8 +241,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `498` // Estimated: `6208` - // Minimum execution time: 49_177_000 picoseconds. - Weight::from_parts(49_548_000, 6208) + // Minimum execution time: 47_284_000 picoseconds. + Weight::from_parts(47_606_000, 6208) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } @@ -254,8 +254,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `459` // Estimated: `3675` - // Minimum execution time: 19_323_000 picoseconds. - Weight::from_parts(19_945_000, 3675) + // Minimum execution time: 18_555_000 picoseconds. + Weight::from_parts(18_923_000, 3675) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -267,8 +267,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `459` // Estimated: `3675` - // Minimum execution time: 19_543_000 picoseconds. - Weight::from_parts(19_747_000, 3675) + // Minimum execution time: 18_424_000 picoseconds. + Weight::from_parts(18_961_000, 3675) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -278,8 +278,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `385` // Estimated: `3675` - // Minimum execution time: 15_623_000 picoseconds. - Weight::from_parts(15_833_000, 3675) + // Minimum execution time: 14_561_000 picoseconds. + Weight::from_parts(15_018_000, 3675) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -289,8 +289,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `385` // Estimated: `3675` - // Minimum execution time: 15_396_000 picoseconds. - Weight::from_parts(15_704_000, 3675) + // Minimum execution time: 14_691_000 picoseconds. + Weight::from_parts(15_008_000, 3675) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -302,8 +302,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `351` // Estimated: `3675` - // Minimum execution time: 17_205_000 picoseconds. - Weight::from_parts(17_546_000, 3675) + // Minimum execution time: 16_448_000 picoseconds. + Weight::from_parts(16_662_000, 3675) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -313,8 +313,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `351` // Estimated: `3675` - // Minimum execution time: 16_049_000 picoseconds. - Weight::from_parts(16_317_000, 3675) + // Minimum execution time: 15_155_000 picoseconds. + Weight::from_parts(15_425_000, 3675) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -328,12 +328,12 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `351` // Estimated: `3675` - // Minimum execution time: 31_574_000 picoseconds. - Weight::from_parts(32_447_787, 3675) - // Standard Error: 904 - .saturating_add(Weight::from_parts(653, 0).saturating_mul(n.into())) - // Standard Error: 904 - .saturating_add(Weight::from_parts(271, 0).saturating_mul(s.into())) + // Minimum execution time: 30_080_000 picoseconds. + Weight::from_parts(30_836_767, 3675) + // Standard Error: 742 + .saturating_add(Weight::from_parts(3_795, 0).saturating_mul(n.into())) + // Standard Error: 742 + .saturating_add(Weight::from_parts(3_098, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -345,8 +345,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `515` // Estimated: `3675` - // Minimum execution time: 31_865_000 picoseconds. - Weight::from_parts(32_160_000, 3675) + // Minimum execution time: 30_525_000 picoseconds. + Weight::from_parts(31_113_000, 3675) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -356,16 +356,14 @@ impl WeightInfo for SubstrateWeight { /// Proof: Assets Metadata (max_values: None, max_size: Some(140), added: 2615, mode: MaxEncodedLen) /// The range of component `n` is `[0, 50]`. /// The range of component `s` is `[0, 50]`. - fn force_set_metadata(n: u32, s: u32, ) -> Weight { + fn force_set_metadata(_n: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `190` // Estimated: `3675` - // Minimum execution time: 16_203_000 picoseconds. - Weight::from_parts(16_432_499, 3675) - // Standard Error: 1_563 - .saturating_add(Weight::from_parts(5_818, 0).saturating_mul(n.into())) - // Standard Error: 1_563 - .saturating_add(Weight::from_parts(9_660, 0).saturating_mul(s.into())) + // Minimum execution time: 15_459_000 picoseconds. + Weight::from_parts(16_330_726, 3675) + // Standard Error: 347 + .saturating_add(Weight::from_parts(1_791, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -377,8 +375,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `515` // Estimated: `3675` - // Minimum execution time: 33_443_000 picoseconds. - Weight::from_parts(56_533_000, 3675) + // Minimum execution time: 30_264_000 picoseconds. + Weight::from_parts(30_543_000, 3675) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -388,8 +386,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `351` // Estimated: `3675` - // Minimum execution time: 20_636_000 picoseconds. - Weight::from_parts(23_960_000, 3675) + // Minimum execution time: 14_173_000 picoseconds. + Weight::from_parts(14_568_000, 3675) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -401,8 +399,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `385` // Estimated: `3675` - // Minimum execution time: 35_987_000 picoseconds. - Weight::from_parts(36_429_000, 3675) + // Minimum execution time: 33_873_000 picoseconds. + Weight::from_parts(34_511_000, 3675) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -418,8 +416,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `668` // Estimated: `6208` - // Minimum execution time: 68_059_000 picoseconds. - Weight::from_parts(69_845_000, 6208) + // Minimum execution time: 65_606_000 picoseconds. + Weight::from_parts(66_477_000, 6208) .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().writes(5_u64)) } @@ -431,8 +429,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `555` // Estimated: `3675` - // Minimum execution time: 38_066_000 picoseconds. - Weight::from_parts(38_450_000, 3675) + // Minimum execution time: 35_775_000 picoseconds. + Weight::from_parts(36_220_000, 3675) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -444,8 +442,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `555` // Estimated: `3675` - // Minimum execution time: 38_500_000 picoseconds. - Weight::from_parts(38_953_000, 3675) + // Minimum execution time: 36_082_000 picoseconds. + Weight::from_parts(36_531_000, 3675) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -455,8 +453,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `351` // Estimated: `3675` - // Minimum execution time: 16_268_000 picoseconds. - Weight::from_parts(16_764_000, 3675) + // Minimum execution time: 15_331_000 picoseconds. + Weight::from_parts(15_693_000, 3675) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -470,8 +468,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `453` // Estimated: `3675` - // Minimum execution time: 37_468_000 picoseconds. - Weight::from_parts(37_957_000, 3675) + // Minimum execution time: 35_027_000 picoseconds. + Weight::from_parts(35_470_000, 3675) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -483,10 +481,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `351` // Estimated: `3675` - // Minimum execution time: 383_408_000 picoseconds. - Weight::from_parts(392_036_000, 3675) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(2)) + // Minimum execution time: 33_444_000 picoseconds. + Weight::from_parts(33_952_000, 3675) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) } /// Storage: Assets Account (r:1 w:1) /// Proof: Assets Account (max_values: None, max_size: Some(134), added: 2609, mode: MaxEncodedLen) @@ -498,8 +496,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `579` // Estimated: `3675` - // Minimum execution time: 34_066_000 picoseconds. - Weight::from_parts(34_347_000, 3675) + // Minimum execution time: 32_595_000 picoseconds. + Weight::from_parts(32_956_000, 3675) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -511,8 +509,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `510` // Estimated: `3675` - // Minimum execution time: 32_060_000 picoseconds. - Weight::from_parts(32_519_000, 3675) + // Minimum execution time: 30_662_000 picoseconds. + Weight::from_parts(31_148_000, 3675) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -524,8 +522,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `459` // Estimated: `3675` - // Minimum execution time: 115_000_000 picoseconds. - Weight::from_parts(163_000_000, 3675) + // Minimum execution time: 18_295_000 picoseconds. + Weight::from_parts(18_981_000, 3675) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -541,8 +539,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `293` // Estimated: `3675` - // Minimum execution time: 31_668_000 picoseconds. - Weight::from_parts(32_079_000, 3675) + // Minimum execution time: 30_116_000 picoseconds. + Weight::from_parts(30_608_000, 3675) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -552,8 +550,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `153` // Estimated: `3675` - // Minimum execution time: 14_885_000 picoseconds. - Weight::from_parts(15_358_000, 3675) + // Minimum execution time: 14_154_000 picoseconds. + Weight::from_parts(14_434_000, 3675) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -563,8 +561,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `385` // Estimated: `3675` - // Minimum execution time: 15_295_000 picoseconds. - Weight::from_parts(15_639_000, 3675) + // Minimum execution time: 14_456_000 picoseconds. + Weight::from_parts(14_798_000, 3675) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -579,10 +577,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0 + c * (208 ±0)` // Estimated: `3675 + c * (2609 ±0)` - // Minimum execution time: 19_916_000 picoseconds. - Weight::from_parts(20_220_000, 3675) - // Standard Error: 7_298 - .saturating_add(Weight::from_parts(12_553_976, 0).saturating_mul(c.into())) + // Minimum execution time: 19_489_000 picoseconds. + Weight::from_parts(19_670_000, 3675) + // Standard Error: 6_989 + .saturating_add(Weight::from_parts(12_307_864, 0).saturating_mul(c.into())) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().reads((2_u64).saturating_mul(c.into()))) .saturating_add(RocksDbWeight::get().writes(1_u64)) @@ -598,10 +596,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `522 + a * (86 ±0)` // Estimated: `3675 + a * (2623 ±0)` - // Minimum execution time: 20_322_000 picoseconds. - Weight::from_parts(20_744_000, 3675) - // Standard Error: 12_314 - .saturating_add(Weight::from_parts(14_767_353, 0).saturating_mul(a.into())) + // Minimum execution time: 19_857_000 picoseconds. + Weight::from_parts(20_319_000, 3675) + // Standard Error: 6_375 + .saturating_add(Weight::from_parts(14_205_651, 0).saturating_mul(a.into())) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(a.into()))) .saturating_add(RocksDbWeight::get().writes(1_u64)) @@ -616,8 +614,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `351` // Estimated: `3675` - // Minimum execution time: 15_668_000 picoseconds. - Weight::from_parts(16_016_000, 3675) + // Minimum execution time: 14_879_000 picoseconds. + Weight::from_parts(15_235_000, 3675) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -629,8 +627,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `351` // Estimated: `3675` - // Minimum execution time: 28_227_000 picoseconds. - Weight::from_parts(28_769_000, 3675) + // Minimum execution time: 27_071_000 picoseconds. + Weight::from_parts(27_509_000, 3675) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -642,8 +640,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `459` // Estimated: `3675` - // Minimum execution time: 34_672_000 picoseconds. - Weight::from_parts(34_902_000, 3675) + // Minimum execution time: 33_142_000 picoseconds. + Weight::from_parts(33_494_000, 3675) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -657,8 +655,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `498` // Estimated: `6208` - // Minimum execution time: 49_003_000 picoseconds. - Weight::from_parts(49_345_000, 6208) + // Minimum execution time: 47_437_000 picoseconds. + Weight::from_parts(48_039_000, 6208) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(4_u64)) } @@ -672,8 +670,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `498` // Estimated: `6208` - // Minimum execution time: 43_429_000 picoseconds. - Weight::from_parts(43_936_000, 6208) + // Minimum execution time: 41_857_000 picoseconds. + Weight::from_parts(42_284_000, 6208) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(4_u64)) } @@ -687,8 +685,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `498` // Estimated: `6208` - // Minimum execution time: 49_177_000 picoseconds. - Weight::from_parts(49_548_000, 6208) + // Minimum execution time: 47_284_000 picoseconds. + Weight::from_parts(47_606_000, 6208) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(4_u64)) } @@ -700,8 +698,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `459` // Estimated: `3675` - // Minimum execution time: 19_323_000 picoseconds. - Weight::from_parts(19_945_000, 3675) + // Minimum execution time: 18_555_000 picoseconds. + Weight::from_parts(18_923_000, 3675) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -713,8 +711,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `459` // Estimated: `3675` - // Minimum execution time: 19_543_000 picoseconds. - Weight::from_parts(19_747_000, 3675) + // Minimum execution time: 18_424_000 picoseconds. + Weight::from_parts(18_961_000, 3675) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -724,8 +722,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `385` // Estimated: `3675` - // Minimum execution time: 15_623_000 picoseconds. - Weight::from_parts(15_833_000, 3675) + // Minimum execution time: 14_561_000 picoseconds. + Weight::from_parts(15_018_000, 3675) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -735,8 +733,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `385` // Estimated: `3675` - // Minimum execution time: 15_396_000 picoseconds. - Weight::from_parts(15_704_000, 3675) + // Minimum execution time: 14_691_000 picoseconds. + Weight::from_parts(15_008_000, 3675) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -748,8 +746,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `351` // Estimated: `3675` - // Minimum execution time: 17_205_000 picoseconds. - Weight::from_parts(17_546_000, 3675) + // Minimum execution time: 16_448_000 picoseconds. + Weight::from_parts(16_662_000, 3675) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -759,8 +757,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `351` // Estimated: `3675` - // Minimum execution time: 16_049_000 picoseconds. - Weight::from_parts(16_317_000, 3675) + // Minimum execution time: 15_155_000 picoseconds. + Weight::from_parts(15_425_000, 3675) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -774,12 +772,12 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `351` // Estimated: `3675` - // Minimum execution time: 31_574_000 picoseconds. - Weight::from_parts(32_447_787, 3675) - // Standard Error: 904 - .saturating_add(Weight::from_parts(653, 0).saturating_mul(n.into())) - // Standard Error: 904 - .saturating_add(Weight::from_parts(271, 0).saturating_mul(s.into())) + // Minimum execution time: 30_080_000 picoseconds. + Weight::from_parts(30_836_767, 3675) + // Standard Error: 742 + .saturating_add(Weight::from_parts(3_795, 0).saturating_mul(n.into())) + // Standard Error: 742 + .saturating_add(Weight::from_parts(3_098, 0).saturating_mul(s.into())) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -791,8 +789,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `515` // Estimated: `3675` - // Minimum execution time: 31_865_000 picoseconds. - Weight::from_parts(32_160_000, 3675) + // Minimum execution time: 30_525_000 picoseconds. + Weight::from_parts(31_113_000, 3675) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -802,16 +800,14 @@ impl WeightInfo for () { /// Proof: Assets Metadata (max_values: None, max_size: Some(140), added: 2615, mode: MaxEncodedLen) /// The range of component `n` is `[0, 50]`. /// The range of component `s` is `[0, 50]`. - fn force_set_metadata(n: u32, s: u32, ) -> Weight { + fn force_set_metadata(_n: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `190` // Estimated: `3675` - // Minimum execution time: 16_203_000 picoseconds. - Weight::from_parts(16_432_499, 3675) - // Standard Error: 1_563 - .saturating_add(Weight::from_parts(5_818, 0).saturating_mul(n.into())) - // Standard Error: 1_563 - .saturating_add(Weight::from_parts(9_660, 0).saturating_mul(s.into())) + // Minimum execution time: 15_459_000 picoseconds. + Weight::from_parts(16_330_726, 3675) + // Standard Error: 347 + .saturating_add(Weight::from_parts(1_791, 0).saturating_mul(s.into())) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -823,8 +819,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `515` // Estimated: `3675` - // Minimum execution time: 33_443_000 picoseconds. - Weight::from_parts(56_533_000, 3675) + // Minimum execution time: 30_264_000 picoseconds. + Weight::from_parts(30_543_000, 3675) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -834,8 +830,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `351` // Estimated: `3675` - // Minimum execution time: 20_636_000 picoseconds. - Weight::from_parts(23_960_000, 3675) + // Minimum execution time: 14_173_000 picoseconds. + Weight::from_parts(14_568_000, 3675) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -847,8 +843,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `385` // Estimated: `3675` - // Minimum execution time: 35_987_000 picoseconds. - Weight::from_parts(36_429_000, 3675) + // Minimum execution time: 33_873_000 picoseconds. + Weight::from_parts(34_511_000, 3675) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -864,8 +860,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `668` // Estimated: `6208` - // Minimum execution time: 68_059_000 picoseconds. - Weight::from_parts(69_845_000, 6208) + // Minimum execution time: 65_606_000 picoseconds. + Weight::from_parts(66_477_000, 6208) .saturating_add(RocksDbWeight::get().reads(5_u64)) .saturating_add(RocksDbWeight::get().writes(5_u64)) } @@ -877,8 +873,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `555` // Estimated: `3675` - // Minimum execution time: 38_066_000 picoseconds. - Weight::from_parts(38_450_000, 3675) + // Minimum execution time: 35_775_000 picoseconds. + Weight::from_parts(36_220_000, 3675) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -890,8 +886,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `555` // Estimated: `3675` - // Minimum execution time: 38_500_000 picoseconds. - Weight::from_parts(38_953_000, 3675) + // Minimum execution time: 36_082_000 picoseconds. + Weight::from_parts(36_531_000, 3675) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -901,8 +897,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `351` // Estimated: `3675` - // Minimum execution time: 16_268_000 picoseconds. - Weight::from_parts(16_764_000, 3675) + // Minimum execution time: 15_331_000 picoseconds. + Weight::from_parts(15_693_000, 3675) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -916,8 +912,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `453` // Estimated: `3675` - // Minimum execution time: 37_468_000 picoseconds. - Weight::from_parts(37_957_000, 3675) + // Minimum execution time: 35_027_000 picoseconds. + Weight::from_parts(35_470_000, 3675) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } @@ -929,10 +925,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `351` // Estimated: `3675` - // Minimum execution time: 383_408_000 picoseconds. - Weight::from_parts(392_036_000, 3675) - .saturating_add(RocksDbWeight::get().reads(2)) - .saturating_add(RocksDbWeight::get().writes(2)) + // Minimum execution time: 33_444_000 picoseconds. + Weight::from_parts(33_952_000, 3675) + .saturating_add(RocksDbWeight::get().reads(2_u64)) + .saturating_add(RocksDbWeight::get().writes(2_u64)) } /// Storage: Assets Account (r:1 w:1) /// Proof: Assets Account (max_values: None, max_size: Some(134), added: 2609, mode: MaxEncodedLen) @@ -944,8 +940,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `579` // Estimated: `3675` - // Minimum execution time: 34_066_000 picoseconds. - Weight::from_parts(34_347_000, 3675) + // Minimum execution time: 32_595_000 picoseconds. + Weight::from_parts(32_956_000, 3675) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } @@ -957,8 +953,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `510` // Estimated: `3675` - // Minimum execution time: 32_060_000 picoseconds. - Weight::from_parts(32_519_000, 3675) + // Minimum execution time: 30_662_000 picoseconds. + Weight::from_parts(31_148_000, 3675) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -970,8 +966,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `459` // Estimated: `3675` - // Minimum execution time: 115_000_000 picoseconds. - Weight::from_parts(163_000_000, 3675) + // Minimum execution time: 18_295_000 picoseconds. + Weight::from_parts(18_981_000, 3675) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) }