Fixes PoV over-estimation (#13766)

* Align log

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>

* Use max instead of sum

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>

* Make comment ordering deterministic

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>

* Dont add Pov overhead when all is ignored

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>

* Update test pallet weights

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>

* Re-run weights on bm2

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>

* Fix test

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>

* Actually use new weights

Fucked up the merge for this file...

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>

* Update contract weights

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>

---------

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
This commit is contained in:
Oliver Tale-Yazdi
2023-04-13 15:11:58 +02:00
committed by GitHub
parent 46e2d3e5f8
commit ebfe00d590
54 changed files with 5526 additions and 5534 deletions
+248 -255
View File
@@ -18,9 +18,9 @@
//! Autogenerated weights for pallet_nfts
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2023-03-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2023-04-06, 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`
//! HOSTNAME: `bm2`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024
// Executed Command:
@@ -31,9 +31,6 @@
// --steps=50
// --repeat=20
// --pallet=pallet_nfts
// --no-storage-info
// --no-median-slopes
// --no-min-squares
// --extrinsic=*
// --execution=wasm
// --wasm-execution=compiled
@@ -108,9 +105,9 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
fn create() -> Weight {
// Proof Size summary in bytes:
// Measured: `182`
// Estimated: `5038`
// Minimum execution time: 36_780_000 picoseconds.
Weight::from_parts(37_508_000, 5038)
// Estimated: `3549`
// Minimum execution time: 40_664_000 picoseconds.
Weight::from_parts(41_224_000, 3549)
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(5_u64))
}
@@ -127,9 +124,9 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
fn force_create() -> Weight {
// Proof Size summary in bytes:
// Measured: `42`
// Estimated: `5038`
// Minimum execution time: 25_144_000 picoseconds.
Weight::from_parts(25_800_000, 5038)
// Estimated: `3549`
// Minimum execution time: 24_725_000 picoseconds.
Weight::from_parts(25_147_000, 3549)
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(5_u64))
}
@@ -152,16 +149,14 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
/// The range of component `m` is `[0, 1000]`.
/// The range of component `c` is `[0, 1000]`.
/// The range of component `a` is `[0, 1000]`.
fn destroy(m: u32, _c: u32, a: u32, ) -> Weight {
fn destroy(_m: u32, _c: u32, a: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `32186 + a * (332 ±0)`
// Estimated: `2538589 + a * (2921 ±0)`
// Minimum execution time: 1_122_858_000 picoseconds.
Weight::from_parts(1_094_711_913, 2538589)
// Standard Error: 4_485
.saturating_add(Weight::from_parts(3_481, 0).saturating_mul(m.into()))
// Standard Error: 4_485
.saturating_add(Weight::from_parts(5_520_602, 0).saturating_mul(a.into()))
// Estimated: `2523990 + a * (2921 ±0)`
// Minimum execution time: 1_100_509_000 picoseconds.
Weight::from_parts(1_081_634_178, 2523990)
// Standard Error: 3_025
.saturating_add(Weight::from_parts(5_339_415, 0).saturating_mul(a.into()))
.saturating_add(T::DbWeight::get().reads(1004_u64))
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(a.into())))
.saturating_add(T::DbWeight::get().writes(1005_u64))
@@ -183,9 +178,9 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
fn mint() -> Weight {
// Proof Size summary in bytes:
// Measured: `421`
// Estimated: `18460`
// Minimum execution time: 48_590_000 picoseconds.
Weight::from_parts(49_260_000, 18460)
// Estimated: `4326`
// Minimum execution time: 52_464_000 picoseconds.
Weight::from_parts(52_847_000, 4326)
.saturating_add(T::DbWeight::get().reads(5_u64))
.saturating_add(T::DbWeight::get().writes(4_u64))
}
@@ -204,9 +199,9 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
fn force_mint() -> Weight {
// Proof Size summary in bytes:
// Measured: `421`
// Estimated: `18460`
// Minimum execution time: 46_646_000 picoseconds.
Weight::from_parts(47_331_000, 18460)
// Estimated: `4326`
// Minimum execution time: 50_327_000 picoseconds.
Weight::from_parts(51_093_000, 4326)
.saturating_add(T::DbWeight::get().reads(5_u64))
.saturating_add(T::DbWeight::get().writes(4_u64))
}
@@ -229,9 +224,9 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
fn burn() -> Weight {
// Proof Size summary in bytes:
// Measured: `530`
// Estimated: `14993`
// Minimum execution time: 46_976_000 picoseconds.
Weight::from_parts(47_606_000, 14993)
// Estimated: `4326`
// Minimum execution time: 51_342_000 picoseconds.
Weight::from_parts(51_846_000, 4326)
.saturating_add(T::DbWeight::get().reads(4_u64))
.saturating_add(T::DbWeight::get().writes(7_u64))
}
@@ -252,9 +247,9 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
fn transfer() -> Weight {
// Proof Size summary in bytes:
// Measured: `559`
// Estimated: `14926`
// Minimum execution time: 38_013_000 picoseconds.
Weight::from_parts(38_420_000, 14926)
// Estimated: `4326`
// Minimum execution time: 38_309_000 picoseconds.
Weight::from_parts(38_672_000, 4326)
.saturating_add(T::DbWeight::get().reads(4_u64))
.saturating_add(T::DbWeight::get().writes(5_u64))
}
@@ -268,11 +263,11 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
fn redeposit(i: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `729 + i * (108 ±0)`
// Estimated: `8077 + i * (3336 ±0)`
// Minimum execution time: 17_428_000 picoseconds.
Weight::from_parts(17_664_000, 8077)
// Standard Error: 16_385
.saturating_add(Weight::from_parts(14_150_405, 0).saturating_mul(i.into()))
// Estimated: `3549 + i * (3336 ±0)`
// Minimum execution time: 17_525_000 picoseconds.
Weight::from_parts(17_657_000, 3549)
// Standard Error: 15_884
.saturating_add(Weight::from_parts(16_026_633, 0).saturating_mul(i.into()))
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(i.into())))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(i.into())))
@@ -285,9 +280,9 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
fn lock_item_transfer() -> Weight {
// Proof Size summary in bytes:
// Measured: `401`
// Estimated: `7047`
// Minimum execution time: 21_760_000 picoseconds.
Weight::from_parts(22_063_000, 7047)
// Estimated: `3534`
// Minimum execution time: 21_814_000 picoseconds.
Weight::from_parts(22_171_000, 3534)
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -298,9 +293,9 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
fn unlock_item_transfer() -> Weight {
// Proof Size summary in bytes:
// Measured: `401`
// Estimated: `7047`
// Minimum execution time: 21_622_000 picoseconds.
Weight::from_parts(22_056_000, 7047)
// Estimated: `3534`
// Minimum execution time: 21_728_000 picoseconds.
Weight::from_parts(21_893_000, 3534)
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -311,9 +306,9 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
fn lock_collection() -> Weight {
// Proof Size summary in bytes:
// Measured: `306`
// Estimated: `7087`
// Minimum execution time: 18_820_000 picoseconds.
Weight::from_parts(19_212_000, 7087)
// Estimated: `3549`
// Minimum execution time: 18_359_000 picoseconds.
Weight::from_parts(19_101_000, 3549)
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -326,9 +321,9 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
fn transfer_ownership() -> Weight {
// Proof Size summary in bytes:
// Measured: `354`
// Estimated: `7066`
// Minimum execution time: 25_433_000 picoseconds.
Weight::from_parts(25_793_000, 7066)
// Estimated: `3549`
// Minimum execution time: 24_713_000 picoseconds.
Weight::from_parts(25_032_000, 3549)
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(4_u64))
}
@@ -339,9 +334,9 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
fn set_team() -> Weight {
// Proof Size summary in bytes:
// Measured: `335`
// Estimated: `9627`
// Minimum execution time: 43_368_000 picoseconds.
Weight::from_parts(43_974_000, 9627)
// Estimated: `6078`
// Minimum execution time: 42_372_000 picoseconds.
Weight::from_parts(42_971_000, 6078)
.saturating_add(T::DbWeight::get().reads(3_u64))
.saturating_add(T::DbWeight::get().writes(5_u64))
}
@@ -353,8 +348,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `277`
// Estimated: `3549`
// Minimum execution time: 20_009_000 picoseconds.
Weight::from_parts(20_220_000, 3549)
// Minimum execution time: 19_703_000 picoseconds.
Weight::from_parts(19_993_000, 3549)
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(3_u64))
}
@@ -366,8 +361,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `242`
// Estimated: `3549`
// Minimum execution time: 16_048_000 picoseconds.
Weight::from_parts(16_353_000, 3549)
// Minimum execution time: 15_500_000 picoseconds.
Weight::from_parts(15_929_000, 3549)
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -378,9 +373,9 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
fn lock_item_properties() -> Weight {
// Proof Size summary in bytes:
// Measured: `401`
// Estimated: `7047`
// Minimum execution time: 20_890_000 picoseconds.
Weight::from_parts(21_237_000, 7047)
// Estimated: `3534`
// Minimum execution time: 20_778_000 picoseconds.
Weight::from_parts(21_187_000, 3534)
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -397,9 +392,9 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
fn set_attribute() -> Weight {
// Proof Size summary in bytes:
// Measured: `505`
// Estimated: `18045`
// Minimum execution time: 50_686_000 picoseconds.
Weight::from_parts(50_981_000, 18045)
// Estimated: `3911`
// Minimum execution time: 53_016_000 picoseconds.
Weight::from_parts(53_579_000, 3911)
.saturating_add(T::DbWeight::get().reads(5_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
}
@@ -410,9 +405,9 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
fn force_set_attribute() -> Weight {
// Proof Size summary in bytes:
// Measured: `310`
// Estimated: `7460`
// Minimum execution time: 28_714_000 picoseconds.
Weight::from_parts(29_044_000, 7460)
// Estimated: `3911`
// Minimum execution time: 28_790_000 picoseconds.
Weight::from_parts(29_157_000, 3911)
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
}
@@ -427,9 +422,9 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
fn clear_attribute() -> Weight {
// Proof Size summary in bytes:
// Measured: `916`
// Estimated: `14507`
// Minimum execution time: 46_232_000 picoseconds.
Weight::from_parts(46_738_000, 14507)
// Estimated: `3911`
// Minimum execution time: 48_584_000 picoseconds.
Weight::from_parts(49_202_000, 3911)
.saturating_add(T::DbWeight::get().reads(4_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
}
@@ -440,9 +435,9 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
fn approve_item_attributes() -> Weight {
// Proof Size summary in bytes:
// Measured: `347`
// Estimated: `8472`
// Minimum execution time: 19_332_000 picoseconds.
Weight::from_parts(19_765_000, 8472)
// Estimated: `4326`
// Minimum execution time: 19_616_000 picoseconds.
Weight::from_parts(19_972_000, 4326)
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -458,11 +453,11 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
fn cancel_item_attributes_approval(n: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `803 + n * (364 ±0)`
// Estimated: `15976 + n * (2921 ±0)`
// Minimum execution time: 29_227_000 picoseconds.
Weight::from_parts(29_661_000, 15976)
// Standard Error: 3_574
.saturating_add(Weight::from_parts(5_442_937, 0).saturating_mul(n.into()))
// Estimated: `4326 + n * (2921 ±0)`
// Minimum execution time: 28_897_000 picoseconds.
Weight::from_parts(29_061_000, 4326)
// Standard Error: 3_139
.saturating_add(Weight::from_parts(5_396_415, 0).saturating_mul(n.into()))
.saturating_add(T::DbWeight::get().reads(4_u64))
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(n.into())))
.saturating_add(T::DbWeight::get().writes(2_u64))
@@ -482,9 +477,9 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
fn set_metadata() -> Weight {
// Proof Size summary in bytes:
// Measured: `505`
// Estimated: `17739`
// Minimum execution time: 41_297_000 picoseconds.
Weight::from_parts(41_902_000, 17739)
// Estimated: `3605`
// Minimum execution time: 43_748_000 picoseconds.
Weight::from_parts(44_178_000, 3605)
.saturating_add(T::DbWeight::get().reads(5_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
}
@@ -499,9 +494,9 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
fn clear_metadata() -> Weight {
// Proof Size summary in bytes:
// Measured: `608`
// Estimated: `14201`
// Minimum execution time: 39_312_000 picoseconds.
Weight::from_parts(40_048_000, 14201)
// Estimated: `3605`
// Minimum execution time: 42_116_000 picoseconds.
Weight::from_parts(42_455_000, 3605)
.saturating_add(T::DbWeight::get().reads(4_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
}
@@ -516,9 +511,9 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
fn set_collection_metadata() -> Weight {
// Proof Size summary in bytes:
// Measured: `364`
// Estimated: `14173`
// Minimum execution time: 36_932_000 picoseconds.
Weight::from_parts(38_207_000, 14173)
// Estimated: `3552`
// Minimum execution time: 40_926_000 picoseconds.
Weight::from_parts(41_512_000, 3552)
.saturating_add(T::DbWeight::get().reads(4_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
}
@@ -533,9 +528,9 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
fn clear_collection_metadata() -> Weight {
// Proof Size summary in bytes:
// Measured: `475`
// Estimated: `14173`
// Minimum execution time: 35_264_000 picoseconds.
Weight::from_parts(35_829_000, 14173)
// Estimated: `3552`
// Minimum execution time: 39_792_000 picoseconds.
Weight::from_parts(40_443_000, 3552)
.saturating_add(T::DbWeight::get().reads(4_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -546,9 +541,9 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
fn approve_transfer() -> Weight {
// Proof Size summary in bytes:
// Measured: `376`
// Estimated: `7864`
// Minimum execution time: 22_819_000 picoseconds.
Weight::from_parts(23_121_000, 7864)
// Estimated: `4326`
// Minimum execution time: 22_648_000 picoseconds.
Weight::from_parts(23_139_000, 4326)
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -558,8 +553,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `384`
// Estimated: `4326`
// Minimum execution time: 20_377_000 picoseconds.
Weight::from_parts(20_625_000, 4326)
// Minimum execution time: 20_552_000 picoseconds.
Weight::from_parts(20_920_000, 4326)
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -569,8 +564,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `384`
// Estimated: `4326`
// Minimum execution time: 19_180_000 picoseconds.
Weight::from_parts(19_468_000, 4326)
// Minimum execution time: 19_114_000 picoseconds.
Weight::from_parts(19_876_000, 4326)
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -580,8 +575,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `42`
// Estimated: `3517`
// Minimum execution time: 17_381_000 picoseconds.
Weight::from_parts(17_718_000, 3517)
// Minimum execution time: 17_089_000 picoseconds.
Weight::from_parts(17_363_000, 3517)
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -592,9 +587,9 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
fn set_collection_max_supply() -> Weight {
// Proof Size summary in bytes:
// Measured: `306`
// Estimated: `7087`
// Minimum execution time: 20_373_000 picoseconds.
Weight::from_parts(20_662_000, 7087)
// Estimated: `3549`
// Minimum execution time: 20_667_000 picoseconds.
Weight::from_parts(20_898_000, 3549)
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -605,9 +600,9 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
fn update_mint_settings() -> Weight {
// Proof Size summary in bytes:
// Measured: `289`
// Estimated: `7072`
// Minimum execution time: 20_154_000 picoseconds.
Weight::from_parts(20_592_000, 7072)
// Estimated: `3538`
// Minimum execution time: 19_666_000 picoseconds.
Weight::from_parts(20_136_000, 3538)
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -622,9 +617,9 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
fn set_price() -> Weight {
// Proof Size summary in bytes:
// Measured: `484`
// Estimated: `11377`
// Minimum execution time: 25_644_000 picoseconds.
Weight::from_parts(25_999_000, 11377)
// Estimated: `4326`
// Minimum execution time: 25_778_000 picoseconds.
Weight::from_parts(26_447_000, 4326)
.saturating_add(T::DbWeight::get().reads(3_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -645,9 +640,9 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
fn buy_item() -> Weight {
// Proof Size summary in bytes:
// Measured: `671`
// Estimated: `18480`
// Minimum execution time: 51_542_000 picoseconds.
Weight::from_parts(52_203_000, 18480)
// Estimated: `4326`
// Minimum execution time: 50_809_000 picoseconds.
Weight::from_parts(51_503_000, 4326)
.saturating_add(T::DbWeight::get().reads(5_u64))
.saturating_add(T::DbWeight::get().writes(5_u64))
}
@@ -656,10 +651,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 2_796_000 picoseconds.
Weight::from_parts(5_517_617, 0)
// Standard Error: 14_247
.saturating_add(Weight::from_parts(3_757_796, 0).saturating_mul(n.into()))
// Minimum execution time: 2_789_000 picoseconds.
Weight::from_parts(5_528_034, 0)
// Standard Error: 14_405
.saturating_add(Weight::from_parts(3_788_038, 0).saturating_mul(n.into()))
}
/// Storage: Nfts Item (r:2 w:0)
/// Proof: Nfts Item (max_values: None, max_size: Some(861), added: 3336, mode: MaxEncodedLen)
@@ -669,8 +664,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `460`
// Estimated: `7662`
// Minimum execution time: 23_218_000 picoseconds.
Weight::from_parts(23_590_000, 7662)
// Minimum execution time: 22_884_000 picoseconds.
Weight::from_parts(23_732_000, 7662)
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -681,9 +676,9 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
fn cancel_swap() -> Weight {
// Proof Size summary in bytes:
// Measured: `479`
// Estimated: `7862`
// Minimum execution time: 22_536_000 picoseconds.
Weight::from_parts(22_874_000, 7862)
// Estimated: `4326`
// Minimum execution time: 22_686_000 picoseconds.
Weight::from_parts(23_088_000, 4326)
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -704,9 +699,9 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
fn claim_swap() -> Weight {
// Proof Size summary in bytes:
// Measured: `800`
// Estimated: `24321`
// Minimum execution time: 77_372_000 picoseconds.
Weight::from_parts(78_109_000, 24321)
// Estimated: `7662`
// Minimum execution time: 77_494_000 picoseconds.
Weight::from_parts(78_650_000, 7662)
.saturating_add(T::DbWeight::get().reads(7_u64))
.saturating_add(T::DbWeight::get().writes(10_u64))
}
@@ -732,11 +727,11 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
fn mint_pre_signed(n: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `595`
// Estimated: `29192 + n * (2921 ±0)`
// Minimum execution time: 131_935_000 picoseconds.
Weight::from_parts(137_455_891, 29192)
// Standard Error: 31_617
.saturating_add(Weight::from_parts(27_550_750, 0).saturating_mul(n.into()))
// Estimated: `6078 + n * (2921 ±0)`
// Minimum execution time: 139_109_000 picoseconds.
Weight::from_parts(144_449_034, 6078)
// Standard Error: 26_869
.saturating_add(Weight::from_parts(29_961_772, 0).saturating_mul(n.into()))
.saturating_add(T::DbWeight::get().reads(8_u64))
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(n.into())))
.saturating_add(T::DbWeight::get().writes(6_u64))
@@ -759,11 +754,11 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
fn set_attributes_pre_signed(n: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `625`
// Estimated: `20142 + n * (2921 ±0)`
// Minimum execution time: 77_694_000 picoseconds.
Weight::from_parts(90_089_732, 20142)
// Standard Error: 71_327
.saturating_add(Weight::from_parts(27_832_189, 0).saturating_mul(n.into()))
// Estimated: `4326 + n * (2921 ±0)`
// Minimum execution time: 78_280_000 picoseconds.
Weight::from_parts(92_826_883, 4326)
// Standard Error: 81_125
.saturating_add(Weight::from_parts(29_898_245, 0).saturating_mul(n.into()))
.saturating_add(T::DbWeight::get().reads(4_u64))
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(n.into())))
.saturating_add(T::DbWeight::get().writes(2_u64))
@@ -787,9 +782,9 @@ impl WeightInfo for () {
fn create() -> Weight {
// Proof Size summary in bytes:
// Measured: `182`
// Estimated: `5038`
// Minimum execution time: 36_780_000 picoseconds.
Weight::from_parts(37_508_000, 5038)
// Estimated: `3549`
// Minimum execution time: 40_664_000 picoseconds.
Weight::from_parts(41_224_000, 3549)
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(5_u64))
}
@@ -806,9 +801,9 @@ impl WeightInfo for () {
fn force_create() -> Weight {
// Proof Size summary in bytes:
// Measured: `42`
// Estimated: `5038`
// Minimum execution time: 25_144_000 picoseconds.
Weight::from_parts(25_800_000, 5038)
// Estimated: `3549`
// Minimum execution time: 24_725_000 picoseconds.
Weight::from_parts(25_147_000, 3549)
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(5_u64))
}
@@ -831,16 +826,14 @@ impl WeightInfo for () {
/// The range of component `m` is `[0, 1000]`.
/// The range of component `c` is `[0, 1000]`.
/// The range of component `a` is `[0, 1000]`.
fn destroy(m: u32, _c: u32, a: u32, ) -> Weight {
fn destroy(_m: u32, _c: u32, a: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `32186 + a * (332 ±0)`
// Estimated: `2538589 + a * (2921 ±0)`
// Minimum execution time: 1_122_858_000 picoseconds.
Weight::from_parts(1_094_711_913, 2538589)
// Standard Error: 4_485
.saturating_add(Weight::from_parts(3_481, 0).saturating_mul(m.into()))
// Standard Error: 4_485
.saturating_add(Weight::from_parts(5_520_602, 0).saturating_mul(a.into()))
// Estimated: `2523990 + a * (2921 ±0)`
// Minimum execution time: 1_100_509_000 picoseconds.
Weight::from_parts(1_081_634_178, 2523990)
// Standard Error: 3_025
.saturating_add(Weight::from_parts(5_339_415, 0).saturating_mul(a.into()))
.saturating_add(RocksDbWeight::get().reads(1004_u64))
.saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(a.into())))
.saturating_add(RocksDbWeight::get().writes(1005_u64))
@@ -862,9 +855,9 @@ impl WeightInfo for () {
fn mint() -> Weight {
// Proof Size summary in bytes:
// Measured: `421`
// Estimated: `18460`
// Minimum execution time: 48_590_000 picoseconds.
Weight::from_parts(49_260_000, 18460)
// Estimated: `4326`
// Minimum execution time: 52_464_000 picoseconds.
Weight::from_parts(52_847_000, 4326)
.saturating_add(RocksDbWeight::get().reads(5_u64))
.saturating_add(RocksDbWeight::get().writes(4_u64))
}
@@ -883,9 +876,9 @@ impl WeightInfo for () {
fn force_mint() -> Weight {
// Proof Size summary in bytes:
// Measured: `421`
// Estimated: `18460`
// Minimum execution time: 46_646_000 picoseconds.
Weight::from_parts(47_331_000, 18460)
// Estimated: `4326`
// Minimum execution time: 50_327_000 picoseconds.
Weight::from_parts(51_093_000, 4326)
.saturating_add(RocksDbWeight::get().reads(5_u64))
.saturating_add(RocksDbWeight::get().writes(4_u64))
}
@@ -908,9 +901,9 @@ impl WeightInfo for () {
fn burn() -> Weight {
// Proof Size summary in bytes:
// Measured: `530`
// Estimated: `14993`
// Minimum execution time: 46_976_000 picoseconds.
Weight::from_parts(47_606_000, 14993)
// Estimated: `4326`
// Minimum execution time: 51_342_000 picoseconds.
Weight::from_parts(51_846_000, 4326)
.saturating_add(RocksDbWeight::get().reads(4_u64))
.saturating_add(RocksDbWeight::get().writes(7_u64))
}
@@ -931,9 +924,9 @@ impl WeightInfo for () {
fn transfer() -> Weight {
// Proof Size summary in bytes:
// Measured: `559`
// Estimated: `14926`
// Minimum execution time: 38_013_000 picoseconds.
Weight::from_parts(38_420_000, 14926)
// Estimated: `4326`
// Minimum execution time: 38_309_000 picoseconds.
Weight::from_parts(38_672_000, 4326)
.saturating_add(RocksDbWeight::get().reads(4_u64))
.saturating_add(RocksDbWeight::get().writes(5_u64))
}
@@ -947,11 +940,11 @@ impl WeightInfo for () {
fn redeposit(i: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `729 + i * (108 ±0)`
// Estimated: `8077 + i * (3336 ±0)`
// Minimum execution time: 17_428_000 picoseconds.
Weight::from_parts(17_664_000, 8077)
// Standard Error: 16_385
.saturating_add(Weight::from_parts(14_150_405, 0).saturating_mul(i.into()))
// Estimated: `3549 + i * (3336 ±0)`
// Minimum execution time: 17_525_000 picoseconds.
Weight::from_parts(17_657_000, 3549)
// Standard Error: 15_884
.saturating_add(Weight::from_parts(16_026_633, 0).saturating_mul(i.into()))
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(i.into())))
.saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(i.into())))
@@ -964,9 +957,9 @@ impl WeightInfo for () {
fn lock_item_transfer() -> Weight {
// Proof Size summary in bytes:
// Measured: `401`
// Estimated: `7047`
// Minimum execution time: 21_760_000 picoseconds.
Weight::from_parts(22_063_000, 7047)
// Estimated: `3534`
// Minimum execution time: 21_814_000 picoseconds.
Weight::from_parts(22_171_000, 3534)
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -977,9 +970,9 @@ impl WeightInfo for () {
fn unlock_item_transfer() -> Weight {
// Proof Size summary in bytes:
// Measured: `401`
// Estimated: `7047`
// Minimum execution time: 21_622_000 picoseconds.
Weight::from_parts(22_056_000, 7047)
// Estimated: `3534`
// Minimum execution time: 21_728_000 picoseconds.
Weight::from_parts(21_893_000, 3534)
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -990,9 +983,9 @@ impl WeightInfo for () {
fn lock_collection() -> Weight {
// Proof Size summary in bytes:
// Measured: `306`
// Estimated: `7087`
// Minimum execution time: 18_820_000 picoseconds.
Weight::from_parts(19_212_000, 7087)
// Estimated: `3549`
// Minimum execution time: 18_359_000 picoseconds.
Weight::from_parts(19_101_000, 3549)
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -1005,9 +998,9 @@ impl WeightInfo for () {
fn transfer_ownership() -> Weight {
// Proof Size summary in bytes:
// Measured: `354`
// Estimated: `7066`
// Minimum execution time: 25_433_000 picoseconds.
Weight::from_parts(25_793_000, 7066)
// Estimated: `3549`
// Minimum execution time: 24_713_000 picoseconds.
Weight::from_parts(25_032_000, 3549)
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(4_u64))
}
@@ -1018,9 +1011,9 @@ impl WeightInfo for () {
fn set_team() -> Weight {
// Proof Size summary in bytes:
// Measured: `335`
// Estimated: `9627`
// Minimum execution time: 43_368_000 picoseconds.
Weight::from_parts(43_974_000, 9627)
// Estimated: `6078`
// Minimum execution time: 42_372_000 picoseconds.
Weight::from_parts(42_971_000, 6078)
.saturating_add(RocksDbWeight::get().reads(3_u64))
.saturating_add(RocksDbWeight::get().writes(5_u64))
}
@@ -1032,8 +1025,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `277`
// Estimated: `3549`
// Minimum execution time: 20_009_000 picoseconds.
Weight::from_parts(20_220_000, 3549)
// Minimum execution time: 19_703_000 picoseconds.
Weight::from_parts(19_993_000, 3549)
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(3_u64))
}
@@ -1045,8 +1038,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `242`
// Estimated: `3549`
// Minimum execution time: 16_048_000 picoseconds.
Weight::from_parts(16_353_000, 3549)
// Minimum execution time: 15_500_000 picoseconds.
Weight::from_parts(15_929_000, 3549)
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -1057,9 +1050,9 @@ impl WeightInfo for () {
fn lock_item_properties() -> Weight {
// Proof Size summary in bytes:
// Measured: `401`
// Estimated: `7047`
// Minimum execution time: 20_890_000 picoseconds.
Weight::from_parts(21_237_000, 7047)
// Estimated: `3534`
// Minimum execution time: 20_778_000 picoseconds.
Weight::from_parts(21_187_000, 3534)
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -1076,9 +1069,9 @@ impl WeightInfo for () {
fn set_attribute() -> Weight {
// Proof Size summary in bytes:
// Measured: `505`
// Estimated: `18045`
// Minimum execution time: 50_686_000 picoseconds.
Weight::from_parts(50_981_000, 18045)
// Estimated: `3911`
// Minimum execution time: 53_016_000 picoseconds.
Weight::from_parts(53_579_000, 3911)
.saturating_add(RocksDbWeight::get().reads(5_u64))
.saturating_add(RocksDbWeight::get().writes(2_u64))
}
@@ -1089,9 +1082,9 @@ impl WeightInfo for () {
fn force_set_attribute() -> Weight {
// Proof Size summary in bytes:
// Measured: `310`
// Estimated: `7460`
// Minimum execution time: 28_714_000 picoseconds.
Weight::from_parts(29_044_000, 7460)
// Estimated: `3911`
// Minimum execution time: 28_790_000 picoseconds.
Weight::from_parts(29_157_000, 3911)
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(2_u64))
}
@@ -1106,9 +1099,9 @@ impl WeightInfo for () {
fn clear_attribute() -> Weight {
// Proof Size summary in bytes:
// Measured: `916`
// Estimated: `14507`
// Minimum execution time: 46_232_000 picoseconds.
Weight::from_parts(46_738_000, 14507)
// Estimated: `3911`
// Minimum execution time: 48_584_000 picoseconds.
Weight::from_parts(49_202_000, 3911)
.saturating_add(RocksDbWeight::get().reads(4_u64))
.saturating_add(RocksDbWeight::get().writes(2_u64))
}
@@ -1119,9 +1112,9 @@ impl WeightInfo for () {
fn approve_item_attributes() -> Weight {
// Proof Size summary in bytes:
// Measured: `347`
// Estimated: `8472`
// Minimum execution time: 19_332_000 picoseconds.
Weight::from_parts(19_765_000, 8472)
// Estimated: `4326`
// Minimum execution time: 19_616_000 picoseconds.
Weight::from_parts(19_972_000, 4326)
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -1137,11 +1130,11 @@ impl WeightInfo for () {
fn cancel_item_attributes_approval(n: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `803 + n * (364 ±0)`
// Estimated: `15976 + n * (2921 ±0)`
// Minimum execution time: 29_227_000 picoseconds.
Weight::from_parts(29_661_000, 15976)
// Standard Error: 3_574
.saturating_add(Weight::from_parts(5_442_937, 0).saturating_mul(n.into()))
// Estimated: `4326 + n * (2921 ±0)`
// Minimum execution time: 28_897_000 picoseconds.
Weight::from_parts(29_061_000, 4326)
// Standard Error: 3_139
.saturating_add(Weight::from_parts(5_396_415, 0).saturating_mul(n.into()))
.saturating_add(RocksDbWeight::get().reads(4_u64))
.saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(n.into())))
.saturating_add(RocksDbWeight::get().writes(2_u64))
@@ -1161,9 +1154,9 @@ impl WeightInfo for () {
fn set_metadata() -> Weight {
// Proof Size summary in bytes:
// Measured: `505`
// Estimated: `17739`
// Minimum execution time: 41_297_000 picoseconds.
Weight::from_parts(41_902_000, 17739)
// Estimated: `3605`
// Minimum execution time: 43_748_000 picoseconds.
Weight::from_parts(44_178_000, 3605)
.saturating_add(RocksDbWeight::get().reads(5_u64))
.saturating_add(RocksDbWeight::get().writes(2_u64))
}
@@ -1178,9 +1171,9 @@ impl WeightInfo for () {
fn clear_metadata() -> Weight {
// Proof Size summary in bytes:
// Measured: `608`
// Estimated: `14201`
// Minimum execution time: 39_312_000 picoseconds.
Weight::from_parts(40_048_000, 14201)
// Estimated: `3605`
// Minimum execution time: 42_116_000 picoseconds.
Weight::from_parts(42_455_000, 3605)
.saturating_add(RocksDbWeight::get().reads(4_u64))
.saturating_add(RocksDbWeight::get().writes(2_u64))
}
@@ -1195,9 +1188,9 @@ impl WeightInfo for () {
fn set_collection_metadata() -> Weight {
// Proof Size summary in bytes:
// Measured: `364`
// Estimated: `14173`
// Minimum execution time: 36_932_000 picoseconds.
Weight::from_parts(38_207_000, 14173)
// Estimated: `3552`
// Minimum execution time: 40_926_000 picoseconds.
Weight::from_parts(41_512_000, 3552)
.saturating_add(RocksDbWeight::get().reads(4_u64))
.saturating_add(RocksDbWeight::get().writes(2_u64))
}
@@ -1212,9 +1205,9 @@ impl WeightInfo for () {
fn clear_collection_metadata() -> Weight {
// Proof Size summary in bytes:
// Measured: `475`
// Estimated: `14173`
// Minimum execution time: 35_264_000 picoseconds.
Weight::from_parts(35_829_000, 14173)
// Estimated: `3552`
// Minimum execution time: 39_792_000 picoseconds.
Weight::from_parts(40_443_000, 3552)
.saturating_add(RocksDbWeight::get().reads(4_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -1225,9 +1218,9 @@ impl WeightInfo for () {
fn approve_transfer() -> Weight {
// Proof Size summary in bytes:
// Measured: `376`
// Estimated: `7864`
// Minimum execution time: 22_819_000 picoseconds.
Weight::from_parts(23_121_000, 7864)
// Estimated: `4326`
// Minimum execution time: 22_648_000 picoseconds.
Weight::from_parts(23_139_000, 4326)
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -1237,8 +1230,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `384`
// Estimated: `4326`
// Minimum execution time: 20_377_000 picoseconds.
Weight::from_parts(20_625_000, 4326)
// Minimum execution time: 20_552_000 picoseconds.
Weight::from_parts(20_920_000, 4326)
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -1248,8 +1241,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `384`
// Estimated: `4326`
// Minimum execution time: 19_180_000 picoseconds.
Weight::from_parts(19_468_000, 4326)
// Minimum execution time: 19_114_000 picoseconds.
Weight::from_parts(19_876_000, 4326)
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -1259,8 +1252,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `42`
// Estimated: `3517`
// Minimum execution time: 17_381_000 picoseconds.
Weight::from_parts(17_718_000, 3517)
// Minimum execution time: 17_089_000 picoseconds.
Weight::from_parts(17_363_000, 3517)
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -1271,9 +1264,9 @@ impl WeightInfo for () {
fn set_collection_max_supply() -> Weight {
// Proof Size summary in bytes:
// Measured: `306`
// Estimated: `7087`
// Minimum execution time: 20_373_000 picoseconds.
Weight::from_parts(20_662_000, 7087)
// Estimated: `3549`
// Minimum execution time: 20_667_000 picoseconds.
Weight::from_parts(20_898_000, 3549)
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -1284,9 +1277,9 @@ impl WeightInfo for () {
fn update_mint_settings() -> Weight {
// Proof Size summary in bytes:
// Measured: `289`
// Estimated: `7072`
// Minimum execution time: 20_154_000 picoseconds.
Weight::from_parts(20_592_000, 7072)
// Estimated: `3538`
// Minimum execution time: 19_666_000 picoseconds.
Weight::from_parts(20_136_000, 3538)
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -1301,9 +1294,9 @@ impl WeightInfo for () {
fn set_price() -> Weight {
// Proof Size summary in bytes:
// Measured: `484`
// Estimated: `11377`
// Minimum execution time: 25_644_000 picoseconds.
Weight::from_parts(25_999_000, 11377)
// Estimated: `4326`
// Minimum execution time: 25_778_000 picoseconds.
Weight::from_parts(26_447_000, 4326)
.saturating_add(RocksDbWeight::get().reads(3_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -1324,9 +1317,9 @@ impl WeightInfo for () {
fn buy_item() -> Weight {
// Proof Size summary in bytes:
// Measured: `671`
// Estimated: `18480`
// Minimum execution time: 51_542_000 picoseconds.
Weight::from_parts(52_203_000, 18480)
// Estimated: `4326`
// Minimum execution time: 50_809_000 picoseconds.
Weight::from_parts(51_503_000, 4326)
.saturating_add(RocksDbWeight::get().reads(5_u64))
.saturating_add(RocksDbWeight::get().writes(5_u64))
}
@@ -1335,10 +1328,10 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 2_796_000 picoseconds.
Weight::from_parts(5_517_617, 0)
// Standard Error: 14_247
.saturating_add(Weight::from_parts(3_757_796, 0).saturating_mul(n.into()))
// Minimum execution time: 2_789_000 picoseconds.
Weight::from_parts(5_528_034, 0)
// Standard Error: 14_405
.saturating_add(Weight::from_parts(3_788_038, 0).saturating_mul(n.into()))
}
/// Storage: Nfts Item (r:2 w:0)
/// Proof: Nfts Item (max_values: None, max_size: Some(861), added: 3336, mode: MaxEncodedLen)
@@ -1348,8 +1341,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `460`
// Estimated: `7662`
// Minimum execution time: 23_218_000 picoseconds.
Weight::from_parts(23_590_000, 7662)
// Minimum execution time: 22_884_000 picoseconds.
Weight::from_parts(23_732_000, 7662)
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -1360,9 +1353,9 @@ impl WeightInfo for () {
fn cancel_swap() -> Weight {
// Proof Size summary in bytes:
// Measured: `479`
// Estimated: `7862`
// Minimum execution time: 22_536_000 picoseconds.
Weight::from_parts(22_874_000, 7862)
// Estimated: `4326`
// Minimum execution time: 22_686_000 picoseconds.
Weight::from_parts(23_088_000, 4326)
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -1383,9 +1376,9 @@ impl WeightInfo for () {
fn claim_swap() -> Weight {
// Proof Size summary in bytes:
// Measured: `800`
// Estimated: `24321`
// Minimum execution time: 77_372_000 picoseconds.
Weight::from_parts(78_109_000, 24321)
// Estimated: `7662`
// Minimum execution time: 77_494_000 picoseconds.
Weight::from_parts(78_650_000, 7662)
.saturating_add(RocksDbWeight::get().reads(7_u64))
.saturating_add(RocksDbWeight::get().writes(10_u64))
}
@@ -1411,11 +1404,11 @@ impl WeightInfo for () {
fn mint_pre_signed(n: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `595`
// Estimated: `29192 + n * (2921 ±0)`
// Minimum execution time: 131_935_000 picoseconds.
Weight::from_parts(137_455_891, 29192)
// Standard Error: 31_617
.saturating_add(Weight::from_parts(27_550_750, 0).saturating_mul(n.into()))
// Estimated: `6078 + n * (2921 ±0)`
// Minimum execution time: 139_109_000 picoseconds.
Weight::from_parts(144_449_034, 6078)
// Standard Error: 26_869
.saturating_add(Weight::from_parts(29_961_772, 0).saturating_mul(n.into()))
.saturating_add(RocksDbWeight::get().reads(8_u64))
.saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(n.into())))
.saturating_add(RocksDbWeight::get().writes(6_u64))
@@ -1438,11 +1431,11 @@ impl WeightInfo for () {
fn set_attributes_pre_signed(n: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `625`
// Estimated: `20142 + n * (2921 ±0)`
// Minimum execution time: 77_694_000 picoseconds.
Weight::from_parts(90_089_732, 20142)
// Standard Error: 71_327
.saturating_add(Weight::from_parts(27_832_189, 0).saturating_mul(n.into()))
// Estimated: `4326 + n * (2921 ±0)`
// Minimum execution time: 78_280_000 picoseconds.
Weight::from_parts(92_826_883, 4326)
// Standard Error: 81_125
.saturating_add(Weight::from_parts(29_898_245, 0).saturating_mul(n.into()))
.saturating_add(RocksDbWeight::get().reads(4_u64))
.saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(n.into())))
.saturating_add(RocksDbWeight::get().writes(2_u64))