difftreelog
build run benchmarks
in: master
12 files changed
pallets/common/src/weights.rsdiffbeforeafterboth--- a/pallets/common/src/weights.rs
+++ b/pallets/common/src/weights.rs
@@ -3,7 +3,8 @@
//! Autogenerated weights for pallet_common
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
-//! DATE: 2023-02-15, STEPS: `50`, REPEAT: 80, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! DATE: 2023-03-30, STEPS: `50`, REPEAT: 80, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! WORST CASE MAP SIZE: `1000000`
//! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024
// Executed Command:
@@ -16,8 +17,7 @@
// compiled
// --extrinsic
// *
-// --template
-// .maintain/frame-weight-template.hbs
+// --template=.maintain/frame-weight-template.hbs
// --steps=50
// --repeat=80
// --heap-pages=4096
@@ -41,40 +41,65 @@
/// Weights for pallet_common using the Substrate node and recommended hardware.
pub struct SubstrateWeight<T>(PhantomData<T>);
impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
- // Storage: Common CollectionProperties (r:1 w:1)
+ /// Storage: Common CollectionProperties (r:1 w:1)
+ /// Proof: Common CollectionProperties (max_values: None, max_size: Some(40992), added: 43467, mode: MaxEncodedLen)
+ /// The range of component `b` is `[0, 64]`.
fn set_collection_properties(b: u32, ) -> Weight {
- Weight::from_ref_time(9_293_000 as u64)
- // Standard Error: 14_275
- .saturating_add(Weight::from_ref_time(6_172_391 as u64).saturating_mul(b as u64))
- .saturating_add(T::DbWeight::get().reads(1 as u64))
- .saturating_add(T::DbWeight::get().writes(1 as u64))
+ // Proof Size summary in bytes:
+ // Measured: `265`
+ // Estimated: `43467`
+ // Minimum execution time: 7_163_000 picoseconds.
+ Weight::from_parts(586_898, 43467)
+ // Standard Error: 23_783
+ .saturating_add(Weight::from_parts(6_089_494, 0).saturating_mul(b.into()))
+ .saturating_add(T::DbWeight::get().reads(1_u64))
+ .saturating_add(T::DbWeight::get().writes(1_u64))
}
- // Storage: Common CollectionProperties (r:1 w:1)
+ /// Storage: Common CollectionProperties (r:1 w:1)
+ /// Proof: Common CollectionProperties (max_values: None, max_size: Some(40992), added: 43467, mode: MaxEncodedLen)
+ /// The range of component `b` is `[0, 64]`.
fn delete_collection_properties(b: u32, ) -> Weight {
- Weight::from_ref_time(8_945_000 as u64)
- // Standard Error: 65_313
- .saturating_add(Weight::from_ref_time(21_617_763 as u64).saturating_mul(b as u64))
- .saturating_add(T::DbWeight::get().reads(1 as u64))
- .saturating_add(T::DbWeight::get().writes(1 as u64))
+ // Proof Size summary in bytes:
+ // Measured: `302 + b * (33030 ±0)`
+ // Estimated: `43467`
+ // Minimum execution time: 6_540_000 picoseconds.
+ Weight::from_parts(6_684_000, 43467)
+ // Standard Error: 67_984
+ .saturating_add(Weight::from_parts(21_502_829, 0).saturating_mul(b.into()))
+ .saturating_add(T::DbWeight::get().reads(1_u64))
+ .saturating_add(T::DbWeight::get().writes(1_u64))
}
}
// For backwards compatibility and tests
impl WeightInfo for () {
- // Storage: Common CollectionProperties (r:1 w:1)
+ /// Storage: Common CollectionProperties (r:1 w:1)
+ /// Proof: Common CollectionProperties (max_values: None, max_size: Some(40992), added: 43467, mode: MaxEncodedLen)
+ /// The range of component `b` is `[0, 64]`.
fn set_collection_properties(b: u32, ) -> Weight {
- Weight::from_ref_time(9_293_000 as u64)
- // Standard Error: 14_275
- .saturating_add(Weight::from_ref_time(6_172_391 as u64).saturating_mul(b as u64))
- .saturating_add(RocksDbWeight::get().reads(1 as u64))
- .saturating_add(RocksDbWeight::get().writes(1 as u64))
+ // Proof Size summary in bytes:
+ // Measured: `265`
+ // Estimated: `43467`
+ // Minimum execution time: 7_163_000 picoseconds.
+ Weight::from_parts(586_898, 43467)
+ // Standard Error: 23_783
+ .saturating_add(Weight::from_parts(6_089_494, 0).saturating_mul(b.into()))
+ .saturating_add(RocksDbWeight::get().reads(1_u64))
+ .saturating_add(RocksDbWeight::get().writes(1_u64))
}
- // Storage: Common CollectionProperties (r:1 w:1)
+ /// Storage: Common CollectionProperties (r:1 w:1)
+ /// Proof: Common CollectionProperties (max_values: None, max_size: Some(40992), added: 43467, mode: MaxEncodedLen)
+ /// The range of component `b` is `[0, 64]`.
fn delete_collection_properties(b: u32, ) -> Weight {
- Weight::from_ref_time(8_945_000 as u64)
- // Standard Error: 65_313
- .saturating_add(Weight::from_ref_time(21_617_763 as u64).saturating_mul(b as u64))
- .saturating_add(RocksDbWeight::get().reads(1 as u64))
- .saturating_add(RocksDbWeight::get().writes(1 as u64))
+ // Proof Size summary in bytes:
+ // Measured: `302 + b * (33030 ±0)`
+ // Estimated: `43467`
+ // Minimum execution time: 6_540_000 picoseconds.
+ Weight::from_parts(6_684_000, 43467)
+ // Standard Error: 67_984
+ .saturating_add(Weight::from_parts(21_502_829, 0).saturating_mul(b.into()))
+ .saturating_add(RocksDbWeight::get().reads(1_u64))
+ .saturating_add(RocksDbWeight::get().writes(1_u64))
}
}
+
pallets/configuration/src/weights.rsdiffbeforeafterboth--- a/pallets/configuration/src/weights.rs
+++ b/pallets/configuration/src/weights.rs
@@ -3,7 +3,8 @@
//! Autogenerated weights for pallet_configuration
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
-//! DATE: 2023-02-15, STEPS: `50`, REPEAT: 80, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! DATE: 2023-03-30, STEPS: `50`, REPEAT: 80, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! WORST CASE MAP SIZE: `1000000`
//! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024
// Executed Command:
@@ -16,8 +17,7 @@
// compiled
// --extrinsic
// *
-// --template
-// .maintain/frame-weight-template.hbs
+// --template=.maintain/frame-weight-template.hbs
// --steps=50
// --repeat=80
// --heap-pages=4096
@@ -36,7 +36,6 @@
pub trait WeightInfo {
fn set_weight_to_fee_coefficient_override() -> Weight;
fn set_min_gas_price_override() -> Weight;
- fn set_xcm_allowed_locations() -> Weight;
fn set_app_promotion_configuration_override() -> Weight;
fn set_collator_selection_desired_collators() -> Weight;
fn set_collator_selection_license_bond() -> Weight;
@@ -46,78 +45,129 @@
/// 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)
+ /// 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 {
- Weight::from_ref_time(3_732_000 as u64)
- .saturating_add(T::DbWeight::get().writes(1 as u64))
+ // Proof Size summary in bytes:
+ // Measured: `0`
+ // Estimated: `0`
+ // Minimum execution time: 1_565_000 picoseconds.
+ Weight::from_parts(1_636_000, 0)
+ .saturating_add(T::DbWeight::get().writes(1_u64))
}
- // Storage: Configuration MinGasPriceOverride (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)
fn set_min_gas_price_override() -> Weight {
- Weight::from_ref_time(3_625_000 as u64)
- .saturating_add(T::DbWeight::get().writes(1 as u64))
- }
- // Storage: Configuration XcmAllowedLocationsOverride (r:0 w:1)
- fn set_xcm_allowed_locations() -> Weight {
- Weight::from_ref_time(3_975_000 as u64)
- .saturating_add(T::DbWeight::get().writes(1 as u64))
+ // Proof Size summary in bytes:
+ // Measured: `0`
+ // Estimated: `0`
+ // Minimum execution time: 1_695_000 picoseconds.
+ Weight::from_parts(1_798_000, 0)
+ .saturating_add(T::DbWeight::get().writes(1_u64))
}
- // Storage: Configuration AppPromomotionConfigurationOverride (r:0 w:1)
+ /// 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 {
- Weight::from_ref_time(4_759_000 as u64)
- .saturating_add(T::DbWeight::get().writes(1 as u64))
+ // Proof Size summary in bytes:
+ // Measured: `0`
+ // Estimated: `0`
+ // Minimum execution time: 2_546_000 picoseconds.
+ Weight::from_parts(2_796_000, 0)
+ .saturating_add(T::DbWeight::get().writes(1_u64))
}
- // Storage: Configuration CollatorSelectionDesiredCollatorsOverride (r:0 w:1)
+ /// 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 {
- Weight::from_ref_time(18_296_000 as u64)
- .saturating_add(T::DbWeight::get().writes(1 as u64))
+ // Proof Size summary in bytes:
+ // Measured: `0`
+ // Estimated: `0`
+ // Minimum execution time: 7_323_000 picoseconds.
+ Weight::from_parts(8_251_000, 0)
+ .saturating_add(T::DbWeight::get().writes(1_u64))
}
- // Storage: Configuration CollatorSelectionLicenseBondOverride (r:0 w:1)
+ /// 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 {
- Weight::from_ref_time(14_397_000 as u64)
- .saturating_add(T::DbWeight::get().writes(1 as u64))
+ // Proof Size summary in bytes:
+ // Measured: `0`
+ // Estimated: `0`
+ // Minimum execution time: 4_286_000 picoseconds.
+ Weight::from_parts(4_442_000, 0)
+ .saturating_add(T::DbWeight::get().writes(1_u64))
}
- // Storage: Configuration CollatorSelectionKickThresholdOverride (r:0 w:1)
+ /// 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 {
- Weight::from_ref_time(13_951_000 as u64)
- .saturating_add(T::DbWeight::get().writes(1 as u64))
+ // Proof Size summary in bytes:
+ // Measured: `0`
+ // Estimated: `0`
+ // Minimum execution time: 4_216_000 picoseconds.
+ Weight::from_parts(4_389_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)
+ /// 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 {
- Weight::from_ref_time(3_732_000 as u64)
- .saturating_add(RocksDbWeight::get().writes(1 as u64))
+ // Proof Size summary in bytes:
+ // Measured: `0`
+ // Estimated: `0`
+ // Minimum execution time: 1_565_000 picoseconds.
+ Weight::from_parts(1_636_000, 0)
+ .saturating_add(RocksDbWeight::get().writes(1_u64))
}
- // Storage: Configuration MinGasPriceOverride (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)
fn set_min_gas_price_override() -> Weight {
- Weight::from_ref_time(3_625_000 as u64)
- .saturating_add(RocksDbWeight::get().writes(1 as u64))
- }
- // Storage: Configuration XcmAllowedLocationsOverride (r:0 w:1)
- fn set_xcm_allowed_locations() -> Weight {
- Weight::from_ref_time(3_975_000 as u64)
- .saturating_add(RocksDbWeight::get().writes(1 as u64))
+ // Proof Size summary in bytes:
+ // Measured: `0`
+ // Estimated: `0`
+ // Minimum execution time: 1_695_000 picoseconds.
+ Weight::from_parts(1_798_000, 0)
+ .saturating_add(RocksDbWeight::get().writes(1_u64))
}
- // Storage: Configuration AppPromomotionConfigurationOverride (r:0 w:1)
+ /// 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 {
- Weight::from_ref_time(4_759_000 as u64)
- .saturating_add(RocksDbWeight::get().writes(1 as u64))
+ // Proof Size summary in bytes:
+ // Measured: `0`
+ // Estimated: `0`
+ // Minimum execution time: 2_546_000 picoseconds.
+ Weight::from_parts(2_796_000, 0)
+ .saturating_add(RocksDbWeight::get().writes(1_u64))
}
- // Storage: Configuration CollatorSelectionDesiredCollatorsOverride (r:0 w:1)
+ /// 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 {
- Weight::from_ref_time(18_296_000 as u64)
- .saturating_add(RocksDbWeight::get().writes(1 as u64))
+ // Proof Size summary in bytes:
+ // Measured: `0`
+ // Estimated: `0`
+ // Minimum execution time: 7_323_000 picoseconds.
+ Weight::from_parts(8_251_000, 0)
+ .saturating_add(RocksDbWeight::get().writes(1_u64))
}
- // Storage: Configuration CollatorSelectionLicenseBondOverride (r:0 w:1)
+ /// 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 {
- Weight::from_ref_time(14_397_000 as u64)
- .saturating_add(RocksDbWeight::get().writes(1 as u64))
+ // Proof Size summary in bytes:
+ // Measured: `0`
+ // Estimated: `0`
+ // Minimum execution time: 4_286_000 picoseconds.
+ Weight::from_parts(4_442_000, 0)
+ .saturating_add(RocksDbWeight::get().writes(1_u64))
}
- // Storage: Configuration CollatorSelectionKickThresholdOverride (r:0 w:1)
+ /// 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 {
- Weight::from_ref_time(13_951_000 as u64)
- .saturating_add(RocksDbWeight::get().writes(1 as u64))
+ // Proof Size summary in bytes:
+ // Measured: `0`
+ // Estimated: `0`
+ // Minimum execution time: 4_216_000 picoseconds.
+ Weight::from_parts(4_389_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,7 +3,8 @@
//! Autogenerated weights for pallet_evm_migration
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
-//! DATE: 2023-02-15, STEPS: `50`, REPEAT: 80, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! DATE: 2023-03-30, STEPS: `50`, REPEAT: 80, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! WORST CASE MAP SIZE: `1000000`
//! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024
// Executed Command:
@@ -16,8 +17,7 @@
// compiled
// --extrinsic
// *
-// --template
-// .maintain/frame-weight-template.hbs
+// --template=.maintain/frame-weight-template.hbs
// --steps=50
// --repeat=80
// --heap-pages=4096
@@ -44,80 +44,143 @@
/// 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)
- // Storage: System Account (r:1 w:0)
- // Storage: EVM AccountCodes (r:1 w:0)
+ /// 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)
fn begin() -> Weight {
- Weight::from_ref_time(16_052_000 as u64)
- .saturating_add(T::DbWeight::get().reads(3 as u64))
- .saturating_add(T::DbWeight::get().writes(1 as u64))
+ // Proof Size summary in bytes:
+ // Measured: `94`
+ // Estimated: `7676`
+ // Minimum execution time: 12_699_000 picoseconds.
+ Weight::from_parts(12_989_000, 7676)
+ .saturating_add(T::DbWeight::get().reads(3_u64))
+ .saturating_add(T::DbWeight::get().writes(1_u64))
}
- // Storage: EvmMigration MigrationPending (r:1 w:0)
- // Storage: EVM AccountStorages (r:0 w:1)
+ /// 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)
+ /// The range of component `b` is `[0, 80]`.
fn set_data(b: u32, ) -> Weight {
- Weight::from_ref_time(9_257_564 as u64)
- // Standard Error: 1_384
- .saturating_add(Weight::from_ref_time(939_454 as u64).saturating_mul(b as u64))
- .saturating_add(T::DbWeight::get().reads(1 as u64))
- .saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(b as u64)))
+ // Proof Size summary in bytes:
+ // Measured: `96`
+ // Estimated: `2600`
+ // Minimum execution time: 9_157_000 picoseconds.
+ Weight::from_parts(7_442_065, 2600)
+ // Standard Error: 1_138
+ .saturating_add(Weight::from_parts(934_789, 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)
- // Storage: EVM AccountCodes (r:0 w:1)
+ /// 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)
+ /// The range of component `b` is `[0, 80]`.
fn finish(b: u32, ) -> Weight {
- Weight::from_ref_time(9_832_338 as u64)
- // Standard Error: 351
- .saturating_add(Weight::from_ref_time(415 as u64).saturating_mul(b as u64))
- .saturating_add(T::DbWeight::get().reads(1 as u64))
- .saturating_add(T::DbWeight::get().writes(2 as u64))
+ // Proof Size summary in bytes:
+ // Measured: `96`
+ // Estimated: `2600`
+ // Minimum execution time: 7_719_000 picoseconds.
+ Weight::from_parts(8_237_929, 2600)
+ // Standard Error: 266
+ .saturating_add(Weight::from_parts(3_473, 0).saturating_mul(b.into()))
+ .saturating_add(T::DbWeight::get().reads(1_u64))
+ .saturating_add(T::DbWeight::get().writes(2_u64))
}
+ /// The range of component `b` is `[0, 200]`.
fn insert_eth_logs(b: u32, ) -> Weight {
- Weight::from_ref_time(7_589_210 as u64)
- // Standard Error: 864
- .saturating_add(Weight::from_ref_time(688_444 as u64).saturating_mul(b as u64))
+ // Proof Size summary in bytes:
+ // Measured: `0`
+ // Estimated: `0`
+ // Minimum execution time: 1_193_000 picoseconds.
+ Weight::from_parts(2_667_314, 0)
+ // Standard Error: 583
+ .saturating_add(Weight::from_parts(690_704, 0).saturating_mul(b.into()))
}
+ /// The range of component `b` is `[0, 200]`.
fn insert_events(b: u32, ) -> Weight {
- Weight::from_ref_time(11_531_726 as u64)
- // Standard Error: 580
- .saturating_add(Weight::from_ref_time(1_271_608 as u64).saturating_mul(b as u64))
+ // Proof Size summary in bytes:
+ // Measured: `0`
+ // Estimated: `0`
+ // Minimum execution time: 1_253_000 picoseconds.
+ Weight::from_parts(4_685_069, 0)
+ // Standard Error: 1_036
+ .saturating_add(Weight::from_parts(1_322_329, 0).saturating_mul(b.into()))
}
}
// For backwards compatibility and tests
impl WeightInfo for () {
- // Storage: EvmMigration MigrationPending (r:1 w:1)
- // Storage: System Account (r:1 w:0)
- // Storage: EVM AccountCodes (r:1 w:0)
+ /// 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)
fn begin() -> Weight {
- Weight::from_ref_time(16_052_000 as u64)
- .saturating_add(RocksDbWeight::get().reads(3 as u64))
- .saturating_add(RocksDbWeight::get().writes(1 as u64))
+ // Proof Size summary in bytes:
+ // Measured: `94`
+ // Estimated: `7676`
+ // Minimum execution time: 12_699_000 picoseconds.
+ Weight::from_parts(12_989_000, 7676)
+ .saturating_add(RocksDbWeight::get().reads(3_u64))
+ .saturating_add(RocksDbWeight::get().writes(1_u64))
}
- // Storage: EvmMigration MigrationPending (r:1 w:0)
- // Storage: EVM AccountStorages (r:0 w:1)
+ /// 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)
+ /// The range of component `b` is `[0, 80]`.
fn set_data(b: u32, ) -> Weight {
- Weight::from_ref_time(9_257_564 as u64)
- // Standard Error: 1_384
- .saturating_add(Weight::from_ref_time(939_454 as u64).saturating_mul(b as u64))
- .saturating_add(RocksDbWeight::get().reads(1 as u64))
- .saturating_add(RocksDbWeight::get().writes((1 as u64).saturating_mul(b as u64)))
+ // Proof Size summary in bytes:
+ // Measured: `96`
+ // Estimated: `2600`
+ // Minimum execution time: 9_157_000 picoseconds.
+ Weight::from_parts(7_442_065, 2600)
+ // Standard Error: 1_138
+ .saturating_add(Weight::from_parts(934_789, 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)
- // Storage: EVM AccountCodes (r:0 w:1)
+ /// 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)
+ /// The range of component `b` is `[0, 80]`.
fn finish(b: u32, ) -> Weight {
- Weight::from_ref_time(9_832_338 as u64)
- // Standard Error: 351
- .saturating_add(Weight::from_ref_time(415 as u64).saturating_mul(b as u64))
- .saturating_add(RocksDbWeight::get().reads(1 as u64))
- .saturating_add(RocksDbWeight::get().writes(2 as u64))
+ // Proof Size summary in bytes:
+ // Measured: `96`
+ // Estimated: `2600`
+ // Minimum execution time: 7_719_000 picoseconds.
+ Weight::from_parts(8_237_929, 2600)
+ // Standard Error: 266
+ .saturating_add(Weight::from_parts(3_473, 0).saturating_mul(b.into()))
+ .saturating_add(RocksDbWeight::get().reads(1_u64))
+ .saturating_add(RocksDbWeight::get().writes(2_u64))
}
+ /// The range of component `b` is `[0, 200]`.
fn insert_eth_logs(b: u32, ) -> Weight {
- Weight::from_ref_time(7_589_210 as u64)
- // Standard Error: 864
- .saturating_add(Weight::from_ref_time(688_444 as u64).saturating_mul(b as u64))
+ // Proof Size summary in bytes:
+ // Measured: `0`
+ // Estimated: `0`
+ // Minimum execution time: 1_193_000 picoseconds.
+ Weight::from_parts(2_667_314, 0)
+ // Standard Error: 583
+ .saturating_add(Weight::from_parts(690_704, 0).saturating_mul(b.into()))
}
+ /// The range of component `b` is `[0, 200]`.
fn insert_events(b: u32, ) -> Weight {
- Weight::from_ref_time(11_531_726 as u64)
- // Standard Error: 580
- .saturating_add(Weight::from_ref_time(1_271_608 as u64).saturating_mul(b as u64))
+ // Proof Size summary in bytes:
+ // Measured: `0`
+ // Estimated: `0`
+ // Minimum execution time: 1_253_000 picoseconds.
+ Weight::from_parts(4_685_069, 0)
+ // Standard Error: 1_036
+ .saturating_add(Weight::from_parts(1_322_329, 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,7 +3,8 @@
//! Autogenerated weights for pallet_foreign_assets
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
-//! DATE: 2023-02-15, STEPS: `50`, REPEAT: 80, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! DATE: 2023-03-30, STEPS: `50`, REPEAT: 80, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! WORST CASE MAP SIZE: `1000000`
//! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024
// Executed Command:
@@ -16,8 +17,7 @@
// compiled
// --extrinsic
// *
-// --template
-// .maintain/frame-weight-template.hbs
+// --template=.maintain/frame-weight-template.hbs
// --steps=50
// --repeat=80
// --heap-pages=4096
@@ -41,54 +41,97 @@
/// 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)
- // Storage: Common DestroyedCollectionCount (r:1 w:0)
- // Storage: System Account (r:2 w:2)
- // Storage: ForeignAssets NextForeignAssetId (r:1 w:1)
- // Storage: ForeignAssets LocationToCurrencyIds (r:1 w:1)
- // Storage: ForeignAssets ForeignAssetLocations (r:1 w:1)
- // Storage: ForeignAssets AssetMetadatas (r:1 w:1)
- // Storage: ForeignAssets AssetBinding (r:1 w:1)
- // Storage: Common CollectionPropertyPermissions (r:0 w:1)
- // Storage: Common CollectionProperties (r:0 w:1)
- // Storage: Common CollectionById (r:0 w:1)
+ /// 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 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 {
- Weight::from_ref_time(49_269_000 as u64)
- .saturating_add(T::DbWeight::get().reads(9 as u64))
- .saturating_add(T::DbWeight::get().writes(11 as u64))
+ // Proof Size summary in bytes:
+ // Measured: `318`
+ // Estimated: `17918`
+ // Minimum execution time: 45_521_000 picoseconds.
+ Weight::from_parts(46_333_000, 17918)
+ .saturating_add(T::DbWeight::get().reads(9_u64))
+ .saturating_add(T::DbWeight::get().writes(11_u64))
}
- // Storage: ForeignAssets ForeignAssetLocations (r:1 w:1)
- // Storage: ForeignAssets AssetMetadatas (r:1 w:1)
+ /// 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 {
- Weight::from_ref_time(21_973_000 as u64)
- .saturating_add(T::DbWeight::get().reads(2 as u64))
- .saturating_add(T::DbWeight::get().writes(2 as u64))
+ // Proof Size summary in bytes:
+ // Measured: `197`
+ // Estimated: `5635`
+ // Minimum execution time: 13_542_000 picoseconds.
+ Weight::from_parts(13_913_000, 5635)
+ .saturating_add(T::DbWeight::get().reads(2_u64))
+ .saturating_add(T::DbWeight::get().writes(2_u64))
}
}
// For backwards compatibility and tests
impl WeightInfo for () {
- // Storage: Common CreatedCollectionCount (r:1 w:1)
- // Storage: Common DestroyedCollectionCount (r:1 w:0)
- // Storage: System Account (r:2 w:2)
- // Storage: ForeignAssets NextForeignAssetId (r:1 w:1)
- // Storage: ForeignAssets LocationToCurrencyIds (r:1 w:1)
- // Storage: ForeignAssets ForeignAssetLocations (r:1 w:1)
- // Storage: ForeignAssets AssetMetadatas (r:1 w:1)
- // Storage: ForeignAssets AssetBinding (r:1 w:1)
- // Storage: Common CollectionPropertyPermissions (r:0 w:1)
- // Storage: Common CollectionProperties (r:0 w:1)
- // Storage: Common CollectionById (r:0 w:1)
+ /// 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 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 {
- Weight::from_ref_time(49_269_000 as u64)
- .saturating_add(RocksDbWeight::get().reads(9 as u64))
- .saturating_add(RocksDbWeight::get().writes(11 as u64))
+ // Proof Size summary in bytes:
+ // Measured: `318`
+ // Estimated: `17918`
+ // Minimum execution time: 45_521_000 picoseconds.
+ Weight::from_parts(46_333_000, 17918)
+ .saturating_add(RocksDbWeight::get().reads(9_u64))
+ .saturating_add(RocksDbWeight::get().writes(11_u64))
}
- // Storage: ForeignAssets ForeignAssetLocations (r:1 w:1)
- // Storage: ForeignAssets AssetMetadatas (r:1 w:1)
+ /// 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 {
- Weight::from_ref_time(21_973_000 as u64)
- .saturating_add(RocksDbWeight::get().reads(2 as u64))
- .saturating_add(RocksDbWeight::get().writes(2 as u64))
+ // Proof Size summary in bytes:
+ // Measured: `197`
+ // Estimated: `5635`
+ // Minimum execution time: 13_542_000 picoseconds.
+ Weight::from_parts(13_913_000, 5635)
+ .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,7 +3,8 @@
//! Autogenerated weights for pallet_fungible
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
-//! DATE: 2023-02-15, STEPS: `50`, REPEAT: 80, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! DATE: 2023-03-30, STEPS: `50`, REPEAT: 80, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! WORST CASE MAP SIZE: `1000000`
//! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024
// Executed Command:
@@ -16,8 +17,7 @@
// compiled
// --extrinsic
// *
-// --template
-// .maintain/frame-weight-template.hbs
+// --template=.maintain/frame-weight-template.hbs
// --steps=50
// --repeat=80
// --heap-pages=4096
@@ -47,128 +47,229 @@
/// 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)
- // Storage: Fungible Balance (r:1 w:1)
+ /// 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 {
- Weight::from_ref_time(19_423_000 as u64)
- .saturating_add(T::DbWeight::get().reads(2 as u64))
- .saturating_add(T::DbWeight::get().writes(2 as u64))
+ // Proof Size summary in bytes:
+ // Measured: `42`
+ // Estimated: `5055`
+ // Minimum execution time: 10_152_000 picoseconds.
+ Weight::from_parts(10_520_000, 5055)
+ .saturating_add(T::DbWeight::get().reads(2_u64))
+ .saturating_add(T::DbWeight::get().writes(2_u64))
}
- // Storage: Fungible TotalSupply (r:1 w:1)
- // Storage: Fungible Balance (r:4 w:4)
+ /// 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 {
- Weight::from_ref_time(23_426_461 as u64)
- // Standard Error: 1_942
- .saturating_add(Weight::from_ref_time(3_459_389 as u64).saturating_mul(b as u64))
- .saturating_add(T::DbWeight::get().reads(1 as u64))
- .saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(b as u64)))
- .saturating_add(T::DbWeight::get().writes(1 as u64))
- .saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(b as u64)))
+ // Proof Size summary in bytes:
+ // Measured: `42`
+ // Estimated: `2503 + b * (2552 ±0)`
+ // Minimum execution time: 3_437_000 picoseconds.
+ Weight::from_parts(13_322_752, 2503)
+ // Standard Error: 1_728
+ .saturating_add(Weight::from_parts(3_605_522, 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)
- // Storage: Fungible Balance (r:1 w:1)
+ /// 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 {
- Weight::from_ref_time(22_600_000 as u64)
- .saturating_add(T::DbWeight::get().reads(2 as u64))
- .saturating_add(T::DbWeight::get().writes(2 as u64))
+ // Proof Size summary in bytes:
+ // Measured: `197`
+ // Estimated: `5055`
+ // Minimum execution time: 12_894_000 picoseconds.
+ Weight::from_parts(13_347_000, 5055)
+ .saturating_add(T::DbWeight::get().reads(2_u64))
+ .saturating_add(T::DbWeight::get().writes(2_u64))
}
- // Storage: Fungible Balance (r:2 w:2)
+ /// Storage: Fungible Balance (r:2 w:2)
+ /// Proof: Fungible Balance (max_values: None, max_size: Some(77), added: 2552, mode: MaxEncodedLen)
fn transfer() -> Weight {
- Weight::from_ref_time(24_015_000 as u64)
- .saturating_add(T::DbWeight::get().reads(2 as u64))
- .saturating_add(T::DbWeight::get().writes(2 as u64))
+ // Proof Size summary in bytes:
+ // Measured: `182`
+ // Estimated: `5104`
+ // Minimum execution time: 13_832_000 picoseconds.
+ Weight::from_parts(14_064_000, 5104)
+ .saturating_add(T::DbWeight::get().reads(2_u64))
+ .saturating_add(T::DbWeight::get().writes(2_u64))
}
- // Storage: Fungible Balance (r:1 w:0)
- // Storage: Fungible Allowance (r:0 w:1)
+ /// 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 {
- Weight::from_ref_time(22_478_000 as u64)
- .saturating_add(T::DbWeight::get().reads(1 as u64))
- .saturating_add(T::DbWeight::get().writes(1 as u64))
+ // Proof Size summary in bytes:
+ // Measured: `182`
+ // Estimated: `2552`
+ // Minimum execution time: 12_417_000 picoseconds.
+ Weight::from_parts(12_658_000, 2552)
+ .saturating_add(T::DbWeight::get().reads(1_u64))
+ .saturating_add(T::DbWeight::get().writes(1_u64))
}
- // Storage: Fungible Balance (r:1 w:0)
- // Storage: Fungible Allowance (r:0 w:1)
+ /// 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 {
- Weight::from_ref_time(22_522_000 as u64)
- .saturating_add(T::DbWeight::get().reads(1 as u64))
- .saturating_add(T::DbWeight::get().writes(1 as u64))
+ // Proof Size summary in bytes:
+ // Measured: `170`
+ // Estimated: `2552`
+ // Minimum execution time: 12_322_000 picoseconds.
+ Weight::from_parts(12_629_000, 2552)
+ .saturating_add(T::DbWeight::get().reads(1_u64))
+ .saturating_add(T::DbWeight::get().writes(1_u64))
}
- // Storage: Fungible Allowance (r:1 w:1)
- // Storage: Fungible Balance (r:2 w:2)
+ /// Storage: Fungible Allowance (r:1 w:1)
+ /// Proof: Fungible Allowance (max_values: None, max_size: Some(93), added: 2568, 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_from() -> Weight {
- Weight::from_ref_time(32_061_000 as u64)
- .saturating_add(T::DbWeight::get().reads(3 as u64))
- .saturating_add(T::DbWeight::get().writes(3 as u64))
+ // Proof Size summary in bytes:
+ // Measured: `300`
+ // Estimated: `7672`
+ // Minimum execution time: 21_667_000 picoseconds.
+ Weight::from_parts(22_166_000, 7672)
+ .saturating_add(T::DbWeight::get().reads(3_u64))
+ .saturating_add(T::DbWeight::get().writes(3_u64))
}
- // Storage: Fungible Allowance (r:1 w:1)
- // Storage: Fungible TotalSupply (r:1 w:1)
- // Storage: Fungible Balance (r:1 w:1)
+ /// 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 {
- Weight::from_ref_time(32_115_000 as u64)
- .saturating_add(T::DbWeight::get().reads(3 as u64))
- .saturating_add(T::DbWeight::get().writes(3 as u64))
+ // Proof Size summary in bytes:
+ // Measured: `315`
+ // Estimated: `7623`
+ // Minimum execution time: 21_271_000 picoseconds.
+ Weight::from_parts(21_709_000, 7623)
+ .saturating_add(T::DbWeight::get().reads(3_u64))
+ .saturating_add(T::DbWeight::get().writes(3_u64))
}
}
// For backwards compatibility and tests
impl WeightInfo for () {
- // Storage: Fungible TotalSupply (r:1 w:1)
- // Storage: Fungible Balance (r:1 w:1)
+ /// 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 {
- Weight::from_ref_time(19_423_000 as u64)
- .saturating_add(RocksDbWeight::get().reads(2 as u64))
- .saturating_add(RocksDbWeight::get().writes(2 as u64))
+ // Proof Size summary in bytes:
+ // Measured: `42`
+ // Estimated: `5055`
+ // Minimum execution time: 10_152_000 picoseconds.
+ Weight::from_parts(10_520_000, 5055)
+ .saturating_add(RocksDbWeight::get().reads(2_u64))
+ .saturating_add(RocksDbWeight::get().writes(2_u64))
}
- // Storage: Fungible TotalSupply (r:1 w:1)
- // Storage: Fungible Balance (r:4 w:4)
+ /// 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 {
- Weight::from_ref_time(23_426_461 as u64)
- // Standard Error: 1_942
- .saturating_add(Weight::from_ref_time(3_459_389 as u64).saturating_mul(b as u64))
- .saturating_add(RocksDbWeight::get().reads(1 as u64))
- .saturating_add(RocksDbWeight::get().reads((1 as u64).saturating_mul(b as u64)))
- .saturating_add(RocksDbWeight::get().writes(1 as u64))
- .saturating_add(RocksDbWeight::get().writes((1 as u64).saturating_mul(b as u64)))
+ // Proof Size summary in bytes:
+ // Measured: `42`
+ // Estimated: `2503 + b * (2552 ±0)`
+ // Minimum execution time: 3_437_000 picoseconds.
+ Weight::from_parts(13_322_752, 2503)
+ // Standard Error: 1_728
+ .saturating_add(Weight::from_parts(3_605_522, 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)
- // Storage: Fungible Balance (r:1 w:1)
+ /// 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 {
- Weight::from_ref_time(22_600_000 as u64)
- .saturating_add(RocksDbWeight::get().reads(2 as u64))
- .saturating_add(RocksDbWeight::get().writes(2 as u64))
+ // Proof Size summary in bytes:
+ // Measured: `197`
+ // Estimated: `5055`
+ // Minimum execution time: 12_894_000 picoseconds.
+ Weight::from_parts(13_347_000, 5055)
+ .saturating_add(RocksDbWeight::get().reads(2_u64))
+ .saturating_add(RocksDbWeight::get().writes(2_u64))
}
- // Storage: Fungible Balance (r:2 w:2)
+ /// Storage: Fungible Balance (r:2 w:2)
+ /// Proof: Fungible Balance (max_values: None, max_size: Some(77), added: 2552, mode: MaxEncodedLen)
fn transfer() -> Weight {
- Weight::from_ref_time(24_015_000 as u64)
- .saturating_add(RocksDbWeight::get().reads(2 as u64))
- .saturating_add(RocksDbWeight::get().writes(2 as u64))
+ // Proof Size summary in bytes:
+ // Measured: `182`
+ // Estimated: `5104`
+ // Minimum execution time: 13_832_000 picoseconds.
+ Weight::from_parts(14_064_000, 5104)
+ .saturating_add(RocksDbWeight::get().reads(2_u64))
+ .saturating_add(RocksDbWeight::get().writes(2_u64))
}
- // Storage: Fungible Balance (r:1 w:0)
- // Storage: Fungible Allowance (r:0 w:1)
+ /// 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 {
- Weight::from_ref_time(22_478_000 as u64)
- .saturating_add(RocksDbWeight::get().reads(1 as u64))
- .saturating_add(RocksDbWeight::get().writes(1 as u64))
+ // Proof Size summary in bytes:
+ // Measured: `182`
+ // Estimated: `2552`
+ // Minimum execution time: 12_417_000 picoseconds.
+ Weight::from_parts(12_658_000, 2552)
+ .saturating_add(RocksDbWeight::get().reads(1_u64))
+ .saturating_add(RocksDbWeight::get().writes(1_u64))
}
- // Storage: Fungible Balance (r:1 w:0)
- // Storage: Fungible Allowance (r:0 w:1)
+ /// 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 {
- Weight::from_ref_time(22_522_000 as u64)
- .saturating_add(RocksDbWeight::get().reads(1 as u64))
- .saturating_add(RocksDbWeight::get().writes(1 as u64))
+ // Proof Size summary in bytes:
+ // Measured: `170`
+ // Estimated: `2552`
+ // Minimum execution time: 12_322_000 picoseconds.
+ Weight::from_parts(12_629_000, 2552)
+ .saturating_add(RocksDbWeight::get().reads(1_u64))
+ .saturating_add(RocksDbWeight::get().writes(1_u64))
}
- // Storage: Fungible Allowance (r:1 w:1)
- // Storage: Fungible Balance (r:2 w:2)
+ /// Storage: Fungible Allowance (r:1 w:1)
+ /// Proof: Fungible Allowance (max_values: None, max_size: Some(93), added: 2568, 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_from() -> Weight {
- Weight::from_ref_time(32_061_000 as u64)
- .saturating_add(RocksDbWeight::get().reads(3 as u64))
- .saturating_add(RocksDbWeight::get().writes(3 as u64))
+ // Proof Size summary in bytes:
+ // Measured: `300`
+ // Estimated: `7672`
+ // Minimum execution time: 21_667_000 picoseconds.
+ Weight::from_parts(22_166_000, 7672)
+ .saturating_add(RocksDbWeight::get().reads(3_u64))
+ .saturating_add(RocksDbWeight::get().writes(3_u64))
}
- // Storage: Fungible Allowance (r:1 w:1)
- // Storage: Fungible TotalSupply (r:1 w:1)
- // Storage: Fungible Balance (r:1 w:1)
+ /// 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 {
- Weight::from_ref_time(32_115_000 as u64)
- .saturating_add(RocksDbWeight::get().reads(3 as u64))
- .saturating_add(RocksDbWeight::get().writes(3 as u64))
+ // Proof Size summary in bytes:
+ // Measured: `315`
+ // Estimated: `7623`
+ // Minimum execution time: 21_271_000 picoseconds.
+ Weight::from_parts(21_709_000, 7623)
+ .saturating_add(RocksDbWeight::get().reads(3_u64))
+ .saturating_add(RocksDbWeight::get().writes(3_u64))
}
}
+
pallets/maintenance/src/weights.rsdiffbeforeafterboth--- a/pallets/maintenance/src/weights.rs
+++ b/pallets/maintenance/src/weights.rs
@@ -3,7 +3,8 @@
//! Autogenerated weights for pallet_maintenance
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
-//! DATE: 2023-02-22, STEPS: `50`, REPEAT: 80, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! DATE: 2023-03-30, STEPS: `50`, REPEAT: 80, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! WORST CASE MAP SIZE: `1000000`
//! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024
// Executed Command:
@@ -16,8 +17,7 @@
// compiled
// --extrinsic
// *
-// --template
-// .maintain/frame-weight-template.hbs
+// --template=.maintain/frame-weight-template.hbs
// --steps=50
// --repeat=80
// --heap-pages=4096
@@ -42,40 +42,73 @@
/// 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)
+ /// 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 {
- Weight::from_ref_time(12_866_000 as u64)
- .saturating_add(T::DbWeight::get().writes(1 as u64))
+ // Proof Size summary in bytes:
+ // Measured: `0`
+ // Estimated: `0`
+ // Minimum execution time: 4_721_000 picoseconds.
+ Weight::from_parts(4_918_000, 0)
+ .saturating_add(T::DbWeight::get().writes(1_u64))
}
- // Storage: Maintenance Enabled (r:0 w:1)
+ /// 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 {
- Weight::from_ref_time(12_777_000 as u64)
- .saturating_add(T::DbWeight::get().writes(1 as u64))
+ // Proof Size summary in bytes:
+ // Measured: `0`
+ // Estimated: `0`
+ // Minimum execution time: 4_795_000 picoseconds.
+ Weight::from_parts(5_006_000, 0)
+ .saturating_add(T::DbWeight::get().writes(1_u64))
}
- // Storage: Preimage StatusFor (r:1 w:0)
- // Storage: Preimage PreimageFor (r:1 w:0)
+ /// Storage: Preimage StatusFor (r:1 w:0)
+ /// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen)
+ /// Storage: Preimage PreimageFor (r:1 w:0)
+ /// Proof: Preimage PreimageFor (max_values: None, max_size: Some(4194344), added: 4196819, mode: MaxEncodedLen)
fn execute_preimage() -> Weight {
- Weight::from_ref_time(12_228_000 as u64)
- .saturating_add(T::DbWeight::get().reads(2 as u64))
+ // Proof Size summary in bytes:
+ // Measured: `209`
+ // Estimated: `4199385`
+ // Minimum execution time: 11_496_000 picoseconds.
+ Weight::from_parts(11_719_000, 4199385)
+ .saturating_add(T::DbWeight::get().reads(2_u64))
}
}
// For backwards compatibility and tests
impl WeightInfo for () {
- // Storage: Maintenance Enabled (r:0 w:1)
+ /// 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 {
- Weight::from_ref_time(12_866_000 as u64)
- .saturating_add(RocksDbWeight::get().writes(1 as u64))
+ // Proof Size summary in bytes:
+ // Measured: `0`
+ // Estimated: `0`
+ // Minimum execution time: 4_721_000 picoseconds.
+ Weight::from_parts(4_918_000, 0)
+ .saturating_add(RocksDbWeight::get().writes(1_u64))
}
- // Storage: Maintenance Enabled (r:0 w:1)
+ /// 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 {
- Weight::from_ref_time(12_777_000 as u64)
- .saturating_add(RocksDbWeight::get().writes(1 as u64))
+ // Proof Size summary in bytes:
+ // Measured: `0`
+ // Estimated: `0`
+ // Minimum execution time: 4_795_000 picoseconds.
+ Weight::from_parts(5_006_000, 0)
+ .saturating_add(RocksDbWeight::get().writes(1_u64))
}
- // Storage: Preimage StatusFor (r:1 w:0)
- // Storage: Preimage PreimageFor (r:1 w:0)
+ /// Storage: Preimage StatusFor (r:1 w:0)
+ /// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen)
+ /// Storage: Preimage PreimageFor (r:1 w:0)
+ /// Proof: Preimage PreimageFor (max_values: None, max_size: Some(4194344), added: 4196819, mode: MaxEncodedLen)
fn execute_preimage() -> Weight {
- Weight::from_ref_time(12_228_000 as u64)
- .saturating_add(RocksDbWeight::get().reads(2 as u64))
+ // Proof Size summary in bytes:
+ // Measured: `209`
+ // Estimated: `4199385`
+ // Minimum execution time: 11_496_000 picoseconds.
+ Weight::from_parts(11_719_000, 4199385)
+ .saturating_add(RocksDbWeight::get().reads(2_u64))
}
}
+
pallets/nonfungible/src/weights.rsdiffbeforeafterboth3//! Autogenerated weights for pallet_nonfungible3//! Autogenerated weights for pallet_nonfungible4//!4//!5//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev5//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev6//! DATE: 2023-02-15, STEPS: `50`, REPEAT: 80, LOW RANGE: `[]`, HIGH RANGE: `[]`6//! DATE: 2023-03-30, STEPS: `50`, REPEAT: 80, LOW RANGE: `[]`, HIGH RANGE: `[]`7//! WORST CASE MAP SIZE: `1000000`7//! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 10248//! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024899// Executed Command:10// Executed Command:16// compiled17// compiled17// --extrinsic18// --extrinsic18// *19// *19// --template20// --template=.maintain/frame-weight-template.hbs20// .maintain/frame-weight-template.hbs21// --steps=5021// --steps=5022// --repeat=8022// --repeat=8023// --heap-pages=409623// --heap-pages=409657/// Weights for pallet_nonfungible using the Substrate node and recommended hardware.57/// Weights for pallet_nonfungible using the Substrate node and recommended hardware.58pub struct SubstrateWeight<T>(PhantomData<T>);58pub struct SubstrateWeight<T>(PhantomData<T>);59impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {59impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {60 // Storage: Nonfungible TokensMinted (r:1 w:1)60 /// Storage: Nonfungible TokensMinted (r:1 w:1)61 // Storage: Nonfungible AccountBalance (r:1 w:1)61 /// Proof: Nonfungible TokensMinted (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)62 /// Storage: Nonfungible AccountBalance (r:1 w:1)62 // Storage: Nonfungible TokenProperties (r:1 w:1)63 /// Proof: Nonfungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)64 /// Storage: Nonfungible TokenProperties (r:1 w:1)63 // Storage: Common CollectionPropertyPermissions (r:1 w:0)65 /// Proof: Nonfungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)66 /// Storage: Common CollectionPropertyPermissions (r:1 w:0)64 // Storage: Nonfungible TokenData (r:0 w:1)67 /// Proof: Common CollectionPropertyPermissions (max_values: None, max_size: Some(16726), added: 19201, mode: MaxEncodedLen)68 /// Storage: Nonfungible TokenData (r:0 w:1)65 // Storage: Nonfungible Owned (r:0 w:1)69 /// Proof: Nonfungible TokenData (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)70 /// Storage: Nonfungible Owned (r:0 w:1)71 /// Proof: Nonfungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)66 fn create_item() -> Weight {72 fn create_item() -> Weight {67 Weight::from_ref_time(35_333_000 as u64)73 // Proof Size summary in bytes:74 // Measured: `390`75 // Estimated: `59511`76 // Minimum execution time: 23_081_000 picoseconds.77 Weight::from_parts(23_551_000, 59511)68 .saturating_add(T::DbWeight::get().reads(4 as u64))78 .saturating_add(T::DbWeight::get().reads(4_u64))69 .saturating_add(T::DbWeight::get().writes(5 as u64))79 .saturating_add(T::DbWeight::get().writes(5_u64))70 }80 }71 // Storage: Nonfungible TokensMinted (r:1 w:1)81 /// Storage: Nonfungible TokensMinted (r:1 w:1)72 // Storage: Nonfungible AccountBalance (r:1 w:1)82 /// Proof: Nonfungible TokensMinted (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)83 /// Storage: Nonfungible AccountBalance (r:1 w:1)73 // Storage: Nonfungible TokenProperties (r:4 w:4)84 /// Proof: Nonfungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)85 /// Storage: Nonfungible TokenProperties (r:200 w:200)74 // Storage: Common CollectionPropertyPermissions (r:1 w:0)86 /// Proof: Nonfungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)87 /// Storage: Common CollectionPropertyPermissions (r:1 w:0)75 // Storage: Nonfungible TokenData (r:0 w:4)88 /// Proof: Common CollectionPropertyPermissions (max_values: None, max_size: Some(16726), added: 19201, mode: MaxEncodedLen)89 /// Storage: Nonfungible TokenData (r:0 w:200)76 // Storage: Nonfungible Owned (r:0 w:4)90 /// Proof: Nonfungible TokenData (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)91 /// Storage: Nonfungible Owned (r:0 w:200)92 /// Proof: Nonfungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)93 /// The range of component `b` is `[0, 200]`.77 fn create_multiple_items(b: u32, ) -> Weight {94 fn create_multiple_items(b: u32, ) -> Weight {78 Weight::from_ref_time(19_091_371 as u64)95 // Proof Size summary in bytes:96 // Measured: `390`97 // Estimated: `24232 + b * (35279 ±0)`98 // Minimum execution time: 4_557_000 picoseconds.99 Weight::from_parts(5_994_058, 24232)79 // Standard Error: 3_221100 // Standard Error: 4_32680 .saturating_add(Weight::from_ref_time(7_304_849 as u64).saturating_mul(b as u64))101 .saturating_add(Weight::from_parts(7_369_489, 0).saturating_mul(b.into()))81 .saturating_add(T::DbWeight::get().reads(3 as u64))102 .saturating_add(T::DbWeight::get().reads(3_u64))82 .saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(b as u64)))103 .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(b.into())))83 .saturating_add(T::DbWeight::get().writes(2 as u64))104 .saturating_add(T::DbWeight::get().writes(2_u64))84 .saturating_add(T::DbWeight::get().writes((3 as u64).saturating_mul(b as u64)))105 .saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(b.into())))106 .saturating_add(Weight::from_parts(0, 35279).saturating_mul(b.into()))85 }107 }86 // Storage: Nonfungible TokensMinted (r:1 w:1)108 /// Storage: Nonfungible TokensMinted (r:1 w:1)87 // Storage: Nonfungible AccountBalance (r:4 w:4)109 /// Proof: Nonfungible TokensMinted (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)110 /// Storage: Nonfungible AccountBalance (r:200 w:200)88 // Storage: Nonfungible TokenProperties (r:4 w:4)111 /// Proof: Nonfungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)112 /// Storage: Nonfungible TokenProperties (r:200 w:200)89 // Storage: Common CollectionPropertyPermissions (r:1 w:0)113 /// Proof: Nonfungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)114 /// Storage: Common CollectionPropertyPermissions (r:1 w:0)90 // Storage: Nonfungible TokenData (r:0 w:4)115 /// Proof: Common CollectionPropertyPermissions (max_values: None, max_size: Some(16726), added: 19201, mode: MaxEncodedLen)116 /// Storage: Nonfungible TokenData (r:0 w:200)91 // Storage: Nonfungible Owned (r:0 w:4)117 /// Proof: Nonfungible TokenData (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)118 /// Storage: Nonfungible Owned (r:0 w:200)119 /// Proof: Nonfungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)120 /// The range of component `b` is `[0, 200]`.92 fn create_multiple_items_ex(b: u32, ) -> Weight {121 fn create_multiple_items_ex(b: u32, ) -> Weight {93 Weight::from_ref_time(12_655_339 as u64)122 // Proof Size summary in bytes:123 // Measured: `390`124 // Estimated: `21692 + b * (37819 ±0)`125 // Minimum execution time: 4_533_000 picoseconds.126 Weight::from_parts(2_822_660, 21692)94 // Standard Error: 3_655127 // Standard Error: 3_65095 .saturating_add(Weight::from_ref_time(9_051_919 as u64).saturating_mul(b as u64))128 .saturating_add(Weight::from_parts(9_100_706, 0).saturating_mul(b.into()))96 .saturating_add(T::DbWeight::get().reads(2 as u64))129 .saturating_add(T::DbWeight::get().reads(2_u64))97 .saturating_add(T::DbWeight::get().reads((2 as u64).saturating_mul(b as u64)))130 .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(b.into())))98 .saturating_add(T::DbWeight::get().writes(1 as u64))131 .saturating_add(T::DbWeight::get().writes(1_u64))99 .saturating_add(T::DbWeight::get().writes((4 as u64).saturating_mul(b as u64)))132 .saturating_add(T::DbWeight::get().writes((4_u64).saturating_mul(b.into())))133 .saturating_add(Weight::from_parts(0, 37819).saturating_mul(b.into()))100 }134 }101 // Storage: Nonfungible TokenData (r:1 w:1)135 /// Storage: Nonfungible TokenData (r:1 w:1)102 // Storage: Nonfungible TokenChildren (r:1 w:0)136 /// Proof: Nonfungible TokenData (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)137 /// Storage: Nonfungible TokenChildren (r:1 w:0)103 // Storage: Nonfungible TokensBurnt (r:1 w:1)138 /// Proof: Nonfungible TokenChildren (max_values: None, max_size: Some(41), added: 2516, mode: MaxEncodedLen)139 /// Storage: Nonfungible TokensBurnt (r:1 w:1)104 // Storage: Nonfungible AccountBalance (r:1 w:1)140 /// Proof: Nonfungible TokensBurnt (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)141 /// Storage: Nonfungible AccountBalance (r:1 w:1)105 // Storage: Nonfungible Allowance (r:1 w:0)142 /// Proof: Nonfungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)143 /// Storage: Nonfungible Allowance (r:1 w:0)106 // Storage: Nonfungible Owned (r:0 w:1)144 /// Proof: Nonfungible Allowance (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)145 /// Storage: Nonfungible Owned (r:0 w:1)107 // Storage: Nonfungible TokenProperties (r:0 w:1)146 /// Proof: Nonfungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)147 /// Storage: Nonfungible TokenProperties (r:0 w:1)148 /// Proof: Nonfungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)108 fn burn_item() -> Weight {149 fn burn_item() -> Weight {109 Weight::from_ref_time(34_068_000 as u64)150 // Proof Size summary in bytes:151 // Measured: `412`152 // Estimated: `12611`153 // Minimum execution time: 23_528_000 picoseconds.154 Weight::from_parts(24_680_000, 12611)110 .saturating_add(T::DbWeight::get().reads(5 as u64))155 .saturating_add(T::DbWeight::get().reads(5_u64))111 .saturating_add(T::DbWeight::get().writes(5 as u64))156 .saturating_add(T::DbWeight::get().writes(5_u64))112 }157 }113 // Storage: Nonfungible TokenChildren (r:1 w:0)158 /// Storage: Nonfungible TokenChildren (r:1 w:0)114 // Storage: Nonfungible TokenData (r:1 w:1)159 /// Proof: Nonfungible TokenChildren (max_values: None, max_size: Some(41), added: 2516, mode: MaxEncodedLen)160 /// Storage: Nonfungible TokenData (r:1 w:1)115 // Storage: Nonfungible TokensBurnt (r:1 w:1)161 /// Proof: Nonfungible TokenData (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)162 /// Storage: Nonfungible TokensBurnt (r:1 w:1)116 // Storage: Nonfungible AccountBalance (r:1 w:1)163 /// Proof: Nonfungible TokensBurnt (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)164 /// Storage: Nonfungible AccountBalance (r:1 w:1)117 // Storage: Nonfungible Allowance (r:1 w:0)165 /// Proof: Nonfungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)166 /// Storage: Nonfungible Allowance (r:1 w:0)118 // Storage: Nonfungible Owned (r:0 w:1)167 /// Proof: Nonfungible Allowance (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)168 /// Storage: Nonfungible Owned (r:0 w:1)119 // Storage: Nonfungible TokenProperties (r:0 w:1)169 /// Proof: Nonfungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)170 /// Storage: Nonfungible TokenProperties (r:0 w:1)171 /// Proof: Nonfungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)120 fn burn_recursively_self_raw() -> Weight {172 fn burn_recursively_self_raw() -> Weight {121 Weight::from_ref_time(44_840_000 as u64)173 // Proof Size summary in bytes:174 // Measured: `412`175 // Estimated: `12611`176 // Minimum execution time: 29_770_000 picoseconds.177 Weight::from_parts(30_114_000, 12611)122 .saturating_add(T::DbWeight::get().reads(5 as u64))178 .saturating_add(T::DbWeight::get().reads(5_u64))123 .saturating_add(T::DbWeight::get().writes(5 as u64))179 .saturating_add(T::DbWeight::get().writes(5_u64))124 }180 }125 // Storage: Nonfungible TokenChildren (r:1 w:0)181 /// Storage: Nonfungible TokenChildren (r:401 w:200)182 /// Proof: Nonfungible TokenChildren (max_values: None, max_size: Some(41), added: 2516, mode: MaxEncodedLen)183 /// Storage: Common CollectionById (r:1 w:0)126 // Storage: Nonfungible TokenData (r:1 w:1)184 /// Proof: Common CollectionById (max_values: None, max_size: Some(860), added: 3335, mode: MaxEncodedLen)185 /// Storage: Nonfungible TokenData (r:201 w:201)127 // Storage: Nonfungible TokensBurnt (r:1 w:1)186 /// Proof: Nonfungible TokenData (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)187 /// Storage: Nonfungible TokensBurnt (r:1 w:1)128 // Storage: Nonfungible AccountBalance (r:1 w:1)188 /// Proof: Nonfungible TokensBurnt (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)189 /// Storage: Nonfungible AccountBalance (r:2 w:2)129 // Storage: Nonfungible Allowance (r:1 w:0)190 /// Proof: Nonfungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)191 /// Storage: Nonfungible Allowance (r:201 w:0)130 // Storage: Nonfungible Owned (r:0 w:1)192 /// Proof: Nonfungible Allowance (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)193 /// Storage: Nonfungible Owned (r:0 w:201)131 // Storage: Nonfungible TokenProperties (r:0 w:1)194 /// Proof: Nonfungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)195 /// Storage: Nonfungible TokenProperties (r:0 w:201)132 // Storage: Common CollectionById (r:1 w:0)196 /// Proof: Nonfungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)197 /// The range of component `b` is `[0, 200]`.133 fn burn_recursively_breadth_plus_self_plus_self_per_each_raw(b: u32, ) -> Weight {198 fn burn_recursively_breadth_plus_self_plus_self_per_each_raw(b: u32, ) -> Weight {134 Weight::from_ref_time(44_567_000 as u64)199 // Proof Size summary in bytes:200 // Measured: `1530 + b * (58 ±0)`201 // Estimated: `18290 + b * (10097 ±0)`135 // Standard Error: 1_014_743202 // Minimum execution time: 31_413_000 picoseconds.203 Weight::from_parts(31_865_000, 18290)204 // Standard Error: 980_032136 .saturating_add(Weight::from_ref_time(209_619_240 as u64).saturating_mul(b as u64))205 .saturating_add(Weight::from_parts(205_236_443, 0).saturating_mul(b.into()))137 .saturating_add(T::DbWeight::get().reads(7 as u64))206 .saturating_add(T::DbWeight::get().reads(7_u64))138 .saturating_add(T::DbWeight::get().reads((4 as u64).saturating_mul(b as u64)))207 .saturating_add(T::DbWeight::get().reads((4_u64).saturating_mul(b.into())))139 .saturating_add(T::DbWeight::get().writes(6 as u64))208 .saturating_add(T::DbWeight::get().writes(6_u64))140 .saturating_add(T::DbWeight::get().writes((4 as u64).saturating_mul(b as u64)))209 .saturating_add(T::DbWeight::get().writes((4_u64).saturating_mul(b.into())))210 .saturating_add(Weight::from_parts(0, 10097).saturating_mul(b.into()))141 }211 }142 // Storage: Nonfungible TokenData (r:1 w:1)212 /// Storage: Nonfungible TokenData (r:1 w:1)143 // Storage: Nonfungible AccountBalance (r:2 w:2)213 /// Proof: Nonfungible TokenData (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)214 /// Storage: Nonfungible AccountBalance (r:2 w:2)144 // Storage: Nonfungible Allowance (r:1 w:0)215 /// Proof: Nonfungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)216 /// Storage: Nonfungible Allowance (r:1 w:0)145 // Storage: Nonfungible Owned (r:0 w:2)217 /// Proof: Nonfungible Allowance (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)218 /// Storage: Nonfungible Owned (r:0 w:2)219 /// Proof: Nonfungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)146 fn transfer() -> Weight {220 fn transfer() -> Weight {147 Weight::from_ref_time(29_508_000 as u64)221 // Proof Size summary in bytes:222 // Measured: `412`223 // Estimated: `10144`224 // Minimum execution time: 18_629_000 picoseconds.225 Weight::from_parts(18_997_000, 10144)148 .saturating_add(T::DbWeight::get().reads(4 as u64))226 .saturating_add(T::DbWeight::get().reads(4_u64))149 .saturating_add(T::DbWeight::get().writes(5 as u64))227 .saturating_add(T::DbWeight::get().writes(5_u64))150 }228 }151 // Storage: Nonfungible TokenData (r:1 w:0)229 /// Storage: Nonfungible TokenData (r:1 w:0)152 // Storage: Nonfungible Allowance (r:1 w:1)230 /// Proof: Nonfungible TokenData (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)231 /// Storage: Nonfungible Allowance (r:1 w:1)232 /// Proof: Nonfungible Allowance (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)153 fn approve() -> Weight {233 fn approve() -> Weight {154 Weight::from_ref_time(22_168_000 as u64)234 // Proof Size summary in bytes:235 // Measured: `358`236 // Estimated: `5064`237 // Minimum execution time: 11_507_000 picoseconds.238 Weight::from_parts(11_771_000, 5064)155 .saturating_add(T::DbWeight::get().reads(2 as u64))239 .saturating_add(T::DbWeight::get().reads(2_u64))156 .saturating_add(T::DbWeight::get().writes(1 as u64))240 .saturating_add(T::DbWeight::get().writes(1_u64))157 }241 }158 // Storage: Nonfungible TokenData (r:1 w:0)242 /// Storage: Nonfungible TokenData (r:1 w:0)159 // Storage: Nonfungible Allowance (r:1 w:1)243 /// Proof: Nonfungible TokenData (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)244 /// Storage: Nonfungible Allowance (r:1 w:1)245 /// Proof: Nonfungible Allowance (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)160 fn approve_from() -> Weight {246 fn approve_from() -> Weight {161 Weight::from_ref_time(22_063_000 as u64)247 // Proof Size summary in bytes:248 // Measured: `313`249 // Estimated: `5064`250 // Minimum execution time: 11_558_000 picoseconds.251 Weight::from_parts(11_789_000, 5064)162 .saturating_add(T::DbWeight::get().reads(2 as u64))252 .saturating_add(T::DbWeight::get().reads(2_u64))163 .saturating_add(T::DbWeight::get().writes(1 as u64))253 .saturating_add(T::DbWeight::get().writes(1_u64))164 }254 }165 // Storage: Nonfungible Allowance (r:1 w:1)255 /// Storage: Nonfungible Allowance (r:1 w:1)166 // Storage: Nonfungible TokenData (r:1 w:1)256 /// Proof: Nonfungible Allowance (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)257 /// Storage: Nonfungible TokenData (r:1 w:1)167 // Storage: Nonfungible AccountBalance (r:2 w:2)258 /// Proof: Nonfungible TokenData (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)259 /// Storage: Nonfungible AccountBalance (r:2 w:2)168 // Storage: Nonfungible Owned (r:0 w:2)260 /// Proof: Nonfungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)261 /// Storage: Nonfungible Owned (r:0 w:2)262 /// Proof: Nonfungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)169 fn transfer_from() -> Weight {263 fn transfer_from() -> Weight {170 Weight::from_ref_time(36_386_000 as u64)264 // Proof Size summary in bytes:265 // Measured: `527`266 // Estimated: `10144`267 // Minimum execution time: 24_919_000 picoseconds.268 Weight::from_parts(25_333_000, 10144)171 .saturating_add(T::DbWeight::get().reads(4 as u64))269 .saturating_add(T::DbWeight::get().reads(4_u64))172 .saturating_add(T::DbWeight::get().writes(6 as u64))270 .saturating_add(T::DbWeight::get().writes(6_u64))173 }271 }174 // Storage: Nonfungible Allowance (r:1 w:1)272 /// Storage: Nonfungible Allowance (r:1 w:1)175 // Storage: Nonfungible TokenData (r:1 w:1)273 /// Proof: Nonfungible Allowance (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)274 /// Storage: Nonfungible TokenData (r:1 w:1)176 // Storage: Nonfungible TokenChildren (r:1 w:0)275 /// Proof: Nonfungible TokenData (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)276 /// Storage: Nonfungible TokenChildren (r:1 w:0)177 // Storage: Nonfungible TokensBurnt (r:1 w:1)277 /// Proof: Nonfungible TokenChildren (max_values: None, max_size: Some(41), added: 2516, mode: MaxEncodedLen)278 /// Storage: Nonfungible TokensBurnt (r:1 w:1)178 // Storage: Nonfungible AccountBalance (r:1 w:1)279 /// Proof: Nonfungible TokensBurnt (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)280 /// Storage: Nonfungible AccountBalance (r:1 w:1)179 // Storage: Nonfungible Owned (r:0 w:1)281 /// Proof: Nonfungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)282 /// Storage: Nonfungible Owned (r:0 w:1)180 // Storage: Nonfungible TokenProperties (r:0 w:1)283 /// Proof: Nonfungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)284 /// Storage: Nonfungible TokenProperties (r:0 w:1)285 /// Proof: Nonfungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)181 fn burn_from() -> Weight {286 fn burn_from() -> Weight {182 Weight::from_ref_time(42_499_000 as u64)287 // Proof Size summary in bytes:288 // Measured: `527`289 // Estimated: `12611`290 // Minimum execution time: 30_713_000 picoseconds.291 Weight::from_parts(31_160_000, 12611)183 .saturating_add(T::DbWeight::get().reads(5 as u64))292 .saturating_add(T::DbWeight::get().reads(5_u64))184 .saturating_add(T::DbWeight::get().writes(6 as u64))293 .saturating_add(T::DbWeight::get().writes(6_u64))185 }294 }186 // Storage: Common CollectionPropertyPermissions (r:1 w:1)295 /// Storage: Common CollectionPropertyPermissions (r:1 w:1)296 /// Proof: Common CollectionPropertyPermissions (max_values: None, max_size: Some(16726), added: 19201, mode: MaxEncodedLen)297 /// The range of component `b` is `[0, 64]`.187 fn set_token_property_permissions(b: u32, ) -> Weight {298 fn set_token_property_permissions(b: u32, ) -> Weight {188 Weight::from_ref_time(5_317_000 as u64)299 // Proof Size summary in bytes:300 // Measured: `281`301 // Estimated: `19201`302 // Minimum execution time: 2_360_000 picoseconds.303 Weight::from_parts(2_396_000, 19201)189 // Standard Error: 42_045304 // Standard Error: 43_257190 .saturating_add(Weight::from_ref_time(12_179_871 as u64).saturating_mul(b as u64))305 .saturating_add(Weight::from_parts(12_085_808, 0).saturating_mul(b.into()))191 .saturating_add(T::DbWeight::get().reads(1 as u64))306 .saturating_add(T::DbWeight::get().reads(1_u64))192 .saturating_add(T::DbWeight::get().writes(1 as u64))307 .saturating_add(T::DbWeight::get().writes(1_u64))193 }308 }194 // Storage: Nonfungible TokenProperties (r:1 w:1)309 /// Storage: Nonfungible TokenProperties (r:1 w:1)195 // Storage: Common CollectionPropertyPermissions (r:1 w:0)310 /// Proof: Nonfungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)311 /// Storage: Common CollectionPropertyPermissions (r:1 w:0)312 /// Proof: Common CollectionPropertyPermissions (max_values: None, max_size: Some(16726), added: 19201, mode: MaxEncodedLen)313 /// The range of component `b` is `[0, 64]`.196 fn set_token_properties(b: u32, ) -> Weight {314 fn set_token_properties(b: u32, ) -> Weight {197 Weight::from_ref_time(15_428_000 as u64)315 // Proof Size summary in bytes:316 // Measured: `616 + b * (261 ±0)`317 // Estimated: `54480`318 // Minimum execution time: 12_543_000 picoseconds.319 Weight::from_parts(12_686_000, 54480)198 // Standard Error: 58_002320 // Standard Error: 52_286199 .saturating_add(Weight::from_ref_time(7_195_842 as u64).saturating_mul(b as u64))321 .saturating_add(Weight::from_parts(6_894_785, 0).saturating_mul(b.into()))200 .saturating_add(T::DbWeight::get().reads(2 as u64))322 .saturating_add(T::DbWeight::get().reads(2_u64))201 .saturating_add(T::DbWeight::get().writes(1 as u64))323 .saturating_add(T::DbWeight::get().writes(1_u64))202 }324 }203 // Storage: Nonfungible TokenProperties (r:1 w:1)325 /// Storage: Nonfungible TokenProperties (r:1 w:1)204 // Storage: Common CollectionPropertyPermissions (r:1 w:0)326 /// Proof: Nonfungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)327 /// Storage: Common CollectionPropertyPermissions (r:1 w:0)328 /// Proof: Common CollectionPropertyPermissions (max_values: None, max_size: Some(16726), added: 19201, mode: MaxEncodedLen)329 /// The range of component `b` is `[0, 64]`.205 fn delete_token_properties(b: u32, ) -> Weight {330 fn delete_token_properties(b: u32, ) -> Weight {206 Weight::from_ref_time(15_498_000 as u64)331 // Proof Size summary in bytes:332 // Measured: `653 + b * (33291 ±0)`333 // Estimated: `54480`334 // Minimum execution time: 12_352_000 picoseconds.335 Weight::from_parts(12_523_000, 54480)207 // Standard Error: 68_276336 // Standard Error: 70_401208 .saturating_add(Weight::from_ref_time(22_441_281 as u64).saturating_mul(b as u64))337 .saturating_add(Weight::from_parts(21_959_228, 0).saturating_mul(b.into()))209 .saturating_add(T::DbWeight::get().reads(2 as u64))338 .saturating_add(T::DbWeight::get().reads(2_u64))210 .saturating_add(T::DbWeight::get().writes(1 as u64))339 .saturating_add(T::DbWeight::get().writes(1_u64))211 }340 }212 // Storage: Nonfungible TokenData (r:1 w:0)341 /// Storage: Nonfungible TokenData (r:1 w:0)342 /// Proof: Nonfungible TokenData (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)213 fn token_owner() -> Weight {343 fn token_owner() -> Weight {214 Weight::from_ref_time(7_006_000 as u64)344 // Proof Size summary in bytes:345 // Measured: `358`346 // Estimated: `2532`347 // Minimum execution time: 4_797_000 picoseconds.348 Weight::from_parts(5_499_000, 2532)215 .saturating_add(T::DbWeight::get().reads(1 as u64))349 .saturating_add(T::DbWeight::get().reads(1_u64))216 }350 }217 // Storage: Nonfungible CollectionAllowance (r:0 w:1)351 /// Storage: Nonfungible CollectionAllowance (r:0 w:1)352 /// Proof: Nonfungible CollectionAllowance (max_values: None, max_size: Some(111), added: 2586, mode: MaxEncodedLen)218 fn set_allowance_for_all() -> Weight {353 fn set_allowance_for_all() -> Weight {219 Weight::from_ref_time(16_761_000 as u64)354 // Proof Size summary in bytes:355 // Measured: `0`356 // Estimated: `0`357 // Minimum execution time: 6_303_000 picoseconds.358 Weight::from_parts(6_712_000, 0)220 .saturating_add(T::DbWeight::get().writes(1 as u64))359 .saturating_add(T::DbWeight::get().writes(1_u64))221 }360 }222 // Storage: Nonfungible CollectionAllowance (r:1 w:0)361 /// Storage: Nonfungible CollectionAllowance (r:1 w:0)362 /// Proof: Nonfungible CollectionAllowance (max_values: None, max_size: Some(111), added: 2586, mode: MaxEncodedLen)223 fn allowance_for_all() -> Weight {363 fn allowance_for_all() -> Weight {224 Weight::from_ref_time(5_577_000 as u64)364 // Proof Size summary in bytes:365 // Measured: `109`366 // Estimated: `2586`367 // Minimum execution time: 3_798_000 picoseconds.368 Weight::from_parts(4_017_000, 2586)225 .saturating_add(T::DbWeight::get().reads(1 as u64))369 .saturating_add(T::DbWeight::get().reads(1_u64))226 }370 }227 // Storage: Nonfungible TokenProperties (r:1 w:1)371 /// Storage: Nonfungible TokenProperties (r:1 w:1)372 /// Proof: Nonfungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)228 fn repair_item() -> Weight {373 fn repair_item() -> Weight {229 Weight::from_ref_time(7_670_000 as u64)374 // Proof Size summary in bytes:375 // Measured: `300`376 // Estimated: `35279`377 // Minimum execution time: 5_531_000 picoseconds.378 Weight::from_parts(5_750_000, 35279)230 .saturating_add(T::DbWeight::get().reads(1 as u64))379 .saturating_add(T::DbWeight::get().reads(1_u64))231 .saturating_add(T::DbWeight::get().writes(1 as u64))380 .saturating_add(T::DbWeight::get().writes(1_u64))232 }381 }233}382}234383235// For backwards compatibility and tests384// For backwards compatibility and tests236impl WeightInfo for () {385impl WeightInfo for () {237 // Storage: Nonfungible TokensMinted (r:1 w:1)386 /// Storage: Nonfungible TokensMinted (r:1 w:1)238 // Storage: Nonfungible AccountBalance (r:1 w:1)387 /// Proof: Nonfungible TokensMinted (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)388 /// Storage: Nonfungible AccountBalance (r:1 w:1)239 // Storage: Nonfungible TokenProperties (r:1 w:1)389 /// Proof: Nonfungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)390 /// Storage: Nonfungible TokenProperties (r:1 w:1)240 // Storage: Common CollectionPropertyPermissions (r:1 w:0)391 /// Proof: Nonfungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)392 /// Storage: Common CollectionPropertyPermissions (r:1 w:0)241 // Storage: Nonfungible TokenData (r:0 w:1)393 /// Proof: Common CollectionPropertyPermissions (max_values: None, max_size: Some(16726), added: 19201, mode: MaxEncodedLen)394 /// Storage: Nonfungible TokenData (r:0 w:1)242 // Storage: Nonfungible Owned (r:0 w:1)395 /// Proof: Nonfungible TokenData (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)396 /// Storage: Nonfungible Owned (r:0 w:1)397 /// Proof: Nonfungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)243 fn create_item() -> Weight {398 fn create_item() -> Weight {244 Weight::from_ref_time(35_333_000 as u64)399 // Proof Size summary in bytes:400 // Measured: `390`401 // Estimated: `59511`402 // Minimum execution time: 23_081_000 picoseconds.403 Weight::from_parts(23_551_000, 59511)245 .saturating_add(RocksDbWeight::get().reads(4 as u64))404 .saturating_add(RocksDbWeight::get().reads(4_u64))246 .saturating_add(RocksDbWeight::get().writes(5 as u64))405 .saturating_add(RocksDbWeight::get().writes(5_u64))247 }406 }248 // Storage: Nonfungible TokensMinted (r:1 w:1)407 /// Storage: Nonfungible TokensMinted (r:1 w:1)249 // Storage: Nonfungible AccountBalance (r:1 w:1)408 /// Proof: Nonfungible TokensMinted (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)409 /// Storage: Nonfungible AccountBalance (r:1 w:1)250 // Storage: Nonfungible TokenProperties (r:4 w:4)410 /// Proof: Nonfungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)411 /// Storage: Nonfungible TokenProperties (r:200 w:200)251 // Storage: Common CollectionPropertyPermissions (r:1 w:0)412 /// Proof: Nonfungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)413 /// Storage: Common CollectionPropertyPermissions (r:1 w:0)252 // Storage: Nonfungible TokenData (r:0 w:4)414 /// Proof: Common CollectionPropertyPermissions (max_values: None, max_size: Some(16726), added: 19201, mode: MaxEncodedLen)415 /// Storage: Nonfungible TokenData (r:0 w:200)253 // Storage: Nonfungible Owned (r:0 w:4)416 /// Proof: Nonfungible TokenData (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)417 /// Storage: Nonfungible Owned (r:0 w:200)418 /// Proof: Nonfungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)419 /// The range of component `b` is `[0, 200]`.254 fn create_multiple_items(b: u32, ) -> Weight {420 fn create_multiple_items(b: u32, ) -> Weight {255 Weight::from_ref_time(19_091_371 as u64)421 // Proof Size summary in bytes:422 // Measured: `390`423 // Estimated: `24232 + b * (35279 ±0)`424 // Minimum execution time: 4_557_000 picoseconds.425 Weight::from_parts(5_994_058, 24232)256 // Standard Error: 3_221426 // Standard Error: 4_326257 .saturating_add(Weight::from_ref_time(7_304_849 as u64).saturating_mul(b as u64))427 .saturating_add(Weight::from_parts(7_369_489, 0).saturating_mul(b.into()))258 .saturating_add(RocksDbWeight::get().reads(3 as u64))428 .saturating_add(RocksDbWeight::get().reads(3_u64))259 .saturating_add(RocksDbWeight::get().reads((1 as u64).saturating_mul(b as u64)))429 .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(b.into())))260 .saturating_add(RocksDbWeight::get().writes(2 as u64))430 .saturating_add(RocksDbWeight::get().writes(2_u64))261 .saturating_add(RocksDbWeight::get().writes((3 as u64).saturating_mul(b as u64)))431 .saturating_add(RocksDbWeight::get().writes((3_u64).saturating_mul(b.into())))432 .saturating_add(Weight::from_parts(0, 35279).saturating_mul(b.into()))262 }433 }263 // Storage: Nonfungible TokensMinted (r:1 w:1)434 /// Storage: Nonfungible TokensMinted (r:1 w:1)264 // Storage: Nonfungible AccountBalance (r:4 w:4)435 /// Proof: Nonfungible TokensMinted (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)436 /// Storage: Nonfungible AccountBalance (r:200 w:200)265 // Storage: Nonfungible TokenProperties (r:4 w:4)437 /// Proof: Nonfungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)438 /// Storage: Nonfungible TokenProperties (r:200 w:200)266 // Storage: Common CollectionPropertyPermissions (r:1 w:0)439 /// Proof: Nonfungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)440 /// Storage: Common CollectionPropertyPermissions (r:1 w:0)267 // Storage: Nonfungible TokenData (r:0 w:4)441 /// Proof: Common CollectionPropertyPermissions (max_values: None, max_size: Some(16726), added: 19201, mode: MaxEncodedLen)442 /// Storage: Nonfungible TokenData (r:0 w:200)268 // Storage: Nonfungible Owned (r:0 w:4)443 /// Proof: Nonfungible TokenData (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)444 /// Storage: Nonfungible Owned (r:0 w:200)445 /// Proof: Nonfungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)446 /// The range of component `b` is `[0, 200]`.269 fn create_multiple_items_ex(b: u32, ) -> Weight {447 fn create_multiple_items_ex(b: u32, ) -> Weight {270 Weight::from_ref_time(12_655_339 as u64)448 // Proof Size summary in bytes:449 // Measured: `390`450 // Estimated: `21692 + b * (37819 ±0)`451 // Minimum execution time: 4_533_000 picoseconds.452 Weight::from_parts(2_822_660, 21692)271 // Standard Error: 3_655453 // Standard Error: 3_650272 .saturating_add(Weight::from_ref_time(9_051_919 as u64).saturating_mul(b as u64))454 .saturating_add(Weight::from_parts(9_100_706, 0).saturating_mul(b.into()))273 .saturating_add(RocksDbWeight::get().reads(2 as u64))455 .saturating_add(RocksDbWeight::get().reads(2_u64))274 .saturating_add(RocksDbWeight::get().reads((2 as u64).saturating_mul(b as u64)))456 .saturating_add(RocksDbWeight::get().reads((2_u64).saturating_mul(b.into())))275 .saturating_add(RocksDbWeight::get().writes(1 as u64))457 .saturating_add(RocksDbWeight::get().writes(1_u64))276 .saturating_add(RocksDbWeight::get().writes((4 as u64).saturating_mul(b as u64)))458 .saturating_add(RocksDbWeight::get().writes((4_u64).saturating_mul(b.into())))459 .saturating_add(Weight::from_parts(0, 37819).saturating_mul(b.into()))277 }460 }278 // Storage: Nonfungible TokenData (r:1 w:1)461 /// Storage: Nonfungible TokenData (r:1 w:1)279 // Storage: Nonfungible TokenChildren (r:1 w:0)462 /// Proof: Nonfungible TokenData (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)463 /// Storage: Nonfungible TokenChildren (r:1 w:0)280 // Storage: Nonfungible TokensBurnt (r:1 w:1)464 /// Proof: Nonfungible TokenChildren (max_values: None, max_size: Some(41), added: 2516, mode: MaxEncodedLen)465 /// Storage: Nonfungible TokensBurnt (r:1 w:1)281 // Storage: Nonfungible AccountBalance (r:1 w:1)466 /// Proof: Nonfungible TokensBurnt (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)467 /// Storage: Nonfungible AccountBalance (r:1 w:1)282 // Storage: Nonfungible Allowance (r:1 w:0)468 /// Proof: Nonfungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)469 /// Storage: Nonfungible Allowance (r:1 w:0)283 // Storage: Nonfungible Owned (r:0 w:1)470 /// Proof: Nonfungible Allowance (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)471 /// Storage: Nonfungible Owned (r:0 w:1)284 // Storage: Nonfungible TokenProperties (r:0 w:1)472 /// Proof: Nonfungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)473 /// Storage: Nonfungible TokenProperties (r:0 w:1)474 /// Proof: Nonfungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)285 fn burn_item() -> Weight {475 fn burn_item() -> Weight {286 Weight::from_ref_time(34_068_000 as u64)476 // Proof Size summary in bytes:477 // Measured: `412`478 // Estimated: `12611`479 // Minimum execution time: 23_528_000 picoseconds.480 Weight::from_parts(24_680_000, 12611)287 .saturating_add(RocksDbWeight::get().reads(5 as u64))481 .saturating_add(RocksDbWeight::get().reads(5_u64))288 .saturating_add(RocksDbWeight::get().writes(5 as u64))482 .saturating_add(RocksDbWeight::get().writes(5_u64))289 }483 }290 // Storage: Nonfungible TokenChildren (r:1 w:0)484 /// Storage: Nonfungible TokenChildren (r:1 w:0)291 // Storage: Nonfungible TokenData (r:1 w:1)485 /// Proof: Nonfungible TokenChildren (max_values: None, max_size: Some(41), added: 2516, mode: MaxEncodedLen)486 /// Storage: Nonfungible TokenData (r:1 w:1)292 // Storage: Nonfungible TokensBurnt (r:1 w:1)487 /// Proof: Nonfungible TokenData (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)488 /// Storage: Nonfungible TokensBurnt (r:1 w:1)293 // Storage: Nonfungible AccountBalance (r:1 w:1)489 /// Proof: Nonfungible TokensBurnt (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)490 /// Storage: Nonfungible AccountBalance (r:1 w:1)294 // Storage: Nonfungible Allowance (r:1 w:0)491 /// Proof: Nonfungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)492 /// Storage: Nonfungible Allowance (r:1 w:0)295 // Storage: Nonfungible Owned (r:0 w:1)493 /// Proof: Nonfungible Allowance (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)494 /// Storage: Nonfungible Owned (r:0 w:1)296 // Storage: Nonfungible TokenProperties (r:0 w:1)495 /// Proof: Nonfungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)496 /// Storage: Nonfungible TokenProperties (r:0 w:1)497 /// Proof: Nonfungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)297 fn burn_recursively_self_raw() -> Weight {498 fn burn_recursively_self_raw() -> Weight {298 Weight::from_ref_time(44_840_000 as u64)499 // Proof Size summary in bytes:500 // Measured: `412`501 // Estimated: `12611`502 // Minimum execution time: 29_770_000 picoseconds.503 Weight::from_parts(30_114_000, 12611)299 .saturating_add(RocksDbWeight::get().reads(5 as u64))504 .saturating_add(RocksDbWeight::get().reads(5_u64))300 .saturating_add(RocksDbWeight::get().writes(5 as u64))505 .saturating_add(RocksDbWeight::get().writes(5_u64))301 }506 }302 // Storage: Nonfungible TokenChildren (r:1 w:0)507 /// Storage: Nonfungible TokenChildren (r:401 w:200)508 /// Proof: Nonfungible TokenChildren (max_values: None, max_size: Some(41), added: 2516, mode: MaxEncodedLen)509 /// Storage: Common CollectionById (r:1 w:0)303 // Storage: Nonfungible TokenData (r:1 w:1)510 /// Proof: Common CollectionById (max_values: None, max_size: Some(860), added: 3335, mode: MaxEncodedLen)511 /// Storage: Nonfungible TokenData (r:201 w:201)304 // Storage: Nonfungible TokensBurnt (r:1 w:1)512 /// Proof: Nonfungible TokenData (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)513 /// Storage: Nonfungible TokensBurnt (r:1 w:1)305 // Storage: Nonfungible AccountBalance (r:1 w:1)514 /// Proof: Nonfungible TokensBurnt (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)515 /// Storage: Nonfungible AccountBalance (r:2 w:2)306 // Storage: Nonfungible Allowance (r:1 w:0)516 /// Proof: Nonfungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)517 /// Storage: Nonfungible Allowance (r:201 w:0)307 // Storage: Nonfungible Owned (r:0 w:1)518 /// Proof: Nonfungible Allowance (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)519 /// Storage: Nonfungible Owned (r:0 w:201)308 // Storage: Nonfungible TokenProperties (r:0 w:1)520 /// Proof: Nonfungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)521 /// Storage: Nonfungible TokenProperties (r:0 w:201)309 // Storage: Common CollectionById (r:1 w:0)522 /// Proof: Nonfungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)523 /// The range of component `b` is `[0, 200]`.310 fn burn_recursively_breadth_plus_self_plus_self_per_each_raw(b: u32, ) -> Weight {524 fn burn_recursively_breadth_plus_self_plus_self_per_each_raw(b: u32, ) -> Weight {311 Weight::from_ref_time(44_567_000 as u64)525 // Proof Size summary in bytes:526 // Measured: `1530 + b * (58 ±0)`527 // Estimated: `18290 + b * (10097 ±0)`312 // Standard Error: 1_014_743528 // Minimum execution time: 31_413_000 picoseconds.529 Weight::from_parts(31_865_000, 18290)530 // Standard Error: 980_032313 .saturating_add(Weight::from_ref_time(209_619_240 as u64).saturating_mul(b as u64))531 .saturating_add(Weight::from_parts(205_236_443, 0).saturating_mul(b.into()))314 .saturating_add(RocksDbWeight::get().reads(7 as u64))532 .saturating_add(RocksDbWeight::get().reads(7_u64))315 .saturating_add(RocksDbWeight::get().reads((4 as u64).saturating_mul(b as u64)))533 .saturating_add(RocksDbWeight::get().reads((4_u64).saturating_mul(b.into())))316 .saturating_add(RocksDbWeight::get().writes(6 as u64))534 .saturating_add(RocksDbWeight::get().writes(6_u64))317 .saturating_add(RocksDbWeight::get().writes((4 as u64).saturating_mul(b as u64)))535 .saturating_add(RocksDbWeight::get().writes((4_u64).saturating_mul(b.into())))536 .saturating_add(Weight::from_parts(0, 10097).saturating_mul(b.into()))318 }537 }319 // Storage: Nonfungible TokenData (r:1 w:1)538 /// Storage: Nonfungible TokenData (r:1 w:1)320 // Storage: Nonfungible AccountBalance (r:2 w:2)539 /// Proof: Nonfungible TokenData (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)540 /// Storage: Nonfungible AccountBalance (r:2 w:2)321 // Storage: Nonfungible Allowance (r:1 w:0)541 /// Proof: Nonfungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)542 /// Storage: Nonfungible Allowance (r:1 w:0)322 // Storage: Nonfungible Owned (r:0 w:2)543 /// Proof: Nonfungible Allowance (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)544 /// Storage: Nonfungible Owned (r:0 w:2)545 /// Proof: Nonfungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)323 fn transfer() -> Weight {546 fn transfer() -> Weight {324 Weight::from_ref_time(29_508_000 as u64)547 // Proof Size summary in bytes:548 // Measured: `412`549 // Estimated: `10144`550 // Minimum execution time: 18_629_000 picoseconds.551 Weight::from_parts(18_997_000, 10144)325 .saturating_add(RocksDbWeight::get().reads(4 as u64))552 .saturating_add(RocksDbWeight::get().reads(4_u64))326 .saturating_add(RocksDbWeight::get().writes(5 as u64))553 .saturating_add(RocksDbWeight::get().writes(5_u64))327 }554 }328 // Storage: Nonfungible TokenData (r:1 w:0)555 /// Storage: Nonfungible TokenData (r:1 w:0)329 // Storage: Nonfungible Allowance (r:1 w:1)556 /// Proof: Nonfungible TokenData (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)557 /// Storage: Nonfungible Allowance (r:1 w:1)558 /// Proof: Nonfungible Allowance (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)330 fn approve() -> Weight {559 fn approve() -> Weight {331 Weight::from_ref_time(22_168_000 as u64)560 // Proof Size summary in bytes:561 // Measured: `358`562 // Estimated: `5064`563 // Minimum execution time: 11_507_000 picoseconds.564 Weight::from_parts(11_771_000, 5064)332 .saturating_add(RocksDbWeight::get().reads(2 as u64))565 .saturating_add(RocksDbWeight::get().reads(2_u64))333 .saturating_add(RocksDbWeight::get().writes(1 as u64))566 .saturating_add(RocksDbWeight::get().writes(1_u64))334 }567 }335 // Storage: Nonfungible TokenData (r:1 w:0)568 /// Storage: Nonfungible TokenData (r:1 w:0)336 // Storage: Nonfungible Allowance (r:1 w:1)569 /// Proof: Nonfungible TokenData (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)570 /// Storage: Nonfungible Allowance (r:1 w:1)571 /// Proof: Nonfungible Allowance (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)337 fn approve_from() -> Weight {572 fn approve_from() -> Weight {338 Weight::from_ref_time(22_063_000 as u64)573 // Proof Size summary in bytes:574 // Measured: `313`575 // Estimated: `5064`576 // Minimum execution time: 11_558_000 picoseconds.577 Weight::from_parts(11_789_000, 5064)339 .saturating_add(RocksDbWeight::get().reads(2 as u64))578 .saturating_add(RocksDbWeight::get().reads(2_u64))340 .saturating_add(RocksDbWeight::get().writes(1 as u64))579 .saturating_add(RocksDbWeight::get().writes(1_u64))341 }580 }342 // Storage: Nonfungible Allowance (r:1 w:1)581 /// Storage: Nonfungible Allowance (r:1 w:1)343 // Storage: Nonfungible TokenData (r:1 w:1)582 /// Proof: Nonfungible Allowance (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)583 /// Storage: Nonfungible TokenData (r:1 w:1)344 // Storage: Nonfungible AccountBalance (r:2 w:2)584 /// Proof: Nonfungible TokenData (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)585 /// Storage: Nonfungible AccountBalance (r:2 w:2)345 // Storage: Nonfungible Owned (r:0 w:2)586 /// Proof: Nonfungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)587 /// Storage: Nonfungible Owned (r:0 w:2)588 /// Proof: Nonfungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)346 fn transfer_from() -> Weight {589 fn transfer_from() -> Weight {347 Weight::from_ref_time(36_386_000 as u64)590 // Proof Size summary in bytes:591 // Measured: `527`592 // Estimated: `10144`593 // Minimum execution time: 24_919_000 picoseconds.594 Weight::from_parts(25_333_000, 10144)348 .saturating_add(RocksDbWeight::get().reads(4 as u64))595 .saturating_add(RocksDbWeight::get().reads(4_u64))349 .saturating_add(RocksDbWeight::get().writes(6 as u64))596 .saturating_add(RocksDbWeight::get().writes(6_u64))350 }597 }351 // Storage: Nonfungible Allowance (r:1 w:1)598 /// Storage: Nonfungible Allowance (r:1 w:1)352 // Storage: Nonfungible TokenData (r:1 w:1)599 /// Proof: Nonfungible Allowance (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)600 /// Storage: Nonfungible TokenData (r:1 w:1)353 // Storage: Nonfungible TokenChildren (r:1 w:0)601 /// Proof: Nonfungible TokenData (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)602 /// Storage: Nonfungible TokenChildren (r:1 w:0)354 // Storage: Nonfungible TokensBurnt (r:1 w:1)603 /// Proof: Nonfungible TokenChildren (max_values: None, max_size: Some(41), added: 2516, mode: MaxEncodedLen)604 /// Storage: Nonfungible TokensBurnt (r:1 w:1)355 // Storage: Nonfungible AccountBalance (r:1 w:1)605 /// Proof: Nonfungible TokensBurnt (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)606 /// Storage: Nonfungible AccountBalance (r:1 w:1)356 // Storage: Nonfungible Owned (r:0 w:1)607 /// Proof: Nonfungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)608 /// Storage: Nonfungible Owned (r:0 w:1)357 // Storage: Nonfungible TokenProperties (r:0 w:1)609 /// Proof: Nonfungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)610 /// Storage: Nonfungible TokenProperties (r:0 w:1)611 /// Proof: Nonfungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)358 fn burn_from() -> Weight {612 fn burn_from() -> Weight {359 Weight::from_ref_time(42_499_000 as u64)613 // Proof Size summary in bytes:614 // Measured: `527`615 // Estimated: `12611`616 // Minimum execution time: 30_713_000 picoseconds.617 Weight::from_parts(31_160_000, 12611)360 .saturating_add(RocksDbWeight::get().reads(5 as u64))618 .saturating_add(RocksDbWeight::get().reads(5_u64))361 .saturating_add(RocksDbWeight::get().writes(6 as u64))619 .saturating_add(RocksDbWeight::get().writes(6_u64))362 }620 }363 // Storage: Common CollectionPropertyPermissions (r:1 w:1)621 /// Storage: Common CollectionPropertyPermissions (r:1 w:1)622 /// Proof: Common CollectionPropertyPermissions (max_values: None, max_size: Some(16726), added: 19201, mode: MaxEncodedLen)623 /// The range of component `b` is `[0, 64]`.364 fn set_token_property_permissions(b: u32, ) -> Weight {624 fn set_token_property_permissions(b: u32, ) -> Weight {365 Weight::from_ref_time(5_317_000 as u64)625 // Proof Size summary in bytes:626 // Measured: `281`627 // Estimated: `19201`628 // Minimum execution time: 2_360_000 picoseconds.629 Weight::from_parts(2_396_000, 19201)366 // Standard Error: 42_045630 // Standard Error: 43_257367 .saturating_add(Weight::from_ref_time(12_179_871 as u64).saturating_mul(b as u64))631 .saturating_add(Weight::from_parts(12_085_808, 0).saturating_mul(b.into()))368 .saturating_add(RocksDbWeight::get().reads(1 as u64))632 .saturating_add(RocksDbWeight::get().reads(1_u64))369 .saturating_add(RocksDbWeight::get().writes(1 as u64))633 .saturating_add(RocksDbWeight::get().writes(1_u64))370 }634 }371 // Storage: Nonfungible TokenProperties (r:1 w:1)635 /// Storage: Nonfungible TokenProperties (r:1 w:1)372 // Storage: Common CollectionPropertyPermissions (r:1 w:0)636 /// Proof: Nonfungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)637 /// Storage: Common CollectionPropertyPermissions (r:1 w:0)638 /// Proof: Common CollectionPropertyPermissions (max_values: None, max_size: Some(16726), added: 19201, mode: MaxEncodedLen)639 /// The range of component `b` is `[0, 64]`.373 fn set_token_properties(b: u32, ) -> Weight {640 fn set_token_properties(b: u32, ) -> Weight {374 Weight::from_ref_time(15_428_000 as u64)641 // Proof Size summary in bytes:642 // Measured: `616 + b * (261 ±0)`643 // Estimated: `54480`644 // Minimum execution time: 12_543_000 picoseconds.645 Weight::from_parts(12_686_000, 54480)375 // Standard Error: 58_002646 // Standard Error: 52_286376 .saturating_add(Weight::from_ref_time(7_195_842 as u64).saturating_mul(b as u64))647 .saturating_add(Weight::from_parts(6_894_785, 0).saturating_mul(b.into()))377 .saturating_add(RocksDbWeight::get().reads(2 as u64))648 .saturating_add(RocksDbWeight::get().reads(2_u64))378 .saturating_add(RocksDbWeight::get().writes(1 as u64))649 .saturating_add(RocksDbWeight::get().writes(1_u64))379 }650 }380 // Storage: Nonfungible TokenProperties (r:1 w:1)651 /// Storage: Nonfungible TokenProperties (r:1 w:1)381 // Storage: Common CollectionPropertyPermissions (r:1 w:0)652 /// Proof: Nonfungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)653 /// Storage: Common CollectionPropertyPermissions (r:1 w:0)654 /// Proof: Common CollectionPropertyPermissions (max_values: None, max_size: Some(16726), added: 19201, mode: MaxEncodedLen)655 /// The range of component `b` is `[0, 64]`.382 fn delete_token_properties(b: u32, ) -> Weight {656 fn delete_token_properties(b: u32, ) -> Weight {383 Weight::from_ref_time(15_498_000 as u64)657 // Proof Size summary in bytes:658 // Measured: `653 + b * (33291 ±0)`659 // Estimated: `54480`660 // Minimum execution time: 12_352_000 picoseconds.661 Weight::from_parts(12_523_000, 54480)384 // Standard Error: 68_276662 // Standard Error: 70_401385 .saturating_add(Weight::from_ref_time(22_441_281 as u64).saturating_mul(b as u64))663 .saturating_add(Weight::from_parts(21_959_228, 0).saturating_mul(b.into()))386 .saturating_add(RocksDbWeight::get().reads(2 as u64))664 .saturating_add(RocksDbWeight::get().reads(2_u64))387 .saturating_add(RocksDbWeight::get().writes(1 as u64))665 .saturating_add(RocksDbWeight::get().writes(1_u64))388 }666 }389 // Storage: Nonfungible TokenData (r:1 w:0)667 /// Storage: Nonfungible TokenData (r:1 w:0)668 /// Proof: Nonfungible TokenData (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)390 fn token_owner() -> Weight {669 fn token_owner() -> Weight {391 Weight::from_ref_time(7_006_000 as u64)670 // Proof Size summary in bytes:671 // Measured: `358`672 // Estimated: `2532`673 // Minimum execution time: 4_797_000 picoseconds.674 Weight::from_parts(5_499_000, 2532)392 .saturating_add(RocksDbWeight::get().reads(1 as u64))675 .saturating_add(RocksDbWeight::get().reads(1_u64))393 }676 }394 // Storage: Nonfungible CollectionAllowance (r:0 w:1)677 /// Storage: Nonfungible CollectionAllowance (r:0 w:1)678 /// Proof: Nonfungible CollectionAllowance (max_values: None, max_size: Some(111), added: 2586, mode: MaxEncodedLen)395 fn set_allowance_for_all() -> Weight {679 fn set_allowance_for_all() -> Weight {396 Weight::from_ref_time(16_761_000 as u64)680 // Proof Size summary in bytes:681 // Measured: `0`682 // Estimated: `0`683 // Minimum execution time: 6_303_000 picoseconds.684 Weight::from_parts(6_712_000, 0)397 .saturating_add(RocksDbWeight::get().writes(1 as u64))685 .saturating_add(RocksDbWeight::get().writes(1_u64))398 }686 }399 // Storage: Nonfungible CollectionAllowance (r:1 w:0)687 /// Storage: Nonfungible CollectionAllowance (r:1 w:0)688 /// Proof: Nonfungible CollectionAllowance (max_values: None, max_size: Some(111), added: 2586, mode: MaxEncodedLen)400 fn allowance_for_all() -> Weight {689 fn allowance_for_all() -> Weight {401 Weight::from_ref_time(5_577_000 as u64)690 // Proof Size summary in bytes:691 // Measured: `109`692 // Estimated: `2586`693 // Minimum execution time: 3_798_000 picoseconds.694 Weight::from_parts(4_017_000, 2586)402 .saturating_add(RocksDbWeight::get().reads(1 as u64))695 .saturating_add(RocksDbWeight::get().reads(1_u64))403 }696 }404 // Storage: Nonfungible TokenProperties (r:1 w:1)697 /// Storage: Nonfungible TokenProperties (r:1 w:1)698 /// Proof: Nonfungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)405 fn repair_item() -> Weight {699 fn repair_item() -> Weight {406 Weight::from_ref_time(7_670_000 as u64)700 // Proof Size summary in bytes:701 // Measured: `300`702 // Estimated: `35279`703 // Minimum execution time: 5_531_000 picoseconds.704 Weight::from_parts(5_750_000, 35279)407 .saturating_add(RocksDbWeight::get().reads(1 as u64))705 .saturating_add(RocksDbWeight::get().reads(1_u64))408 .saturating_add(RocksDbWeight::get().writes(1 as u64))706 .saturating_add(RocksDbWeight::get().writes(1_u64))409 }707 }410}708}709411710pallets/refungible/src/weights.rsdiffbeforeafterboth--- a/pallets/refungible/src/weights.rs
+++ b/pallets/refungible/src/weights.rs
@@ -3,7 +3,8 @@
//! Autogenerated weights for pallet_refungible
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
-//! DATE: 2023-02-15, STEPS: `50`, REPEAT: 80, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! DATE: 2023-03-30, STEPS: `50`, REPEAT: 80, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! WORST CASE MAP SIZE: `1000000`
//! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024
// Executed Command:
@@ -16,8 +17,7 @@
// compiled
// --extrinsic
// *
-// --template
-// .maintain/frame-weight-template.hbs
+// --template=.maintain/frame-weight-template.hbs
// --steps=50
// --repeat=80
// --heap-pages=4096
@@ -64,472 +64,875 @@
/// Weights for pallet_refungible using the Substrate node and recommended hardware.
pub struct SubstrateWeight<T>(PhantomData<T>);
impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
- // Storage: Refungible TokensMinted (r:1 w:1)
- // Storage: Refungible AccountBalance (r:1 w:1)
- // Storage: Refungible TokenProperties (r:1 w:1)
- // Storage: Common CollectionPropertyPermissions (r:1 w:0)
- // Storage: Refungible Balance (r:0 w:1)
- // Storage: Refungible TotalSupply (r:0 w:1)
- // Storage: Refungible Owned (r:0 w:1)
+ /// Storage: Refungible TokensMinted (r:1 w:1)
+ /// Proof: Refungible TokensMinted (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)
+ /// Storage: Refungible AccountBalance (r:1 w:1)
+ /// Proof: Refungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)
+ /// Storage: Refungible TokenProperties (r:1 w:1)
+ /// Proof: Refungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)
+ /// Storage: Common CollectionPropertyPermissions (r:1 w:0)
+ /// Proof: Common CollectionPropertyPermissions (max_values: None, max_size: Some(16726), added: 19201, mode: MaxEncodedLen)
+ /// Storage: Refungible Balance (r:0 w:1)
+ /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)
+ /// Storage: Refungible TotalSupply (r:0 w:1)
+ /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)
+ /// Storage: Refungible Owned (r:0 w:1)
+ /// Proof: Refungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)
fn create_item() -> Weight {
- Weight::from_ref_time(39_971_000 as u64)
- .saturating_add(T::DbWeight::get().reads(4 as u64))
- .saturating_add(T::DbWeight::get().writes(6 as u64))
+ // Proof Size summary in bytes:
+ // Measured: `285`
+ // Estimated: `59511`
+ // Minimum execution time: 25_287_000 picoseconds.
+ Weight::from_parts(25_741_000, 59511)
+ .saturating_add(T::DbWeight::get().reads(4_u64))
+ .saturating_add(T::DbWeight::get().writes(6_u64))
}
- // Storage: Refungible TokensMinted (r:1 w:1)
- // Storage: Refungible AccountBalance (r:1 w:1)
- // Storage: Refungible TokenProperties (r:4 w:4)
- // Storage: Common CollectionPropertyPermissions (r:1 w:0)
- // Storage: Refungible Balance (r:0 w:4)
- // Storage: Refungible TotalSupply (r:0 w:4)
- // Storage: Refungible Owned (r:0 w:4)
+ /// Storage: Refungible TokensMinted (r:1 w:1)
+ /// Proof: Refungible TokensMinted (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)
+ /// Storage: Refungible AccountBalance (r:1 w:1)
+ /// Proof: Refungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)
+ /// Storage: Refungible TokenProperties (r:200 w:200)
+ /// Proof: Refungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)
+ /// Storage: Common CollectionPropertyPermissions (r:1 w:0)
+ /// Proof: Common CollectionPropertyPermissions (max_values: None, max_size: Some(16726), added: 19201, mode: MaxEncodedLen)
+ /// Storage: Refungible Balance (r:0 w:200)
+ /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)
+ /// Storage: Refungible TotalSupply (r:0 w:200)
+ /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)
+ /// Storage: Refungible Owned (r:0 w:200)
+ /// Proof: Refungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)
+ /// The range of component `b` is `[0, 200]`.
fn create_multiple_items(b: u32, ) -> Weight {
- Weight::from_ref_time(14_049_866 as u64)
- // Standard Error: 4_015
- .saturating_add(Weight::from_ref_time(8_984_911 as u64).saturating_mul(b as u64))
- .saturating_add(T::DbWeight::get().reads(3 as u64))
- .saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(b as u64)))
- .saturating_add(T::DbWeight::get().writes(2 as u64))
- .saturating_add(T::DbWeight::get().writes((4 as u64).saturating_mul(b as u64)))
+ // Proof Size summary in bytes:
+ // Measured: `285`
+ // Estimated: `24232 + b * (35279 ±0)`
+ // Minimum execution time: 4_618_000 picoseconds.
+ Weight::from_parts(1_425_218, 24232)
+ // Standard Error: 4_343
+ .saturating_add(Weight::from_parts(9_154_733, 0).saturating_mul(b.into()))
+ .saturating_add(T::DbWeight::get().reads(3_u64))
+ .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(b.into())))
+ .saturating_add(T::DbWeight::get().writes(2_u64))
+ .saturating_add(T::DbWeight::get().writes((4_u64).saturating_mul(b.into())))
+ .saturating_add(Weight::from_parts(0, 35279).saturating_mul(b.into()))
}
- // Storage: Refungible TokensMinted (r:1 w:1)
- // Storage: Refungible AccountBalance (r:4 w:4)
- // Storage: Refungible TokenProperties (r:4 w:4)
- // Storage: Common CollectionPropertyPermissions (r:1 w:0)
- // Storage: Refungible Balance (r:0 w:4)
- // Storage: Refungible TotalSupply (r:0 w:4)
- // Storage: Refungible Owned (r:0 w:4)
+ /// Storage: Refungible TokensMinted (r:1 w:1)
+ /// Proof: Refungible TokensMinted (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)
+ /// Storage: Refungible AccountBalance (r:200 w:200)
+ /// Proof: Refungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)
+ /// Storage: Refungible TokenProperties (r:200 w:200)
+ /// Proof: Refungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)
+ /// Storage: Common CollectionPropertyPermissions (r:1 w:0)
+ /// Proof: Common CollectionPropertyPermissions (max_values: None, max_size: Some(16726), added: 19201, mode: MaxEncodedLen)
+ /// Storage: Refungible Balance (r:0 w:200)
+ /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)
+ /// Storage: Refungible TotalSupply (r:0 w:200)
+ /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)
+ /// Storage: Refungible Owned (r:0 w:200)
+ /// Proof: Refungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)
+ /// The range of component `b` is `[0, 200]`.
fn create_multiple_items_ex_multiple_items(b: u32, ) -> Weight {
- Weight::from_ref_time(14_893_679 as u64)
- // Standard Error: 3_571
- .saturating_add(Weight::from_ref_time(10_611_135 as u64).saturating_mul(b as u64))
- .saturating_add(T::DbWeight::get().reads(2 as u64))
- .saturating_add(T::DbWeight::get().reads((2 as u64).saturating_mul(b as u64)))
- .saturating_add(T::DbWeight::get().writes(1 as u64))
- .saturating_add(T::DbWeight::get().writes((5 as u64).saturating_mul(b as u64)))
+ // Proof Size summary in bytes:
+ // Measured: `285`
+ // Estimated: `21692 + b * (37819 ±0)`
+ // Minimum execution time: 4_063_000 picoseconds.
+ Weight::from_parts(4_160_000, 21692)
+ // Standard Error: 2_386
+ .saturating_add(Weight::from_parts(10_836_802, 0).saturating_mul(b.into()))
+ .saturating_add(T::DbWeight::get().reads(2_u64))
+ .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(b.into())))
+ .saturating_add(T::DbWeight::get().writes(1_u64))
+ .saturating_add(T::DbWeight::get().writes((5_u64).saturating_mul(b.into())))
+ .saturating_add(Weight::from_parts(0, 37819).saturating_mul(b.into()))
}
- // Storage: Refungible TokensMinted (r:1 w:1)
- // Storage: Refungible TokenProperties (r:1 w:1)
- // Storage: Common CollectionPropertyPermissions (r:1 w:0)
- // Storage: Refungible TotalSupply (r:0 w:1)
- // Storage: Refungible AccountBalance (r:4 w:4)
- // Storage: Refungible Balance (r:0 w:4)
- // Storage: Refungible Owned (r:0 w:4)
+ /// Storage: Refungible TokensMinted (r:1 w:1)
+ /// Proof: Refungible TokensMinted (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)
+ /// Storage: Refungible AccountBalance (r:200 w:200)
+ /// Proof: Refungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)
+ /// Storage: Refungible TokenProperties (r:1 w:1)
+ /// Proof: Refungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)
+ /// Storage: Common CollectionPropertyPermissions (r:1 w:0)
+ /// Proof: Common CollectionPropertyPermissions (max_values: None, max_size: Some(16726), added: 19201, mode: MaxEncodedLen)
+ /// Storage: Refungible Balance (r:0 w:200)
+ /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)
+ /// Storage: Refungible TotalSupply (r:0 w:1)
+ /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)
+ /// Storage: Refungible Owned (r:0 w:200)
+ /// Proof: Refungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)
+ /// The range of component `b` is `[0, 200]`.
fn create_multiple_items_ex_multiple_owners(b: u32, ) -> Weight {
- Weight::from_ref_time(31_075_923 as u64)
- // Standard Error: 2_118
- .saturating_add(Weight::from_ref_time(5_829_866 as u64).saturating_mul(b as u64))
- .saturating_add(T::DbWeight::get().reads(3 as u64))
- .saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(b as u64)))
- .saturating_add(T::DbWeight::get().writes(3 as u64))
- .saturating_add(T::DbWeight::get().writes((3 as u64).saturating_mul(b as u64)))
+ // Proof Size summary in bytes:
+ // Measured: `285`
+ // Estimated: `56971 + b * (2540 ±0)`
+ // Minimum execution time: 14_637_000 picoseconds.
+ Weight::from_parts(19_042_423, 56971)
+ // Standard Error: 1_632
+ .saturating_add(Weight::from_parts(5_976_694, 0).saturating_mul(b.into()))
+ .saturating_add(T::DbWeight::get().reads(3_u64))
+ .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(b.into())))
+ .saturating_add(T::DbWeight::get().writes(3_u64))
+ .saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(b.into())))
+ .saturating_add(Weight::from_parts(0, 2540).saturating_mul(b.into()))
}
- // Storage: Refungible Balance (r:3 w:1)
- // Storage: Refungible TotalSupply (r:1 w:1)
- // Storage: Refungible AccountBalance (r:1 w:1)
- // Storage: Refungible Owned (r:0 w:1)
+ /// Storage: Refungible Balance (r:3 w:1)
+ /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)
+ /// Storage: Refungible TotalSupply (r:1 w:1)
+ /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)
+ /// Storage: Refungible AccountBalance (r:1 w:1)
+ /// Proof: Refungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)
+ /// Storage: Refungible Owned (r:0 w:1)
+ /// Proof: Refungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)
fn burn_item_partial() -> Weight {
- Weight::from_ref_time(47_369_000 as u64)
- .saturating_add(T::DbWeight::get().reads(5 as u64))
- .saturating_add(T::DbWeight::get().writes(4 as u64))
+ // Proof Size summary in bytes:
+ // Measured: `490`
+ // Estimated: `12747`
+ // Minimum execution time: 35_018_000 picoseconds.
+ Weight::from_parts(35_596_000, 12747)
+ .saturating_add(T::DbWeight::get().reads(5_u64))
+ .saturating_add(T::DbWeight::get().writes(4_u64))
}
- // Storage: Refungible Balance (r:1 w:1)
- // Storage: Refungible TotalSupply (r:1 w:1)
- // Storage: Refungible AccountBalance (r:1 w:1)
- // Storage: Refungible TokensBurnt (r:1 w:1)
- // Storage: Refungible Owned (r:0 w:1)
- // Storage: Refungible TokenProperties (r:0 w:1)
+ /// Storage: Refungible Balance (r:1 w:1)
+ /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)
+ /// Storage: Refungible TotalSupply (r:1 w:1)
+ /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)
+ /// Storage: Refungible AccountBalance (r:1 w:1)
+ /// Proof: Refungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)
+ /// Storage: Refungible TokensBurnt (r:1 w:1)
+ /// Proof: Refungible TokensBurnt (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)
+ /// Storage: Refungible Owned (r:0 w:1)
+ /// Proof: Refungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)
+ /// Storage: Refungible TokenProperties (r:0 w:1)
+ /// Proof: Refungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)
fn burn_item_fully() -> Weight {
- Weight::from_ref_time(41_351_000 as u64)
- .saturating_add(T::DbWeight::get().reads(4 as u64))
- .saturating_add(T::DbWeight::get().writes(6 as u64))
+ // Proof Size summary in bytes:
+ // Measured: `375`
+ // Estimated: `10110`
+ // Minimum execution time: 30_441_000 picoseconds.
+ Weight::from_parts(31_000_000, 10110)
+ .saturating_add(T::DbWeight::get().reads(4_u64))
+ .saturating_add(T::DbWeight::get().writes(6_u64))
}
- // Storage: Refungible Balance (r:2 w:2)
- // Storage: Refungible TotalSupply (r:1 w:0)
+ /// Storage: Refungible Balance (r:2 w:2)
+ /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)
+ /// Storage: Refungible TotalSupply (r:1 w:0)
+ /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)
fn transfer_normal() -> Weight {
- Weight::from_ref_time(31_379_000 as u64)
- .saturating_add(T::DbWeight::get().reads(3 as u64))
- .saturating_add(T::DbWeight::get().writes(2 as u64))
+ // Proof Size summary in bytes:
+ // Measured: `398`
+ // Estimated: `7643`
+ // Minimum execution time: 20_055_000 picoseconds.
+ Weight::from_parts(20_533_000, 7643)
+ .saturating_add(T::DbWeight::get().reads(3_u64))
+ .saturating_add(T::DbWeight::get().writes(2_u64))
}
- // Storage: Refungible Balance (r:2 w:2)
- // Storage: Refungible AccountBalance (r:1 w:1)
- // Storage: Refungible TotalSupply (r:1 w:0)
- // Storage: Refungible Owned (r:0 w:1)
+ /// Storage: Refungible Balance (r:2 w:2)
+ /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)
+ /// Storage: Refungible AccountBalance (r:1 w:1)
+ /// Proof: Refungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)
+ /// Storage: Refungible TotalSupply (r:1 w:0)
+ /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)
+ /// Storage: Refungible Owned (r:0 w:1)
+ /// Proof: Refungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)
fn transfer_creating() -> Weight {
- Weight::from_ref_time(34_829_000 as u64)
- .saturating_add(T::DbWeight::get().reads(4 as u64))
- .saturating_add(T::DbWeight::get().writes(4 as u64))
+ // Proof Size summary in bytes:
+ // Measured: `375`
+ // Estimated: `10183`
+ // Minimum execution time: 23_443_000 picoseconds.
+ Weight::from_parts(23_791_000, 10183)
+ .saturating_add(T::DbWeight::get().reads(4_u64))
+ .saturating_add(T::DbWeight::get().writes(4_u64))
}
- // Storage: Refungible Balance (r:2 w:2)
- // Storage: Refungible AccountBalance (r:1 w:1)
- // Storage: Refungible TotalSupply (r:1 w:0)
- // Storage: Refungible Owned (r:0 w:1)
+ /// Storage: Refungible Balance (r:2 w:2)
+ /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)
+ /// Storage: Refungible AccountBalance (r:1 w:1)
+ /// Proof: Refungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)
+ /// Storage: Refungible TotalSupply (r:1 w:0)
+ /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)
+ /// Storage: Refungible Owned (r:0 w:1)
+ /// Proof: Refungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)
fn transfer_removing() -> Weight {
- Weight::from_ref_time(38_221_000 as u64)
- .saturating_add(T::DbWeight::get().reads(4 as u64))
- .saturating_add(T::DbWeight::get().writes(4 as u64))
+ // Proof Size summary in bytes:
+ // Measured: `490`
+ // Estimated: `10183`
+ // Minimum execution time: 26_489_000 picoseconds.
+ Weight::from_parts(27_103_000, 10183)
+ .saturating_add(T::DbWeight::get().reads(4_u64))
+ .saturating_add(T::DbWeight::get().writes(4_u64))
}
- // Storage: Refungible Balance (r:2 w:2)
- // Storage: Refungible AccountBalance (r:2 w:2)
- // Storage: Refungible TotalSupply (r:1 w:0)
- // Storage: Refungible Owned (r:0 w:2)
+ /// Storage: Refungible Balance (r:2 w:2)
+ /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)
+ /// Storage: Refungible AccountBalance (r:2 w:2)
+ /// Proof: Refungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)
+ /// Storage: Refungible TotalSupply (r:1 w:0)
+ /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)
+ /// Storage: Refungible Owned (r:0 w:2)
+ /// Proof: Refungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)
fn transfer_creating_removing() -> Weight {
- Weight::from_ref_time(38_102_000 as u64)
- .saturating_add(T::DbWeight::get().reads(5 as u64))
- .saturating_add(T::DbWeight::get().writes(6 as u64))
+ // Proof Size summary in bytes:
+ // Measured: `375`
+ // Estimated: `12723`
+ // Minimum execution time: 26_719_000 picoseconds.
+ Weight::from_parts(27_038_000, 12723)
+ .saturating_add(T::DbWeight::get().reads(5_u64))
+ .saturating_add(T::DbWeight::get().writes(6_u64))
}
- // Storage: Refungible Balance (r:1 w:0)
- // Storage: Refungible Allowance (r:0 w:1)
+ /// Storage: Refungible Balance (r:1 w:0)
+ /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)
+ /// Storage: Refungible Allowance (r:0 w:1)
+ /// Proof: Refungible Allowance (max_values: None, max_size: Some(105), added: 2580, mode: MaxEncodedLen)
fn approve() -> Weight {
- Weight::from_ref_time(24_217_000 as u64)
- .saturating_add(T::DbWeight::get().reads(1 as u64))
- .saturating_add(T::DbWeight::get().writes(1 as u64))
+ // Proof Size summary in bytes:
+ // Measured: `256`
+ // Estimated: `2564`
+ // Minimum execution time: 12_949_000 picoseconds.
+ Weight::from_parts(13_181_000, 2564)
+ .saturating_add(T::DbWeight::get().reads(1_u64))
+ .saturating_add(T::DbWeight::get().writes(1_u64))
}
- // Storage: Refungible Balance (r:1 w:0)
- // Storage: Refungible Allowance (r:0 w:1)
+ /// Storage: Refungible Balance (r:1 w:0)
+ /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)
+ /// Storage: Refungible Allowance (r:0 w:1)
+ /// Proof: Refungible Allowance (max_values: None, max_size: Some(105), added: 2580, mode: MaxEncodedLen)
fn approve_from() -> Weight {
- Weight::from_ref_time(24_173_000 as u64)
- .saturating_add(T::DbWeight::get().reads(1 as u64))
- .saturating_add(T::DbWeight::get().writes(1 as u64))
+ // Proof Size summary in bytes:
+ // Measured: `244`
+ // Estimated: `2564`
+ // Minimum execution time: 12_942_000 picoseconds.
+ Weight::from_parts(13_268_000, 2564)
+ .saturating_add(T::DbWeight::get().reads(1_u64))
+ .saturating_add(T::DbWeight::get().writes(1_u64))
}
- // Storage: Refungible Allowance (r:1 w:1)
- // Storage: Refungible Balance (r:2 w:2)
- // Storage: Refungible TotalSupply (r:1 w:0)
+ /// Storage: Refungible Allowance (r:1 w:1)
+ /// Proof: Refungible Allowance (max_values: None, max_size: Some(105), added: 2580, mode: MaxEncodedLen)
+ /// Storage: Refungible Balance (r:2 w:2)
+ /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)
+ /// Storage: Refungible TotalSupply (r:1 w:0)
+ /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)
fn transfer_from_normal() -> Weight {
- Weight::from_ref_time(40_040_000 as u64)
- .saturating_add(T::DbWeight::get().reads(4 as u64))
- .saturating_add(T::DbWeight::get().writes(3 as u64))
+ // Proof Size summary in bytes:
+ // Measured: `528`
+ // Estimated: `10223`
+ // Minimum execution time: 28_907_000 picoseconds.
+ Weight::from_parts(29_487_000, 10223)
+ .saturating_add(T::DbWeight::get().reads(4_u64))
+ .saturating_add(T::DbWeight::get().writes(3_u64))
}
- // Storage: Refungible Allowance (r:1 w:1)
- // Storage: Refungible Balance (r:2 w:2)
- // Storage: Refungible AccountBalance (r:1 w:1)
- // Storage: Refungible TotalSupply (r:1 w:0)
- // Storage: Refungible Owned (r:0 w:1)
+ /// Storage: Refungible Allowance (r:1 w:1)
+ /// Proof: Refungible Allowance (max_values: None, max_size: Some(105), added: 2580, mode: MaxEncodedLen)
+ /// Storage: Refungible Balance (r:2 w:2)
+ /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)
+ /// Storage: Refungible AccountBalance (r:1 w:1)
+ /// Proof: Refungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)
+ /// Storage: Refungible TotalSupply (r:1 w:0)
+ /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)
+ /// Storage: Refungible Owned (r:0 w:1)
+ /// Proof: Refungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)
fn transfer_from_creating() -> Weight {
- Weight::from_ref_time(42_906_000 as u64)
- .saturating_add(T::DbWeight::get().reads(5 as u64))
- .saturating_add(T::DbWeight::get().writes(5 as u64))
+ // Proof Size summary in bytes:
+ // Measured: `505`
+ // Estimated: `12763`
+ // Minimum execution time: 31_271_000 picoseconds.
+ Weight::from_parts(32_293_000, 12763)
+ .saturating_add(T::DbWeight::get().reads(5_u64))
+ .saturating_add(T::DbWeight::get().writes(5_u64))
}
- // Storage: Refungible Allowance (r:1 w:1)
- // Storage: Refungible Balance (r:2 w:2)
- // Storage: Refungible AccountBalance (r:1 w:1)
- // Storage: Refungible TotalSupply (r:1 w:0)
- // Storage: Refungible Owned (r:0 w:1)
+ /// Storage: Refungible Allowance (r:1 w:1)
+ /// Proof: Refungible Allowance (max_values: None, max_size: Some(105), added: 2580, mode: MaxEncodedLen)
+ /// Storage: Refungible Balance (r:2 w:2)
+ /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)
+ /// Storage: Refungible AccountBalance (r:1 w:1)
+ /// Proof: Refungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)
+ /// Storage: Refungible TotalSupply (r:1 w:0)
+ /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)
+ /// Storage: Refungible Owned (r:0 w:1)
+ /// Proof: Refungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)
fn transfer_from_removing() -> Weight {
- Weight::from_ref_time(46_112_000 as u64)
- .saturating_add(T::DbWeight::get().reads(5 as u64))
- .saturating_add(T::DbWeight::get().writes(5 as u64))
+ // Proof Size summary in bytes:
+ // Measured: `620`
+ // Estimated: `12763`
+ // Minimum execution time: 34_295_000 picoseconds.
+ Weight::from_parts(34_924_000, 12763)
+ .saturating_add(T::DbWeight::get().reads(5_u64))
+ .saturating_add(T::DbWeight::get().writes(5_u64))
}
- // Storage: Refungible Allowance (r:1 w:1)
- // Storage: Refungible Balance (r:2 w:2)
- // Storage: Refungible AccountBalance (r:2 w:2)
- // Storage: Refungible TotalSupply (r:1 w:0)
- // Storage: Refungible Owned (r:0 w:2)
+ /// Storage: Refungible Allowance (r:1 w:1)
+ /// Proof: Refungible Allowance (max_values: None, max_size: Some(105), added: 2580, mode: MaxEncodedLen)
+ /// Storage: Refungible Balance (r:2 w:2)
+ /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)
+ /// Storage: Refungible AccountBalance (r:2 w:2)
+ /// Proof: Refungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)
+ /// Storage: Refungible TotalSupply (r:1 w:0)
+ /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)
+ /// Storage: Refungible Owned (r:0 w:2)
+ /// Proof: Refungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)
fn transfer_from_creating_removing() -> Weight {
- Weight::from_ref_time(45_102_000 as u64)
- .saturating_add(T::DbWeight::get().reads(6 as u64))
- .saturating_add(T::DbWeight::get().writes(7 as u64))
+ // Proof Size summary in bytes:
+ // Measured: `505`
+ // Estimated: `15303`
+ // Minimum execution time: 35_447_000 picoseconds.
+ Weight::from_parts(35_896_000, 15303)
+ .saturating_add(T::DbWeight::get().reads(6_u64))
+ .saturating_add(T::DbWeight::get().writes(7_u64))
}
- // Storage: Refungible Allowance (r:1 w:1)
- // Storage: Refungible Balance (r:1 w:1)
- // Storage: Refungible TotalSupply (r:1 w:1)
- // Storage: Refungible AccountBalance (r:1 w:1)
- // Storage: Refungible TokensBurnt (r:1 w:1)
- // Storage: Refungible Owned (r:0 w:1)
- // Storage: Refungible TokenProperties (r:0 w:1)
+ /// Storage: Refungible Allowance (r:1 w:1)
+ /// Proof: Refungible Allowance (max_values: None, max_size: Some(105), added: 2580, mode: MaxEncodedLen)
+ /// Storage: Refungible Balance (r:1 w:1)
+ /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)
+ /// Storage: Refungible TotalSupply (r:1 w:1)
+ /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)
+ /// Storage: Refungible AccountBalance (r:1 w:1)
+ /// Proof: Refungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)
+ /// Storage: Refungible TokensBurnt (r:1 w:1)
+ /// Proof: Refungible TokensBurnt (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)
+ /// Storage: Refungible Owned (r:0 w:1)
+ /// Proof: Refungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)
+ /// Storage: Refungible TokenProperties (r:0 w:1)
+ /// Proof: Refungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)
fn burn_from() -> Weight {
- Weight::from_ref_time(50_573_000 as u64)
- .saturating_add(T::DbWeight::get().reads(5 as u64))
- .saturating_add(T::DbWeight::get().writes(7 as u64))
+ // Proof Size summary in bytes:
+ // Measured: `505`
+ // Estimated: `12690`
+ // Minimum execution time: 39_395_000 picoseconds.
+ Weight::from_parts(40_119_000, 12690)
+ .saturating_add(T::DbWeight::get().reads(5_u64))
+ .saturating_add(T::DbWeight::get().writes(7_u64))
}
- // Storage: Common CollectionPropertyPermissions (r:1 w:1)
+ /// Storage: Common CollectionPropertyPermissions (r:1 w:1)
+ /// Proof: Common CollectionPropertyPermissions (max_values: None, max_size: Some(16726), added: 19201, mode: MaxEncodedLen)
+ /// The range of component `b` is `[0, 64]`.
fn set_token_property_permissions(b: u32, ) -> Weight {
- Weight::from_ref_time(5_349_000 as u64)
- // Standard Error: 41_409
- .saturating_add(Weight::from_ref_time(12_216_721 as u64).saturating_mul(b as u64))
- .saturating_add(T::DbWeight::get().reads(1 as u64))
- .saturating_add(T::DbWeight::get().writes(1 as u64))
+ // Proof Size summary in bytes:
+ // Measured: `281`
+ // Estimated: `19201`
+ // Minimum execution time: 2_337_000 picoseconds.
+ Weight::from_parts(2_434_000, 19201)
+ // Standard Error: 43_425
+ .saturating_add(Weight::from_parts(12_286_502, 0).saturating_mul(b.into()))
+ .saturating_add(T::DbWeight::get().reads(1_u64))
+ .saturating_add(T::DbWeight::get().writes(1_u64))
}
- // Storage: Refungible TokenProperties (r:1 w:1)
- // Storage: Common CollectionPropertyPermissions (r:1 w:0)
+ /// Storage: Refungible TokenProperties (r:1 w:1)
+ /// Proof: Refungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)
+ /// Storage: Common CollectionPropertyPermissions (r:1 w:0)
+ /// Proof: Common CollectionPropertyPermissions (max_values: None, max_size: Some(16726), added: 19201, mode: MaxEncodedLen)
+ /// The range of component `b` is `[0, 64]`.
fn set_token_properties(b: u32, ) -> Weight {
- Weight::from_ref_time(12_947_117 as u64)
- // Standard Error: 75_487
- .saturating_add(Weight::from_ref_time(6_809_149 as u64).saturating_mul(b as u64))
- .saturating_add(T::DbWeight::get().reads(2 as u64))
- .saturating_add(T::DbWeight::get().writes(1 as u64))
+ // Proof Size summary in bytes:
+ // Measured: `490 + b * (261 ±0)`
+ // Estimated: `54480`
+ // Minimum execution time: 11_857_000 picoseconds.
+ Weight::from_parts(12_007_000, 54480)
+ // Standard Error: 22_963
+ .saturating_add(Weight::from_parts(6_609_180, 0).saturating_mul(b.into()))
+ .saturating_add(T::DbWeight::get().reads(2_u64))
+ .saturating_add(T::DbWeight::get().writes(1_u64))
}
- // Storage: Refungible TokenProperties (r:1 w:1)
- // Storage: Common CollectionPropertyPermissions (r:1 w:0)
+ /// Storage: Refungible TokenProperties (r:1 w:1)
+ /// Proof: Refungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)
+ /// Storage: Common CollectionPropertyPermissions (r:1 w:0)
+ /// Proof: Common CollectionPropertyPermissions (max_values: None, max_size: Some(16726), added: 19201, mode: MaxEncodedLen)
+ /// The range of component `b` is `[0, 64]`.
fn delete_token_properties(b: u32, ) -> Weight {
- Weight::from_ref_time(14_967_000 as u64)
- // Standard Error: 66_400
- .saturating_add(Weight::from_ref_time(22_261_821 as u64).saturating_mul(b as u64))
- .saturating_add(T::DbWeight::get().reads(2 as u64))
- .saturating_add(T::DbWeight::get().writes(1 as u64))
+ // Proof Size summary in bytes:
+ // Measured: `527 + b * (33291 ±0)`
+ // Estimated: `54480`
+ // Minimum execution time: 12_001_000 picoseconds.
+ Weight::from_parts(12_197_000, 54480)
+ // Standard Error: 70_580
+ .saturating_add(Weight::from_parts(21_847_004, 0).saturating_mul(b.into()))
+ .saturating_add(T::DbWeight::get().reads(2_u64))
+ .saturating_add(T::DbWeight::get().writes(1_u64))
}
- // Storage: Refungible TotalSupply (r:1 w:1)
- // Storage: Refungible Balance (r:1 w:1)
+ /// Storage: Refungible TotalSupply (r:1 w:1)
+ /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)
+ /// Storage: Refungible Balance (r:1 w:1)
+ /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)
fn repartition_item() -> Weight {
- Weight::from_ref_time(25_823_000 as u64)
- .saturating_add(T::DbWeight::get().reads(2 as u64))
- .saturating_add(T::DbWeight::get().writes(2 as u64))
+ // Proof Size summary in bytes:
+ // Measured: `321`
+ // Estimated: `5079`
+ // Minimum execution time: 14_497_000 picoseconds.
+ Weight::from_parts(14_825_000, 5079)
+ .saturating_add(T::DbWeight::get().reads(2_u64))
+ .saturating_add(T::DbWeight::get().writes(2_u64))
}
- // Storage: Refungible Balance (r:2 w:0)
+ /// Storage: Refungible Balance (r:2 w:0)
+ /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)
fn token_owner() -> Weight {
- Weight::from_ref_time(9_445_000 as u64)
- .saturating_add(T::DbWeight::get().reads(2 as u64))
+ // Proof Size summary in bytes:
+ // Measured: `321`
+ // Estimated: `5128`
+ // Minimum execution time: 8_888_000 picoseconds.
+ Weight::from_parts(9_373_000, 5128)
+ .saturating_add(T::DbWeight::get().reads(2_u64))
}
- // Storage: Refungible CollectionAllowance (r:0 w:1)
+ /// Storage: Refungible CollectionAllowance (r:0 w:1)
+ /// Proof: Refungible CollectionAllowance (max_values: None, max_size: Some(111), added: 2586, mode: MaxEncodedLen)
fn set_allowance_for_all() -> Weight {
- Weight::from_ref_time(17_303_000 as u64)
- .saturating_add(T::DbWeight::get().writes(1 as u64))
+ // Proof Size summary in bytes:
+ // Measured: `0`
+ // Estimated: `0`
+ // Minimum execution time: 7_042_000 picoseconds.
+ Weight::from_parts(7_245_000, 0)
+ .saturating_add(T::DbWeight::get().writes(1_u64))
}
- // Storage: Refungible CollectionAllowance (r:1 w:0)
+ /// Storage: Refungible CollectionAllowance (r:1 w:0)
+ /// Proof: Refungible CollectionAllowance (max_values: None, max_size: Some(111), added: 2586, mode: MaxEncodedLen)
fn allowance_for_all() -> Weight {
- Weight::from_ref_time(5_352_000 as u64)
- .saturating_add(T::DbWeight::get().reads(1 as u64))
+ // Proof Size summary in bytes:
+ // Measured: `4`
+ // Estimated: `2586`
+ // Minimum execution time: 3_425_000 picoseconds.
+ Weight::from_parts(3_554_000, 2586)
+ .saturating_add(T::DbWeight::get().reads(1_u64))
}
- // Storage: Refungible TokenProperties (r:1 w:1)
+ /// Storage: Refungible TokenProperties (r:1 w:1)
+ /// Proof: Refungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)
fn repair_item() -> Weight {
- Weight::from_ref_time(7_200_000 as u64)
- .saturating_add(T::DbWeight::get().reads(1 as u64))
- .saturating_add(T::DbWeight::get().writes(1 as u64))
+ // Proof Size summary in bytes:
+ // Measured: `174`
+ // Estimated: `35279`
+ // Minimum execution time: 4_684_000 picoseconds.
+ Weight::from_parts(4_805_000, 35279)
+ .saturating_add(T::DbWeight::get().reads(1_u64))
+ .saturating_add(T::DbWeight::get().writes(1_u64))
}
}
// For backwards compatibility and tests
impl WeightInfo for () {
- // Storage: Refungible TokensMinted (r:1 w:1)
- // Storage: Refungible AccountBalance (r:1 w:1)
- // Storage: Refungible TokenProperties (r:1 w:1)
- // Storage: Common CollectionPropertyPermissions (r:1 w:0)
- // Storage: Refungible Balance (r:0 w:1)
- // Storage: Refungible TotalSupply (r:0 w:1)
- // Storage: Refungible Owned (r:0 w:1)
+ /// Storage: Refungible TokensMinted (r:1 w:1)
+ /// Proof: Refungible TokensMinted (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)
+ /// Storage: Refungible AccountBalance (r:1 w:1)
+ /// Proof: Refungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)
+ /// Storage: Refungible TokenProperties (r:1 w:1)
+ /// Proof: Refungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)
+ /// Storage: Common CollectionPropertyPermissions (r:1 w:0)
+ /// Proof: Common CollectionPropertyPermissions (max_values: None, max_size: Some(16726), added: 19201, mode: MaxEncodedLen)
+ /// Storage: Refungible Balance (r:0 w:1)
+ /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)
+ /// Storage: Refungible TotalSupply (r:0 w:1)
+ /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)
+ /// Storage: Refungible Owned (r:0 w:1)
+ /// Proof: Refungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)
fn create_item() -> Weight {
- Weight::from_ref_time(39_971_000 as u64)
- .saturating_add(RocksDbWeight::get().reads(4 as u64))
- .saturating_add(RocksDbWeight::get().writes(6 as u64))
+ // Proof Size summary in bytes:
+ // Measured: `285`
+ // Estimated: `59511`
+ // Minimum execution time: 25_287_000 picoseconds.
+ Weight::from_parts(25_741_000, 59511)
+ .saturating_add(RocksDbWeight::get().reads(4_u64))
+ .saturating_add(RocksDbWeight::get().writes(6_u64))
}
- // Storage: Refungible TokensMinted (r:1 w:1)
- // Storage: Refungible AccountBalance (r:1 w:1)
- // Storage: Refungible TokenProperties (r:4 w:4)
- // Storage: Common CollectionPropertyPermissions (r:1 w:0)
- // Storage: Refungible Balance (r:0 w:4)
- // Storage: Refungible TotalSupply (r:0 w:4)
- // Storage: Refungible Owned (r:0 w:4)
+ /// Storage: Refungible TokensMinted (r:1 w:1)
+ /// Proof: Refungible TokensMinted (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)
+ /// Storage: Refungible AccountBalance (r:1 w:1)
+ /// Proof: Refungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)
+ /// Storage: Refungible TokenProperties (r:200 w:200)
+ /// Proof: Refungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)
+ /// Storage: Common CollectionPropertyPermissions (r:1 w:0)
+ /// Proof: Common CollectionPropertyPermissions (max_values: None, max_size: Some(16726), added: 19201, mode: MaxEncodedLen)
+ /// Storage: Refungible Balance (r:0 w:200)
+ /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)
+ /// Storage: Refungible TotalSupply (r:0 w:200)
+ /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)
+ /// Storage: Refungible Owned (r:0 w:200)
+ /// Proof: Refungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)
+ /// The range of component `b` is `[0, 200]`.
fn create_multiple_items(b: u32, ) -> Weight {
- Weight::from_ref_time(14_049_866 as u64)
- // Standard Error: 4_015
- .saturating_add(Weight::from_ref_time(8_984_911 as u64).saturating_mul(b as u64))
- .saturating_add(RocksDbWeight::get().reads(3 as u64))
- .saturating_add(RocksDbWeight::get().reads((1 as u64).saturating_mul(b as u64)))
- .saturating_add(RocksDbWeight::get().writes(2 as u64))
- .saturating_add(RocksDbWeight::get().writes((4 as u64).saturating_mul(b as u64)))
+ // Proof Size summary in bytes:
+ // Measured: `285`
+ // Estimated: `24232 + b * (35279 ±0)`
+ // Minimum execution time: 4_618_000 picoseconds.
+ Weight::from_parts(1_425_218, 24232)
+ // Standard Error: 4_343
+ .saturating_add(Weight::from_parts(9_154_733, 0).saturating_mul(b.into()))
+ .saturating_add(RocksDbWeight::get().reads(3_u64))
+ .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(b.into())))
+ .saturating_add(RocksDbWeight::get().writes(2_u64))
+ .saturating_add(RocksDbWeight::get().writes((4_u64).saturating_mul(b.into())))
+ .saturating_add(Weight::from_parts(0, 35279).saturating_mul(b.into()))
}
- // Storage: Refungible TokensMinted (r:1 w:1)
- // Storage: Refungible AccountBalance (r:4 w:4)
- // Storage: Refungible TokenProperties (r:4 w:4)
- // Storage: Common CollectionPropertyPermissions (r:1 w:0)
- // Storage: Refungible Balance (r:0 w:4)
- // Storage: Refungible TotalSupply (r:0 w:4)
- // Storage: Refungible Owned (r:0 w:4)
+ /// Storage: Refungible TokensMinted (r:1 w:1)
+ /// Proof: Refungible TokensMinted (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)
+ /// Storage: Refungible AccountBalance (r:200 w:200)
+ /// Proof: Refungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)
+ /// Storage: Refungible TokenProperties (r:200 w:200)
+ /// Proof: Refungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)
+ /// Storage: Common CollectionPropertyPermissions (r:1 w:0)
+ /// Proof: Common CollectionPropertyPermissions (max_values: None, max_size: Some(16726), added: 19201, mode: MaxEncodedLen)
+ /// Storage: Refungible Balance (r:0 w:200)
+ /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)
+ /// Storage: Refungible TotalSupply (r:0 w:200)
+ /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)
+ /// Storage: Refungible Owned (r:0 w:200)
+ /// Proof: Refungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)
+ /// The range of component `b` is `[0, 200]`.
fn create_multiple_items_ex_multiple_items(b: u32, ) -> Weight {
- Weight::from_ref_time(14_893_679 as u64)
- // Standard Error: 3_571
- .saturating_add(Weight::from_ref_time(10_611_135 as u64).saturating_mul(b as u64))
- .saturating_add(RocksDbWeight::get().reads(2 as u64))
- .saturating_add(RocksDbWeight::get().reads((2 as u64).saturating_mul(b as u64)))
- .saturating_add(RocksDbWeight::get().writes(1 as u64))
- .saturating_add(RocksDbWeight::get().writes((5 as u64).saturating_mul(b as u64)))
+ // Proof Size summary in bytes:
+ // Measured: `285`
+ // Estimated: `21692 + b * (37819 ±0)`
+ // Minimum execution time: 4_063_000 picoseconds.
+ Weight::from_parts(4_160_000, 21692)
+ // Standard Error: 2_386
+ .saturating_add(Weight::from_parts(10_836_802, 0).saturating_mul(b.into()))
+ .saturating_add(RocksDbWeight::get().reads(2_u64))
+ .saturating_add(RocksDbWeight::get().reads((2_u64).saturating_mul(b.into())))
+ .saturating_add(RocksDbWeight::get().writes(1_u64))
+ .saturating_add(RocksDbWeight::get().writes((5_u64).saturating_mul(b.into())))
+ .saturating_add(Weight::from_parts(0, 37819).saturating_mul(b.into()))
}
- // Storage: Refungible TokensMinted (r:1 w:1)
- // Storage: Refungible TokenProperties (r:1 w:1)
- // Storage: Common CollectionPropertyPermissions (r:1 w:0)
- // Storage: Refungible TotalSupply (r:0 w:1)
- // Storage: Refungible AccountBalance (r:4 w:4)
- // Storage: Refungible Balance (r:0 w:4)
- // Storage: Refungible Owned (r:0 w:4)
+ /// Storage: Refungible TokensMinted (r:1 w:1)
+ /// Proof: Refungible TokensMinted (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)
+ /// Storage: Refungible AccountBalance (r:200 w:200)
+ /// Proof: Refungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)
+ /// Storage: Refungible TokenProperties (r:1 w:1)
+ /// Proof: Refungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)
+ /// Storage: Common CollectionPropertyPermissions (r:1 w:0)
+ /// Proof: Common CollectionPropertyPermissions (max_values: None, max_size: Some(16726), added: 19201, mode: MaxEncodedLen)
+ /// Storage: Refungible Balance (r:0 w:200)
+ /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)
+ /// Storage: Refungible TotalSupply (r:0 w:1)
+ /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)
+ /// Storage: Refungible Owned (r:0 w:200)
+ /// Proof: Refungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)
+ /// The range of component `b` is `[0, 200]`.
fn create_multiple_items_ex_multiple_owners(b: u32, ) -> Weight {
- Weight::from_ref_time(31_075_923 as u64)
- // Standard Error: 2_118
- .saturating_add(Weight::from_ref_time(5_829_866 as u64).saturating_mul(b as u64))
- .saturating_add(RocksDbWeight::get().reads(3 as u64))
- .saturating_add(RocksDbWeight::get().reads((1 as u64).saturating_mul(b as u64)))
- .saturating_add(RocksDbWeight::get().writes(3 as u64))
- .saturating_add(RocksDbWeight::get().writes((3 as u64).saturating_mul(b as u64)))
+ // Proof Size summary in bytes:
+ // Measured: `285`
+ // Estimated: `56971 + b * (2540 ±0)`
+ // Minimum execution time: 14_637_000 picoseconds.
+ Weight::from_parts(19_042_423, 56971)
+ // Standard Error: 1_632
+ .saturating_add(Weight::from_parts(5_976_694, 0).saturating_mul(b.into()))
+ .saturating_add(RocksDbWeight::get().reads(3_u64))
+ .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(b.into())))
+ .saturating_add(RocksDbWeight::get().writes(3_u64))
+ .saturating_add(RocksDbWeight::get().writes((3_u64).saturating_mul(b.into())))
+ .saturating_add(Weight::from_parts(0, 2540).saturating_mul(b.into()))
}
- // Storage: Refungible Balance (r:3 w:1)
- // Storage: Refungible TotalSupply (r:1 w:1)
- // Storage: Refungible AccountBalance (r:1 w:1)
- // Storage: Refungible Owned (r:0 w:1)
+ /// Storage: Refungible Balance (r:3 w:1)
+ /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)
+ /// Storage: Refungible TotalSupply (r:1 w:1)
+ /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)
+ /// Storage: Refungible AccountBalance (r:1 w:1)
+ /// Proof: Refungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)
+ /// Storage: Refungible Owned (r:0 w:1)
+ /// Proof: Refungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)
fn burn_item_partial() -> Weight {
- Weight::from_ref_time(47_369_000 as u64)
- .saturating_add(RocksDbWeight::get().reads(5 as u64))
- .saturating_add(RocksDbWeight::get().writes(4 as u64))
+ // Proof Size summary in bytes:
+ // Measured: `490`
+ // Estimated: `12747`
+ // Minimum execution time: 35_018_000 picoseconds.
+ Weight::from_parts(35_596_000, 12747)
+ .saturating_add(RocksDbWeight::get().reads(5_u64))
+ .saturating_add(RocksDbWeight::get().writes(4_u64))
}
- // Storage: Refungible Balance (r:1 w:1)
- // Storage: Refungible TotalSupply (r:1 w:1)
- // Storage: Refungible AccountBalance (r:1 w:1)
- // Storage: Refungible TokensBurnt (r:1 w:1)
- // Storage: Refungible Owned (r:0 w:1)
- // Storage: Refungible TokenProperties (r:0 w:1)
+ /// Storage: Refungible Balance (r:1 w:1)
+ /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)
+ /// Storage: Refungible TotalSupply (r:1 w:1)
+ /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)
+ /// Storage: Refungible AccountBalance (r:1 w:1)
+ /// Proof: Refungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)
+ /// Storage: Refungible TokensBurnt (r:1 w:1)
+ /// Proof: Refungible TokensBurnt (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)
+ /// Storage: Refungible Owned (r:0 w:1)
+ /// Proof: Refungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)
+ /// Storage: Refungible TokenProperties (r:0 w:1)
+ /// Proof: Refungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)
fn burn_item_fully() -> Weight {
- Weight::from_ref_time(41_351_000 as u64)
- .saturating_add(RocksDbWeight::get().reads(4 as u64))
- .saturating_add(RocksDbWeight::get().writes(6 as u64))
+ // Proof Size summary in bytes:
+ // Measured: `375`
+ // Estimated: `10110`
+ // Minimum execution time: 30_441_000 picoseconds.
+ Weight::from_parts(31_000_000, 10110)
+ .saturating_add(RocksDbWeight::get().reads(4_u64))
+ .saturating_add(RocksDbWeight::get().writes(6_u64))
}
- // Storage: Refungible Balance (r:2 w:2)
- // Storage: Refungible TotalSupply (r:1 w:0)
+ /// Storage: Refungible Balance (r:2 w:2)
+ /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)
+ /// Storage: Refungible TotalSupply (r:1 w:0)
+ /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)
fn transfer_normal() -> Weight {
- Weight::from_ref_time(31_379_000 as u64)
- .saturating_add(RocksDbWeight::get().reads(3 as u64))
- .saturating_add(RocksDbWeight::get().writes(2 as u64))
+ // Proof Size summary in bytes:
+ // Measured: `398`
+ // Estimated: `7643`
+ // Minimum execution time: 20_055_000 picoseconds.
+ Weight::from_parts(20_533_000, 7643)
+ .saturating_add(RocksDbWeight::get().reads(3_u64))
+ .saturating_add(RocksDbWeight::get().writes(2_u64))
}
- // Storage: Refungible Balance (r:2 w:2)
- // Storage: Refungible AccountBalance (r:1 w:1)
- // Storage: Refungible TotalSupply (r:1 w:0)
- // Storage: Refungible Owned (r:0 w:1)
+ /// Storage: Refungible Balance (r:2 w:2)
+ /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)
+ /// Storage: Refungible AccountBalance (r:1 w:1)
+ /// Proof: Refungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)
+ /// Storage: Refungible TotalSupply (r:1 w:0)
+ /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)
+ /// Storage: Refungible Owned (r:0 w:1)
+ /// Proof: Refungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)
fn transfer_creating() -> Weight {
- Weight::from_ref_time(34_829_000 as u64)
- .saturating_add(RocksDbWeight::get().reads(4 as u64))
- .saturating_add(RocksDbWeight::get().writes(4 as u64))
+ // Proof Size summary in bytes:
+ // Measured: `375`
+ // Estimated: `10183`
+ // Minimum execution time: 23_443_000 picoseconds.
+ Weight::from_parts(23_791_000, 10183)
+ .saturating_add(RocksDbWeight::get().reads(4_u64))
+ .saturating_add(RocksDbWeight::get().writes(4_u64))
}
- // Storage: Refungible Balance (r:2 w:2)
- // Storage: Refungible AccountBalance (r:1 w:1)
- // Storage: Refungible TotalSupply (r:1 w:0)
- // Storage: Refungible Owned (r:0 w:1)
+ /// Storage: Refungible Balance (r:2 w:2)
+ /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)
+ /// Storage: Refungible AccountBalance (r:1 w:1)
+ /// Proof: Refungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)
+ /// Storage: Refungible TotalSupply (r:1 w:0)
+ /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)
+ /// Storage: Refungible Owned (r:0 w:1)
+ /// Proof: Refungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)
fn transfer_removing() -> Weight {
- Weight::from_ref_time(38_221_000 as u64)
- .saturating_add(RocksDbWeight::get().reads(4 as u64))
- .saturating_add(RocksDbWeight::get().writes(4 as u64))
+ // Proof Size summary in bytes:
+ // Measured: `490`
+ // Estimated: `10183`
+ // Minimum execution time: 26_489_000 picoseconds.
+ Weight::from_parts(27_103_000, 10183)
+ .saturating_add(RocksDbWeight::get().reads(4_u64))
+ .saturating_add(RocksDbWeight::get().writes(4_u64))
}
- // Storage: Refungible Balance (r:2 w:2)
- // Storage: Refungible AccountBalance (r:2 w:2)
- // Storage: Refungible TotalSupply (r:1 w:0)
- // Storage: Refungible Owned (r:0 w:2)
+ /// Storage: Refungible Balance (r:2 w:2)
+ /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)
+ /// Storage: Refungible AccountBalance (r:2 w:2)
+ /// Proof: Refungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)
+ /// Storage: Refungible TotalSupply (r:1 w:0)
+ /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)
+ /// Storage: Refungible Owned (r:0 w:2)
+ /// Proof: Refungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)
fn transfer_creating_removing() -> Weight {
- Weight::from_ref_time(38_102_000 as u64)
- .saturating_add(RocksDbWeight::get().reads(5 as u64))
- .saturating_add(RocksDbWeight::get().writes(6 as u64))
+ // Proof Size summary in bytes:
+ // Measured: `375`
+ // Estimated: `12723`
+ // Minimum execution time: 26_719_000 picoseconds.
+ Weight::from_parts(27_038_000, 12723)
+ .saturating_add(RocksDbWeight::get().reads(5_u64))
+ .saturating_add(RocksDbWeight::get().writes(6_u64))
}
- // Storage: Refungible Balance (r:1 w:0)
- // Storage: Refungible Allowance (r:0 w:1)
+ /// Storage: Refungible Balance (r:1 w:0)
+ /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)
+ /// Storage: Refungible Allowance (r:0 w:1)
+ /// Proof: Refungible Allowance (max_values: None, max_size: Some(105), added: 2580, mode: MaxEncodedLen)
fn approve() -> Weight {
- Weight::from_ref_time(24_217_000 as u64)
- .saturating_add(RocksDbWeight::get().reads(1 as u64))
- .saturating_add(RocksDbWeight::get().writes(1 as u64))
+ // Proof Size summary in bytes:
+ // Measured: `256`
+ // Estimated: `2564`
+ // Minimum execution time: 12_949_000 picoseconds.
+ Weight::from_parts(13_181_000, 2564)
+ .saturating_add(RocksDbWeight::get().reads(1_u64))
+ .saturating_add(RocksDbWeight::get().writes(1_u64))
}
- // Storage: Refungible Balance (r:1 w:0)
- // Storage: Refungible Allowance (r:0 w:1)
+ /// Storage: Refungible Balance (r:1 w:0)
+ /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)
+ /// Storage: Refungible Allowance (r:0 w:1)
+ /// Proof: Refungible Allowance (max_values: None, max_size: Some(105), added: 2580, mode: MaxEncodedLen)
fn approve_from() -> Weight {
- Weight::from_ref_time(24_173_000 as u64)
- .saturating_add(RocksDbWeight::get().reads(1 as u64))
- .saturating_add(RocksDbWeight::get().writes(1 as u64))
+ // Proof Size summary in bytes:
+ // Measured: `244`
+ // Estimated: `2564`
+ // Minimum execution time: 12_942_000 picoseconds.
+ Weight::from_parts(13_268_000, 2564)
+ .saturating_add(RocksDbWeight::get().reads(1_u64))
+ .saturating_add(RocksDbWeight::get().writes(1_u64))
}
- // Storage: Refungible Allowance (r:1 w:1)
- // Storage: Refungible Balance (r:2 w:2)
- // Storage: Refungible TotalSupply (r:1 w:0)
+ /// Storage: Refungible Allowance (r:1 w:1)
+ /// Proof: Refungible Allowance (max_values: None, max_size: Some(105), added: 2580, mode: MaxEncodedLen)
+ /// Storage: Refungible Balance (r:2 w:2)
+ /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)
+ /// Storage: Refungible TotalSupply (r:1 w:0)
+ /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)
fn transfer_from_normal() -> Weight {
- Weight::from_ref_time(40_040_000 as u64)
- .saturating_add(RocksDbWeight::get().reads(4 as u64))
- .saturating_add(RocksDbWeight::get().writes(3 as u64))
+ // Proof Size summary in bytes:
+ // Measured: `528`
+ // Estimated: `10223`
+ // Minimum execution time: 28_907_000 picoseconds.
+ Weight::from_parts(29_487_000, 10223)
+ .saturating_add(RocksDbWeight::get().reads(4_u64))
+ .saturating_add(RocksDbWeight::get().writes(3_u64))
}
- // Storage: Refungible Allowance (r:1 w:1)
- // Storage: Refungible Balance (r:2 w:2)
- // Storage: Refungible AccountBalance (r:1 w:1)
- // Storage: Refungible TotalSupply (r:1 w:0)
- // Storage: Refungible Owned (r:0 w:1)
+ /// Storage: Refungible Allowance (r:1 w:1)
+ /// Proof: Refungible Allowance (max_values: None, max_size: Some(105), added: 2580, mode: MaxEncodedLen)
+ /// Storage: Refungible Balance (r:2 w:2)
+ /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)
+ /// Storage: Refungible AccountBalance (r:1 w:1)
+ /// Proof: Refungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)
+ /// Storage: Refungible TotalSupply (r:1 w:0)
+ /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)
+ /// Storage: Refungible Owned (r:0 w:1)
+ /// Proof: Refungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)
fn transfer_from_creating() -> Weight {
- Weight::from_ref_time(42_906_000 as u64)
- .saturating_add(RocksDbWeight::get().reads(5 as u64))
- .saturating_add(RocksDbWeight::get().writes(5 as u64))
+ // Proof Size summary in bytes:
+ // Measured: `505`
+ // Estimated: `12763`
+ // Minimum execution time: 31_271_000 picoseconds.
+ Weight::from_parts(32_293_000, 12763)
+ .saturating_add(RocksDbWeight::get().reads(5_u64))
+ .saturating_add(RocksDbWeight::get().writes(5_u64))
}
- // Storage: Refungible Allowance (r:1 w:1)
- // Storage: Refungible Balance (r:2 w:2)
- // Storage: Refungible AccountBalance (r:1 w:1)
- // Storage: Refungible TotalSupply (r:1 w:0)
- // Storage: Refungible Owned (r:0 w:1)
+ /// Storage: Refungible Allowance (r:1 w:1)
+ /// Proof: Refungible Allowance (max_values: None, max_size: Some(105), added: 2580, mode: MaxEncodedLen)
+ /// Storage: Refungible Balance (r:2 w:2)
+ /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)
+ /// Storage: Refungible AccountBalance (r:1 w:1)
+ /// Proof: Refungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)
+ /// Storage: Refungible TotalSupply (r:1 w:0)
+ /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)
+ /// Storage: Refungible Owned (r:0 w:1)
+ /// Proof: Refungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)
fn transfer_from_removing() -> Weight {
- Weight::from_ref_time(46_112_000 as u64)
- .saturating_add(RocksDbWeight::get().reads(5 as u64))
- .saturating_add(RocksDbWeight::get().writes(5 as u64))
+ // Proof Size summary in bytes:
+ // Measured: `620`
+ // Estimated: `12763`
+ // Minimum execution time: 34_295_000 picoseconds.
+ Weight::from_parts(34_924_000, 12763)
+ .saturating_add(RocksDbWeight::get().reads(5_u64))
+ .saturating_add(RocksDbWeight::get().writes(5_u64))
}
- // Storage: Refungible Allowance (r:1 w:1)
- // Storage: Refungible Balance (r:2 w:2)
- // Storage: Refungible AccountBalance (r:2 w:2)
- // Storage: Refungible TotalSupply (r:1 w:0)
- // Storage: Refungible Owned (r:0 w:2)
+ /// Storage: Refungible Allowance (r:1 w:1)
+ /// Proof: Refungible Allowance (max_values: None, max_size: Some(105), added: 2580, mode: MaxEncodedLen)
+ /// Storage: Refungible Balance (r:2 w:2)
+ /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)
+ /// Storage: Refungible AccountBalance (r:2 w:2)
+ /// Proof: Refungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)
+ /// Storage: Refungible TotalSupply (r:1 w:0)
+ /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)
+ /// Storage: Refungible Owned (r:0 w:2)
+ /// Proof: Refungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)
fn transfer_from_creating_removing() -> Weight {
- Weight::from_ref_time(45_102_000 as u64)
- .saturating_add(RocksDbWeight::get().reads(6 as u64))
- .saturating_add(RocksDbWeight::get().writes(7 as u64))
+ // Proof Size summary in bytes:
+ // Measured: `505`
+ // Estimated: `15303`
+ // Minimum execution time: 35_447_000 picoseconds.
+ Weight::from_parts(35_896_000, 15303)
+ .saturating_add(RocksDbWeight::get().reads(6_u64))
+ .saturating_add(RocksDbWeight::get().writes(7_u64))
}
- // Storage: Refungible Allowance (r:1 w:1)
- // Storage: Refungible Balance (r:1 w:1)
- // Storage: Refungible TotalSupply (r:1 w:1)
- // Storage: Refungible AccountBalance (r:1 w:1)
- // Storage: Refungible TokensBurnt (r:1 w:1)
- // Storage: Refungible Owned (r:0 w:1)
- // Storage: Refungible TokenProperties (r:0 w:1)
+ /// Storage: Refungible Allowance (r:1 w:1)
+ /// Proof: Refungible Allowance (max_values: None, max_size: Some(105), added: 2580, mode: MaxEncodedLen)
+ /// Storage: Refungible Balance (r:1 w:1)
+ /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)
+ /// Storage: Refungible TotalSupply (r:1 w:1)
+ /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)
+ /// Storage: Refungible AccountBalance (r:1 w:1)
+ /// Proof: Refungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)
+ /// Storage: Refungible TokensBurnt (r:1 w:1)
+ /// Proof: Refungible TokensBurnt (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)
+ /// Storage: Refungible Owned (r:0 w:1)
+ /// Proof: Refungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)
+ /// Storage: Refungible TokenProperties (r:0 w:1)
+ /// Proof: Refungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)
fn burn_from() -> Weight {
- Weight::from_ref_time(50_573_000 as u64)
- .saturating_add(RocksDbWeight::get().reads(5 as u64))
- .saturating_add(RocksDbWeight::get().writes(7 as u64))
+ // Proof Size summary in bytes:
+ // Measured: `505`
+ // Estimated: `12690`
+ // Minimum execution time: 39_395_000 picoseconds.
+ Weight::from_parts(40_119_000, 12690)
+ .saturating_add(RocksDbWeight::get().reads(5_u64))
+ .saturating_add(RocksDbWeight::get().writes(7_u64))
}
- // Storage: Common CollectionPropertyPermissions (r:1 w:1)
+ /// Storage: Common CollectionPropertyPermissions (r:1 w:1)
+ /// Proof: Common CollectionPropertyPermissions (max_values: None, max_size: Some(16726), added: 19201, mode: MaxEncodedLen)
+ /// The range of component `b` is `[0, 64]`.
fn set_token_property_permissions(b: u32, ) -> Weight {
- Weight::from_ref_time(5_349_000 as u64)
- // Standard Error: 41_409
- .saturating_add(Weight::from_ref_time(12_216_721 as u64).saturating_mul(b as u64))
- .saturating_add(RocksDbWeight::get().reads(1 as u64))
- .saturating_add(RocksDbWeight::get().writes(1 as u64))
+ // Proof Size summary in bytes:
+ // Measured: `281`
+ // Estimated: `19201`
+ // Minimum execution time: 2_337_000 picoseconds.
+ Weight::from_parts(2_434_000, 19201)
+ // Standard Error: 43_425
+ .saturating_add(Weight::from_parts(12_286_502, 0).saturating_mul(b.into()))
+ .saturating_add(RocksDbWeight::get().reads(1_u64))
+ .saturating_add(RocksDbWeight::get().writes(1_u64))
}
- // Storage: Refungible TokenProperties (r:1 w:1)
- // Storage: Common CollectionPropertyPermissions (r:1 w:0)
+ /// Storage: Refungible TokenProperties (r:1 w:1)
+ /// Proof: Refungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)
+ /// Storage: Common CollectionPropertyPermissions (r:1 w:0)
+ /// Proof: Common CollectionPropertyPermissions (max_values: None, max_size: Some(16726), added: 19201, mode: MaxEncodedLen)
+ /// The range of component `b` is `[0, 64]`.
fn set_token_properties(b: u32, ) -> Weight {
- Weight::from_ref_time(12_947_117 as u64)
- // Standard Error: 75_487
- .saturating_add(Weight::from_ref_time(6_809_149 as u64).saturating_mul(b as u64))
- .saturating_add(RocksDbWeight::get().reads(2 as u64))
- .saturating_add(RocksDbWeight::get().writes(1 as u64))
+ // Proof Size summary in bytes:
+ // Measured: `490 + b * (261 ±0)`
+ // Estimated: `54480`
+ // Minimum execution time: 11_857_000 picoseconds.
+ Weight::from_parts(12_007_000, 54480)
+ // Standard Error: 22_963
+ .saturating_add(Weight::from_parts(6_609_180, 0).saturating_mul(b.into()))
+ .saturating_add(RocksDbWeight::get().reads(2_u64))
+ .saturating_add(RocksDbWeight::get().writes(1_u64))
}
- // Storage: Refungible TokenProperties (r:1 w:1)
- // Storage: Common CollectionPropertyPermissions (r:1 w:0)
+ /// Storage: Refungible TokenProperties (r:1 w:1)
+ /// Proof: Refungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)
+ /// Storage: Common CollectionPropertyPermissions (r:1 w:0)
+ /// Proof: Common CollectionPropertyPermissions (max_values: None, max_size: Some(16726), added: 19201, mode: MaxEncodedLen)
+ /// The range of component `b` is `[0, 64]`.
fn delete_token_properties(b: u32, ) -> Weight {
- Weight::from_ref_time(14_967_000 as u64)
- // Standard Error: 66_400
- .saturating_add(Weight::from_ref_time(22_261_821 as u64).saturating_mul(b as u64))
- .saturating_add(RocksDbWeight::get().reads(2 as u64))
- .saturating_add(RocksDbWeight::get().writes(1 as u64))
+ // Proof Size summary in bytes:
+ // Measured: `527 + b * (33291 ±0)`
+ // Estimated: `54480`
+ // Minimum execution time: 12_001_000 picoseconds.
+ Weight::from_parts(12_197_000, 54480)
+ // Standard Error: 70_580
+ .saturating_add(Weight::from_parts(21_847_004, 0).saturating_mul(b.into()))
+ .saturating_add(RocksDbWeight::get().reads(2_u64))
+ .saturating_add(RocksDbWeight::get().writes(1_u64))
}
- // Storage: Refungible TotalSupply (r:1 w:1)
- // Storage: Refungible Balance (r:1 w:1)
+ /// Storage: Refungible TotalSupply (r:1 w:1)
+ /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)
+ /// Storage: Refungible Balance (r:1 w:1)
+ /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)
fn repartition_item() -> Weight {
- Weight::from_ref_time(25_823_000 as u64)
- .saturating_add(RocksDbWeight::get().reads(2 as u64))
- .saturating_add(RocksDbWeight::get().writes(2 as u64))
+ // Proof Size summary in bytes:
+ // Measured: `321`
+ // Estimated: `5079`
+ // Minimum execution time: 14_497_000 picoseconds.
+ Weight::from_parts(14_825_000, 5079)
+ .saturating_add(RocksDbWeight::get().reads(2_u64))
+ .saturating_add(RocksDbWeight::get().writes(2_u64))
}
- // Storage: Refungible Balance (r:2 w:0)
+ /// Storage: Refungible Balance (r:2 w:0)
+ /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)
fn token_owner() -> Weight {
- Weight::from_ref_time(9_445_000 as u64)
- .saturating_add(RocksDbWeight::get().reads(2 as u64))
+ // Proof Size summary in bytes:
+ // Measured: `321`
+ // Estimated: `5128`
+ // Minimum execution time: 8_888_000 picoseconds.
+ Weight::from_parts(9_373_000, 5128)
+ .saturating_add(RocksDbWeight::get().reads(2_u64))
}
- // Storage: Refungible CollectionAllowance (r:0 w:1)
+ /// Storage: Refungible CollectionAllowance (r:0 w:1)
+ /// Proof: Refungible CollectionAllowance (max_values: None, max_size: Some(111), added: 2586, mode: MaxEncodedLen)
fn set_allowance_for_all() -> Weight {
- Weight::from_ref_time(17_303_000 as u64)
- .saturating_add(RocksDbWeight::get().writes(1 as u64))
+ // Proof Size summary in bytes:
+ // Measured: `0`
+ // Estimated: `0`
+ // Minimum execution time: 7_042_000 picoseconds.
+ Weight::from_parts(7_245_000, 0)
+ .saturating_add(RocksDbWeight::get().writes(1_u64))
}
- // Storage: Refungible CollectionAllowance (r:1 w:0)
+ /// Storage: Refungible CollectionAllowance (r:1 w:0)
+ /// Proof: Refungible CollectionAllowance (max_values: None, max_size: Some(111), added: 2586, mode: MaxEncodedLen)
fn allowance_for_all() -> Weight {
- Weight::from_ref_time(5_352_000 as u64)
- .saturating_add(RocksDbWeight::get().reads(1 as u64))
+ // Proof Size summary in bytes:
+ // Measured: `4`
+ // Estimated: `2586`
+ // Minimum execution time: 3_425_000 picoseconds.
+ Weight::from_parts(3_554_000, 2586)
+ .saturating_add(RocksDbWeight::get().reads(1_u64))
}
- // Storage: Refungible TokenProperties (r:1 w:1)
+ /// Storage: Refungible TokenProperties (r:1 w:1)
+ /// Proof: Refungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)
fn repair_item() -> Weight {
- Weight::from_ref_time(7_200_000 as u64)
- .saturating_add(RocksDbWeight::get().reads(1 as u64))
- .saturating_add(RocksDbWeight::get().writes(1 as u64))
+ // Proof Size summary in bytes:
+ // Measured: `174`
+ // Estimated: `35279`
+ // Minimum execution time: 4_684_000 picoseconds.
+ Weight::from_parts(4_805_000, 35279)
+ .saturating_add(RocksDbWeight::get().reads(1_u64))
+ .saturating_add(RocksDbWeight::get().writes(1_u64))
}
}
+
pallets/structure/src/weights.rsdiffbeforeafterboth--- a/pallets/structure/src/weights.rs
+++ b/pallets/structure/src/weights.rs
@@ -3,7 +3,8 @@
//! Autogenerated weights for pallet_structure
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
-//! DATE: 2023-02-15, STEPS: `50`, REPEAT: 80, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! DATE: 2023-03-30, STEPS: `50`, REPEAT: 80, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! WORST CASE MAP SIZE: `1000000`
//! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024
// Executed Command:
@@ -16,8 +17,7 @@
// compiled
// --extrinsic
// *
-// --template
-// .maintain/frame-weight-template.hbs
+// --template=.maintain/frame-weight-template.hbs
// --steps=50
// --repeat=80
// --heap-pages=4096
@@ -40,20 +40,33 @@
/// 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)
- // Storage: Nonfungible TokenData (r:1 w:0)
+ /// 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 {
- Weight::from_ref_time(11_663_000 as u64)
- .saturating_add(T::DbWeight::get().reads(2 as u64))
+ // Proof Size summary in bytes:
+ // Measured: `698`
+ // Estimated: `5867`
+ // Minimum execution time: 9_834_000 picoseconds.
+ Weight::from_parts(10_073_000, 5867)
+ .saturating_add(T::DbWeight::get().reads(2_u64))
}
}
// For backwards compatibility and tests
impl WeightInfo for () {
- // Storage: Common CollectionById (r:1 w:0)
- // Storage: Nonfungible TokenData (r:1 w:0)
+ /// 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 {
- Weight::from_ref_time(11_663_000 as u64)
- .saturating_add(RocksDbWeight::get().reads(2 as u64))
+ // Proof Size summary in bytes:
+ // Measured: `698`
+ // Estimated: `5867`
+ // Minimum execution time: 9_834_000 picoseconds.
+ Weight::from_parts(10_073_000, 5867)
+ .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,7 +3,8 @@
//! Autogenerated weights for pallet_unique
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
-//! DATE: 2023-02-15, STEPS: `50`, REPEAT: 80, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! DATE: 2023-03-30, STEPS: `50`, REPEAT: 80, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! WORST CASE MAP SIZE: `1000000`
//! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024
// Executed Command:
@@ -16,8 +17,7 @@
// compiled
// --extrinsic
// *
-// --template
-// .maintain/frame-weight-template.hbs
+// --template=.maintain/frame-weight-template.hbs
// --steps=50
// --repeat=80
// --heap-pages=4096
@@ -52,198 +52,363 @@
/// 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)
- // Storage: Common DestroyedCollectionCount (r:1 w:0)
- // Storage: System Account (r:2 w:2)
- // Storage: Common CollectionPropertyPermissions (r:0 w:1)
- // Storage: Common CollectionProperties (r:0 w:1)
- // Storage: Common CollectionById (r:0 w:1)
+ /// 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 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 {
- Weight::from_ref_time(47_681_000 as u64)
- .saturating_add(T::DbWeight::get().reads(4 as u64))
- .saturating_add(T::DbWeight::get().writes(6 as u64))
+ // Proof Size summary in bytes:
+ // Measured: `277`
+ // Estimated: `6204`
+ // Minimum execution time: 37_430_000 picoseconds.
+ Weight::from_parts(42_154_000, 6204)
+ .saturating_add(T::DbWeight::get().reads(4_u64))
+ .saturating_add(T::DbWeight::get().writes(6_u64))
}
- // Storage: Common CollectionById (r:1 w:1)
- // Storage: Nonfungible TokenData (r:1 w:0)
- // Storage: Common DestroyedCollectionCount (r:1 w:1)
- // Storage: Nonfungible TokensMinted (r:0 w:1)
- // Storage: Nonfungible TokensBurnt (r:0 w:1)
- // Storage: Common AdminAmount (r:0 w:1)
- // Storage: Common CollectionProperties (r:0 w:1)
+ /// 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 {
- Weight::from_ref_time(58_371_000 as u64)
- .saturating_add(T::DbWeight::get().reads(3 as u64))
- .saturating_add(T::DbWeight::get().writes(6 as u64))
+ // Proof Size summary in bytes:
+ // Measured: `1118`
+ // Estimated: `6366`
+ // Minimum execution time: 51_399_000 picoseconds.
+ Weight::from_parts(52_256_000, 6366)
+ .saturating_add(T::DbWeight::get().reads(3_u64))
+ .saturating_add(T::DbWeight::get().writes(6_u64))
}
- // Storage: Common CollectionById (r:1 w:0)
- // Storage: Common Allowlist (r:0 w:1)
+ /// 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 {
- Weight::from_ref_time(28_197_000 as u64)
- .saturating_add(T::DbWeight::get().reads(1 as u64))
- .saturating_add(T::DbWeight::get().writes(1 as u64))
+ // Proof Size summary in bytes:
+ // Measured: `999`
+ // Estimated: `3335`
+ // Minimum execution time: 16_355_000 picoseconds.
+ Weight::from_parts(16_737_000, 3335)
+ .saturating_add(T::DbWeight::get().reads(1_u64))
+ .saturating_add(T::DbWeight::get().writes(1_u64))
}
- // Storage: Common CollectionById (r:1 w:0)
- // Storage: Common Allowlist (r:0 w:1)
+ /// 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 {
- Weight::from_ref_time(27_782_000 as u64)
- .saturating_add(T::DbWeight::get().reads(1 as u64))
- .saturating_add(T::DbWeight::get().writes(1 as u64))
+ // Proof Size summary in bytes:
+ // Measured: `1032`
+ // Estimated: `3335`
+ // Minimum execution time: 15_812_000 picoseconds.
+ Weight::from_parts(16_102_000, 3335)
+ .saturating_add(T::DbWeight::get().reads(1_u64))
+ .saturating_add(T::DbWeight::get().writes(1_u64))
}
- // Storage: Common CollectionById (r:1 w:1)
+ /// 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 {
- Weight::from_ref_time(27_100_000 as u64)
- .saturating_add(T::DbWeight::get().reads(1 as u64))
- .saturating_add(T::DbWeight::get().writes(1 as u64))
+ // Proof Size summary in bytes:
+ // Measured: `999`
+ // Estimated: `3335`
+ // Minimum execution time: 15_072_000 picoseconds.
+ Weight::from_parts(15_540_000, 3335)
+ .saturating_add(T::DbWeight::get().reads(1_u64))
+ .saturating_add(T::DbWeight::get().writes(1_u64))
}
- // Storage: Common CollectionById (r:1 w:0)
- // Storage: Common IsAdmin (r:1 w:1)
- // Storage: Common AdminAmount (r:1 w:1)
+ /// 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 {
- Weight::from_ref_time(31_037_000 as u64)
- .saturating_add(T::DbWeight::get().reads(3 as u64))
- .saturating_add(T::DbWeight::get().writes(2 as u64))
+ // Proof Size summary in bytes:
+ // Measured: `999`
+ // Estimated: `8379`
+ // Minimum execution time: 18_268_000 picoseconds.
+ Weight::from_parts(18_931_000, 8379)
+ .saturating_add(T::DbWeight::get().reads(3_u64))
+ .saturating_add(T::DbWeight::get().writes(2_u64))
}
- // Storage: Common CollectionById (r:1 w:0)
- // Storage: Common IsAdmin (r:1 w:1)
- // Storage: Common AdminAmount (r:1 w:1)
+ /// 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 {
- Weight::from_ref_time(34_543_000 as u64)
- .saturating_add(T::DbWeight::get().reads(3 as u64))
- .saturating_add(T::DbWeight::get().writes(2 as u64))
+ // Proof Size summary in bytes:
+ // Measured: `1139`
+ // Estimated: `8379`
+ // Minimum execution time: 21_786_000 picoseconds.
+ Weight::from_parts(22_088_000, 8379)
+ .saturating_add(T::DbWeight::get().reads(3_u64))
+ .saturating_add(T::DbWeight::get().writes(2_u64))
}
- // Storage: Common CollectionById (r:1 w:1)
+ /// 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 {
- Weight::from_ref_time(27_109_000 as u64)
- .saturating_add(T::DbWeight::get().reads(1 as u64))
- .saturating_add(T::DbWeight::get().writes(1 as u64))
+ // Proof Size summary in bytes:
+ // Measured: `999`
+ // Estimated: `3335`
+ // Minimum execution time: 15_245_000 picoseconds.
+ Weight::from_parts(15_574_000, 3335)
+ .saturating_add(T::DbWeight::get().reads(1_u64))
+ .saturating_add(T::DbWeight::get().writes(1_u64))
}
- // Storage: Common CollectionById (r:1 w:1)
+ /// 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 {
- Weight::from_ref_time(26_916_000 as u64)
- .saturating_add(T::DbWeight::get().reads(1 as u64))
- .saturating_add(T::DbWeight::get().writes(1 as u64))
+ // Proof Size summary in bytes:
+ // Measured: `1031`
+ // Estimated: `3335`
+ // Minimum execution time: 15_073_000 picoseconds.
+ Weight::from_parts(15_407_000, 3335)
+ .saturating_add(T::DbWeight::get().reads(1_u64))
+ .saturating_add(T::DbWeight::get().writes(1_u64))
}
- // Storage: Common CollectionById (r:1 w:1)
+ /// 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 {
- Weight::from_ref_time(29_279_000 as u64)
- .saturating_add(T::DbWeight::get().reads(1 as u64))
- .saturating_add(T::DbWeight::get().writes(1 as u64))
+ // Proof Size summary in bytes:
+ // Measured: `1031`
+ // Estimated: `3335`
+ // Minimum execution time: 14_938_000 picoseconds.
+ Weight::from_parts(15_262_000, 3335)
+ .saturating_add(T::DbWeight::get().reads(1_u64))
+ .saturating_add(T::DbWeight::get().writes(1_u64))
}
- // Storage: Common CollectionById (r:1 w:1)
+ /// 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 {
- Weight::from_ref_time(13_064_000 as u64)
- .saturating_add(T::DbWeight::get().reads(1 as u64))
- .saturating_add(T::DbWeight::get().writes(1 as u64))
+ // Proof Size summary in bytes:
+ // Measured: `999`
+ // Estimated: `3335`
+ // Minimum execution time: 10_318_000 picoseconds.
+ Weight::from_parts(10_652_000, 3335)
+ .saturating_add(T::DbWeight::get().reads(1_u64))
+ .saturating_add(T::DbWeight::get().writes(1_u64))
}
- // Storage: Common CollectionById (r:1 w:1)
+ /// 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 {
- Weight::from_ref_time(27_442_000 as u64)
- .saturating_add(T::DbWeight::get().reads(1 as u64))
- .saturating_add(T::DbWeight::get().writes(1 as u64))
+ // Proof Size summary in bytes:
+ // Measured: `999`
+ // Estimated: `3335`
+ // Minimum execution time: 15_535_000 picoseconds.
+ Weight::from_parts(15_937_000, 3335)
+ .saturating_add(T::DbWeight::get().reads(1_u64))
+ .saturating_add(T::DbWeight::get().writes(1_u64))
}
- // Storage: Common CollectionProperties (r:1 w:1)
+ /// 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 {
- Weight::from_ref_time(10_730_000 as u64)
- .saturating_add(T::DbWeight::get().reads(1 as u64))
- .saturating_add(T::DbWeight::get().writes(1 as u64))
+ // Proof Size summary in bytes:
+ // Measured: `265`
+ // Estimated: `43467`
+ // Minimum execution time: 8_178_000 picoseconds.
+ Weight::from_parts(8_390_000, 43467)
+ .saturating_add(T::DbWeight::get().reads(1_u64))
+ .saturating_add(T::DbWeight::get().writes(1_u64))
}
}
// For backwards compatibility and tests
impl WeightInfo for () {
- // Storage: Common CreatedCollectionCount (r:1 w:1)
- // Storage: Common DestroyedCollectionCount (r:1 w:0)
- // Storage: System Account (r:2 w:2)
- // Storage: Common CollectionPropertyPermissions (r:0 w:1)
- // Storage: Common CollectionProperties (r:0 w:1)
- // Storage: Common CollectionById (r:0 w:1)
+ /// 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 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 {
- Weight::from_ref_time(47_681_000 as u64)
- .saturating_add(RocksDbWeight::get().reads(4 as u64))
- .saturating_add(RocksDbWeight::get().writes(6 as u64))
+ // Proof Size summary in bytes:
+ // Measured: `277`
+ // Estimated: `6204`
+ // Minimum execution time: 37_430_000 picoseconds.
+ Weight::from_parts(42_154_000, 6204)
+ .saturating_add(RocksDbWeight::get().reads(4_u64))
+ .saturating_add(RocksDbWeight::get().writes(6_u64))
}
- // Storage: Common CollectionById (r:1 w:1)
- // Storage: Nonfungible TokenData (r:1 w:0)
- // Storage: Common DestroyedCollectionCount (r:1 w:1)
- // Storage: Nonfungible TokensMinted (r:0 w:1)
- // Storage: Nonfungible TokensBurnt (r:0 w:1)
- // Storage: Common AdminAmount (r:0 w:1)
- // Storage: Common CollectionProperties (r:0 w:1)
+ /// 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 {
- Weight::from_ref_time(58_371_000 as u64)
- .saturating_add(RocksDbWeight::get().reads(3 as u64))
- .saturating_add(RocksDbWeight::get().writes(6 as u64))
+ // Proof Size summary in bytes:
+ // Measured: `1118`
+ // Estimated: `6366`
+ // Minimum execution time: 51_399_000 picoseconds.
+ Weight::from_parts(52_256_000, 6366)
+ .saturating_add(RocksDbWeight::get().reads(3_u64))
+ .saturating_add(RocksDbWeight::get().writes(6_u64))
}
- // Storage: Common CollectionById (r:1 w:0)
- // Storage: Common Allowlist (r:0 w:1)
+ /// 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 {
- Weight::from_ref_time(28_197_000 as u64)
- .saturating_add(RocksDbWeight::get().reads(1 as u64))
- .saturating_add(RocksDbWeight::get().writes(1 as u64))
+ // Proof Size summary in bytes:
+ // Measured: `999`
+ // Estimated: `3335`
+ // Minimum execution time: 16_355_000 picoseconds.
+ Weight::from_parts(16_737_000, 3335)
+ .saturating_add(RocksDbWeight::get().reads(1_u64))
+ .saturating_add(RocksDbWeight::get().writes(1_u64))
}
- // Storage: Common CollectionById (r:1 w:0)
- // Storage: Common Allowlist (r:0 w:1)
+ /// 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 {
- Weight::from_ref_time(27_782_000 as u64)
- .saturating_add(RocksDbWeight::get().reads(1 as u64))
- .saturating_add(RocksDbWeight::get().writes(1 as u64))
+ // Proof Size summary in bytes:
+ // Measured: `1032`
+ // Estimated: `3335`
+ // Minimum execution time: 15_812_000 picoseconds.
+ Weight::from_parts(16_102_000, 3335)
+ .saturating_add(RocksDbWeight::get().reads(1_u64))
+ .saturating_add(RocksDbWeight::get().writes(1_u64))
}
- // Storage: Common CollectionById (r:1 w:1)
+ /// 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 {
- Weight::from_ref_time(27_100_000 as u64)
- .saturating_add(RocksDbWeight::get().reads(1 as u64))
- .saturating_add(RocksDbWeight::get().writes(1 as u64))
+ // Proof Size summary in bytes:
+ // Measured: `999`
+ // Estimated: `3335`
+ // Minimum execution time: 15_072_000 picoseconds.
+ Weight::from_parts(15_540_000, 3335)
+ .saturating_add(RocksDbWeight::get().reads(1_u64))
+ .saturating_add(RocksDbWeight::get().writes(1_u64))
}
- // Storage: Common CollectionById (r:1 w:0)
- // Storage: Common IsAdmin (r:1 w:1)
- // Storage: Common AdminAmount (r:1 w:1)
+ /// 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 {
- Weight::from_ref_time(31_037_000 as u64)
- .saturating_add(RocksDbWeight::get().reads(3 as u64))
- .saturating_add(RocksDbWeight::get().writes(2 as u64))
+ // Proof Size summary in bytes:
+ // Measured: `999`
+ // Estimated: `8379`
+ // Minimum execution time: 18_268_000 picoseconds.
+ Weight::from_parts(18_931_000, 8379)
+ .saturating_add(RocksDbWeight::get().reads(3_u64))
+ .saturating_add(RocksDbWeight::get().writes(2_u64))
}
- // Storage: Common CollectionById (r:1 w:0)
- // Storage: Common IsAdmin (r:1 w:1)
- // Storage: Common AdminAmount (r:1 w:1)
+ /// 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 {
- Weight::from_ref_time(34_543_000 as u64)
- .saturating_add(RocksDbWeight::get().reads(3 as u64))
- .saturating_add(RocksDbWeight::get().writes(2 as u64))
+ // Proof Size summary in bytes:
+ // Measured: `1139`
+ // Estimated: `8379`
+ // Minimum execution time: 21_786_000 picoseconds.
+ Weight::from_parts(22_088_000, 8379)
+ .saturating_add(RocksDbWeight::get().reads(3_u64))
+ .saturating_add(RocksDbWeight::get().writes(2_u64))
}
- // Storage: Common CollectionById (r:1 w:1)
+ /// 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 {
- Weight::from_ref_time(27_109_000 as u64)
- .saturating_add(RocksDbWeight::get().reads(1 as u64))
- .saturating_add(RocksDbWeight::get().writes(1 as u64))
+ // Proof Size summary in bytes:
+ // Measured: `999`
+ // Estimated: `3335`
+ // Minimum execution time: 15_245_000 picoseconds.
+ Weight::from_parts(15_574_000, 3335)
+ .saturating_add(RocksDbWeight::get().reads(1_u64))
+ .saturating_add(RocksDbWeight::get().writes(1_u64))
}
- // Storage: Common CollectionById (r:1 w:1)
+ /// 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 {
- Weight::from_ref_time(26_916_000 as u64)
- .saturating_add(RocksDbWeight::get().reads(1 as u64))
- .saturating_add(RocksDbWeight::get().writes(1 as u64))
+ // Proof Size summary in bytes:
+ // Measured: `1031`
+ // Estimated: `3335`
+ // Minimum execution time: 15_073_000 picoseconds.
+ Weight::from_parts(15_407_000, 3335)
+ .saturating_add(RocksDbWeight::get().reads(1_u64))
+ .saturating_add(RocksDbWeight::get().writes(1_u64))
}
- // Storage: Common CollectionById (r:1 w:1)
+ /// 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 {
- Weight::from_ref_time(29_279_000 as u64)
- .saturating_add(RocksDbWeight::get().reads(1 as u64))
- .saturating_add(RocksDbWeight::get().writes(1 as u64))
+ // Proof Size summary in bytes:
+ // Measured: `1031`
+ // Estimated: `3335`
+ // Minimum execution time: 14_938_000 picoseconds.
+ Weight::from_parts(15_262_000, 3335)
+ .saturating_add(RocksDbWeight::get().reads(1_u64))
+ .saturating_add(RocksDbWeight::get().writes(1_u64))
}
- // Storage: Common CollectionById (r:1 w:1)
+ /// 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 {
- Weight::from_ref_time(13_064_000 as u64)
- .saturating_add(RocksDbWeight::get().reads(1 as u64))
- .saturating_add(RocksDbWeight::get().writes(1 as u64))
+ // Proof Size summary in bytes:
+ // Measured: `999`
+ // Estimated: `3335`
+ // Minimum execution time: 10_318_000 picoseconds.
+ Weight::from_parts(10_652_000, 3335)
+ .saturating_add(RocksDbWeight::get().reads(1_u64))
+ .saturating_add(RocksDbWeight::get().writes(1_u64))
}
- // Storage: Common CollectionById (r:1 w:1)
+ /// 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 {
- Weight::from_ref_time(27_442_000 as u64)
- .saturating_add(RocksDbWeight::get().reads(1 as u64))
- .saturating_add(RocksDbWeight::get().writes(1 as u64))
+ // Proof Size summary in bytes:
+ // Measured: `999`
+ // Estimated: `3335`
+ // Minimum execution time: 15_535_000 picoseconds.
+ Weight::from_parts(15_937_000, 3335)
+ .saturating_add(RocksDbWeight::get().reads(1_u64))
+ .saturating_add(RocksDbWeight::get().writes(1_u64))
}
- // Storage: Common CollectionProperties (r:1 w:1)
+ /// 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 {
- Weight::from_ref_time(10_730_000 as u64)
- .saturating_add(RocksDbWeight::get().reads(1 as u64))
- .saturating_add(RocksDbWeight::get().writes(1 as u64))
+ // Proof Size summary in bytes:
+ // Measured: `265`
+ // Estimated: `43467`
+ // Minimum execution time: 8_178_000 picoseconds.
+ Weight::from_parts(8_390_000, 43467)
+ .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
@@ -52,10 +52,10 @@
pub const SESSION_LENGTH: BlockNumber = HOURS;
// Targeting 0.1 UNQ per transfer
-pub const WEIGHT_TO_FEE_COEFF: u64 = /*<weight2fee>*/77_246_728_691_397_557/*</weight2fee>*/;
+pub const WEIGHT_TO_FEE_COEFF: u64 = /*<weight2fee>*/78_240_337_566_697_829/*</weight2fee>*/;
// Targeting 0.15 UNQ per transfer via ETH
-pub const MIN_GAS_PRICE: u64 = /*<mingasprice>*/1_017_135_340_028/*</mingasprice>*/;
+pub const MIN_GAS_PRICE: u64 = /*<mingasprice>*/1_031_842_664_630/*</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,7 +3,7 @@
//! Autogenerated weights for pallet_xcm
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
-//! DATE: 2023-03-10, STEPS: `50`, REPEAT: 80, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! DATE: 2023-03-30, STEPS: `50`, REPEAT: 80, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024
@@ -35,18 +35,24 @@
/// 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)
fn send() -> Weight {
// Proof Size summary in bytes:
- // Measured: `142`
- // Estimated: `1274`
- // Minimum execution time: 11_382_000 picoseconds.
- Weight::from_parts(11_812_000, 1274)
- .saturating_add(T::DbWeight::get().reads(2_u64))
- .saturating_add(T::DbWeight::get().writes(1_u64))
+ // Measured: `211`
+ // Estimated: `5510`
+ // Minimum execution time: 17_608_000 picoseconds.
+ Weight::from_parts(18_024_000, 5510)
+ .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)
@@ -54,8 +60,8 @@
// Proof Size summary in bytes:
// Measured: `136`
// Estimated: `499`
- // Minimum execution time: 13_195_000 picoseconds.
- Weight::from_parts(13_685_000, 499)
+ // Minimum execution time: 17_648_000 picoseconds.
+ Weight::from_parts(18_103_000, 499)
.saturating_add(T::DbWeight::get().reads(1_u64))
}
/// Storage: ParachainInfo ParachainId (r:1 w:0)
@@ -64,16 +70,16 @@
// Proof Size summary in bytes:
// Measured: `136`
// Estimated: `499`
- // Minimum execution time: 12_784_000 picoseconds.
- Weight::from_parts(13_155_000, 499)
+ // Minimum execution time: 17_529_000 picoseconds.
+ Weight::from_parts(18_009_000, 499)
.saturating_add(T::DbWeight::get().reads(1_u64))
}
fn execute() -> Weight {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
- // Minimum execution time: 4_569_000 picoseconds.
- Weight::from_parts(4_819_000, 0)
+ // Minimum execution time: 5_314_000 picoseconds.
+ Weight::from_parts(6_053_000, 0)
}
/// Storage: PolkadotXcm SupportedVersion (r:0 w:1)
/// Proof Skipped: PolkadotXcm SupportedVersion (max_values: None, max_size: None, mode: Measured)
@@ -81,8 +87,8 @@
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
- // Minimum execution time: 4_919_000 picoseconds.
- Weight::from_parts(5_250_000, 0)
+ // Minimum execution time: 5_577_000 picoseconds.
+ Weight::from_parts(5_831_000, 0)
.saturating_add(T::DbWeight::get().writes(1_u64))
}
/// Storage: PolkadotXcm SafeXcmVersion (r:0 w:1)
@@ -91,14 +97,20 @@
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
- // Minimum execution time: 1_593_000 picoseconds.
- Weight::from_parts(1_723_000, 0)
+ // Minimum execution time: 1_902_000 picoseconds.
+ Weight::from_parts(2_018_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)
@@ -107,15 +119,21 @@
/// Proof Skipped: PolkadotXcm Queries (max_values: None, max_size: None, mode: Measured)
fn force_subscribe_version_notify() -> Weight {
// Proof Size summary in bytes:
- // Measured: `184`
- // Estimated: `4880`
- // Minimum execution time: 16_832_000 picoseconds.
- Weight::from_parts(17_984_000, 4880)
- .saturating_add(T::DbWeight::get().reads(4_u64))
- .saturating_add(T::DbWeight::get().writes(4_u64))
+ // Measured: `211`
+ // Estimated: `9113`
+ // Minimum execution time: 21_675_000 picoseconds.
+ Weight::from_parts(22_161_000, 9113)
+ .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)
@@ -124,21 +142,21 @@
/// Proof Skipped: PolkadotXcm Queries (max_values: None, max_size: None, mode: Measured)
fn force_unsubscribe_version_notify() -> Weight {
// Proof Size summary in bytes:
- // Measured: `341`
- // Estimated: `4829`
- // Minimum execution time: 19_256_000 picoseconds.
- Weight::from_parts(20_228_000, 4829)
- .saturating_add(T::DbWeight::get().reads(3_u64))
- .saturating_add(T::DbWeight::get().writes(3_u64))
+ // Measured: `394`
+ // Estimated: `9688`
+ // Minimum execution time: 24_643_000 picoseconds.
+ Weight::from_parts(25_027_000, 9688)
+ .saturating_add(T::DbWeight::get().reads(6_u64))
+ .saturating_add(T::DbWeight::get().writes(4_u64))
}
/// Storage: PolkadotXcm SupportedVersion (r:4 w:2)
/// Proof Skipped: PolkadotXcm SupportedVersion (max_values: None, max_size: None, mode: Measured)
fn migrate_supported_version() -> Weight {
// Proof Size summary in bytes:
- // Measured: `108`
- // Estimated: `10008`
- // Minimum execution time: 14_437_000 picoseconds.
- Weight::from_parts(15_750_000, 10008)
+ // Measured: `131`
+ // Estimated: `10031`
+ // Minimum execution time: 14_077_000 picoseconds.
+ Weight::from_parts(14_594_000, 10031)
.saturating_add(T::DbWeight::get().reads(4_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
}
@@ -146,10 +164,10 @@
/// Proof Skipped: PolkadotXcm VersionNotifiers (max_values: None, max_size: None, mode: Measured)
fn migrate_version_notifiers() -> Weight {
// Proof Size summary in bytes:
- // Measured: `112`
- // Estimated: `10012`
- // Minimum execution time: 14_617_000 picoseconds.
- Weight::from_parts(16_000_000, 10012)
+ // Measured: `135`
+ // Estimated: `10035`
+ // Minimum execution time: 14_117_000 picoseconds.
+ Weight::from_parts(14_590_000, 10035)
.saturating_add(T::DbWeight::get().reads(4_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
}
@@ -157,62 +175,74 @@
/// Proof Skipped: PolkadotXcm VersionNotifyTargets (max_values: None, max_size: None, mode: Measured)
fn already_notified_target() -> Weight {
// Proof Size summary in bytes:
- // Measured: `119`
- // Estimated: `12494`
- // Minimum execution time: 18_395_000 picoseconds.
- Weight::from_parts(19_858_000, 12494)
+ // Measured: `142`
+ // Estimated: `12517`
+ // Minimum execution time: 16_284_000 picoseconds.
+ Weight::from_parts(16_817_000, 12517)
.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)
fn notify_current_targets() -> Weight {
// Proof Size summary in bytes:
- // Measured: `255`
- // Estimated: `6705`
- // Minimum execution time: 17_443_000 picoseconds.
- Weight::from_parts(18_435_000, 6705)
- .saturating_add(T::DbWeight::get().reads(4_u64))
- .saturating_add(T::DbWeight::get().writes(2_u64))
+ // Measured: `278`
+ // Estimated: `11073`
+ // Minimum execution time: 21_980_000 picoseconds.
+ Weight::from_parts(22_452_000, 11073)
+ .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)
fn notify_target_migration_fail() -> Weight {
// Proof Size summary in bytes:
- // Measured: `149`
- // Estimated: `7574`
- // Minimum execution time: 7_714_000 picoseconds.
- Weight::from_parts(8_526_000, 7574)
+ // Measured: `172`
+ // Estimated: `7597`
+ // Minimum execution time: 6_848_000 picoseconds.
+ Weight::from_parts(7_077_000, 7597)
.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)
fn migrate_version_notify_targets() -> Weight {
// Proof Size summary in bytes:
- // Measured: `119`
- // Estimated: `10019`
- // Minimum execution time: 15_008_000 picoseconds.
- Weight::from_parts(16_271_000, 10019)
+ // Measured: `142`
+ // Estimated: `10042`
+ // Minimum execution time: 14_509_000 picoseconds.
+ Weight::from_parts(15_012_000, 10042)
.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)
fn migrate_and_notify_old_targets() -> Weight {
// Proof Size summary in bytes:
- // Measured: `261`
- // Estimated: `11673`
- // Minimum execution time: 23_554_000 picoseconds.
- Weight::from_parts(25_158_000, 11673)
- .saturating_add(T::DbWeight::get().reads(6_u64))
- .saturating_add(T::DbWeight::get().writes(3_u64))
+ // Measured: `284`
+ // Estimated: `16059`
+ // Minimum execution time: 27_426_000 picoseconds.
+ Weight::from_parts(27_878_000, 16059)
+ .saturating_add(T::DbWeight::get().reads(9_u64))
+ .saturating_add(T::DbWeight::get().writes(4_u64))
}
}