difftreelog
build run benchmarks
in: master
16 files changed
Makefilediffbeforeafterboth--- a/Makefile
+++ b/Makefile
@@ -117,7 +117,7 @@
$(eval $(call _bench,identity))
$(eval $(call _bench,app-promotion))
$(eval $(call _bench,maintenance))
-$(eval $(call _bench,xcm,,./runtime/common/weights/xcm.rs,"--template=.maintain/external-weights/template.hbs"))
+$(eval $(call _bench,xcm,,./runtime/common/weights/xcm.rs,"--template=.maintain/external-weight-template.hbs"))
.PHONY: bench
bench: bench-app-promotion bench-common bench-evm-migration bench-unique bench-structure bench-fungible bench-refungible bench-nonfungible bench-configuration bench-foreign-assets bench-maintenance bench-xcm bench-collator-selection bench-identity
pallets/app-promotion/src/weights.rsdiffbeforeafterboth--- a/pallets/app-promotion/src/weights.rs
+++ b/pallets/app-promotion/src/weights.rs
@@ -3,13 +3,13 @@
//! Autogenerated weights for pallet_app_promotion
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
-//! DATE: 2023-10-12, STEPS: `50`, REPEAT: `80`, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! DATE: 2023-10-13, STEPS: `50`, REPEAT: `80`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
-//! HOSTNAME: `ubuntu-11`, CPU: `QEMU Virtual CPU version 2.5+`
+//! HOSTNAME: `bench-host`, CPU: `Intel(R) Core(TM) i7-8700 CPU @ 3.20GHz`
//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024
// Executed Command:
-// target/production/unique-collator
+// ./target/production/unique-collator
// benchmark
// pallet
// --pallet
@@ -63,10 +63,10 @@
// Proof Size summary in bytes:
// Measured: `222 + b * (285 ±0)`
// Estimated: `3622 + b * (3774 ±0)`
- // Minimum execution time: 6_031_000 picoseconds.
- Weight::from_parts(6_880_848, 3622)
- // Standard Error: 18_753
- .saturating_add(Weight::from_parts(22_907_186, 0).saturating_mul(b.into()))
+ // Minimum execution time: 5_767_000 picoseconds.
+ Weight::from_parts(6_702_740, 3622)
+ // Standard Error: 23_437
+ .saturating_add(Weight::from_parts(21_208_495, 0).saturating_mul(b.into()))
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(b.into())))
.saturating_add(T::DbWeight::get().writes((2_u64).saturating_mul(b.into())))
@@ -78,8 +78,8 @@
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
- // Minimum execution time: 7_565_000 picoseconds.
- Weight::from_parts(7_795_000, 0)
+ // Minimum execution time: 7_836_000 picoseconds.
+ Weight::from_parts(8_115_000, 0)
.saturating_add(T::DbWeight::get().writes(1_u64))
}
/// Storage: `AppPromotion::Admin` (r:1 w:0)
@@ -105,10 +105,10 @@
// Proof Size summary in bytes:
// Measured: `564 + b * (641 ±0)`
// Estimated: `3593 + b * (25550 ±0)`
- // Minimum execution time: 146_577_000 picoseconds.
- Weight::from_parts(147_970_000, 3593)
- // Standard Error: 59_065
- .saturating_add(Weight::from_parts(115_527_092, 0).saturating_mul(b.into()))
+ // Minimum execution time: 136_584_000 picoseconds.
+ Weight::from_parts(3_372_327, 3593)
+ // Standard Error: 21_362
+ .saturating_add(Weight::from_parts(103_567_863, 0).saturating_mul(b.into()))
.saturating_add(T::DbWeight::get().reads(7_u64))
.saturating_add(T::DbWeight::get().reads((13_u64).saturating_mul(b.into())))
.saturating_add(T::DbWeight::get().writes(3_u64))
@@ -135,8 +135,8 @@
// Proof Size summary in bytes:
// Measured: `389`
// Estimated: `4764`
- // Minimum execution time: 46_889_000 picoseconds.
- Weight::from_parts(47_549_000, 4764)
+ // Minimum execution time: 43_464_000 picoseconds.
+ Weight::from_parts(44_032_000, 4764)
.saturating_add(T::DbWeight::get().reads(8_u64))
.saturating_add(T::DbWeight::get().writes(5_u64))
}
@@ -154,8 +154,8 @@
// Proof Size summary in bytes:
// Measured: `829`
// Estimated: `29095`
- // Minimum execution time: 63_069_000 picoseconds.
- Weight::from_parts(64_522_000, 29095)
+ // Minimum execution time: 58_179_000 picoseconds.
+ Weight::from_parts(58_981_000, 29095)
.saturating_add(T::DbWeight::get().reads(14_u64))
.saturating_add(T::DbWeight::get().writes(13_u64))
}
@@ -173,8 +173,8 @@
// Proof Size summary in bytes:
// Measured: `829`
// Estimated: `29095`
- // Minimum execution time: 84_649_000 picoseconds.
- Weight::from_parts(86_173_000, 29095)
+ // Minimum execution time: 74_937_000 picoseconds.
+ Weight::from_parts(76_167_000, 29095)
.saturating_add(T::DbWeight::get().reads(15_u64))
.saturating_add(T::DbWeight::get().writes(13_u64))
}
@@ -186,8 +186,8 @@
// Proof Size summary in bytes:
// Measured: `1060`
// Estimated: `4325`
- // Minimum execution time: 24_396_000 picoseconds.
- Weight::from_parts(24_917_000, 4325)
+ // Minimum execution time: 23_306_000 picoseconds.
+ Weight::from_parts(23_680_000, 4325)
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -199,8 +199,8 @@
// Proof Size summary in bytes:
// Measured: `1092`
// Estimated: `4325`
- // Minimum execution time: 22_412_000 picoseconds.
- Weight::from_parts(23_033_000, 4325)
+ // Minimum execution time: 21_298_000 picoseconds.
+ Weight::from_parts(21_651_000, 4325)
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -212,8 +212,8 @@
// Proof Size summary in bytes:
// Measured: `198`
// Estimated: `1517`
- // Minimum execution time: 21_621_000 picoseconds.
- Weight::from_parts(22_041_000, 1517)
+ // Minimum execution time: 20_356_000 picoseconds.
+ Weight::from_parts(20_764_000, 1517)
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -225,8 +225,8 @@
// Proof Size summary in bytes:
// Measured: `396`
// Estimated: `3527`
- // Minimum execution time: 19_186_000 picoseconds.
- Weight::from_parts(19_616_000, 3527)
+ // Minimum execution time: 18_207_000 picoseconds.
+ Weight::from_parts(18_565_000, 3527)
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -249,10 +249,10 @@
// Proof Size summary in bytes:
// Measured: `222 + b * (285 ±0)`
// Estimated: `3622 + b * (3774 ±0)`
- // Minimum execution time: 6_031_000 picoseconds.
- Weight::from_parts(6_880_848, 3622)
- // Standard Error: 18_753
- .saturating_add(Weight::from_parts(22_907_186, 0).saturating_mul(b.into()))
+ // Minimum execution time: 5_767_000 picoseconds.
+ Weight::from_parts(6_702_740, 3622)
+ // Standard Error: 23_437
+ .saturating_add(Weight::from_parts(21_208_495, 0).saturating_mul(b.into()))
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().reads((3_u64).saturating_mul(b.into())))
.saturating_add(RocksDbWeight::get().writes((2_u64).saturating_mul(b.into())))
@@ -264,8 +264,8 @@
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
- // Minimum execution time: 7_565_000 picoseconds.
- Weight::from_parts(7_795_000, 0)
+ // Minimum execution time: 7_836_000 picoseconds.
+ Weight::from_parts(8_115_000, 0)
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
/// Storage: `AppPromotion::Admin` (r:1 w:0)
@@ -291,10 +291,10 @@
// Proof Size summary in bytes:
// Measured: `564 + b * (641 ±0)`
// Estimated: `3593 + b * (25550 ±0)`
- // Minimum execution time: 146_577_000 picoseconds.
- Weight::from_parts(147_970_000, 3593)
- // Standard Error: 59_065
- .saturating_add(Weight::from_parts(115_527_092, 0).saturating_mul(b.into()))
+ // Minimum execution time: 136_584_000 picoseconds.
+ Weight::from_parts(3_372_327, 3593)
+ // Standard Error: 21_362
+ .saturating_add(Weight::from_parts(103_567_863, 0).saturating_mul(b.into()))
.saturating_add(RocksDbWeight::get().reads(7_u64))
.saturating_add(RocksDbWeight::get().reads((13_u64).saturating_mul(b.into())))
.saturating_add(RocksDbWeight::get().writes(3_u64))
@@ -321,8 +321,8 @@
// Proof Size summary in bytes:
// Measured: `389`
// Estimated: `4764`
- // Minimum execution time: 46_889_000 picoseconds.
- Weight::from_parts(47_549_000, 4764)
+ // Minimum execution time: 43_464_000 picoseconds.
+ Weight::from_parts(44_032_000, 4764)
.saturating_add(RocksDbWeight::get().reads(8_u64))
.saturating_add(RocksDbWeight::get().writes(5_u64))
}
@@ -340,8 +340,8 @@
// Proof Size summary in bytes:
// Measured: `829`
// Estimated: `29095`
- // Minimum execution time: 63_069_000 picoseconds.
- Weight::from_parts(64_522_000, 29095)
+ // Minimum execution time: 58_179_000 picoseconds.
+ Weight::from_parts(58_981_000, 29095)
.saturating_add(RocksDbWeight::get().reads(14_u64))
.saturating_add(RocksDbWeight::get().writes(13_u64))
}
@@ -359,8 +359,8 @@
// Proof Size summary in bytes:
// Measured: `829`
// Estimated: `29095`
- // Minimum execution time: 84_649_000 picoseconds.
- Weight::from_parts(86_173_000, 29095)
+ // Minimum execution time: 74_937_000 picoseconds.
+ Weight::from_parts(76_167_000, 29095)
.saturating_add(RocksDbWeight::get().reads(15_u64))
.saturating_add(RocksDbWeight::get().writes(13_u64))
}
@@ -372,8 +372,8 @@
// Proof Size summary in bytes:
// Measured: `1060`
// Estimated: `4325`
- // Minimum execution time: 24_396_000 picoseconds.
- Weight::from_parts(24_917_000, 4325)
+ // Minimum execution time: 23_306_000 picoseconds.
+ Weight::from_parts(23_680_000, 4325)
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -385,8 +385,8 @@
// Proof Size summary in bytes:
// Measured: `1092`
// Estimated: `4325`
- // Minimum execution time: 22_412_000 picoseconds.
- Weight::from_parts(23_033_000, 4325)
+ // Minimum execution time: 21_298_000 picoseconds.
+ Weight::from_parts(21_651_000, 4325)
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -398,8 +398,8 @@
// Proof Size summary in bytes:
// Measured: `198`
// Estimated: `1517`
- // Minimum execution time: 21_621_000 picoseconds.
- Weight::from_parts(22_041_000, 1517)
+ // Minimum execution time: 20_356_000 picoseconds.
+ Weight::from_parts(20_764_000, 1517)
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -411,8 +411,8 @@
// Proof Size summary in bytes:
// Measured: `396`
// Estimated: `3527`
- // Minimum execution time: 19_186_000 picoseconds.
- Weight::from_parts(19_616_000, 3527)
+ // Minimum execution time: 18_207_000 picoseconds.
+ Weight::from_parts(18_565_000, 3527)
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
pallets/collator-selection/src/weights.rsdiffbeforeafterboth--- a/pallets/collator-selection/src/weights.rs
+++ b/pallets/collator-selection/src/weights.rs
@@ -3,13 +3,13 @@
//! Autogenerated weights for pallet_collator_selection
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
-//! DATE: 2023-09-26, STEPS: `50`, REPEAT: `400`, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! DATE: 2023-10-13, STEPS: `50`, REPEAT: `80`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `bench-host`, CPU: `Intel(R) Core(TM) i7-8700 CPU @ 3.20GHz`
-//! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024
+//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024
// Executed Command:
-// target/production/unique-collator
+// ./target/production/unique-collator
// benchmark
// pallet
// --pallet
@@ -20,7 +20,7 @@
// *
// --template=.maintain/frame-weight-template.hbs
// --steps=50
-// --repeat=400
+// --repeat=80
// --heap-pages=4096
// --output=./pallets/collator-selection/src/weights.rs
@@ -47,373 +47,373 @@
/// Weights for pallet_collator_selection using the Substrate node and recommended hardware.
pub struct SubstrateWeight<T>(PhantomData<T>);
impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
- /// Storage: Session NextKeys (r:1 w:0)
- /// Proof Skipped: Session NextKeys (max_values: None, max_size: None, mode: Measured)
- /// Storage: CollatorSelection Invulnerables (r:1 w:1)
- /// Proof: CollatorSelection Invulnerables (max_values: Some(1), max_size: Some(321), added: 816, mode: MaxEncodedLen)
- /// Storage: CollatorSelection Candidates (r:1 w:0)
- /// Proof: CollatorSelection Candidates (max_values: Some(1), max_size: Some(321), added: 816, mode: MaxEncodedLen)
- /// The range of component `b` is `[1, 7]`.
+ /// Storage: `Session::NextKeys` (r:1 w:0)
+ /// Proof: `Session::NextKeys` (`max_values`: None, `max_size`: None, mode: `Measured`)
+ /// Storage: `CollatorSelection::Invulnerables` (r:1 w:1)
+ /// Proof: `CollatorSelection::Invulnerables` (`max_values`: Some(1), `max_size`: Some(321), added: 816, mode: `MaxEncodedLen`)
+ /// Storage: `CollatorSelection::Candidates` (r:1 w:0)
+ /// Proof: `CollatorSelection::Candidates` (`max_values`: Some(1), `max_size`: Some(321), added: 816, mode: `MaxEncodedLen`)
+ /// The range of component `b` is `[2, 8]`.
fn add_invulnerable(b: u32, ) -> Weight {
// Proof Size summary in bytes:
- // Measured: `403 + b * (45 ±0)`
- // Estimated: `3873 + b * (45 ±0)`
- // Minimum execution time: 10_975_000 picoseconds.
- Weight::from_parts(11_362_608, 3873)
- // Standard Error: 411
- .saturating_add(Weight::from_parts(152_014, 0).saturating_mul(b.into()))
+ // Measured: `358 + b * (45 ±0)`
+ // Estimated: `3829 + b * (45 ±0)`
+ // Minimum execution time: 18_241_000 picoseconds.
+ Weight::from_parts(18_396_907, 3829)
+ // Standard Error: 1_022
+ .saturating_add(Weight::from_parts(184_843, 0).saturating_mul(b.into()))
.saturating_add(T::DbWeight::get().reads(3_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
.saturating_add(Weight::from_parts(0, 45).saturating_mul(b.into()))
}
- /// Storage: CollatorSelection Invulnerables (r:1 w:1)
- /// Proof: CollatorSelection Invulnerables (max_values: Some(1), max_size: Some(321), added: 816, mode: MaxEncodedLen)
- /// The range of component `b` is `[1, 7]`.
+ /// Storage: `CollatorSelection::Invulnerables` (r:1 w:1)
+ /// Proof: `CollatorSelection::Invulnerables` (`max_values`: Some(1), `max_size`: Some(321), added: 816, mode: `MaxEncodedLen`)
+ /// The range of component `b` is `[1, 8]`.
fn remove_invulnerable(b: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `96 + b * (32 ±0)`
// Estimated: `1806`
- // Minimum execution time: 6_369_000 picoseconds.
- Weight::from_parts(6_604_933, 1806)
- // Standard Error: 424
- .saturating_add(Weight::from_parts(145_929, 0).saturating_mul(b.into()))
+ // Minimum execution time: 11_945_000 picoseconds.
+ Weight::from_parts(12_355_271, 1806)
+ // Standard Error: 1_116
+ .saturating_add(Weight::from_parts(121_483, 0).saturating_mul(b.into()))
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
- /// Storage: CollatorSelection LicenseDepositOf (r:1 w:1)
- /// Proof: CollatorSelection LicenseDepositOf (max_values: None, max_size: Some(64), added: 2539, mode: MaxEncodedLen)
- /// Storage: Session NextKeys (r:1 w:0)
- /// Proof Skipped: Session NextKeys (max_values: None, max_size: None, mode: Measured)
- /// Storage: Configuration CollatorSelectionLicenseBondOverride (r:1 w:0)
- /// Proof: Configuration CollatorSelectionLicenseBondOverride (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen)
- /// Storage: Balances Holds (r:1 w:1)
- /// Proof: Balances Holds (max_values: None, max_size: Some(369), added: 2844, mode: MaxEncodedLen)
- /// The range of component `c` is `[1, 9]`.
+ /// Storage: `CollatorSelection::LicenseDepositOf` (r:1 w:1)
+ /// Proof: `CollatorSelection::LicenseDepositOf` (`max_values`: None, `max_size`: Some(64), added: 2539, mode: `MaxEncodedLen`)
+ /// Storage: `Session::NextKeys` (r:1 w:0)
+ /// Proof: `Session::NextKeys` (`max_values`: None, `max_size`: None, mode: `Measured`)
+ /// Storage: `Configuration::CollatorSelectionLicenseBondOverride` (r:1 w:0)
+ /// Proof: `Configuration::CollatorSelectionLicenseBondOverride` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`)
+ /// Storage: `Balances::Holds` (r:1 w:1)
+ /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(229), added: 2704, mode: `MaxEncodedLen`)
+ /// The range of component `c` is `[1, 10]`.
fn get_license(c: u32, ) -> Weight {
// Proof Size summary in bytes:
- // Measured: `668 + c * (46 ±0)`
- // Estimated: `4131 + c * (47 ±0)`
- // Minimum execution time: 23_857_000 picoseconds.
- Weight::from_parts(25_984_655, 4131)
- // Standard Error: 4_364
- .saturating_add(Weight::from_parts(521_198, 0).saturating_mul(c.into()))
+ // Measured: `655 + c * (47 ±0)`
+ // Estimated: `4119 + c * (47 ±0)`
+ // Minimum execution time: 48_737_000 picoseconds.
+ Weight::from_parts(51_476_545, 4119)
+ // Standard Error: 9_412
+ .saturating_add(Weight::from_parts(444_940, 0).saturating_mul(c.into()))
.saturating_add(T::DbWeight::get().reads(4_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
.saturating_add(Weight::from_parts(0, 47).saturating_mul(c.into()))
}
- /// Storage: CollatorSelection LicenseDepositOf (r:1 w:0)
- /// Proof: CollatorSelection LicenseDepositOf (max_values: None, max_size: Some(64), added: 2539, mode: MaxEncodedLen)
- /// Storage: CollatorSelection Candidates (r:1 w:1)
- /// Proof: CollatorSelection Candidates (max_values: Some(1), max_size: Some(321), added: 816, mode: MaxEncodedLen)
- /// Storage: CollatorSelection Invulnerables (r:1 w:0)
- /// Proof: CollatorSelection Invulnerables (max_values: Some(1), max_size: Some(321), added: 816, mode: MaxEncodedLen)
- /// Storage: Configuration CollatorSelectionDesiredCollatorsOverride (r:1 w:0)
- /// Proof: Configuration CollatorSelectionDesiredCollatorsOverride (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
- /// Storage: Configuration CollatorSelectionKickThresholdOverride (r:1 w:0)
- /// Proof: Configuration CollatorSelectionKickThresholdOverride (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
- /// Storage: CollatorSelection LastAuthoredBlock (r:0 w:1)
- /// Proof: CollatorSelection LastAuthoredBlock (max_values: None, max_size: Some(44), added: 2519, mode: MaxEncodedLen)
- /// The range of component `c` is `[1, 7]`.
+ /// Storage: `CollatorSelection::LicenseDepositOf` (r:1 w:0)
+ /// Proof: `CollatorSelection::LicenseDepositOf` (`max_values`: None, `max_size`: Some(64), added: 2539, mode: `MaxEncodedLen`)
+ /// Storage: `CollatorSelection::Candidates` (r:1 w:1)
+ /// Proof: `CollatorSelection::Candidates` (`max_values`: Some(1), `max_size`: Some(321), added: 816, mode: `MaxEncodedLen`)
+ /// Storage: `CollatorSelection::Invulnerables` (r:1 w:0)
+ /// Proof: `CollatorSelection::Invulnerables` (`max_values`: Some(1), `max_size`: Some(321), added: 816, mode: `MaxEncodedLen`)
+ /// Storage: `Configuration::CollatorSelectionDesiredCollatorsOverride` (r:1 w:0)
+ /// Proof: `Configuration::CollatorSelectionDesiredCollatorsOverride` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
+ /// Storage: `Configuration::CollatorSelectionKickThresholdOverride` (r:1 w:0)
+ /// Proof: `Configuration::CollatorSelectionKickThresholdOverride` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
+ /// Storage: `CollatorSelection::LastAuthoredBlock` (r:0 w:1)
+ /// Proof: `CollatorSelection::LastAuthoredBlock` (`max_values`: None, `max_size`: Some(44), added: 2519, mode: `MaxEncodedLen`)
+ /// The range of component `c` is `[2, 8]`.
fn onboard(c: u32, ) -> Weight {
// Proof Size summary in bytes:
- // Measured: `414 + c * (54 ±0)`
+ // Measured: `360 + c * (54 ±0)`
// Estimated: `3529`
- // Minimum execution time: 14_337_000 picoseconds.
- Weight::from_parts(14_827_525, 3529)
- // Standard Error: 1_210
- .saturating_add(Weight::from_parts(298_748, 0).saturating_mul(c.into()))
+ // Minimum execution time: 24_530_000 picoseconds.
+ Weight::from_parts(24_716_259, 3529)
+ // Standard Error: 2_330
+ .saturating_add(Weight::from_parts(277_933, 0).saturating_mul(c.into()))
.saturating_add(T::DbWeight::get().reads(5_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
}
- /// Storage: CollatorSelection Candidates (r:1 w:1)
- /// Proof: CollatorSelection Candidates (max_values: Some(1), max_size: Some(321), added: 816, mode: MaxEncodedLen)
- /// Storage: CollatorSelection LastAuthoredBlock (r:0 w:1)
- /// Proof: CollatorSelection LastAuthoredBlock (max_values: None, max_size: Some(44), added: 2519, mode: MaxEncodedLen)
+ /// Storage: `CollatorSelection::Candidates` (r:1 w:1)
+ /// Proof: `CollatorSelection::Candidates` (`max_values`: Some(1), `max_size`: Some(321), added: 816, mode: `MaxEncodedLen`)
+ /// Storage: `CollatorSelection::LastAuthoredBlock` (r:0 w:1)
+ /// Proof: `CollatorSelection::LastAuthoredBlock` (`max_values`: None, `max_size`: Some(44), added: 2519, mode: `MaxEncodedLen`)
/// The range of component `c` is `[1, 8]`.
fn offboard(c: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `111 + c * (32 ±0)`
// Estimated: `1806`
- // Minimum execution time: 7_320_000 picoseconds.
- Weight::from_parts(7_646_004, 1806)
- // Standard Error: 479
- .saturating_add(Weight::from_parts(160_089, 0).saturating_mul(c.into()))
+ // Minimum execution time: 13_646_000 picoseconds.
+ Weight::from_parts(14_002_776, 1806)
+ // Standard Error: 1_225
+ .saturating_add(Weight::from_parts(168_628, 0).saturating_mul(c.into()))
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
}
- /// Storage: CollatorSelection Candidates (r:1 w:1)
- /// Proof: CollatorSelection Candidates (max_values: Some(1), max_size: Some(321), added: 816, mode: MaxEncodedLen)
- /// Storage: CollatorSelection LicenseDepositOf (r:1 w:1)
- /// Proof: CollatorSelection LicenseDepositOf (max_values: None, max_size: Some(64), added: 2539, mode: MaxEncodedLen)
- /// Storage: Balances Holds (r:1 w:1)
- /// Proof: Balances Holds (max_values: None, max_size: Some(369), added: 2844, mode: MaxEncodedLen)
- /// Storage: CollatorSelection LastAuthoredBlock (r:0 w:1)
- /// Proof: CollatorSelection LastAuthoredBlock (max_values: None, max_size: Some(44), added: 2519, mode: MaxEncodedLen)
+ /// Storage: `CollatorSelection::Candidates` (r:1 w:1)
+ /// Proof: `CollatorSelection::Candidates` (`max_values`: Some(1), `max_size`: Some(321), added: 816, mode: `MaxEncodedLen`)
+ /// Storage: `CollatorSelection::LicenseDepositOf` (r:1 w:1)
+ /// Proof: `CollatorSelection::LicenseDepositOf` (`max_values`: None, `max_size`: Some(64), added: 2539, mode: `MaxEncodedLen`)
+ /// Storage: `Balances::Holds` (r:1 w:1)
+ /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(229), added: 2704, mode: `MaxEncodedLen`)
+ /// Storage: `CollatorSelection::LastAuthoredBlock` (r:0 w:1)
+ /// Proof: `CollatorSelection::LastAuthoredBlock` (`max_values`: None, `max_size`: Some(44), added: 2519, mode: `MaxEncodedLen`)
/// The range of component `c` is `[1, 8]`.
fn release_license(c: u32, ) -> Weight {
// Proof Size summary in bytes:
- // Measured: `328 + c * (103 ±0)`
- // Estimated: `3834`
- // Minimum execution time: 22_821_000 picoseconds.
- Weight::from_parts(23_668_202, 3834)
- // Standard Error: 6_654
- .saturating_add(Weight::from_parts(844_978, 0).saturating_mul(c.into()))
+ // Measured: `313 + c * (103 ±0)`
+ // Estimated: `3694`
+ // Minimum execution time: 46_688_000 picoseconds.
+ Weight::from_parts(47_862_445, 3694)
+ // Standard Error: 9_538
+ .saturating_add(Weight::from_parts(709_448, 0).saturating_mul(c.into()))
.saturating_add(T::DbWeight::get().reads(3_u64))
.saturating_add(T::DbWeight::get().writes(4_u64))
}
- /// Storage: CollatorSelection Candidates (r:1 w:1)
- /// Proof: CollatorSelection Candidates (max_values: Some(1), max_size: Some(321), added: 816, mode: MaxEncodedLen)
- /// Storage: CollatorSelection LicenseDepositOf (r:1 w:1)
- /// Proof: CollatorSelection LicenseDepositOf (max_values: None, max_size: Some(64), added: 2539, mode: MaxEncodedLen)
- /// Storage: Balances Holds (r:1 w:1)
- /// Proof: Balances Holds (max_values: None, max_size: Some(369), added: 2844, mode: MaxEncodedLen)
- /// Storage: CollatorSelection LastAuthoredBlock (r:0 w:1)
- /// Proof: CollatorSelection LastAuthoredBlock (max_values: None, max_size: Some(44), added: 2519, mode: MaxEncodedLen)
+ /// Storage: `CollatorSelection::Candidates` (r:1 w:1)
+ /// Proof: `CollatorSelection::Candidates` (`max_values`: Some(1), `max_size`: Some(321), added: 816, mode: `MaxEncodedLen`)
+ /// Storage: `CollatorSelection::LicenseDepositOf` (r:1 w:1)
+ /// Proof: `CollatorSelection::LicenseDepositOf` (`max_values`: None, `max_size`: Some(64), added: 2539, mode: `MaxEncodedLen`)
+ /// Storage: `Balances::Holds` (r:1 w:1)
+ /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(229), added: 2704, mode: `MaxEncodedLen`)
+ /// Storage: `CollatorSelection::LastAuthoredBlock` (r:0 w:1)
+ /// Proof: `CollatorSelection::LastAuthoredBlock` (`max_values`: None, `max_size`: Some(44), added: 2519, mode: `MaxEncodedLen`)
/// The range of component `c` is `[1, 8]`.
fn force_release_license(c: u32, ) -> Weight {
// Proof Size summary in bytes:
- // Measured: `328 + c * (103 ±0)`
- // Estimated: `3834`
- // Minimum execution time: 22_462_000 picoseconds.
- Weight::from_parts(23_215_875, 3834)
- // Standard Error: 6_450
- .saturating_add(Weight::from_parts(830_887, 0).saturating_mul(c.into()))
+ // Measured: `313 + c * (103 ±0)`
+ // Estimated: `3694`
+ // Minimum execution time: 45_887_000 picoseconds.
+ Weight::from_parts(47_099_490, 3694)
+ // Standard Error: 9_203
+ .saturating_add(Weight::from_parts(708_747, 0).saturating_mul(c.into()))
.saturating_add(T::DbWeight::get().reads(3_u64))
.saturating_add(T::DbWeight::get().writes(4_u64))
}
- /// Storage: System Account (r:2 w:2)
- /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
- /// Storage: System BlockWeight (r:1 w:1)
- /// Proof: System BlockWeight (max_values: Some(1), max_size: Some(48), added: 543, mode: MaxEncodedLen)
- /// Storage: CollatorSelection LastAuthoredBlock (r:0 w:1)
- /// Proof: CollatorSelection LastAuthoredBlock (max_values: None, max_size: Some(44), added: 2519, mode: MaxEncodedLen)
+ /// Storage: `System::Account` (r:2 w:2)
+ /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
+ /// Storage: `System::BlockWeight` (r:1 w:1)
+ /// Proof: `System::BlockWeight` (`max_values`: Some(1), `max_size`: Some(48), added: 543, mode: `MaxEncodedLen`)
+ /// Storage: `CollatorSelection::LastAuthoredBlock` (r:0 w:1)
+ /// Proof: `CollatorSelection::LastAuthoredBlock` (`max_values`: None, `max_size`: Some(44), added: 2519, mode: `MaxEncodedLen`)
fn note_author() -> Weight {
// Proof Size summary in bytes:
// Measured: `155`
// Estimated: `6196`
- // Minimum execution time: 17_624_000 picoseconds.
- Weight::from_parts(18_025_000, 6196)
+ // Minimum execution time: 43_192_000 picoseconds.
+ Weight::from_parts(43_667_000, 6196)
.saturating_add(T::DbWeight::get().reads(3_u64))
.saturating_add(T::DbWeight::get().writes(4_u64))
}
- /// Storage: CollatorSelection Candidates (r:1 w:0)
- /// Proof: CollatorSelection Candidates (max_values: Some(1), max_size: Some(321), added: 816, mode: MaxEncodedLen)
- /// Storage: Configuration CollatorSelectionKickThresholdOverride (r:1 w:0)
- /// Proof: Configuration CollatorSelectionKickThresholdOverride (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
- /// Storage: CollatorSelection LastAuthoredBlock (r:8 w:0)
- /// Proof: CollatorSelection LastAuthoredBlock (max_values: None, max_size: Some(44), added: 2519, mode: MaxEncodedLen)
- /// Storage: CollatorSelection Invulnerables (r:1 w:0)
- /// Proof: CollatorSelection Invulnerables (max_values: Some(1), max_size: Some(321), added: 816, mode: MaxEncodedLen)
- /// Storage: System BlockWeight (r:1 w:1)
- /// Proof: System BlockWeight (max_values: Some(1), max_size: Some(48), added: 543, mode: MaxEncodedLen)
- /// Storage: CollatorSelection LicenseDepositOf (r:7 w:7)
- /// Proof: CollatorSelection LicenseDepositOf (max_values: None, max_size: Some(64), added: 2539, mode: MaxEncodedLen)
- /// Storage: Balances Holds (r:7 w:7)
- /// Proof: Balances Holds (max_values: None, max_size: Some(369), added: 2844, mode: MaxEncodedLen)
- /// Storage: System Account (r:8 w:8)
- /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
+ /// Storage: `CollatorSelection::Candidates` (r:1 w:0)
+ /// Proof: `CollatorSelection::Candidates` (`max_values`: Some(1), `max_size`: Some(321), added: 816, mode: `MaxEncodedLen`)
+ /// Storage: `Configuration::CollatorSelectionKickThresholdOverride` (r:1 w:0)
+ /// Proof: `Configuration::CollatorSelectionKickThresholdOverride` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
+ /// Storage: `CollatorSelection::LastAuthoredBlock` (r:8 w:0)
+ /// Proof: `CollatorSelection::LastAuthoredBlock` (`max_values`: None, `max_size`: Some(44), added: 2519, mode: `MaxEncodedLen`)
+ /// Storage: `CollatorSelection::Invulnerables` (r:1 w:0)
+ /// Proof: `CollatorSelection::Invulnerables` (`max_values`: Some(1), `max_size`: Some(321), added: 816, mode: `MaxEncodedLen`)
+ /// Storage: `System::BlockWeight` (r:1 w:1)
+ /// Proof: `System::BlockWeight` (`max_values`: Some(1), `max_size`: Some(48), added: 543, mode: `MaxEncodedLen`)
+ /// Storage: `CollatorSelection::LicenseDepositOf` (r:7 w:7)
+ /// Proof: `CollatorSelection::LicenseDepositOf` (`max_values`: None, `max_size`: Some(64), added: 2539, mode: `MaxEncodedLen`)
+ /// Storage: `Balances::Holds` (r:7 w:7)
+ /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(229), added: 2704, mode: `MaxEncodedLen`)
+ /// Storage: `System::Account` (r:8 w:8)
+ /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
/// The range of component `r` is `[1, 8]`.
/// The range of component `c` is `[1, 8]`.
fn new_session(r: u32, c: u32, ) -> Weight {
// Proof Size summary in bytes:
- // Measured: `725 + c * (84 ±0) + r * (254 ±0)`
- // Estimated: `6196 + c * (2519 ±0) + r * (2844 ±0)`
- // Minimum execution time: 11_318_000 picoseconds.
- Weight::from_parts(11_615_000, 6196)
- // Standard Error: 69_557
- .saturating_add(Weight::from_parts(13_016_275, 0).saturating_mul(c.into()))
+ // Measured: `725 + c * (84 ±0) + r * (239 ±0)`
+ // Estimated: `26857 + c * (2519 ±0) + r * (2704 ±4)`
+ // Minimum execution time: 18_204_000 picoseconds.
+ Weight::from_parts(18_486_000, 26857)
+ // Standard Error: 368_905
+ .saturating_add(Weight::from_parts(27_883_644, 0).saturating_mul(c.into()))
.saturating_add(T::DbWeight::get().reads(5_u64))
.saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(c.into())))
.saturating_add(T::DbWeight::get().writes(1_u64))
.saturating_add(T::DbWeight::get().writes((2_u64).saturating_mul(c.into())))
.saturating_add(Weight::from_parts(0, 2519).saturating_mul(c.into()))
- .saturating_add(Weight::from_parts(0, 2844).saturating_mul(r.into()))
+ .saturating_add(Weight::from_parts(0, 2704).saturating_mul(r.into()))
}
}
// For backwards compatibility and tests
impl WeightInfo for () {
- /// Storage: Session NextKeys (r:1 w:0)
- /// Proof Skipped: Session NextKeys (max_values: None, max_size: None, mode: Measured)
- /// Storage: CollatorSelection Invulnerables (r:1 w:1)
- /// Proof: CollatorSelection Invulnerables (max_values: Some(1), max_size: Some(321), added: 816, mode: MaxEncodedLen)
- /// Storage: CollatorSelection Candidates (r:1 w:0)
- /// Proof: CollatorSelection Candidates (max_values: Some(1), max_size: Some(321), added: 816, mode: MaxEncodedLen)
- /// The range of component `b` is `[1, 7]`.
+ /// Storage: `Session::NextKeys` (r:1 w:0)
+ /// Proof: `Session::NextKeys` (`max_values`: None, `max_size`: None, mode: `Measured`)
+ /// Storage: `CollatorSelection::Invulnerables` (r:1 w:1)
+ /// Proof: `CollatorSelection::Invulnerables` (`max_values`: Some(1), `max_size`: Some(321), added: 816, mode: `MaxEncodedLen`)
+ /// Storage: `CollatorSelection::Candidates` (r:1 w:0)
+ /// Proof: `CollatorSelection::Candidates` (`max_values`: Some(1), `max_size`: Some(321), added: 816, mode: `MaxEncodedLen`)
+ /// The range of component `b` is `[2, 8]`.
fn add_invulnerable(b: u32, ) -> Weight {
// Proof Size summary in bytes:
- // Measured: `403 + b * (45 ±0)`
- // Estimated: `3873 + b * (45 ±0)`
- // Minimum execution time: 10_975_000 picoseconds.
- Weight::from_parts(11_362_608, 3873)
- // Standard Error: 411
- .saturating_add(Weight::from_parts(152_014, 0).saturating_mul(b.into()))
+ // Measured: `358 + b * (45 ±0)`
+ // Estimated: `3829 + b * (45 ±0)`
+ // Minimum execution time: 18_241_000 picoseconds.
+ Weight::from_parts(18_396_907, 3829)
+ // Standard Error: 1_022
+ .saturating_add(Weight::from_parts(184_843, 0).saturating_mul(b.into()))
.saturating_add(RocksDbWeight::get().reads(3_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
.saturating_add(Weight::from_parts(0, 45).saturating_mul(b.into()))
}
- /// Storage: CollatorSelection Invulnerables (r:1 w:1)
- /// Proof: CollatorSelection Invulnerables (max_values: Some(1), max_size: Some(321), added: 816, mode: MaxEncodedLen)
- /// The range of component `b` is `[1, 7]`.
+ /// Storage: `CollatorSelection::Invulnerables` (r:1 w:1)
+ /// Proof: `CollatorSelection::Invulnerables` (`max_values`: Some(1), `max_size`: Some(321), added: 816, mode: `MaxEncodedLen`)
+ /// The range of component `b` is `[1, 8]`.
fn remove_invulnerable(b: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `96 + b * (32 ±0)`
// Estimated: `1806`
- // Minimum execution time: 6_369_000 picoseconds.
- Weight::from_parts(6_604_933, 1806)
- // Standard Error: 424
- .saturating_add(Weight::from_parts(145_929, 0).saturating_mul(b.into()))
+ // Minimum execution time: 11_945_000 picoseconds.
+ Weight::from_parts(12_355_271, 1806)
+ // Standard Error: 1_116
+ .saturating_add(Weight::from_parts(121_483, 0).saturating_mul(b.into()))
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
- /// Storage: CollatorSelection LicenseDepositOf (r:1 w:1)
- /// Proof: CollatorSelection LicenseDepositOf (max_values: None, max_size: Some(64), added: 2539, mode: MaxEncodedLen)
- /// Storage: Session NextKeys (r:1 w:0)
- /// Proof Skipped: Session NextKeys (max_values: None, max_size: None, mode: Measured)
- /// Storage: Configuration CollatorSelectionLicenseBondOverride (r:1 w:0)
- /// Proof: Configuration CollatorSelectionLicenseBondOverride (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen)
- /// Storage: Balances Holds (r:1 w:1)
- /// Proof: Balances Holds (max_values: None, max_size: Some(369), added: 2844, mode: MaxEncodedLen)
- /// The range of component `c` is `[1, 9]`.
+ /// Storage: `CollatorSelection::LicenseDepositOf` (r:1 w:1)
+ /// Proof: `CollatorSelection::LicenseDepositOf` (`max_values`: None, `max_size`: Some(64), added: 2539, mode: `MaxEncodedLen`)
+ /// Storage: `Session::NextKeys` (r:1 w:0)
+ /// Proof: `Session::NextKeys` (`max_values`: None, `max_size`: None, mode: `Measured`)
+ /// Storage: `Configuration::CollatorSelectionLicenseBondOverride` (r:1 w:0)
+ /// Proof: `Configuration::CollatorSelectionLicenseBondOverride` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`)
+ /// Storage: `Balances::Holds` (r:1 w:1)
+ /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(229), added: 2704, mode: `MaxEncodedLen`)
+ /// The range of component `c` is `[1, 10]`.
fn get_license(c: u32, ) -> Weight {
// Proof Size summary in bytes:
- // Measured: `668 + c * (46 ±0)`
- // Estimated: `4131 + c * (47 ±0)`
- // Minimum execution time: 23_857_000 picoseconds.
- Weight::from_parts(25_984_655, 4131)
- // Standard Error: 4_364
- .saturating_add(Weight::from_parts(521_198, 0).saturating_mul(c.into()))
+ // Measured: `655 + c * (47 ±0)`
+ // Estimated: `4119 + c * (47 ±0)`
+ // Minimum execution time: 48_737_000 picoseconds.
+ Weight::from_parts(51_476_545, 4119)
+ // Standard Error: 9_412
+ .saturating_add(Weight::from_parts(444_940, 0).saturating_mul(c.into()))
.saturating_add(RocksDbWeight::get().reads(4_u64))
.saturating_add(RocksDbWeight::get().writes(2_u64))
.saturating_add(Weight::from_parts(0, 47).saturating_mul(c.into()))
}
- /// Storage: CollatorSelection LicenseDepositOf (r:1 w:0)
- /// Proof: CollatorSelection LicenseDepositOf (max_values: None, max_size: Some(64), added: 2539, mode: MaxEncodedLen)
- /// Storage: CollatorSelection Candidates (r:1 w:1)
- /// Proof: CollatorSelection Candidates (max_values: Some(1), max_size: Some(321), added: 816, mode: MaxEncodedLen)
- /// Storage: CollatorSelection Invulnerables (r:1 w:0)
- /// Proof: CollatorSelection Invulnerables (max_values: Some(1), max_size: Some(321), added: 816, mode: MaxEncodedLen)
- /// Storage: Configuration CollatorSelectionDesiredCollatorsOverride (r:1 w:0)
- /// Proof: Configuration CollatorSelectionDesiredCollatorsOverride (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
- /// Storage: Configuration CollatorSelectionKickThresholdOverride (r:1 w:0)
- /// Proof: Configuration CollatorSelectionKickThresholdOverride (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
- /// Storage: CollatorSelection LastAuthoredBlock (r:0 w:1)
- /// Proof: CollatorSelection LastAuthoredBlock (max_values: None, max_size: Some(44), added: 2519, mode: MaxEncodedLen)
- /// The range of component `c` is `[1, 7]`.
+ /// Storage: `CollatorSelection::LicenseDepositOf` (r:1 w:0)
+ /// Proof: `CollatorSelection::LicenseDepositOf` (`max_values`: None, `max_size`: Some(64), added: 2539, mode: `MaxEncodedLen`)
+ /// Storage: `CollatorSelection::Candidates` (r:1 w:1)
+ /// Proof: `CollatorSelection::Candidates` (`max_values`: Some(1), `max_size`: Some(321), added: 816, mode: `MaxEncodedLen`)
+ /// Storage: `CollatorSelection::Invulnerables` (r:1 w:0)
+ /// Proof: `CollatorSelection::Invulnerables` (`max_values`: Some(1), `max_size`: Some(321), added: 816, mode: `MaxEncodedLen`)
+ /// Storage: `Configuration::CollatorSelectionDesiredCollatorsOverride` (r:1 w:0)
+ /// Proof: `Configuration::CollatorSelectionDesiredCollatorsOverride` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
+ /// Storage: `Configuration::CollatorSelectionKickThresholdOverride` (r:1 w:0)
+ /// Proof: `Configuration::CollatorSelectionKickThresholdOverride` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
+ /// Storage: `CollatorSelection::LastAuthoredBlock` (r:0 w:1)
+ /// Proof: `CollatorSelection::LastAuthoredBlock` (`max_values`: None, `max_size`: Some(44), added: 2519, mode: `MaxEncodedLen`)
+ /// The range of component `c` is `[2, 8]`.
fn onboard(c: u32, ) -> Weight {
// Proof Size summary in bytes:
- // Measured: `414 + c * (54 ±0)`
+ // Measured: `360 + c * (54 ±0)`
// Estimated: `3529`
- // Minimum execution time: 14_337_000 picoseconds.
- Weight::from_parts(14_827_525, 3529)
- // Standard Error: 1_210
- .saturating_add(Weight::from_parts(298_748, 0).saturating_mul(c.into()))
+ // Minimum execution time: 24_530_000 picoseconds.
+ Weight::from_parts(24_716_259, 3529)
+ // Standard Error: 2_330
+ .saturating_add(Weight::from_parts(277_933, 0).saturating_mul(c.into()))
.saturating_add(RocksDbWeight::get().reads(5_u64))
.saturating_add(RocksDbWeight::get().writes(2_u64))
}
- /// Storage: CollatorSelection Candidates (r:1 w:1)
- /// Proof: CollatorSelection Candidates (max_values: Some(1), max_size: Some(321), added: 816, mode: MaxEncodedLen)
- /// Storage: CollatorSelection LastAuthoredBlock (r:0 w:1)
- /// Proof: CollatorSelection LastAuthoredBlock (max_values: None, max_size: Some(44), added: 2519, mode: MaxEncodedLen)
+ /// Storage: `CollatorSelection::Candidates` (r:1 w:1)
+ /// Proof: `CollatorSelection::Candidates` (`max_values`: Some(1), `max_size`: Some(321), added: 816, mode: `MaxEncodedLen`)
+ /// Storage: `CollatorSelection::LastAuthoredBlock` (r:0 w:1)
+ /// Proof: `CollatorSelection::LastAuthoredBlock` (`max_values`: None, `max_size`: Some(44), added: 2519, mode: `MaxEncodedLen`)
/// The range of component `c` is `[1, 8]`.
fn offboard(c: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `111 + c * (32 ±0)`
// Estimated: `1806`
- // Minimum execution time: 7_320_000 picoseconds.
- Weight::from_parts(7_646_004, 1806)
- // Standard Error: 479
- .saturating_add(Weight::from_parts(160_089, 0).saturating_mul(c.into()))
+ // Minimum execution time: 13_646_000 picoseconds.
+ Weight::from_parts(14_002_776, 1806)
+ // Standard Error: 1_225
+ .saturating_add(Weight::from_parts(168_628, 0).saturating_mul(c.into()))
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(2_u64))
}
- /// Storage: CollatorSelection Candidates (r:1 w:1)
- /// Proof: CollatorSelection Candidates (max_values: Some(1), max_size: Some(321), added: 816, mode: MaxEncodedLen)
- /// Storage: CollatorSelection LicenseDepositOf (r:1 w:1)
- /// Proof: CollatorSelection LicenseDepositOf (max_values: None, max_size: Some(64), added: 2539, mode: MaxEncodedLen)
- /// Storage: Balances Holds (r:1 w:1)
- /// Proof: Balances Holds (max_values: None, max_size: Some(369), added: 2844, mode: MaxEncodedLen)
- /// Storage: CollatorSelection LastAuthoredBlock (r:0 w:1)
- /// Proof: CollatorSelection LastAuthoredBlock (max_values: None, max_size: Some(44), added: 2519, mode: MaxEncodedLen)
+ /// Storage: `CollatorSelection::Candidates` (r:1 w:1)
+ /// Proof: `CollatorSelection::Candidates` (`max_values`: Some(1), `max_size`: Some(321), added: 816, mode: `MaxEncodedLen`)
+ /// Storage: `CollatorSelection::LicenseDepositOf` (r:1 w:1)
+ /// Proof: `CollatorSelection::LicenseDepositOf` (`max_values`: None, `max_size`: Some(64), added: 2539, mode: `MaxEncodedLen`)
+ /// Storage: `Balances::Holds` (r:1 w:1)
+ /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(229), added: 2704, mode: `MaxEncodedLen`)
+ /// Storage: `CollatorSelection::LastAuthoredBlock` (r:0 w:1)
+ /// Proof: `CollatorSelection::LastAuthoredBlock` (`max_values`: None, `max_size`: Some(44), added: 2519, mode: `MaxEncodedLen`)
/// The range of component `c` is `[1, 8]`.
fn release_license(c: u32, ) -> Weight {
// Proof Size summary in bytes:
- // Measured: `328 + c * (103 ±0)`
- // Estimated: `3834`
- // Minimum execution time: 22_821_000 picoseconds.
- Weight::from_parts(23_668_202, 3834)
- // Standard Error: 6_654
- .saturating_add(Weight::from_parts(844_978, 0).saturating_mul(c.into()))
+ // Measured: `313 + c * (103 ±0)`
+ // Estimated: `3694`
+ // Minimum execution time: 46_688_000 picoseconds.
+ Weight::from_parts(47_862_445, 3694)
+ // Standard Error: 9_538
+ .saturating_add(Weight::from_parts(709_448, 0).saturating_mul(c.into()))
.saturating_add(RocksDbWeight::get().reads(3_u64))
.saturating_add(RocksDbWeight::get().writes(4_u64))
}
- /// Storage: CollatorSelection Candidates (r:1 w:1)
- /// Proof: CollatorSelection Candidates (max_values: Some(1), max_size: Some(321), added: 816, mode: MaxEncodedLen)
- /// Storage: CollatorSelection LicenseDepositOf (r:1 w:1)
- /// Proof: CollatorSelection LicenseDepositOf (max_values: None, max_size: Some(64), added: 2539, mode: MaxEncodedLen)
- /// Storage: Balances Holds (r:1 w:1)
- /// Proof: Balances Holds (max_values: None, max_size: Some(369), added: 2844, mode: MaxEncodedLen)
- /// Storage: CollatorSelection LastAuthoredBlock (r:0 w:1)
- /// Proof: CollatorSelection LastAuthoredBlock (max_values: None, max_size: Some(44), added: 2519, mode: MaxEncodedLen)
+ /// Storage: `CollatorSelection::Candidates` (r:1 w:1)
+ /// Proof: `CollatorSelection::Candidates` (`max_values`: Some(1), `max_size`: Some(321), added: 816, mode: `MaxEncodedLen`)
+ /// Storage: `CollatorSelection::LicenseDepositOf` (r:1 w:1)
+ /// Proof: `CollatorSelection::LicenseDepositOf` (`max_values`: None, `max_size`: Some(64), added: 2539, mode: `MaxEncodedLen`)
+ /// Storage: `Balances::Holds` (r:1 w:1)
+ /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(229), added: 2704, mode: `MaxEncodedLen`)
+ /// Storage: `CollatorSelection::LastAuthoredBlock` (r:0 w:1)
+ /// Proof: `CollatorSelection::LastAuthoredBlock` (`max_values`: None, `max_size`: Some(44), added: 2519, mode: `MaxEncodedLen`)
/// The range of component `c` is `[1, 8]`.
fn force_release_license(c: u32, ) -> Weight {
// Proof Size summary in bytes:
- // Measured: `328 + c * (103 ±0)`
- // Estimated: `3834`
- // Minimum execution time: 22_462_000 picoseconds.
- Weight::from_parts(23_215_875, 3834)
- // Standard Error: 6_450
- .saturating_add(Weight::from_parts(830_887, 0).saturating_mul(c.into()))
+ // Measured: `313 + c * (103 ±0)`
+ // Estimated: `3694`
+ // Minimum execution time: 45_887_000 picoseconds.
+ Weight::from_parts(47_099_490, 3694)
+ // Standard Error: 9_203
+ .saturating_add(Weight::from_parts(708_747, 0).saturating_mul(c.into()))
.saturating_add(RocksDbWeight::get().reads(3_u64))
.saturating_add(RocksDbWeight::get().writes(4_u64))
}
- /// Storage: System Account (r:2 w:2)
- /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
- /// Storage: System BlockWeight (r:1 w:1)
- /// Proof: System BlockWeight (max_values: Some(1), max_size: Some(48), added: 543, mode: MaxEncodedLen)
- /// Storage: CollatorSelection LastAuthoredBlock (r:0 w:1)
- /// Proof: CollatorSelection LastAuthoredBlock (max_values: None, max_size: Some(44), added: 2519, mode: MaxEncodedLen)
+ /// Storage: `System::Account` (r:2 w:2)
+ /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
+ /// Storage: `System::BlockWeight` (r:1 w:1)
+ /// Proof: `System::BlockWeight` (`max_values`: Some(1), `max_size`: Some(48), added: 543, mode: `MaxEncodedLen`)
+ /// Storage: `CollatorSelection::LastAuthoredBlock` (r:0 w:1)
+ /// Proof: `CollatorSelection::LastAuthoredBlock` (`max_values`: None, `max_size`: Some(44), added: 2519, mode: `MaxEncodedLen`)
fn note_author() -> Weight {
// Proof Size summary in bytes:
// Measured: `155`
// Estimated: `6196`
- // Minimum execution time: 17_624_000 picoseconds.
- Weight::from_parts(18_025_000, 6196)
+ // Minimum execution time: 43_192_000 picoseconds.
+ Weight::from_parts(43_667_000, 6196)
.saturating_add(RocksDbWeight::get().reads(3_u64))
.saturating_add(RocksDbWeight::get().writes(4_u64))
}
- /// Storage: CollatorSelection Candidates (r:1 w:0)
- /// Proof: CollatorSelection Candidates (max_values: Some(1), max_size: Some(321), added: 816, mode: MaxEncodedLen)
- /// Storage: Configuration CollatorSelectionKickThresholdOverride (r:1 w:0)
- /// Proof: Configuration CollatorSelectionKickThresholdOverride (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
- /// Storage: CollatorSelection LastAuthoredBlock (r:8 w:0)
- /// Proof: CollatorSelection LastAuthoredBlock (max_values: None, max_size: Some(44), added: 2519, mode: MaxEncodedLen)
- /// Storage: CollatorSelection Invulnerables (r:1 w:0)
- /// Proof: CollatorSelection Invulnerables (max_values: Some(1), max_size: Some(321), added: 816, mode: MaxEncodedLen)
- /// Storage: System BlockWeight (r:1 w:1)
- /// Proof: System BlockWeight (max_values: Some(1), max_size: Some(48), added: 543, mode: MaxEncodedLen)
- /// Storage: CollatorSelection LicenseDepositOf (r:7 w:7)
- /// Proof: CollatorSelection LicenseDepositOf (max_values: None, max_size: Some(64), added: 2539, mode: MaxEncodedLen)
- /// Storage: Balances Holds (r:7 w:7)
- /// Proof: Balances Holds (max_values: None, max_size: Some(369), added: 2844, mode: MaxEncodedLen)
- /// Storage: System Account (r:8 w:8)
- /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
+ /// Storage: `CollatorSelection::Candidates` (r:1 w:0)
+ /// Proof: `CollatorSelection::Candidates` (`max_values`: Some(1), `max_size`: Some(321), added: 816, mode: `MaxEncodedLen`)
+ /// Storage: `Configuration::CollatorSelectionKickThresholdOverride` (r:1 w:0)
+ /// Proof: `Configuration::CollatorSelectionKickThresholdOverride` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
+ /// Storage: `CollatorSelection::LastAuthoredBlock` (r:8 w:0)
+ /// Proof: `CollatorSelection::LastAuthoredBlock` (`max_values`: None, `max_size`: Some(44), added: 2519, mode: `MaxEncodedLen`)
+ /// Storage: `CollatorSelection::Invulnerables` (r:1 w:0)
+ /// Proof: `CollatorSelection::Invulnerables` (`max_values`: Some(1), `max_size`: Some(321), added: 816, mode: `MaxEncodedLen`)
+ /// Storage: `System::BlockWeight` (r:1 w:1)
+ /// Proof: `System::BlockWeight` (`max_values`: Some(1), `max_size`: Some(48), added: 543, mode: `MaxEncodedLen`)
+ /// Storage: `CollatorSelection::LicenseDepositOf` (r:7 w:7)
+ /// Proof: `CollatorSelection::LicenseDepositOf` (`max_values`: None, `max_size`: Some(64), added: 2539, mode: `MaxEncodedLen`)
+ /// Storage: `Balances::Holds` (r:7 w:7)
+ /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(229), added: 2704, mode: `MaxEncodedLen`)
+ /// Storage: `System::Account` (r:8 w:8)
+ /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
/// The range of component `r` is `[1, 8]`.
/// The range of component `c` is `[1, 8]`.
fn new_session(r: u32, c: u32, ) -> Weight {
// Proof Size summary in bytes:
- // Measured: `725 + c * (84 ±0) + r * (254 ±0)`
- // Estimated: `6196 + c * (2519 ±0) + r * (2844 ±0)`
- // Minimum execution time: 11_318_000 picoseconds.
- Weight::from_parts(11_615_000, 6196)
- // Standard Error: 69_557
- .saturating_add(Weight::from_parts(13_016_275, 0).saturating_mul(c.into()))
+ // Measured: `725 + c * (84 ±0) + r * (239 ±0)`
+ // Estimated: `26857 + c * (2519 ±0) + r * (2704 ±4)`
+ // Minimum execution time: 18_204_000 picoseconds.
+ Weight::from_parts(18_486_000, 26857)
+ // Standard Error: 368_905
+ .saturating_add(Weight::from_parts(27_883_644, 0).saturating_mul(c.into()))
.saturating_add(RocksDbWeight::get().reads(5_u64))
.saturating_add(RocksDbWeight::get().reads((2_u64).saturating_mul(c.into())))
.saturating_add(RocksDbWeight::get().writes(1_u64))
.saturating_add(RocksDbWeight::get().writes((2_u64).saturating_mul(c.into())))
.saturating_add(Weight::from_parts(0, 2519).saturating_mul(c.into()))
- .saturating_add(Weight::from_parts(0, 2844).saturating_mul(r.into()))
+ .saturating_add(Weight::from_parts(0, 2704).saturating_mul(r.into()))
}
}
pallets/common/src/weights.rsdiffbeforeafterboth--- a/pallets/common/src/weights.rs
+++ b/pallets/common/src/weights.rs
@@ -5,7 +5,7 @@
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2023-10-13, STEPS: `50`, REPEAT: `80`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
-//! HOSTNAME: `hearthstone`, CPU: `AMD Ryzen 9 7950X3D 16-Core Processor`
+//! HOSTNAME: `bench-host`, CPU: `Intel(R) Core(TM) i7-8700 CPU @ 3.20GHz`
//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024
// Executed Command:
@@ -48,10 +48,10 @@
// Proof Size summary in bytes:
// Measured: `298`
// Estimated: `44457`
- // Minimum execution time: 4_560_000 picoseconds.
- Weight::from_parts(28_643_440, 44457)
- // Standard Error: 28_941
- .saturating_add(Weight::from_parts(18_277_422, 0).saturating_mul(b.into()))
+ // Minimum execution time: 7_698_000 picoseconds.
+ Weight::from_parts(996_959, 44457)
+ // Standard Error: 56_401
+ .saturating_add(Weight::from_parts(36_272_294, 0).saturating_mul(b.into()))
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -61,8 +61,8 @@
// Proof Size summary in bytes:
// Measured: `373`
// Estimated: `3535`
- // Minimum execution time: 4_290_000 picoseconds.
- Weight::from_parts(4_460_000, 3535)
+ // Minimum execution time: 6_235_000 picoseconds.
+ Weight::from_parts(6_437_000, 3535)
.saturating_add(T::DbWeight::get().reads(1_u64))
}
/// Storage: `Common::IsAdmin` (r:1 w:0)
@@ -73,8 +73,8 @@
// Proof Size summary in bytes:
// Measured: `326`
// Estimated: `20191`
- // Minimum execution time: 6_100_000 picoseconds.
- Weight::from_parts(6_350_000, 20191)
+ // Minimum execution time: 8_907_000 picoseconds.
+ Weight::from_parts(9_168_000, 20191)
.saturating_add(T::DbWeight::get().reads(2_u64))
}
}
@@ -88,10 +88,10 @@
// Proof Size summary in bytes:
// Measured: `298`
// Estimated: `44457`
- // Minimum execution time: 4_560_000 picoseconds.
- Weight::from_parts(28_643_440, 44457)
- // Standard Error: 28_941
- .saturating_add(Weight::from_parts(18_277_422, 0).saturating_mul(b.into()))
+ // Minimum execution time: 7_698_000 picoseconds.
+ Weight::from_parts(996_959, 44457)
+ // Standard Error: 56_401
+ .saturating_add(Weight::from_parts(36_272_294, 0).saturating_mul(b.into()))
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -101,8 +101,8 @@
// Proof Size summary in bytes:
// Measured: `373`
// Estimated: `3535`
- // Minimum execution time: 4_290_000 picoseconds.
- Weight::from_parts(4_460_000, 3535)
+ // Minimum execution time: 6_235_000 picoseconds.
+ Weight::from_parts(6_437_000, 3535)
.saturating_add(RocksDbWeight::get().reads(1_u64))
}
/// Storage: `Common::IsAdmin` (r:1 w:0)
@@ -113,8 +113,8 @@
// Proof Size summary in bytes:
// Measured: `326`
// Estimated: `20191`
- // Minimum execution time: 6_100_000 picoseconds.
- Weight::from_parts(6_350_000, 20191)
+ // Minimum execution time: 8_907_000 picoseconds.
+ Weight::from_parts(9_168_000, 20191)
.saturating_add(RocksDbWeight::get().reads(2_u64))
}
}
pallets/configuration/src/weights.rsdiffbeforeafterboth--- a/pallets/configuration/src/weights.rs
+++ b/pallets/configuration/src/weights.rs
@@ -3,13 +3,13 @@
//! Autogenerated weights for pallet_configuration
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
-//! DATE: 2023-09-26, STEPS: `50`, REPEAT: `400`, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! DATE: 2023-10-13, STEPS: `50`, REPEAT: `80`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `bench-host`, CPU: `Intel(R) Core(TM) i7-8700 CPU @ 3.20GHz`
-//! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024
+//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024
// Executed Command:
-// target/production/unique-collator
+// ./target/production/unique-collator
// benchmark
// pallet
// --pallet
@@ -20,7 +20,7 @@
// *
// --template=.maintain/frame-weight-template.hbs
// --steps=50
-// --repeat=400
+// --repeat=80
// --heap-pages=4096
// --output=./pallets/configuration/src/weights.rs
@@ -44,136 +44,136 @@
/// Weights for pallet_configuration using the Substrate node and recommended hardware.
pub struct SubstrateWeight<T>(PhantomData<T>);
impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
- /// Storage: Configuration WeightToFeeCoefficientOverride (r:0 w:1)
- /// Proof: Configuration WeightToFeeCoefficientOverride (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen)
+ /// Storage: `Configuration::WeightToFeeCoefficientOverride` (r:0 w:1)
+ /// Proof: `Configuration::WeightToFeeCoefficientOverride` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`)
fn set_weight_to_fee_coefficient_override() -> Weight {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
- // Minimum execution time: 990_000 picoseconds.
- Weight::from_parts(1_090_000, 0)
+ // Minimum execution time: 2_478_000 picoseconds.
+ Weight::from_parts(2_614_000, 0)
.saturating_add(T::DbWeight::get().writes(1_u64))
}
- /// Storage: Configuration MinGasPriceOverride (r:0 w:1)
- /// Proof: Configuration MinGasPriceOverride (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen)
- /// Storage: unknown `0xc1fef3b7207c11a52df13c12884e772609bc3a1e532c9cb85d57feed02cbff8e` (r:0 w:1)
- /// Proof Skipped: unknown `0xc1fef3b7207c11a52df13c12884e772609bc3a1e532c9cb85d57feed02cbff8e` (r:0 w:1)
- /// Storage: unknown `0xc1fef3b7207c11a52df13c12884e77263864ade243c642793ebcfe9e16f454ca` (r:0 w:1)
- /// Proof Skipped: unknown `0xc1fef3b7207c11a52df13c12884e77263864ade243c642793ebcfe9e16f454ca` (r:0 w:1)
+ /// Storage: `Configuration::MinGasPriceOverride` (r:0 w:1)
+ /// Proof: `Configuration::MinGasPriceOverride` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`)
+ /// Storage: UNKNOWN KEY `0xc1fef3b7207c11a52df13c12884e772609bc3a1e532c9cb85d57feed02cbff8e` (r:0 w:1)
+ /// Proof: UNKNOWN KEY `0xc1fef3b7207c11a52df13c12884e772609bc3a1e532c9cb85d57feed02cbff8e` (r:0 w:1)
+ /// Storage: UNKNOWN KEY `0xc1fef3b7207c11a52df13c12884e77263864ade243c642793ebcfe9e16f454ca` (r:0 w:1)
+ /// Proof: UNKNOWN KEY `0xc1fef3b7207c11a52df13c12884e77263864ade243c642793ebcfe9e16f454ca` (r:0 w:1)
fn set_min_gas_price_override() -> Weight {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
- // Minimum execution time: 1_469_000 picoseconds.
- Weight::from_parts(1_565_000, 0)
+ // Minimum execution time: 3_934_000 picoseconds.
+ Weight::from_parts(4_092_000, 0)
.saturating_add(T::DbWeight::get().writes(3_u64))
}
- /// Storage: Configuration AppPromomotionConfigurationOverride (r:0 w:1)
- /// Proof: Configuration AppPromomotionConfigurationOverride (max_values: Some(1), max_size: Some(17), added: 512, mode: MaxEncodedLen)
+ /// Storage: `Configuration::AppPromomotionConfigurationOverride` (r:0 w:1)
+ /// Proof: `Configuration::AppPromomotionConfigurationOverride` (`max_values`: Some(1), `max_size`: Some(17), added: 512, mode: `MaxEncodedLen`)
fn set_app_promotion_configuration_override() -> Weight {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
- // Minimum execution time: 1_027_000 picoseconds.
- Weight::from_parts(1_098_000, 0)
+ // Minimum execution time: 2_657_000 picoseconds.
+ Weight::from_parts(2_768_000, 0)
.saturating_add(T::DbWeight::get().writes(1_u64))
}
- /// Storage: Configuration CollatorSelectionDesiredCollatorsOverride (r:0 w:1)
- /// Proof: Configuration CollatorSelectionDesiredCollatorsOverride (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
+ /// Storage: `Configuration::CollatorSelectionDesiredCollatorsOverride` (r:0 w:1)
+ /// Proof: `Configuration::CollatorSelectionDesiredCollatorsOverride` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
fn set_collator_selection_desired_collators() -> Weight {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
- // Minimum execution time: 4_149_000 picoseconds.
- Weight::from_parts(4_326_000, 0)
+ // Minimum execution time: 9_148_000 picoseconds.
+ Weight::from_parts(9_521_000, 0)
.saturating_add(T::DbWeight::get().writes(1_u64))
}
- /// Storage: Configuration CollatorSelectionLicenseBondOverride (r:0 w:1)
- /// Proof: Configuration CollatorSelectionLicenseBondOverride (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen)
+ /// Storage: `Configuration::CollatorSelectionLicenseBondOverride` (r:0 w:1)
+ /// Proof: `Configuration::CollatorSelectionLicenseBondOverride` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`)
fn set_collator_selection_license_bond() -> Weight {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
- // Minimum execution time: 2_758_000 picoseconds.
- Weight::from_parts(2_911_000, 0)
+ // Minimum execution time: 6_652_000 picoseconds.
+ Weight::from_parts(6_908_000, 0)
.saturating_add(T::DbWeight::get().writes(1_u64))
}
- /// Storage: Configuration CollatorSelectionKickThresholdOverride (r:0 w:1)
- /// Proof: Configuration CollatorSelectionKickThresholdOverride (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
+ /// Storage: `Configuration::CollatorSelectionKickThresholdOverride` (r:0 w:1)
+ /// Proof: `Configuration::CollatorSelectionKickThresholdOverride` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
fn set_collator_selection_kick_threshold() -> Weight {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
- // Minimum execution time: 2_695_000 picoseconds.
- Weight::from_parts(2_829_000, 0)
+ // Minimum execution time: 6_681_000 picoseconds.
+ Weight::from_parts(6_885_000, 0)
.saturating_add(T::DbWeight::get().writes(1_u64))
}
}
// For backwards compatibility and tests
impl WeightInfo for () {
- /// Storage: Configuration WeightToFeeCoefficientOverride (r:0 w:1)
- /// Proof: Configuration WeightToFeeCoefficientOverride (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen)
+ /// Storage: `Configuration::WeightToFeeCoefficientOverride` (r:0 w:1)
+ /// Proof: `Configuration::WeightToFeeCoefficientOverride` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`)
fn set_weight_to_fee_coefficient_override() -> Weight {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
- // Minimum execution time: 990_000 picoseconds.
- Weight::from_parts(1_090_000, 0)
+ // Minimum execution time: 2_478_000 picoseconds.
+ Weight::from_parts(2_614_000, 0)
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
- /// Storage: Configuration MinGasPriceOverride (r:0 w:1)
- /// Proof: Configuration MinGasPriceOverride (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen)
- /// Storage: unknown `0xc1fef3b7207c11a52df13c12884e772609bc3a1e532c9cb85d57feed02cbff8e` (r:0 w:1)
- /// Proof Skipped: unknown `0xc1fef3b7207c11a52df13c12884e772609bc3a1e532c9cb85d57feed02cbff8e` (r:0 w:1)
- /// Storage: unknown `0xc1fef3b7207c11a52df13c12884e77263864ade243c642793ebcfe9e16f454ca` (r:0 w:1)
- /// Proof Skipped: unknown `0xc1fef3b7207c11a52df13c12884e77263864ade243c642793ebcfe9e16f454ca` (r:0 w:1)
+ /// Storage: `Configuration::MinGasPriceOverride` (r:0 w:1)
+ /// Proof: `Configuration::MinGasPriceOverride` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`)
+ /// Storage: UNKNOWN KEY `0xc1fef3b7207c11a52df13c12884e772609bc3a1e532c9cb85d57feed02cbff8e` (r:0 w:1)
+ /// Proof: UNKNOWN KEY `0xc1fef3b7207c11a52df13c12884e772609bc3a1e532c9cb85d57feed02cbff8e` (r:0 w:1)
+ /// Storage: UNKNOWN KEY `0xc1fef3b7207c11a52df13c12884e77263864ade243c642793ebcfe9e16f454ca` (r:0 w:1)
+ /// Proof: UNKNOWN KEY `0xc1fef3b7207c11a52df13c12884e77263864ade243c642793ebcfe9e16f454ca` (r:0 w:1)
fn set_min_gas_price_override() -> Weight {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
- // Minimum execution time: 1_469_000 picoseconds.
- Weight::from_parts(1_565_000, 0)
+ // Minimum execution time: 3_934_000 picoseconds.
+ Weight::from_parts(4_092_000, 0)
.saturating_add(RocksDbWeight::get().writes(3_u64))
}
- /// Storage: Configuration AppPromomotionConfigurationOverride (r:0 w:1)
- /// Proof: Configuration AppPromomotionConfigurationOverride (max_values: Some(1), max_size: Some(17), added: 512, mode: MaxEncodedLen)
+ /// Storage: `Configuration::AppPromomotionConfigurationOverride` (r:0 w:1)
+ /// Proof: `Configuration::AppPromomotionConfigurationOverride` (`max_values`: Some(1), `max_size`: Some(17), added: 512, mode: `MaxEncodedLen`)
fn set_app_promotion_configuration_override() -> Weight {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
- // Minimum execution time: 1_027_000 picoseconds.
- Weight::from_parts(1_098_000, 0)
+ // Minimum execution time: 2_657_000 picoseconds.
+ Weight::from_parts(2_768_000, 0)
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
- /// Storage: Configuration CollatorSelectionDesiredCollatorsOverride (r:0 w:1)
- /// Proof: Configuration CollatorSelectionDesiredCollatorsOverride (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
+ /// Storage: `Configuration::CollatorSelectionDesiredCollatorsOverride` (r:0 w:1)
+ /// Proof: `Configuration::CollatorSelectionDesiredCollatorsOverride` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
fn set_collator_selection_desired_collators() -> Weight {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
- // Minimum execution time: 4_149_000 picoseconds.
- Weight::from_parts(4_326_000, 0)
+ // Minimum execution time: 9_148_000 picoseconds.
+ Weight::from_parts(9_521_000, 0)
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
- /// Storage: Configuration CollatorSelectionLicenseBondOverride (r:0 w:1)
- /// Proof: Configuration CollatorSelectionLicenseBondOverride (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen)
+ /// Storage: `Configuration::CollatorSelectionLicenseBondOverride` (r:0 w:1)
+ /// Proof: `Configuration::CollatorSelectionLicenseBondOverride` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`)
fn set_collator_selection_license_bond() -> Weight {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
- // Minimum execution time: 2_758_000 picoseconds.
- Weight::from_parts(2_911_000, 0)
+ // Minimum execution time: 6_652_000 picoseconds.
+ Weight::from_parts(6_908_000, 0)
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
- /// Storage: Configuration CollatorSelectionKickThresholdOverride (r:0 w:1)
- /// Proof: Configuration CollatorSelectionKickThresholdOverride (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
+ /// Storage: `Configuration::CollatorSelectionKickThresholdOverride` (r:0 w:1)
+ /// Proof: `Configuration::CollatorSelectionKickThresholdOverride` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
fn set_collator_selection_kick_threshold() -> Weight {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
- // Minimum execution time: 2_695_000 picoseconds.
- Weight::from_parts(2_829_000, 0)
+ // Minimum execution time: 6_681_000 picoseconds.
+ Weight::from_parts(6_885_000, 0)
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
}
pallets/evm-migration/src/weights.rsdiffbeforeafterboth--- a/pallets/evm-migration/src/weights.rs
+++ b/pallets/evm-migration/src/weights.rs
@@ -3,13 +3,13 @@
//! Autogenerated weights for pallet_evm_migration
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
-//! DATE: 2023-09-26, STEPS: `50`, REPEAT: `400`, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! DATE: 2023-10-13, STEPS: `50`, REPEAT: `80`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `bench-host`, CPU: `Intel(R) Core(TM) i7-8700 CPU @ 3.20GHz`
-//! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024
+//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024
// Executed Command:
-// target/production/unique-collator
+// ./target/production/unique-collator
// benchmark
// pallet
// --pallet
@@ -20,7 +20,7 @@
// *
// --template=.maintain/frame-weight-template.hbs
// --steps=50
-// --repeat=400
+// --repeat=80
// --heap-pages=4096
// --output=./pallets/evm-migration/src/weights.rs
@@ -43,50 +43,50 @@
/// Weights for pallet_evm_migration using the Substrate node and recommended hardware.
pub struct SubstrateWeight<T>(PhantomData<T>);
impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
- /// Storage: EvmMigration MigrationPending (r:1 w:1)
- /// Proof: EvmMigration MigrationPending (max_values: None, max_size: Some(29), added: 2504, mode: MaxEncodedLen)
- /// Storage: System Account (r:1 w:0)
- /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
- /// Storage: EVM AccountCodes (r:1 w:0)
- /// Proof Skipped: EVM AccountCodes (max_values: None, max_size: None, mode: Measured)
+ /// Storage: `EvmMigration::MigrationPending` (r:1 w:1)
+ /// Proof: `EvmMigration::MigrationPending` (`max_values`: None, `max_size`: Some(29), added: 2504, mode: `MaxEncodedLen`)
+ /// Storage: `System::Account` (r:1 w:0)
+ /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
+ /// Storage: `EVM::AccountCodes` (r:1 w:0)
+ /// Proof: `EVM::AccountCodes` (`max_values`: None, `max_size`: None, mode: `Measured`)
fn begin() -> Weight {
// Proof Size summary in bytes:
// Measured: `94`
// Estimated: `3593`
- // Minimum execution time: 6_131_000 picoseconds.
- Weight::from_parts(6_351_000, 3593)
+ // Minimum execution time: 12_866_000 picoseconds.
+ Weight::from_parts(13_129_000, 3593)
.saturating_add(T::DbWeight::get().reads(3_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
- /// Storage: EvmMigration MigrationPending (r:1 w:0)
- /// Proof: EvmMigration MigrationPending (max_values: None, max_size: Some(29), added: 2504, mode: MaxEncodedLen)
- /// Storage: EVM AccountStorages (r:0 w:80)
- /// Proof Skipped: EVM AccountStorages (max_values: None, max_size: None, mode: Measured)
+ /// Storage: `EvmMigration::MigrationPending` (r:1 w:0)
+ /// Proof: `EvmMigration::MigrationPending` (`max_values`: None, `max_size`: Some(29), added: 2504, mode: `MaxEncodedLen`)
+ /// Storage: `EVM::AccountStorages` (r:0 w:80)
+ /// Proof: `EVM::AccountStorages` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// The range of component `b` is `[0, 80]`.
fn set_data(b: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `96`
// Estimated: `3494`
- // Minimum execution time: 4_522_000 picoseconds.
- Weight::from_parts(4_569_839, 3494)
- // Standard Error: 253
- .saturating_add(Weight::from_parts(743_780, 0).saturating_mul(b.into()))
+ // Minimum execution time: 6_855_000 picoseconds.
+ Weight::from_parts(7_515_980, 3494)
+ // Standard Error: 564
+ .saturating_add(Weight::from_parts(1_535_437, 0).saturating_mul(b.into()))
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(b.into())))
}
- /// Storage: EvmMigration MigrationPending (r:1 w:1)
- /// Proof: EvmMigration MigrationPending (max_values: None, max_size: Some(29), added: 2504, mode: MaxEncodedLen)
- /// Storage: EVM AccountCodes (r:0 w:1)
- /// Proof Skipped: EVM AccountCodes (max_values: None, max_size: None, mode: Measured)
+ /// Storage: `EvmMigration::MigrationPending` (r:1 w:1)
+ /// Proof: `EvmMigration::MigrationPending` (`max_values`: None, `max_size`: Some(29), added: 2504, mode: `MaxEncodedLen`)
+ /// Storage: `EVM::AccountCodes` (r:0 w:1)
+ /// Proof: `EVM::AccountCodes` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// The range of component `b` is `[0, 80]`.
fn finish(b: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `96`
// Estimated: `3494`
- // Minimum execution time: 5_329_000 picoseconds.
- Weight::from_parts(5_677_312, 3494)
- // Standard Error: 22
- .saturating_add(Weight::from_parts(1_369, 0).saturating_mul(b.into()))
+ // Minimum execution time: 9_414_000 picoseconds.
+ Weight::from_parts(9_880_884, 3494)
+ // Standard Error: 63
+ .saturating_add(Weight::from_parts(3_067, 0).saturating_mul(b.into()))
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
}
@@ -95,69 +95,69 @@
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
- // Minimum execution time: 890_000 picoseconds.
- Weight::from_parts(1_279_871, 0)
- // Standard Error: 112
- .saturating_add(Weight::from_parts(408_968, 0).saturating_mul(b.into()))
+ // Minimum execution time: 1_983_000 picoseconds.
+ Weight::from_parts(4_354_523, 0)
+ // Standard Error: 312
+ .saturating_add(Weight::from_parts(1_329_536, 0).saturating_mul(b.into()))
}
/// The range of component `b` is `[0, 200]`.
fn insert_events(b: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
- // Minimum execution time: 896_000 picoseconds.
- Weight::from_parts(1_975_680, 0)
- // Standard Error: 117
- .saturating_add(Weight::from_parts(1_003_721, 0).saturating_mul(b.into()))
+ // Minimum execution time: 2_172_000 picoseconds.
+ Weight::from_parts(4_622_224, 0)
+ // Standard Error: 825
+ .saturating_add(Weight::from_parts(3_311_216, 0).saturating_mul(b.into()))
}
}
// For backwards compatibility and tests
impl WeightInfo for () {
- /// Storage: EvmMigration MigrationPending (r:1 w:1)
- /// Proof: EvmMigration MigrationPending (max_values: None, max_size: Some(29), added: 2504, mode: MaxEncodedLen)
- /// Storage: System Account (r:1 w:0)
- /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
- /// Storage: EVM AccountCodes (r:1 w:0)
- /// Proof Skipped: EVM AccountCodes (max_values: None, max_size: None, mode: Measured)
+ /// Storage: `EvmMigration::MigrationPending` (r:1 w:1)
+ /// Proof: `EvmMigration::MigrationPending` (`max_values`: None, `max_size`: Some(29), added: 2504, mode: `MaxEncodedLen`)
+ /// Storage: `System::Account` (r:1 w:0)
+ /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
+ /// Storage: `EVM::AccountCodes` (r:1 w:0)
+ /// Proof: `EVM::AccountCodes` (`max_values`: None, `max_size`: None, mode: `Measured`)
fn begin() -> Weight {
// Proof Size summary in bytes:
// Measured: `94`
// Estimated: `3593`
- // Minimum execution time: 6_131_000 picoseconds.
- Weight::from_parts(6_351_000, 3593)
+ // Minimum execution time: 12_866_000 picoseconds.
+ Weight::from_parts(13_129_000, 3593)
.saturating_add(RocksDbWeight::get().reads(3_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
- /// Storage: EvmMigration MigrationPending (r:1 w:0)
- /// Proof: EvmMigration MigrationPending (max_values: None, max_size: Some(29), added: 2504, mode: MaxEncodedLen)
- /// Storage: EVM AccountStorages (r:0 w:80)
- /// Proof Skipped: EVM AccountStorages (max_values: None, max_size: None, mode: Measured)
+ /// Storage: `EvmMigration::MigrationPending` (r:1 w:0)
+ /// Proof: `EvmMigration::MigrationPending` (`max_values`: None, `max_size`: Some(29), added: 2504, mode: `MaxEncodedLen`)
+ /// Storage: `EVM::AccountStorages` (r:0 w:80)
+ /// Proof: `EVM::AccountStorages` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// The range of component `b` is `[0, 80]`.
fn set_data(b: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `96`
// Estimated: `3494`
- // Minimum execution time: 4_522_000 picoseconds.
- Weight::from_parts(4_569_839, 3494)
- // Standard Error: 253
- .saturating_add(Weight::from_parts(743_780, 0).saturating_mul(b.into()))
+ // Minimum execution time: 6_855_000 picoseconds.
+ Weight::from_parts(7_515_980, 3494)
+ // Standard Error: 564
+ .saturating_add(Weight::from_parts(1_535_437, 0).saturating_mul(b.into()))
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(b.into())))
}
- /// Storage: EvmMigration MigrationPending (r:1 w:1)
- /// Proof: EvmMigration MigrationPending (max_values: None, max_size: Some(29), added: 2504, mode: MaxEncodedLen)
- /// Storage: EVM AccountCodes (r:0 w:1)
- /// Proof Skipped: EVM AccountCodes (max_values: None, max_size: None, mode: Measured)
+ /// Storage: `EvmMigration::MigrationPending` (r:1 w:1)
+ /// Proof: `EvmMigration::MigrationPending` (`max_values`: None, `max_size`: Some(29), added: 2504, mode: `MaxEncodedLen`)
+ /// Storage: `EVM::AccountCodes` (r:0 w:1)
+ /// Proof: `EVM::AccountCodes` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// The range of component `b` is `[0, 80]`.
fn finish(b: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `96`
// Estimated: `3494`
- // Minimum execution time: 5_329_000 picoseconds.
- Weight::from_parts(5_677_312, 3494)
- // Standard Error: 22
- .saturating_add(Weight::from_parts(1_369, 0).saturating_mul(b.into()))
+ // Minimum execution time: 9_414_000 picoseconds.
+ Weight::from_parts(9_880_884, 3494)
+ // Standard Error: 63
+ .saturating_add(Weight::from_parts(3_067, 0).saturating_mul(b.into()))
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(2_u64))
}
@@ -166,20 +166,20 @@
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
- // Minimum execution time: 890_000 picoseconds.
- Weight::from_parts(1_279_871, 0)
- // Standard Error: 112
- .saturating_add(Weight::from_parts(408_968, 0).saturating_mul(b.into()))
+ // Minimum execution time: 1_983_000 picoseconds.
+ Weight::from_parts(4_354_523, 0)
+ // Standard Error: 312
+ .saturating_add(Weight::from_parts(1_329_536, 0).saturating_mul(b.into()))
}
/// The range of component `b` is `[0, 200]`.
fn insert_events(b: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
- // Minimum execution time: 896_000 picoseconds.
- Weight::from_parts(1_975_680, 0)
- // Standard Error: 117
- .saturating_add(Weight::from_parts(1_003_721, 0).saturating_mul(b.into()))
+ // Minimum execution time: 2_172_000 picoseconds.
+ Weight::from_parts(4_622_224, 0)
+ // Standard Error: 825
+ .saturating_add(Weight::from_parts(3_311_216, 0).saturating_mul(b.into()))
}
}
pallets/foreign-assets/src/weights.rsdiffbeforeafterboth--- a/pallets/foreign-assets/src/weights.rs
+++ b/pallets/foreign-assets/src/weights.rs
@@ -3,13 +3,13 @@
//! Autogenerated weights for pallet_foreign_assets
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
-//! DATE: 2023-09-26, STEPS: `50`, REPEAT: `400`, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! DATE: 2023-10-13, STEPS: `50`, REPEAT: `80`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `bench-host`, CPU: `Intel(R) Core(TM) i7-8700 CPU @ 3.20GHz`
-//! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024
+//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024
// Executed Command:
-// target/production/unique-collator
+// ./target/production/unique-collator
// benchmark
// pallet
// --pallet
@@ -20,7 +20,7 @@
// *
// --template=.maintain/frame-weight-template.hbs
// --steps=50
-// --repeat=400
+// --repeat=80
// --heap-pages=4096
// --output=./pallets/foreign-assets/src/weights.rs
@@ -40,49 +40,49 @@
/// Weights for pallet_foreign_assets using the Substrate node and recommended hardware.
pub struct SubstrateWeight<T>(PhantomData<T>);
impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
- /// Storage: Common CreatedCollectionCount (r:1 w:1)
- /// Proof: Common CreatedCollectionCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
- /// Storage: Common DestroyedCollectionCount (r:1 w:0)
- /// Proof: Common DestroyedCollectionCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
- /// Storage: System Account (r:2 w:2)
- /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
- /// Storage: ForeignAssets NextForeignAssetId (r:1 w:1)
- /// Proof: ForeignAssets NextForeignAssetId (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
- /// Storage: ForeignAssets LocationToCurrencyIds (r:1 w:1)
- /// Proof: ForeignAssets LocationToCurrencyIds (max_values: None, max_size: Some(614), added: 3089, mode: MaxEncodedLen)
- /// Storage: ForeignAssets ForeignAssetLocations (r:1 w:1)
- /// Proof: ForeignAssets ForeignAssetLocations (max_values: None, max_size: Some(614), added: 3089, mode: MaxEncodedLen)
- /// Storage: ForeignAssets AssetMetadatas (r:1 w:1)
- /// Proof: ForeignAssets AssetMetadatas (max_values: None, max_size: Some(71), added: 2546, mode: MaxEncodedLen)
- /// Storage: ForeignAssets AssetBinding (r:1 w:1)
- /// Proof: ForeignAssets AssetBinding (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)
- /// Storage: Common AdminAmount (r:0 w:1)
- /// Proof: Common AdminAmount (max_values: None, max_size: Some(24), added: 2499, mode: MaxEncodedLen)
- /// Storage: Common CollectionPropertyPermissions (r:0 w:1)
- /// Proof: Common CollectionPropertyPermissions (max_values: None, max_size: Some(16726), added: 19201, mode: MaxEncodedLen)
- /// Storage: Common CollectionProperties (r:0 w:1)
- /// Proof: Common CollectionProperties (max_values: None, max_size: Some(40992), added: 43467, mode: MaxEncodedLen)
- /// Storage: Common CollectionById (r:0 w:1)
- /// Proof: Common CollectionById (max_values: None, max_size: Some(860), added: 3335, mode: MaxEncodedLen)
+ /// Storage: `Common::CreatedCollectionCount` (r:1 w:1)
+ /// Proof: `Common::CreatedCollectionCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
+ /// Storage: `Common::DestroyedCollectionCount` (r:1 w:0)
+ /// Proof: `Common::DestroyedCollectionCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
+ /// Storage: `System::Account` (r:2 w:2)
+ /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
+ /// Storage: `ForeignAssets::NextForeignAssetId` (r:1 w:1)
+ /// Proof: `ForeignAssets::NextForeignAssetId` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
+ /// Storage: `ForeignAssets::LocationToCurrencyIds` (r:1 w:1)
+ /// Proof: `ForeignAssets::LocationToCurrencyIds` (`max_values`: None, `max_size`: Some(614), added: 3089, mode: `MaxEncodedLen`)
+ /// Storage: `ForeignAssets::ForeignAssetLocations` (r:1 w:1)
+ /// Proof: `ForeignAssets::ForeignAssetLocations` (`max_values`: None, `max_size`: Some(614), added: 3089, mode: `MaxEncodedLen`)
+ /// Storage: `ForeignAssets::AssetMetadatas` (r:1 w:1)
+ /// Proof: `ForeignAssets::AssetMetadatas` (`max_values`: None, `max_size`: Some(71), added: 2546, mode: `MaxEncodedLen`)
+ /// Storage: `ForeignAssets::AssetBinding` (r:1 w:1)
+ /// Proof: `ForeignAssets::AssetBinding` (`max_values`: None, `max_size`: Some(16), added: 2491, mode: `MaxEncodedLen`)
+ /// Storage: `Common::AdminAmount` (r:0 w:1)
+ /// Proof: `Common::AdminAmount` (`max_values`: None, `max_size`: Some(24), added: 2499, mode: `MaxEncodedLen`)
+ /// Storage: `Common::CollectionPropertyPermissions` (r:0 w:1)
+ /// Proof: `Common::CollectionPropertyPermissions` (`max_values`: None, `max_size`: Some(16726), added: 19201, mode: `MaxEncodedLen`)
+ /// Storage: `Common::CollectionProperties` (r:0 w:1)
+ /// Proof: `Common::CollectionProperties` (`max_values`: None, `max_size`: Some(40992), added: 43467, mode: `MaxEncodedLen`)
+ /// Storage: `Common::CollectionById` (r:0 w:1)
+ /// Proof: `Common::CollectionById` (`max_values`: None, `max_size`: Some(860), added: 3335, mode: `MaxEncodedLen`)
fn register_foreign_asset() -> Weight {
// Proof Size summary in bytes:
// Measured: `286`
// Estimated: `6196`
- // Minimum execution time: 33_294_000 picoseconds.
- Weight::from_parts(34_011_000, 6196)
+ // Minimum execution time: 73_798_000 picoseconds.
+ Weight::from_parts(74_677_000, 6196)
.saturating_add(T::DbWeight::get().reads(9_u64))
.saturating_add(T::DbWeight::get().writes(12_u64))
}
- /// Storage: ForeignAssets ForeignAssetLocations (r:1 w:1)
- /// Proof: ForeignAssets ForeignAssetLocations (max_values: None, max_size: Some(614), added: 3089, mode: MaxEncodedLen)
- /// Storage: ForeignAssets AssetMetadatas (r:1 w:1)
- /// Proof: ForeignAssets AssetMetadatas (max_values: None, max_size: Some(71), added: 2546, mode: MaxEncodedLen)
+ /// Storage: `ForeignAssets::ForeignAssetLocations` (r:1 w:1)
+ /// Proof: `ForeignAssets::ForeignAssetLocations` (`max_values`: None, `max_size`: Some(614), added: 3089, mode: `MaxEncodedLen`)
+ /// Storage: `ForeignAssets::AssetMetadatas` (r:1 w:1)
+ /// Proof: `ForeignAssets::AssetMetadatas` (`max_values`: None, `max_size`: Some(71), added: 2546, mode: `MaxEncodedLen`)
fn update_foreign_asset() -> Weight {
// Proof Size summary in bytes:
// Measured: `197`
// Estimated: `4079`
- // Minimum execution time: 9_296_000 picoseconds.
- Weight::from_parts(9_594_000, 4079)
+ // Minimum execution time: 17_398_000 picoseconds.
+ Weight::from_parts(17_697_000, 4079)
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
}
@@ -90,49 +90,49 @@
// For backwards compatibility and tests
impl WeightInfo for () {
- /// Storage: Common CreatedCollectionCount (r:1 w:1)
- /// Proof: Common CreatedCollectionCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
- /// Storage: Common DestroyedCollectionCount (r:1 w:0)
- /// Proof: Common DestroyedCollectionCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
- /// Storage: System Account (r:2 w:2)
- /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
- /// Storage: ForeignAssets NextForeignAssetId (r:1 w:1)
- /// Proof: ForeignAssets NextForeignAssetId (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
- /// Storage: ForeignAssets LocationToCurrencyIds (r:1 w:1)
- /// Proof: ForeignAssets LocationToCurrencyIds (max_values: None, max_size: Some(614), added: 3089, mode: MaxEncodedLen)
- /// Storage: ForeignAssets ForeignAssetLocations (r:1 w:1)
- /// Proof: ForeignAssets ForeignAssetLocations (max_values: None, max_size: Some(614), added: 3089, mode: MaxEncodedLen)
- /// Storage: ForeignAssets AssetMetadatas (r:1 w:1)
- /// Proof: ForeignAssets AssetMetadatas (max_values: None, max_size: Some(71), added: 2546, mode: MaxEncodedLen)
- /// Storage: ForeignAssets AssetBinding (r:1 w:1)
- /// Proof: ForeignAssets AssetBinding (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)
- /// Storage: Common AdminAmount (r:0 w:1)
- /// Proof: Common AdminAmount (max_values: None, max_size: Some(24), added: 2499, mode: MaxEncodedLen)
- /// Storage: Common CollectionPropertyPermissions (r:0 w:1)
- /// Proof: Common CollectionPropertyPermissions (max_values: None, max_size: Some(16726), added: 19201, mode: MaxEncodedLen)
- /// Storage: Common CollectionProperties (r:0 w:1)
- /// Proof: Common CollectionProperties (max_values: None, max_size: Some(40992), added: 43467, mode: MaxEncodedLen)
- /// Storage: Common CollectionById (r:0 w:1)
- /// Proof: Common CollectionById (max_values: None, max_size: Some(860), added: 3335, mode: MaxEncodedLen)
+ /// Storage: `Common::CreatedCollectionCount` (r:1 w:1)
+ /// Proof: `Common::CreatedCollectionCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
+ /// Storage: `Common::DestroyedCollectionCount` (r:1 w:0)
+ /// Proof: `Common::DestroyedCollectionCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
+ /// Storage: `System::Account` (r:2 w:2)
+ /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
+ /// Storage: `ForeignAssets::NextForeignAssetId` (r:1 w:1)
+ /// Proof: `ForeignAssets::NextForeignAssetId` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
+ /// Storage: `ForeignAssets::LocationToCurrencyIds` (r:1 w:1)
+ /// Proof: `ForeignAssets::LocationToCurrencyIds` (`max_values`: None, `max_size`: Some(614), added: 3089, mode: `MaxEncodedLen`)
+ /// Storage: `ForeignAssets::ForeignAssetLocations` (r:1 w:1)
+ /// Proof: `ForeignAssets::ForeignAssetLocations` (`max_values`: None, `max_size`: Some(614), added: 3089, mode: `MaxEncodedLen`)
+ /// Storage: `ForeignAssets::AssetMetadatas` (r:1 w:1)
+ /// Proof: `ForeignAssets::AssetMetadatas` (`max_values`: None, `max_size`: Some(71), added: 2546, mode: `MaxEncodedLen`)
+ /// Storage: `ForeignAssets::AssetBinding` (r:1 w:1)
+ /// Proof: `ForeignAssets::AssetBinding` (`max_values`: None, `max_size`: Some(16), added: 2491, mode: `MaxEncodedLen`)
+ /// Storage: `Common::AdminAmount` (r:0 w:1)
+ /// Proof: `Common::AdminAmount` (`max_values`: None, `max_size`: Some(24), added: 2499, mode: `MaxEncodedLen`)
+ /// Storage: `Common::CollectionPropertyPermissions` (r:0 w:1)
+ /// Proof: `Common::CollectionPropertyPermissions` (`max_values`: None, `max_size`: Some(16726), added: 19201, mode: `MaxEncodedLen`)
+ /// Storage: `Common::CollectionProperties` (r:0 w:1)
+ /// Proof: `Common::CollectionProperties` (`max_values`: None, `max_size`: Some(40992), added: 43467, mode: `MaxEncodedLen`)
+ /// Storage: `Common::CollectionById` (r:0 w:1)
+ /// Proof: `Common::CollectionById` (`max_values`: None, `max_size`: Some(860), added: 3335, mode: `MaxEncodedLen`)
fn register_foreign_asset() -> Weight {
// Proof Size summary in bytes:
// Measured: `286`
// Estimated: `6196`
- // Minimum execution time: 33_294_000 picoseconds.
- Weight::from_parts(34_011_000, 6196)
+ // Minimum execution time: 73_798_000 picoseconds.
+ Weight::from_parts(74_677_000, 6196)
.saturating_add(RocksDbWeight::get().reads(9_u64))
.saturating_add(RocksDbWeight::get().writes(12_u64))
}
- /// Storage: ForeignAssets ForeignAssetLocations (r:1 w:1)
- /// Proof: ForeignAssets ForeignAssetLocations (max_values: None, max_size: Some(614), added: 3089, mode: MaxEncodedLen)
- /// Storage: ForeignAssets AssetMetadatas (r:1 w:1)
- /// Proof: ForeignAssets AssetMetadatas (max_values: None, max_size: Some(71), added: 2546, mode: MaxEncodedLen)
+ /// Storage: `ForeignAssets::ForeignAssetLocations` (r:1 w:1)
+ /// Proof: `ForeignAssets::ForeignAssetLocations` (`max_values`: None, `max_size`: Some(614), added: 3089, mode: `MaxEncodedLen`)
+ /// Storage: `ForeignAssets::AssetMetadatas` (r:1 w:1)
+ /// Proof: `ForeignAssets::AssetMetadatas` (`max_values`: None, `max_size`: Some(71), added: 2546, mode: `MaxEncodedLen`)
fn update_foreign_asset() -> Weight {
// Proof Size summary in bytes:
// Measured: `197`
// Estimated: `4079`
- // Minimum execution time: 9_296_000 picoseconds.
- Weight::from_parts(9_594_000, 4079)
+ // Minimum execution time: 17_398_000 picoseconds.
+ Weight::from_parts(17_697_000, 4079)
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(2_u64))
}
pallets/fungible/src/weights.rsdiffbeforeafterboth--- a/pallets/fungible/src/weights.rs
+++ b/pallets/fungible/src/weights.rs
@@ -3,13 +3,13 @@
//! Autogenerated weights for pallet_fungible
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
-//! DATE: 2023-09-26, STEPS: `50`, REPEAT: `400`, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! DATE: 2023-10-13, STEPS: `50`, REPEAT: `80`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `bench-host`, CPU: `Intel(R) Core(TM) i7-8700 CPU @ 3.20GHz`
-//! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024
+//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024
// Executed Command:
-// target/production/unique-collator
+// ./target/production/unique-collator
// benchmark
// pallet
// --pallet
@@ -20,7 +20,7 @@
// *
// --template=.maintain/frame-weight-template.hbs
// --steps=50
-// --repeat=400
+// --repeat=80
// --heap-pages=4096
// --output=./pallets/fungible/src/weights.rs
@@ -47,120 +47,120 @@
/// Weights for pallet_fungible using the Substrate node and recommended hardware.
pub struct SubstrateWeight<T>(PhantomData<T>);
impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
- /// Storage: Fungible TotalSupply (r:1 w:1)
- /// Proof: Fungible TotalSupply (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen)
- /// Storage: Fungible Balance (r:1 w:1)
- /// Proof: Fungible Balance (max_values: None, max_size: Some(77), added: 2552, mode: MaxEncodedLen)
+ /// Storage: `Fungible::TotalSupply` (r:1 w:1)
+ /// Proof: `Fungible::TotalSupply` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`)
+ /// Storage: `Fungible::Balance` (r:1 w:1)
+ /// Proof: `Fungible::Balance` (`max_values`: None, `max_size`: Some(77), added: 2552, mode: `MaxEncodedLen`)
fn create_item() -> Weight {
// Proof Size summary in bytes:
// Measured: `42`
// Estimated: `3542`
- // Minimum execution time: 7_228_000 picoseconds.
- Weight::from_parts(7_472_000, 3542)
+ // Minimum execution time: 16_400_000 picoseconds.
+ Weight::from_parts(16_766_000, 3542)
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
}
- /// Storage: Fungible TotalSupply (r:1 w:1)
- /// Proof: Fungible TotalSupply (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen)
- /// Storage: Fungible Balance (r:200 w:200)
- /// Proof: Fungible Balance (max_values: None, max_size: Some(77), added: 2552, mode: MaxEncodedLen)
+ /// Storage: `Fungible::TotalSupply` (r:1 w:1)
+ /// Proof: `Fungible::TotalSupply` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`)
+ /// Storage: `Fungible::Balance` (r:200 w:200)
+ /// Proof: `Fungible::Balance` (`max_values`: None, `max_size`: Some(77), added: 2552, mode: `MaxEncodedLen`)
/// The range of component `b` is `[0, 200]`.
fn create_multiple_items_ex(b: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `42`
// Estimated: `3493 + b * (2552 ±0)`
- // Minimum execution time: 2_398_000 picoseconds.
- Weight::from_parts(4_432_908, 3493)
- // Standard Error: 263
- .saturating_add(Weight::from_parts(2_617_422, 0).saturating_mul(b.into()))
+ // Minimum execution time: 4_433_000 picoseconds.
+ Weight::from_parts(8_081_231, 3493)
+ // Standard Error: 1_938
+ .saturating_add(Weight::from_parts(8_035_527, 0).saturating_mul(b.into()))
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(b.into())))
.saturating_add(T::DbWeight::get().writes(1_u64))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(b.into())))
.saturating_add(Weight::from_parts(0, 2552).saturating_mul(b.into()))
}
- /// Storage: Fungible TotalSupply (r:1 w:1)
- /// Proof: Fungible TotalSupply (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen)
- /// Storage: Fungible Balance (r:1 w:1)
- /// Proof: Fungible Balance (max_values: None, max_size: Some(77), added: 2552, mode: MaxEncodedLen)
+ /// Storage: `Fungible::TotalSupply` (r:1 w:1)
+ /// Proof: `Fungible::TotalSupply` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`)
+ /// Storage: `Fungible::Balance` (r:1 w:1)
+ /// Proof: `Fungible::Balance` (`max_values`: None, `max_size`: Some(77), added: 2552, mode: `MaxEncodedLen`)
fn burn_item() -> Weight {
// Proof Size summary in bytes:
// Measured: `197`
// Estimated: `3542`
- // Minimum execution time: 9_444_000 picoseconds.
- Weight::from_parts(9_742_000, 3542)
+ // Minimum execution time: 18_076_000 picoseconds.
+ Weight::from_parts(18_369_000, 3542)
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
}
- /// Storage: Fungible Balance (r:2 w:2)
- /// Proof: Fungible Balance (max_values: None, max_size: Some(77), added: 2552, mode: MaxEncodedLen)
+ /// Storage: `Fungible::Balance` (r:2 w:2)
+ /// Proof: `Fungible::Balance` (`max_values`: None, `max_size`: Some(77), added: 2552, mode: `MaxEncodedLen`)
fn transfer_raw() -> Weight {
// Proof Size summary in bytes:
// Measured: `182`
// Estimated: `6094`
- // Minimum execution time: 9_553_000 picoseconds.
- Weight::from_parts(9_852_000, 6094)
+ // Minimum execution time: 20_068_000 picoseconds.
+ Weight::from_parts(20_417_000, 6094)
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
}
- /// Storage: Fungible Balance (r:1 w:0)
- /// Proof: Fungible Balance (max_values: None, max_size: Some(77), added: 2552, mode: MaxEncodedLen)
- /// Storage: Fungible Allowance (r:0 w:1)
- /// Proof: Fungible Allowance (max_values: None, max_size: Some(93), added: 2568, mode: MaxEncodedLen)
+ /// Storage: `Fungible::Balance` (r:1 w:0)
+ /// Proof: `Fungible::Balance` (`max_values`: None, `max_size`: Some(77), added: 2552, mode: `MaxEncodedLen`)
+ /// Storage: `Fungible::Allowance` (r:0 w:1)
+ /// Proof: `Fungible::Allowance` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `MaxEncodedLen`)
fn approve() -> Weight {
// Proof Size summary in bytes:
// Measured: `182`
// Estimated: `3542`
- // Minimum execution time: 8_435_000 picoseconds.
- Weight::from_parts(8_714_000, 3542)
+ // Minimum execution time: 16_407_000 picoseconds.
+ Weight::from_parts(16_695_000, 3542)
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
- /// Storage: Fungible Balance (r:1 w:0)
- /// Proof: Fungible Balance (max_values: None, max_size: Some(77), added: 2552, mode: MaxEncodedLen)
- /// Storage: Fungible Allowance (r:0 w:1)
- /// Proof: Fungible Allowance (max_values: None, max_size: Some(93), added: 2568, mode: MaxEncodedLen)
+ /// Storage: `Fungible::Balance` (r:1 w:0)
+ /// Proof: `Fungible::Balance` (`max_values`: None, `max_size`: Some(77), added: 2552, mode: `MaxEncodedLen`)
+ /// Storage: `Fungible::Allowance` (r:0 w:1)
+ /// Proof: `Fungible::Allowance` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `MaxEncodedLen`)
fn approve_from() -> Weight {
// Proof Size summary in bytes:
// Measured: `170`
// Estimated: `3542`
- // Minimum execution time: 8_475_000 picoseconds.
- Weight::from_parts(8_735_000, 3542)
+ // Minimum execution time: 16_794_000 picoseconds.
+ Weight::from_parts(17_217_000, 3542)
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
- /// Storage: Fungible Allowance (r:1 w:0)
- /// Proof: Fungible Allowance (max_values: None, max_size: Some(93), added: 2568, mode: MaxEncodedLen)
+ /// Storage: `Fungible::Allowance` (r:1 w:0)
+ /// Proof: `Fungible::Allowance` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `MaxEncodedLen`)
fn check_allowed_raw() -> Weight {
// Proof Size summary in bytes:
// Measured: `210`
// Estimated: `3558`
- // Minimum execution time: 4_426_000 picoseconds.
- Weight::from_parts(4_604_000, 3558)
+ // Minimum execution time: 6_608_000 picoseconds.
+ Weight::from_parts(6_770_000, 3558)
.saturating_add(T::DbWeight::get().reads(1_u64))
}
- /// Storage: Fungible Allowance (r:0 w:1)
- /// Proof: Fungible Allowance (max_values: None, max_size: Some(93), added: 2568, mode: MaxEncodedLen)
+ /// Storage: `Fungible::Allowance` (r:0 w:1)
+ /// Proof: `Fungible::Allowance` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `MaxEncodedLen`)
fn set_allowance_unchecked_raw() -> Weight {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
- // Minimum execution time: 4_130_000 picoseconds.
- Weight::from_parts(4_275_000, 0)
+ // Minimum execution time: 10_426_000 picoseconds.
+ Weight::from_parts(10_666_000, 0)
.saturating_add(T::DbWeight::get().writes(1_u64))
}
- /// Storage: Fungible Allowance (r:1 w:1)
- /// Proof: Fungible Allowance (max_values: None, max_size: Some(93), added: 2568, mode: MaxEncodedLen)
- /// Storage: Fungible TotalSupply (r:1 w:1)
- /// Proof: Fungible TotalSupply (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen)
- /// Storage: Fungible Balance (r:1 w:1)
- /// Proof: Fungible Balance (max_values: None, max_size: Some(77), added: 2552, mode: MaxEncodedLen)
+ /// Storage: `Fungible::Allowance` (r:1 w:1)
+ /// Proof: `Fungible::Allowance` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `MaxEncodedLen`)
+ /// Storage: `Fungible::TotalSupply` (r:1 w:1)
+ /// Proof: `Fungible::TotalSupply` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`)
+ /// Storage: `Fungible::Balance` (r:1 w:1)
+ /// Proof: `Fungible::Balance` (`max_values`: None, `max_size`: Some(77), added: 2552, mode: `MaxEncodedLen`)
fn burn_from() -> Weight {
// Proof Size summary in bytes:
// Measured: `315`
// Estimated: `3558`
- // Minimum execution time: 14_878_000 picoseconds.
- Weight::from_parts(15_263_000, 3558)
+ // Minimum execution time: 30_352_000 picoseconds.
+ Weight::from_parts(30_909_000, 3558)
.saturating_add(T::DbWeight::get().reads(3_u64))
.saturating_add(T::DbWeight::get().writes(3_u64))
}
@@ -168,120 +168,120 @@
// For backwards compatibility and tests
impl WeightInfo for () {
- /// Storage: Fungible TotalSupply (r:1 w:1)
- /// Proof: Fungible TotalSupply (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen)
- /// Storage: Fungible Balance (r:1 w:1)
- /// Proof: Fungible Balance (max_values: None, max_size: Some(77), added: 2552, mode: MaxEncodedLen)
+ /// Storage: `Fungible::TotalSupply` (r:1 w:1)
+ /// Proof: `Fungible::TotalSupply` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`)
+ /// Storage: `Fungible::Balance` (r:1 w:1)
+ /// Proof: `Fungible::Balance` (`max_values`: None, `max_size`: Some(77), added: 2552, mode: `MaxEncodedLen`)
fn create_item() -> Weight {
// Proof Size summary in bytes:
// Measured: `42`
// Estimated: `3542`
- // Minimum execution time: 7_228_000 picoseconds.
- Weight::from_parts(7_472_000, 3542)
+ // Minimum execution time: 16_400_000 picoseconds.
+ Weight::from_parts(16_766_000, 3542)
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(2_u64))
}
- /// Storage: Fungible TotalSupply (r:1 w:1)
- /// Proof: Fungible TotalSupply (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen)
- /// Storage: Fungible Balance (r:200 w:200)
- /// Proof: Fungible Balance (max_values: None, max_size: Some(77), added: 2552, mode: MaxEncodedLen)
+ /// Storage: `Fungible::TotalSupply` (r:1 w:1)
+ /// Proof: `Fungible::TotalSupply` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`)
+ /// Storage: `Fungible::Balance` (r:200 w:200)
+ /// Proof: `Fungible::Balance` (`max_values`: None, `max_size`: Some(77), added: 2552, mode: `MaxEncodedLen`)
/// The range of component `b` is `[0, 200]`.
fn create_multiple_items_ex(b: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `42`
// Estimated: `3493 + b * (2552 ±0)`
- // Minimum execution time: 2_398_000 picoseconds.
- Weight::from_parts(4_432_908, 3493)
- // Standard Error: 263
- .saturating_add(Weight::from_parts(2_617_422, 0).saturating_mul(b.into()))
+ // Minimum execution time: 4_433_000 picoseconds.
+ Weight::from_parts(8_081_231, 3493)
+ // Standard Error: 1_938
+ .saturating_add(Weight::from_parts(8_035_527, 0).saturating_mul(b.into()))
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(b.into())))
.saturating_add(RocksDbWeight::get().writes(1_u64))
.saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(b.into())))
.saturating_add(Weight::from_parts(0, 2552).saturating_mul(b.into()))
}
- /// Storage: Fungible TotalSupply (r:1 w:1)
- /// Proof: Fungible TotalSupply (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen)
- /// Storage: Fungible Balance (r:1 w:1)
- /// Proof: Fungible Balance (max_values: None, max_size: Some(77), added: 2552, mode: MaxEncodedLen)
+ /// Storage: `Fungible::TotalSupply` (r:1 w:1)
+ /// Proof: `Fungible::TotalSupply` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`)
+ /// Storage: `Fungible::Balance` (r:1 w:1)
+ /// Proof: `Fungible::Balance` (`max_values`: None, `max_size`: Some(77), added: 2552, mode: `MaxEncodedLen`)
fn burn_item() -> Weight {
// Proof Size summary in bytes:
// Measured: `197`
// Estimated: `3542`
- // Minimum execution time: 9_444_000 picoseconds.
- Weight::from_parts(9_742_000, 3542)
+ // Minimum execution time: 18_076_000 picoseconds.
+ Weight::from_parts(18_369_000, 3542)
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(2_u64))
}
- /// Storage: Fungible Balance (r:2 w:2)
- /// Proof: Fungible Balance (max_values: None, max_size: Some(77), added: 2552, mode: MaxEncodedLen)
+ /// Storage: `Fungible::Balance` (r:2 w:2)
+ /// Proof: `Fungible::Balance` (`max_values`: None, `max_size`: Some(77), added: 2552, mode: `MaxEncodedLen`)
fn transfer_raw() -> Weight {
// Proof Size summary in bytes:
// Measured: `182`
// Estimated: `6094`
- // Minimum execution time: 9_553_000 picoseconds.
- Weight::from_parts(9_852_000, 6094)
+ // Minimum execution time: 20_068_000 picoseconds.
+ Weight::from_parts(20_417_000, 6094)
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(2_u64))
}
- /// Storage: Fungible Balance (r:1 w:0)
- /// Proof: Fungible Balance (max_values: None, max_size: Some(77), added: 2552, mode: MaxEncodedLen)
- /// Storage: Fungible Allowance (r:0 w:1)
- /// Proof: Fungible Allowance (max_values: None, max_size: Some(93), added: 2568, mode: MaxEncodedLen)
+ /// Storage: `Fungible::Balance` (r:1 w:0)
+ /// Proof: `Fungible::Balance` (`max_values`: None, `max_size`: Some(77), added: 2552, mode: `MaxEncodedLen`)
+ /// Storage: `Fungible::Allowance` (r:0 w:1)
+ /// Proof: `Fungible::Allowance` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `MaxEncodedLen`)
fn approve() -> Weight {
// Proof Size summary in bytes:
// Measured: `182`
// Estimated: `3542`
- // Minimum execution time: 8_435_000 picoseconds.
- Weight::from_parts(8_714_000, 3542)
+ // Minimum execution time: 16_407_000 picoseconds.
+ Weight::from_parts(16_695_000, 3542)
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
- /// Storage: Fungible Balance (r:1 w:0)
- /// Proof: Fungible Balance (max_values: None, max_size: Some(77), added: 2552, mode: MaxEncodedLen)
- /// Storage: Fungible Allowance (r:0 w:1)
- /// Proof: Fungible Allowance (max_values: None, max_size: Some(93), added: 2568, mode: MaxEncodedLen)
+ /// Storage: `Fungible::Balance` (r:1 w:0)
+ /// Proof: `Fungible::Balance` (`max_values`: None, `max_size`: Some(77), added: 2552, mode: `MaxEncodedLen`)
+ /// Storage: `Fungible::Allowance` (r:0 w:1)
+ /// Proof: `Fungible::Allowance` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `MaxEncodedLen`)
fn approve_from() -> Weight {
// Proof Size summary in bytes:
// Measured: `170`
// Estimated: `3542`
- // Minimum execution time: 8_475_000 picoseconds.
- Weight::from_parts(8_735_000, 3542)
+ // Minimum execution time: 16_794_000 picoseconds.
+ Weight::from_parts(17_217_000, 3542)
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
- /// Storage: Fungible Allowance (r:1 w:0)
- /// Proof: Fungible Allowance (max_values: None, max_size: Some(93), added: 2568, mode: MaxEncodedLen)
+ /// Storage: `Fungible::Allowance` (r:1 w:0)
+ /// Proof: `Fungible::Allowance` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `MaxEncodedLen`)
fn check_allowed_raw() -> Weight {
// Proof Size summary in bytes:
// Measured: `210`
// Estimated: `3558`
- // Minimum execution time: 4_426_000 picoseconds.
- Weight::from_parts(4_604_000, 3558)
+ // Minimum execution time: 6_608_000 picoseconds.
+ Weight::from_parts(6_770_000, 3558)
.saturating_add(RocksDbWeight::get().reads(1_u64))
}
- /// Storage: Fungible Allowance (r:0 w:1)
- /// Proof: Fungible Allowance (max_values: None, max_size: Some(93), added: 2568, mode: MaxEncodedLen)
+ /// Storage: `Fungible::Allowance` (r:0 w:1)
+ /// Proof: `Fungible::Allowance` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `MaxEncodedLen`)
fn set_allowance_unchecked_raw() -> Weight {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
- // Minimum execution time: 4_130_000 picoseconds.
- Weight::from_parts(4_275_000, 0)
+ // Minimum execution time: 10_426_000 picoseconds.
+ Weight::from_parts(10_666_000, 0)
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
- /// Storage: Fungible Allowance (r:1 w:1)
- /// Proof: Fungible Allowance (max_values: None, max_size: Some(93), added: 2568, mode: MaxEncodedLen)
- /// Storage: Fungible TotalSupply (r:1 w:1)
- /// Proof: Fungible TotalSupply (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen)
- /// Storage: Fungible Balance (r:1 w:1)
- /// Proof: Fungible Balance (max_values: None, max_size: Some(77), added: 2552, mode: MaxEncodedLen)
+ /// Storage: `Fungible::Allowance` (r:1 w:1)
+ /// Proof: `Fungible::Allowance` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `MaxEncodedLen`)
+ /// Storage: `Fungible::TotalSupply` (r:1 w:1)
+ /// Proof: `Fungible::TotalSupply` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`)
+ /// Storage: `Fungible::Balance` (r:1 w:1)
+ /// Proof: `Fungible::Balance` (`max_values`: None, `max_size`: Some(77), added: 2552, mode: `MaxEncodedLen`)
fn burn_from() -> Weight {
// Proof Size summary in bytes:
// Measured: `315`
// Estimated: `3558`
- // Minimum execution time: 14_878_000 picoseconds.
- Weight::from_parts(15_263_000, 3558)
+ // Minimum execution time: 30_352_000 picoseconds.
+ Weight::from_parts(30_909_000, 3558)
.saturating_add(RocksDbWeight::get().reads(3_u64))
.saturating_add(RocksDbWeight::get().writes(3_u64))
}
pallets/identity/src/weights.rsdiffbeforeafterboth--- a/pallets/identity/src/weights.rs
+++ b/pallets/identity/src/weights.rs
@@ -3,13 +3,13 @@
//! Autogenerated weights for pallet_identity
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
-//! DATE: 2023-09-27, STEPS: `50`, REPEAT: `400`, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! DATE: 2023-10-13, STEPS: `50`, REPEAT: `80`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `bench-host`, CPU: `Intel(R) Core(TM) i7-8700 CPU @ 3.20GHz`
-//! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024
+//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024
// Executed Command:
-// target/production/unique-collator
+// ./target/production/unique-collator
// benchmark
// pallet
// --pallet
@@ -20,7 +20,7 @@
// *
// --template=.maintain/frame-weight-template.hbs
// --steps=50
-// --repeat=400
+// --repeat=80
// --heap-pages=4096
// --output=./pallets/identity/src/weights.rs
@@ -34,7 +34,7 @@
/// Weight functions needed for pallet_identity.
pub trait WeightInfo {
fn add_registrar(r: u32, ) -> Weight;
- fn set_identity(r: u32, x: u32, ) -> Weight;
+ fn set_identity(x: u32, r: u32, ) -> Weight;
fn set_subs_new(s: u32, ) -> Weight;
fn set_subs_old(p: u32, ) -> Weight;
fn clear_identity(r: u32, s: u32, x: u32, ) -> Weight;
@@ -57,83 +57,83 @@
/// Weights for pallet_identity using the Substrate node and recommended hardware.
pub struct SubstrateWeight<T>(PhantomData<T>);
impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
- /// Storage: Identity Registrars (r:1 w:1)
- /// Proof: Identity Registrars (max_values: Some(1), max_size: Some(1141), added: 1636, mode: MaxEncodedLen)
- /// The range of component `r` is `[1, 19]`.
+ /// Storage: `Identity::Registrars` (r:1 w:1)
+ /// Proof: `Identity::Registrars` (`max_values`: Some(1), `max_size`: Some(1141), added: 1636, mode: `MaxEncodedLen`)
+ /// The range of component `r` is `[2, 20]`.
fn add_registrar(r: u32, ) -> Weight {
// Proof Size summary in bytes:
- // Measured: `31 + r * (57 ±0)`
+ // Measured: `0 + r * (57 ±0)`
// Estimated: `2626`
- // Minimum execution time: 6_759_000 picoseconds.
- Weight::from_parts(7_254_560, 2626)
- // Standard Error: 231
- .saturating_add(Weight::from_parts(64_513, 0).saturating_mul(r.into()))
+ // Minimum execution time: 11_751_000 picoseconds.
+ Weight::from_parts(12_271_559, 2626)
+ // Standard Error: 696
+ .saturating_add(Weight::from_parts(85_076, 0).saturating_mul(r.into()))
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
- /// Storage: Identity IdentityOf (r:1 w:1)
- /// Proof: Identity IdentityOf (max_values: None, max_size: Some(7538), added: 10013, mode: MaxEncodedLen)
+ /// Storage: `Identity::IdentityOf` (r:1 w:1)
+ /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7538), added: 10013, mode: `MaxEncodedLen`)
+ /// The range of component `x` is `[0, 100]`.
/// The range of component `r` is `[1, 20]`.
- /// The range of component `x` is `[0, 100]`.
- fn set_identity(r: u32, x: u32, ) -> Weight {
+ fn set_identity(x: u32, r: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `441 + r * (5 ±0)`
// Estimated: `11003`
- // Minimum execution time: 14_134_000 picoseconds.
- Weight::from_parts(12_591_985, 11003)
- // Standard Error: 562
- .saturating_add(Weight::from_parts(77_682, 0).saturating_mul(r.into()))
- // Standard Error: 109
- .saturating_add(Weight::from_parts(96_303, 0).saturating_mul(x.into()))
+ // Minimum execution time: 30_152_000 picoseconds.
+ Weight::from_parts(28_934_480, 11003)
+ // Standard Error: 131
+ .saturating_add(Weight::from_parts(407_556, 0).saturating_mul(x.into()))
+ // Standard Error: 672
+ .saturating_add(Weight::from_parts(82_838, 0).saturating_mul(r.into()))
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
- /// Storage: Identity IdentityOf (r:1 w:0)
- /// Proof: Identity IdentityOf (max_values: None, max_size: Some(7538), added: 10013, mode: MaxEncodedLen)
- /// Storage: Identity SubsOf (r:1 w:1)
- /// Proof: Identity SubsOf (max_values: None, max_size: Some(3258), added: 5733, mode: MaxEncodedLen)
- /// Storage: Identity SuperOf (r:100 w:100)
- /// Proof: Identity SuperOf (max_values: None, max_size: Some(114), added: 2589, mode: MaxEncodedLen)
+ /// Storage: `Identity::IdentityOf` (r:1 w:0)
+ /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7538), added: 10013, mode: `MaxEncodedLen`)
+ /// Storage: `Identity::SubsOf` (r:1 w:1)
+ /// Proof: `Identity::SubsOf` (`max_values`: None, `max_size`: Some(3258), added: 5733, mode: `MaxEncodedLen`)
+ /// Storage: `Identity::SuperOf` (r:100 w:100)
+ /// Proof: `Identity::SuperOf` (`max_values`: None, `max_size`: Some(114), added: 2589, mode: `MaxEncodedLen`)
/// The range of component `s` is `[0, 100]`.
fn set_subs_new(s: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `100`
// Estimated: `11003 + s * (2589 ±0)`
- // Minimum execution time: 4_763_000 picoseconds.
- Weight::from_parts(11_344_974, 11003)
- // Standard Error: 401
- .saturating_add(Weight::from_parts(1_141_028, 0).saturating_mul(s.into()))
+ // Minimum execution time: 8_680_000 picoseconds.
+ Weight::from_parts(23_228_498, 11003)
+ // Standard Error: 1_817
+ .saturating_add(Weight::from_parts(2_512_779, 0).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(s.into())))
.saturating_add(T::DbWeight::get().writes(1_u64))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(s.into())))
.saturating_add(Weight::from_parts(0, 2589).saturating_mul(s.into()))
}
- /// Storage: Identity IdentityOf (r:1 w:0)
- /// Proof: Identity IdentityOf (max_values: None, max_size: Some(7538), added: 10013, mode: MaxEncodedLen)
- /// Storage: Identity SubsOf (r:1 w:1)
- /// Proof: Identity SubsOf (max_values: None, max_size: Some(3258), added: 5733, mode: MaxEncodedLen)
- /// Storage: Identity SuperOf (r:0 w:100)
- /// Proof: Identity SuperOf (max_values: None, max_size: Some(114), added: 2589, mode: MaxEncodedLen)
+ /// Storage: `Identity::IdentityOf` (r:1 w:0)
+ /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7538), added: 10013, mode: `MaxEncodedLen`)
+ /// Storage: `Identity::SubsOf` (r:1 w:1)
+ /// Proof: `Identity::SubsOf` (`max_values`: None, `max_size`: Some(3258), added: 5733, mode: `MaxEncodedLen`)
+ /// Storage: `Identity::SuperOf` (r:0 w:100)
+ /// Proof: `Identity::SuperOf` (`max_values`: None, `max_size`: Some(114), added: 2589, mode: `MaxEncodedLen`)
/// The range of component `p` is `[0, 100]`.
fn set_subs_old(p: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `193 + p * (32 ±0)`
// Estimated: `11003`
- // Minimum execution time: 4_783_000 picoseconds.
- Weight::from_parts(11_531_027, 11003)
- // Standard Error: 369
- .saturating_add(Weight::from_parts(542_102, 0).saturating_mul(p.into()))
+ // Minimum execution time: 8_493_000 picoseconds.
+ Weight::from_parts(23_032_063, 11003)
+ // Standard Error: 1_672
+ .saturating_add(Weight::from_parts(1_039_127, 0).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(p.into())))
}
- /// Storage: Identity SubsOf (r:1 w:1)
- /// Proof: Identity SubsOf (max_values: None, max_size: Some(3258), added: 5733, mode: MaxEncodedLen)
- /// Storage: Identity IdentityOf (r:1 w:1)
- /// Proof: Identity IdentityOf (max_values: None, max_size: Some(7538), added: 10013, mode: MaxEncodedLen)
- /// Storage: Identity SuperOf (r:0 w:100)
- /// Proof: Identity SuperOf (max_values: None, max_size: Some(114), added: 2589, mode: MaxEncodedLen)
+ /// Storage: `Identity::SubsOf` (r:1 w:1)
+ /// Proof: `Identity::SubsOf` (`max_values`: None, `max_size`: Some(3258), added: 5733, mode: `MaxEncodedLen`)
+ /// Storage: `Identity::IdentityOf` (r:1 w:1)
+ /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7538), added: 10013, mode: `MaxEncodedLen`)
+ /// Storage: `Identity::SuperOf` (r:0 w:100)
+ /// Proof: `Identity::SuperOf` (`max_values`: None, `max_size`: Some(114), added: 2589, mode: `MaxEncodedLen`)
/// The range of component `r` is `[1, 20]`.
/// The range of component `s` is `[0, 100]`.
/// The range of component `x` is `[0, 100]`.
@@ -141,123 +141,123 @@
// Proof Size summary in bytes:
// Measured: `468 + r * (5 ±0) + s * (32 ±0) + x * (66 ±0)`
// Estimated: `11003`
- // Minimum execution time: 23_175_000 picoseconds.
- Weight::from_parts(16_503_215, 11003)
- // Standard Error: 625
- .saturating_add(Weight::from_parts(1_175, 0).saturating_mul(r.into()))
- // Standard Error: 122
- .saturating_add(Weight::from_parts(533_184, 0).saturating_mul(s.into()))
- // Standard Error: 122
- .saturating_add(Weight::from_parts(94_600, 0).saturating_mul(x.into()))
+ // Minimum execution time: 50_797_000 picoseconds.
+ Weight::from_parts(31_070_475, 11003)
+ // Standard Error: 1_513
+ .saturating_add(Weight::from_parts(35_164, 0).saturating_mul(r.into()))
+ // Standard Error: 295
+ .saturating_add(Weight::from_parts(1_030_210, 0).saturating_mul(s.into()))
+ // Standard Error: 295
+ .saturating_add(Weight::from_parts(219_795, 0).saturating_mul(x.into()))
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(s.into())))
}
- /// Storage: Identity Registrars (r:1 w:0)
- /// Proof: Identity Registrars (max_values: Some(1), max_size: Some(1141), added: 1636, mode: MaxEncodedLen)
- /// Storage: Identity IdentityOf (r:1 w:1)
- /// Proof: Identity IdentityOf (max_values: None, max_size: Some(7538), added: 10013, mode: MaxEncodedLen)
+ /// Storage: `Identity::Registrars` (r:1 w:0)
+ /// Proof: `Identity::Registrars` (`max_values`: Some(1), `max_size`: Some(1141), added: 1636, mode: `MaxEncodedLen`)
+ /// Storage: `Identity::IdentityOf` (r:1 w:1)
+ /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7538), added: 10013, mode: `MaxEncodedLen`)
/// The range of component `r` is `[1, 20]`.
/// The range of component `x` is `[0, 100]`.
fn request_judgement(r: u32, x: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `366 + r * (57 ±0) + x * (66 ±0)`
// Estimated: `11003`
- // Minimum execution time: 15_322_000 picoseconds.
- Weight::from_parts(13_671_670, 11003)
- // Standard Error: 722
- .saturating_add(Weight::from_parts(73_665, 0).saturating_mul(r.into()))
- // Standard Error: 140
- .saturating_add(Weight::from_parts(124_598, 0).saturating_mul(x.into()))
+ // Minimum execution time: 30_925_000 picoseconds.
+ Weight::from_parts(29_686_659, 11003)
+ // Standard Error: 887
+ .saturating_add(Weight::from_parts(92_175, 0).saturating_mul(r.into()))
+ // Standard Error: 173
+ .saturating_add(Weight::from_parts(421_779, 0).saturating_mul(x.into()))
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
- /// Storage: Identity IdentityOf (r:1 w:1)
- /// Proof: Identity IdentityOf (max_values: None, max_size: Some(7538), added: 10013, mode: MaxEncodedLen)
+ /// Storage: `Identity::IdentityOf` (r:1 w:1)
+ /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7538), added: 10013, mode: `MaxEncodedLen`)
/// The range of component `r` is `[1, 20]`.
/// The range of component `x` is `[0, 100]`.
fn cancel_request(r: u32, x: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `397 + x * (66 ±0)`
// Estimated: `11003`
- // Minimum execution time: 13_268_000 picoseconds.
- Weight::from_parts(12_489_352, 11003)
- // Standard Error: 544
- .saturating_add(Weight::from_parts(35_424, 0).saturating_mul(r.into()))
- // Standard Error: 106
- .saturating_add(Weight::from_parts(123_149, 0).saturating_mul(x.into()))
+ // Minimum execution time: 27_705_000 picoseconds.
+ Weight::from_parts(27_264_552, 11003)
+ // Standard Error: 791
+ .saturating_add(Weight::from_parts(63_003, 0).saturating_mul(r.into()))
+ // Standard Error: 154
+ .saturating_add(Weight::from_parts(417_161, 0).saturating_mul(x.into()))
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
- /// Storage: Identity Registrars (r:1 w:1)
- /// Proof: Identity Registrars (max_values: Some(1), max_size: Some(1141), added: 1636, mode: MaxEncodedLen)
- /// The range of component `r` is `[1, 19]`.
+ /// Storage: `Identity::Registrars` (r:1 w:1)
+ /// Proof: `Identity::Registrars` (`max_values`: Some(1), `max_size`: Some(1141), added: 1636, mode: `MaxEncodedLen`)
+ /// The range of component `r` is `[2, 20]`.
fn set_fee(r: u32, ) -> Weight {
// Proof Size summary in bytes:
- // Measured: `88 + r * (57 ±0)`
+ // Measured: `31 + r * (57 ±0)`
// Estimated: `2626`
- // Minimum execution time: 4_845_000 picoseconds.
- Weight::from_parts(5_147_478, 2626)
- // Standard Error: 169
- .saturating_add(Weight::from_parts(55_561, 0).saturating_mul(r.into()))
+ // Minimum execution time: 7_587_000 picoseconds.
+ Weight::from_parts(7_938_817, 2626)
+ // Standard Error: 494
+ .saturating_add(Weight::from_parts(67_900, 0).saturating_mul(r.into()))
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
- /// Storage: Identity Registrars (r:1 w:1)
- /// Proof: Identity Registrars (max_values: Some(1), max_size: Some(1141), added: 1636, mode: MaxEncodedLen)
- /// The range of component `r` is `[1, 19]`.
+ /// Storage: `Identity::Registrars` (r:1 w:1)
+ /// Proof: `Identity::Registrars` (`max_values`: Some(1), `max_size`: Some(1141), added: 1636, mode: `MaxEncodedLen`)
+ /// The range of component `r` is `[2, 20]`.
fn set_account_id(r: u32, ) -> Weight {
// Proof Size summary in bytes:
- // Measured: `88 + r * (57 ±0)`
+ // Measured: `31 + r * (57 ±0)`
// Estimated: `2626`
- // Minimum execution time: 4_191_000 picoseconds.
- Weight::from_parts(4_478_351, 2626)
- // Standard Error: 138
- .saturating_add(Weight::from_parts(53_627, 0).saturating_mul(r.into()))
+ // Minimum execution time: 6_558_000 picoseconds.
+ Weight::from_parts(6_973_093, 2626)
+ // Standard Error: 398
+ .saturating_add(Weight::from_parts(63_901, 0).saturating_mul(r.into()))
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
- /// Storage: Identity Registrars (r:1 w:1)
- /// Proof: Identity Registrars (max_values: Some(1), max_size: Some(1141), added: 1636, mode: MaxEncodedLen)
- /// The range of component `r` is `[1, 19]`.
+ /// Storage: `Identity::Registrars` (r:1 w:1)
+ /// Proof: `Identity::Registrars` (`max_values`: Some(1), `max_size`: Some(1141), added: 1636, mode: `MaxEncodedLen`)
+ /// The range of component `r` is `[2, 20]`.
fn set_fields(r: u32, ) -> Weight {
// Proof Size summary in bytes:
- // Measured: `88 + r * (57 ±0)`
+ // Measured: `31 + r * (57 ±0)`
// Estimated: `2626`
- // Minimum execution time: 4_003_000 picoseconds.
- Weight::from_parts(4_303_365, 2626)
- // Standard Error: 147
- .saturating_add(Weight::from_parts(52_472, 0).saturating_mul(r.into()))
+ // Minimum execution time: 6_666_000 picoseconds.
+ Weight::from_parts(7_050_744, 2626)
+ // Standard Error: 409
+ .saturating_add(Weight::from_parts(61_617, 0).saturating_mul(r.into()))
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
- /// Storage: Identity Registrars (r:1 w:0)
- /// Proof: Identity Registrars (max_values: Some(1), max_size: Some(1141), added: 1636, mode: MaxEncodedLen)
- /// Storage: Identity IdentityOf (r:1 w:1)
- /// Proof: Identity IdentityOf (max_values: None, max_size: Some(7538), added: 10013, mode: MaxEncodedLen)
- /// The range of component `r` is `[1, 19]`.
+ /// Storage: `Identity::Registrars` (r:1 w:0)
+ /// Proof: `Identity::Registrars` (`max_values`: Some(1), `max_size`: Some(1141), added: 1636, mode: `MaxEncodedLen`)
+ /// Storage: `Identity::IdentityOf` (r:1 w:1)
+ /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7538), added: 10013, mode: `MaxEncodedLen`)
+ /// The range of component `r` is `[2, 20]`.
/// The range of component `x` is `[0, 100]`.
fn provide_judgement(r: u32, x: u32, ) -> Weight {
// Proof Size summary in bytes:
- // Measured: `444 + r * (57 ±0) + x * (66 ±0)`
+ // Measured: `387 + r * (57 ±0) + x * (66 ±0)`
// Estimated: `11003`
- // Minimum execution time: 11_465_000 picoseconds.
- Weight::from_parts(10_326_049, 11003)
- // Standard Error: 660
- .saturating_add(Weight::from_parts(48_922, 0).saturating_mul(r.into()))
- // Standard Error: 122
- .saturating_add(Weight::from_parts(185_374, 0).saturating_mul(x.into()))
+ // Minimum execution time: 21_312_000 picoseconds.
+ Weight::from_parts(21_058_525, 11003)
+ // Standard Error: 905
+ .saturating_add(Weight::from_parts(65_756, 0).saturating_mul(r.into()))
+ // Standard Error: 167
+ .saturating_add(Weight::from_parts(655_603, 0).saturating_mul(x.into()))
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
- /// Storage: Identity SubsOf (r:1 w:1)
- /// Proof: Identity SubsOf (max_values: None, max_size: Some(3258), added: 5733, mode: MaxEncodedLen)
- /// Storage: Identity IdentityOf (r:1 w:1)
- /// Proof: Identity IdentityOf (max_values: None, max_size: Some(7538), added: 10013, mode: MaxEncodedLen)
- /// Storage: System Account (r:2 w:2)
- /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
- /// Storage: Identity SuperOf (r:0 w:100)
- /// Proof: Identity SuperOf (max_values: None, max_size: Some(114), added: 2589, mode: MaxEncodedLen)
+ /// Storage: `Identity::SubsOf` (r:1 w:1)
+ /// Proof: `Identity::SubsOf` (`max_values`: None, `max_size`: Some(3258), added: 5733, mode: `MaxEncodedLen`)
+ /// Storage: `Identity::IdentityOf` (r:1 w:1)
+ /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7538), added: 10013, mode: `MaxEncodedLen`)
+ /// Storage: `System::Account` (r:2 w:2)
+ /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
+ /// Storage: `Identity::SuperOf` (r:0 w:100)
+ /// Proof: `Identity::SuperOf` (`max_values`: None, `max_size`: Some(114), added: 2589, mode: `MaxEncodedLen`)
/// The range of component `r` is `[1, 20]`.
/// The range of component `s` is `[0, 100]`.
/// The range of component `x` is `[0, 100]`.
@@ -265,142 +265,142 @@
// Proof Size summary in bytes:
// Measured: `665 + r * (12 ±0) + s * (32 ±0) + x * (66 ±0)`
// Estimated: `11003`
- // Minimum execution time: 34_933_000 picoseconds.
- Weight::from_parts(28_994_022, 11003)
- // Standard Error: 668
- .saturating_add(Weight::from_parts(21_722, 0).saturating_mul(r.into()))
- // Standard Error: 130
- .saturating_add(Weight::from_parts(540_580, 0).saturating_mul(s.into()))
- // Standard Error: 130
- .saturating_add(Weight::from_parts(89_348, 0).saturating_mul(x.into()))
+ // Minimum execution time: 75_631_000 picoseconds.
+ Weight::from_parts(55_794_077, 11003)
+ // Standard Error: 1_902
+ .saturating_add(Weight::from_parts(64_363, 0).saturating_mul(r.into()))
+ // Standard Error: 371
+ .saturating_add(Weight::from_parts(1_042_200, 0).saturating_mul(s.into()))
+ // Standard Error: 371
+ .saturating_add(Weight::from_parts(221_969, 0).saturating_mul(x.into()))
.saturating_add(T::DbWeight::get().reads(4_u64))
.saturating_add(T::DbWeight::get().writes(4_u64))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(s.into())))
}
- /// Storage: Identity IdentityOf (r:0 w:600)
- /// Proof: Identity IdentityOf (max_values: None, max_size: Some(7538), added: 10013, mode: MaxEncodedLen)
+ /// Storage: `Identity::IdentityOf` (r:0 w:600)
+ /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7538), added: 10013, mode: `MaxEncodedLen`)
/// The range of component `x` is `[0, 100]`.
/// The range of component `n` is `[0, 600]`.
fn force_insert_identities(x: u32, n: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
- // Minimum execution time: 2_770_000 picoseconds.
- Weight::from_parts(2_875_000, 0)
- // Standard Error: 281_295
- .saturating_add(Weight::from_parts(37_513_186, 0).saturating_mul(x.into()))
- // Standard Error: 46_799
- .saturating_add(Weight::from_parts(7_949_936, 0).saturating_mul(n.into()))
+ // Minimum execution time: 6_400_000 picoseconds.
+ Weight::from_parts(6_550_000, 0)
+ // Standard Error: 2_053_703
+ .saturating_add(Weight::from_parts(125_508_622, 0).saturating_mul(x.into()))
+ // Standard Error: 341_677
+ .saturating_add(Weight::from_parts(25_567_941, 0).saturating_mul(n.into()))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(n.into())))
}
- /// Storage: Identity SubsOf (r:600 w:0)
- /// Proof: Identity SubsOf (max_values: None, max_size: Some(3258), added: 5733, mode: MaxEncodedLen)
- /// Storage: Identity IdentityOf (r:0 w:600)
- /// Proof: Identity IdentityOf (max_values: None, max_size: Some(7538), added: 10013, mode: MaxEncodedLen)
+ /// Storage: `Identity::SubsOf` (r:600 w:0)
+ /// Proof: `Identity::SubsOf` (`max_values`: None, `max_size`: Some(3258), added: 5733, mode: `MaxEncodedLen`)
+ /// Storage: `Identity::IdentityOf` (r:0 w:600)
+ /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7538), added: 10013, mode: `MaxEncodedLen`)
/// The range of component `x` is `[0, 100]`.
/// The range of component `n` is `[0, 600]`.
fn force_remove_identities(x: u32, n: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `41`
// Estimated: `990 + n * (5733 ±0)`
- // Minimum execution time: 2_751_000 picoseconds.
- Weight::from_parts(2_862_000, 990)
- // Standard Error: 953
- .saturating_add(Weight::from_parts(28_947, 0).saturating_mul(x.into()))
- // Standard Error: 158
- .saturating_add(Weight::from_parts(994_085, 0).saturating_mul(n.into()))
+ // Minimum execution time: 6_143_000 picoseconds.
+ Weight::from_parts(6_298_000, 990)
+ // Standard Error: 3_385
+ .saturating_add(Weight::from_parts(50_803, 0).saturating_mul(x.into()))
+ // Standard Error: 563
+ .saturating_add(Weight::from_parts(2_108_225, 0).saturating_mul(n.into()))
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(n.into())))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(n.into())))
.saturating_add(Weight::from_parts(0, 5733).saturating_mul(n.into()))
}
- /// Storage: Identity SubsOf (r:600 w:600)
- /// Proof: Identity SubsOf (max_values: None, max_size: Some(3258), added: 5733, mode: MaxEncodedLen)
- /// Storage: Identity SuperOf (r:0 w:100)
- /// Proof: Identity SuperOf (max_values: None, max_size: Some(114), added: 2589, mode: MaxEncodedLen)
+ /// Storage: `Identity::SubsOf` (r:600 w:600)
+ /// Proof: `Identity::SubsOf` (`max_values`: None, `max_size`: Some(3258), added: 5733, mode: `MaxEncodedLen`)
+ /// Storage: `Identity::SuperOf` (r:0 w:100)
+ /// Proof: `Identity::SuperOf` (`max_values`: None, `max_size`: Some(114), added: 2589, mode: `MaxEncodedLen`)
/// The range of component `s` is `[0, 100]`.
/// The range of component `n` is `[0, 600]`.
fn force_set_subs(s: u32, n: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `41`
// Estimated: `990 + n * (5733 ±0)`
- // Minimum execution time: 2_671_000 picoseconds.
- Weight::from_parts(2_814_000, 990)
- // Standard Error: 785_159
- .saturating_add(Weight::from_parts(109_659_566, 0).saturating_mul(s.into()))
- // Standard Error: 130_628
- .saturating_add(Weight::from_parts(19_169_269, 0).saturating_mul(n.into()))
+ // Minimum execution time: 6_250_000 picoseconds.
+ Weight::from_parts(6_366_000, 990)
+ // Standard Error: 4_608_791
+ .saturating_add(Weight::from_parts(290_267_031, 0).saturating_mul(s.into()))
+ // Standard Error: 766_770
+ .saturating_add(Weight::from_parts(50_932_487, 0).saturating_mul(n.into()))
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(n.into())))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(s.into())))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(n.into())))
.saturating_add(Weight::from_parts(0, 5733).saturating_mul(n.into()))
}
- /// Storage: Identity IdentityOf (r:1 w:0)
- /// Proof: Identity IdentityOf (max_values: None, max_size: Some(7538), added: 10013, mode: MaxEncodedLen)
- /// Storage: Identity SuperOf (r:1 w:1)
- /// Proof: Identity SuperOf (max_values: None, max_size: Some(114), added: 2589, mode: MaxEncodedLen)
- /// Storage: Identity SubsOf (r:1 w:1)
- /// Proof: Identity SubsOf (max_values: None, max_size: Some(3258), added: 5733, mode: MaxEncodedLen)
- /// The range of component `s` is `[0, 99]`.
+ /// Storage: `Identity::IdentityOf` (r:1 w:0)
+ /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7538), added: 10013, mode: `MaxEncodedLen`)
+ /// Storage: `Identity::SuperOf` (r:1 w:1)
+ /// Proof: `Identity::SuperOf` (`max_values`: None, `max_size`: Some(114), added: 2589, mode: `MaxEncodedLen`)
+ /// Storage: `Identity::SubsOf` (r:1 w:1)
+ /// Proof: `Identity::SubsOf` (`max_values`: None, `max_size`: Some(3258), added: 5733, mode: `MaxEncodedLen`)
+ /// The range of component `s` is `[1, 100]`.
fn add_sub(s: u32, ) -> Weight {
// Proof Size summary in bytes:
- // Measured: `474 + s * (36 ±0)`
+ // Measured: `437 + s * (36 ±0)`
// Estimated: `11003`
- // Minimum execution time: 12_571_000 picoseconds.
- Weight::from_parts(16_366_301, 11003)
- // Standard Error: 217
- .saturating_add(Weight::from_parts(42_542, 0).saturating_mul(s.into()))
+ // Minimum execution time: 26_954_000 picoseconds.
+ Weight::from_parts(31_240_173, 11003)
+ // Standard Error: 547
+ .saturating_add(Weight::from_parts(52_287, 0).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(3_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
}
- /// Storage: Identity IdentityOf (r:1 w:0)
- /// Proof: Identity IdentityOf (max_values: None, max_size: Some(7538), added: 10013, mode: MaxEncodedLen)
- /// Storage: Identity SuperOf (r:1 w:1)
- /// Proof: Identity SuperOf (max_values: None, max_size: Some(114), added: 2589, mode: MaxEncodedLen)
+ /// Storage: `Identity::IdentityOf` (r:1 w:0)
+ /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7538), added: 10013, mode: `MaxEncodedLen`)
+ /// Storage: `Identity::SuperOf` (r:1 w:1)
+ /// Proof: `Identity::SuperOf` (`max_values`: None, `max_size`: Some(114), added: 2589, mode: `MaxEncodedLen`)
/// The range of component `s` is `[1, 100]`.
fn rename_sub(s: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `590 + s * (3 ±0)`
// Estimated: `11003`
- // Minimum execution time: 7_278_000 picoseconds.
- Weight::from_parts(9_227_799, 11003)
- // Standard Error: 104
- .saturating_add(Weight::from_parts(14_014, 0).saturating_mul(s.into()))
+ // Minimum execution time: 11_715_000 picoseconds.
+ Weight::from_parts(13_599_708, 11003)
+ // Standard Error: 236
+ .saturating_add(Weight::from_parts(16_093, 0).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
- /// Storage: Identity IdentityOf (r:1 w:0)
- /// Proof: Identity IdentityOf (max_values: None, max_size: Some(7538), added: 10013, mode: MaxEncodedLen)
- /// Storage: Identity SuperOf (r:1 w:1)
- /// Proof: Identity SuperOf (max_values: None, max_size: Some(114), added: 2589, mode: MaxEncodedLen)
- /// Storage: Identity SubsOf (r:1 w:1)
- /// Proof: Identity SubsOf (max_values: None, max_size: Some(3258), added: 5733, mode: MaxEncodedLen)
+ /// Storage: `Identity::IdentityOf` (r:1 w:0)
+ /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7538), added: 10013, mode: `MaxEncodedLen`)
+ /// Storage: `Identity::SuperOf` (r:1 w:1)
+ /// Proof: `Identity::SuperOf` (`max_values`: None, `max_size`: Some(114), added: 2589, mode: `MaxEncodedLen`)
+ /// Storage: `Identity::SubsOf` (r:1 w:1)
+ /// Proof: `Identity::SubsOf` (`max_values`: None, `max_size`: Some(3258), added: 5733, mode: `MaxEncodedLen`)
/// The range of component `s` is `[1, 100]`.
fn remove_sub(s: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `637 + s * (35 ±0)`
// Estimated: `11003`
- // Minimum execution time: 15_771_000 picoseconds.
- Weight::from_parts(18_105_475, 11003)
- // Standard Error: 129
- .saturating_add(Weight::from_parts(32_074, 0).saturating_mul(s.into()))
+ // Minimum execution time: 30_270_000 picoseconds.
+ Weight::from_parts(32_928_187, 11003)
+ // Standard Error: 361
+ .saturating_add(Weight::from_parts(39_163, 0).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(3_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
}
- /// Storage: Identity SuperOf (r:1 w:1)
- /// Proof: Identity SuperOf (max_values: None, max_size: Some(114), added: 2589, mode: MaxEncodedLen)
- /// Storage: Identity SubsOf (r:1 w:1)
- /// Proof: Identity SubsOf (max_values: None, max_size: Some(3258), added: 5733, mode: MaxEncodedLen)
- /// Storage: System Account (r:1 w:0)
- /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
- /// The range of component `s` is `[0, 99]`.
+ /// Storage: `Identity::SuperOf` (r:1 w:1)
+ /// Proof: `Identity::SuperOf` (`max_values`: None, `max_size`: Some(114), added: 2589, mode: `MaxEncodedLen`)
+ /// Storage: `Identity::SubsOf` (r:1 w:1)
+ /// Proof: `Identity::SubsOf` (`max_values`: None, `max_size`: Some(3258), added: 5733, mode: `MaxEncodedLen`)
+ /// Storage: `System::Account` (r:1 w:0)
+ /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
+ /// The range of component `s` is `[1, 100]`.
fn quit_sub(s: u32, ) -> Weight {
// Proof Size summary in bytes:
- // Measured: `703 + s * (37 ±0)`
+ // Measured: `665 + s * (37 ±0)`
// Estimated: `6723`
- // Minimum execution time: 14_093_000 picoseconds.
- Weight::from_parts(16_125_177, 6723)
- // Standard Error: 146
- .saturating_add(Weight::from_parts(39_270, 0).saturating_mul(s.into()))
+ // Minimum execution time: 23_796_000 picoseconds.
+ Weight::from_parts(26_106_458, 6723)
+ // Standard Error: 384
+ .saturating_add(Weight::from_parts(43_963, 0).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(3_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
}
@@ -408,83 +408,83 @@
// For backwards compatibility and tests
impl WeightInfo for () {
- /// Storage: Identity Registrars (r:1 w:1)
- /// Proof: Identity Registrars (max_values: Some(1), max_size: Some(1141), added: 1636, mode: MaxEncodedLen)
- /// The range of component `r` is `[1, 19]`.
+ /// Storage: `Identity::Registrars` (r:1 w:1)
+ /// Proof: `Identity::Registrars` (`max_values`: Some(1), `max_size`: Some(1141), added: 1636, mode: `MaxEncodedLen`)
+ /// The range of component `r` is `[2, 20]`.
fn add_registrar(r: u32, ) -> Weight {
// Proof Size summary in bytes:
- // Measured: `31 + r * (57 ±0)`
+ // Measured: `0 + r * (57 ±0)`
// Estimated: `2626`
- // Minimum execution time: 6_759_000 picoseconds.
- Weight::from_parts(7_254_560, 2626)
- // Standard Error: 231
- .saturating_add(Weight::from_parts(64_513, 0).saturating_mul(r.into()))
+ // Minimum execution time: 11_751_000 picoseconds.
+ Weight::from_parts(12_271_559, 2626)
+ // Standard Error: 696
+ .saturating_add(Weight::from_parts(85_076, 0).saturating_mul(r.into()))
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
- /// Storage: Identity IdentityOf (r:1 w:1)
- /// Proof: Identity IdentityOf (max_values: None, max_size: Some(7538), added: 10013, mode: MaxEncodedLen)
- /// The range of component `r` is `[1, 20]`.
+ /// Storage: `Identity::IdentityOf` (r:1 w:1)
+ /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7538), added: 10013, mode: `MaxEncodedLen`)
/// The range of component `x` is `[0, 100]`.
- fn set_identity(r: u32, x: u32, ) -> Weight {
+ /// The range of component `r` is `[1, 20]`.
+ fn set_identity(x: u32, r: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `441 + r * (5 ±0)`
// Estimated: `11003`
- // Minimum execution time: 14_134_000 picoseconds.
- Weight::from_parts(12_591_985, 11003)
- // Standard Error: 562
- .saturating_add(Weight::from_parts(77_682, 0).saturating_mul(r.into()))
- // Standard Error: 109
- .saturating_add(Weight::from_parts(96_303, 0).saturating_mul(x.into()))
+ // Minimum execution time: 30_152_000 picoseconds.
+ Weight::from_parts(28_934_480, 11003)
+ // Standard Error: 131
+ .saturating_add(Weight::from_parts(407_556, 0).saturating_mul(x.into()))
+ // Standard Error: 672
+ .saturating_add(Weight::from_parts(82_838, 0).saturating_mul(r.into()))
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
- /// Storage: Identity IdentityOf (r:1 w:0)
- /// Proof: Identity IdentityOf (max_values: None, max_size: Some(7538), added: 10013, mode: MaxEncodedLen)
- /// Storage: Identity SubsOf (r:1 w:1)
- /// Proof: Identity SubsOf (max_values: None, max_size: Some(3258), added: 5733, mode: MaxEncodedLen)
- /// Storage: Identity SuperOf (r:100 w:100)
- /// Proof: Identity SuperOf (max_values: None, max_size: Some(114), added: 2589, mode: MaxEncodedLen)
+ /// Storage: `Identity::IdentityOf` (r:1 w:0)
+ /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7538), added: 10013, mode: `MaxEncodedLen`)
+ /// Storage: `Identity::SubsOf` (r:1 w:1)
+ /// Proof: `Identity::SubsOf` (`max_values`: None, `max_size`: Some(3258), added: 5733, mode: `MaxEncodedLen`)
+ /// Storage: `Identity::SuperOf` (r:100 w:100)
+ /// Proof: `Identity::SuperOf` (`max_values`: None, `max_size`: Some(114), added: 2589, mode: `MaxEncodedLen`)
/// The range of component `s` is `[0, 100]`.
fn set_subs_new(s: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `100`
// Estimated: `11003 + s * (2589 ±0)`
- // Minimum execution time: 4_763_000 picoseconds.
- Weight::from_parts(11_344_974, 11003)
- // Standard Error: 401
- .saturating_add(Weight::from_parts(1_141_028, 0).saturating_mul(s.into()))
+ // Minimum execution time: 8_680_000 picoseconds.
+ Weight::from_parts(23_228_498, 11003)
+ // Standard Error: 1_817
+ .saturating_add(Weight::from_parts(2_512_779, 0).saturating_mul(s.into()))
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(s.into())))
.saturating_add(RocksDbWeight::get().writes(1_u64))
.saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(s.into())))
.saturating_add(Weight::from_parts(0, 2589).saturating_mul(s.into()))
}
- /// Storage: Identity IdentityOf (r:1 w:0)
- /// Proof: Identity IdentityOf (max_values: None, max_size: Some(7538), added: 10013, mode: MaxEncodedLen)
- /// Storage: Identity SubsOf (r:1 w:1)
- /// Proof: Identity SubsOf (max_values: None, max_size: Some(3258), added: 5733, mode: MaxEncodedLen)
- /// Storage: Identity SuperOf (r:0 w:100)
- /// Proof: Identity SuperOf (max_values: None, max_size: Some(114), added: 2589, mode: MaxEncodedLen)
+ /// Storage: `Identity::IdentityOf` (r:1 w:0)
+ /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7538), added: 10013, mode: `MaxEncodedLen`)
+ /// Storage: `Identity::SubsOf` (r:1 w:1)
+ /// Proof: `Identity::SubsOf` (`max_values`: None, `max_size`: Some(3258), added: 5733, mode: `MaxEncodedLen`)
+ /// Storage: `Identity::SuperOf` (r:0 w:100)
+ /// Proof: `Identity::SuperOf` (`max_values`: None, `max_size`: Some(114), added: 2589, mode: `MaxEncodedLen`)
/// The range of component `p` is `[0, 100]`.
fn set_subs_old(p: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `193 + p * (32 ±0)`
// Estimated: `11003`
- // Minimum execution time: 4_783_000 picoseconds.
- Weight::from_parts(11_531_027, 11003)
- // Standard Error: 369
- .saturating_add(Weight::from_parts(542_102, 0).saturating_mul(p.into()))
+ // Minimum execution time: 8_493_000 picoseconds.
+ Weight::from_parts(23_032_063, 11003)
+ // Standard Error: 1_672
+ .saturating_add(Weight::from_parts(1_039_127, 0).saturating_mul(p.into()))
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
.saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(p.into())))
}
- /// Storage: Identity SubsOf (r:1 w:1)
- /// Proof: Identity SubsOf (max_values: None, max_size: Some(3258), added: 5733, mode: MaxEncodedLen)
- /// Storage: Identity IdentityOf (r:1 w:1)
- /// Proof: Identity IdentityOf (max_values: None, max_size: Some(7538), added: 10013, mode: MaxEncodedLen)
- /// Storage: Identity SuperOf (r:0 w:100)
- /// Proof: Identity SuperOf (max_values: None, max_size: Some(114), added: 2589, mode: MaxEncodedLen)
+ /// Storage: `Identity::SubsOf` (r:1 w:1)
+ /// Proof: `Identity::SubsOf` (`max_values`: None, `max_size`: Some(3258), added: 5733, mode: `MaxEncodedLen`)
+ /// Storage: `Identity::IdentityOf` (r:1 w:1)
+ /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7538), added: 10013, mode: `MaxEncodedLen`)
+ /// Storage: `Identity::SuperOf` (r:0 w:100)
+ /// Proof: `Identity::SuperOf` (`max_values`: None, `max_size`: Some(114), added: 2589, mode: `MaxEncodedLen`)
/// The range of component `r` is `[1, 20]`.
/// The range of component `s` is `[0, 100]`.
/// The range of component `x` is `[0, 100]`.
@@ -492,123 +492,123 @@
// Proof Size summary in bytes:
// Measured: `468 + r * (5 ±0) + s * (32 ±0) + x * (66 ±0)`
// Estimated: `11003`
- // Minimum execution time: 23_175_000 picoseconds.
- Weight::from_parts(16_503_215, 11003)
- // Standard Error: 625
- .saturating_add(Weight::from_parts(1_175, 0).saturating_mul(r.into()))
- // Standard Error: 122
- .saturating_add(Weight::from_parts(533_184, 0).saturating_mul(s.into()))
- // Standard Error: 122
- .saturating_add(Weight::from_parts(94_600, 0).saturating_mul(x.into()))
+ // Minimum execution time: 50_797_000 picoseconds.
+ Weight::from_parts(31_070_475, 11003)
+ // Standard Error: 1_513
+ .saturating_add(Weight::from_parts(35_164, 0).saturating_mul(r.into()))
+ // Standard Error: 295
+ .saturating_add(Weight::from_parts(1_030_210, 0).saturating_mul(s.into()))
+ // Standard Error: 295
+ .saturating_add(Weight::from_parts(219_795, 0).saturating_mul(x.into()))
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(2_u64))
.saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(s.into())))
}
- /// Storage: Identity Registrars (r:1 w:0)
- /// Proof: Identity Registrars (max_values: Some(1), max_size: Some(1141), added: 1636, mode: MaxEncodedLen)
- /// Storage: Identity IdentityOf (r:1 w:1)
- /// Proof: Identity IdentityOf (max_values: None, max_size: Some(7538), added: 10013, mode: MaxEncodedLen)
+ /// Storage: `Identity::Registrars` (r:1 w:0)
+ /// Proof: `Identity::Registrars` (`max_values`: Some(1), `max_size`: Some(1141), added: 1636, mode: `MaxEncodedLen`)
+ /// Storage: `Identity::IdentityOf` (r:1 w:1)
+ /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7538), added: 10013, mode: `MaxEncodedLen`)
/// The range of component `r` is `[1, 20]`.
/// The range of component `x` is `[0, 100]`.
fn request_judgement(r: u32, x: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `366 + r * (57 ±0) + x * (66 ±0)`
// Estimated: `11003`
- // Minimum execution time: 15_322_000 picoseconds.
- Weight::from_parts(13_671_670, 11003)
- // Standard Error: 722
- .saturating_add(Weight::from_parts(73_665, 0).saturating_mul(r.into()))
- // Standard Error: 140
- .saturating_add(Weight::from_parts(124_598, 0).saturating_mul(x.into()))
+ // Minimum execution time: 30_925_000 picoseconds.
+ Weight::from_parts(29_686_659, 11003)
+ // Standard Error: 887
+ .saturating_add(Weight::from_parts(92_175, 0).saturating_mul(r.into()))
+ // Standard Error: 173
+ .saturating_add(Weight::from_parts(421_779, 0).saturating_mul(x.into()))
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
- /// Storage: Identity IdentityOf (r:1 w:1)
- /// Proof: Identity IdentityOf (max_values: None, max_size: Some(7538), added: 10013, mode: MaxEncodedLen)
+ /// Storage: `Identity::IdentityOf` (r:1 w:1)
+ /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7538), added: 10013, mode: `MaxEncodedLen`)
/// The range of component `r` is `[1, 20]`.
/// The range of component `x` is `[0, 100]`.
fn cancel_request(r: u32, x: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `397 + x * (66 ±0)`
// Estimated: `11003`
- // Minimum execution time: 13_268_000 picoseconds.
- Weight::from_parts(12_489_352, 11003)
- // Standard Error: 544
- .saturating_add(Weight::from_parts(35_424, 0).saturating_mul(r.into()))
- // Standard Error: 106
- .saturating_add(Weight::from_parts(123_149, 0).saturating_mul(x.into()))
+ // Minimum execution time: 27_705_000 picoseconds.
+ Weight::from_parts(27_264_552, 11003)
+ // Standard Error: 791
+ .saturating_add(Weight::from_parts(63_003, 0).saturating_mul(r.into()))
+ // Standard Error: 154
+ .saturating_add(Weight::from_parts(417_161, 0).saturating_mul(x.into()))
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
- /// Storage: Identity Registrars (r:1 w:1)
- /// Proof: Identity Registrars (max_values: Some(1), max_size: Some(1141), added: 1636, mode: MaxEncodedLen)
- /// The range of component `r` is `[1, 19]`.
+ /// Storage: `Identity::Registrars` (r:1 w:1)
+ /// Proof: `Identity::Registrars` (`max_values`: Some(1), `max_size`: Some(1141), added: 1636, mode: `MaxEncodedLen`)
+ /// The range of component `r` is `[2, 20]`.
fn set_fee(r: u32, ) -> Weight {
// Proof Size summary in bytes:
- // Measured: `88 + r * (57 ±0)`
+ // Measured: `31 + r * (57 ±0)`
// Estimated: `2626`
- // Minimum execution time: 4_845_000 picoseconds.
- Weight::from_parts(5_147_478, 2626)
- // Standard Error: 169
- .saturating_add(Weight::from_parts(55_561, 0).saturating_mul(r.into()))
+ // Minimum execution time: 7_587_000 picoseconds.
+ Weight::from_parts(7_938_817, 2626)
+ // Standard Error: 494
+ .saturating_add(Weight::from_parts(67_900, 0).saturating_mul(r.into()))
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
- /// Storage: Identity Registrars (r:1 w:1)
- /// Proof: Identity Registrars (max_values: Some(1), max_size: Some(1141), added: 1636, mode: MaxEncodedLen)
- /// The range of component `r` is `[1, 19]`.
+ /// Storage: `Identity::Registrars` (r:1 w:1)
+ /// Proof: `Identity::Registrars` (`max_values`: Some(1), `max_size`: Some(1141), added: 1636, mode: `MaxEncodedLen`)
+ /// The range of component `r` is `[2, 20]`.
fn set_account_id(r: u32, ) -> Weight {
// Proof Size summary in bytes:
- // Measured: `88 + r * (57 ±0)`
+ // Measured: `31 + r * (57 ±0)`
// Estimated: `2626`
- // Minimum execution time: 4_191_000 picoseconds.
- Weight::from_parts(4_478_351, 2626)
- // Standard Error: 138
- .saturating_add(Weight::from_parts(53_627, 0).saturating_mul(r.into()))
+ // Minimum execution time: 6_558_000 picoseconds.
+ Weight::from_parts(6_973_093, 2626)
+ // Standard Error: 398
+ .saturating_add(Weight::from_parts(63_901, 0).saturating_mul(r.into()))
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
- /// Storage: Identity Registrars (r:1 w:1)
- /// Proof: Identity Registrars (max_values: Some(1), max_size: Some(1141), added: 1636, mode: MaxEncodedLen)
- /// The range of component `r` is `[1, 19]`.
+ /// Storage: `Identity::Registrars` (r:1 w:1)
+ /// Proof: `Identity::Registrars` (`max_values`: Some(1), `max_size`: Some(1141), added: 1636, mode: `MaxEncodedLen`)
+ /// The range of component `r` is `[2, 20]`.
fn set_fields(r: u32, ) -> Weight {
// Proof Size summary in bytes:
- // Measured: `88 + r * (57 ±0)`
+ // Measured: `31 + r * (57 ±0)`
// Estimated: `2626`
- // Minimum execution time: 4_003_000 picoseconds.
- Weight::from_parts(4_303_365, 2626)
- // Standard Error: 147
- .saturating_add(Weight::from_parts(52_472, 0).saturating_mul(r.into()))
+ // Minimum execution time: 6_666_000 picoseconds.
+ Weight::from_parts(7_050_744, 2626)
+ // Standard Error: 409
+ .saturating_add(Weight::from_parts(61_617, 0).saturating_mul(r.into()))
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
- /// Storage: Identity Registrars (r:1 w:0)
- /// Proof: Identity Registrars (max_values: Some(1), max_size: Some(1141), added: 1636, mode: MaxEncodedLen)
- /// Storage: Identity IdentityOf (r:1 w:1)
- /// Proof: Identity IdentityOf (max_values: None, max_size: Some(7538), added: 10013, mode: MaxEncodedLen)
- /// The range of component `r` is `[1, 19]`.
+ /// Storage: `Identity::Registrars` (r:1 w:0)
+ /// Proof: `Identity::Registrars` (`max_values`: Some(1), `max_size`: Some(1141), added: 1636, mode: `MaxEncodedLen`)
+ /// Storage: `Identity::IdentityOf` (r:1 w:1)
+ /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7538), added: 10013, mode: `MaxEncodedLen`)
+ /// The range of component `r` is `[2, 20]`.
/// The range of component `x` is `[0, 100]`.
fn provide_judgement(r: u32, x: u32, ) -> Weight {
// Proof Size summary in bytes:
- // Measured: `444 + r * (57 ±0) + x * (66 ±0)`
+ // Measured: `387 + r * (57 ±0) + x * (66 ±0)`
// Estimated: `11003`
- // Minimum execution time: 11_465_000 picoseconds.
- Weight::from_parts(10_326_049, 11003)
- // Standard Error: 660
- .saturating_add(Weight::from_parts(48_922, 0).saturating_mul(r.into()))
- // Standard Error: 122
- .saturating_add(Weight::from_parts(185_374, 0).saturating_mul(x.into()))
+ // Minimum execution time: 21_312_000 picoseconds.
+ Weight::from_parts(21_058_525, 11003)
+ // Standard Error: 905
+ .saturating_add(Weight::from_parts(65_756, 0).saturating_mul(r.into()))
+ // Standard Error: 167
+ .saturating_add(Weight::from_parts(655_603, 0).saturating_mul(x.into()))
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
- /// Storage: Identity SubsOf (r:1 w:1)
- /// Proof: Identity SubsOf (max_values: None, max_size: Some(3258), added: 5733, mode: MaxEncodedLen)
- /// Storage: Identity IdentityOf (r:1 w:1)
- /// Proof: Identity IdentityOf (max_values: None, max_size: Some(7538), added: 10013, mode: MaxEncodedLen)
- /// Storage: System Account (r:2 w:2)
- /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
- /// Storage: Identity SuperOf (r:0 w:100)
- /// Proof: Identity SuperOf (max_values: None, max_size: Some(114), added: 2589, mode: MaxEncodedLen)
+ /// Storage: `Identity::SubsOf` (r:1 w:1)
+ /// Proof: `Identity::SubsOf` (`max_values`: None, `max_size`: Some(3258), added: 5733, mode: `MaxEncodedLen`)
+ /// Storage: `Identity::IdentityOf` (r:1 w:1)
+ /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7538), added: 10013, mode: `MaxEncodedLen`)
+ /// Storage: `System::Account` (r:2 w:2)
+ /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
+ /// Storage: `Identity::SuperOf` (r:0 w:100)
+ /// Proof: `Identity::SuperOf` (`max_values`: None, `max_size`: Some(114), added: 2589, mode: `MaxEncodedLen`)
/// The range of component `r` is `[1, 20]`.
/// The range of component `s` is `[0, 100]`.
/// The range of component `x` is `[0, 100]`.
@@ -616,142 +616,142 @@
// Proof Size summary in bytes:
// Measured: `665 + r * (12 ±0) + s * (32 ±0) + x * (66 ±0)`
// Estimated: `11003`
- // Minimum execution time: 34_933_000 picoseconds.
- Weight::from_parts(28_994_022, 11003)
- // Standard Error: 668
- .saturating_add(Weight::from_parts(21_722, 0).saturating_mul(r.into()))
- // Standard Error: 130
- .saturating_add(Weight::from_parts(540_580, 0).saturating_mul(s.into()))
- // Standard Error: 130
- .saturating_add(Weight::from_parts(89_348, 0).saturating_mul(x.into()))
+ // Minimum execution time: 75_631_000 picoseconds.
+ Weight::from_parts(55_794_077, 11003)
+ // Standard Error: 1_902
+ .saturating_add(Weight::from_parts(64_363, 0).saturating_mul(r.into()))
+ // Standard Error: 371
+ .saturating_add(Weight::from_parts(1_042_200, 0).saturating_mul(s.into()))
+ // Standard Error: 371
+ .saturating_add(Weight::from_parts(221_969, 0).saturating_mul(x.into()))
.saturating_add(RocksDbWeight::get().reads(4_u64))
.saturating_add(RocksDbWeight::get().writes(4_u64))
.saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(s.into())))
}
- /// Storage: Identity IdentityOf (r:0 w:600)
- /// Proof: Identity IdentityOf (max_values: None, max_size: Some(7538), added: 10013, mode: MaxEncodedLen)
+ /// Storage: `Identity::IdentityOf` (r:0 w:600)
+ /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7538), added: 10013, mode: `MaxEncodedLen`)
/// The range of component `x` is `[0, 100]`.
/// The range of component `n` is `[0, 600]`.
fn force_insert_identities(x: u32, n: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
- // Minimum execution time: 2_770_000 picoseconds.
- Weight::from_parts(2_875_000, 0)
- // Standard Error: 281_295
- .saturating_add(Weight::from_parts(37_513_186, 0).saturating_mul(x.into()))
- // Standard Error: 46_799
- .saturating_add(Weight::from_parts(7_949_936, 0).saturating_mul(n.into()))
+ // Minimum execution time: 6_400_000 picoseconds.
+ Weight::from_parts(6_550_000, 0)
+ // Standard Error: 2_053_703
+ .saturating_add(Weight::from_parts(125_508_622, 0).saturating_mul(x.into()))
+ // Standard Error: 341_677
+ .saturating_add(Weight::from_parts(25_567_941, 0).saturating_mul(n.into()))
.saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(n.into())))
}
- /// Storage: Identity SubsOf (r:600 w:0)
- /// Proof: Identity SubsOf (max_values: None, max_size: Some(3258), added: 5733, mode: MaxEncodedLen)
- /// Storage: Identity IdentityOf (r:0 w:600)
- /// Proof: Identity IdentityOf (max_values: None, max_size: Some(7538), added: 10013, mode: MaxEncodedLen)
+ /// Storage: `Identity::SubsOf` (r:600 w:0)
+ /// Proof: `Identity::SubsOf` (`max_values`: None, `max_size`: Some(3258), added: 5733, mode: `MaxEncodedLen`)
+ /// Storage: `Identity::IdentityOf` (r:0 w:600)
+ /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7538), added: 10013, mode: `MaxEncodedLen`)
/// The range of component `x` is `[0, 100]`.
/// The range of component `n` is `[0, 600]`.
fn force_remove_identities(x: u32, n: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `41`
// Estimated: `990 + n * (5733 ±0)`
- // Minimum execution time: 2_751_000 picoseconds.
- Weight::from_parts(2_862_000, 990)
- // Standard Error: 953
- .saturating_add(Weight::from_parts(28_947, 0).saturating_mul(x.into()))
- // Standard Error: 158
- .saturating_add(Weight::from_parts(994_085, 0).saturating_mul(n.into()))
+ // Minimum execution time: 6_143_000 picoseconds.
+ Weight::from_parts(6_298_000, 990)
+ // Standard Error: 3_385
+ .saturating_add(Weight::from_parts(50_803, 0).saturating_mul(x.into()))
+ // Standard Error: 563
+ .saturating_add(Weight::from_parts(2_108_225, 0).saturating_mul(n.into()))
.saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(n.into())))
.saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(n.into())))
.saturating_add(Weight::from_parts(0, 5733).saturating_mul(n.into()))
}
- /// Storage: Identity SubsOf (r:600 w:600)
- /// Proof: Identity SubsOf (max_values: None, max_size: Some(3258), added: 5733, mode: MaxEncodedLen)
- /// Storage: Identity SuperOf (r:0 w:100)
- /// Proof: Identity SuperOf (max_values: None, max_size: Some(114), added: 2589, mode: MaxEncodedLen)
+ /// Storage: `Identity::SubsOf` (r:600 w:600)
+ /// Proof: `Identity::SubsOf` (`max_values`: None, `max_size`: Some(3258), added: 5733, mode: `MaxEncodedLen`)
+ /// Storage: `Identity::SuperOf` (r:0 w:100)
+ /// Proof: `Identity::SuperOf` (`max_values`: None, `max_size`: Some(114), added: 2589, mode: `MaxEncodedLen`)
/// The range of component `s` is `[0, 100]`.
/// The range of component `n` is `[0, 600]`.
fn force_set_subs(s: u32, n: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `41`
// Estimated: `990 + n * (5733 ±0)`
- // Minimum execution time: 2_671_000 picoseconds.
- Weight::from_parts(2_814_000, 990)
- // Standard Error: 785_159
- .saturating_add(Weight::from_parts(109_659_566, 0).saturating_mul(s.into()))
- // Standard Error: 130_628
- .saturating_add(Weight::from_parts(19_169_269, 0).saturating_mul(n.into()))
+ // Minimum execution time: 6_250_000 picoseconds.
+ Weight::from_parts(6_366_000, 990)
+ // Standard Error: 4_608_791
+ .saturating_add(Weight::from_parts(290_267_031, 0).saturating_mul(s.into()))
+ // Standard Error: 766_770
+ .saturating_add(Weight::from_parts(50_932_487, 0).saturating_mul(n.into()))
.saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(n.into())))
.saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(s.into())))
.saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(n.into())))
.saturating_add(Weight::from_parts(0, 5733).saturating_mul(n.into()))
}
- /// Storage: Identity IdentityOf (r:1 w:0)
- /// Proof: Identity IdentityOf (max_values: None, max_size: Some(7538), added: 10013, mode: MaxEncodedLen)
- /// Storage: Identity SuperOf (r:1 w:1)
- /// Proof: Identity SuperOf (max_values: None, max_size: Some(114), added: 2589, mode: MaxEncodedLen)
- /// Storage: Identity SubsOf (r:1 w:1)
- /// Proof: Identity SubsOf (max_values: None, max_size: Some(3258), added: 5733, mode: MaxEncodedLen)
- /// The range of component `s` is `[0, 99]`.
+ /// Storage: `Identity::IdentityOf` (r:1 w:0)
+ /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7538), added: 10013, mode: `MaxEncodedLen`)
+ /// Storage: `Identity::SuperOf` (r:1 w:1)
+ /// Proof: `Identity::SuperOf` (`max_values`: None, `max_size`: Some(114), added: 2589, mode: `MaxEncodedLen`)
+ /// Storage: `Identity::SubsOf` (r:1 w:1)
+ /// Proof: `Identity::SubsOf` (`max_values`: None, `max_size`: Some(3258), added: 5733, mode: `MaxEncodedLen`)
+ /// The range of component `s` is `[1, 100]`.
fn add_sub(s: u32, ) -> Weight {
// Proof Size summary in bytes:
- // Measured: `474 + s * (36 ±0)`
+ // Measured: `437 + s * (36 ±0)`
// Estimated: `11003`
- // Minimum execution time: 12_571_000 picoseconds.
- Weight::from_parts(16_366_301, 11003)
- // Standard Error: 217
- .saturating_add(Weight::from_parts(42_542, 0).saturating_mul(s.into()))
+ // Minimum execution time: 26_954_000 picoseconds.
+ Weight::from_parts(31_240_173, 11003)
+ // Standard Error: 547
+ .saturating_add(Weight::from_parts(52_287, 0).saturating_mul(s.into()))
.saturating_add(RocksDbWeight::get().reads(3_u64))
.saturating_add(RocksDbWeight::get().writes(2_u64))
}
- /// Storage: Identity IdentityOf (r:1 w:0)
- /// Proof: Identity IdentityOf (max_values: None, max_size: Some(7538), added: 10013, mode: MaxEncodedLen)
- /// Storage: Identity SuperOf (r:1 w:1)
- /// Proof: Identity SuperOf (max_values: None, max_size: Some(114), added: 2589, mode: MaxEncodedLen)
+ /// Storage: `Identity::IdentityOf` (r:1 w:0)
+ /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7538), added: 10013, mode: `MaxEncodedLen`)
+ /// Storage: `Identity::SuperOf` (r:1 w:1)
+ /// Proof: `Identity::SuperOf` (`max_values`: None, `max_size`: Some(114), added: 2589, mode: `MaxEncodedLen`)
/// The range of component `s` is `[1, 100]`.
fn rename_sub(s: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `590 + s * (3 ±0)`
// Estimated: `11003`
- // Minimum execution time: 7_278_000 picoseconds.
- Weight::from_parts(9_227_799, 11003)
- // Standard Error: 104
- .saturating_add(Weight::from_parts(14_014, 0).saturating_mul(s.into()))
+ // Minimum execution time: 11_715_000 picoseconds.
+ Weight::from_parts(13_599_708, 11003)
+ // Standard Error: 236
+ .saturating_add(Weight::from_parts(16_093, 0).saturating_mul(s.into()))
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
- /// Storage: Identity IdentityOf (r:1 w:0)
- /// Proof: Identity IdentityOf (max_values: None, max_size: Some(7538), added: 10013, mode: MaxEncodedLen)
- /// Storage: Identity SuperOf (r:1 w:1)
- /// Proof: Identity SuperOf (max_values: None, max_size: Some(114), added: 2589, mode: MaxEncodedLen)
- /// Storage: Identity SubsOf (r:1 w:1)
- /// Proof: Identity SubsOf (max_values: None, max_size: Some(3258), added: 5733, mode: MaxEncodedLen)
+ /// Storage: `Identity::IdentityOf` (r:1 w:0)
+ /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7538), added: 10013, mode: `MaxEncodedLen`)
+ /// Storage: `Identity::SuperOf` (r:1 w:1)
+ /// Proof: `Identity::SuperOf` (`max_values`: None, `max_size`: Some(114), added: 2589, mode: `MaxEncodedLen`)
+ /// Storage: `Identity::SubsOf` (r:1 w:1)
+ /// Proof: `Identity::SubsOf` (`max_values`: None, `max_size`: Some(3258), added: 5733, mode: `MaxEncodedLen`)
/// The range of component `s` is `[1, 100]`.
fn remove_sub(s: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `637 + s * (35 ±0)`
// Estimated: `11003`
- // Minimum execution time: 15_771_000 picoseconds.
- Weight::from_parts(18_105_475, 11003)
- // Standard Error: 129
- .saturating_add(Weight::from_parts(32_074, 0).saturating_mul(s.into()))
+ // Minimum execution time: 30_270_000 picoseconds.
+ Weight::from_parts(32_928_187, 11003)
+ // Standard Error: 361
+ .saturating_add(Weight::from_parts(39_163, 0).saturating_mul(s.into()))
.saturating_add(RocksDbWeight::get().reads(3_u64))
.saturating_add(RocksDbWeight::get().writes(2_u64))
}
- /// Storage: Identity SuperOf (r:1 w:1)
- /// Proof: Identity SuperOf (max_values: None, max_size: Some(114), added: 2589, mode: MaxEncodedLen)
- /// Storage: Identity SubsOf (r:1 w:1)
- /// Proof: Identity SubsOf (max_values: None, max_size: Some(3258), added: 5733, mode: MaxEncodedLen)
- /// Storage: System Account (r:1 w:0)
- /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
- /// The range of component `s` is `[0, 99]`.
+ /// Storage: `Identity::SuperOf` (r:1 w:1)
+ /// Proof: `Identity::SuperOf` (`max_values`: None, `max_size`: Some(114), added: 2589, mode: `MaxEncodedLen`)
+ /// Storage: `Identity::SubsOf` (r:1 w:1)
+ /// Proof: `Identity::SubsOf` (`max_values`: None, `max_size`: Some(3258), added: 5733, mode: `MaxEncodedLen`)
+ /// Storage: `System::Account` (r:1 w:0)
+ /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
+ /// The range of component `s` is `[1, 100]`.
fn quit_sub(s: u32, ) -> Weight {
// Proof Size summary in bytes:
- // Measured: `703 + s * (37 ±0)`
+ // Measured: `665 + s * (37 ±0)`
// Estimated: `6723`
- // Minimum execution time: 14_093_000 picoseconds.
- Weight::from_parts(16_125_177, 6723)
- // Standard Error: 146
- .saturating_add(Weight::from_parts(39_270, 0).saturating_mul(s.into()))
+ // Minimum execution time: 23_796_000 picoseconds.
+ Weight::from_parts(26_106_458, 6723)
+ // Standard Error: 384
+ .saturating_add(Weight::from_parts(43_963, 0).saturating_mul(s.into()))
.saturating_add(RocksDbWeight::get().reads(3_u64))
.saturating_add(RocksDbWeight::get().writes(2_u64))
}
pallets/maintenance/src/weights.rsdiffbeforeafterboth--- a/pallets/maintenance/src/weights.rs
+++ b/pallets/maintenance/src/weights.rs
@@ -3,13 +3,13 @@
//! Autogenerated weights for pallet_maintenance
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
-//! DATE: 2023-09-26, STEPS: `50`, REPEAT: `400`, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! DATE: 2023-10-13, STEPS: `50`, REPEAT: `80`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `bench-host`, CPU: `Intel(R) Core(TM) i7-8700 CPU @ 3.20GHz`
-//! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024
+//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024
// Executed Command:
-// target/production/unique-collator
+// ./target/production/unique-collator
// benchmark
// pallet
// --pallet
@@ -20,7 +20,7 @@
// *
// --template=.maintain/frame-weight-template.hbs
// --steps=50
-// --repeat=400
+// --repeat=80
// --heap-pages=4096
// --output=./pallets/maintenance/src/weights.rs
@@ -40,48 +40,48 @@
/// Weights for pallet_maintenance using the Substrate node and recommended hardware.
pub struct SubstrateWeight<T>(PhantomData<T>);
impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
- /// Storage: Maintenance Enabled (r:0 w:1)
- /// Proof: Maintenance Enabled (max_values: Some(1), max_size: Some(1), added: 496, mode: MaxEncodedLen)
+ /// Storage: `Maintenance::Enabled` (r:0 w:1)
+ /// Proof: `Maintenance::Enabled` (`max_values`: Some(1), `max_size`: Some(1), added: 496, mode: `MaxEncodedLen`)
fn enable() -> Weight {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
- // Minimum execution time: 3_015_000 picoseconds.
- Weight::from_parts(3_184_000, 0)
+ // Minimum execution time: 7_175_000 picoseconds.
+ Weight::from_parts(7_380_000, 0)
.saturating_add(T::DbWeight::get().writes(1_u64))
}
- /// Storage: Maintenance Enabled (r:0 w:1)
- /// Proof: Maintenance Enabled (max_values: Some(1), max_size: Some(1), added: 496, mode: MaxEncodedLen)
+ /// Storage: `Maintenance::Enabled` (r:0 w:1)
+ /// Proof: `Maintenance::Enabled` (`max_values`: Some(1), `max_size`: Some(1), added: 496, mode: `MaxEncodedLen`)
fn disable() -> Weight {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
- // Minimum execution time: 2_976_000 picoseconds.
- Weight::from_parts(3_111_000, 0)
+ // Minimum execution time: 7_043_000 picoseconds.
+ Weight::from_parts(7_234_000, 0)
.saturating_add(T::DbWeight::get().writes(1_u64))
}
}
// For backwards compatibility and tests
impl WeightInfo for () {
- /// Storage: Maintenance Enabled (r:0 w:1)
- /// Proof: Maintenance Enabled (max_values: Some(1), max_size: Some(1), added: 496, mode: MaxEncodedLen)
+ /// Storage: `Maintenance::Enabled` (r:0 w:1)
+ /// Proof: `Maintenance::Enabled` (`max_values`: Some(1), `max_size`: Some(1), added: 496, mode: `MaxEncodedLen`)
fn enable() -> Weight {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
- // Minimum execution time: 3_015_000 picoseconds.
- Weight::from_parts(3_184_000, 0)
+ // Minimum execution time: 7_175_000 picoseconds.
+ Weight::from_parts(7_380_000, 0)
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
- /// Storage: Maintenance Enabled (r:0 w:1)
- /// Proof: Maintenance Enabled (max_values: Some(1), max_size: Some(1), added: 496, mode: MaxEncodedLen)
+ /// Storage: `Maintenance::Enabled` (r:0 w:1)
+ /// Proof: `Maintenance::Enabled` (`max_values`: Some(1), `max_size`: Some(1), added: 496, mode: `MaxEncodedLen`)
fn disable() -> Weight {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
- // Minimum execution time: 2_976_000 picoseconds.
- Weight::from_parts(3_111_000, 0)
+ // Minimum execution time: 7_043_000 picoseconds.
+ Weight::from_parts(7_234_000, 0)
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
}
pallets/nonfungible/src/weights.rsdiffbeforeafterboth--- a/pallets/nonfungible/src/weights.rs
+++ b/pallets/nonfungible/src/weights.rs
@@ -5,7 +5,7 @@
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2023-10-13, STEPS: `50`, REPEAT: `80`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
-//! HOSTNAME: `hearthstone`, CPU: `AMD Ryzen 9 7950X3D 16-Core Processor`
+//! HOSTNAME: `bench-host`, CPU: `Intel(R) Core(TM) i7-8700 CPU @ 3.20GHz`
//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024
// Executed Command:
@@ -65,8 +65,8 @@
// Proof Size summary in bytes:
// Measured: `142`
// Estimated: `3530`
- // Minimum execution time: 15_410_000 picoseconds.
- Weight::from_parts(15_850_000, 3530)
+ // Minimum execution time: 25_209_000 picoseconds.
+ Weight::from_parts(25_648_000, 3530)
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(4_u64))
}
@@ -83,10 +83,10 @@
// Proof Size summary in bytes:
// Measured: `142`
// Estimated: `3530`
- // Minimum execution time: 3_300_000 picoseconds.
- Weight::from_parts(5_992_994, 3530)
- // Standard Error: 4_478
- .saturating_add(Weight::from_parts(8_002_092, 0).saturating_mul(b.into()))
+ // Minimum execution time: 6_239_000 picoseconds.
+ Weight::from_parts(11_021_733, 3530)
+ // Standard Error: 3_013
+ .saturating_add(Weight::from_parts(9_580_947, 0).saturating_mul(b.into()))
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
.saturating_add(T::DbWeight::get().writes((2_u64).saturating_mul(b.into())))
@@ -104,10 +104,10 @@
// Proof Size summary in bytes:
// Measured: `142`
// Estimated: `3481 + b * (2540 ±0)`
- // Minimum execution time: 3_300_000 picoseconds.
- Weight::from_parts(3_980_000, 3481)
- // Standard Error: 1_382
- .saturating_add(Weight::from_parts(11_259_286, 0).saturating_mul(b.into()))
+ // Minimum execution time: 6_278_000 picoseconds.
+ Weight::from_parts(5_169_950, 3481)
+ // Standard Error: 3_419
+ .saturating_add(Weight::from_parts(13_514_569, 0).saturating_mul(b.into()))
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(b.into())))
.saturating_add(T::DbWeight::get().writes(1_u64))
@@ -132,8 +132,8 @@
// Proof Size summary in bytes:
// Measured: `380`
// Estimated: `3530`
- // Minimum execution time: 26_360_000 picoseconds.
- Weight::from_parts(26_850_000, 3530)
+ // Minimum execution time: 39_015_000 picoseconds.
+ Weight::from_parts(39_562_000, 3530)
.saturating_add(T::DbWeight::get().reads(5_u64))
.saturating_add(T::DbWeight::get().writes(5_u64))
}
@@ -149,8 +149,8 @@
// Proof Size summary in bytes:
// Measured: `380`
// Estimated: `6070`
- // Minimum execution time: 22_710_000 picoseconds.
- Weight::from_parts(23_130_000, 6070)
+ // Minimum execution time: 32_930_000 picoseconds.
+ Weight::from_parts(33_398_000, 6070)
.saturating_add(T::DbWeight::get().reads(4_u64))
.saturating_add(T::DbWeight::get().writes(5_u64))
}
@@ -162,8 +162,8 @@
// Proof Size summary in bytes:
// Measured: `326`
// Estimated: `3522`
- // Minimum execution time: 11_520_000 picoseconds.
- Weight::from_parts(12_030_000, 3522)
+ // Minimum execution time: 17_411_000 picoseconds.
+ Weight::from_parts(17_790_000, 3522)
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -175,8 +175,8 @@
// Proof Size summary in bytes:
// Measured: `313`
// Estimated: `3522`
- // Minimum execution time: 11_570_000 picoseconds.
- Weight::from_parts(12_139_000, 3522)
+ // Minimum execution time: 17_707_000 picoseconds.
+ Weight::from_parts(18_035_000, 3522)
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -186,8 +186,8 @@
// Proof Size summary in bytes:
// Measured: `362`
// Estimated: `3522`
- // Minimum execution time: 4_210_000 picoseconds.
- Weight::from_parts(4_350_000, 3522)
+ // Minimum execution time: 6_353_000 picoseconds.
+ Weight::from_parts(6_515_000, 3522)
.saturating_add(T::DbWeight::get().reads(1_u64))
}
/// Storage: `Nonfungible::Allowance` (r:1 w:1)
@@ -208,8 +208,8 @@
// Proof Size summary in bytes:
// Measured: `463`
// Estimated: `3530`
- // Minimum execution time: 32_230_000 picoseconds.
- Weight::from_parts(33_210_000, 3530)
+ // Minimum execution time: 47_086_000 picoseconds.
+ Weight::from_parts(47_687_000, 3530)
.saturating_add(T::DbWeight::get().reads(5_u64))
.saturating_add(T::DbWeight::get().writes(6_u64))
}
@@ -219,8 +219,8 @@
// Proof Size summary in bytes:
// Measured: `279`
// Estimated: `36269`
- // Minimum execution time: 3_180_000 picoseconds.
- Weight::from_parts(3_370_000, 36269)
+ // Minimum execution time: 4_868_000 picoseconds.
+ Weight::from_parts(4_994_000, 36269)
.saturating_add(T::DbWeight::get().reads(1_u64))
}
/// Storage: `Nonfungible::TokenProperties` (r:0 w:1)
@@ -230,10 +230,10 @@
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
- // Minimum execution time: 440_000 picoseconds.
- Weight::from_parts(3_567_990, 0)
- // Standard Error: 24_013
- .saturating_add(Weight::from_parts(19_386_123, 0).saturating_mul(b.into()))
+ // Minimum execution time: 860_000 picoseconds.
+ Weight::from_parts(886_000, 0)
+ // Standard Error: 70_909
+ .saturating_add(Weight::from_parts(38_734_650, 0).saturating_mul(b.into()))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
/// Storage: `Common::CollectionPropertyPermissions` (r:1 w:1)
@@ -243,10 +243,10 @@
// Proof Size summary in bytes:
// Measured: `314`
// Estimated: `20191`
- // Minimum execution time: 1_460_000 picoseconds.
- Weight::from_parts(1_530_000, 20191)
- // Standard Error: 124_929
- .saturating_add(Weight::from_parts(28_397_581, 0).saturating_mul(b.into()))
+ // Minimum execution time: 3_151_000 picoseconds.
+ Weight::from_parts(3_276_000, 20191)
+ // Standard Error: 169_159
+ .saturating_add(Weight::from_parts(38_018_122, 0).saturating_mul(b.into()))
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -256,8 +256,8 @@
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
- // Minimum execution time: 6_840_000 picoseconds.
- Weight::from_parts(7_160_000, 0)
+ // Minimum execution time: 11_146_000 picoseconds.
+ Weight::from_parts(11_344_000, 0)
.saturating_add(T::DbWeight::get().writes(1_u64))
}
/// Storage: `Nonfungible::CollectionAllowance` (r:1 w:0)
@@ -266,8 +266,8 @@
// Proof Size summary in bytes:
// Measured: `142`
// Estimated: `3576`
- // Minimum execution time: 3_630_000 picoseconds.
- Weight::from_parts(3_780_000, 3576)
+ // Minimum execution time: 5_413_000 picoseconds.
+ Weight::from_parts(5_593_000, 3576)
.saturating_add(T::DbWeight::get().reads(1_u64))
}
/// Storage: `Nonfungible::TokenProperties` (r:1 w:1)
@@ -276,8 +276,8 @@
// Proof Size summary in bytes:
// Measured: `279`
// Estimated: `36269`
- // Minimum execution time: 3_280_000 picoseconds.
- Weight::from_parts(3_480_000, 36269)
+ // Minimum execution time: 4_968_000 picoseconds.
+ Weight::from_parts(5_138_000, 36269)
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -297,8 +297,8 @@
// Proof Size summary in bytes:
// Measured: `142`
// Estimated: `3530`
- // Minimum execution time: 15_410_000 picoseconds.
- Weight::from_parts(15_850_000, 3530)
+ // Minimum execution time: 25_209_000 picoseconds.
+ Weight::from_parts(25_648_000, 3530)
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(4_u64))
}
@@ -315,10 +315,10 @@
// Proof Size summary in bytes:
// Measured: `142`
// Estimated: `3530`
- // Minimum execution time: 3_300_000 picoseconds.
- Weight::from_parts(5_992_994, 3530)
- // Standard Error: 4_478
- .saturating_add(Weight::from_parts(8_002_092, 0).saturating_mul(b.into()))
+ // Minimum execution time: 6_239_000 picoseconds.
+ Weight::from_parts(11_021_733, 3530)
+ // Standard Error: 3_013
+ .saturating_add(Weight::from_parts(9_580_947, 0).saturating_mul(b.into()))
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(2_u64))
.saturating_add(RocksDbWeight::get().writes((2_u64).saturating_mul(b.into())))
@@ -336,10 +336,10 @@
// Proof Size summary in bytes:
// Measured: `142`
// Estimated: `3481 + b * (2540 ±0)`
- // Minimum execution time: 3_300_000 picoseconds.
- Weight::from_parts(3_980_000, 3481)
- // Standard Error: 1_382
- .saturating_add(Weight::from_parts(11_259_286, 0).saturating_mul(b.into()))
+ // Minimum execution time: 6_278_000 picoseconds.
+ Weight::from_parts(5_169_950, 3481)
+ // Standard Error: 3_419
+ .saturating_add(Weight::from_parts(13_514_569, 0).saturating_mul(b.into()))
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(b.into())))
.saturating_add(RocksDbWeight::get().writes(1_u64))
@@ -364,8 +364,8 @@
// Proof Size summary in bytes:
// Measured: `380`
// Estimated: `3530`
- // Minimum execution time: 26_360_000 picoseconds.
- Weight::from_parts(26_850_000, 3530)
+ // Minimum execution time: 39_015_000 picoseconds.
+ Weight::from_parts(39_562_000, 3530)
.saturating_add(RocksDbWeight::get().reads(5_u64))
.saturating_add(RocksDbWeight::get().writes(5_u64))
}
@@ -381,8 +381,8 @@
// Proof Size summary in bytes:
// Measured: `380`
// Estimated: `6070`
- // Minimum execution time: 22_710_000 picoseconds.
- Weight::from_parts(23_130_000, 6070)
+ // Minimum execution time: 32_930_000 picoseconds.
+ Weight::from_parts(33_398_000, 6070)
.saturating_add(RocksDbWeight::get().reads(4_u64))
.saturating_add(RocksDbWeight::get().writes(5_u64))
}
@@ -394,8 +394,8 @@
// Proof Size summary in bytes:
// Measured: `326`
// Estimated: `3522`
- // Minimum execution time: 11_520_000 picoseconds.
- Weight::from_parts(12_030_000, 3522)
+ // Minimum execution time: 17_411_000 picoseconds.
+ Weight::from_parts(17_790_000, 3522)
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -407,8 +407,8 @@
// Proof Size summary in bytes:
// Measured: `313`
// Estimated: `3522`
- // Minimum execution time: 11_570_000 picoseconds.
- Weight::from_parts(12_139_000, 3522)
+ // Minimum execution time: 17_707_000 picoseconds.
+ Weight::from_parts(18_035_000, 3522)
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -418,8 +418,8 @@
// Proof Size summary in bytes:
// Measured: `362`
// Estimated: `3522`
- // Minimum execution time: 4_210_000 picoseconds.
- Weight::from_parts(4_350_000, 3522)
+ // Minimum execution time: 6_353_000 picoseconds.
+ Weight::from_parts(6_515_000, 3522)
.saturating_add(RocksDbWeight::get().reads(1_u64))
}
/// Storage: `Nonfungible::Allowance` (r:1 w:1)
@@ -440,8 +440,8 @@
// Proof Size summary in bytes:
// Measured: `463`
// Estimated: `3530`
- // Minimum execution time: 32_230_000 picoseconds.
- Weight::from_parts(33_210_000, 3530)
+ // Minimum execution time: 47_086_000 picoseconds.
+ Weight::from_parts(47_687_000, 3530)
.saturating_add(RocksDbWeight::get().reads(5_u64))
.saturating_add(RocksDbWeight::get().writes(6_u64))
}
@@ -451,8 +451,8 @@
// Proof Size summary in bytes:
// Measured: `279`
// Estimated: `36269`
- // Minimum execution time: 3_180_000 picoseconds.
- Weight::from_parts(3_370_000, 36269)
+ // Minimum execution time: 4_868_000 picoseconds.
+ Weight::from_parts(4_994_000, 36269)
.saturating_add(RocksDbWeight::get().reads(1_u64))
}
/// Storage: `Nonfungible::TokenProperties` (r:0 w:1)
@@ -462,10 +462,10 @@
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
- // Minimum execution time: 440_000 picoseconds.
- Weight::from_parts(3_567_990, 0)
- // Standard Error: 24_013
- .saturating_add(Weight::from_parts(19_386_123, 0).saturating_mul(b.into()))
+ // Minimum execution time: 860_000 picoseconds.
+ Weight::from_parts(886_000, 0)
+ // Standard Error: 70_909
+ .saturating_add(Weight::from_parts(38_734_650, 0).saturating_mul(b.into()))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
/// Storage: `Common::CollectionPropertyPermissions` (r:1 w:1)
@@ -475,10 +475,10 @@
// Proof Size summary in bytes:
// Measured: `314`
// Estimated: `20191`
- // Minimum execution time: 1_460_000 picoseconds.
- Weight::from_parts(1_530_000, 20191)
- // Standard Error: 124_929
- .saturating_add(Weight::from_parts(28_397_581, 0).saturating_mul(b.into()))
+ // Minimum execution time: 3_151_000 picoseconds.
+ Weight::from_parts(3_276_000, 20191)
+ // Standard Error: 169_159
+ .saturating_add(Weight::from_parts(38_018_122, 0).saturating_mul(b.into()))
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -488,8 +488,8 @@
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
- // Minimum execution time: 6_840_000 picoseconds.
- Weight::from_parts(7_160_000, 0)
+ // Minimum execution time: 11_146_000 picoseconds.
+ Weight::from_parts(11_344_000, 0)
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
/// Storage: `Nonfungible::CollectionAllowance` (r:1 w:0)
@@ -498,8 +498,8 @@
// Proof Size summary in bytes:
// Measured: `142`
// Estimated: `3576`
- // Minimum execution time: 3_630_000 picoseconds.
- Weight::from_parts(3_780_000, 3576)
+ // Minimum execution time: 5_413_000 picoseconds.
+ Weight::from_parts(5_593_000, 3576)
.saturating_add(RocksDbWeight::get().reads(1_u64))
}
/// Storage: `Nonfungible::TokenProperties` (r:1 w:1)
@@ -508,8 +508,8 @@
// Proof Size summary in bytes:
// Measured: `279`
// Estimated: `36269`
- // Minimum execution time: 3_280_000 picoseconds.
- Weight::from_parts(3_480_000, 36269)
+ // Minimum execution time: 4_968_000 picoseconds.
+ Weight::from_parts(5_138_000, 36269)
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
pallets/refungible/src/weights.rsdiffbeforeafterboth1// Template adopted from https://github.com/paritytech/substrate/blob/master/.maintain/frame-weight-template.hbs23//! Autogenerated weights for pallet_refungible4//!5//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev6//! DATE: 2023-10-13, STEPS: `50`, REPEAT: `80`, LOW RANGE: `[]`, HIGH RANGE: `[]`7//! WORST CASE MAP SIZE: `1000000`8//! HOSTNAME: `hearthstone`, CPU: `AMD Ryzen 9 7950X3D 16-Core Processor`9//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 10241011// Executed Command:12// ./target/production/unique-collator13// benchmark14// pallet15// --pallet16// pallet-refungible17// --wasm-execution18// compiled19// --extrinsic20// *21// --template=.maintain/frame-weight-template.hbs22// --steps=5023// --repeat=8024// --heap-pages=409625// --output=./pallets/refungible/src/weights.rs2627#![cfg_attr(rustfmt, rustfmt_skip)]28#![allow(unused_parens)]29#![allow(unused_imports)]3031use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}};32use sp_std::marker::PhantomData;3334/// Weight functions needed for pallet_refungible.35pub trait WeightInfo {36 fn create_item() -> Weight;37 fn create_multiple_items(b: u32, ) -> Weight;38 fn create_multiple_items_ex_multiple_items(b: u32, ) -> Weight;39 fn create_multiple_items_ex_multiple_owners(b: u32, ) -> Weight;40 fn burn_item_partial() -> Weight;41 fn burn_item_fully() -> Weight;42 fn transfer_normal() -> Weight;43 fn transfer_creating() -> Weight;44 fn transfer_removing() -> Weight;45 fn transfer_creating_removing() -> Weight;46 fn approve() -> Weight;47 fn approve_from() -> Weight;48 fn transfer_from_normal() -> Weight;49 fn transfer_from_creating() -> Weight;50 fn transfer_from_removing() -> Weight;51 fn transfer_from_creating_removing() -> Weight;52 fn burn_from() -> Weight;53 fn load_token_properties() -> Weight;54 fn write_token_properties(b: u32, ) -> Weight;55 fn set_token_property_permissions(b: u32, ) -> Weight;56 fn repartition_item() -> Weight;57 fn set_allowance_for_all() -> Weight;58 fn allowance_for_all() -> Weight;59 fn repair_item() -> Weight;60}6162/// Weights for pallet_refungible using the Substrate node and recommended hardware.63pub struct SubstrateWeight<T>(PhantomData<T>);64impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {65 /// Storage: `Refungible::TokensMinted` (r:1 w:1)66 /// Proof: `Refungible::TokensMinted` (`max_values`: None, `max_size`: Some(16), added: 2491, mode: `MaxEncodedLen`)67 /// Storage: `Refungible::AccountBalance` (r:1 w:1)68 /// Proof: `Refungible::AccountBalance` (`max_values`: None, `max_size`: Some(65), added: 2540, mode: `MaxEncodedLen`)69 /// Storage: `Refungible::Balance` (r:0 w:1)70 /// Proof: `Refungible::Balance` (`max_values`: None, `max_size`: Some(89), added: 2564, mode: `MaxEncodedLen`)71 /// Storage: `Refungible::TotalSupply` (r:0 w:1)72 /// Proof: `Refungible::TotalSupply` (`max_values`: None, `max_size`: Some(40), added: 2515, mode: `MaxEncodedLen`)73 /// Storage: `Refungible::Owned` (r:0 w:1)74 /// Proof: `Refungible::Owned` (`max_values`: None, `max_size`: Some(74), added: 2549, mode: `MaxEncodedLen`)75 fn create_item() -> Weight {76 // Proof Size summary in bytes:77 // Measured: `4`78 // Estimated: `3530`79 // Minimum execution time: 19_400_000 picoseconds.80 Weight::from_parts(19_890_000, 3530)81 .saturating_add(T::DbWeight::get().reads(2_u64))82 .saturating_add(T::DbWeight::get().writes(5_u64))83 }84 /// Storage: `Refungible::TokensMinted` (r:1 w:1)85 /// Proof: `Refungible::TokensMinted` (`max_values`: None, `max_size`: Some(16), added: 2491, mode: `MaxEncodedLen`)86 /// Storage: `Refungible::AccountBalance` (r:1 w:1)87 /// Proof: `Refungible::AccountBalance` (`max_values`: None, `max_size`: Some(65), added: 2540, mode: `MaxEncodedLen`)88 /// Storage: `Refungible::Balance` (r:0 w:200)89 /// Proof: `Refungible::Balance` (`max_values`: None, `max_size`: Some(89), added: 2564, mode: `MaxEncodedLen`)90 /// Storage: `Refungible::TotalSupply` (r:0 w:200)91 /// Proof: `Refungible::TotalSupply` (`max_values`: None, `max_size`: Some(40), added: 2515, mode: `MaxEncodedLen`)92 /// Storage: `Refungible::Owned` (r:0 w:200)93 /// Proof: `Refungible::Owned` (`max_values`: None, `max_size`: Some(74), added: 2549, mode: `MaxEncodedLen`)94 /// The range of component `b` is `[0, 200]`.95 fn create_multiple_items(b: u32, ) -> Weight {96 // Proof Size summary in bytes:97 // Measured: `4`98 // Estimated: `3530`99 // Minimum execution time: 3_120_000 picoseconds.100 Weight::from_parts(3_310_000, 3530)101 // Standard Error: 2_748102 .saturating_add(Weight::from_parts(11_489_631, 0).saturating_mul(b.into()))103 .saturating_add(T::DbWeight::get().reads(2_u64))104 .saturating_add(T::DbWeight::get().writes(2_u64))105 .saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(b.into())))106 }107 /// Storage: `Refungible::TokensMinted` (r:1 w:1)108 /// Proof: `Refungible::TokensMinted` (`max_values`: None, `max_size`: Some(16), added: 2491, mode: `MaxEncodedLen`)109 /// Storage: `Refungible::AccountBalance` (r:200 w:200)110 /// Proof: `Refungible::AccountBalance` (`max_values`: None, `max_size`: Some(65), added: 2540, mode: `MaxEncodedLen`)111 /// Storage: `Refungible::Balance` (r:0 w:200)112 /// Proof: `Refungible::Balance` (`max_values`: None, `max_size`: Some(89), added: 2564, mode: `MaxEncodedLen`)113 /// Storage: `Refungible::TotalSupply` (r:0 w:200)114 /// Proof: `Refungible::TotalSupply` (`max_values`: None, `max_size`: Some(40), added: 2515, mode: `MaxEncodedLen`)115 /// Storage: `Refungible::Owned` (r:0 w:200)116 /// Proof: `Refungible::Owned` (`max_values`: None, `max_size`: Some(74), added: 2549, mode: `MaxEncodedLen`)117 /// The range of component `b` is `[0, 200]`.118 fn create_multiple_items_ex_multiple_items(b: u32, ) -> Weight {119 // Proof Size summary in bytes:120 // Measured: `4`121 // Estimated: `3481 + b * (2540 ±0)`122 // Minimum execution time: 3_180_000 picoseconds.123 Weight::from_parts(2_015_490, 3481)124 // Standard Error: 6_052125 .saturating_add(Weight::from_parts(14_837_077, 0).saturating_mul(b.into()))126 .saturating_add(T::DbWeight::get().reads(1_u64))127 .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(b.into())))128 .saturating_add(T::DbWeight::get().writes(1_u64))129 .saturating_add(T::DbWeight::get().writes((4_u64).saturating_mul(b.into())))130 .saturating_add(Weight::from_parts(0, 2540).saturating_mul(b.into()))131 }132 /// Storage: `Refungible::TokensMinted` (r:1 w:1)133 /// Proof: `Refungible::TokensMinted` (`max_values`: None, `max_size`: Some(16), added: 2491, mode: `MaxEncodedLen`)134 /// Storage: `Refungible::AccountBalance` (r:200 w:200)135 /// Proof: `Refungible::AccountBalance` (`max_values`: None, `max_size`: Some(65), added: 2540, mode: `MaxEncodedLen`)136 /// Storage: `Refungible::Balance` (r:0 w:200)137 /// Proof: `Refungible::Balance` (`max_values`: None, `max_size`: Some(89), added: 2564, mode: `MaxEncodedLen`)138 /// Storage: `Refungible::TotalSupply` (r:0 w:1)139 /// Proof: `Refungible::TotalSupply` (`max_values`: None, `max_size`: Some(40), added: 2515, mode: `MaxEncodedLen`)140 /// Storage: `Refungible::Owned` (r:0 w:200)141 /// Proof: `Refungible::Owned` (`max_values`: None, `max_size`: Some(74), added: 2549, mode: `MaxEncodedLen`)142 /// The range of component `b` is `[0, 200]`.143 fn create_multiple_items_ex_multiple_owners(b: u32, ) -> Weight {144 // Proof Size summary in bytes:145 // Measured: `4`146 // Estimated: `3481 + b * (2540 ±0)`147 // Minimum execution time: 5_200_000 picoseconds.148 Weight::from_parts(25_301_631, 3481)149 // Standard Error: 6_177150 .saturating_add(Weight::from_parts(11_197_931, 0).saturating_mul(b.into()))151 .saturating_add(T::DbWeight::get().reads(1_u64))152 .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(b.into())))153 .saturating_add(T::DbWeight::get().writes(2_u64))154 .saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(b.into())))155 .saturating_add(Weight::from_parts(0, 2540).saturating_mul(b.into()))156 }157 /// Storage: `Refungible::Balance` (r:3 w:1)158 /// Proof: `Refungible::Balance` (`max_values`: None, `max_size`: Some(89), added: 2564, mode: `MaxEncodedLen`)159 /// Storage: `Refungible::TotalSupply` (r:1 w:1)160 /// Proof: `Refungible::TotalSupply` (`max_values`: None, `max_size`: Some(40), added: 2515, mode: `MaxEncodedLen`)161 /// Storage: `Refungible::AccountBalance` (r:1 w:1)162 /// Proof: `Refungible::AccountBalance` (`max_values`: None, `max_size`: Some(65), added: 2540, mode: `MaxEncodedLen`)163 /// Storage: `Refungible::Owned` (r:0 w:1)164 /// Proof: `Refungible::Owned` (`max_values`: None, `max_size`: Some(74), added: 2549, mode: `MaxEncodedLen`)165 fn burn_item_partial() -> Weight {166 // Proof Size summary in bytes:167 // Measured: `456`168 // Estimated: `8682`169 // Minimum execution time: 29_540_000 picoseconds.170 Weight::from_parts(30_190_000, 8682)171 .saturating_add(T::DbWeight::get().reads(5_u64))172 .saturating_add(T::DbWeight::get().writes(4_u64))173 }174 /// Storage: `Refungible::Balance` (r:1 w:1)175 /// Proof: `Refungible::Balance` (`max_values`: None, `max_size`: Some(89), added: 2564, mode: `MaxEncodedLen`)176 /// Storage: `Refungible::TotalSupply` (r:1 w:1)177 /// Proof: `Refungible::TotalSupply` (`max_values`: None, `max_size`: Some(40), added: 2515, mode: `MaxEncodedLen`)178 /// Storage: `Refungible::AccountBalance` (r:1 w:1)179 /// Proof: `Refungible::AccountBalance` (`max_values`: None, `max_size`: Some(65), added: 2540, mode: `MaxEncodedLen`)180 /// Storage: `Refungible::TokensBurnt` (r:1 w:1)181 /// Proof: `Refungible::TokensBurnt` (`max_values`: None, `max_size`: Some(16), added: 2491, mode: `MaxEncodedLen`)182 /// Storage: `Refungible::Owned` (r:0 w:1)183 /// Proof: `Refungible::Owned` (`max_values`: None, `max_size`: Some(74), added: 2549, mode: `MaxEncodedLen`)184 /// Storage: `Refungible::TokenProperties` (r:0 w:1)185 /// Proof: `Refungible::TokenProperties` (`max_values`: None, `max_size`: Some(32804), added: 35279, mode: `MaxEncodedLen`)186 fn burn_item_fully() -> Weight {187 // Proof Size summary in bytes:188 // Measured: `341`189 // Estimated: `3554`190 // Minimum execution time: 30_650_000 picoseconds.191 Weight::from_parts(31_370_000, 3554)192 .saturating_add(T::DbWeight::get().reads(4_u64))193 .saturating_add(T::DbWeight::get().writes(6_u64))194 }195 /// Storage: `Refungible::Balance` (r:2 w:2)196 /// Proof: `Refungible::Balance` (`max_values`: None, `max_size`: Some(89), added: 2564, mode: `MaxEncodedLen`)197 /// Storage: `Refungible::TotalSupply` (r:1 w:0)198 /// Proof: `Refungible::TotalSupply` (`max_values`: None, `max_size`: Some(40), added: 2515, mode: `MaxEncodedLen`)199 fn transfer_normal() -> Weight {200 // Proof Size summary in bytes:201 // Measured: `365`202 // Estimated: `6118`203 // Minimum execution time: 18_530_000 picoseconds.204 Weight::from_parts(19_010_000, 6118)205 .saturating_add(T::DbWeight::get().reads(3_u64))206 .saturating_add(T::DbWeight::get().writes(2_u64))207 }208 /// Storage: `Refungible::Balance` (r:2 w:2)209 /// Proof: `Refungible::Balance` (`max_values`: None, `max_size`: Some(89), added: 2564, mode: `MaxEncodedLen`)210 /// Storage: `Refungible::AccountBalance` (r:1 w:1)211 /// Proof: `Refungible::AccountBalance` (`max_values`: None, `max_size`: Some(65), added: 2540, mode: `MaxEncodedLen`)212 /// Storage: `Refungible::TotalSupply` (r:1 w:0)213 /// Proof: `Refungible::TotalSupply` (`max_values`: None, `max_size`: Some(40), added: 2515, mode: `MaxEncodedLen`)214 /// Storage: `Refungible::Owned` (r:0 w:1)215 /// Proof: `Refungible::Owned` (`max_values`: None, `max_size`: Some(74), added: 2549, mode: `MaxEncodedLen`)216 fn transfer_creating() -> Weight {217 // Proof Size summary in bytes:218 // Measured: `341`219 // Estimated: `6118`220 // Minimum execution time: 24_240_000 picoseconds.221 Weight::from_parts(24_760_000, 6118)222 .saturating_add(T::DbWeight::get().reads(4_u64))223 .saturating_add(T::DbWeight::get().writes(4_u64))224 }225 /// Storage: `Refungible::Balance` (r:2 w:2)226 /// Proof: `Refungible::Balance` (`max_values`: None, `max_size`: Some(89), added: 2564, mode: `MaxEncodedLen`)227 /// Storage: `Refungible::AccountBalance` (r:1 w:1)228 /// Proof: `Refungible::AccountBalance` (`max_values`: None, `max_size`: Some(65), added: 2540, mode: `MaxEncodedLen`)229 /// Storage: `Refungible::TotalSupply` (r:1 w:0)230 /// Proof: `Refungible::TotalSupply` (`max_values`: None, `max_size`: Some(40), added: 2515, mode: `MaxEncodedLen`)231 /// Storage: `Refungible::Owned` (r:0 w:1)232 /// Proof: `Refungible::Owned` (`max_values`: None, `max_size`: Some(74), added: 2549, mode: `MaxEncodedLen`)233 fn transfer_removing() -> Weight {234 // Proof Size summary in bytes:235 // Measured: `456`236 // Estimated: `6118`237 // Minimum execution time: 25_990_000 picoseconds.238 Weight::from_parts(26_650_000, 6118)239 .saturating_add(T::DbWeight::get().reads(4_u64))240 .saturating_add(T::DbWeight::get().writes(4_u64))241 }242 /// Storage: `Refungible::Balance` (r:2 w:2)243 /// Proof: `Refungible::Balance` (`max_values`: None, `max_size`: Some(89), added: 2564, mode: `MaxEncodedLen`)244 /// Storage: `Refungible::AccountBalance` (r:2 w:2)245 /// Proof: `Refungible::AccountBalance` (`max_values`: None, `max_size`: Some(65), added: 2540, mode: `MaxEncodedLen`)246 /// Storage: `Refungible::TotalSupply` (r:1 w:0)247 /// Proof: `Refungible::TotalSupply` (`max_values`: None, `max_size`: Some(40), added: 2515, mode: `MaxEncodedLen`)248 /// Storage: `Refungible::Owned` (r:0 w:2)249 /// Proof: `Refungible::Owned` (`max_values`: None, `max_size`: Some(74), added: 2549, mode: `MaxEncodedLen`)250 fn transfer_creating_removing() -> Weight {251 // Proof Size summary in bytes:252 // Measured: `341`253 // Estimated: `6118`254 // Minimum execution time: 29_550_000 picoseconds.255 Weight::from_parts(30_530_000, 6118)256 .saturating_add(T::DbWeight::get().reads(5_u64))257 .saturating_add(T::DbWeight::get().writes(6_u64))258 }259 /// Storage: `Refungible::Balance` (r:1 w:0)260 /// Proof: `Refungible::Balance` (`max_values`: None, `max_size`: Some(89), added: 2564, mode: `MaxEncodedLen`)261 /// Storage: `Refungible::Allowance` (r:0 w:1)262 /// Proof: `Refungible::Allowance` (`max_values`: None, `max_size`: Some(105), added: 2580, mode: `MaxEncodedLen`)263 fn approve() -> Weight {264 // Proof Size summary in bytes:265 // Measured: `223`266 // Estimated: `3554`267 // Minimum execution time: 11_420_000 picoseconds.268 Weight::from_parts(11_810_000, 3554)269 .saturating_add(T::DbWeight::get().reads(1_u64))270 .saturating_add(T::DbWeight::get().writes(1_u64))271 }272 /// Storage: `Refungible::Balance` (r:1 w:0)273 /// Proof: `Refungible::Balance` (`max_values`: None, `max_size`: Some(89), added: 2564, mode: `MaxEncodedLen`)274 /// Storage: `Refungible::Allowance` (r:0 w:1)275 /// Proof: `Refungible::Allowance` (`max_values`: None, `max_size`: Some(105), added: 2580, mode: `MaxEncodedLen`)276 fn approve_from() -> Weight {277 // Proof Size summary in bytes:278 // Measured: `211`279 // Estimated: `3554`280 // Minimum execution time: 11_610_000 picoseconds.281 Weight::from_parts(11_950_000, 3554)282 .saturating_add(T::DbWeight::get().reads(1_u64))283 .saturating_add(T::DbWeight::get().writes(1_u64))284 }285 /// Storage: `Refungible::Allowance` (r:1 w:1)286 /// Proof: `Refungible::Allowance` (`max_values`: None, `max_size`: Some(105), added: 2580, mode: `MaxEncodedLen`)287 /// Storage: `Refungible::Balance` (r:2 w:2)288 /// Proof: `Refungible::Balance` (`max_values`: None, `max_size`: Some(89), added: 2564, mode: `MaxEncodedLen`)289 /// Storage: `Refungible::TotalSupply` (r:1 w:0)290 /// Proof: `Refungible::TotalSupply` (`max_values`: None, `max_size`: Some(40), added: 2515, mode: `MaxEncodedLen`)291 fn transfer_from_normal() -> Weight {292 // Proof Size summary in bytes:293 // Measured: `495`294 // Estimated: `6118`295 // Minimum execution time: 28_510_000 picoseconds.296 Weight::from_parts(29_180_000, 6118)297 .saturating_add(T::DbWeight::get().reads(4_u64))298 .saturating_add(T::DbWeight::get().writes(3_u64))299 }300 /// Storage: `Refungible::Allowance` (r:1 w:1)301 /// Proof: `Refungible::Allowance` (`max_values`: None, `max_size`: Some(105), added: 2580, mode: `MaxEncodedLen`)302 /// Storage: `Refungible::Balance` (r:2 w:2)303 /// Proof: `Refungible::Balance` (`max_values`: None, `max_size`: Some(89), added: 2564, mode: `MaxEncodedLen`)304 /// Storage: `Refungible::AccountBalance` (r:1 w:1)305 /// Proof: `Refungible::AccountBalance` (`max_values`: None, `max_size`: Some(65), added: 2540, mode: `MaxEncodedLen`)306 /// Storage: `Refungible::TotalSupply` (r:1 w:0)307 /// Proof: `Refungible::TotalSupply` (`max_values`: None, `max_size`: Some(40), added: 2515, mode: `MaxEncodedLen`)308 /// Storage: `Refungible::Owned` (r:0 w:1)309 /// Proof: `Refungible::Owned` (`max_values`: None, `max_size`: Some(74), added: 2549, mode: `MaxEncodedLen`)310 fn transfer_from_creating() -> Weight {311 // Proof Size summary in bytes:312 // Measured: `471`313 // Estimated: `6118`314 // Minimum execution time: 34_370_000 picoseconds.315 Weight::from_parts(35_270_000, 6118)316 .saturating_add(T::DbWeight::get().reads(5_u64))317 .saturating_add(T::DbWeight::get().writes(5_u64))318 }319 /// Storage: `Refungible::Allowance` (r:1 w:1)320 /// Proof: `Refungible::Allowance` (`max_values`: None, `max_size`: Some(105), added: 2580, mode: `MaxEncodedLen`)321 /// Storage: `Refungible::Balance` (r:2 w:2)322 /// Proof: `Refungible::Balance` (`max_values`: None, `max_size`: Some(89), added: 2564, mode: `MaxEncodedLen`)323 /// Storage: `Refungible::AccountBalance` (r:1 w:1)324 /// Proof: `Refungible::AccountBalance` (`max_values`: None, `max_size`: Some(65), added: 2540, mode: `MaxEncodedLen`)325 /// Storage: `Refungible::TotalSupply` (r:1 w:0)326 /// Proof: `Refungible::TotalSupply` (`max_values`: None, `max_size`: Some(40), added: 2515, mode: `MaxEncodedLen`)327 /// Storage: `Refungible::Owned` (r:0 w:1)328 /// Proof: `Refungible::Owned` (`max_values`: None, `max_size`: Some(74), added: 2549, mode: `MaxEncodedLen`)329 fn transfer_from_removing() -> Weight {330 // Proof Size summary in bytes:331 // Measured: `586`332 // Estimated: `6118`333 // Minimum execution time: 36_490_000 picoseconds.334 Weight::from_parts(37_160_000, 6118)335 .saturating_add(T::DbWeight::get().reads(5_u64))336 .saturating_add(T::DbWeight::get().writes(5_u64))337 }338 /// Storage: `Refungible::Allowance` (r:1 w:1)339 /// Proof: `Refungible::Allowance` (`max_values`: None, `max_size`: Some(105), added: 2580, mode: `MaxEncodedLen`)340 /// Storage: `Refungible::Balance` (r:2 w:2)341 /// Proof: `Refungible::Balance` (`max_values`: None, `max_size`: Some(89), added: 2564, mode: `MaxEncodedLen`)342 /// Storage: `Refungible::AccountBalance` (r:2 w:2)343 /// Proof: `Refungible::AccountBalance` (`max_values`: None, `max_size`: Some(65), added: 2540, mode: `MaxEncodedLen`)344 /// Storage: `Refungible::TotalSupply` (r:1 w:0)345 /// Proof: `Refungible::TotalSupply` (`max_values`: None, `max_size`: Some(40), added: 2515, mode: `MaxEncodedLen`)346 /// Storage: `Refungible::Owned` (r:0 w:2)347 /// Proof: `Refungible::Owned` (`max_values`: None, `max_size`: Some(74), added: 2549, mode: `MaxEncodedLen`)348 fn transfer_from_creating_removing() -> Weight {349 // Proof Size summary in bytes:350 // Measured: `471`351 // Estimated: `6118`352 // Minimum execution time: 40_080_000 picoseconds.353 Weight::from_parts(48_310_000, 6118)354 .saturating_add(T::DbWeight::get().reads(6_u64))355 .saturating_add(T::DbWeight::get().writes(7_u64))356 }357 /// Storage: `Refungible::Allowance` (r:1 w:1)358 /// Proof: `Refungible::Allowance` (`max_values`: None, `max_size`: Some(105), added: 2580, mode: `MaxEncodedLen`)359 /// Storage: `Refungible::Balance` (r:1 w:1)360 /// Proof: `Refungible::Balance` (`max_values`: None, `max_size`: Some(89), added: 2564, mode: `MaxEncodedLen`)361 /// Storage: `Refungible::TotalSupply` (r:1 w:1)362 /// Proof: `Refungible::TotalSupply` (`max_values`: None, `max_size`: Some(40), added: 2515, mode: `MaxEncodedLen`)363 /// Storage: `Refungible::AccountBalance` (r:1 w:1)364 /// Proof: `Refungible::AccountBalance` (`max_values`: None, `max_size`: Some(65), added: 2540, mode: `MaxEncodedLen`)365 /// Storage: `Refungible::TokensBurnt` (r:1 w:1)366 /// Proof: `Refungible::TokensBurnt` (`max_values`: None, `max_size`: Some(16), added: 2491, mode: `MaxEncodedLen`)367 /// Storage: `Refungible::Owned` (r:0 w:1)368 /// Proof: `Refungible::Owned` (`max_values`: None, `max_size`: Some(74), added: 2549, mode: `MaxEncodedLen`)369 /// Storage: `Refungible::TokenProperties` (r:0 w:1)370 /// Proof: `Refungible::TokenProperties` (`max_values`: None, `max_size`: Some(32804), added: 35279, mode: `MaxEncodedLen`)371 fn burn_from() -> Weight {372 // Proof Size summary in bytes:373 // Measured: `471`374 // Estimated: `3570`375 // Minimum execution time: 41_100_000 picoseconds.376 Weight::from_parts(42_060_000, 3570)377 .saturating_add(T::DbWeight::get().reads(5_u64))378 .saturating_add(T::DbWeight::get().writes(7_u64))379 }380 /// Storage: `Refungible::TokenProperties` (r:1 w:0)381 /// Proof: `Refungible::TokenProperties` (`max_values`: None, `max_size`: Some(32804), added: 35279, mode: `MaxEncodedLen`)382 fn load_token_properties() -> Weight {383 // Proof Size summary in bytes:384 // Measured: `120`385 // Estimated: `36269`386 // Minimum execution time: 2_520_000 picoseconds.387 Weight::from_parts(2_670_000, 36269)388 .saturating_add(T::DbWeight::get().reads(1_u64))389 }390 /// Storage: `Refungible::TokenProperties` (r:0 w:1)391 /// Proof: `Refungible::TokenProperties` (`max_values`: None, `max_size`: Some(32804), added: 35279, mode: `MaxEncodedLen`)392 /// The range of component `b` is `[0, 64]`.393 fn write_token_properties(b: u32, ) -> Weight {394 // Proof Size summary in bytes:395 // Measured: `0`396 // Estimated: `0`397 // Minimum execution time: 490_000 picoseconds.398 Weight::from_parts(3_457_547, 0)399 // Standard Error: 24_239400 .saturating_add(Weight::from_parts(19_382_722, 0).saturating_mul(b.into()))401 .saturating_add(T::DbWeight::get().writes(1_u64))402 }403 /// Storage: `Common::CollectionPropertyPermissions` (r:1 w:1)404 /// Proof: `Common::CollectionPropertyPermissions` (`max_values`: None, `max_size`: Some(16726), added: 19201, mode: `MaxEncodedLen`)405 /// The range of component `b` is `[0, 64]`.406 fn set_token_property_permissions(b: u32, ) -> Weight {407 // Proof Size summary in bytes:408 // Measured: `314`409 // Estimated: `20191`410 // Minimum execution time: 1_500_000 picoseconds.411 Weight::from_parts(1_590_000, 20191)412 // Standard Error: 123_927413 .saturating_add(Weight::from_parts(27_355_093, 0).saturating_mul(b.into()))414 .saturating_add(T::DbWeight::get().reads(1_u64))415 .saturating_add(T::DbWeight::get().writes(1_u64))416 }417 /// Storage: `Refungible::TotalSupply` (r:1 w:1)418 /// Proof: `Refungible::TotalSupply` (`max_values`: None, `max_size`: Some(40), added: 2515, mode: `MaxEncodedLen`)419 /// Storage: `Refungible::Balance` (r:1 w:1)420 /// Proof: `Refungible::Balance` (`max_values`: None, `max_size`: Some(89), added: 2564, mode: `MaxEncodedLen`)421 fn repartition_item() -> Weight {422 // Proof Size summary in bytes:423 // Measured: `288`424 // Estimated: `3554`425 // Minimum execution time: 14_340_000 picoseconds.426 Weight::from_parts(14_590_000, 3554)427 .saturating_add(T::DbWeight::get().reads(2_u64))428 .saturating_add(T::DbWeight::get().writes(2_u64))429 }430 /// Storage: `Refungible::CollectionAllowance` (r:0 w:1)431 /// Proof: `Refungible::CollectionAllowance` (`max_values`: None, `max_size`: Some(111), added: 2586, mode: `MaxEncodedLen`)432 fn set_allowance_for_all() -> Weight {433 // Proof Size summary in bytes:434 // Measured: `0`435 // Estimated: `0`436 // Minimum execution time: 6_390_000 picoseconds.437 Weight::from_parts(6_650_000, 0)438 .saturating_add(T::DbWeight::get().writes(1_u64))439 }440 /// Storage: `Refungible::CollectionAllowance` (r:1 w:0)441 /// Proof: `Refungible::CollectionAllowance` (`max_values`: None, `max_size`: Some(111), added: 2586, mode: `MaxEncodedLen`)442 fn allowance_for_all() -> Weight {443 // Proof Size summary in bytes:444 // Measured: `4`445 // Estimated: `3576`446 // Minimum execution time: 3_060_000 picoseconds.447 Weight::from_parts(3_210_000, 3576)448 .saturating_add(T::DbWeight::get().reads(1_u64))449 }450 /// Storage: `Refungible::TokenProperties` (r:1 w:1)451 /// Proof: `Refungible::TokenProperties` (`max_values`: None, `max_size`: Some(32804), added: 35279, mode: `MaxEncodedLen`)452 fn repair_item() -> Weight {453 // Proof Size summary in bytes:454 // Measured: `120`455 // Estimated: `36269`456 // Minimum execution time: 2_480_000 picoseconds.457 Weight::from_parts(2_620_000, 36269)458 .saturating_add(T::DbWeight::get().reads(1_u64))459 .saturating_add(T::DbWeight::get().writes(1_u64))460 }461}462463// For backwards compatibility and tests464impl WeightInfo for () {465 /// Storage: `Refungible::TokensMinted` (r:1 w:1)466 /// Proof: `Refungible::TokensMinted` (`max_values`: None, `max_size`: Some(16), added: 2491, mode: `MaxEncodedLen`)467 /// Storage: `Refungible::AccountBalance` (r:1 w:1)468 /// Proof: `Refungible::AccountBalance` (`max_values`: None, `max_size`: Some(65), added: 2540, mode: `MaxEncodedLen`)469 /// Storage: `Refungible::Balance` (r:0 w:1)470 /// Proof: `Refungible::Balance` (`max_values`: None, `max_size`: Some(89), added: 2564, mode: `MaxEncodedLen`)471 /// Storage: `Refungible::TotalSupply` (r:0 w:1)472 /// Proof: `Refungible::TotalSupply` (`max_values`: None, `max_size`: Some(40), added: 2515, mode: `MaxEncodedLen`)473 /// Storage: `Refungible::Owned` (r:0 w:1)474 /// Proof: `Refungible::Owned` (`max_values`: None, `max_size`: Some(74), added: 2549, mode: `MaxEncodedLen`)475 fn create_item() -> Weight {476 // Proof Size summary in bytes:477 // Measured: `4`478 // Estimated: `3530`479 // Minimum execution time: 19_400_000 picoseconds.480 Weight::from_parts(19_890_000, 3530)481 .saturating_add(RocksDbWeight::get().reads(2_u64))482 .saturating_add(RocksDbWeight::get().writes(5_u64))483 }484 /// Storage: `Refungible::TokensMinted` (r:1 w:1)485 /// Proof: `Refungible::TokensMinted` (`max_values`: None, `max_size`: Some(16), added: 2491, mode: `MaxEncodedLen`)486 /// Storage: `Refungible::AccountBalance` (r:1 w:1)487 /// Proof: `Refungible::AccountBalance` (`max_values`: None, `max_size`: Some(65), added: 2540, mode: `MaxEncodedLen`)488 /// Storage: `Refungible::Balance` (r:0 w:200)489 /// Proof: `Refungible::Balance` (`max_values`: None, `max_size`: Some(89), added: 2564, mode: `MaxEncodedLen`)490 /// Storage: `Refungible::TotalSupply` (r:0 w:200)491 /// Proof: `Refungible::TotalSupply` (`max_values`: None, `max_size`: Some(40), added: 2515, mode: `MaxEncodedLen`)492 /// Storage: `Refungible::Owned` (r:0 w:200)493 /// Proof: `Refungible::Owned` (`max_values`: None, `max_size`: Some(74), added: 2549, mode: `MaxEncodedLen`)494 /// The range of component `b` is `[0, 200]`.495 fn create_multiple_items(b: u32, ) -> Weight {496 // Proof Size summary in bytes:497 // Measured: `4`498 // Estimated: `3530`499 // Minimum execution time: 3_120_000 picoseconds.500 Weight::from_parts(3_310_000, 3530)501 // Standard Error: 2_748502 .saturating_add(Weight::from_parts(11_489_631, 0).saturating_mul(b.into()))503 .saturating_add(RocksDbWeight::get().reads(2_u64))504 .saturating_add(RocksDbWeight::get().writes(2_u64))505 .saturating_add(RocksDbWeight::get().writes((3_u64).saturating_mul(b.into())))506 }507 /// Storage: `Refungible::TokensMinted` (r:1 w:1)508 /// Proof: `Refungible::TokensMinted` (`max_values`: None, `max_size`: Some(16), added: 2491, mode: `MaxEncodedLen`)509 /// Storage: `Refungible::AccountBalance` (r:200 w:200)510 /// Proof: `Refungible::AccountBalance` (`max_values`: None, `max_size`: Some(65), added: 2540, mode: `MaxEncodedLen`)511 /// Storage: `Refungible::Balance` (r:0 w:200)512 /// Proof: `Refungible::Balance` (`max_values`: None, `max_size`: Some(89), added: 2564, mode: `MaxEncodedLen`)513 /// Storage: `Refungible::TotalSupply` (r:0 w:200)514 /// Proof: `Refungible::TotalSupply` (`max_values`: None, `max_size`: Some(40), added: 2515, mode: `MaxEncodedLen`)515 /// Storage: `Refungible::Owned` (r:0 w:200)516 /// Proof: `Refungible::Owned` (`max_values`: None, `max_size`: Some(74), added: 2549, mode: `MaxEncodedLen`)517 /// The range of component `b` is `[0, 200]`.518 fn create_multiple_items_ex_multiple_items(b: u32, ) -> Weight {519 // Proof Size summary in bytes:520 // Measured: `4`521 // Estimated: `3481 + b * (2540 ±0)`522 // Minimum execution time: 3_180_000 picoseconds.523 Weight::from_parts(2_015_490, 3481)524 // Standard Error: 6_052525 .saturating_add(Weight::from_parts(14_837_077, 0).saturating_mul(b.into()))526 .saturating_add(RocksDbWeight::get().reads(1_u64))527 .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(b.into())))528 .saturating_add(RocksDbWeight::get().writes(1_u64))529 .saturating_add(RocksDbWeight::get().writes((4_u64).saturating_mul(b.into())))530 .saturating_add(Weight::from_parts(0, 2540).saturating_mul(b.into()))531 }532 /// Storage: `Refungible::TokensMinted` (r:1 w:1)533 /// Proof: `Refungible::TokensMinted` (`max_values`: None, `max_size`: Some(16), added: 2491, mode: `MaxEncodedLen`)534 /// Storage: `Refungible::AccountBalance` (r:200 w:200)535 /// Proof: `Refungible::AccountBalance` (`max_values`: None, `max_size`: Some(65), added: 2540, mode: `MaxEncodedLen`)536 /// Storage: `Refungible::Balance` (r:0 w:200)537 /// Proof: `Refungible::Balance` (`max_values`: None, `max_size`: Some(89), added: 2564, mode: `MaxEncodedLen`)538 /// Storage: `Refungible::TotalSupply` (r:0 w:1)539 /// Proof: `Refungible::TotalSupply` (`max_values`: None, `max_size`: Some(40), added: 2515, mode: `MaxEncodedLen`)540 /// Storage: `Refungible::Owned` (r:0 w:200)541 /// Proof: `Refungible::Owned` (`max_values`: None, `max_size`: Some(74), added: 2549, mode: `MaxEncodedLen`)542 /// The range of component `b` is `[0, 200]`.543 fn create_multiple_items_ex_multiple_owners(b: u32, ) -> Weight {544 // Proof Size summary in bytes:545 // Measured: `4`546 // Estimated: `3481 + b * (2540 ±0)`547 // Minimum execution time: 5_200_000 picoseconds.548 Weight::from_parts(25_301_631, 3481)549 // Standard Error: 6_177550 .saturating_add(Weight::from_parts(11_197_931, 0).saturating_mul(b.into()))551 .saturating_add(RocksDbWeight::get().reads(1_u64))552 .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(b.into())))553 .saturating_add(RocksDbWeight::get().writes(2_u64))554 .saturating_add(RocksDbWeight::get().writes((3_u64).saturating_mul(b.into())))555 .saturating_add(Weight::from_parts(0, 2540).saturating_mul(b.into()))556 }557 /// Storage: `Refungible::Balance` (r:3 w:1)558 /// Proof: `Refungible::Balance` (`max_values`: None, `max_size`: Some(89), added: 2564, mode: `MaxEncodedLen`)559 /// Storage: `Refungible::TotalSupply` (r:1 w:1)560 /// Proof: `Refungible::TotalSupply` (`max_values`: None, `max_size`: Some(40), added: 2515, mode: `MaxEncodedLen`)561 /// Storage: `Refungible::AccountBalance` (r:1 w:1)562 /// Proof: `Refungible::AccountBalance` (`max_values`: None, `max_size`: Some(65), added: 2540, mode: `MaxEncodedLen`)563 /// Storage: `Refungible::Owned` (r:0 w:1)564 /// Proof: `Refungible::Owned` (`max_values`: None, `max_size`: Some(74), added: 2549, mode: `MaxEncodedLen`)565 fn burn_item_partial() -> Weight {566 // Proof Size summary in bytes:567 // Measured: `456`568 // Estimated: `8682`569 // Minimum execution time: 29_540_000 picoseconds.570 Weight::from_parts(30_190_000, 8682)571 .saturating_add(RocksDbWeight::get().reads(5_u64))572 .saturating_add(RocksDbWeight::get().writes(4_u64))573 }574 /// Storage: `Refungible::Balance` (r:1 w:1)575 /// Proof: `Refungible::Balance` (`max_values`: None, `max_size`: Some(89), added: 2564, mode: `MaxEncodedLen`)576 /// Storage: `Refungible::TotalSupply` (r:1 w:1)577 /// Proof: `Refungible::TotalSupply` (`max_values`: None, `max_size`: Some(40), added: 2515, mode: `MaxEncodedLen`)578 /// Storage: `Refungible::AccountBalance` (r:1 w:1)579 /// Proof: `Refungible::AccountBalance` (`max_values`: None, `max_size`: Some(65), added: 2540, mode: `MaxEncodedLen`)580 /// Storage: `Refungible::TokensBurnt` (r:1 w:1)581 /// Proof: `Refungible::TokensBurnt` (`max_values`: None, `max_size`: Some(16), added: 2491, mode: `MaxEncodedLen`)582 /// Storage: `Refungible::Owned` (r:0 w:1)583 /// Proof: `Refungible::Owned` (`max_values`: None, `max_size`: Some(74), added: 2549, mode: `MaxEncodedLen`)584 /// Storage: `Refungible::TokenProperties` (r:0 w:1)585 /// Proof: `Refungible::TokenProperties` (`max_values`: None, `max_size`: Some(32804), added: 35279, mode: `MaxEncodedLen`)586 fn burn_item_fully() -> Weight {587 // Proof Size summary in bytes:588 // Measured: `341`589 // Estimated: `3554`590 // Minimum execution time: 30_650_000 picoseconds.591 Weight::from_parts(31_370_000, 3554)592 .saturating_add(RocksDbWeight::get().reads(4_u64))593 .saturating_add(RocksDbWeight::get().writes(6_u64))594 }595 /// Storage: `Refungible::Balance` (r:2 w:2)596 /// Proof: `Refungible::Balance` (`max_values`: None, `max_size`: Some(89), added: 2564, mode: `MaxEncodedLen`)597 /// Storage: `Refungible::TotalSupply` (r:1 w:0)598 /// Proof: `Refungible::TotalSupply` (`max_values`: None, `max_size`: Some(40), added: 2515, mode: `MaxEncodedLen`)599 fn transfer_normal() -> Weight {600 // Proof Size summary in bytes:601 // Measured: `365`602 // Estimated: `6118`603 // Minimum execution time: 18_530_000 picoseconds.604 Weight::from_parts(19_010_000, 6118)605 .saturating_add(RocksDbWeight::get().reads(3_u64))606 .saturating_add(RocksDbWeight::get().writes(2_u64))607 }608 /// Storage: `Refungible::Balance` (r:2 w:2)609 /// Proof: `Refungible::Balance` (`max_values`: None, `max_size`: Some(89), added: 2564, mode: `MaxEncodedLen`)610 /// Storage: `Refungible::AccountBalance` (r:1 w:1)611 /// Proof: `Refungible::AccountBalance` (`max_values`: None, `max_size`: Some(65), added: 2540, mode: `MaxEncodedLen`)612 /// Storage: `Refungible::TotalSupply` (r:1 w:0)613 /// Proof: `Refungible::TotalSupply` (`max_values`: None, `max_size`: Some(40), added: 2515, mode: `MaxEncodedLen`)614 /// Storage: `Refungible::Owned` (r:0 w:1)615 /// Proof: `Refungible::Owned` (`max_values`: None, `max_size`: Some(74), added: 2549, mode: `MaxEncodedLen`)616 fn transfer_creating() -> Weight {617 // Proof Size summary in bytes:618 // Measured: `341`619 // Estimated: `6118`620 // Minimum execution time: 24_240_000 picoseconds.621 Weight::from_parts(24_760_000, 6118)622 .saturating_add(RocksDbWeight::get().reads(4_u64))623 .saturating_add(RocksDbWeight::get().writes(4_u64))624 }625 /// Storage: `Refungible::Balance` (r:2 w:2)626 /// Proof: `Refungible::Balance` (`max_values`: None, `max_size`: Some(89), added: 2564, mode: `MaxEncodedLen`)627 /// Storage: `Refungible::AccountBalance` (r:1 w:1)628 /// Proof: `Refungible::AccountBalance` (`max_values`: None, `max_size`: Some(65), added: 2540, mode: `MaxEncodedLen`)629 /// Storage: `Refungible::TotalSupply` (r:1 w:0)630 /// Proof: `Refungible::TotalSupply` (`max_values`: None, `max_size`: Some(40), added: 2515, mode: `MaxEncodedLen`)631 /// Storage: `Refungible::Owned` (r:0 w:1)632 /// Proof: `Refungible::Owned` (`max_values`: None, `max_size`: Some(74), added: 2549, mode: `MaxEncodedLen`)633 fn transfer_removing() -> Weight {634 // Proof Size summary in bytes:635 // Measured: `456`636 // Estimated: `6118`637 // Minimum execution time: 25_990_000 picoseconds.638 Weight::from_parts(26_650_000, 6118)639 .saturating_add(RocksDbWeight::get().reads(4_u64))640 .saturating_add(RocksDbWeight::get().writes(4_u64))641 }642 /// Storage: `Refungible::Balance` (r:2 w:2)643 /// Proof: `Refungible::Balance` (`max_values`: None, `max_size`: Some(89), added: 2564, mode: `MaxEncodedLen`)644 /// Storage: `Refungible::AccountBalance` (r:2 w:2)645 /// Proof: `Refungible::AccountBalance` (`max_values`: None, `max_size`: Some(65), added: 2540, mode: `MaxEncodedLen`)646 /// Storage: `Refungible::TotalSupply` (r:1 w:0)647 /// Proof: `Refungible::TotalSupply` (`max_values`: None, `max_size`: Some(40), added: 2515, mode: `MaxEncodedLen`)648 /// Storage: `Refungible::Owned` (r:0 w:2)649 /// Proof: `Refungible::Owned` (`max_values`: None, `max_size`: Some(74), added: 2549, mode: `MaxEncodedLen`)650 fn transfer_creating_removing() -> Weight {651 // Proof Size summary in bytes:652 // Measured: `341`653 // Estimated: `6118`654 // Minimum execution time: 29_550_000 picoseconds.655 Weight::from_parts(30_530_000, 6118)656 .saturating_add(RocksDbWeight::get().reads(5_u64))657 .saturating_add(RocksDbWeight::get().writes(6_u64))658 }659 /// Storage: `Refungible::Balance` (r:1 w:0)660 /// Proof: `Refungible::Balance` (`max_values`: None, `max_size`: Some(89), added: 2564, mode: `MaxEncodedLen`)661 /// Storage: `Refungible::Allowance` (r:0 w:1)662 /// Proof: `Refungible::Allowance` (`max_values`: None, `max_size`: Some(105), added: 2580, mode: `MaxEncodedLen`)663 fn approve() -> Weight {664 // Proof Size summary in bytes:665 // Measured: `223`666 // Estimated: `3554`667 // Minimum execution time: 11_420_000 picoseconds.668 Weight::from_parts(11_810_000, 3554)669 .saturating_add(RocksDbWeight::get().reads(1_u64))670 .saturating_add(RocksDbWeight::get().writes(1_u64))671 }672 /// Storage: `Refungible::Balance` (r:1 w:0)673 /// Proof: `Refungible::Balance` (`max_values`: None, `max_size`: Some(89), added: 2564, mode: `MaxEncodedLen`)674 /// Storage: `Refungible::Allowance` (r:0 w:1)675 /// Proof: `Refungible::Allowance` (`max_values`: None, `max_size`: Some(105), added: 2580, mode: `MaxEncodedLen`)676 fn approve_from() -> Weight {677 // Proof Size summary in bytes:678 // Measured: `211`679 // Estimated: `3554`680 // Minimum execution time: 11_610_000 picoseconds.681 Weight::from_parts(11_950_000, 3554)682 .saturating_add(RocksDbWeight::get().reads(1_u64))683 .saturating_add(RocksDbWeight::get().writes(1_u64))684 }685 /// Storage: `Refungible::Allowance` (r:1 w:1)686 /// Proof: `Refungible::Allowance` (`max_values`: None, `max_size`: Some(105), added: 2580, mode: `MaxEncodedLen`)687 /// Storage: `Refungible::Balance` (r:2 w:2)688 /// Proof: `Refungible::Balance` (`max_values`: None, `max_size`: Some(89), added: 2564, mode: `MaxEncodedLen`)689 /// Storage: `Refungible::TotalSupply` (r:1 w:0)690 /// Proof: `Refungible::TotalSupply` (`max_values`: None, `max_size`: Some(40), added: 2515, mode: `MaxEncodedLen`)691 fn transfer_from_normal() -> Weight {692 // Proof Size summary in bytes:693 // Measured: `495`694 // Estimated: `6118`695 // Minimum execution time: 28_510_000 picoseconds.696 Weight::from_parts(29_180_000, 6118)697 .saturating_add(RocksDbWeight::get().reads(4_u64))698 .saturating_add(RocksDbWeight::get().writes(3_u64))699 }700 /// Storage: `Refungible::Allowance` (r:1 w:1)701 /// Proof: `Refungible::Allowance` (`max_values`: None, `max_size`: Some(105), added: 2580, mode: `MaxEncodedLen`)702 /// Storage: `Refungible::Balance` (r:2 w:2)703 /// Proof: `Refungible::Balance` (`max_values`: None, `max_size`: Some(89), added: 2564, mode: `MaxEncodedLen`)704 /// Storage: `Refungible::AccountBalance` (r:1 w:1)705 /// Proof: `Refungible::AccountBalance` (`max_values`: None, `max_size`: Some(65), added: 2540, mode: `MaxEncodedLen`)706 /// Storage: `Refungible::TotalSupply` (r:1 w:0)707 /// Proof: `Refungible::TotalSupply` (`max_values`: None, `max_size`: Some(40), added: 2515, mode: `MaxEncodedLen`)708 /// Storage: `Refungible::Owned` (r:0 w:1)709 /// Proof: `Refungible::Owned` (`max_values`: None, `max_size`: Some(74), added: 2549, mode: `MaxEncodedLen`)710 fn transfer_from_creating() -> Weight {711 // Proof Size summary in bytes:712 // Measured: `471`713 // Estimated: `6118`714 // Minimum execution time: 34_370_000 picoseconds.715 Weight::from_parts(35_270_000, 6118)716 .saturating_add(RocksDbWeight::get().reads(5_u64))717 .saturating_add(RocksDbWeight::get().writes(5_u64))718 }719 /// Storage: `Refungible::Allowance` (r:1 w:1)720 /// Proof: `Refungible::Allowance` (`max_values`: None, `max_size`: Some(105), added: 2580, mode: `MaxEncodedLen`)721 /// Storage: `Refungible::Balance` (r:2 w:2)722 /// Proof: `Refungible::Balance` (`max_values`: None, `max_size`: Some(89), added: 2564, mode: `MaxEncodedLen`)723 /// Storage: `Refungible::AccountBalance` (r:1 w:1)724 /// Proof: `Refungible::AccountBalance` (`max_values`: None, `max_size`: Some(65), added: 2540, mode: `MaxEncodedLen`)725 /// Storage: `Refungible::TotalSupply` (r:1 w:0)726 /// Proof: `Refungible::TotalSupply` (`max_values`: None, `max_size`: Some(40), added: 2515, mode: `MaxEncodedLen`)727 /// Storage: `Refungible::Owned` (r:0 w:1)728 /// Proof: `Refungible::Owned` (`max_values`: None, `max_size`: Some(74), added: 2549, mode: `MaxEncodedLen`)729 fn transfer_from_removing() -> Weight {730 // Proof Size summary in bytes:731 // Measured: `586`732 // Estimated: `6118`733 // Minimum execution time: 36_490_000 picoseconds.734 Weight::from_parts(37_160_000, 6118)735 .saturating_add(RocksDbWeight::get().reads(5_u64))736 .saturating_add(RocksDbWeight::get().writes(5_u64))737 }738 /// Storage: `Refungible::Allowance` (r:1 w:1)739 /// Proof: `Refungible::Allowance` (`max_values`: None, `max_size`: Some(105), added: 2580, mode: `MaxEncodedLen`)740 /// Storage: `Refungible::Balance` (r:2 w:2)741 /// Proof: `Refungible::Balance` (`max_values`: None, `max_size`: Some(89), added: 2564, mode: `MaxEncodedLen`)742 /// Storage: `Refungible::AccountBalance` (r:2 w:2)743 /// Proof: `Refungible::AccountBalance` (`max_values`: None, `max_size`: Some(65), added: 2540, mode: `MaxEncodedLen`)744 /// Storage: `Refungible::TotalSupply` (r:1 w:0)745 /// Proof: `Refungible::TotalSupply` (`max_values`: None, `max_size`: Some(40), added: 2515, mode: `MaxEncodedLen`)746 /// Storage: `Refungible::Owned` (r:0 w:2)747 /// Proof: `Refungible::Owned` (`max_values`: None, `max_size`: Some(74), added: 2549, mode: `MaxEncodedLen`)748 fn transfer_from_creating_removing() -> Weight {749 // Proof Size summary in bytes:750 // Measured: `471`751 // Estimated: `6118`752 // Minimum execution time: 40_080_000 picoseconds.753 Weight::from_parts(48_310_000, 6118)754 .saturating_add(RocksDbWeight::get().reads(6_u64))755 .saturating_add(RocksDbWeight::get().writes(7_u64))756 }757 /// Storage: `Refungible::Allowance` (r:1 w:1)758 /// Proof: `Refungible::Allowance` (`max_values`: None, `max_size`: Some(105), added: 2580, mode: `MaxEncodedLen`)759 /// Storage: `Refungible::Balance` (r:1 w:1)760 /// Proof: `Refungible::Balance` (`max_values`: None, `max_size`: Some(89), added: 2564, mode: `MaxEncodedLen`)761 /// Storage: `Refungible::TotalSupply` (r:1 w:1)762 /// Proof: `Refungible::TotalSupply` (`max_values`: None, `max_size`: Some(40), added: 2515, mode: `MaxEncodedLen`)763 /// Storage: `Refungible::AccountBalance` (r:1 w:1)764 /// Proof: `Refungible::AccountBalance` (`max_values`: None, `max_size`: Some(65), added: 2540, mode: `MaxEncodedLen`)765 /// Storage: `Refungible::TokensBurnt` (r:1 w:1)766 /// Proof: `Refungible::TokensBurnt` (`max_values`: None, `max_size`: Some(16), added: 2491, mode: `MaxEncodedLen`)767 /// Storage: `Refungible::Owned` (r:0 w:1)768 /// Proof: `Refungible::Owned` (`max_values`: None, `max_size`: Some(74), added: 2549, mode: `MaxEncodedLen`)769 /// Storage: `Refungible::TokenProperties` (r:0 w:1)770 /// Proof: `Refungible::TokenProperties` (`max_values`: None, `max_size`: Some(32804), added: 35279, mode: `MaxEncodedLen`)771 fn burn_from() -> Weight {772 // Proof Size summary in bytes:773 // Measured: `471`774 // Estimated: `3570`775 // Minimum execution time: 41_100_000 picoseconds.776 Weight::from_parts(42_060_000, 3570)777 .saturating_add(RocksDbWeight::get().reads(5_u64))778 .saturating_add(RocksDbWeight::get().writes(7_u64))779 }780 /// Storage: `Refungible::TokenProperties` (r:1 w:0)781 /// Proof: `Refungible::TokenProperties` (`max_values`: None, `max_size`: Some(32804), added: 35279, mode: `MaxEncodedLen`)782 fn load_token_properties() -> Weight {783 // Proof Size summary in bytes:784 // Measured: `120`785 // Estimated: `36269`786 // Minimum execution time: 2_520_000 picoseconds.787 Weight::from_parts(2_670_000, 36269)788 .saturating_add(RocksDbWeight::get().reads(1_u64))789 }790 /// Storage: `Refungible::TokenProperties` (r:0 w:1)791 /// Proof: `Refungible::TokenProperties` (`max_values`: None, `max_size`: Some(32804), added: 35279, mode: `MaxEncodedLen`)792 /// The range of component `b` is `[0, 64]`.793 fn write_token_properties(b: u32, ) -> Weight {794 // Proof Size summary in bytes:795 // Measured: `0`796 // Estimated: `0`797 // Minimum execution time: 490_000 picoseconds.798 Weight::from_parts(3_457_547, 0)799 // Standard Error: 24_239800 .saturating_add(Weight::from_parts(19_382_722, 0).saturating_mul(b.into()))801 .saturating_add(RocksDbWeight::get().writes(1_u64))802 }803 /// Storage: `Common::CollectionPropertyPermissions` (r:1 w:1)804 /// Proof: `Common::CollectionPropertyPermissions` (`max_values`: None, `max_size`: Some(16726), added: 19201, mode: `MaxEncodedLen`)805 /// The range of component `b` is `[0, 64]`.806 fn set_token_property_permissions(b: u32, ) -> Weight {807 // Proof Size summary in bytes:808 // Measured: `314`809 // Estimated: `20191`810 // Minimum execution time: 1_500_000 picoseconds.811 Weight::from_parts(1_590_000, 20191)812 // Standard Error: 123_927813 .saturating_add(Weight::from_parts(27_355_093, 0).saturating_mul(b.into()))814 .saturating_add(RocksDbWeight::get().reads(1_u64))815 .saturating_add(RocksDbWeight::get().writes(1_u64))816 }817 /// Storage: `Refungible::TotalSupply` (r:1 w:1)818 /// Proof: `Refungible::TotalSupply` (`max_values`: None, `max_size`: Some(40), added: 2515, mode: `MaxEncodedLen`)819 /// Storage: `Refungible::Balance` (r:1 w:1)820 /// Proof: `Refungible::Balance` (`max_values`: None, `max_size`: Some(89), added: 2564, mode: `MaxEncodedLen`)821 fn repartition_item() -> Weight {822 // Proof Size summary in bytes:823 // Measured: `288`824 // Estimated: `3554`825 // Minimum execution time: 14_340_000 picoseconds.826 Weight::from_parts(14_590_000, 3554)827 .saturating_add(RocksDbWeight::get().reads(2_u64))828 .saturating_add(RocksDbWeight::get().writes(2_u64))829 }830 /// Storage: `Refungible::CollectionAllowance` (r:0 w:1)831 /// Proof: `Refungible::CollectionAllowance` (`max_values`: None, `max_size`: Some(111), added: 2586, mode: `MaxEncodedLen`)832 fn set_allowance_for_all() -> Weight {833 // Proof Size summary in bytes:834 // Measured: `0`835 // Estimated: `0`836 // Minimum execution time: 6_390_000 picoseconds.837 Weight::from_parts(6_650_000, 0)838 .saturating_add(RocksDbWeight::get().writes(1_u64))839 }840 /// Storage: `Refungible::CollectionAllowance` (r:1 w:0)841 /// Proof: `Refungible::CollectionAllowance` (`max_values`: None, `max_size`: Some(111), added: 2586, mode: `MaxEncodedLen`)842 fn allowance_for_all() -> Weight {843 // Proof Size summary in bytes:844 // Measured: `4`845 // Estimated: `3576`846 // Minimum execution time: 3_060_000 picoseconds.847 Weight::from_parts(3_210_000, 3576)848 .saturating_add(RocksDbWeight::get().reads(1_u64))849 }850 /// Storage: `Refungible::TokenProperties` (r:1 w:1)851 /// Proof: `Refungible::TokenProperties` (`max_values`: None, `max_size`: Some(32804), added: 35279, mode: `MaxEncodedLen`)852 fn repair_item() -> Weight {853 // Proof Size summary in bytes:854 // Measured: `120`855 // Estimated: `36269`856 // Minimum execution time: 2_480_000 picoseconds.857 Weight::from_parts(2_620_000, 36269)858 .saturating_add(RocksDbWeight::get().reads(1_u64))859 .saturating_add(RocksDbWeight::get().writes(1_u64))860 }861}8621// Template adopted from https://github.com/paritytech/substrate/blob/master/.maintain/frame-weight-template.hbs23//! Autogenerated weights for pallet_refungible4//!5//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev6//! DATE: 2023-10-13, STEPS: `50`, REPEAT: `80`, LOW RANGE: `[]`, HIGH RANGE: `[]`7//! WORST CASE MAP SIZE: `1000000`8//! HOSTNAME: `bench-host`, CPU: `Intel(R) Core(TM) i7-8700 CPU @ 3.20GHz`9//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 10241011// Executed Command:12// ./target/production/unique-collator13// benchmark14// pallet15// --pallet16// pallet-refungible17// --wasm-execution18// compiled19// --extrinsic20// *21// --template=.maintain/frame-weight-template.hbs22// --steps=5023// --repeat=8024// --heap-pages=409625// --output=./pallets/refungible/src/weights.rs2627#![cfg_attr(rustfmt, rustfmt_skip)]28#![allow(unused_parens)]29#![allow(unused_imports)]3031use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}};32use sp_std::marker::PhantomData;3334/// Weight functions needed for pallet_refungible.35pub trait WeightInfo {36 fn create_item() -> Weight;37 fn create_multiple_items(b: u32, ) -> Weight;38 fn create_multiple_items_ex_multiple_items(b: u32, ) -> Weight;39 fn create_multiple_items_ex_multiple_owners(b: u32, ) -> Weight;40 fn burn_item_partial() -> Weight;41 fn burn_item_fully() -> Weight;42 fn transfer_normal() -> Weight;43 fn transfer_creating() -> Weight;44 fn transfer_removing() -> Weight;45 fn transfer_creating_removing() -> Weight;46 fn approve() -> Weight;47 fn approve_from() -> Weight;48 fn transfer_from_normal() -> Weight;49 fn transfer_from_creating() -> Weight;50 fn transfer_from_removing() -> Weight;51 fn transfer_from_creating_removing() -> Weight;52 fn burn_from() -> Weight;53 fn load_token_properties() -> Weight;54 fn write_token_properties(b: u32, ) -> Weight;55 fn set_token_property_permissions(b: u32, ) -> Weight;56 fn repartition_item() -> Weight;57 fn set_allowance_for_all() -> Weight;58 fn allowance_for_all() -> Weight;59 fn repair_item() -> Weight;60}6162/// Weights for pallet_refungible using the Substrate node and recommended hardware.63pub struct SubstrateWeight<T>(PhantomData<T>);64impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {65 /// Storage: `Refungible::TokensMinted` (r:1 w:1)66 /// Proof: `Refungible::TokensMinted` (`max_values`: None, `max_size`: Some(16), added: 2491, mode: `MaxEncodedLen`)67 /// Storage: `Refungible::AccountBalance` (r:1 w:1)68 /// Proof: `Refungible::AccountBalance` (`max_values`: None, `max_size`: Some(65), added: 2540, mode: `MaxEncodedLen`)69 /// Storage: `Refungible::Balance` (r:0 w:1)70 /// Proof: `Refungible::Balance` (`max_values`: None, `max_size`: Some(89), added: 2564, mode: `MaxEncodedLen`)71 /// Storage: `Refungible::TotalSupply` (r:0 w:1)72 /// Proof: `Refungible::TotalSupply` (`max_values`: None, `max_size`: Some(40), added: 2515, mode: `MaxEncodedLen`)73 /// Storage: `Refungible::Owned` (r:0 w:1)74 /// Proof: `Refungible::Owned` (`max_values`: None, `max_size`: Some(74), added: 2549, mode: `MaxEncodedLen`)75 fn create_item() -> Weight {76 // Proof Size summary in bytes:77 // Measured: `4`78 // Estimated: `3530`79 // Minimum execution time: 29_966_000 picoseconds.80 Weight::from_parts(30_393_000, 3530)81 .saturating_add(T::DbWeight::get().reads(2_u64))82 .saturating_add(T::DbWeight::get().writes(5_u64))83 }84 /// Storage: `Refungible::TokensMinted` (r:1 w:1)85 /// Proof: `Refungible::TokensMinted` (`max_values`: None, `max_size`: Some(16), added: 2491, mode: `MaxEncodedLen`)86 /// Storage: `Refungible::AccountBalance` (r:1 w:1)87 /// Proof: `Refungible::AccountBalance` (`max_values`: None, `max_size`: Some(65), added: 2540, mode: `MaxEncodedLen`)88 /// Storage: `Refungible::Balance` (r:0 w:200)89 /// Proof: `Refungible::Balance` (`max_values`: None, `max_size`: Some(89), added: 2564, mode: `MaxEncodedLen`)90 /// Storage: `Refungible::TotalSupply` (r:0 w:200)91 /// Proof: `Refungible::TotalSupply` (`max_values`: None, `max_size`: Some(40), added: 2515, mode: `MaxEncodedLen`)92 /// Storage: `Refungible::Owned` (r:0 w:200)93 /// Proof: `Refungible::Owned` (`max_values`: None, `max_size`: Some(74), added: 2549, mode: `MaxEncodedLen`)94 /// The range of component `b` is `[0, 200]`.95 fn create_multiple_items(b: u32, ) -> Weight {96 // Proof Size summary in bytes:97 // Measured: `4`98 // Estimated: `3530`99 // Minimum execution time: 5_693_000 picoseconds.100 Weight::from_parts(109_204, 3530)101 // Standard Error: 5_369102 .saturating_add(Weight::from_parts(13_553_747, 0).saturating_mul(b.into()))103 .saturating_add(T::DbWeight::get().reads(2_u64))104 .saturating_add(T::DbWeight::get().writes(2_u64))105 .saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(b.into())))106 }107 /// Storage: `Refungible::TokensMinted` (r:1 w:1)108 /// Proof: `Refungible::TokensMinted` (`max_values`: None, `max_size`: Some(16), added: 2491, mode: `MaxEncodedLen`)109 /// Storage: `Refungible::AccountBalance` (r:200 w:200)110 /// Proof: `Refungible::AccountBalance` (`max_values`: None, `max_size`: Some(65), added: 2540, mode: `MaxEncodedLen`)111 /// Storage: `Refungible::Balance` (r:0 w:200)112 /// Proof: `Refungible::Balance` (`max_values`: None, `max_size`: Some(89), added: 2564, mode: `MaxEncodedLen`)113 /// Storage: `Refungible::TotalSupply` (r:0 w:200)114 /// Proof: `Refungible::TotalSupply` (`max_values`: None, `max_size`: Some(40), added: 2515, mode: `MaxEncodedLen`)115 /// Storage: `Refungible::Owned` (r:0 w:200)116 /// Proof: `Refungible::Owned` (`max_values`: None, `max_size`: Some(74), added: 2549, mode: `MaxEncodedLen`)117 /// The range of component `b` is `[0, 200]`.118 fn create_multiple_items_ex_multiple_items(b: u32, ) -> Weight {119 // Proof Size summary in bytes:120 // Measured: `4`121 // Estimated: `3481 + b * (2540 ±0)`122 // Minimum execution time: 5_758_000 picoseconds.123 Weight::from_parts(7_034_227, 3481)124 // Standard Error: 3_531125 .saturating_add(Weight::from_parts(17_131_873, 0).saturating_mul(b.into()))126 .saturating_add(T::DbWeight::get().reads(1_u64))127 .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(b.into())))128 .saturating_add(T::DbWeight::get().writes(1_u64))129 .saturating_add(T::DbWeight::get().writes((4_u64).saturating_mul(b.into())))130 .saturating_add(Weight::from_parts(0, 2540).saturating_mul(b.into()))131 }132 /// Storage: `Refungible::TokensMinted` (r:1 w:1)133 /// Proof: `Refungible::TokensMinted` (`max_values`: None, `max_size`: Some(16), added: 2491, mode: `MaxEncodedLen`)134 /// Storage: `Refungible::AccountBalance` (r:200 w:200)135 /// Proof: `Refungible::AccountBalance` (`max_values`: None, `max_size`: Some(65), added: 2540, mode: `MaxEncodedLen`)136 /// Storage: `Refungible::Balance` (r:0 w:200)137 /// Proof: `Refungible::Balance` (`max_values`: None, `max_size`: Some(89), added: 2564, mode: `MaxEncodedLen`)138 /// Storage: `Refungible::TotalSupply` (r:0 w:1)139 /// Proof: `Refungible::TotalSupply` (`max_values`: None, `max_size`: Some(40), added: 2515, mode: `MaxEncodedLen`)140 /// Storage: `Refungible::Owned` (r:0 w:200)141 /// Proof: `Refungible::Owned` (`max_values`: None, `max_size`: Some(74), added: 2549, mode: `MaxEncodedLen`)142 /// The range of component `b` is `[0, 200]`.143 fn create_multiple_items_ex_multiple_owners(b: u32, ) -> Weight {144 // Proof Size summary in bytes:145 // Measured: `4`146 // Estimated: `3481 + b * (2540 ±0)`147 // Minimum execution time: 8_857_000 picoseconds.148 Weight::from_parts(9_650_186, 3481)149 // Standard Error: 3_518150 .saturating_add(Weight::from_parts(13_536_987, 0).saturating_mul(b.into()))151 .saturating_add(T::DbWeight::get().reads(1_u64))152 .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(b.into())))153 .saturating_add(T::DbWeight::get().writes(2_u64))154 .saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(b.into())))155 .saturating_add(Weight::from_parts(0, 2540).saturating_mul(b.into()))156 }157 /// Storage: `Refungible::Balance` (r:3 w:1)158 /// Proof: `Refungible::Balance` (`max_values`: None, `max_size`: Some(89), added: 2564, mode: `MaxEncodedLen`)159 /// Storage: `Refungible::TotalSupply` (r:1 w:1)160 /// Proof: `Refungible::TotalSupply` (`max_values`: None, `max_size`: Some(40), added: 2515, mode: `MaxEncodedLen`)161 /// Storage: `Refungible::AccountBalance` (r:1 w:1)162 /// Proof: `Refungible::AccountBalance` (`max_values`: None, `max_size`: Some(65), added: 2540, mode: `MaxEncodedLen`)163 /// Storage: `Refungible::Owned` (r:0 w:1)164 /// Proof: `Refungible::Owned` (`max_values`: None, `max_size`: Some(74), added: 2549, mode: `MaxEncodedLen`)165 fn burn_item_partial() -> Weight {166 // Proof Size summary in bytes:167 // Measured: `456`168 // Estimated: `8682`169 // Minimum execution time: 44_423_000 picoseconds.170 Weight::from_parts(45_092_000, 8682)171 .saturating_add(T::DbWeight::get().reads(5_u64))172 .saturating_add(T::DbWeight::get().writes(4_u64))173 }174 /// Storage: `Refungible::Balance` (r:1 w:1)175 /// Proof: `Refungible::Balance` (`max_values`: None, `max_size`: Some(89), added: 2564, mode: `MaxEncodedLen`)176 /// Storage: `Refungible::TotalSupply` (r:1 w:1)177 /// Proof: `Refungible::TotalSupply` (`max_values`: None, `max_size`: Some(40), added: 2515, mode: `MaxEncodedLen`)178 /// Storage: `Refungible::AccountBalance` (r:1 w:1)179 /// Proof: `Refungible::AccountBalance` (`max_values`: None, `max_size`: Some(65), added: 2540, mode: `MaxEncodedLen`)180 /// Storage: `Refungible::TokensBurnt` (r:1 w:1)181 /// Proof: `Refungible::TokensBurnt` (`max_values`: None, `max_size`: Some(16), added: 2491, mode: `MaxEncodedLen`)182 /// Storage: `Refungible::Owned` (r:0 w:1)183 /// Proof: `Refungible::Owned` (`max_values`: None, `max_size`: Some(74), added: 2549, mode: `MaxEncodedLen`)184 /// Storage: `Refungible::TokenProperties` (r:0 w:1)185 /// Proof: `Refungible::TokenProperties` (`max_values`: None, `max_size`: Some(32804), added: 35279, mode: `MaxEncodedLen`)186 fn burn_item_fully() -> Weight {187 // Proof Size summary in bytes:188 // Measured: `341`189 // Estimated: `3554`190 // Minimum execution time: 44_902_000 picoseconds.191 Weight::from_parts(45_473_000, 3554)192 .saturating_add(T::DbWeight::get().reads(4_u64))193 .saturating_add(T::DbWeight::get().writes(6_u64))194 }195 /// Storage: `Refungible::Balance` (r:2 w:2)196 /// Proof: `Refungible::Balance` (`max_values`: None, `max_size`: Some(89), added: 2564, mode: `MaxEncodedLen`)197 /// Storage: `Refungible::TotalSupply` (r:1 w:0)198 /// Proof: `Refungible::TotalSupply` (`max_values`: None, `max_size`: Some(40), added: 2515, mode: `MaxEncodedLen`)199 fn transfer_normal() -> Weight {200 // Proof Size summary in bytes:201 // Measured: `365`202 // Estimated: `6118`203 // Minimum execution time: 27_627_000 picoseconds.204 Weight::from_parts(28_046_000, 6118)205 .saturating_add(T::DbWeight::get().reads(3_u64))206 .saturating_add(T::DbWeight::get().writes(2_u64))207 }208 /// Storage: `Refungible::Balance` (r:2 w:2)209 /// Proof: `Refungible::Balance` (`max_values`: None, `max_size`: Some(89), added: 2564, mode: `MaxEncodedLen`)210 /// Storage: `Refungible::AccountBalance` (r:1 w:1)211 /// Proof: `Refungible::AccountBalance` (`max_values`: None, `max_size`: Some(65), added: 2540, mode: `MaxEncodedLen`)212 /// Storage: `Refungible::TotalSupply` (r:1 w:0)213 /// Proof: `Refungible::TotalSupply` (`max_values`: None, `max_size`: Some(40), added: 2515, mode: `MaxEncodedLen`)214 /// Storage: `Refungible::Owned` (r:0 w:1)215 /// Proof: `Refungible::Owned` (`max_values`: None, `max_size`: Some(74), added: 2549, mode: `MaxEncodedLen`)216 fn transfer_creating() -> Weight {217 // Proof Size summary in bytes:218 // Measured: `341`219 // Estimated: `6118`220 // Minimum execution time: 35_866_000 picoseconds.221 Weight::from_parts(36_441_000, 6118)222 .saturating_add(T::DbWeight::get().reads(4_u64))223 .saturating_add(T::DbWeight::get().writes(4_u64))224 }225 /// Storage: `Refungible::Balance` (r:2 w:2)226 /// Proof: `Refungible::Balance` (`max_values`: None, `max_size`: Some(89), added: 2564, mode: `MaxEncodedLen`)227 /// Storage: `Refungible::AccountBalance` (r:1 w:1)228 /// Proof: `Refungible::AccountBalance` (`max_values`: None, `max_size`: Some(65), added: 2540, mode: `MaxEncodedLen`)229 /// Storage: `Refungible::TotalSupply` (r:1 w:0)230 /// Proof: `Refungible::TotalSupply` (`max_values`: None, `max_size`: Some(40), added: 2515, mode: `MaxEncodedLen`)231 /// Storage: `Refungible::Owned` (r:0 w:1)232 /// Proof: `Refungible::Owned` (`max_values`: None, `max_size`: Some(74), added: 2549, mode: `MaxEncodedLen`)233 fn transfer_removing() -> Weight {234 // Proof Size summary in bytes:235 // Measured: `456`236 // Estimated: `6118`237 // Minimum execution time: 38_370_000 picoseconds.238 Weight::from_parts(38_855_000, 6118)239 .saturating_add(T::DbWeight::get().reads(4_u64))240 .saturating_add(T::DbWeight::get().writes(4_u64))241 }242 /// Storage: `Refungible::Balance` (r:2 w:2)243 /// Proof: `Refungible::Balance` (`max_values`: None, `max_size`: Some(89), added: 2564, mode: `MaxEncodedLen`)244 /// Storage: `Refungible::AccountBalance` (r:2 w:2)245 /// Proof: `Refungible::AccountBalance` (`max_values`: None, `max_size`: Some(65), added: 2540, mode: `MaxEncodedLen`)246 /// Storage: `Refungible::TotalSupply` (r:1 w:0)247 /// Proof: `Refungible::TotalSupply` (`max_values`: None, `max_size`: Some(40), added: 2515, mode: `MaxEncodedLen`)248 /// Storage: `Refungible::Owned` (r:0 w:2)249 /// Proof: `Refungible::Owned` (`max_values`: None, `max_size`: Some(74), added: 2549, mode: `MaxEncodedLen`)250 fn transfer_creating_removing() -> Weight {251 // Proof Size summary in bytes:252 // Measured: `341`253 // Estimated: `6118`254 // Minimum execution time: 43_244_000 picoseconds.255 Weight::from_parts(43_649_000, 6118)256 .saturating_add(T::DbWeight::get().reads(5_u64))257 .saturating_add(T::DbWeight::get().writes(6_u64))258 }259 /// Storage: `Refungible::Balance` (r:1 w:0)260 /// Proof: `Refungible::Balance` (`max_values`: None, `max_size`: Some(89), added: 2564, mode: `MaxEncodedLen`)261 /// Storage: `Refungible::Allowance` (r:0 w:1)262 /// Proof: `Refungible::Allowance` (`max_values`: None, `max_size`: Some(105), added: 2580, mode: `MaxEncodedLen`)263 fn approve() -> Weight {264 // Proof Size summary in bytes:265 // Measured: `223`266 // Estimated: `3554`267 // Minimum execution time: 17_775_000 picoseconds.268 Weight::from_parts(18_062_000, 3554)269 .saturating_add(T::DbWeight::get().reads(1_u64))270 .saturating_add(T::DbWeight::get().writes(1_u64))271 }272 /// Storage: `Refungible::Balance` (r:1 w:0)273 /// Proof: `Refungible::Balance` (`max_values`: None, `max_size`: Some(89), added: 2564, mode: `MaxEncodedLen`)274 /// Storage: `Refungible::Allowance` (r:0 w:1)275 /// Proof: `Refungible::Allowance` (`max_values`: None, `max_size`: Some(105), added: 2580, mode: `MaxEncodedLen`)276 fn approve_from() -> Weight {277 // Proof Size summary in bytes:278 // Measured: `211`279 // Estimated: `3554`280 // Minimum execution time: 18_304_000 picoseconds.281 Weight::from_parts(18_534_000, 3554)282 .saturating_add(T::DbWeight::get().reads(1_u64))283 .saturating_add(T::DbWeight::get().writes(1_u64))284 }285 /// Storage: `Refungible::Allowance` (r:1 w:1)286 /// Proof: `Refungible::Allowance` (`max_values`: None, `max_size`: Some(105), added: 2580, mode: `MaxEncodedLen`)287 /// Storage: `Refungible::Balance` (r:2 w:2)288 /// Proof: `Refungible::Balance` (`max_values`: None, `max_size`: Some(89), added: 2564, mode: `MaxEncodedLen`)289 /// Storage: `Refungible::TotalSupply` (r:1 w:0)290 /// Proof: `Refungible::TotalSupply` (`max_values`: None, `max_size`: Some(40), added: 2515, mode: `MaxEncodedLen`)291 fn transfer_from_normal() -> Weight {292 // Proof Size summary in bytes:293 // Measured: `495`294 // Estimated: `6118`295 // Minimum execution time: 42_123_000 picoseconds.296 Weight::from_parts(42_887_000, 6118)297 .saturating_add(T::DbWeight::get().reads(4_u64))298 .saturating_add(T::DbWeight::get().writes(3_u64))299 }300 /// Storage: `Refungible::Allowance` (r:1 w:1)301 /// Proof: `Refungible::Allowance` (`max_values`: None, `max_size`: Some(105), added: 2580, mode: `MaxEncodedLen`)302 /// Storage: `Refungible::Balance` (r:2 w:2)303 /// Proof: `Refungible::Balance` (`max_values`: None, `max_size`: Some(89), added: 2564, mode: `MaxEncodedLen`)304 /// Storage: `Refungible::AccountBalance` (r:1 w:1)305 /// Proof: `Refungible::AccountBalance` (`max_values`: None, `max_size`: Some(65), added: 2540, mode: `MaxEncodedLen`)306 /// Storage: `Refungible::TotalSupply` (r:1 w:0)307 /// Proof: `Refungible::TotalSupply` (`max_values`: None, `max_size`: Some(40), added: 2515, mode: `MaxEncodedLen`)308 /// Storage: `Refungible::Owned` (r:0 w:1)309 /// Proof: `Refungible::Owned` (`max_values`: None, `max_size`: Some(74), added: 2549, mode: `MaxEncodedLen`)310 fn transfer_from_creating() -> Weight {311 // Proof Size summary in bytes:312 // Measured: `471`313 // Estimated: `6118`314 // Minimum execution time: 50_549_000 picoseconds.315 Weight::from_parts(51_144_000, 6118)316 .saturating_add(T::DbWeight::get().reads(5_u64))317 .saturating_add(T::DbWeight::get().writes(5_u64))318 }319 /// Storage: `Refungible::Allowance` (r:1 w:1)320 /// Proof: `Refungible::Allowance` (`max_values`: None, `max_size`: Some(105), added: 2580, mode: `MaxEncodedLen`)321 /// Storage: `Refungible::Balance` (r:2 w:2)322 /// Proof: `Refungible::Balance` (`max_values`: None, `max_size`: Some(89), added: 2564, mode: `MaxEncodedLen`)323 /// Storage: `Refungible::AccountBalance` (r:1 w:1)324 /// Proof: `Refungible::AccountBalance` (`max_values`: None, `max_size`: Some(65), added: 2540, mode: `MaxEncodedLen`)325 /// Storage: `Refungible::TotalSupply` (r:1 w:0)326 /// Proof: `Refungible::TotalSupply` (`max_values`: None, `max_size`: Some(40), added: 2515, mode: `MaxEncodedLen`)327 /// Storage: `Refungible::Owned` (r:0 w:1)328 /// Proof: `Refungible::Owned` (`max_values`: None, `max_size`: Some(74), added: 2549, mode: `MaxEncodedLen`)329 fn transfer_from_removing() -> Weight {330 // Proof Size summary in bytes:331 // Measured: `586`332 // Estimated: `6118`333 // Minimum execution time: 52_978_000 picoseconds.334 Weight::from_parts(53_931_000, 6118)335 .saturating_add(T::DbWeight::get().reads(5_u64))336 .saturating_add(T::DbWeight::get().writes(5_u64))337 }338 /// Storage: `Refungible::Allowance` (r:1 w:1)339 /// Proof: `Refungible::Allowance` (`max_values`: None, `max_size`: Some(105), added: 2580, mode: `MaxEncodedLen`)340 /// Storage: `Refungible::Balance` (r:2 w:2)341 /// Proof: `Refungible::Balance` (`max_values`: None, `max_size`: Some(89), added: 2564, mode: `MaxEncodedLen`)342 /// Storage: `Refungible::AccountBalance` (r:2 w:2)343 /// Proof: `Refungible::AccountBalance` (`max_values`: None, `max_size`: Some(65), added: 2540, mode: `MaxEncodedLen`)344 /// Storage: `Refungible::TotalSupply` (r:1 w:0)345 /// Proof: `Refungible::TotalSupply` (`max_values`: None, `max_size`: Some(40), added: 2515, mode: `MaxEncodedLen`)346 /// Storage: `Refungible::Owned` (r:0 w:2)347 /// Proof: `Refungible::Owned` (`max_values`: None, `max_size`: Some(74), added: 2549, mode: `MaxEncodedLen`)348 fn transfer_from_creating_removing() -> Weight {349 // Proof Size summary in bytes:350 // Measured: `471`351 // Estimated: `6118`352 // Minimum execution time: 57_512_000 picoseconds.353 Weight::from_parts(58_148_000, 6118)354 .saturating_add(T::DbWeight::get().reads(6_u64))355 .saturating_add(T::DbWeight::get().writes(7_u64))356 }357 /// Storage: `Refungible::Allowance` (r:1 w:1)358 /// Proof: `Refungible::Allowance` (`max_values`: None, `max_size`: Some(105), added: 2580, mode: `MaxEncodedLen`)359 /// Storage: `Refungible::Balance` (r:1 w:1)360 /// Proof: `Refungible::Balance` (`max_values`: None, `max_size`: Some(89), added: 2564, mode: `MaxEncodedLen`)361 /// Storage: `Refungible::TotalSupply` (r:1 w:1)362 /// Proof: `Refungible::TotalSupply` (`max_values`: None, `max_size`: Some(40), added: 2515, mode: `MaxEncodedLen`)363 /// Storage: `Refungible::AccountBalance` (r:1 w:1)364 /// Proof: `Refungible::AccountBalance` (`max_values`: None, `max_size`: Some(65), added: 2540, mode: `MaxEncodedLen`)365 /// Storage: `Refungible::TokensBurnt` (r:1 w:1)366 /// Proof: `Refungible::TokensBurnt` (`max_values`: None, `max_size`: Some(16), added: 2491, mode: `MaxEncodedLen`)367 /// Storage: `Refungible::Owned` (r:0 w:1)368 /// Proof: `Refungible::Owned` (`max_values`: None, `max_size`: Some(74), added: 2549, mode: `MaxEncodedLen`)369 /// Storage: `Refungible::TokenProperties` (r:0 w:1)370 /// Proof: `Refungible::TokenProperties` (`max_values`: None, `max_size`: Some(32804), added: 35279, mode: `MaxEncodedLen`)371 fn burn_from() -> Weight {372 // Proof Size summary in bytes:373 // Measured: `471`374 // Estimated: `3570`375 // Minimum execution time: 59_841_000 picoseconds.376 Weight::from_parts(60_643_000, 3570)377 .saturating_add(T::DbWeight::get().reads(5_u64))378 .saturating_add(T::DbWeight::get().writes(7_u64))379 }380 /// Storage: `Refungible::TokenProperties` (r:1 w:0)381 /// Proof: `Refungible::TokenProperties` (`max_values`: None, `max_size`: Some(32804), added: 35279, mode: `MaxEncodedLen`)382 fn load_token_properties() -> Weight {383 // Proof Size summary in bytes:384 // Measured: `120`385 // Estimated: `36269`386 // Minimum execution time: 3_752_000 picoseconds.387 Weight::from_parts(3_933_000, 36269)388 .saturating_add(T::DbWeight::get().reads(1_u64))389 }390 /// Storage: `Refungible::TokenProperties` (r:0 w:1)391 /// Proof: `Refungible::TokenProperties` (`max_values`: None, `max_size`: Some(32804), added: 35279, mode: `MaxEncodedLen`)392 /// The range of component `b` is `[0, 64]`.393 fn write_token_properties(b: u32, ) -> Weight {394 // Proof Size summary in bytes:395 // Measured: `0`396 // Estimated: `0`397 // Minimum execution time: 851_000 picoseconds.398 Weight::from_parts(879_000, 0)399 // Standard Error: 27_977400 .saturating_add(Weight::from_parts(37_787_661, 0).saturating_mul(b.into()))401 .saturating_add(T::DbWeight::get().writes(1_u64))402 }403 /// Storage: `Common::CollectionPropertyPermissions` (r:1 w:1)404 /// Proof: `Common::CollectionPropertyPermissions` (`max_values`: None, `max_size`: Some(16726), added: 19201, mode: `MaxEncodedLen`)405 /// The range of component `b` is `[0, 64]`.406 fn set_token_property_permissions(b: u32, ) -> Weight {407 // Proof Size summary in bytes:408 // Measured: `314`409 // Estimated: `20191`410 // Minimum execution time: 3_212_000 picoseconds.411 Weight::from_parts(3_312_000, 20191)412 // Standard Error: 169_099413 .saturating_add(Weight::from_parts(37_467_090, 0).saturating_mul(b.into()))414 .saturating_add(T::DbWeight::get().reads(1_u64))415 .saturating_add(T::DbWeight::get().writes(1_u64))416 }417 /// Storage: `Refungible::TotalSupply` (r:1 w:1)418 /// Proof: `Refungible::TotalSupply` (`max_values`: None, `max_size`: Some(40), added: 2515, mode: `MaxEncodedLen`)419 /// Storage: `Refungible::Balance` (r:1 w:1)420 /// Proof: `Refungible::Balance` (`max_values`: None, `max_size`: Some(89), added: 2564, mode: `MaxEncodedLen`)421 fn repartition_item() -> Weight {422 // Proof Size summary in bytes:423 // Measured: `288`424 // Estimated: `3554`425 // Minimum execution time: 21_917_000 picoseconds.426 Weight::from_parts(22_248_000, 3554)427 .saturating_add(T::DbWeight::get().reads(2_u64))428 .saturating_add(T::DbWeight::get().writes(2_u64))429 }430 /// Storage: `Refungible::CollectionAllowance` (r:0 w:1)431 /// Proof: `Refungible::CollectionAllowance` (`max_values`: None, `max_size`: Some(111), added: 2586, mode: `MaxEncodedLen`)432 fn set_allowance_for_all() -> Weight {433 // Proof Size summary in bytes:434 // Measured: `0`435 // Estimated: `0`436 // Minimum execution time: 11_167_000 picoseconds.437 Weight::from_parts(11_372_000, 0)438 .saturating_add(T::DbWeight::get().writes(1_u64))439 }440 /// Storage: `Refungible::CollectionAllowance` (r:1 w:0)441 /// Proof: `Refungible::CollectionAllowance` (`max_values`: None, `max_size`: Some(111), added: 2586, mode: `MaxEncodedLen`)442 fn allowance_for_all() -> Weight {443 // Proof Size summary in bytes:444 // Measured: `4`445 // Estimated: `3576`446 // Minimum execution time: 4_851_000 picoseconds.447 Weight::from_parts(4_988_000, 3576)448 .saturating_add(T::DbWeight::get().reads(1_u64))449 }450 /// Storage: `Refungible::TokenProperties` (r:1 w:1)451 /// Proof: `Refungible::TokenProperties` (`max_values`: None, `max_size`: Some(32804), added: 35279, mode: `MaxEncodedLen`)452 fn repair_item() -> Weight {453 // Proof Size summary in bytes:454 // Measured: `120`455 // Estimated: `36269`456 // Minimum execution time: 4_130_000 picoseconds.457 Weight::from_parts(4_267_000, 36269)458 .saturating_add(T::DbWeight::get().reads(1_u64))459 .saturating_add(T::DbWeight::get().writes(1_u64))460 }461}462463// For backwards compatibility and tests464impl WeightInfo for () {465 /// Storage: `Refungible::TokensMinted` (r:1 w:1)466 /// Proof: `Refungible::TokensMinted` (`max_values`: None, `max_size`: Some(16), added: 2491, mode: `MaxEncodedLen`)467 /// Storage: `Refungible::AccountBalance` (r:1 w:1)468 /// Proof: `Refungible::AccountBalance` (`max_values`: None, `max_size`: Some(65), added: 2540, mode: `MaxEncodedLen`)469 /// Storage: `Refungible::Balance` (r:0 w:1)470 /// Proof: `Refungible::Balance` (`max_values`: None, `max_size`: Some(89), added: 2564, mode: `MaxEncodedLen`)471 /// Storage: `Refungible::TotalSupply` (r:0 w:1)472 /// Proof: `Refungible::TotalSupply` (`max_values`: None, `max_size`: Some(40), added: 2515, mode: `MaxEncodedLen`)473 /// Storage: `Refungible::Owned` (r:0 w:1)474 /// Proof: `Refungible::Owned` (`max_values`: None, `max_size`: Some(74), added: 2549, mode: `MaxEncodedLen`)475 fn create_item() -> Weight {476 // Proof Size summary in bytes:477 // Measured: `4`478 // Estimated: `3530`479 // Minimum execution time: 29_966_000 picoseconds.480 Weight::from_parts(30_393_000, 3530)481 .saturating_add(RocksDbWeight::get().reads(2_u64))482 .saturating_add(RocksDbWeight::get().writes(5_u64))483 }484 /// Storage: `Refungible::TokensMinted` (r:1 w:1)485 /// Proof: `Refungible::TokensMinted` (`max_values`: None, `max_size`: Some(16), added: 2491, mode: `MaxEncodedLen`)486 /// Storage: `Refungible::AccountBalance` (r:1 w:1)487 /// Proof: `Refungible::AccountBalance` (`max_values`: None, `max_size`: Some(65), added: 2540, mode: `MaxEncodedLen`)488 /// Storage: `Refungible::Balance` (r:0 w:200)489 /// Proof: `Refungible::Balance` (`max_values`: None, `max_size`: Some(89), added: 2564, mode: `MaxEncodedLen`)490 /// Storage: `Refungible::TotalSupply` (r:0 w:200)491 /// Proof: `Refungible::TotalSupply` (`max_values`: None, `max_size`: Some(40), added: 2515, mode: `MaxEncodedLen`)492 /// Storage: `Refungible::Owned` (r:0 w:200)493 /// Proof: `Refungible::Owned` (`max_values`: None, `max_size`: Some(74), added: 2549, mode: `MaxEncodedLen`)494 /// The range of component `b` is `[0, 200]`.495 fn create_multiple_items(b: u32, ) -> Weight {496 // Proof Size summary in bytes:497 // Measured: `4`498 // Estimated: `3530`499 // Minimum execution time: 5_693_000 picoseconds.500 Weight::from_parts(109_204, 3530)501 // Standard Error: 5_369502 .saturating_add(Weight::from_parts(13_553_747, 0).saturating_mul(b.into()))503 .saturating_add(RocksDbWeight::get().reads(2_u64))504 .saturating_add(RocksDbWeight::get().writes(2_u64))505 .saturating_add(RocksDbWeight::get().writes((3_u64).saturating_mul(b.into())))506 }507 /// Storage: `Refungible::TokensMinted` (r:1 w:1)508 /// Proof: `Refungible::TokensMinted` (`max_values`: None, `max_size`: Some(16), added: 2491, mode: `MaxEncodedLen`)509 /// Storage: `Refungible::AccountBalance` (r:200 w:200)510 /// Proof: `Refungible::AccountBalance` (`max_values`: None, `max_size`: Some(65), added: 2540, mode: `MaxEncodedLen`)511 /// Storage: `Refungible::Balance` (r:0 w:200)512 /// Proof: `Refungible::Balance` (`max_values`: None, `max_size`: Some(89), added: 2564, mode: `MaxEncodedLen`)513 /// Storage: `Refungible::TotalSupply` (r:0 w:200)514 /// Proof: `Refungible::TotalSupply` (`max_values`: None, `max_size`: Some(40), added: 2515, mode: `MaxEncodedLen`)515 /// Storage: `Refungible::Owned` (r:0 w:200)516 /// Proof: `Refungible::Owned` (`max_values`: None, `max_size`: Some(74), added: 2549, mode: `MaxEncodedLen`)517 /// The range of component `b` is `[0, 200]`.518 fn create_multiple_items_ex_multiple_items(b: u32, ) -> Weight {519 // Proof Size summary in bytes:520 // Measured: `4`521 // Estimated: `3481 + b * (2540 ±0)`522 // Minimum execution time: 5_758_000 picoseconds.523 Weight::from_parts(7_034_227, 3481)524 // Standard Error: 3_531525 .saturating_add(Weight::from_parts(17_131_873, 0).saturating_mul(b.into()))526 .saturating_add(RocksDbWeight::get().reads(1_u64))527 .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(b.into())))528 .saturating_add(RocksDbWeight::get().writes(1_u64))529 .saturating_add(RocksDbWeight::get().writes((4_u64).saturating_mul(b.into())))530 .saturating_add(Weight::from_parts(0, 2540).saturating_mul(b.into()))531 }532 /// Storage: `Refungible::TokensMinted` (r:1 w:1)533 /// Proof: `Refungible::TokensMinted` (`max_values`: None, `max_size`: Some(16), added: 2491, mode: `MaxEncodedLen`)534 /// Storage: `Refungible::AccountBalance` (r:200 w:200)535 /// Proof: `Refungible::AccountBalance` (`max_values`: None, `max_size`: Some(65), added: 2540, mode: `MaxEncodedLen`)536 /// Storage: `Refungible::Balance` (r:0 w:200)537 /// Proof: `Refungible::Balance` (`max_values`: None, `max_size`: Some(89), added: 2564, mode: `MaxEncodedLen`)538 /// Storage: `Refungible::TotalSupply` (r:0 w:1)539 /// Proof: `Refungible::TotalSupply` (`max_values`: None, `max_size`: Some(40), added: 2515, mode: `MaxEncodedLen`)540 /// Storage: `Refungible::Owned` (r:0 w:200)541 /// Proof: `Refungible::Owned` (`max_values`: None, `max_size`: Some(74), added: 2549, mode: `MaxEncodedLen`)542 /// The range of component `b` is `[0, 200]`.543 fn create_multiple_items_ex_multiple_owners(b: u32, ) -> Weight {544 // Proof Size summary in bytes:545 // Measured: `4`546 // Estimated: `3481 + b * (2540 ±0)`547 // Minimum execution time: 8_857_000 picoseconds.548 Weight::from_parts(9_650_186, 3481)549 // Standard Error: 3_518550 .saturating_add(Weight::from_parts(13_536_987, 0).saturating_mul(b.into()))551 .saturating_add(RocksDbWeight::get().reads(1_u64))552 .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(b.into())))553 .saturating_add(RocksDbWeight::get().writes(2_u64))554 .saturating_add(RocksDbWeight::get().writes((3_u64).saturating_mul(b.into())))555 .saturating_add(Weight::from_parts(0, 2540).saturating_mul(b.into()))556 }557 /// Storage: `Refungible::Balance` (r:3 w:1)558 /// Proof: `Refungible::Balance` (`max_values`: None, `max_size`: Some(89), added: 2564, mode: `MaxEncodedLen`)559 /// Storage: `Refungible::TotalSupply` (r:1 w:1)560 /// Proof: `Refungible::TotalSupply` (`max_values`: None, `max_size`: Some(40), added: 2515, mode: `MaxEncodedLen`)561 /// Storage: `Refungible::AccountBalance` (r:1 w:1)562 /// Proof: `Refungible::AccountBalance` (`max_values`: None, `max_size`: Some(65), added: 2540, mode: `MaxEncodedLen`)563 /// Storage: `Refungible::Owned` (r:0 w:1)564 /// Proof: `Refungible::Owned` (`max_values`: None, `max_size`: Some(74), added: 2549, mode: `MaxEncodedLen`)565 fn burn_item_partial() -> Weight {566 // Proof Size summary in bytes:567 // Measured: `456`568 // Estimated: `8682`569 // Minimum execution time: 44_423_000 picoseconds.570 Weight::from_parts(45_092_000, 8682)571 .saturating_add(RocksDbWeight::get().reads(5_u64))572 .saturating_add(RocksDbWeight::get().writes(4_u64))573 }574 /// Storage: `Refungible::Balance` (r:1 w:1)575 /// Proof: `Refungible::Balance` (`max_values`: None, `max_size`: Some(89), added: 2564, mode: `MaxEncodedLen`)576 /// Storage: `Refungible::TotalSupply` (r:1 w:1)577 /// Proof: `Refungible::TotalSupply` (`max_values`: None, `max_size`: Some(40), added: 2515, mode: `MaxEncodedLen`)578 /// Storage: `Refungible::AccountBalance` (r:1 w:1)579 /// Proof: `Refungible::AccountBalance` (`max_values`: None, `max_size`: Some(65), added: 2540, mode: `MaxEncodedLen`)580 /// Storage: `Refungible::TokensBurnt` (r:1 w:1)581 /// Proof: `Refungible::TokensBurnt` (`max_values`: None, `max_size`: Some(16), added: 2491, mode: `MaxEncodedLen`)582 /// Storage: `Refungible::Owned` (r:0 w:1)583 /// Proof: `Refungible::Owned` (`max_values`: None, `max_size`: Some(74), added: 2549, mode: `MaxEncodedLen`)584 /// Storage: `Refungible::TokenProperties` (r:0 w:1)585 /// Proof: `Refungible::TokenProperties` (`max_values`: None, `max_size`: Some(32804), added: 35279, mode: `MaxEncodedLen`)586 fn burn_item_fully() -> Weight {587 // Proof Size summary in bytes:588 // Measured: `341`589 // Estimated: `3554`590 // Minimum execution time: 44_902_000 picoseconds.591 Weight::from_parts(45_473_000, 3554)592 .saturating_add(RocksDbWeight::get().reads(4_u64))593 .saturating_add(RocksDbWeight::get().writes(6_u64))594 }595 /// Storage: `Refungible::Balance` (r:2 w:2)596 /// Proof: `Refungible::Balance` (`max_values`: None, `max_size`: Some(89), added: 2564, mode: `MaxEncodedLen`)597 /// Storage: `Refungible::TotalSupply` (r:1 w:0)598 /// Proof: `Refungible::TotalSupply` (`max_values`: None, `max_size`: Some(40), added: 2515, mode: `MaxEncodedLen`)599 fn transfer_normal() -> Weight {600 // Proof Size summary in bytes:601 // Measured: `365`602 // Estimated: `6118`603 // Minimum execution time: 27_627_000 picoseconds.604 Weight::from_parts(28_046_000, 6118)605 .saturating_add(RocksDbWeight::get().reads(3_u64))606 .saturating_add(RocksDbWeight::get().writes(2_u64))607 }608 /// Storage: `Refungible::Balance` (r:2 w:2)609 /// Proof: `Refungible::Balance` (`max_values`: None, `max_size`: Some(89), added: 2564, mode: `MaxEncodedLen`)610 /// Storage: `Refungible::AccountBalance` (r:1 w:1)611 /// Proof: `Refungible::AccountBalance` (`max_values`: None, `max_size`: Some(65), added: 2540, mode: `MaxEncodedLen`)612 /// Storage: `Refungible::TotalSupply` (r:1 w:0)613 /// Proof: `Refungible::TotalSupply` (`max_values`: None, `max_size`: Some(40), added: 2515, mode: `MaxEncodedLen`)614 /// Storage: `Refungible::Owned` (r:0 w:1)615 /// Proof: `Refungible::Owned` (`max_values`: None, `max_size`: Some(74), added: 2549, mode: `MaxEncodedLen`)616 fn transfer_creating() -> Weight {617 // Proof Size summary in bytes:618 // Measured: `341`619 // Estimated: `6118`620 // Minimum execution time: 35_866_000 picoseconds.621 Weight::from_parts(36_441_000, 6118)622 .saturating_add(RocksDbWeight::get().reads(4_u64))623 .saturating_add(RocksDbWeight::get().writes(4_u64))624 }625 /// Storage: `Refungible::Balance` (r:2 w:2)626 /// Proof: `Refungible::Balance` (`max_values`: None, `max_size`: Some(89), added: 2564, mode: `MaxEncodedLen`)627 /// Storage: `Refungible::AccountBalance` (r:1 w:1)628 /// Proof: `Refungible::AccountBalance` (`max_values`: None, `max_size`: Some(65), added: 2540, mode: `MaxEncodedLen`)629 /// Storage: `Refungible::TotalSupply` (r:1 w:0)630 /// Proof: `Refungible::TotalSupply` (`max_values`: None, `max_size`: Some(40), added: 2515, mode: `MaxEncodedLen`)631 /// Storage: `Refungible::Owned` (r:0 w:1)632 /// Proof: `Refungible::Owned` (`max_values`: None, `max_size`: Some(74), added: 2549, mode: `MaxEncodedLen`)633 fn transfer_removing() -> Weight {634 // Proof Size summary in bytes:635 // Measured: `456`636 // Estimated: `6118`637 // Minimum execution time: 38_370_000 picoseconds.638 Weight::from_parts(38_855_000, 6118)639 .saturating_add(RocksDbWeight::get().reads(4_u64))640 .saturating_add(RocksDbWeight::get().writes(4_u64))641 }642 /// Storage: `Refungible::Balance` (r:2 w:2)643 /// Proof: `Refungible::Balance` (`max_values`: None, `max_size`: Some(89), added: 2564, mode: `MaxEncodedLen`)644 /// Storage: `Refungible::AccountBalance` (r:2 w:2)645 /// Proof: `Refungible::AccountBalance` (`max_values`: None, `max_size`: Some(65), added: 2540, mode: `MaxEncodedLen`)646 /// Storage: `Refungible::TotalSupply` (r:1 w:0)647 /// Proof: `Refungible::TotalSupply` (`max_values`: None, `max_size`: Some(40), added: 2515, mode: `MaxEncodedLen`)648 /// Storage: `Refungible::Owned` (r:0 w:2)649 /// Proof: `Refungible::Owned` (`max_values`: None, `max_size`: Some(74), added: 2549, mode: `MaxEncodedLen`)650 fn transfer_creating_removing() -> Weight {651 // Proof Size summary in bytes:652 // Measured: `341`653 // Estimated: `6118`654 // Minimum execution time: 43_244_000 picoseconds.655 Weight::from_parts(43_649_000, 6118)656 .saturating_add(RocksDbWeight::get().reads(5_u64))657 .saturating_add(RocksDbWeight::get().writes(6_u64))658 }659 /// Storage: `Refungible::Balance` (r:1 w:0)660 /// Proof: `Refungible::Balance` (`max_values`: None, `max_size`: Some(89), added: 2564, mode: `MaxEncodedLen`)661 /// Storage: `Refungible::Allowance` (r:0 w:1)662 /// Proof: `Refungible::Allowance` (`max_values`: None, `max_size`: Some(105), added: 2580, mode: `MaxEncodedLen`)663 fn approve() -> Weight {664 // Proof Size summary in bytes:665 // Measured: `223`666 // Estimated: `3554`667 // Minimum execution time: 17_775_000 picoseconds.668 Weight::from_parts(18_062_000, 3554)669 .saturating_add(RocksDbWeight::get().reads(1_u64))670 .saturating_add(RocksDbWeight::get().writes(1_u64))671 }672 /// Storage: `Refungible::Balance` (r:1 w:0)673 /// Proof: `Refungible::Balance` (`max_values`: None, `max_size`: Some(89), added: 2564, mode: `MaxEncodedLen`)674 /// Storage: `Refungible::Allowance` (r:0 w:1)675 /// Proof: `Refungible::Allowance` (`max_values`: None, `max_size`: Some(105), added: 2580, mode: `MaxEncodedLen`)676 fn approve_from() -> Weight {677 // Proof Size summary in bytes:678 // Measured: `211`679 // Estimated: `3554`680 // Minimum execution time: 18_304_000 picoseconds.681 Weight::from_parts(18_534_000, 3554)682 .saturating_add(RocksDbWeight::get().reads(1_u64))683 .saturating_add(RocksDbWeight::get().writes(1_u64))684 }685 /// Storage: `Refungible::Allowance` (r:1 w:1)686 /// Proof: `Refungible::Allowance` (`max_values`: None, `max_size`: Some(105), added: 2580, mode: `MaxEncodedLen`)687 /// Storage: `Refungible::Balance` (r:2 w:2)688 /// Proof: `Refungible::Balance` (`max_values`: None, `max_size`: Some(89), added: 2564, mode: `MaxEncodedLen`)689 /// Storage: `Refungible::TotalSupply` (r:1 w:0)690 /// Proof: `Refungible::TotalSupply` (`max_values`: None, `max_size`: Some(40), added: 2515, mode: `MaxEncodedLen`)691 fn transfer_from_normal() -> Weight {692 // Proof Size summary in bytes:693 // Measured: `495`694 // Estimated: `6118`695 // Minimum execution time: 42_123_000 picoseconds.696 Weight::from_parts(42_887_000, 6118)697 .saturating_add(RocksDbWeight::get().reads(4_u64))698 .saturating_add(RocksDbWeight::get().writes(3_u64))699 }700 /// Storage: `Refungible::Allowance` (r:1 w:1)701 /// Proof: `Refungible::Allowance` (`max_values`: None, `max_size`: Some(105), added: 2580, mode: `MaxEncodedLen`)702 /// Storage: `Refungible::Balance` (r:2 w:2)703 /// Proof: `Refungible::Balance` (`max_values`: None, `max_size`: Some(89), added: 2564, mode: `MaxEncodedLen`)704 /// Storage: `Refungible::AccountBalance` (r:1 w:1)705 /// Proof: `Refungible::AccountBalance` (`max_values`: None, `max_size`: Some(65), added: 2540, mode: `MaxEncodedLen`)706 /// Storage: `Refungible::TotalSupply` (r:1 w:0)707 /// Proof: `Refungible::TotalSupply` (`max_values`: None, `max_size`: Some(40), added: 2515, mode: `MaxEncodedLen`)708 /// Storage: `Refungible::Owned` (r:0 w:1)709 /// Proof: `Refungible::Owned` (`max_values`: None, `max_size`: Some(74), added: 2549, mode: `MaxEncodedLen`)710 fn transfer_from_creating() -> Weight {711 // Proof Size summary in bytes:712 // Measured: `471`713 // Estimated: `6118`714 // Minimum execution time: 50_549_000 picoseconds.715 Weight::from_parts(51_144_000, 6118)716 .saturating_add(RocksDbWeight::get().reads(5_u64))717 .saturating_add(RocksDbWeight::get().writes(5_u64))718 }719 /// Storage: `Refungible::Allowance` (r:1 w:1)720 /// Proof: `Refungible::Allowance` (`max_values`: None, `max_size`: Some(105), added: 2580, mode: `MaxEncodedLen`)721 /// Storage: `Refungible::Balance` (r:2 w:2)722 /// Proof: `Refungible::Balance` (`max_values`: None, `max_size`: Some(89), added: 2564, mode: `MaxEncodedLen`)723 /// Storage: `Refungible::AccountBalance` (r:1 w:1)724 /// Proof: `Refungible::AccountBalance` (`max_values`: None, `max_size`: Some(65), added: 2540, mode: `MaxEncodedLen`)725 /// Storage: `Refungible::TotalSupply` (r:1 w:0)726 /// Proof: `Refungible::TotalSupply` (`max_values`: None, `max_size`: Some(40), added: 2515, mode: `MaxEncodedLen`)727 /// Storage: `Refungible::Owned` (r:0 w:1)728 /// Proof: `Refungible::Owned` (`max_values`: None, `max_size`: Some(74), added: 2549, mode: `MaxEncodedLen`)729 fn transfer_from_removing() -> Weight {730 // Proof Size summary in bytes:731 // Measured: `586`732 // Estimated: `6118`733 // Minimum execution time: 52_978_000 picoseconds.734 Weight::from_parts(53_931_000, 6118)735 .saturating_add(RocksDbWeight::get().reads(5_u64))736 .saturating_add(RocksDbWeight::get().writes(5_u64))737 }738 /// Storage: `Refungible::Allowance` (r:1 w:1)739 /// Proof: `Refungible::Allowance` (`max_values`: None, `max_size`: Some(105), added: 2580, mode: `MaxEncodedLen`)740 /// Storage: `Refungible::Balance` (r:2 w:2)741 /// Proof: `Refungible::Balance` (`max_values`: None, `max_size`: Some(89), added: 2564, mode: `MaxEncodedLen`)742 /// Storage: `Refungible::AccountBalance` (r:2 w:2)743 /// Proof: `Refungible::AccountBalance` (`max_values`: None, `max_size`: Some(65), added: 2540, mode: `MaxEncodedLen`)744 /// Storage: `Refungible::TotalSupply` (r:1 w:0)745 /// Proof: `Refungible::TotalSupply` (`max_values`: None, `max_size`: Some(40), added: 2515, mode: `MaxEncodedLen`)746 /// Storage: `Refungible::Owned` (r:0 w:2)747 /// Proof: `Refungible::Owned` (`max_values`: None, `max_size`: Some(74), added: 2549, mode: `MaxEncodedLen`)748 fn transfer_from_creating_removing() -> Weight {749 // Proof Size summary in bytes:750 // Measured: `471`751 // Estimated: `6118`752 // Minimum execution time: 57_512_000 picoseconds.753 Weight::from_parts(58_148_000, 6118)754 .saturating_add(RocksDbWeight::get().reads(6_u64))755 .saturating_add(RocksDbWeight::get().writes(7_u64))756 }757 /// Storage: `Refungible::Allowance` (r:1 w:1)758 /// Proof: `Refungible::Allowance` (`max_values`: None, `max_size`: Some(105), added: 2580, mode: `MaxEncodedLen`)759 /// Storage: `Refungible::Balance` (r:1 w:1)760 /// Proof: `Refungible::Balance` (`max_values`: None, `max_size`: Some(89), added: 2564, mode: `MaxEncodedLen`)761 /// Storage: `Refungible::TotalSupply` (r:1 w:1)762 /// Proof: `Refungible::TotalSupply` (`max_values`: None, `max_size`: Some(40), added: 2515, mode: `MaxEncodedLen`)763 /// Storage: `Refungible::AccountBalance` (r:1 w:1)764 /// Proof: `Refungible::AccountBalance` (`max_values`: None, `max_size`: Some(65), added: 2540, mode: `MaxEncodedLen`)765 /// Storage: `Refungible::TokensBurnt` (r:1 w:1)766 /// Proof: `Refungible::TokensBurnt` (`max_values`: None, `max_size`: Some(16), added: 2491, mode: `MaxEncodedLen`)767 /// Storage: `Refungible::Owned` (r:0 w:1)768 /// Proof: `Refungible::Owned` (`max_values`: None, `max_size`: Some(74), added: 2549, mode: `MaxEncodedLen`)769 /// Storage: `Refungible::TokenProperties` (r:0 w:1)770 /// Proof: `Refungible::TokenProperties` (`max_values`: None, `max_size`: Some(32804), added: 35279, mode: `MaxEncodedLen`)771 fn burn_from() -> Weight {772 // Proof Size summary in bytes:773 // Measured: `471`774 // Estimated: `3570`775 // Minimum execution time: 59_841_000 picoseconds.776 Weight::from_parts(60_643_000, 3570)777 .saturating_add(RocksDbWeight::get().reads(5_u64))778 .saturating_add(RocksDbWeight::get().writes(7_u64))779 }780 /// Storage: `Refungible::TokenProperties` (r:1 w:0)781 /// Proof: `Refungible::TokenProperties` (`max_values`: None, `max_size`: Some(32804), added: 35279, mode: `MaxEncodedLen`)782 fn load_token_properties() -> Weight {783 // Proof Size summary in bytes:784 // Measured: `120`785 // Estimated: `36269`786 // Minimum execution time: 3_752_000 picoseconds.787 Weight::from_parts(3_933_000, 36269)788 .saturating_add(RocksDbWeight::get().reads(1_u64))789 }790 /// Storage: `Refungible::TokenProperties` (r:0 w:1)791 /// Proof: `Refungible::TokenProperties` (`max_values`: None, `max_size`: Some(32804), added: 35279, mode: `MaxEncodedLen`)792 /// The range of component `b` is `[0, 64]`.793 fn write_token_properties(b: u32, ) -> Weight {794 // Proof Size summary in bytes:795 // Measured: `0`796 // Estimated: `0`797 // Minimum execution time: 851_000 picoseconds.798 Weight::from_parts(879_000, 0)799 // Standard Error: 27_977800 .saturating_add(Weight::from_parts(37_787_661, 0).saturating_mul(b.into()))801 .saturating_add(RocksDbWeight::get().writes(1_u64))802 }803 /// Storage: `Common::CollectionPropertyPermissions` (r:1 w:1)804 /// Proof: `Common::CollectionPropertyPermissions` (`max_values`: None, `max_size`: Some(16726), added: 19201, mode: `MaxEncodedLen`)805 /// The range of component `b` is `[0, 64]`.806 fn set_token_property_permissions(b: u32, ) -> Weight {807 // Proof Size summary in bytes:808 // Measured: `314`809 // Estimated: `20191`810 // Minimum execution time: 3_212_000 picoseconds.811 Weight::from_parts(3_312_000, 20191)812 // Standard Error: 169_099813 .saturating_add(Weight::from_parts(37_467_090, 0).saturating_mul(b.into()))814 .saturating_add(RocksDbWeight::get().reads(1_u64))815 .saturating_add(RocksDbWeight::get().writes(1_u64))816 }817 /// Storage: `Refungible::TotalSupply` (r:1 w:1)818 /// Proof: `Refungible::TotalSupply` (`max_values`: None, `max_size`: Some(40), added: 2515, mode: `MaxEncodedLen`)819 /// Storage: `Refungible::Balance` (r:1 w:1)820 /// Proof: `Refungible::Balance` (`max_values`: None, `max_size`: Some(89), added: 2564, mode: `MaxEncodedLen`)821 fn repartition_item() -> Weight {822 // Proof Size summary in bytes:823 // Measured: `288`824 // Estimated: `3554`825 // Minimum execution time: 21_917_000 picoseconds.826 Weight::from_parts(22_248_000, 3554)827 .saturating_add(RocksDbWeight::get().reads(2_u64))828 .saturating_add(RocksDbWeight::get().writes(2_u64))829 }830 /// Storage: `Refungible::CollectionAllowance` (r:0 w:1)831 /// Proof: `Refungible::CollectionAllowance` (`max_values`: None, `max_size`: Some(111), added: 2586, mode: `MaxEncodedLen`)832 fn set_allowance_for_all() -> Weight {833 // Proof Size summary in bytes:834 // Measured: `0`835 // Estimated: `0`836 // Minimum execution time: 11_167_000 picoseconds.837 Weight::from_parts(11_372_000, 0)838 .saturating_add(RocksDbWeight::get().writes(1_u64))839 }840 /// Storage: `Refungible::CollectionAllowance` (r:1 w:0)841 /// Proof: `Refungible::CollectionAllowance` (`max_values`: None, `max_size`: Some(111), added: 2586, mode: `MaxEncodedLen`)842 fn allowance_for_all() -> Weight {843 // Proof Size summary in bytes:844 // Measured: `4`845 // Estimated: `3576`846 // Minimum execution time: 4_851_000 picoseconds.847 Weight::from_parts(4_988_000, 3576)848 .saturating_add(RocksDbWeight::get().reads(1_u64))849 }850 /// Storage: `Refungible::TokenProperties` (r:1 w:1)851 /// Proof: `Refungible::TokenProperties` (`max_values`: None, `max_size`: Some(32804), added: 35279, mode: `MaxEncodedLen`)852 fn repair_item() -> Weight {853 // Proof Size summary in bytes:854 // Measured: `120`855 // Estimated: `36269`856 // Minimum execution time: 4_130_000 picoseconds.857 Weight::from_parts(4_267_000, 36269)858 .saturating_add(RocksDbWeight::get().reads(1_u64))859 .saturating_add(RocksDbWeight::get().writes(1_u64))860 }861}862pallets/structure/src/weights.rsdiffbeforeafterboth--- a/pallets/structure/src/weights.rs
+++ b/pallets/structure/src/weights.rs
@@ -3,13 +3,13 @@
//! Autogenerated weights for pallet_structure
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
-//! DATE: 2023-09-26, STEPS: `50`, REPEAT: `400`, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! DATE: 2023-10-13, STEPS: `50`, REPEAT: `80`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `bench-host`, CPU: `Intel(R) Core(TM) i7-8700 CPU @ 3.20GHz`
-//! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024
+//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024
// Executed Command:
-// target/production/unique-collator
+// ./target/production/unique-collator
// benchmark
// pallet
// --pallet
@@ -20,7 +20,7 @@
// *
// --template=.maintain/frame-weight-template.hbs
// --steps=50
-// --repeat=400
+// --repeat=80
// --heap-pages=4096
// --output=./pallets/structure/src/weights.rs
@@ -39,32 +39,32 @@
/// Weights for pallet_structure using the Substrate node and recommended hardware.
pub struct SubstrateWeight<T>(PhantomData<T>);
impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
- /// Storage: Common CollectionById (r:1 w:0)
- /// Proof: Common CollectionById (max_values: None, max_size: Some(860), added: 3335, mode: MaxEncodedLen)
- /// Storage: Nonfungible TokenData (r:1 w:0)
- /// Proof: Nonfungible TokenData (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)
+ /// Storage: `Common::CollectionById` (r:1 w:0)
+ /// Proof: `Common::CollectionById` (`max_values`: None, `max_size`: Some(860), added: 3335, mode: `MaxEncodedLen`)
+ /// Storage: `Nonfungible::TokenData` (r:1 w:0)
+ /// Proof: `Nonfungible::TokenData` (`max_values`: None, `max_size`: Some(57), added: 2532, mode: `MaxEncodedLen`)
fn find_parent() -> Weight {
// Proof Size summary in bytes:
// Measured: `667`
// Estimated: `4325`
- // Minimum execution time: 7_344_000 picoseconds.
- Weight::from_parts(7_578_000, 4325)
+ // Minimum execution time: 10_392_000 picoseconds.
+ Weight::from_parts(10_615_000, 4325)
.saturating_add(T::DbWeight::get().reads(2_u64))
}
}
// For backwards compatibility and tests
impl WeightInfo for () {
- /// Storage: Common CollectionById (r:1 w:0)
- /// Proof: Common CollectionById (max_values: None, max_size: Some(860), added: 3335, mode: MaxEncodedLen)
- /// Storage: Nonfungible TokenData (r:1 w:0)
- /// Proof: Nonfungible TokenData (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)
+ /// Storage: `Common::CollectionById` (r:1 w:0)
+ /// Proof: `Common::CollectionById` (`max_values`: None, `max_size`: Some(860), added: 3335, mode: `MaxEncodedLen`)
+ /// Storage: `Nonfungible::TokenData` (r:1 w:0)
+ /// Proof: `Nonfungible::TokenData` (`max_values`: None, `max_size`: Some(57), added: 2532, mode: `MaxEncodedLen`)
fn find_parent() -> Weight {
// Proof Size summary in bytes:
// Measured: `667`
// Estimated: `4325`
- // Minimum execution time: 7_344_000 picoseconds.
- Weight::from_parts(7_578_000, 4325)
+ // Minimum execution time: 10_392_000 picoseconds.
+ Weight::from_parts(10_615_000, 4325)
.saturating_add(RocksDbWeight::get().reads(2_u64))
}
}
pallets/unique/src/weights.rsdiffbeforeafterboth--- a/pallets/unique/src/weights.rs
+++ b/pallets/unique/src/weights.rs
@@ -3,13 +3,13 @@
//! Autogenerated weights for pallet_unique
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
-//! DATE: 2023-09-26, STEPS: `50`, REPEAT: `400`, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! DATE: 2023-10-13, STEPS: `50`, REPEAT: `80`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `bench-host`, CPU: `Intel(R) Core(TM) i7-8700 CPU @ 3.20GHz`
-//! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024
+//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024
// Executed Command:
-// target/production/unique-collator
+// ./target/production/unique-collator
// benchmark
// pallet
// --pallet
@@ -20,7 +20,7 @@
// *
// --template=.maintain/frame-weight-template.hbs
// --steps=50
-// --repeat=400
+// --repeat=80
// --heap-pages=4096
// --output=./pallets/unique/src/weights.rs
@@ -51,182 +51,182 @@
/// Weights for pallet_unique using the Substrate node and recommended hardware.
pub struct SubstrateWeight<T>(PhantomData<T>);
impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
- /// Storage: Common CreatedCollectionCount (r:1 w:1)
- /// Proof: Common CreatedCollectionCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
- /// Storage: Common DestroyedCollectionCount (r:1 w:0)
- /// Proof: Common DestroyedCollectionCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
- /// Storage: System Account (r:2 w:2)
- /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
- /// Storage: Common AdminAmount (r:0 w:1)
- /// Proof: Common AdminAmount (max_values: None, max_size: Some(24), added: 2499, mode: MaxEncodedLen)
- /// Storage: Common CollectionPropertyPermissions (r:0 w:1)
- /// Proof: Common CollectionPropertyPermissions (max_values: None, max_size: Some(16726), added: 19201, mode: MaxEncodedLen)
- /// Storage: Common CollectionProperties (r:0 w:1)
- /// Proof: Common CollectionProperties (max_values: None, max_size: Some(40992), added: 43467, mode: MaxEncodedLen)
- /// Storage: Common CollectionById (r:0 w:1)
- /// Proof: Common CollectionById (max_values: None, max_size: Some(860), added: 3335, mode: MaxEncodedLen)
+ /// Storage: `Common::CreatedCollectionCount` (r:1 w:1)
+ /// Proof: `Common::CreatedCollectionCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
+ /// Storage: `Common::DestroyedCollectionCount` (r:1 w:0)
+ /// Proof: `Common::DestroyedCollectionCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
+ /// Storage: `System::Account` (r:2 w:2)
+ /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
+ /// Storage: `Common::AdminAmount` (r:0 w:1)
+ /// Proof: `Common::AdminAmount` (`max_values`: None, `max_size`: Some(24), added: 2499, mode: `MaxEncodedLen`)
+ /// Storage: `Common::CollectionPropertyPermissions` (r:0 w:1)
+ /// Proof: `Common::CollectionPropertyPermissions` (`max_values`: None, `max_size`: Some(16726), added: 19201, mode: `MaxEncodedLen`)
+ /// Storage: `Common::CollectionProperties` (r:0 w:1)
+ /// Proof: `Common::CollectionProperties` (`max_values`: None, `max_size`: Some(40992), added: 43467, mode: `MaxEncodedLen`)
+ /// Storage: `Common::CollectionById` (r:0 w:1)
+ /// Proof: `Common::CollectionById` (`max_values`: None, `max_size`: Some(860), added: 3335, mode: `MaxEncodedLen`)
fn create_collection() -> Weight {
// Proof Size summary in bytes:
// Measured: `245`
// Estimated: `6196`
- // Minimum execution time: 26_618_000 picoseconds.
- Weight::from_parts(27_287_000, 6196)
+ // Minimum execution time: 59_642_000 picoseconds.
+ Weight::from_parts(60_286_000, 6196)
.saturating_add(T::DbWeight::get().reads(4_u64))
.saturating_add(T::DbWeight::get().writes(7_u64))
}
- /// Storage: Common CollectionById (r:1 w:1)
- /// Proof: Common CollectionById (max_values: None, max_size: Some(860), added: 3335, mode: MaxEncodedLen)
- /// Storage: Nonfungible TokenData (r:1 w:0)
- /// Proof: Nonfungible TokenData (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)
- /// Storage: Common DestroyedCollectionCount (r:1 w:1)
- /// Proof: Common DestroyedCollectionCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
- /// Storage: Nonfungible TokensMinted (r:0 w:1)
- /// Proof: Nonfungible TokensMinted (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)
- /// Storage: Nonfungible TokensBurnt (r:0 w:1)
- /// Proof: Nonfungible TokensBurnt (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)
- /// Storage: Common AdminAmount (r:0 w:1)
- /// Proof: Common AdminAmount (max_values: None, max_size: Some(24), added: 2499, mode: MaxEncodedLen)
- /// Storage: Common CollectionProperties (r:0 w:1)
- /// Proof: Common CollectionProperties (max_values: None, max_size: Some(40992), added: 43467, mode: MaxEncodedLen)
+ /// Storage: `Common::CollectionById` (r:1 w:1)
+ /// Proof: `Common::CollectionById` (`max_values`: None, `max_size`: Some(860), added: 3335, mode: `MaxEncodedLen`)
+ /// Storage: `Nonfungible::TokenData` (r:1 w:0)
+ /// Proof: `Nonfungible::TokenData` (`max_values`: None, `max_size`: Some(57), added: 2532, mode: `MaxEncodedLen`)
+ /// Storage: `Common::DestroyedCollectionCount` (r:1 w:1)
+ /// Proof: `Common::DestroyedCollectionCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
+ /// Storage: `Nonfungible::TokensMinted` (r:0 w:1)
+ /// Proof: `Nonfungible::TokensMinted` (`max_values`: None, `max_size`: Some(16), added: 2491, mode: `MaxEncodedLen`)
+ /// Storage: `Nonfungible::TokensBurnt` (r:0 w:1)
+ /// Proof: `Nonfungible::TokensBurnt` (`max_values`: None, `max_size`: Some(16), added: 2491, mode: `MaxEncodedLen`)
+ /// Storage: `Common::AdminAmount` (r:0 w:1)
+ /// Proof: `Common::AdminAmount` (`max_values`: None, `max_size`: Some(24), added: 2499, mode: `MaxEncodedLen`)
+ /// Storage: `Common::CollectionProperties` (r:0 w:1)
+ /// Proof: `Common::CollectionProperties` (`max_values`: None, `max_size`: Some(40992), added: 43467, mode: `MaxEncodedLen`)
fn destroy_collection() -> Weight {
// Proof Size summary in bytes:
// Measured: `1200`
// Estimated: `4325`
- // Minimum execution time: 37_428_000 picoseconds.
- Weight::from_parts(38_258_000, 4325)
+ // Minimum execution time: 63_083_000 picoseconds.
+ Weight::from_parts(63_928_000, 4325)
.saturating_add(T::DbWeight::get().reads(3_u64))
.saturating_add(T::DbWeight::get().writes(6_u64))
}
- /// Storage: Common CollectionById (r:1 w:0)
- /// Proof: Common CollectionById (max_values: None, max_size: Some(860), added: 3335, mode: MaxEncodedLen)
- /// Storage: Common Allowlist (r:0 w:1)
- /// Proof: Common Allowlist (max_values: None, max_size: Some(70), added: 2545, mode: MaxEncodedLen)
+ /// Storage: `Common::CollectionById` (r:1 w:0)
+ /// Proof: `Common::CollectionById` (`max_values`: None, `max_size`: Some(860), added: 3335, mode: `MaxEncodedLen`)
+ /// Storage: `Common::Allowlist` (r:0 w:1)
+ /// Proof: `Common::Allowlist` (`max_values`: None, `max_size`: Some(70), added: 2545, mode: `MaxEncodedLen`)
fn add_to_allow_list() -> Weight {
// Proof Size summary in bytes:
// Measured: `1000`
// Estimated: `4325`
- // Minimum execution time: 9_968_000 picoseconds.
- Weight::from_parts(10_388_000, 4325)
+ // Minimum execution time: 18_654_000 picoseconds.
+ Weight::from_parts(18_932_000, 4325)
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
- /// Storage: Common CollectionById (r:1 w:0)
- /// Proof: Common CollectionById (max_values: None, max_size: Some(860), added: 3335, mode: MaxEncodedLen)
- /// Storage: Common Allowlist (r:0 w:1)
- /// Proof: Common Allowlist (max_values: None, max_size: Some(70), added: 2545, mode: MaxEncodedLen)
+ /// Storage: `Common::CollectionById` (r:1 w:0)
+ /// Proof: `Common::CollectionById` (`max_values`: None, `max_size`: Some(860), added: 3335, mode: `MaxEncodedLen`)
+ /// Storage: `Common::Allowlist` (r:0 w:1)
+ /// Proof: `Common::Allowlist` (`max_values`: None, `max_size`: Some(70), added: 2545, mode: `MaxEncodedLen`)
fn remove_from_allow_list() -> Weight {
// Proof Size summary in bytes:
// Measured: `1033`
// Estimated: `4325`
- // Minimum execution time: 9_600_000 picoseconds.
- Weight::from_parts(9_974_000, 4325)
+ // Minimum execution time: 18_361_000 picoseconds.
+ Weight::from_parts(18_584_000, 4325)
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
- /// Storage: Common CollectionById (r:1 w:1)
- /// Proof: Common CollectionById (max_values: None, max_size: Some(860), added: 3335, mode: MaxEncodedLen)
+ /// Storage: `Common::CollectionById` (r:1 w:1)
+ /// Proof: `Common::CollectionById` (`max_values`: None, `max_size`: Some(860), added: 3335, mode: `MaxEncodedLen`)
fn change_collection_owner() -> Weight {
// Proof Size summary in bytes:
// Measured: `1000`
// Estimated: `4325`
- // Minimum execution time: 9_185_000 picoseconds.
- Weight::from_parts(9_525_000, 4325)
+ // Minimum execution time: 17_058_000 picoseconds.
+ Weight::from_parts(17_362_000, 4325)
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
- /// Storage: Common CollectionById (r:1 w:0)
- /// Proof: Common CollectionById (max_values: None, max_size: Some(860), added: 3335, mode: MaxEncodedLen)
- /// Storage: Common IsAdmin (r:1 w:1)
- /// Proof: Common IsAdmin (max_values: None, max_size: Some(70), added: 2545, mode: MaxEncodedLen)
- /// Storage: Common AdminAmount (r:1 w:1)
- /// Proof: Common AdminAmount (max_values: None, max_size: Some(24), added: 2499, mode: MaxEncodedLen)
+ /// Storage: `Common::CollectionById` (r:1 w:0)
+ /// Proof: `Common::CollectionById` (`max_values`: None, `max_size`: Some(860), added: 3335, mode: `MaxEncodedLen`)
+ /// Storage: `Common::IsAdmin` (r:1 w:1)
+ /// Proof: `Common::IsAdmin` (`max_values`: None, `max_size`: Some(70), added: 2545, mode: `MaxEncodedLen`)
+ /// Storage: `Common::AdminAmount` (r:1 w:1)
+ /// Proof: `Common::AdminAmount` (`max_values`: None, `max_size`: Some(24), added: 2499, mode: `MaxEncodedLen`)
fn add_collection_admin() -> Weight {
// Proof Size summary in bytes:
// Measured: `1012`
// Estimated: `4325`
- // Minimum execution time: 12_704_000 picoseconds.
- Weight::from_parts(13_115_000, 4325)
+ // Minimum execution time: 24_063_000 picoseconds.
+ Weight::from_parts(24_374_000, 4325)
.saturating_add(T::DbWeight::get().reads(3_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
}
- /// Storage: Common CollectionById (r:1 w:0)
- /// Proof: Common CollectionById (max_values: None, max_size: Some(860), added: 3335, mode: MaxEncodedLen)
- /// Storage: Common IsAdmin (r:1 w:1)
- /// Proof: Common IsAdmin (max_values: None, max_size: Some(70), added: 2545, mode: MaxEncodedLen)
- /// Storage: Common AdminAmount (r:1 w:1)
- /// Proof: Common AdminAmount (max_values: None, max_size: Some(24), added: 2499, mode: MaxEncodedLen)
+ /// Storage: `Common::CollectionById` (r:1 w:0)
+ /// Proof: `Common::CollectionById` (`max_values`: None, `max_size`: Some(860), added: 3335, mode: `MaxEncodedLen`)
+ /// Storage: `Common::IsAdmin` (r:1 w:1)
+ /// Proof: `Common::IsAdmin` (`max_values`: None, `max_size`: Some(70), added: 2545, mode: `MaxEncodedLen`)
+ /// Storage: `Common::AdminAmount` (r:1 w:1)
+ /// Proof: `Common::AdminAmount` (`max_values`: None, `max_size`: Some(24), added: 2499, mode: `MaxEncodedLen`)
fn remove_collection_admin() -> Weight {
// Proof Size summary in bytes:
// Measured: `1107`
// Estimated: `4325`
- // Minimum execution time: 14_185_000 picoseconds.
- Weight::from_parts(14_492_000, 4325)
+ // Minimum execution time: 25_196_000 picoseconds.
+ Weight::from_parts(25_670_000, 4325)
.saturating_add(T::DbWeight::get().reads(3_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
}
- /// Storage: Common CollectionById (r:1 w:1)
- /// Proof: Common CollectionById (max_values: None, max_size: Some(860), added: 3335, mode: MaxEncodedLen)
+ /// Storage: `Common::CollectionById` (r:1 w:1)
+ /// Proof: `Common::CollectionById` (`max_values`: None, `max_size`: Some(860), added: 3335, mode: `MaxEncodedLen`)
fn set_collection_sponsor() -> Weight {
// Proof Size summary in bytes:
// Measured: `1000`
// Estimated: `4325`
- // Minimum execution time: 9_217_000 picoseconds.
- Weight::from_parts(9_499_000, 4325)
+ // Minimum execution time: 17_058_000 picoseconds.
+ Weight::from_parts(17_388_000, 4325)
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
- /// Storage: Common CollectionById (r:1 w:1)
- /// Proof: Common CollectionById (max_values: None, max_size: Some(860), added: 3335, mode: MaxEncodedLen)
+ /// Storage: `Common::CollectionById` (r:1 w:1)
+ /// Proof: `Common::CollectionById` (`max_values`: None, `max_size`: Some(860), added: 3335, mode: `MaxEncodedLen`)
fn confirm_sponsorship() -> Weight {
// Proof Size summary in bytes:
// Measured: `1032`
// Estimated: `4325`
- // Minimum execution time: 8_993_000 picoseconds.
- Weight::from_parts(9_264_000, 4325)
+ // Minimum execution time: 16_730_000 picoseconds.
+ Weight::from_parts(16_965_000, 4325)
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
- /// Storage: Common CollectionById (r:1 w:1)
- /// Proof: Common CollectionById (max_values: None, max_size: Some(860), added: 3335, mode: MaxEncodedLen)
+ /// Storage: `Common::CollectionById` (r:1 w:1)
+ /// Proof: `Common::CollectionById` (`max_values`: None, `max_size`: Some(860), added: 3335, mode: `MaxEncodedLen`)
fn remove_collection_sponsor() -> Weight {
// Proof Size summary in bytes:
// Measured: `1032`
// Estimated: `4325`
- // Minimum execution time: 8_804_000 picoseconds.
- Weight::from_parts(9_302_000, 4325)
+ // Minimum execution time: 16_504_000 picoseconds.
+ Weight::from_parts(16_836_000, 4325)
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
- /// Storage: Common CollectionById (r:1 w:1)
- /// Proof: Common CollectionById (max_values: None, max_size: Some(860), added: 3335, mode: MaxEncodedLen)
+ /// Storage: `Common::CollectionById` (r:1 w:1)
+ /// Proof: `Common::CollectionById` (`max_values`: None, `max_size`: Some(860), added: 3335, mode: `MaxEncodedLen`)
fn set_transfers_enabled_flag() -> Weight {
// Proof Size summary in bytes:
// Measured: `1000`
// Estimated: `4325`
- // Minimum execution time: 5_985_000 picoseconds.
- Weight::from_parts(6_155_000, 4325)
+ // Minimum execution time: 10_285_000 picoseconds.
+ Weight::from_parts(10_505_000, 4325)
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
- /// Storage: Common CollectionById (r:1 w:1)
- /// Proof: Common CollectionById (max_values: None, max_size: Some(860), added: 3335, mode: MaxEncodedLen)
+ /// Storage: `Common::CollectionById` (r:1 w:1)
+ /// Proof: `Common::CollectionById` (`max_values`: None, `max_size`: Some(860), added: 3335, mode: `MaxEncodedLen`)
fn set_collection_limits() -> Weight {
// Proof Size summary in bytes:
// Measured: `1000`
// Estimated: `4325`
- // Minimum execution time: 9_288_000 picoseconds.
- Weight::from_parts(9_608_000, 4325)
+ // Minimum execution time: 17_160_000 picoseconds.
+ Weight::from_parts(17_427_000, 4325)
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
- /// Storage: Common CollectionProperties (r:1 w:1)
- /// Proof: Common CollectionProperties (max_values: None, max_size: Some(40992), added: 43467, mode: MaxEncodedLen)
+ /// Storage: `Common::CollectionProperties` (r:1 w:1)
+ /// Proof: `Common::CollectionProperties` (`max_values`: None, `max_size`: Some(40992), added: 43467, mode: `MaxEncodedLen`)
fn force_repair_collection() -> Weight {
// Proof Size summary in bytes:
// Measured: `298`
// Estimated: `44457`
- // Minimum execution time: 4_904_000 picoseconds.
- Weight::from_parts(5_142_000, 44457)
+ // Minimum execution time: 7_771_000 picoseconds.
+ Weight::from_parts(8_037_000, 44457)
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -234,182 +234,182 @@
// For backwards compatibility and tests
impl WeightInfo for () {
- /// Storage: Common CreatedCollectionCount (r:1 w:1)
- /// Proof: Common CreatedCollectionCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
- /// Storage: Common DestroyedCollectionCount (r:1 w:0)
- /// Proof: Common DestroyedCollectionCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
- /// Storage: System Account (r:2 w:2)
- /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
- /// Storage: Common AdminAmount (r:0 w:1)
- /// Proof: Common AdminAmount (max_values: None, max_size: Some(24), added: 2499, mode: MaxEncodedLen)
- /// Storage: Common CollectionPropertyPermissions (r:0 w:1)
- /// Proof: Common CollectionPropertyPermissions (max_values: None, max_size: Some(16726), added: 19201, mode: MaxEncodedLen)
- /// Storage: Common CollectionProperties (r:0 w:1)
- /// Proof: Common CollectionProperties (max_values: None, max_size: Some(40992), added: 43467, mode: MaxEncodedLen)
- /// Storage: Common CollectionById (r:0 w:1)
- /// Proof: Common CollectionById (max_values: None, max_size: Some(860), added: 3335, mode: MaxEncodedLen)
+ /// Storage: `Common::CreatedCollectionCount` (r:1 w:1)
+ /// Proof: `Common::CreatedCollectionCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
+ /// Storage: `Common::DestroyedCollectionCount` (r:1 w:0)
+ /// Proof: `Common::DestroyedCollectionCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
+ /// Storage: `System::Account` (r:2 w:2)
+ /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
+ /// Storage: `Common::AdminAmount` (r:0 w:1)
+ /// Proof: `Common::AdminAmount` (`max_values`: None, `max_size`: Some(24), added: 2499, mode: `MaxEncodedLen`)
+ /// Storage: `Common::CollectionPropertyPermissions` (r:0 w:1)
+ /// Proof: `Common::CollectionPropertyPermissions` (`max_values`: None, `max_size`: Some(16726), added: 19201, mode: `MaxEncodedLen`)
+ /// Storage: `Common::CollectionProperties` (r:0 w:1)
+ /// Proof: `Common::CollectionProperties` (`max_values`: None, `max_size`: Some(40992), added: 43467, mode: `MaxEncodedLen`)
+ /// Storage: `Common::CollectionById` (r:0 w:1)
+ /// Proof: `Common::CollectionById` (`max_values`: None, `max_size`: Some(860), added: 3335, mode: `MaxEncodedLen`)
fn create_collection() -> Weight {
// Proof Size summary in bytes:
// Measured: `245`
// Estimated: `6196`
- // Minimum execution time: 26_618_000 picoseconds.
- Weight::from_parts(27_287_000, 6196)
+ // Minimum execution time: 59_642_000 picoseconds.
+ Weight::from_parts(60_286_000, 6196)
.saturating_add(RocksDbWeight::get().reads(4_u64))
.saturating_add(RocksDbWeight::get().writes(7_u64))
}
- /// Storage: Common CollectionById (r:1 w:1)
- /// Proof: Common CollectionById (max_values: None, max_size: Some(860), added: 3335, mode: MaxEncodedLen)
- /// Storage: Nonfungible TokenData (r:1 w:0)
- /// Proof: Nonfungible TokenData (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)
- /// Storage: Common DestroyedCollectionCount (r:1 w:1)
- /// Proof: Common DestroyedCollectionCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
- /// Storage: Nonfungible TokensMinted (r:0 w:1)
- /// Proof: Nonfungible TokensMinted (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)
- /// Storage: Nonfungible TokensBurnt (r:0 w:1)
- /// Proof: Nonfungible TokensBurnt (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)
- /// Storage: Common AdminAmount (r:0 w:1)
- /// Proof: Common AdminAmount (max_values: None, max_size: Some(24), added: 2499, mode: MaxEncodedLen)
- /// Storage: Common CollectionProperties (r:0 w:1)
- /// Proof: Common CollectionProperties (max_values: None, max_size: Some(40992), added: 43467, mode: MaxEncodedLen)
+ /// Storage: `Common::CollectionById` (r:1 w:1)
+ /// Proof: `Common::CollectionById` (`max_values`: None, `max_size`: Some(860), added: 3335, mode: `MaxEncodedLen`)
+ /// Storage: `Nonfungible::TokenData` (r:1 w:0)
+ /// Proof: `Nonfungible::TokenData` (`max_values`: None, `max_size`: Some(57), added: 2532, mode: `MaxEncodedLen`)
+ /// Storage: `Common::DestroyedCollectionCount` (r:1 w:1)
+ /// Proof: `Common::DestroyedCollectionCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
+ /// Storage: `Nonfungible::TokensMinted` (r:0 w:1)
+ /// Proof: `Nonfungible::TokensMinted` (`max_values`: None, `max_size`: Some(16), added: 2491, mode: `MaxEncodedLen`)
+ /// Storage: `Nonfungible::TokensBurnt` (r:0 w:1)
+ /// Proof: `Nonfungible::TokensBurnt` (`max_values`: None, `max_size`: Some(16), added: 2491, mode: `MaxEncodedLen`)
+ /// Storage: `Common::AdminAmount` (r:0 w:1)
+ /// Proof: `Common::AdminAmount` (`max_values`: None, `max_size`: Some(24), added: 2499, mode: `MaxEncodedLen`)
+ /// Storage: `Common::CollectionProperties` (r:0 w:1)
+ /// Proof: `Common::CollectionProperties` (`max_values`: None, `max_size`: Some(40992), added: 43467, mode: `MaxEncodedLen`)
fn destroy_collection() -> Weight {
// Proof Size summary in bytes:
// Measured: `1200`
// Estimated: `4325`
- // Minimum execution time: 37_428_000 picoseconds.
- Weight::from_parts(38_258_000, 4325)
+ // Minimum execution time: 63_083_000 picoseconds.
+ Weight::from_parts(63_928_000, 4325)
.saturating_add(RocksDbWeight::get().reads(3_u64))
.saturating_add(RocksDbWeight::get().writes(6_u64))
}
- /// Storage: Common CollectionById (r:1 w:0)
- /// Proof: Common CollectionById (max_values: None, max_size: Some(860), added: 3335, mode: MaxEncodedLen)
- /// Storage: Common Allowlist (r:0 w:1)
- /// Proof: Common Allowlist (max_values: None, max_size: Some(70), added: 2545, mode: MaxEncodedLen)
+ /// Storage: `Common::CollectionById` (r:1 w:0)
+ /// Proof: `Common::CollectionById` (`max_values`: None, `max_size`: Some(860), added: 3335, mode: `MaxEncodedLen`)
+ /// Storage: `Common::Allowlist` (r:0 w:1)
+ /// Proof: `Common::Allowlist` (`max_values`: None, `max_size`: Some(70), added: 2545, mode: `MaxEncodedLen`)
fn add_to_allow_list() -> Weight {
// Proof Size summary in bytes:
// Measured: `1000`
// Estimated: `4325`
- // Minimum execution time: 9_968_000 picoseconds.
- Weight::from_parts(10_388_000, 4325)
+ // Minimum execution time: 18_654_000 picoseconds.
+ Weight::from_parts(18_932_000, 4325)
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
- /// Storage: Common CollectionById (r:1 w:0)
- /// Proof: Common CollectionById (max_values: None, max_size: Some(860), added: 3335, mode: MaxEncodedLen)
- /// Storage: Common Allowlist (r:0 w:1)
- /// Proof: Common Allowlist (max_values: None, max_size: Some(70), added: 2545, mode: MaxEncodedLen)
+ /// Storage: `Common::CollectionById` (r:1 w:0)
+ /// Proof: `Common::CollectionById` (`max_values`: None, `max_size`: Some(860), added: 3335, mode: `MaxEncodedLen`)
+ /// Storage: `Common::Allowlist` (r:0 w:1)
+ /// Proof: `Common::Allowlist` (`max_values`: None, `max_size`: Some(70), added: 2545, mode: `MaxEncodedLen`)
fn remove_from_allow_list() -> Weight {
// Proof Size summary in bytes:
// Measured: `1033`
// Estimated: `4325`
- // Minimum execution time: 9_600_000 picoseconds.
- Weight::from_parts(9_974_000, 4325)
+ // Minimum execution time: 18_361_000 picoseconds.
+ Weight::from_parts(18_584_000, 4325)
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
- /// Storage: Common CollectionById (r:1 w:1)
- /// Proof: Common CollectionById (max_values: None, max_size: Some(860), added: 3335, mode: MaxEncodedLen)
+ /// Storage: `Common::CollectionById` (r:1 w:1)
+ /// Proof: `Common::CollectionById` (`max_values`: None, `max_size`: Some(860), added: 3335, mode: `MaxEncodedLen`)
fn change_collection_owner() -> Weight {
// Proof Size summary in bytes:
// Measured: `1000`
// Estimated: `4325`
- // Minimum execution time: 9_185_000 picoseconds.
- Weight::from_parts(9_525_000, 4325)
+ // Minimum execution time: 17_058_000 picoseconds.
+ Weight::from_parts(17_362_000, 4325)
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
- /// Storage: Common CollectionById (r:1 w:0)
- /// Proof: Common CollectionById (max_values: None, max_size: Some(860), added: 3335, mode: MaxEncodedLen)
- /// Storage: Common IsAdmin (r:1 w:1)
- /// Proof: Common IsAdmin (max_values: None, max_size: Some(70), added: 2545, mode: MaxEncodedLen)
- /// Storage: Common AdminAmount (r:1 w:1)
- /// Proof: Common AdminAmount (max_values: None, max_size: Some(24), added: 2499, mode: MaxEncodedLen)
+ /// Storage: `Common::CollectionById` (r:1 w:0)
+ /// Proof: `Common::CollectionById` (`max_values`: None, `max_size`: Some(860), added: 3335, mode: `MaxEncodedLen`)
+ /// Storage: `Common::IsAdmin` (r:1 w:1)
+ /// Proof: `Common::IsAdmin` (`max_values`: None, `max_size`: Some(70), added: 2545, mode: `MaxEncodedLen`)
+ /// Storage: `Common::AdminAmount` (r:1 w:1)
+ /// Proof: `Common::AdminAmount` (`max_values`: None, `max_size`: Some(24), added: 2499, mode: `MaxEncodedLen`)
fn add_collection_admin() -> Weight {
// Proof Size summary in bytes:
// Measured: `1012`
// Estimated: `4325`
- // Minimum execution time: 12_704_000 picoseconds.
- Weight::from_parts(13_115_000, 4325)
+ // Minimum execution time: 24_063_000 picoseconds.
+ Weight::from_parts(24_374_000, 4325)
.saturating_add(RocksDbWeight::get().reads(3_u64))
.saturating_add(RocksDbWeight::get().writes(2_u64))
}
- /// Storage: Common CollectionById (r:1 w:0)
- /// Proof: Common CollectionById (max_values: None, max_size: Some(860), added: 3335, mode: MaxEncodedLen)
- /// Storage: Common IsAdmin (r:1 w:1)
- /// Proof: Common IsAdmin (max_values: None, max_size: Some(70), added: 2545, mode: MaxEncodedLen)
- /// Storage: Common AdminAmount (r:1 w:1)
- /// Proof: Common AdminAmount (max_values: None, max_size: Some(24), added: 2499, mode: MaxEncodedLen)
+ /// Storage: `Common::CollectionById` (r:1 w:0)
+ /// Proof: `Common::CollectionById` (`max_values`: None, `max_size`: Some(860), added: 3335, mode: `MaxEncodedLen`)
+ /// Storage: `Common::IsAdmin` (r:1 w:1)
+ /// Proof: `Common::IsAdmin` (`max_values`: None, `max_size`: Some(70), added: 2545, mode: `MaxEncodedLen`)
+ /// Storage: `Common::AdminAmount` (r:1 w:1)
+ /// Proof: `Common::AdminAmount` (`max_values`: None, `max_size`: Some(24), added: 2499, mode: `MaxEncodedLen`)
fn remove_collection_admin() -> Weight {
// Proof Size summary in bytes:
// Measured: `1107`
// Estimated: `4325`
- // Minimum execution time: 14_185_000 picoseconds.
- Weight::from_parts(14_492_000, 4325)
+ // Minimum execution time: 25_196_000 picoseconds.
+ Weight::from_parts(25_670_000, 4325)
.saturating_add(RocksDbWeight::get().reads(3_u64))
.saturating_add(RocksDbWeight::get().writes(2_u64))
}
- /// Storage: Common CollectionById (r:1 w:1)
- /// Proof: Common CollectionById (max_values: None, max_size: Some(860), added: 3335, mode: MaxEncodedLen)
+ /// Storage: `Common::CollectionById` (r:1 w:1)
+ /// Proof: `Common::CollectionById` (`max_values`: None, `max_size`: Some(860), added: 3335, mode: `MaxEncodedLen`)
fn set_collection_sponsor() -> Weight {
// Proof Size summary in bytes:
// Measured: `1000`
// Estimated: `4325`
- // Minimum execution time: 9_217_000 picoseconds.
- Weight::from_parts(9_499_000, 4325)
+ // Minimum execution time: 17_058_000 picoseconds.
+ Weight::from_parts(17_388_000, 4325)
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
- /// Storage: Common CollectionById (r:1 w:1)
- /// Proof: Common CollectionById (max_values: None, max_size: Some(860), added: 3335, mode: MaxEncodedLen)
+ /// Storage: `Common::CollectionById` (r:1 w:1)
+ /// Proof: `Common::CollectionById` (`max_values`: None, `max_size`: Some(860), added: 3335, mode: `MaxEncodedLen`)
fn confirm_sponsorship() -> Weight {
// Proof Size summary in bytes:
// Measured: `1032`
// Estimated: `4325`
- // Minimum execution time: 8_993_000 picoseconds.
- Weight::from_parts(9_264_000, 4325)
+ // Minimum execution time: 16_730_000 picoseconds.
+ Weight::from_parts(16_965_000, 4325)
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
- /// Storage: Common CollectionById (r:1 w:1)
- /// Proof: Common CollectionById (max_values: None, max_size: Some(860), added: 3335, mode: MaxEncodedLen)
+ /// Storage: `Common::CollectionById` (r:1 w:1)
+ /// Proof: `Common::CollectionById` (`max_values`: None, `max_size`: Some(860), added: 3335, mode: `MaxEncodedLen`)
fn remove_collection_sponsor() -> Weight {
// Proof Size summary in bytes:
// Measured: `1032`
// Estimated: `4325`
- // Minimum execution time: 8_804_000 picoseconds.
- Weight::from_parts(9_302_000, 4325)
+ // Minimum execution time: 16_504_000 picoseconds.
+ Weight::from_parts(16_836_000, 4325)
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
- /// Storage: Common CollectionById (r:1 w:1)
- /// Proof: Common CollectionById (max_values: None, max_size: Some(860), added: 3335, mode: MaxEncodedLen)
+ /// Storage: `Common::CollectionById` (r:1 w:1)
+ /// Proof: `Common::CollectionById` (`max_values`: None, `max_size`: Some(860), added: 3335, mode: `MaxEncodedLen`)
fn set_transfers_enabled_flag() -> Weight {
// Proof Size summary in bytes:
// Measured: `1000`
// Estimated: `4325`
- // Minimum execution time: 5_985_000 picoseconds.
- Weight::from_parts(6_155_000, 4325)
+ // Minimum execution time: 10_285_000 picoseconds.
+ Weight::from_parts(10_505_000, 4325)
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
- /// Storage: Common CollectionById (r:1 w:1)
- /// Proof: Common CollectionById (max_values: None, max_size: Some(860), added: 3335, mode: MaxEncodedLen)
+ /// Storage: `Common::CollectionById` (r:1 w:1)
+ /// Proof: `Common::CollectionById` (`max_values`: None, `max_size`: Some(860), added: 3335, mode: `MaxEncodedLen`)
fn set_collection_limits() -> Weight {
// Proof Size summary in bytes:
// Measured: `1000`
// Estimated: `4325`
- // Minimum execution time: 9_288_000 picoseconds.
- Weight::from_parts(9_608_000, 4325)
+ // Minimum execution time: 17_160_000 picoseconds.
+ Weight::from_parts(17_427_000, 4325)
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
- /// Storage: Common CollectionProperties (r:1 w:1)
- /// Proof: Common CollectionProperties (max_values: None, max_size: Some(40992), added: 43467, mode: MaxEncodedLen)
+ /// Storage: `Common::CollectionProperties` (r:1 w:1)
+ /// Proof: `Common::CollectionProperties` (`max_values`: None, `max_size`: Some(40992), added: 43467, mode: `MaxEncodedLen`)
fn force_repair_collection() -> Weight {
// Proof Size summary in bytes:
// Measured: `298`
// Estimated: `44457`
- // Minimum execution time: 4_904_000 picoseconds.
- Weight::from_parts(5_142_000, 44457)
+ // Minimum execution time: 7_771_000 picoseconds.
+ Weight::from_parts(8_037_000, 44457)
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
primitives/common/src/constants.rsdiffbeforeafterboth--- a/primitives/common/src/constants.rs
+++ b/primitives/common/src/constants.rs
@@ -57,10 +57,10 @@
pub const SESSION_LENGTH: BlockNumber = HOURS;
// Targeting 0.1 UNQ per transfer
-pub const WEIGHT_TO_FEE_COEFF: u64 = /*<weight2fee>*/77_334_604_063_436_322/*</weight2fee>*/;
+pub const WEIGHT_TO_FEE_COEFF: u64 = /*<weight2fee>*/74_401_761_267_585_092/*</weight2fee>*/;
// Targeting 0.15 UNQ per transfer via ETH
-pub const MIN_GAS_PRICE: u64 = /*<mingasprice>*/1_920_639_188_722/*</mingasprice>*/;
+pub const MIN_GAS_PRICE: u64 = /*<mingasprice>*/1_873_477_799_288/*</mingasprice>*/;
/// We assume that ~10% of the block weight is consumed by `on_initalize` handlers.
/// This is used to limit the maximal weight of a single extrinsic.
runtime/common/weights/xcm.rsdiffbeforeafterboth--- a/runtime/common/weights/xcm.rs
+++ b/runtime/common/weights/xcm.rs
@@ -3,12 +3,12 @@
//! Autogenerated weights for pallet_xcm
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
-//! DATE: 2023-09-26, STEPS: `50`, REPEAT: 400, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! DATE: 2023-10-13, STEPS: `50`, REPEAT: 80, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
-//! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024
+//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024
// Executed Command:
-// target/production/unique-collator
+// ./target/production/unique-collator
// benchmark
// pallet
// --pallet
@@ -19,7 +19,7 @@
// *
// --template=.maintain/external-weight-template.hbs
// --steps=50
-// --repeat=400
+// --repeat=80
// --heap-pages=4096
// --output=./runtime/common/weights/xcm.rs
@@ -35,222 +35,222 @@
/// Weights for pallet_xcm using the Substrate node and recommended hardware.
pub struct SubstrateWeight<T>(PhantomData<T>);
impl<T: frame_system::Config> pallet_xcm::WeightInfo for SubstrateWeight<T> {
- /// Storage: PolkadotXcm SupportedVersion (r:1 w:0)
- /// Proof Skipped: PolkadotXcm SupportedVersion (max_values: None, max_size: None, mode: Measured)
- /// Storage: PolkadotXcm VersionDiscoveryQueue (r:1 w:1)
- /// Proof Skipped: PolkadotXcm VersionDiscoveryQueue (max_values: Some(1), max_size: None, mode: Measured)
- /// Storage: PolkadotXcm SafeXcmVersion (r:1 w:0)
- /// Proof Skipped: PolkadotXcm SafeXcmVersion (max_values: Some(1), max_size: None, mode: Measured)
- /// Storage: ParachainSystem HostConfiguration (r:1 w:0)
- /// Proof Skipped: ParachainSystem HostConfiguration (max_values: Some(1), max_size: None, mode: Measured)
- /// Storage: ParachainSystem PendingUpwardMessages (r:1 w:1)
- /// Proof Skipped: ParachainSystem PendingUpwardMessages (max_values: Some(1), max_size: None, mode: Measured)
+ /// Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0)
+ /// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`)
+ /// Storage: `PolkadotXcm::VersionDiscoveryQueue` (r:1 w:1)
+ /// Proof: `PolkadotXcm::VersionDiscoveryQueue` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
+ /// Storage: `PolkadotXcm::SafeXcmVersion` (r:1 w:0)
+ /// Proof: `PolkadotXcm::SafeXcmVersion` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
+ /// Storage: `ParachainSystem::HostConfiguration` (r:1 w:0)
+ /// Proof: `ParachainSystem::HostConfiguration` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
+ /// Storage: `ParachainSystem::PendingUpwardMessages` (r:1 w:1)
+ /// Proof: `ParachainSystem::PendingUpwardMessages` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
fn send() -> Weight {
// Proof Size summary in bytes:
// Measured: `278`
// Estimated: `3743`
- // Minimum execution time: 12_999_000 picoseconds.
- Weight::from_parts(13_426_000, 3743)
+ // Minimum execution time: 27_564_000 picoseconds.
+ Weight::from_parts(28_000_000, 3743)
.saturating_add(T::DbWeight::get().reads(5_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
}
- /// Storage: ParachainInfo ParachainId (r:1 w:0)
- /// Proof: ParachainInfo ParachainId (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
+ /// Storage: `ParachainInfo::ParachainId` (r:1 w:0)
+ /// Proof: `ParachainInfo::ParachainId` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
fn teleport_assets() -> Weight {
// Proof Size summary in bytes:
// Measured: `169`
// Estimated: `1489`
- // Minimum execution time: 10_299_000 picoseconds.
- Weight::from_parts(10_647_000, 1489)
+ // Minimum execution time: 26_239_000 picoseconds.
+ Weight::from_parts(26_609_000, 1489)
.saturating_add(T::DbWeight::get().reads(1_u64))
}
- /// Storage: ParachainInfo ParachainId (r:1 w:0)
- /// Proof: ParachainInfo ParachainId (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
+ /// Storage: `ParachainInfo::ParachainId` (r:1 w:0)
+ /// Proof: `ParachainInfo::ParachainId` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
fn reserve_transfer_assets() -> Weight {
// Proof Size summary in bytes:
// Measured: `169`
// Estimated: `1489`
- // Minimum execution time: 10_094_000 picoseconds.
- Weight::from_parts(10_464_000, 1489)
+ // Minimum execution time: 26_032_000 picoseconds.
+ Weight::from_parts(26_417_000, 1489)
.saturating_add(T::DbWeight::get().reads(1_u64))
}
fn execute() -> Weight {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
- // Minimum execution time: 3_485_000 picoseconds.
- Weight::from_parts(3_664_000, 0)
+ // Minimum execution time: 9_322_000 picoseconds.
+ Weight::from_parts(9_573_000, 0)
}
- /// Storage: PolkadotXcm SupportedVersion (r:0 w:1)
- /// Proof Skipped: PolkadotXcm SupportedVersion (max_values: None, max_size: None, mode: Measured)
+ /// Storage: `PolkadotXcm::SupportedVersion` (r:0 w:1)
+ /// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`)
fn force_xcm_version() -> Weight {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
- // Minimum execution time: 3_717_000 picoseconds.
- Weight::from_parts(3_866_000, 0)
+ // Minimum execution time: 9_125_000 picoseconds.
+ Weight::from_parts(9_367_000, 0)
.saturating_add(T::DbWeight::get().writes(1_u64))
}
- /// Storage: PolkadotXcm SafeXcmVersion (r:0 w:1)
- /// Proof Skipped: PolkadotXcm SafeXcmVersion (max_values: Some(1), max_size: None, mode: Measured)
+ /// Storage: `PolkadotXcm::SafeXcmVersion` (r:0 w:1)
+ /// Proof: `PolkadotXcm::SafeXcmVersion` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
fn force_default_xcm_version() -> Weight {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
- // Minimum execution time: 1_328_000 picoseconds.
- Weight::from_parts(1_400_000, 0)
+ // Minimum execution time: 2_923_000 picoseconds.
+ Weight::from_parts(3_053_000, 0)
.saturating_add(T::DbWeight::get().writes(1_u64))
}
- /// Storage: PolkadotXcm VersionNotifiers (r:1 w:1)
- /// Proof Skipped: PolkadotXcm VersionNotifiers (max_values: None, max_size: None, mode: Measured)
- /// Storage: PolkadotXcm QueryCounter (r:1 w:1)
- /// Proof Skipped: PolkadotXcm QueryCounter (max_values: Some(1), max_size: None, mode: Measured)
- /// Storage: PolkadotXcm SupportedVersion (r:1 w:0)
- /// Proof Skipped: PolkadotXcm SupportedVersion (max_values: None, max_size: None, mode: Measured)
- /// Storage: PolkadotXcm VersionDiscoveryQueue (r:1 w:1)
- /// Proof Skipped: PolkadotXcm VersionDiscoveryQueue (max_values: Some(1), max_size: None, mode: Measured)
- /// Storage: PolkadotXcm SafeXcmVersion (r:1 w:0)
- /// Proof Skipped: PolkadotXcm SafeXcmVersion (max_values: Some(1), max_size: None, mode: Measured)
- /// Storage: ParachainSystem HostConfiguration (r:1 w:0)
- /// Proof Skipped: ParachainSystem HostConfiguration (max_values: Some(1), max_size: None, mode: Measured)
- /// Storage: ParachainSystem PendingUpwardMessages (r:1 w:1)
- /// Proof Skipped: ParachainSystem PendingUpwardMessages (max_values: Some(1), max_size: None, mode: Measured)
- /// Storage: PolkadotXcm Queries (r:0 w:1)
- /// Proof Skipped: PolkadotXcm Queries (max_values: None, max_size: None, mode: Measured)
+ /// Storage: `PolkadotXcm::VersionNotifiers` (r:1 w:1)
+ /// Proof: `PolkadotXcm::VersionNotifiers` (`max_values`: None, `max_size`: None, mode: `Measured`)
+ /// Storage: `PolkadotXcm::QueryCounter` (r:1 w:1)
+ /// Proof: `PolkadotXcm::QueryCounter` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
+ /// Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0)
+ /// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`)
+ /// Storage: `PolkadotXcm::VersionDiscoveryQueue` (r:1 w:1)
+ /// Proof: `PolkadotXcm::VersionDiscoveryQueue` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
+ /// Storage: `PolkadotXcm::SafeXcmVersion` (r:1 w:0)
+ /// Proof: `PolkadotXcm::SafeXcmVersion` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
+ /// Storage: `ParachainSystem::HostConfiguration` (r:1 w:0)
+ /// Proof: `ParachainSystem::HostConfiguration` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
+ /// Storage: `ParachainSystem::PendingUpwardMessages` (r:1 w:1)
+ /// Proof: `ParachainSystem::PendingUpwardMessages` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
+ /// Storage: `PolkadotXcm::Queries` (r:0 w:1)
+ /// Proof: `PolkadotXcm::Queries` (`max_values`: None, `max_size`: None, mode: `Measured`)
fn force_subscribe_version_notify() -> Weight {
// Proof Size summary in bytes:
// Measured: `278`
// Estimated: `3743`
- // Minimum execution time: 16_057_000 picoseconds.
- Weight::from_parts(16_483_000, 3743)
+ // Minimum execution time: 31_942_000 picoseconds.
+ Weight::from_parts(32_568_000, 3743)
.saturating_add(T::DbWeight::get().reads(7_u64))
.saturating_add(T::DbWeight::get().writes(5_u64))
}
- /// Storage: PolkadotXcm VersionNotifiers (r:1 w:1)
- /// Proof Skipped: PolkadotXcm VersionNotifiers (max_values: None, max_size: None, mode: Measured)
- /// Storage: PolkadotXcm SupportedVersion (r:1 w:0)
- /// Proof Skipped: PolkadotXcm SupportedVersion (max_values: None, max_size: None, mode: Measured)
- /// Storage: PolkadotXcm VersionDiscoveryQueue (r:1 w:1)
- /// Proof Skipped: PolkadotXcm VersionDiscoveryQueue (max_values: Some(1), max_size: None, mode: Measured)
- /// Storage: PolkadotXcm SafeXcmVersion (r:1 w:0)
- /// Proof Skipped: PolkadotXcm SafeXcmVersion (max_values: Some(1), max_size: None, mode: Measured)
- /// Storage: ParachainSystem HostConfiguration (r:1 w:0)
- /// Proof Skipped: ParachainSystem HostConfiguration (max_values: Some(1), max_size: None, mode: Measured)
- /// Storage: ParachainSystem PendingUpwardMessages (r:1 w:1)
- /// Proof Skipped: ParachainSystem PendingUpwardMessages (max_values: Some(1), max_size: None, mode: Measured)
- /// Storage: PolkadotXcm Queries (r:0 w:1)
- /// Proof Skipped: PolkadotXcm Queries (max_values: None, max_size: None, mode: Measured)
+ /// Storage: `PolkadotXcm::VersionNotifiers` (r:1 w:1)
+ /// Proof: `PolkadotXcm::VersionNotifiers` (`max_values`: None, `max_size`: None, mode: `Measured`)
+ /// Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0)
+ /// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`)
+ /// Storage: `PolkadotXcm::VersionDiscoveryQueue` (r:1 w:1)
+ /// Proof: `PolkadotXcm::VersionDiscoveryQueue` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
+ /// Storage: `PolkadotXcm::SafeXcmVersion` (r:1 w:0)
+ /// Proof: `PolkadotXcm::SafeXcmVersion` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
+ /// Storage: `ParachainSystem::HostConfiguration` (r:1 w:0)
+ /// Proof: `ParachainSystem::HostConfiguration` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
+ /// Storage: `ParachainSystem::PendingUpwardMessages` (r:1 w:1)
+ /// Proof: `ParachainSystem::PendingUpwardMessages` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
+ /// Storage: `PolkadotXcm::Queries` (r:0 w:1)
+ /// Proof: `PolkadotXcm::Queries` (`max_values`: None, `max_size`: None, mode: `Measured`)
fn force_unsubscribe_version_notify() -> Weight {
// Proof Size summary in bytes:
// Measured: `461`
// Estimated: `3926`
- // Minimum execution time: 18_009_000 picoseconds.
- Weight::from_parts(18_565_000, 3926)
+ // Minimum execution time: 32_521_000 picoseconds.
+ Weight::from_parts(32_922_000, 3926)
.saturating_add(T::DbWeight::get().reads(6_u64))
.saturating_add(T::DbWeight::get().writes(4_u64))
}
- /// Storage: PolkadotXcm XcmExecutionSuspended (r:0 w:1)
- /// Proof Skipped: PolkadotXcm XcmExecutionSuspended (max_values: Some(1), max_size: None, mode: Measured)
+ /// Storage: `PolkadotXcm::XcmExecutionSuspended` (r:0 w:1)
+ /// Proof: `PolkadotXcm::XcmExecutionSuspended` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
fn force_suspension() -> Weight {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
- // Minimum execution time: 1_378_000 picoseconds.
- Weight::from_parts(1_447_000, 0)
+ // Minimum execution time: 3_026_000 picoseconds.
+ Weight::from_parts(3_126_000, 0)
.saturating_add(T::DbWeight::get().writes(1_u64))
}
- /// Storage: PolkadotXcm SupportedVersion (r:4 w:2)
- /// Proof Skipped: PolkadotXcm SupportedVersion (max_values: None, max_size: None, mode: Measured)
+ /// Storage: `PolkadotXcm::SupportedVersion` (r:4 w:2)
+ /// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`)
fn migrate_supported_version() -> Weight {
// Proof Size summary in bytes:
// Measured: `196`
// Estimated: `11086`
- // Minimum execution time: 10_770_000 picoseconds.
- Weight::from_parts(11_090_000, 11086)
+ // Minimum execution time: 16_157_000 picoseconds.
+ Weight::from_parts(16_556_000, 11086)
.saturating_add(T::DbWeight::get().reads(4_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
}
- /// Storage: PolkadotXcm VersionNotifiers (r:4 w:2)
- /// Proof Skipped: PolkadotXcm VersionNotifiers (max_values: None, max_size: None, mode: Measured)
+ /// Storage: `PolkadotXcm::VersionNotifiers` (r:4 w:2)
+ /// Proof: `PolkadotXcm::VersionNotifiers` (`max_values`: None, `max_size`: None, mode: `Measured`)
fn migrate_version_notifiers() -> Weight {
// Proof Size summary in bytes:
// Measured: `200`
// Estimated: `11090`
- // Minimum execution time: 10_760_000 picoseconds.
- Weight::from_parts(11_091_000, 11090)
+ // Minimum execution time: 16_300_000 picoseconds.
+ Weight::from_parts(16_774_000, 11090)
.saturating_add(T::DbWeight::get().reads(4_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
}
- /// Storage: PolkadotXcm VersionNotifyTargets (r:5 w:0)
- /// Proof Skipped: PolkadotXcm VersionNotifyTargets (max_values: None, max_size: None, mode: Measured)
+ /// Storage: `PolkadotXcm::VersionNotifyTargets` (r:5 w:0)
+ /// Proof: `PolkadotXcm::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`)
fn already_notified_target() -> Weight {
// Proof Size summary in bytes:
// Measured: `207`
// Estimated: `13572`
- // Minimum execution time: 12_026_000 picoseconds.
- Weight::from_parts(12_321_000, 13572)
+ // Minimum execution time: 16_948_000 picoseconds.
+ Weight::from_parts(17_328_000, 13572)
.saturating_add(T::DbWeight::get().reads(5_u64))
}
- /// Storage: PolkadotXcm VersionNotifyTargets (r:2 w:1)
- /// Proof Skipped: PolkadotXcm VersionNotifyTargets (max_values: None, max_size: None, mode: Measured)
- /// Storage: PolkadotXcm SupportedVersion (r:1 w:0)
- /// Proof Skipped: PolkadotXcm SupportedVersion (max_values: None, max_size: None, mode: Measured)
- /// Storage: PolkadotXcm VersionDiscoveryQueue (r:1 w:1)
- /// Proof Skipped: PolkadotXcm VersionDiscoveryQueue (max_values: Some(1), max_size: None, mode: Measured)
- /// Storage: PolkadotXcm SafeXcmVersion (r:1 w:0)
- /// Proof Skipped: PolkadotXcm SafeXcmVersion (max_values: Some(1), max_size: None, mode: Measured)
- /// Storage: ParachainSystem HostConfiguration (r:1 w:0)
- /// Proof Skipped: ParachainSystem HostConfiguration (max_values: Some(1), max_size: None, mode: Measured)
- /// Storage: ParachainSystem PendingUpwardMessages (r:1 w:1)
- /// Proof Skipped: ParachainSystem PendingUpwardMessages (max_values: Some(1), max_size: None, mode: Measured)
+ /// Storage: `PolkadotXcm::VersionNotifyTargets` (r:2 w:1)
+ /// Proof: `PolkadotXcm::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`)
+ /// Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0)
+ /// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`)
+ /// Storage: `PolkadotXcm::VersionDiscoveryQueue` (r:1 w:1)
+ /// Proof: `PolkadotXcm::VersionDiscoveryQueue` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
+ /// Storage: `PolkadotXcm::SafeXcmVersion` (r:1 w:0)
+ /// Proof: `PolkadotXcm::SafeXcmVersion` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
+ /// Storage: `ParachainSystem::HostConfiguration` (r:1 w:0)
+ /// Proof: `ParachainSystem::HostConfiguration` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
+ /// Storage: `ParachainSystem::PendingUpwardMessages` (r:1 w:1)
+ /// Proof: `ParachainSystem::PendingUpwardMessages` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
fn notify_current_targets() -> Weight {
// Proof Size summary in bytes:
// Measured: `345`
// Estimated: `6285`
- // Minimum execution time: 15_508_000 picoseconds.
- Weight::from_parts(15_885_000, 6285)
+ // Minimum execution time: 29_235_000 picoseconds.
+ Weight::from_parts(29_652_000, 6285)
.saturating_add(T::DbWeight::get().reads(7_u64))
.saturating_add(T::DbWeight::get().writes(3_u64))
}
- /// Storage: PolkadotXcm VersionNotifyTargets (r:3 w:0)
- /// Proof Skipped: PolkadotXcm VersionNotifyTargets (max_values: None, max_size: None, mode: Measured)
+ /// Storage: `PolkadotXcm::VersionNotifyTargets` (r:3 w:0)
+ /// Proof: `PolkadotXcm::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`)
fn notify_target_migration_fail() -> Weight {
// Proof Size summary in bytes:
// Measured: `239`
// Estimated: `8654`
- // Minimum execution time: 5_580_000 picoseconds.
- Weight::from_parts(5_753_000, 8654)
+ // Minimum execution time: 8_453_000 picoseconds.
+ Weight::from_parts(8_742_000, 8654)
.saturating_add(T::DbWeight::get().reads(3_u64))
}
- /// Storage: PolkadotXcm VersionNotifyTargets (r:4 w:2)
- /// Proof Skipped: PolkadotXcm VersionNotifyTargets (max_values: None, max_size: None, mode: Measured)
+ /// Storage: `PolkadotXcm::VersionNotifyTargets` (r:4 w:2)
+ /// Proof: `PolkadotXcm::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`)
fn migrate_version_notify_targets() -> Weight {
// Proof Size summary in bytes:
// Measured: `207`
// Estimated: `11097`
- // Minimum execution time: 10_951_000 picoseconds.
- Weight::from_parts(11_341_000, 11097)
+ // Minimum execution time: 16_522_000 picoseconds.
+ Weight::from_parts(16_863_000, 11097)
.saturating_add(T::DbWeight::get().reads(4_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
}
- /// Storage: PolkadotXcm VersionNotifyTargets (r:4 w:2)
- /// Proof Skipped: PolkadotXcm VersionNotifyTargets (max_values: None, max_size: None, mode: Measured)
- /// Storage: PolkadotXcm SupportedVersion (r:1 w:0)
- /// Proof Skipped: PolkadotXcm SupportedVersion (max_values: None, max_size: None, mode: Measured)
- /// Storage: PolkadotXcm VersionDiscoveryQueue (r:1 w:1)
- /// Proof Skipped: PolkadotXcm VersionDiscoveryQueue (max_values: Some(1), max_size: None, mode: Measured)
- /// Storage: PolkadotXcm SafeXcmVersion (r:1 w:0)
- /// Proof Skipped: PolkadotXcm SafeXcmVersion (max_values: Some(1), max_size: None, mode: Measured)
- /// Storage: ParachainSystem HostConfiguration (r:1 w:0)
- /// Proof Skipped: ParachainSystem HostConfiguration (max_values: Some(1), max_size: None, mode: Measured)
- /// Storage: ParachainSystem PendingUpwardMessages (r:1 w:1)
- /// Proof Skipped: ParachainSystem PendingUpwardMessages (max_values: Some(1), max_size: None, mode: Measured)
+ /// Storage: `PolkadotXcm::VersionNotifyTargets` (r:4 w:2)
+ /// Proof: `PolkadotXcm::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`)
+ /// Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0)
+ /// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`)
+ /// Storage: `PolkadotXcm::VersionDiscoveryQueue` (r:1 w:1)
+ /// Proof: `PolkadotXcm::VersionDiscoveryQueue` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
+ /// Storage: `PolkadotXcm::SafeXcmVersion` (r:1 w:0)
+ /// Proof: `PolkadotXcm::SafeXcmVersion` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
+ /// Storage: `ParachainSystem::HostConfiguration` (r:1 w:0)
+ /// Proof: `ParachainSystem::HostConfiguration` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
+ /// Storage: `ParachainSystem::PendingUpwardMessages` (r:1 w:1)
+ /// Proof: `ParachainSystem::PendingUpwardMessages` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
fn migrate_and_notify_old_targets() -> Weight {
// Proof Size summary in bytes:
// Measured: `349`
// Estimated: `11239`
- // Minimum execution time: 19_990_000 picoseconds.
- Weight::from_parts(20_433_000, 11239)
+ // Minimum execution time: 35_386_000 picoseconds.
+ Weight::from_parts(35_854_000, 11239)
.saturating_add(T::DbWeight::get().reads(9_u64))
.saturating_add(T::DbWeight::get().writes(4_u64))
}