[backport] weights 9400 (#2425)

* [benchmarks] pr with weights (#2373)

Co-authored-by: paritytech-ci <paritytech-ci@parity.io>

* [benchmarks] pr with weights (#2374)

Co-authored-by: paritytech-ci <paritytech-ci@parity.io>

* [benchmarks] pr with weights (#2375)

Co-authored-by: paritytech-ci <paritytech-ci@parity.io>

* Proof size in test wasn't sufficient

(due to updated weights.)

---------

Co-authored-by: Paritytech CI <52199148+paritytech-ci@users.noreply.github.com>
Co-authored-by: paritytech-ci <paritytech-ci@parity.io>
Co-authored-by: Giles Cope <gilescope@gmail.com>
This commit is contained in:
Egor_P
2023-04-04 16:00:05 +02:00
committed by GitHub
parent 53c6b8d71a
commit 5ed3677723
90 changed files with 4416 additions and 4425 deletions
@@ -1,4 +1,4 @@
// Copyright 2021 Parity Technologies (UK) Ltd.
// Copyright Parity Technologies (UK) Ltd.
// This file is part of Cumulus.
// Cumulus is free software: you can redistribute it and/or modify
@@ -17,7 +17,7 @@
//! Autogenerated weights for `pallet_uniques`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2023-02-23, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2023-03-23, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westmint-dev"), DB CACHE: 1024
@@ -53,11 +53,11 @@ impl<T: frame_system::Config> pallet_uniques::WeightInfo for WeightInfo<T> {
/// Proof: Uniques ClassAccount (max_values: None, max_size: Some(68), added: 2543, mode: MaxEncodedLen)
fn create() -> Weight {
// Proof Size summary in bytes:
// Measured: `177`
// Estimated: `2653`
// Minimum execution time: 23_302 nanoseconds.
Weight::from_parts(23_817_000, 0)
.saturating_add(Weight::from_parts(0, 2653))
// Measured: `145`
// Estimated: `3643`
// Minimum execution time: 26_855_000 picoseconds.
Weight::from_parts(27_393_000, 0)
.saturating_add(Weight::from_parts(0, 3643))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(2))
}
@@ -68,10 +68,10 @@ impl<T: frame_system::Config> pallet_uniques::WeightInfo for WeightInfo<T> {
fn force_create() -> Weight {
// Proof Size summary in bytes:
// Measured: `42`
// Estimated: `2653`
// Minimum execution time: 12_529 nanoseconds.
Weight::from_parts(13_079_000, 0)
.saturating_add(Weight::from_parts(0, 2653))
// Estimated: `3643`
// Minimum execution time: 15_006_000 picoseconds.
Weight::from_parts(15_389_000, 0)
.saturating_add(Weight::from_parts(0, 3643))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(2))
}
@@ -79,14 +79,14 @@ impl<T: frame_system::Config> pallet_uniques::WeightInfo for WeightInfo<T> {
/// Proof: Uniques Class (max_values: None, max_size: Some(178), added: 2653, mode: MaxEncodedLen)
/// Storage: Uniques Asset (r:1001 w:1000)
/// Proof: Uniques Asset (max_values: None, max_size: Some(122), added: 2597, mode: MaxEncodedLen)
/// Storage: Uniques InstanceMetadataOf (r:1000 w:1000)
/// Proof: Uniques InstanceMetadataOf (max_values: None, max_size: Some(187), added: 2662, mode: MaxEncodedLen)
/// Storage: Uniques Attribute (r:1000 w:1000)
/// Proof: Uniques Attribute (max_values: None, max_size: Some(172), added: 2647, mode: MaxEncodedLen)
/// Storage: Uniques ClassAccount (r:0 w:1)
/// Proof: Uniques ClassAccount (max_values: None, max_size: Some(68), added: 2543, mode: MaxEncodedLen)
/// Storage: Uniques Attribute (r:0 w:1000)
/// Proof: Uniques Attribute (max_values: None, max_size: Some(172), added: 2647, mode: MaxEncodedLen)
/// Storage: Uniques ClassMetadataOf (r:0 w:1)
/// Proof: Uniques ClassMetadataOf (max_values: None, max_size: Some(167), added: 2642, mode: MaxEncodedLen)
/// Storage: Uniques InstanceMetadataOf (r:0 w:1000)
/// Proof: Uniques InstanceMetadataOf (max_values: None, max_size: Some(187), added: 2662, mode: MaxEncodedLen)
/// Storage: Uniques Account (r:0 w:1000)
/// Proof: Uniques Account (max_values: None, max_size: Some(88), added: 2563, mode: MaxEncodedLen)
/// Storage: Uniques CollectionMaxSupply (r:0 w:1)
@@ -96,24 +96,28 @@ impl<T: frame_system::Config> pallet_uniques::WeightInfo for WeightInfo<T> {
/// The range of component `a` is `[0, 1000]`.
fn destroy(n: u32, m: u32, a: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `289 + n * (108 ±0) + m * (56 ±0) + a * (107 ±0)`
// Estimated: `5250 + n * (2597 ±0)`
// Minimum execution time: 2_305_045 nanoseconds.
Weight::from_parts(2_312_341_000, 0)
.saturating_add(Weight::from_parts(0, 5250))
// Standard Error: 26_047
.saturating_add(Weight::from_parts(8_440_544, 0).saturating_mul(n.into()))
// Standard Error: 26_047
.saturating_add(Weight::from_parts(223_194, 0).saturating_mul(m.into()))
// Standard Error: 26_047
.saturating_add(Weight::from_parts(313_891, 0).saturating_mul(a.into()))
// Measured: `257 + n * (76 ±0) + m * (56 ±0) + a * (107 ±0)`
// Estimated: `9210 + a * (2647 ±0) + n * (2597 ±0) + m * (2662 ±0)`
// Minimum execution time: 2_360_211_000 picoseconds.
Weight::from_parts(2_383_759_000, 0)
.saturating_add(Weight::from_parts(0, 9210))
// Standard Error: 24_849
.saturating_add(Weight::from_parts(6_304_424, 0).saturating_mul(n.into()))
// Standard Error: 24_849
.saturating_add(Weight::from_parts(253_862, 0).saturating_mul(m.into()))
// Standard Error: 24_849
.saturating_add(Weight::from_parts(324_295, 0).saturating_mul(a.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(n.into())))
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(m.into())))
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(a.into())))
.saturating_add(T::DbWeight::get().writes(4))
.saturating_add(T::DbWeight::get().writes((2_u64).saturating_mul(n.into())))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(m.into())))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(a.into())))
.saturating_add(Weight::from_parts(0, 2647).saturating_mul(a.into()))
.saturating_add(Weight::from_parts(0, 2597).saturating_mul(n.into()))
.saturating_add(Weight::from_parts(0, 2662).saturating_mul(m.into()))
}
/// Storage: Uniques Asset (r:1 w:1)
/// Proof: Uniques Asset (max_values: None, max_size: Some(122), added: 2597, mode: MaxEncodedLen)
@@ -125,11 +129,11 @@ impl<T: frame_system::Config> pallet_uniques::WeightInfo for WeightInfo<T> {
/// Proof: Uniques Account (max_values: None, max_size: Some(88), added: 2563, mode: MaxEncodedLen)
fn mint() -> Weight {
// Proof Size summary in bytes:
// Measured: `314`
// Estimated: `7749`
// Minimum execution time: 28_581 nanoseconds.
Weight::from_parts(29_011_000, 0)
.saturating_add(Weight::from_parts(0, 7749))
// Measured: `282`
// Estimated: `10719`
// Minimum execution time: 33_245_000 picoseconds.
Weight::from_parts(33_516_000, 0)
.saturating_add(Weight::from_parts(0, 10719))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(3))
}
@@ -143,11 +147,11 @@ impl<T: frame_system::Config> pallet_uniques::WeightInfo for WeightInfo<T> {
/// Proof: Uniques ItemPriceOf (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)
fn burn() -> Weight {
// Proof Size summary in bytes:
// Measured: `492`
// Estimated: `5250`
// Minimum execution time: 29_869 nanoseconds.
Weight::from_parts(30_206_000, 0)
.saturating_add(Weight::from_parts(0, 5250))
// Measured: `428`
// Estimated: `7230`
// Minimum execution time: 34_237_000 picoseconds.
Weight::from_parts(34_725_000, 0)
.saturating_add(Weight::from_parts(0, 7230))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(4))
}
@@ -161,11 +165,11 @@ impl<T: frame_system::Config> pallet_uniques::WeightInfo for WeightInfo<T> {
/// Proof: Uniques ItemPriceOf (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)
fn transfer() -> Weight {
// Proof Size summary in bytes:
// Measured: `492`
// Estimated: `5250`
// Minimum execution time: 23_945 nanoseconds.
Weight::from_parts(24_259_000, 0)
.saturating_add(Weight::from_parts(0, 5250))
// Measured: `428`
// Estimated: `7230`
// Minimum execution time: 27_588_000 picoseconds.
Weight::from_parts(27_994_000, 0)
.saturating_add(Weight::from_parts(0, 7230))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(4))
}
@@ -176,13 +180,13 @@ impl<T: frame_system::Config> pallet_uniques::WeightInfo for WeightInfo<T> {
/// The range of component `i` is `[0, 5000]`.
fn redeposit(i: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `770 + i * (108 ±0)`
// Estimated: `2653 + i * (2597 ±0)`
// Minimum execution time: 13_847 nanoseconds.
Weight::from_parts(14_105_000, 0)
.saturating_add(Weight::from_parts(0, 2653))
// Standard Error: 12_887
.saturating_add(Weight::from_parts(12_017_604, 0).saturating_mul(i.into()))
// Measured: `738 + i * (76 ±0)`
// Estimated: `4633 + i * (2597 ±0)`
// Minimum execution time: 15_958_000 picoseconds.
Weight::from_parts(16_175_000, 0)
.saturating_add(Weight::from_parts(0, 4633))
// Standard Error: 12_904
.saturating_add(Weight::from_parts(13_261_405, 0).saturating_mul(i.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(i.into())))
.saturating_add(T::DbWeight::get().writes(1))
@@ -195,11 +199,11 @@ impl<T: frame_system::Config> pallet_uniques::WeightInfo for WeightInfo<T> {
/// Proof: Uniques Class (max_values: None, max_size: Some(178), added: 2653, mode: MaxEncodedLen)
fn freeze() -> Weight {
// Proof Size summary in bytes:
// Measured: `492`
// Estimated: `5250`
// Minimum execution time: 17_259 nanoseconds.
Weight::from_parts(17_731_000, 0)
.saturating_add(Weight::from_parts(0, 5250))
// Measured: `428`
// Estimated: `7230`
// Minimum execution time: 19_124_000 picoseconds.
Weight::from_parts(19_432_000, 0)
.saturating_add(Weight::from_parts(0, 7230))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
}
@@ -209,11 +213,11 @@ impl<T: frame_system::Config> pallet_uniques::WeightInfo for WeightInfo<T> {
/// Proof: Uniques Class (max_values: None, max_size: Some(178), added: 2653, mode: MaxEncodedLen)
fn thaw() -> Weight {
// Proof Size summary in bytes:
// Measured: `492`
// Estimated: `5250`
// Minimum execution time: 16_951 nanoseconds.
Weight::from_parts(17_177_000, 0)
.saturating_add(Weight::from_parts(0, 5250))
// Measured: `428`
// Estimated: `7230`
// Minimum execution time: 19_725_000 picoseconds.
Weight::from_parts(19_903_000, 0)
.saturating_add(Weight::from_parts(0, 7230))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
}
@@ -221,11 +225,11 @@ impl<T: frame_system::Config> pallet_uniques::WeightInfo for WeightInfo<T> {
/// Proof: Uniques Class (max_values: None, max_size: Some(178), added: 2653, mode: MaxEncodedLen)
fn freeze_collection() -> Weight {
// Proof Size summary in bytes:
// Measured: `314`
// Estimated: `2653`
// Minimum execution time: 12_733 nanoseconds.
Weight::from_parts(13_154_000, 0)
.saturating_add(Weight::from_parts(0, 2653))
// Measured: `282`
// Estimated: `3643`
// Minimum execution time: 15_091_000 picoseconds.
Weight::from_parts(15_405_000, 0)
.saturating_add(Weight::from_parts(0, 3643))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
@@ -233,11 +237,11 @@ impl<T: frame_system::Config> pallet_uniques::WeightInfo for WeightInfo<T> {
/// Proof: Uniques Class (max_values: None, max_size: Some(178), added: 2653, mode: MaxEncodedLen)
fn thaw_collection() -> Weight {
// Proof Size summary in bytes:
// Measured: `314`
// Estimated: `2653`
// Minimum execution time: 12_624 nanoseconds.
Weight::from_parts(12_887_000, 0)
.saturating_add(Weight::from_parts(0, 2653))
// Measured: `282`
// Estimated: `3643`
// Minimum execution time: 14_440_000 picoseconds.
Weight::from_parts(14_836_000, 0)
.saturating_add(Weight::from_parts(0, 3643))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
@@ -249,11 +253,11 @@ impl<T: frame_system::Config> pallet_uniques::WeightInfo for WeightInfo<T> {
/// Proof: Uniques ClassAccount (max_values: None, max_size: Some(68), added: 2543, mode: MaxEncodedLen)
fn transfer_ownership() -> Weight {
// Proof Size summary in bytes:
// Measured: `388`
// Estimated: `5180`
// Minimum execution time: 20_089 nanoseconds.
Weight::from_parts(20_583_000, 0)
.saturating_add(Weight::from_parts(0, 5180))
// Measured: `356`
// Estimated: `7160`
// Minimum execution time: 22_729_000 picoseconds.
Weight::from_parts(23_039_000, 0)
.saturating_add(Weight::from_parts(0, 7160))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(4))
}
@@ -261,11 +265,11 @@ impl<T: frame_system::Config> pallet_uniques::WeightInfo for WeightInfo<T> {
/// Proof: Uniques Class (max_values: None, max_size: Some(178), added: 2653, mode: MaxEncodedLen)
fn set_team() -> Weight {
// Proof Size summary in bytes:
// Measured: `314`
// Estimated: `2653`
// Minimum execution time: 13_647 nanoseconds.
Weight::from_parts(13_894_000, 0)
.saturating_add(Weight::from_parts(0, 2653))
// Measured: `282`
// Estimated: `3643`
// Minimum execution time: 15_506_000 picoseconds.
Weight::from_parts(15_864_000, 0)
.saturating_add(Weight::from_parts(0, 3643))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
@@ -275,11 +279,11 @@ impl<T: frame_system::Config> pallet_uniques::WeightInfo for WeightInfo<T> {
/// Proof: Uniques ClassAccount (max_values: None, max_size: Some(68), added: 2543, mode: MaxEncodedLen)
fn force_item_status() -> Weight {
// Proof Size summary in bytes:
// Measured: `314`
// Estimated: `2653`
// Minimum execution time: 16_035 nanoseconds.
Weight::from_parts(16_232_000, 0)
.saturating_add(Weight::from_parts(0, 2653))
// Measured: `282`
// Estimated: `3643`
// Minimum execution time: 18_244_000 picoseconds.
Weight::from_parts(18_591_000, 0)
.saturating_add(Weight::from_parts(0, 3643))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(2))
}
@@ -291,11 +295,11 @@ impl<T: frame_system::Config> pallet_uniques::WeightInfo for WeightInfo<T> {
/// Proof: Uniques Attribute (max_values: None, max_size: Some(172), added: 2647, mode: MaxEncodedLen)
fn set_attribute() -> Weight {
// Proof Size summary in bytes:
// Measured: `623`
// Estimated: `7962`
// Minimum execution time: 33_357 nanoseconds.
Weight::from_parts(34_794_000, 0)
.saturating_add(Weight::from_parts(0, 7962))
// Measured: `559`
// Estimated: `10932`
// Minimum execution time: 37_528_000 picoseconds.
Weight::from_parts(38_282_000, 0)
.saturating_add(Weight::from_parts(0, 10932))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(2))
}
@@ -307,11 +311,11 @@ impl<T: frame_system::Config> pallet_uniques::WeightInfo for WeightInfo<T> {
/// Proof: Uniques Attribute (max_values: None, max_size: Some(172), added: 2647, mode: MaxEncodedLen)
fn clear_attribute() -> Weight {
// Proof Size summary in bytes:
// Measured: `851`
// Estimated: `7962`
// Minimum execution time: 32_496 nanoseconds.
Weight::from_parts(33_068_000, 0)
.saturating_add(Weight::from_parts(0, 7962))
// Measured: `756`
// Estimated: `10932`
// Minimum execution time: 36_654_000 picoseconds.
Weight::from_parts(36_947_000, 0)
.saturating_add(Weight::from_parts(0, 10932))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(2))
}
@@ -321,11 +325,11 @@ impl<T: frame_system::Config> pallet_uniques::WeightInfo for WeightInfo<T> {
/// Proof: Uniques InstanceMetadataOf (max_values: None, max_size: Some(187), added: 2662, mode: MaxEncodedLen)
fn set_metadata() -> Weight {
// Proof Size summary in bytes:
// Measured: `380`
// Estimated: `5315`
// Minimum execution time: 25_557 nanoseconds.
Weight::from_parts(25_923_000, 0)
.saturating_add(Weight::from_parts(0, 5315))
// Measured: `348`
// Estimated: `7295`
// Minimum execution time: 29_703_000 picoseconds.
Weight::from_parts(30_032_000, 0)
.saturating_add(Weight::from_parts(0, 7295))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
}
@@ -335,11 +339,11 @@ impl<T: frame_system::Config> pallet_uniques::WeightInfo for WeightInfo<T> {
/// Proof: Uniques InstanceMetadataOf (max_values: None, max_size: Some(187), added: 2662, mode: MaxEncodedLen)
fn clear_metadata() -> Weight {
// Proof Size summary in bytes:
// Measured: `623`
// Estimated: `5315`
// Minimum execution time: 26_147 nanoseconds.
Weight::from_parts(26_386_000, 0)
.saturating_add(Weight::from_parts(0, 5315))
// Measured: `559`
// Estimated: `7295`
// Minimum execution time: 29_941_000 picoseconds.
Weight::from_parts(30_222_000, 0)
.saturating_add(Weight::from_parts(0, 7295))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
}
@@ -349,11 +353,11 @@ impl<T: frame_system::Config> pallet_uniques::WeightInfo for WeightInfo<T> {
/// Proof: Uniques ClassMetadataOf (max_values: None, max_size: Some(167), added: 2642, mode: MaxEncodedLen)
fn set_collection_metadata() -> Weight {
// Proof Size summary in bytes:
// Measured: `314`
// Estimated: `5295`
// Minimum execution time: 25_233 nanoseconds.
Weight::from_parts(25_665_000, 0)
.saturating_add(Weight::from_parts(0, 5295))
// Measured: `282`
// Estimated: `7275`
// Minimum execution time: 28_466_000 picoseconds.
Weight::from_parts(29_037_000, 0)
.saturating_add(Weight::from_parts(0, 7275))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
}
@@ -363,11 +367,11 @@ impl<T: frame_system::Config> pallet_uniques::WeightInfo for WeightInfo<T> {
/// Proof: Uniques ClassMetadataOf (max_values: None, max_size: Some(167), added: 2642, mode: MaxEncodedLen)
fn clear_collection_metadata() -> Weight {
// Proof Size summary in bytes:
// Measured: `537`
// Estimated: `5295`
// Minimum execution time: 24_311 nanoseconds.
Weight::from_parts(24_544_000, 0)
.saturating_add(Weight::from_parts(0, 5295))
// Measured: `473`
// Estimated: `7275`
// Minimum execution time: 27_072_000 picoseconds.
Weight::from_parts(27_514_000, 0)
.saturating_add(Weight::from_parts(0, 7275))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
}
@@ -377,11 +381,11 @@ impl<T: frame_system::Config> pallet_uniques::WeightInfo for WeightInfo<T> {
/// Proof: Uniques Asset (max_values: None, max_size: Some(122), added: 2597, mode: MaxEncodedLen)
fn approve_transfer() -> Weight {
// Proof Size summary in bytes:
// Measured: `492`
// Estimated: `5250`
// Minimum execution time: 18_197 nanoseconds.
Weight::from_parts(18_442_000, 0)
.saturating_add(Weight::from_parts(0, 5250))
// Measured: `428`
// Estimated: `7230`
// Minimum execution time: 20_791_000 picoseconds.
Weight::from_parts(21_072_000, 0)
.saturating_add(Weight::from_parts(0, 7230))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
}
@@ -391,11 +395,11 @@ impl<T: frame_system::Config> pallet_uniques::WeightInfo for WeightInfo<T> {
/// Proof: Uniques Asset (max_values: None, max_size: Some(122), added: 2597, mode: MaxEncodedLen)
fn cancel_approval() -> Weight {
// Proof Size summary in bytes:
// Measured: `525`
// Estimated: `5250`
// Minimum execution time: 18_606 nanoseconds.
Weight::from_parts(19_032_000, 0)
.saturating_add(Weight::from_parts(0, 5250))
// Measured: `461`
// Estimated: `7230`
// Minimum execution time: 20_467_000 picoseconds.
Weight::from_parts(20_842_000, 0)
.saturating_add(Weight::from_parts(0, 7230))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
}
@@ -404,10 +408,10 @@ impl<T: frame_system::Config> pallet_uniques::WeightInfo for WeightInfo<T> {
fn set_accept_ownership() -> Weight {
// Proof Size summary in bytes:
// Measured: `42`
// Estimated: `2527`
// Minimum execution time: 14_902 nanoseconds.
Weight::from_parts(15_216_000, 0)
.saturating_add(Weight::from_parts(0, 2527))
// Estimated: `3517`
// Minimum execution time: 16_836_000 picoseconds.
Weight::from_parts(17_418_000, 0)
.saturating_add(Weight::from_parts(0, 3517))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
@@ -417,11 +421,11 @@ impl<T: frame_system::Config> pallet_uniques::WeightInfo for WeightInfo<T> {
/// Proof: Uniques Class (max_values: None, max_size: Some(178), added: 2653, mode: MaxEncodedLen)
fn set_collection_max_supply() -> Weight {
// Proof Size summary in bytes:
// Measured: `314`
// Estimated: `5152`
// Minimum execution time: 15_771 nanoseconds.
Weight::from_parts(16_013_000, 0)
.saturating_add(Weight::from_parts(0, 5152))
// Measured: `282`
// Estimated: `7132`
// Minimum execution time: 17_721_000 picoseconds.
Weight::from_parts(18_109_000, 0)
.saturating_add(Weight::from_parts(0, 7132))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
}
@@ -431,11 +435,11 @@ impl<T: frame_system::Config> pallet_uniques::WeightInfo for WeightInfo<T> {
/// Proof: Uniques ItemPriceOf (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)
fn set_price() -> Weight {
// Proof Size summary in bytes:
// Measured: `291`
// Estimated: `2597`
// Minimum execution time: 15_703 nanoseconds.
Weight::from_parts(15_905_000, 0)
.saturating_add(Weight::from_parts(0, 2597))
// Measured: `259`
// Estimated: `3587`
// Minimum execution time: 17_599_000 picoseconds.
Weight::from_parts(17_802_000, 0)
.saturating_add(Weight::from_parts(0, 3587))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
@@ -449,11 +453,11 @@ impl<T: frame_system::Config> pallet_uniques::WeightInfo for WeightInfo<T> {
/// Proof: Uniques Account (max_values: None, max_size: Some(88), added: 2563, mode: MaxEncodedLen)
fn buy_item() -> Weight {
// Proof Size summary in bytes:
// Measured: `636`
// Estimated: `7814`
// Minimum execution time: 33_712 nanoseconds.
Weight::from_parts(34_365_000, 0)
.saturating_add(Weight::from_parts(0, 7814))
// Measured: `540`
// Estimated: `10784`
// Minimum execution time: 38_642_000 picoseconds.
Weight::from_parts(39_168_000, 0)
.saturating_add(Weight::from_parts(0, 10784))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(4))
}