difftreelog
build run benchmarks
in: master
10 files changed
pallets/common/src/weights.rsdiffbeforeafterboth--- a/pallets/common/src/weights.rs
+++ b/pallets/common/src/weights.rs
@@ -3,7 +3,7 @@
//! Autogenerated weights for pallet_common
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
-//! DATE: 2023-01-29, STEPS: `50`, REPEAT: 80, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! DATE: 2023-02-15, STEPS: `50`, REPEAT: 80, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024
// Executed Command:
@@ -43,17 +43,17 @@
impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Storage: Common CollectionProperties (r:1 w:1)
fn set_collection_properties(b: u32, ) -> Weight {
- Weight::from_ref_time(9_881_000 as u64)
- // Standard Error: 18_079
- .saturating_add(Weight::from_ref_time(6_561_011 as u64).saturating_mul(b as u64))
+ 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))
}
// Storage: Common CollectionProperties (r:1 w:1)
fn delete_collection_properties(b: u32, ) -> Weight {
- Weight::from_ref_time(9_502_000 as u64)
- // Standard Error: 67_255
- .saturating_add(Weight::from_ref_time(22_203_766 as u64).saturating_mul(b as u64))
+ 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))
}
@@ -63,17 +63,17 @@
impl WeightInfo for () {
// Storage: Common CollectionProperties (r:1 w:1)
fn set_collection_properties(b: u32, ) -> Weight {
- Weight::from_ref_time(9_881_000 as u64)
- // Standard Error: 18_079
- .saturating_add(Weight::from_ref_time(6_561_011 as u64).saturating_mul(b as u64))
+ 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))
}
// Storage: Common CollectionProperties (r:1 w:1)
fn delete_collection_properties(b: u32, ) -> Weight {
- Weight::from_ref_time(9_502_000 as u64)
- // Standard Error: 67_255
- .saturating_add(Weight::from_ref_time(22_203_766 as u64).saturating_mul(b as u64))
+ 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))
}
pallets/configuration/src/weights.rsdiffbeforeafterboth--- a/pallets/configuration/src/weights.rs
+++ b/pallets/configuration/src/weights.rs
@@ -3,7 +3,7 @@
//! Autogenerated weights for pallet_configuration
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
-//! DATE: 2023-01-29, STEPS: `50`, REPEAT: 80, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! DATE: 2023-02-15, STEPS: `50`, REPEAT: 80, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024
// Executed Command:
@@ -48,37 +48,37 @@
impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Storage: Configuration WeightToFeeCoefficientOverride (r:0 w:1)
fn set_weight_to_fee_coefficient_override() -> Weight {
- Weight::from_ref_time(3_865_000 as u64)
+ Weight::from_ref_time(3_732_000 as u64)
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
// Storage: Configuration MinGasPriceOverride (r:0 w:1)
fn set_min_gas_price_override() -> Weight {
- Weight::from_ref_time(4_221_000 as u64)
+ 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(5_329_000 as u64)
+ Weight::from_ref_time(3_975_000 as u64)
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
// Storage: Configuration AppPromomotionConfigurationOverride (r:0 w:1)
fn set_app_promotion_configuration_override() -> Weight {
- Weight::from_ref_time(5_805_000 as u64)
+ Weight::from_ref_time(4_759_000 as u64)
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
// Storage: Configuration CollatorSelectionDesiredCollatorsOverride (r:0 w:1)
fn set_collator_selection_desired_collators() -> Weight {
- Weight::from_ref_time(21_590_000 as u64)
+ Weight::from_ref_time(18_296_000 as u64)
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
// Storage: Configuration CollatorSelectionLicenseBondOverride (r:0 w:1)
fn set_collator_selection_license_bond() -> Weight {
- Weight::from_ref_time(15_141_000 as u64)
+ Weight::from_ref_time(14_397_000 as u64)
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
// Storage: Configuration CollatorSelectionKickThresholdOverride (r:0 w:1)
fn set_collator_selection_kick_threshold() -> Weight {
- Weight::from_ref_time(12_042_000 as u64)
+ Weight::from_ref_time(13_951_000 as u64)
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
}
@@ -87,37 +87,37 @@
impl WeightInfo for () {
// Storage: Configuration WeightToFeeCoefficientOverride (r:0 w:1)
fn set_weight_to_fee_coefficient_override() -> Weight {
- Weight::from_ref_time(3_865_000 as u64)
+ Weight::from_ref_time(3_732_000 as u64)
.saturating_add(RocksDbWeight::get().writes(1 as u64))
}
// Storage: Configuration MinGasPriceOverride (r:0 w:1)
fn set_min_gas_price_override() -> Weight {
- Weight::from_ref_time(4_221_000 as u64)
+ 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(5_329_000 as u64)
+ Weight::from_ref_time(3_975_000 as u64)
.saturating_add(RocksDbWeight::get().writes(1 as u64))
}
// Storage: Configuration AppPromomotionConfigurationOverride (r:0 w:1)
fn set_app_promotion_configuration_override() -> Weight {
- Weight::from_ref_time(5_805_000 as u64)
+ Weight::from_ref_time(4_759_000 as u64)
.saturating_add(RocksDbWeight::get().writes(1 as u64))
}
// Storage: Configuration CollatorSelectionDesiredCollatorsOverride (r:0 w:1)
fn set_collator_selection_desired_collators() -> Weight {
- Weight::from_ref_time(21_590_000 as u64)
+ Weight::from_ref_time(18_296_000 as u64)
.saturating_add(RocksDbWeight::get().writes(1 as u64))
}
// Storage: Configuration CollatorSelectionLicenseBondOverride (r:0 w:1)
fn set_collator_selection_license_bond() -> Weight {
- Weight::from_ref_time(15_141_000 as u64)
+ Weight::from_ref_time(14_397_000 as u64)
.saturating_add(RocksDbWeight::get().writes(1 as u64))
}
// Storage: Configuration CollatorSelectionKickThresholdOverride (r:0 w:1)
fn set_collator_selection_kick_threshold() -> Weight {
- Weight::from_ref_time(12_042_000 as u64)
+ Weight::from_ref_time(13_951_000 as u64)
.saturating_add(RocksDbWeight::get().writes(1 as u64))
}
}
pallets/evm-migration/src/weights.rsdiffbeforeafterboth--- a/pallets/evm-migration/src/weights.rs
+++ b/pallets/evm-migration/src/weights.rs
@@ -3,7 +3,7 @@
//! Autogenerated weights for pallet_evm_migration
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
-//! DATE: 2023-01-29, STEPS: `50`, REPEAT: 80, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! DATE: 2023-02-15, STEPS: `50`, REPEAT: 80, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024
// Executed Command:
@@ -48,35 +48,37 @@
// Storage: System Account (r:1 w:0)
// Storage: EVM AccountCodes (r:1 w:0)
fn begin() -> Weight {
- Weight::from_ref_time(16_189_000 as u64)
+ 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))
}
// Storage: EvmMigration MigrationPending (r:1 w:0)
// Storage: EVM AccountStorages (r:0 w:1)
fn set_data(b: u32, ) -> Weight {
- Weight::from_ref_time(7_829_947 as u64)
- // Standard Error: 687
- .saturating_add(Weight::from_ref_time(968_768 as u64).saturating_mul(b as u64))
+ 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)))
}
// Storage: EvmMigration MigrationPending (r:1 w:1)
// Storage: EVM AccountCodes (r:0 w:1)
- fn finish(_b: u32, ) -> Weight {
- Weight::from_ref_time(9_559_086 as u64)
+ 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))
}
fn insert_eth_logs(b: u32, ) -> Weight {
- Weight::from_ref_time(7_535_186 as u64)
- // Standard Error: 1_440
- .saturating_add(Weight::from_ref_time(699_517 as u64).saturating_mul(b as u64))
+ 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))
}
fn insert_events(b: u32, ) -> Weight {
- Weight::from_ref_time(10_612_317 as u64)
- // Standard Error: 999
- .saturating_add(Weight::from_ref_time(1_296_893 as u64).saturating_mul(b as u64))
+ 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))
}
}
@@ -86,34 +88,36 @@
// Storage: System Account (r:1 w:0)
// Storage: EVM AccountCodes (r:1 w:0)
fn begin() -> Weight {
- Weight::from_ref_time(16_189_000 as u64)
+ 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))
}
// Storage: EvmMigration MigrationPending (r:1 w:0)
// Storage: EVM AccountStorages (r:0 w:1)
fn set_data(b: u32, ) -> Weight {
- Weight::from_ref_time(7_829_947 as u64)
- // Standard Error: 687
- .saturating_add(Weight::from_ref_time(968_768 as u64).saturating_mul(b as u64))
+ 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)))
}
// Storage: EvmMigration MigrationPending (r:1 w:1)
// Storage: EVM AccountCodes (r:0 w:1)
- fn finish(_b: u32, ) -> Weight {
- Weight::from_ref_time(9_559_086 as u64)
+ 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))
}
fn insert_eth_logs(b: u32, ) -> Weight {
- Weight::from_ref_time(7_535_186 as u64)
- // Standard Error: 1_440
- .saturating_add(Weight::from_ref_time(699_517 as u64).saturating_mul(b as u64))
+ 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))
}
fn insert_events(b: u32, ) -> Weight {
- Weight::from_ref_time(10_612_317 as u64)
- // Standard Error: 999
- .saturating_add(Weight::from_ref_time(1_296_893 as u64).saturating_mul(b as u64))
+ 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))
}
}
pallets/foreign-assets/src/weights.rsdiffbeforeafterboth--- a/pallets/foreign-assets/src/weights.rs
+++ b/pallets/foreign-assets/src/weights.rs
@@ -3,7 +3,7 @@
//! Autogenerated weights for pallet_foreign_assets
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
-//! DATE: 2023-01-29, STEPS: `50`, REPEAT: 80, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! DATE: 2023-02-15, STEPS: `50`, REPEAT: 80, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024
// Executed Command:
@@ -53,14 +53,14 @@
// Storage: Common CollectionProperties (r:0 w:1)
// Storage: Common CollectionById (r:0 w:1)
fn register_foreign_asset() -> Weight {
- Weight::from_ref_time(50_058_000 as u64)
+ 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))
}
// Storage: ForeignAssets ForeignAssetLocations (r:1 w:1)
// Storage: ForeignAssets AssetMetadatas (r:1 w:1)
fn update_foreign_asset() -> Weight {
- Weight::from_ref_time(22_669_000 as u64)
+ 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))
}
@@ -80,14 +80,14 @@
// Storage: Common CollectionProperties (r:0 w:1)
// Storage: Common CollectionById (r:0 w:1)
fn register_foreign_asset() -> Weight {
- Weight::from_ref_time(50_058_000 as u64)
+ 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))
}
// Storage: ForeignAssets ForeignAssetLocations (r:1 w:1)
// Storage: ForeignAssets AssetMetadatas (r:1 w:1)
fn update_foreign_asset() -> Weight {
- Weight::from_ref_time(22_669_000 as u64)
+ 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))
}
pallets/fungible/src/weights.rsdiffbeforeafterboth--- a/pallets/fungible/src/weights.rs
+++ b/pallets/fungible/src/weights.rs
@@ -3,7 +3,7 @@
//! Autogenerated weights for pallet_fungible
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
-//! DATE: 2023-01-29, STEPS: `50`, REPEAT: 80, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! DATE: 2023-02-15, STEPS: `50`, REPEAT: 80, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024
// Executed Command:
@@ -50,16 +50,16 @@
// Storage: Fungible TotalSupply (r:1 w:1)
// Storage: Fungible Balance (r:1 w:1)
fn create_item() -> Weight {
- Weight::from_ref_time(20_606_000 as u64)
+ 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))
}
// Storage: Fungible TotalSupply (r:1 w:1)
// Storage: Fungible Balance (r:4 w:4)
fn create_multiple_items_ex(b: u32, ) -> Weight {
- Weight::from_ref_time(21_771_237 as u64)
- // Standard Error: 10_207
- .saturating_add(Weight::from_ref_time(3_627_533 as u64).saturating_mul(b as u64))
+ 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))
@@ -68,34 +68,34 @@
// Storage: Fungible TotalSupply (r:1 w:1)
// Storage: Fungible Balance (r:1 w:1)
fn burn_item() -> Weight {
- Weight::from_ref_time(22_468_000 as u64)
+ 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))
}
// Storage: Fungible Balance (r:2 w:2)
fn transfer() -> Weight {
- Weight::from_ref_time(23_377_000 as u64)
+ 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))
}
// Storage: Fungible Balance (r:1 w:0)
// Storage: Fungible Allowance (r:0 w:1)
fn approve() -> Weight {
- Weight::from_ref_time(22_704_000 as u64)
+ 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))
}
// Storage: Fungible Balance (r:1 w:0)
// Storage: Fungible Allowance (r:0 w:1)
fn approve_from() -> Weight {
- Weight::from_ref_time(22_777_000 as u64)
+ 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))
}
// Storage: Fungible Allowance (r:1 w:1)
// Storage: Fungible Balance (r:2 w:2)
fn transfer_from() -> Weight {
- Weight::from_ref_time(32_568_000 as u64)
+ 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))
}
@@ -103,7 +103,7 @@
// Storage: Fungible TotalSupply (r:1 w:1)
// Storage: Fungible Balance (r:1 w:1)
fn burn_from() -> Weight {
- Weight::from_ref_time(32_838_000 as u64)
+ 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))
}
@@ -114,16 +114,16 @@
// Storage: Fungible TotalSupply (r:1 w:1)
// Storage: Fungible Balance (r:1 w:1)
fn create_item() -> Weight {
- Weight::from_ref_time(20_606_000 as u64)
+ 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))
}
// Storage: Fungible TotalSupply (r:1 w:1)
// Storage: Fungible Balance (r:4 w:4)
fn create_multiple_items_ex(b: u32, ) -> Weight {
- Weight::from_ref_time(21_771_237 as u64)
- // Standard Error: 10_207
- .saturating_add(Weight::from_ref_time(3_627_533 as u64).saturating_mul(b as u64))
+ 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))
@@ -132,34 +132,34 @@
// Storage: Fungible TotalSupply (r:1 w:1)
// Storage: Fungible Balance (r:1 w:1)
fn burn_item() -> Weight {
- Weight::from_ref_time(22_468_000 as u64)
+ 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))
}
// Storage: Fungible Balance (r:2 w:2)
fn transfer() -> Weight {
- Weight::from_ref_time(23_377_000 as u64)
+ 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))
}
// Storage: Fungible Balance (r:1 w:0)
// Storage: Fungible Allowance (r:0 w:1)
fn approve() -> Weight {
- Weight::from_ref_time(22_704_000 as u64)
+ 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))
}
// Storage: Fungible Balance (r:1 w:0)
// Storage: Fungible Allowance (r:0 w:1)
fn approve_from() -> Weight {
- Weight::from_ref_time(22_777_000 as u64)
+ 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))
}
// Storage: Fungible Allowance (r:1 w:1)
// Storage: Fungible Balance (r:2 w:2)
fn transfer_from() -> Weight {
- Weight::from_ref_time(32_568_000 as u64)
+ 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))
}
@@ -167,7 +167,7 @@
// Storage: Fungible TotalSupply (r:1 w:1)
// Storage: Fungible Balance (r:1 w:1)
fn burn_from() -> Weight {
- Weight::from_ref_time(32_838_000 as u64)
+ 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))
}
pallets/nonfungible/src/weights.rsdiffbeforeafterboth--- a/pallets/nonfungible/src/weights.rs
+++ b/pallets/nonfungible/src/weights.rs
@@ -3,7 +3,7 @@
//! Autogenerated weights for pallet_nonfungible
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
-//! DATE: 2023-01-29, STEPS: `50`, REPEAT: 80, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! DATE: 2023-02-15, STEPS: `50`, REPEAT: 80, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024
// Executed Command:
@@ -64,7 +64,7 @@
// Storage: Nonfungible TokenData (r:0 w:1)
// Storage: Nonfungible Owned (r:0 w:1)
fn create_item() -> Weight {
- Weight::from_ref_time(34_313_000 as u64)
+ Weight::from_ref_time(35_333_000 as u64)
.saturating_add(T::DbWeight::get().reads(4 as u64))
.saturating_add(T::DbWeight::get().writes(5 as u64))
}
@@ -75,9 +75,9 @@
// Storage: Nonfungible TokenData (r:0 w:4)
// Storage: Nonfungible Owned (r:0 w:4)
fn create_multiple_items(b: u32, ) -> Weight {
- Weight::from_ref_time(19_201_665 as u64)
- // Standard Error: 4_780
- .saturating_add(Weight::from_ref_time(7_373_591 as u64).saturating_mul(b as u64))
+ Weight::from_ref_time(19_091_371 as u64)
+ // Standard Error: 3_221
+ .saturating_add(Weight::from_ref_time(7_304_849 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))
@@ -90,9 +90,9 @@
// Storage: Nonfungible TokenData (r:0 w:4)
// Storage: Nonfungible Owned (r:0 w:4)
fn create_multiple_items_ex(b: u32, ) -> Weight {
- Weight::from_ref_time(13_021_971 as u64)
- // Standard Error: 5_117
- .saturating_add(Weight::from_ref_time(9_163_935 as u64).saturating_mul(b as u64))
+ Weight::from_ref_time(12_655_339 as u64)
+ // Standard Error: 3_655
+ .saturating_add(Weight::from_ref_time(9_051_919 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))
@@ -106,7 +106,7 @@
// Storage: Nonfungible Owned (r:0 w:1)
// Storage: Nonfungible TokenProperties (r:0 w:1)
fn burn_item() -> Weight {
- Weight::from_ref_time(35_727_000 as u64)
+ Weight::from_ref_time(34_068_000 as u64)
.saturating_add(T::DbWeight::get().reads(5 as u64))
.saturating_add(T::DbWeight::get().writes(5 as u64))
}
@@ -118,7 +118,7 @@
// Storage: Nonfungible Owned (r:0 w:1)
// Storage: Nonfungible TokenProperties (r:0 w:1)
fn burn_recursively_self_raw() -> Weight {
- Weight::from_ref_time(44_618_000 as u64)
+ Weight::from_ref_time(44_840_000 as u64)
.saturating_add(T::DbWeight::get().reads(5 as u64))
.saturating_add(T::DbWeight::get().writes(5 as u64))
}
@@ -131,9 +131,9 @@
// Storage: Nonfungible TokenProperties (r:0 w:1)
// Storage: Common CollectionById (r:1 w:0)
fn burn_recursively_breadth_plus_self_plus_self_per_each_raw(b: u32, ) -> Weight {
- Weight::from_ref_time(45_095_000 as u64)
- // Standard Error: 1_034_807
- .saturating_add(Weight::from_ref_time(215_008_105 as u64).saturating_mul(b as u64))
+ Weight::from_ref_time(44_567_000 as u64)
+ // Standard Error: 1_014_743
+ .saturating_add(Weight::from_ref_time(209_619_240 as u64).saturating_mul(b as u64))
.saturating_add(T::DbWeight::get().reads(7 as u64))
.saturating_add(T::DbWeight::get().reads((4 as u64).saturating_mul(b as u64)))
.saturating_add(T::DbWeight::get().writes(6 as u64))
@@ -144,21 +144,21 @@
// Storage: Nonfungible Allowance (r:1 w:0)
// Storage: Nonfungible Owned (r:0 w:2)
fn transfer() -> Weight {
- Weight::from_ref_time(29_636_000 as u64)
+ Weight::from_ref_time(29_508_000 as u64)
.saturating_add(T::DbWeight::get().reads(4 as u64))
.saturating_add(T::DbWeight::get().writes(5 as u64))
}
// Storage: Nonfungible TokenData (r:1 w:0)
// Storage: Nonfungible Allowance (r:1 w:1)
fn approve() -> Weight {
- Weight::from_ref_time(22_440_000 as u64)
+ Weight::from_ref_time(22_168_000 as u64)
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
// Storage: Nonfungible TokenData (r:1 w:0)
// Storage: Nonfungible Allowance (r:1 w:1)
fn approve_from() -> Weight {
- Weight::from_ref_time(22_519_000 as u64)
+ Weight::from_ref_time(22_063_000 as u64)
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
@@ -167,7 +167,7 @@
// Storage: Nonfungible AccountBalance (r:2 w:2)
// Storage: Nonfungible Owned (r:0 w:2)
fn transfer_from() -> Weight {
- Weight::from_ref_time(36_354_000 as u64)
+ Weight::from_ref_time(36_386_000 as u64)
.saturating_add(T::DbWeight::get().reads(4 as u64))
.saturating_add(T::DbWeight::get().writes(6 as u64))
}
@@ -179,54 +179,54 @@
// Storage: Nonfungible Owned (r:0 w:1)
// Storage: Nonfungible TokenProperties (r:0 w:1)
fn burn_from() -> Weight {
- Weight::from_ref_time(42_533_000 as u64)
+ Weight::from_ref_time(42_499_000 as u64)
.saturating_add(T::DbWeight::get().reads(5 as u64))
.saturating_add(T::DbWeight::get().writes(6 as u64))
}
// Storage: Common CollectionPropertyPermissions (r:1 w:1)
fn set_token_property_permissions(b: u32, ) -> Weight {
- Weight::from_ref_time(5_189_000 as u64)
- // Standard Error: 45_637
- .saturating_add(Weight::from_ref_time(12_760_623 as u64).saturating_mul(b as u64))
+ Weight::from_ref_time(5_317_000 as u64)
+ // Standard Error: 42_045
+ .saturating_add(Weight::from_ref_time(12_179_871 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))
}
// Storage: Nonfungible TokenProperties (r:1 w:1)
// Storage: Common CollectionPropertyPermissions (r:1 w:0)
fn set_token_properties(b: u32, ) -> Weight {
- Weight::from_ref_time(22_023_308 as u64)
- // Standard Error: 10_490
- .saturating_add(Weight::from_ref_time(6_199_746 as u64).saturating_mul(b as u64))
+ Weight::from_ref_time(15_428_000 as u64)
+ // Standard Error: 58_002
+ .saturating_add(Weight::from_ref_time(7_195_842 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))
}
// Storage: Nonfungible TokenProperties (r:1 w:1)
// Storage: Common CollectionPropertyPermissions (r:1 w:0)
fn delete_token_properties(b: u32, ) -> Weight {
- Weight::from_ref_time(15_064_000 as u64)
- // Standard Error: 70_297
- .saturating_add(Weight::from_ref_time(22_826_857 as u64).saturating_mul(b as u64))
+ Weight::from_ref_time(15_498_000 as u64)
+ // Standard Error: 68_276
+ .saturating_add(Weight::from_ref_time(22_441_281 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))
}
// Storage: Nonfungible TokenData (r:1 w:0)
fn token_owner() -> Weight {
- Weight::from_ref_time(6_837_000 as u64)
+ Weight::from_ref_time(7_006_000 as u64)
.saturating_add(T::DbWeight::get().reads(1 as u64))
}
// Storage: Nonfungible CollectionAllowance (r:0 w:1)
fn set_allowance_for_all() -> Weight {
- Weight::from_ref_time(16_618_000 as u64)
+ Weight::from_ref_time(16_761_000 as u64)
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
// Storage: Nonfungible CollectionAllowance (r:1 w:0)
fn allowance_for_all() -> Weight {
- Weight::from_ref_time(5_430_000 as u64)
+ Weight::from_ref_time(5_577_000 as u64)
.saturating_add(T::DbWeight::get().reads(1 as u64))
}
// Storage: Nonfungible TokenProperties (r:1 w:1)
fn repair_item() -> Weight {
- Weight::from_ref_time(7_776_000 as u64)
+ Weight::from_ref_time(7_670_000 as u64)
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
@@ -241,7 +241,7 @@
// Storage: Nonfungible TokenData (r:0 w:1)
// Storage: Nonfungible Owned (r:0 w:1)
fn create_item() -> Weight {
- Weight::from_ref_time(34_313_000 as u64)
+ Weight::from_ref_time(35_333_000 as u64)
.saturating_add(RocksDbWeight::get().reads(4 as u64))
.saturating_add(RocksDbWeight::get().writes(5 as u64))
}
@@ -252,9 +252,9 @@
// Storage: Nonfungible TokenData (r:0 w:4)
// Storage: Nonfungible Owned (r:0 w:4)
fn create_multiple_items(b: u32, ) -> Weight {
- Weight::from_ref_time(19_201_665 as u64)
- // Standard Error: 4_780
- .saturating_add(Weight::from_ref_time(7_373_591 as u64).saturating_mul(b as u64))
+ Weight::from_ref_time(19_091_371 as u64)
+ // Standard Error: 3_221
+ .saturating_add(Weight::from_ref_time(7_304_849 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))
@@ -267,9 +267,9 @@
// Storage: Nonfungible TokenData (r:0 w:4)
// Storage: Nonfungible Owned (r:0 w:4)
fn create_multiple_items_ex(b: u32, ) -> Weight {
- Weight::from_ref_time(13_021_971 as u64)
- // Standard Error: 5_117
- .saturating_add(Weight::from_ref_time(9_163_935 as u64).saturating_mul(b as u64))
+ Weight::from_ref_time(12_655_339 as u64)
+ // Standard Error: 3_655
+ .saturating_add(Weight::from_ref_time(9_051_919 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))
@@ -283,7 +283,7 @@
// Storage: Nonfungible Owned (r:0 w:1)
// Storage: Nonfungible TokenProperties (r:0 w:1)
fn burn_item() -> Weight {
- Weight::from_ref_time(35_727_000 as u64)
+ Weight::from_ref_time(34_068_000 as u64)
.saturating_add(RocksDbWeight::get().reads(5 as u64))
.saturating_add(RocksDbWeight::get().writes(5 as u64))
}
@@ -295,7 +295,7 @@
// Storage: Nonfungible Owned (r:0 w:1)
// Storage: Nonfungible TokenProperties (r:0 w:1)
fn burn_recursively_self_raw() -> Weight {
- Weight::from_ref_time(44_618_000 as u64)
+ Weight::from_ref_time(44_840_000 as u64)
.saturating_add(RocksDbWeight::get().reads(5 as u64))
.saturating_add(RocksDbWeight::get().writes(5 as u64))
}
@@ -308,9 +308,9 @@
// Storage: Nonfungible TokenProperties (r:0 w:1)
// Storage: Common CollectionById (r:1 w:0)
fn burn_recursively_breadth_plus_self_plus_self_per_each_raw(b: u32, ) -> Weight {
- Weight::from_ref_time(45_095_000 as u64)
- // Standard Error: 1_034_807
- .saturating_add(Weight::from_ref_time(215_008_105 as u64).saturating_mul(b as u64))
+ Weight::from_ref_time(44_567_000 as u64)
+ // Standard Error: 1_014_743
+ .saturating_add(Weight::from_ref_time(209_619_240 as u64).saturating_mul(b as u64))
.saturating_add(RocksDbWeight::get().reads(7 as u64))
.saturating_add(RocksDbWeight::get().reads((4 as u64).saturating_mul(b as u64)))
.saturating_add(RocksDbWeight::get().writes(6 as u64))
@@ -321,21 +321,21 @@
// Storage: Nonfungible Allowance (r:1 w:0)
// Storage: Nonfungible Owned (r:0 w:2)
fn transfer() -> Weight {
- Weight::from_ref_time(29_636_000 as u64)
+ Weight::from_ref_time(29_508_000 as u64)
.saturating_add(RocksDbWeight::get().reads(4 as u64))
.saturating_add(RocksDbWeight::get().writes(5 as u64))
}
// Storage: Nonfungible TokenData (r:1 w:0)
// Storage: Nonfungible Allowance (r:1 w:1)
fn approve() -> Weight {
- Weight::from_ref_time(22_440_000 as u64)
+ Weight::from_ref_time(22_168_000 as u64)
.saturating_add(RocksDbWeight::get().reads(2 as u64))
.saturating_add(RocksDbWeight::get().writes(1 as u64))
}
// Storage: Nonfungible TokenData (r:1 w:0)
// Storage: Nonfungible Allowance (r:1 w:1)
fn approve_from() -> Weight {
- Weight::from_ref_time(22_519_000 as u64)
+ Weight::from_ref_time(22_063_000 as u64)
.saturating_add(RocksDbWeight::get().reads(2 as u64))
.saturating_add(RocksDbWeight::get().writes(1 as u64))
}
@@ -344,7 +344,7 @@
// Storage: Nonfungible AccountBalance (r:2 w:2)
// Storage: Nonfungible Owned (r:0 w:2)
fn transfer_from() -> Weight {
- Weight::from_ref_time(36_354_000 as u64)
+ Weight::from_ref_time(36_386_000 as u64)
.saturating_add(RocksDbWeight::get().reads(4 as u64))
.saturating_add(RocksDbWeight::get().writes(6 as u64))
}
@@ -356,54 +356,54 @@
// Storage: Nonfungible Owned (r:0 w:1)
// Storage: Nonfungible TokenProperties (r:0 w:1)
fn burn_from() -> Weight {
- Weight::from_ref_time(42_533_000 as u64)
+ Weight::from_ref_time(42_499_000 as u64)
.saturating_add(RocksDbWeight::get().reads(5 as u64))
.saturating_add(RocksDbWeight::get().writes(6 as u64))
}
// Storage: Common CollectionPropertyPermissions (r:1 w:1)
fn set_token_property_permissions(b: u32, ) -> Weight {
- Weight::from_ref_time(5_189_000 as u64)
- // Standard Error: 45_637
- .saturating_add(Weight::from_ref_time(12_760_623 as u64).saturating_mul(b as u64))
+ Weight::from_ref_time(5_317_000 as u64)
+ // Standard Error: 42_045
+ .saturating_add(Weight::from_ref_time(12_179_871 as u64).saturating_mul(b as u64))
.saturating_add(RocksDbWeight::get().reads(1 as u64))
.saturating_add(RocksDbWeight::get().writes(1 as u64))
}
// Storage: Nonfungible TokenProperties (r:1 w:1)
// Storage: Common CollectionPropertyPermissions (r:1 w:0)
fn set_token_properties(b: u32, ) -> Weight {
- Weight::from_ref_time(22_023_308 as u64)
- // Standard Error: 10_490
- .saturating_add(Weight::from_ref_time(6_199_746 as u64).saturating_mul(b as u64))
+ Weight::from_ref_time(15_428_000 as u64)
+ // Standard Error: 58_002
+ .saturating_add(Weight::from_ref_time(7_195_842 as u64).saturating_mul(b as u64))
.saturating_add(RocksDbWeight::get().reads(2 as u64))
.saturating_add(RocksDbWeight::get().writes(1 as u64))
}
// Storage: Nonfungible TokenProperties (r:1 w:1)
// Storage: Common CollectionPropertyPermissions (r:1 w:0)
fn delete_token_properties(b: u32, ) -> Weight {
- Weight::from_ref_time(15_064_000 as u64)
- // Standard Error: 70_297
- .saturating_add(Weight::from_ref_time(22_826_857 as u64).saturating_mul(b as u64))
+ Weight::from_ref_time(15_498_000 as u64)
+ // Standard Error: 68_276
+ .saturating_add(Weight::from_ref_time(22_441_281 as u64).saturating_mul(b as u64))
.saturating_add(RocksDbWeight::get().reads(2 as u64))
.saturating_add(RocksDbWeight::get().writes(1 as u64))
}
// Storage: Nonfungible TokenData (r:1 w:0)
fn token_owner() -> Weight {
- Weight::from_ref_time(6_837_000 as u64)
+ Weight::from_ref_time(7_006_000 as u64)
.saturating_add(RocksDbWeight::get().reads(1 as u64))
}
// Storage: Nonfungible CollectionAllowance (r:0 w:1)
fn set_allowance_for_all() -> Weight {
- Weight::from_ref_time(16_618_000 as u64)
+ Weight::from_ref_time(16_761_000 as u64)
.saturating_add(RocksDbWeight::get().writes(1 as u64))
}
// Storage: Nonfungible CollectionAllowance (r:1 w:0)
fn allowance_for_all() -> Weight {
- Weight::from_ref_time(5_430_000 as u64)
+ Weight::from_ref_time(5_577_000 as u64)
.saturating_add(RocksDbWeight::get().reads(1 as u64))
}
// Storage: Nonfungible TokenProperties (r:1 w:1)
fn repair_item() -> Weight {
- Weight::from_ref_time(7_776_000 as u64)
+ Weight::from_ref_time(7_670_000 as u64)
.saturating_add(RocksDbWeight::get().reads(1 as u64))
.saturating_add(RocksDbWeight::get().writes(1 as u64))
}
pallets/refungible/src/weights.rsdiffbeforeafterboth1// Template adopted from https://github.com/paritytech/substrate/blob/master/.maintain/frame-weight-template.hbs23//! Autogenerated weights for pallet_refungible4//!5//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev6//! DATE: 2023-01-29, STEPS: `50`, REPEAT: 80, LOW RANGE: `[]`, HIGH RANGE: `[]`7//! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 102489// Executed Command:10// target/release/unique-collator11// benchmark12// pallet13// --pallet14// pallet-refungible15// --wasm-execution16// compiled17// --extrinsic18// *19// --template20// .maintain/frame-weight-template.hbs21// --steps=5022// --repeat=8023// --heap-pages=409624// --output=./pallets/refungible/src/weights.rs2526#![cfg_attr(rustfmt, rustfmt_skip)]27#![allow(unused_parens)]28#![allow(unused_imports)]29#![allow(missing_docs)]30#![allow(clippy::unnecessary_cast)]3132use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}};33use sp_std::marker::PhantomData;3435/// Weight functions needed for pallet_refungible.36pub trait WeightInfo {37 fn create_item() -> Weight;38 fn create_multiple_items(b: u32, ) -> Weight;39 fn create_multiple_items_ex_multiple_items(b: u32, ) -> Weight;40 fn create_multiple_items_ex_multiple_owners(b: u32, ) -> Weight;41 fn burn_item_partial() -> Weight;42 fn burn_item_fully() -> Weight;43 fn transfer_normal() -> Weight;44 fn transfer_creating() -> Weight;45 fn transfer_removing() -> Weight;46 fn transfer_creating_removing() -> Weight;47 fn approve() -> Weight;48 fn approve_from() -> Weight;49 fn transfer_from_normal() -> Weight;50 fn transfer_from_creating() -> Weight;51 fn transfer_from_removing() -> Weight;52 fn transfer_from_creating_removing() -> Weight;53 fn burn_from() -> Weight;54 fn set_token_property_permissions(b: u32, ) -> Weight;55 fn set_token_properties(b: u32, ) -> Weight;56 fn delete_token_properties(b: u32, ) -> Weight;57 fn repartition_item() -> Weight;58 fn token_owner() -> Weight;59 fn set_allowance_for_all() -> Weight;60 fn allowance_for_all() -> Weight;61 fn repair_item() -> Weight;62}6364/// Weights for pallet_refungible using the Substrate node and recommended hardware.65pub struct SubstrateWeight<T>(PhantomData<T>);66impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {67 // Storage: Refungible TokensMinted (r:1 w:1)68 // Storage: Refungible AccountBalance (r:1 w:1)69 // Storage: Refungible TokenProperties (r:1 w:1)70 // Storage: Common CollectionPropertyPermissions (r:1 w:0)71 // Storage: Refungible Balance (r:0 w:1)72 // Storage: Refungible TotalSupply (r:0 w:1)73 // Storage: Refungible Owned (r:0 w:1)74 fn create_item() -> Weight {75 Weight::from_ref_time(39_775_000 as u64)76 .saturating_add(T::DbWeight::get().reads(4 as u64))77 .saturating_add(T::DbWeight::get().writes(6 as u64))78 }79 // Storage: Refungible TokensMinted (r:1 w:1)80 // Storage: Refungible AccountBalance (r:1 w:1)81 // Storage: Refungible TokenProperties (r:4 w:4)82 // Storage: Common CollectionPropertyPermissions (r:1 w:0)83 // Storage: Refungible Balance (r:0 w:4)84 // Storage: Refungible TotalSupply (r:0 w:4)85 // Storage: Refungible Owned (r:0 w:4)86 fn create_multiple_items(b: u32, ) -> Weight {87 Weight::from_ref_time(19_486_095 as u64)88 // Standard Error: 8_01589 .saturating_add(Weight::from_ref_time(9_037_181 as u64).saturating_mul(b as u64))90 .saturating_add(T::DbWeight::get().reads(3 as u64))91 .saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(b as u64)))92 .saturating_add(T::DbWeight::get().writes(2 as u64))93 .saturating_add(T::DbWeight::get().writes((4 as u64).saturating_mul(b as u64)))94 }95 // Storage: Refungible TokensMinted (r:1 w:1)96 // Storage: Refungible AccountBalance (r:4 w:4)97 // Storage: Refungible TokenProperties (r:4 w:4)98 // Storage: Common CollectionPropertyPermissions (r:1 w:0)99 // Storage: Refungible Balance (r:0 w:4)100 // Storage: Refungible TotalSupply (r:0 w:4)101 // Storage: Refungible Owned (r:0 w:4)102 fn create_multiple_items_ex_multiple_items(b: u32, ) -> Weight {103 Weight::from_ref_time(14_091_538 as u64)104 // Standard Error: 6_448105 .saturating_add(Weight::from_ref_time(10_777_780 as u64).saturating_mul(b as u64))106 .saturating_add(T::DbWeight::get().reads(2 as u64))107 .saturating_add(T::DbWeight::get().reads((2 as u64).saturating_mul(b as u64)))108 .saturating_add(T::DbWeight::get().writes(1 as u64))109 .saturating_add(T::DbWeight::get().writes((5 as u64).saturating_mul(b as u64)))110 }111 // Storage: Refungible TokensMinted (r:1 w:1)112 // Storage: Refungible TokenProperties (r:1 w:1)113 // Storage: Common CollectionPropertyPermissions (r:1 w:0)114 // Storage: Refungible TotalSupply (r:0 w:1)115 // Storage: Refungible AccountBalance (r:4 w:4)116 // Storage: Refungible Balance (r:0 w:4)117 // Storage: Refungible Owned (r:0 w:4)118 fn create_multiple_items_ex_multiple_owners(b: u32, ) -> Weight {119 Weight::from_ref_time(30_958_687 as u64)120 // Standard Error: 3_000121 .saturating_add(Weight::from_ref_time(5_976_114 as u64).saturating_mul(b as u64))122 .saturating_add(T::DbWeight::get().reads(3 as u64))123 .saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(b as u64)))124 .saturating_add(T::DbWeight::get().writes(3 as u64))125 .saturating_add(T::DbWeight::get().writes((3 as u64).saturating_mul(b as u64)))126 }127 // Storage: Refungible Balance (r:3 w:1)128 // Storage: Refungible TotalSupply (r:1 w:1)129 // Storage: Refungible AccountBalance (r:1 w:1)130 // Storage: Refungible Owned (r:0 w:1)131 fn burn_item_partial() -> Weight {132 Weight::from_ref_time(46_498_000 as u64)133 .saturating_add(T::DbWeight::get().reads(5 as u64))134 .saturating_add(T::DbWeight::get().writes(4 as u64))135 }136 // Storage: Refungible Balance (r:1 w:1)137 // Storage: Refungible TotalSupply (r:1 w:1)138 // Storage: Refungible AccountBalance (r:1 w:1)139 // Storage: Refungible TokensBurnt (r:1 w:1)140 // Storage: Refungible Owned (r:0 w:1)141 // Storage: Refungible TokenProperties (r:0 w:1)142 fn burn_item_fully() -> Weight {143 Weight::from_ref_time(42_429_000 as u64)144 .saturating_add(T::DbWeight::get().reads(4 as u64))145 .saturating_add(T::DbWeight::get().writes(6 as u64))146 }147 // Storage: Refungible Balance (r:2 w:2)148 // Storage: Refungible TotalSupply (r:1 w:0)149 fn transfer_normal() -> Weight {150 Weight::from_ref_time(31_435_000 as u64)151 .saturating_add(T::DbWeight::get().reads(3 as u64))152 .saturating_add(T::DbWeight::get().writes(2 as u64))153 }154 // Storage: Refungible Balance (r:2 w:2)155 // Storage: Refungible AccountBalance (r:1 w:1)156 // Storage: Refungible TotalSupply (r:1 w:0)157 // Storage: Refungible Owned (r:0 w:1)158 fn transfer_creating() -> Weight {159 Weight::from_ref_time(34_913_000 as u64)160 .saturating_add(T::DbWeight::get().reads(4 as u64))161 .saturating_add(T::DbWeight::get().writes(4 as u64))162 }163 // Storage: Refungible Balance (r:2 w:2)164 // Storage: Refungible AccountBalance (r:1 w:1)165 // Storage: Refungible TotalSupply (r:1 w:0)166 // Storage: Refungible Owned (r:0 w:1)167 fn transfer_removing() -> Weight {168 Weight::from_ref_time(37_992_000 as u64)169 .saturating_add(T::DbWeight::get().reads(4 as u64))170 .saturating_add(T::DbWeight::get().writes(4 as u64))171 }172 // Storage: Refungible Balance (r:2 w:2)173 // Storage: Refungible AccountBalance (r:2 w:2)174 // Storage: Refungible TotalSupply (r:1 w:0)175 // Storage: Refungible Owned (r:0 w:2)176 fn transfer_creating_removing() -> Weight {177 Weight::from_ref_time(37_935_000 as u64)178 .saturating_add(T::DbWeight::get().reads(5 as u64))179 .saturating_add(T::DbWeight::get().writes(6 as u64))180 }181 // Storage: Refungible Balance (r:1 w:0)182 // Storage: Refungible Allowance (r:0 w:1)183 fn approve() -> Weight {184 Weight::from_ref_time(23_900_000 as u64)185 .saturating_add(T::DbWeight::get().reads(1 as u64))186 .saturating_add(T::DbWeight::get().writes(1 as u64))187 }188 // Storage: Refungible Balance (r:1 w:0)189 // Storage: Refungible Allowance (r:0 w:1)190 fn approve_from() -> Weight {191 Weight::from_ref_time(24_012_000 as u64)192 .saturating_add(T::DbWeight::get().reads(1 as u64))193 .saturating_add(T::DbWeight::get().writes(1 as u64))194 }195 // Storage: Refungible Allowance (r:1 w:1)196 // Storage: Refungible Balance (r:2 w:2)197 // Storage: Refungible TotalSupply (r:1 w:0)198 fn transfer_from_normal() -> Weight {199 Weight::from_ref_time(40_384_000 as u64)200 .saturating_add(T::DbWeight::get().reads(4 as u64))201 .saturating_add(T::DbWeight::get().writes(3 as u64))202 }203 // Storage: Refungible Allowance (r:1 w:1)204 // Storage: Refungible Balance (r:2 w:2)205 // Storage: Refungible AccountBalance (r:1 w:1)206 // Storage: Refungible TotalSupply (r:1 w:0)207 // Storage: Refungible Owned (r:0 w:1)208 fn transfer_from_creating() -> Weight {209 Weight::from_ref_time(43_372_000 as u64)210 .saturating_add(T::DbWeight::get().reads(5 as u64))211 .saturating_add(T::DbWeight::get().writes(5 as u64))212 }213 // Storage: Refungible Allowance (r:1 w:1)214 // Storage: Refungible Balance (r:2 w:2)215 // Storage: Refungible AccountBalance (r:1 w:1)216 // Storage: Refungible TotalSupply (r:1 w:0)217 // Storage: Refungible Owned (r:0 w:1)218 fn transfer_from_removing() -> Weight {219 Weight::from_ref_time(46_470_000 as u64)220 .saturating_add(T::DbWeight::get().reads(5 as u64))221 .saturating_add(T::DbWeight::get().writes(5 as u64))222 }223 // Storage: Refungible Allowance (r:1 w:1)224 // Storage: Refungible Balance (r:2 w:2)225 // Storage: Refungible AccountBalance (r:2 w:2)226 // Storage: Refungible TotalSupply (r:1 w:0)227 // Storage: Refungible Owned (r:0 w:2)228 fn transfer_from_creating_removing() -> Weight {229 Weight::from_ref_time(46_394_000 as u64)230 .saturating_add(T::DbWeight::get().reads(6 as u64))231 .saturating_add(T::DbWeight::get().writes(7 as u64))232 }233 // Storage: Refungible Allowance (r:1 w:1)234 // Storage: Refungible Balance (r:1 w:1)235 // Storage: Refungible TotalSupply (r:1 w:1)236 // Storage: Refungible AccountBalance (r:1 w:1)237 // Storage: Refungible TokensBurnt (r:1 w:1)238 // Storage: Refungible Owned (r:0 w:1)239 // Storage: Refungible TokenProperties (r:0 w:1)240 fn burn_from() -> Weight {241 Weight::from_ref_time(51_957_000 as u64)242 .saturating_add(T::DbWeight::get().reads(5 as u64))243 .saturating_add(T::DbWeight::get().writes(7 as u64))244 }245 // Storage: Common CollectionPropertyPermissions (r:1 w:1)246 fn set_token_property_permissions(b: u32, ) -> Weight {247 Weight::from_ref_time(5_257_000 as u64)248 // Standard Error: 47_229249 .saturating_add(Weight::from_ref_time(12_976_974 as u64).saturating_mul(b as u64))250 .saturating_add(T::DbWeight::get().reads(1 as u64))251 .saturating_add(T::DbWeight::get().writes(1 as u64))252 }253 // Storage: Refungible TokenProperties (r:1 w:1)254 // Storage: Common CollectionPropertyPermissions (r:1 w:0)255 fn set_token_properties(b: u32, ) -> Weight {256 Weight::from_ref_time(13_103_140 as u64)257 // Standard Error: 62_508258 .saturating_add(Weight::from_ref_time(6_883_577 as u64).saturating_mul(b as u64))259 .saturating_add(T::DbWeight::get().reads(2 as u64))260 .saturating_add(T::DbWeight::get().writes(1 as u64))261 }262 // Storage: Refungible TokenProperties (r:1 w:1)263 // Storage: Common CollectionPropertyPermissions (r:1 w:0)264 fn delete_token_properties(b: u32, ) -> Weight {265 Weight::from_ref_time(15_068_000 as u64)266 // Standard Error: 70_494267 .saturating_add(Weight::from_ref_time(22_758_838 as u64).saturating_mul(b as u64))268 .saturating_add(T::DbWeight::get().reads(2 as u64))269 .saturating_add(T::DbWeight::get().writes(1 as u64))270 }271 // Storage: Refungible TotalSupply (r:1 w:1)272 // Storage: Refungible Balance (r:1 w:1)273 fn repartition_item() -> Weight {274 Weight::from_ref_time(24_640_000 as u64)275 .saturating_add(T::DbWeight::get().reads(2 as u64))276 .saturating_add(T::DbWeight::get().writes(2 as u64))277 }278 // Storage: Refungible Balance (r:2 w:0)279 fn token_owner() -> Weight {280 Weight::from_ref_time(9_634_000 as u64)281 .saturating_add(T::DbWeight::get().reads(2 as u64))282 }283 // Storage: Refungible CollectionAllowance (r:0 w:1)284 fn set_allowance_for_all() -> Weight {285 Weight::from_ref_time(17_366_000 as u64)286 .saturating_add(T::DbWeight::get().writes(1 as u64))287 }288 // Storage: Refungible CollectionAllowance (r:1 w:0)289 fn allowance_for_all() -> Weight {290 Weight::from_ref_time(5_419_000 as u64)291 .saturating_add(T::DbWeight::get().reads(1 as u64))292 }293 // Storage: Refungible TokenProperties (r:1 w:1)294 fn repair_item() -> Weight {295 Weight::from_ref_time(7_196_000 as u64)296 .saturating_add(T::DbWeight::get().reads(1 as u64))297 .saturating_add(T::DbWeight::get().writes(1 as u64))298 }299}300301// For backwards compatibility and tests302impl WeightInfo for () {303 // Storage: Refungible TokensMinted (r:1 w:1)304 // Storage: Refungible AccountBalance (r:1 w:1)305 // Storage: Refungible TokenProperties (r:1 w:1)306 // Storage: Common CollectionPropertyPermissions (r:1 w:0)307 // Storage: Refungible Balance (r:0 w:1)308 // Storage: Refungible TotalSupply (r:0 w:1)309 // Storage: Refungible Owned (r:0 w:1)310 fn create_item() -> Weight {311 Weight::from_ref_time(39_775_000 as u64)312 .saturating_add(RocksDbWeight::get().reads(4 as u64))313 .saturating_add(RocksDbWeight::get().writes(6 as u64))314 }315 // Storage: Refungible TokensMinted (r:1 w:1)316 // Storage: Refungible AccountBalance (r:1 w:1)317 // Storage: Refungible TokenProperties (r:4 w:4)318 // Storage: Common CollectionPropertyPermissions (r:1 w:0)319 // Storage: Refungible Balance (r:0 w:4)320 // Storage: Refungible TotalSupply (r:0 w:4)321 // Storage: Refungible Owned (r:0 w:4)322 fn create_multiple_items(b: u32, ) -> Weight {323 Weight::from_ref_time(19_486_095 as u64)324 // Standard Error: 8_015325 .saturating_add(Weight::from_ref_time(9_037_181 as u64).saturating_mul(b as u64))326 .saturating_add(RocksDbWeight::get().reads(3 as u64))327 .saturating_add(RocksDbWeight::get().reads((1 as u64).saturating_mul(b as u64)))328 .saturating_add(RocksDbWeight::get().writes(2 as u64))329 .saturating_add(RocksDbWeight::get().writes((4 as u64).saturating_mul(b as u64)))330 }331 // Storage: Refungible TokensMinted (r:1 w:1)332 // Storage: Refungible AccountBalance (r:4 w:4)333 // Storage: Refungible TokenProperties (r:4 w:4)334 // Storage: Common CollectionPropertyPermissions (r:1 w:0)335 // Storage: Refungible Balance (r:0 w:4)336 // Storage: Refungible TotalSupply (r:0 w:4)337 // Storage: Refungible Owned (r:0 w:4)338 fn create_multiple_items_ex_multiple_items(b: u32, ) -> Weight {339 Weight::from_ref_time(14_091_538 as u64)340 // Standard Error: 6_448341 .saturating_add(Weight::from_ref_time(10_777_780 as u64).saturating_mul(b as u64))342 .saturating_add(RocksDbWeight::get().reads(2 as u64))343 .saturating_add(RocksDbWeight::get().reads((2 as u64).saturating_mul(b as u64)))344 .saturating_add(RocksDbWeight::get().writes(1 as u64))345 .saturating_add(RocksDbWeight::get().writes((5 as u64).saturating_mul(b as u64)))346 }347 // Storage: Refungible TokensMinted (r:1 w:1)348 // Storage: Refungible TokenProperties (r:1 w:1)349 // Storage: Common CollectionPropertyPermissions (r:1 w:0)350 // Storage: Refungible TotalSupply (r:0 w:1)351 // Storage: Refungible AccountBalance (r:4 w:4)352 // Storage: Refungible Balance (r:0 w:4)353 // Storage: Refungible Owned (r:0 w:4)354 fn create_multiple_items_ex_multiple_owners(b: u32, ) -> Weight {355 Weight::from_ref_time(30_958_687 as u64)356 // Standard Error: 3_000357 .saturating_add(Weight::from_ref_time(5_976_114 as u64).saturating_mul(b as u64))358 .saturating_add(RocksDbWeight::get().reads(3 as u64))359 .saturating_add(RocksDbWeight::get().reads((1 as u64).saturating_mul(b as u64)))360 .saturating_add(RocksDbWeight::get().writes(3 as u64))361 .saturating_add(RocksDbWeight::get().writes((3 as u64).saturating_mul(b as u64)))362 }363 // Storage: Refungible Balance (r:3 w:1)364 // Storage: Refungible TotalSupply (r:1 w:1)365 // Storage: Refungible AccountBalance (r:1 w:1)366 // Storage: Refungible Owned (r:0 w:1)367 fn burn_item_partial() -> Weight {368 Weight::from_ref_time(46_498_000 as u64)369 .saturating_add(RocksDbWeight::get().reads(5 as u64))370 .saturating_add(RocksDbWeight::get().writes(4 as u64))371 }372 // Storage: Refungible Balance (r:1 w:1)373 // Storage: Refungible TotalSupply (r:1 w:1)374 // Storage: Refungible AccountBalance (r:1 w:1)375 // Storage: Refungible TokensBurnt (r:1 w:1)376 // Storage: Refungible Owned (r:0 w:1)377 // Storage: Refungible TokenProperties (r:0 w:1)378 fn burn_item_fully() -> Weight {379 Weight::from_ref_time(42_429_000 as u64)380 .saturating_add(RocksDbWeight::get().reads(4 as u64))381 .saturating_add(RocksDbWeight::get().writes(6 as u64))382 }383 // Storage: Refungible Balance (r:2 w:2)384 // Storage: Refungible TotalSupply (r:1 w:0)385 fn transfer_normal() -> Weight {386 Weight::from_ref_time(31_435_000 as u64)387 .saturating_add(RocksDbWeight::get().reads(3 as u64))388 .saturating_add(RocksDbWeight::get().writes(2 as u64))389 }390 // Storage: Refungible Balance (r:2 w:2)391 // Storage: Refungible AccountBalance (r:1 w:1)392 // Storage: Refungible TotalSupply (r:1 w:0)393 // Storage: Refungible Owned (r:0 w:1)394 fn transfer_creating() -> Weight {395 Weight::from_ref_time(34_913_000 as u64)396 .saturating_add(RocksDbWeight::get().reads(4 as u64))397 .saturating_add(RocksDbWeight::get().writes(4 as u64))398 }399 // Storage: Refungible Balance (r:2 w:2)400 // Storage: Refungible AccountBalance (r:1 w:1)401 // Storage: Refungible TotalSupply (r:1 w:0)402 // Storage: Refungible Owned (r:0 w:1)403 fn transfer_removing() -> Weight {404 Weight::from_ref_time(37_992_000 as u64)405 .saturating_add(RocksDbWeight::get().reads(4 as u64))406 .saturating_add(RocksDbWeight::get().writes(4 as u64))407 }408 // Storage: Refungible Balance (r:2 w:2)409 // Storage: Refungible AccountBalance (r:2 w:2)410 // Storage: Refungible TotalSupply (r:1 w:0)411 // Storage: Refungible Owned (r:0 w:2)412 fn transfer_creating_removing() -> Weight {413 Weight::from_ref_time(37_935_000 as u64)414 .saturating_add(RocksDbWeight::get().reads(5 as u64))415 .saturating_add(RocksDbWeight::get().writes(6 as u64))416 }417 // Storage: Refungible Balance (r:1 w:0)418 // Storage: Refungible Allowance (r:0 w:1)419 fn approve() -> Weight {420 Weight::from_ref_time(23_900_000 as u64)421 .saturating_add(RocksDbWeight::get().reads(1 as u64))422 .saturating_add(RocksDbWeight::get().writes(1 as u64))423 }424 // Storage: Refungible Balance (r:1 w:0)425 // Storage: Refungible Allowance (r:0 w:1)426 fn approve_from() -> Weight {427 Weight::from_ref_time(24_012_000 as u64)428 .saturating_add(RocksDbWeight::get().reads(1 as u64))429 .saturating_add(RocksDbWeight::get().writes(1 as u64))430 }431 // Storage: Refungible Allowance (r:1 w:1)432 // Storage: Refungible Balance (r:2 w:2)433 // Storage: Refungible TotalSupply (r:1 w:0)434 fn transfer_from_normal() -> Weight {435 Weight::from_ref_time(40_384_000 as u64)436 .saturating_add(RocksDbWeight::get().reads(4 as u64))437 .saturating_add(RocksDbWeight::get().writes(3 as u64))438 }439 // Storage: Refungible Allowance (r:1 w:1)440 // Storage: Refungible Balance (r:2 w:2)441 // Storage: Refungible AccountBalance (r:1 w:1)442 // Storage: Refungible TotalSupply (r:1 w:0)443 // Storage: Refungible Owned (r:0 w:1)444 fn transfer_from_creating() -> Weight {445 Weight::from_ref_time(43_372_000 as u64)446 .saturating_add(RocksDbWeight::get().reads(5 as u64))447 .saturating_add(RocksDbWeight::get().writes(5 as u64))448 }449 // Storage: Refungible Allowance (r:1 w:1)450 // Storage: Refungible Balance (r:2 w:2)451 // Storage: Refungible AccountBalance (r:1 w:1)452 // Storage: Refungible TotalSupply (r:1 w:0)453 // Storage: Refungible Owned (r:0 w:1)454 fn transfer_from_removing() -> Weight {455 Weight::from_ref_time(46_470_000 as u64)456 .saturating_add(RocksDbWeight::get().reads(5 as u64))457 .saturating_add(RocksDbWeight::get().writes(5 as u64))458 }459 // Storage: Refungible Allowance (r:1 w:1)460 // Storage: Refungible Balance (r:2 w:2)461 // Storage: Refungible AccountBalance (r:2 w:2)462 // Storage: Refungible TotalSupply (r:1 w:0)463 // Storage: Refungible Owned (r:0 w:2)464 fn transfer_from_creating_removing() -> Weight {465 Weight::from_ref_time(46_394_000 as u64)466 .saturating_add(RocksDbWeight::get().reads(6 as u64))467 .saturating_add(RocksDbWeight::get().writes(7 as u64))468 }469 // Storage: Refungible Allowance (r:1 w:1)470 // Storage: Refungible Balance (r:1 w:1)471 // Storage: Refungible TotalSupply (r:1 w:1)472 // Storage: Refungible AccountBalance (r:1 w:1)473 // Storage: Refungible TokensBurnt (r:1 w:1)474 // Storage: Refungible Owned (r:0 w:1)475 // Storage: Refungible TokenProperties (r:0 w:1)476 fn burn_from() -> Weight {477 Weight::from_ref_time(51_957_000 as u64)478 .saturating_add(RocksDbWeight::get().reads(5 as u64))479 .saturating_add(RocksDbWeight::get().writes(7 as u64))480 }481 // Storage: Common CollectionPropertyPermissions (r:1 w:1)482 fn set_token_property_permissions(b: u32, ) -> Weight {483 Weight::from_ref_time(5_257_000 as u64)484 // Standard Error: 47_229485 .saturating_add(Weight::from_ref_time(12_976_974 as u64).saturating_mul(b as u64))486 .saturating_add(RocksDbWeight::get().reads(1 as u64))487 .saturating_add(RocksDbWeight::get().writes(1 as u64))488 }489 // Storage: Refungible TokenProperties (r:1 w:1)490 // Storage: Common CollectionPropertyPermissions (r:1 w:0)491 fn set_token_properties(b: u32, ) -> Weight {492 Weight::from_ref_time(13_103_140 as u64)493 // Standard Error: 62_508494 .saturating_add(Weight::from_ref_time(6_883_577 as u64).saturating_mul(b as u64))495 .saturating_add(RocksDbWeight::get().reads(2 as u64))496 .saturating_add(RocksDbWeight::get().writes(1 as u64))497 }498 // Storage: Refungible TokenProperties (r:1 w:1)499 // Storage: Common CollectionPropertyPermissions (r:1 w:0)500 fn delete_token_properties(b: u32, ) -> Weight {501 Weight::from_ref_time(15_068_000 as u64)502 // Standard Error: 70_494503 .saturating_add(Weight::from_ref_time(22_758_838 as u64).saturating_mul(b as u64))504 .saturating_add(RocksDbWeight::get().reads(2 as u64))505 .saturating_add(RocksDbWeight::get().writes(1 as u64))506 }507 // Storage: Refungible TotalSupply (r:1 w:1)508 // Storage: Refungible Balance (r:1 w:1)509 fn repartition_item() -> Weight {510 Weight::from_ref_time(24_640_000 as u64)511 .saturating_add(RocksDbWeight::get().reads(2 as u64))512 .saturating_add(RocksDbWeight::get().writes(2 as u64))513 }514 // Storage: Refungible Balance (r:2 w:0)515 fn token_owner() -> Weight {516 Weight::from_ref_time(9_634_000 as u64)517 .saturating_add(RocksDbWeight::get().reads(2 as u64))518 }519 // Storage: Refungible CollectionAllowance (r:0 w:1)520 fn set_allowance_for_all() -> Weight {521 Weight::from_ref_time(17_366_000 as u64)522 .saturating_add(RocksDbWeight::get().writes(1 as u64))523 }524 // Storage: Refungible CollectionAllowance (r:1 w:0)525 fn allowance_for_all() -> Weight {526 Weight::from_ref_time(5_419_000 as u64)527 .saturating_add(RocksDbWeight::get().reads(1 as u64))528 }529 // Storage: Refungible TokenProperties (r:1 w:1)530 fn repair_item() -> Weight {531 Weight::from_ref_time(7_196_000 as u64)532 .saturating_add(RocksDbWeight::get().reads(1 as u64))533 .saturating_add(RocksDbWeight::get().writes(1 as u64))534 }535}pallets/structure/src/weights.rsdiffbeforeafterboth--- a/pallets/structure/src/weights.rs
+++ b/pallets/structure/src/weights.rs
@@ -3,7 +3,7 @@
//! Autogenerated weights for pallet_structure
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
-//! DATE: 2023-01-29, STEPS: `50`, REPEAT: 80, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! DATE: 2023-02-15, STEPS: `50`, REPEAT: 80, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024
// Executed Command:
@@ -43,7 +43,7 @@
// Storage: Common CollectionById (r:1 w:0)
// Storage: Nonfungible TokenData (r:1 w:0)
fn find_parent() -> Weight {
- Weight::from_ref_time(11_766_000 as u64)
+ Weight::from_ref_time(11_663_000 as u64)
.saturating_add(T::DbWeight::get().reads(2 as u64))
}
}
@@ -53,7 +53,7 @@
// Storage: Common CollectionById (r:1 w:0)
// Storage: Nonfungible TokenData (r:1 w:0)
fn find_parent() -> Weight {
- Weight::from_ref_time(11_766_000 as u64)
+ Weight::from_ref_time(11_663_000 as u64)
.saturating_add(RocksDbWeight::get().reads(2 as u64))
}
}
pallets/unique/src/weights.rsdiffbeforeafterboth--- a/pallets/unique/src/weights.rs
+++ b/pallets/unique/src/weights.rs
@@ -3,7 +3,7 @@
//! Autogenerated weights for pallet_unique
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
-//! DATE: 2023-01-29, STEPS: `50`, REPEAT: 80, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! DATE: 2023-02-15, STEPS: `50`, REPEAT: 80, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024
// Executed Command:
@@ -59,7 +59,7 @@
// Storage: Common CollectionProperties (r:0 w:1)
// Storage: Common CollectionById (r:0 w:1)
fn create_collection() -> Weight {
- Weight::from_ref_time(43_527_000 as u64)
+ 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))
}
@@ -71,27 +71,27 @@
// Storage: Common AdminAmount (r:0 w:1)
// Storage: Common CollectionProperties (r:0 w:1)
fn destroy_collection() -> Weight {
- Weight::from_ref_time(59_528_000 as u64)
+ 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))
}
// Storage: Common CollectionById (r:1 w:0)
// Storage: Common Allowlist (r:0 w:1)
fn add_to_allow_list() -> Weight {
- Weight::from_ref_time(27_970_000 as u64)
+ 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))
}
// Storage: Common CollectionById (r:1 w:0)
// Storage: Common Allowlist (r:0 w:1)
fn remove_from_allow_list() -> Weight {
- Weight::from_ref_time(27_736_000 as u64)
+ 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))
}
// Storage: Common CollectionById (r:1 w:1)
fn change_collection_owner() -> Weight {
- Weight::from_ref_time(26_991_000 as u64)
+ 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))
}
@@ -99,7 +99,7 @@
// Storage: Common IsAdmin (r:1 w:1)
// Storage: Common AdminAmount (r:1 w:1)
fn add_collection_admin() -> Weight {
- Weight::from_ref_time(30_851_000 as u64)
+ 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))
}
@@ -107,43 +107,43 @@
// Storage: Common IsAdmin (r:1 w:1)
// Storage: Common AdminAmount (r:1 w:1)
fn remove_collection_admin() -> Weight {
- Weight::from_ref_time(34_432_000 as u64)
+ 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))
}
// Storage: Common CollectionById (r:1 w:1)
fn set_collection_sponsor() -> Weight {
- Weight::from_ref_time(26_862_000 as u64)
+ 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))
}
// Storage: Common CollectionById (r:1 w:1)
fn confirm_sponsorship() -> Weight {
- Weight::from_ref_time(26_711_000 as u64)
+ 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))
}
// Storage: Common CollectionById (r:1 w:1)
fn remove_collection_sponsor() -> Weight {
- Weight::from_ref_time(38_546_000 as u64)
+ 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))
}
// Storage: Common CollectionById (r:1 w:1)
fn set_transfers_enabled_flag() -> Weight {
- Weight::from_ref_time(13_251_000 as u64)
+ 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))
}
// Storage: Common CollectionById (r:1 w:1)
fn set_collection_limits() -> Weight {
- Weight::from_ref_time(27_754_000 as u64)
+ 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))
}
// Storage: Common CollectionProperties (r:1 w:1)
fn force_repair_collection() -> Weight {
- Weight::from_ref_time(10_871_000 as u64)
+ 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))
}
@@ -158,7 +158,7 @@
// Storage: Common CollectionProperties (r:0 w:1)
// Storage: Common CollectionById (r:0 w:1)
fn create_collection() -> Weight {
- Weight::from_ref_time(43_527_000 as u64)
+ 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))
}
@@ -170,27 +170,27 @@
// Storage: Common AdminAmount (r:0 w:1)
// Storage: Common CollectionProperties (r:0 w:1)
fn destroy_collection() -> Weight {
- Weight::from_ref_time(59_528_000 as u64)
+ 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))
}
// Storage: Common CollectionById (r:1 w:0)
// Storage: Common Allowlist (r:0 w:1)
fn add_to_allow_list() -> Weight {
- Weight::from_ref_time(27_970_000 as u64)
+ 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))
}
// Storage: Common CollectionById (r:1 w:0)
// Storage: Common Allowlist (r:0 w:1)
fn remove_from_allow_list() -> Weight {
- Weight::from_ref_time(27_736_000 as u64)
+ 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))
}
// Storage: Common CollectionById (r:1 w:1)
fn change_collection_owner() -> Weight {
- Weight::from_ref_time(26_991_000 as u64)
+ 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))
}
@@ -198,7 +198,7 @@
// Storage: Common IsAdmin (r:1 w:1)
// Storage: Common AdminAmount (r:1 w:1)
fn add_collection_admin() -> Weight {
- Weight::from_ref_time(30_851_000 as u64)
+ 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))
}
@@ -206,43 +206,43 @@
// Storage: Common IsAdmin (r:1 w:1)
// Storage: Common AdminAmount (r:1 w:1)
fn remove_collection_admin() -> Weight {
- Weight::from_ref_time(34_432_000 as u64)
+ 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))
}
// Storage: Common CollectionById (r:1 w:1)
fn set_collection_sponsor() -> Weight {
- Weight::from_ref_time(26_862_000 as u64)
+ 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))
}
// Storage: Common CollectionById (r:1 w:1)
fn confirm_sponsorship() -> Weight {
- Weight::from_ref_time(26_711_000 as u64)
+ 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))
}
// Storage: Common CollectionById (r:1 w:1)
fn remove_collection_sponsor() -> Weight {
- Weight::from_ref_time(38_546_000 as u64)
+ 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))
}
// Storage: Common CollectionById (r:1 w:1)
fn set_transfers_enabled_flag() -> Weight {
- Weight::from_ref_time(13_251_000 as u64)
+ 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))
}
// Storage: Common CollectionById (r:1 w:1)
fn set_collection_limits() -> Weight {
- Weight::from_ref_time(27_754_000 as u64)
+ 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))
}
// Storage: Common CollectionProperties (r:1 w:1)
fn force_repair_collection() -> Weight {
- Weight::from_ref_time(10_871_000 as u64)
+ 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))
}
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_233_712_036_439_751/*</weight2fee>*/;
+pub const WEIGHT_TO_FEE_COEFF: u64 = /*<weight2fee>*/77_246_728_691_397_557/*</weight2fee>*/;
// Targeting 0.15 UNQ per transfer via ETH
-pub const MIN_GAS_PRICE: u64 = /*<mingasprice>*/1_016_956_047_159/*</mingasprice>*/;
+pub const MIN_GAS_PRICE: u64 = /*<mingasprice>*/1_017_135_340_028/*</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.