difftreelog
chore run benchmarks
in: master
9 files changed
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: 2022-12-28, STEPS: `50`, REPEAT: 80, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! DATE: 2023-01-18, 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(5_691_000 as u64)
+ Weight::from_ref_time(4_756_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(5_521_000 as u64)
+ Weight::from_ref_time(4_754_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(6_091_000 as u64)
+ Weight::from_ref_time(4_875_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(6_241_000 as u64)
+ Weight::from_ref_time(4_832_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(25_298_000 as u64)
+ Weight::from_ref_time(18_337_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(18_675_000 as u64)
+ Weight::from_ref_time(14_806_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(18_044_000 as u64)
+ Weight::from_ref_time(14_524_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(5_691_000 as u64)
+ Weight::from_ref_time(4_756_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(5_521_000 as u64)
+ Weight::from_ref_time(4_754_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(6_091_000 as u64)
+ Weight::from_ref_time(4_875_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(6_241_000 as u64)
+ Weight::from_ref_time(4_832_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(25_298_000 as u64)
+ Weight::from_ref_time(18_337_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(18_675_000 as u64)
+ Weight::from_ref_time(14_806_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(18_044_000 as u64)
+ Weight::from_ref_time(14_524_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: 2022-12-26, STEPS: `50`, REPEAT: 80, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! DATE: 2023-01-18, STEPS: `50`, REPEAT: 80, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024
// Executed Command:
@@ -48,37 +48,35 @@
// Storage: System Account (r:1 w:0)
// Storage: EVM AccountCodes (r:1 w:0)
fn begin() -> Weight {
- Weight::from_ref_time(15_073_000 as u64)
+ Weight::from_ref_time(15_553_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_943_438 as u64)
- // Standard Error: 1_792
- .saturating_add(Weight::from_ref_time(960_230 as u64).saturating_mul(b as u64))
+ Weight::from_ref_time(8_826_376 as u64)
+ // Standard Error: 1_575
+ .saturating_add(Weight::from_ref_time(953_367 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_316_585 as u64)
- // Standard Error: 595
- .saturating_add(Weight::from_ref_time(2_082 as u64).saturating_mul(b as u64))
+ fn finish(_b: u32, ) -> Weight {
+ Weight::from_ref_time(9_382_842 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(6_570_767 as u64)
- // Standard Error: 2_292
- .saturating_add(Weight::from_ref_time(722_345 as u64).saturating_mul(b as u64))
+ Weight::from_ref_time(8_647_347 as u64)
+ // Standard Error: 1_360
+ .saturating_add(Weight::from_ref_time(736_935 as u64).saturating_mul(b as u64))
}
fn insert_events(b: u32, ) -> Weight {
- Weight::from_ref_time(10_936_376 as u64)
- // Standard Error: 1_227
- .saturating_add(Weight::from_ref_time(1_311_481 as u64).saturating_mul(b as u64))
+ Weight::from_ref_time(12_275_370 as u64)
+ // Standard Error: 1_243
+ .saturating_add(Weight::from_ref_time(1_269_025 as u64).saturating_mul(b as u64))
}
}
@@ -88,36 +86,34 @@
// Storage: System Account (r:1 w:0)
// Storage: EVM AccountCodes (r:1 w:0)
fn begin() -> Weight {
- Weight::from_ref_time(15_073_000 as u64)
+ Weight::from_ref_time(15_553_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_943_438 as u64)
- // Standard Error: 1_792
- .saturating_add(Weight::from_ref_time(960_230 as u64).saturating_mul(b as u64))
+ Weight::from_ref_time(8_826_376 as u64)
+ // Standard Error: 1_575
+ .saturating_add(Weight::from_ref_time(953_367 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_316_585 as u64)
- // Standard Error: 595
- .saturating_add(Weight::from_ref_time(2_082 as u64).saturating_mul(b as u64))
+ fn finish(_b: u32, ) -> Weight {
+ Weight::from_ref_time(9_382_842 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(6_570_767 as u64)
- // Standard Error: 2_292
- .saturating_add(Weight::from_ref_time(722_345 as u64).saturating_mul(b as u64))
+ Weight::from_ref_time(8_647_347 as u64)
+ // Standard Error: 1_360
+ .saturating_add(Weight::from_ref_time(736_935 as u64).saturating_mul(b as u64))
}
fn insert_events(b: u32, ) -> Weight {
- Weight::from_ref_time(10_936_376 as u64)
- // Standard Error: 1_227
- .saturating_add(Weight::from_ref_time(1_311_481 as u64).saturating_mul(b as u64))
+ Weight::from_ref_time(12_275_370 as u64)
+ // Standard Error: 1_243
+ .saturating_add(Weight::from_ref_time(1_269_025 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: 2022-12-26, STEPS: `50`, REPEAT: 80, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! DATE: 2023-01-18, 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(54_196_000 as u64)
+ Weight::from_ref_time(53_122_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(23_719_000 as u64)
+ Weight::from_ref_time(23_796_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(54_196_000 as u64)
+ Weight::from_ref_time(53_122_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(23_719_000 as u64)
+ Weight::from_ref_time(23_796_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: 2022-12-26, STEPS: `50`, REPEAT: 80, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! DATE: 2023-01-18, 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(19_626_000 as u64)
+ Weight::from_ref_time(20_203_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(22_364_107 as u64)
- // Standard Error: 6_123
- .saturating_add(Weight::from_ref_time(3_608_476 as u64).saturating_mul(b as u64))
+ Weight::from_ref_time(19_426_730 as u64)
+ // Standard Error: 5_132
+ .saturating_add(Weight::from_ref_time(3_579_196 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(21_886_000 as u64)
+ Weight::from_ref_time(21_871_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_827_000 as u64)
+ Weight::from_ref_time(22_677_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(21_626_000 as u64)
+ Weight::from_ref_time(22_109_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(19_817_000 as u64)
+ Weight::from_ref_time(22_434_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(31_398_000 as u64)
+ Weight::from_ref_time(31_777_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(30_499_000 as u64)
+ Weight::from_ref_time(32_101_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(19_626_000 as u64)
+ Weight::from_ref_time(20_203_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(22_364_107 as u64)
- // Standard Error: 6_123
- .saturating_add(Weight::from_ref_time(3_608_476 as u64).saturating_mul(b as u64))
+ Weight::from_ref_time(19_426_730 as u64)
+ // Standard Error: 5_132
+ .saturating_add(Weight::from_ref_time(3_579_196 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(21_886_000 as u64)
+ Weight::from_ref_time(21_871_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_827_000 as u64)
+ Weight::from_ref_time(22_677_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(21_626_000 as u64)
+ Weight::from_ref_time(22_109_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(19_817_000 as u64)
+ Weight::from_ref_time(22_434_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(31_398_000 as u64)
+ Weight::from_ref_time(31_777_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(30_499_000 as u64)
+ Weight::from_ref_time(32_101_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: 2022-12-26, STEPS: `50`, REPEAT: 80, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! DATE: 2023-01-18, STEPS: `50`, REPEAT: 80, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024
// Executed Command:
@@ -59,37 +59,44 @@
impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Storage: Nonfungible TokensMinted (r:1 w:1)
// Storage: Nonfungible AccountBalance (r:1 w:1)
+ // Storage: Nonfungible TokenProperties (r:1 w:1)
+ // Storage: Common CollectionPropertyPermissions (r:1 w:0)
// Storage: Nonfungible TokenData (r:0 w:1)
// Storage: Nonfungible Owned (r:0 w:1)
fn create_item() -> Weight {
- Weight::from_ref_time(26_377_000 as u64)
- .saturating_add(T::DbWeight::get().reads(2 as u64))
- .saturating_add(T::DbWeight::get().writes(4 as u64))
+ Weight::from_ref_time(34_815_000 as u64)
+ .saturating_add(T::DbWeight::get().reads(4 as u64))
+ .saturating_add(T::DbWeight::get().writes(5 as u64))
}
// Storage: Nonfungible TokensMinted (r:1 w:1)
// Storage: Nonfungible AccountBalance (r:1 w:1)
+ // Storage: Nonfungible TokenProperties (r:4 w:4)
+ // Storage: Common CollectionPropertyPermissions (r:1 w:0)
// 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(20_059_186 as u64)
- // Standard Error: 4_735
- .saturating_add(Weight::from_ref_time(4_856_306 as u64).saturating_mul(b as u64))
- .saturating_add(T::DbWeight::get().reads(2 as u64))
+ Weight::from_ref_time(18_772_483 as u64)
+ // Standard Error: 5_664
+ .saturating_add(Weight::from_ref_time(7_602_706 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((2 as u64).saturating_mul(b as u64)))
+ .saturating_add(T::DbWeight::get().writes((3 as u64).saturating_mul(b as u64)))
}
// Storage: Nonfungible TokensMinted (r:1 w:1)
// Storage: Nonfungible AccountBalance (r:4 w:4)
+ // Storage: Nonfungible TokenProperties (r:4 w:4)
+ // Storage: Common CollectionPropertyPermissions (r:1 w:0)
// 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(16_365_581 as u64)
- // Standard Error: 9_711
- .saturating_add(Weight::from_ref_time(6_681_940 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)))
+ Weight::from_ref_time(15_449_226 as u64)
+ // Standard Error: 6_012
+ .saturating_add(Weight::from_ref_time(9_325_591 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((3 as u64).saturating_mul(b as u64)))
+ .saturating_add(T::DbWeight::get().writes((4 as u64).saturating_mul(b as u64)))
}
// Storage: Nonfungible TokenData (r:1 w:1)
// Storage: Nonfungible TokenChildren (r:1 w:0)
@@ -99,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(33_502_000 as u64)
+ Weight::from_ref_time(35_221_000 as u64)
.saturating_add(T::DbWeight::get().reads(5 as u64))
.saturating_add(T::DbWeight::get().writes(5 as u64))
}
@@ -111,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(43_255_000 as u64)
+ Weight::from_ref_time(45_504_000 as u64)
.saturating_add(T::DbWeight::get().reads(5 as u64))
.saturating_add(T::DbWeight::get().writes(5 as u64))
}
@@ -124,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(42_992_000 as u64)
- // Standard Error: 1_010_119
- .saturating_add(Weight::from_ref_time(209_972_755 as u64).saturating_mul(b as u64))
+ Weight::from_ref_time(45_539_000 as u64)
+ // Standard Error: 1_047_413
+ .saturating_add(Weight::from_ref_time(216_998_419 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))
@@ -137,21 +144,21 @@
// Storage: Nonfungible Allowance (r:1 w:0)
// Storage: Nonfungible Owned (r:0 w:2)
fn transfer() -> Weight {
- Weight::from_ref_time(31_239_000 as u64)
+ Weight::from_ref_time(30_047_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(21_985_000 as u64)
+ Weight::from_ref_time(24_476_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(18_965_000 as u64)
+ Weight::from_ref_time(22_818_000 as u64)
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
@@ -160,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_382_000 as u64)
+ Weight::from_ref_time(37_251_000 as u64)
.saturating_add(T::DbWeight::get().reads(4 as u64))
.saturating_add(T::DbWeight::get().writes(6 as u64))
}
@@ -172,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_046_000 as u64)
+ Weight::from_ref_time(43_202_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_543_000 as u64)
- // Standard Error: 40_525
- .saturating_add(Weight::from_ref_time(12_126_787 as u64).saturating_mul(b as u64))
+ Weight::from_ref_time(5_282_000 as u64)
+ // Standard Error: 45_166
+ .saturating_add(Weight::from_ref_time(12_937_288 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(31_850_484 as u64)
- // Standard Error: 9_618
- .saturating_add(Weight::from_ref_time(4_721_947 as u64).saturating_mul(b as u64))
+ Weight::from_ref_time(28_171_920 as u64)
+ // Standard Error: 13_715
+ .saturating_add(Weight::from_ref_time(6_217_801 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(13_795_000 as u64)
- // Standard Error: 28_239
- .saturating_add(Weight::from_ref_time(12_840_446 as u64).saturating_mul(b as u64))
+ Weight::from_ref_time(15_511_000 as u64)
+ // Standard Error: 68_273
+ .saturating_add(Weight::from_ref_time(22_917_441 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_881_000 as u64)
+ Weight::from_ref_time(7_088_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_223_000 as u64)
+ Weight::from_ref_time(17_607_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_639_000 as u64)
+ Weight::from_ref_time(5_315_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(6_111_000 as u64)
+ Weight::from_ref_time(7_638_000 as u64)
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
@@ -229,37 +236,44 @@
impl WeightInfo for () {
// Storage: Nonfungible TokensMinted (r:1 w:1)
// Storage: Nonfungible AccountBalance (r:1 w:1)
+ // Storage: Nonfungible TokenProperties (r:1 w:1)
+ // Storage: Common CollectionPropertyPermissions (r:1 w:0)
// Storage: Nonfungible TokenData (r:0 w:1)
// Storage: Nonfungible Owned (r:0 w:1)
fn create_item() -> Weight {
- Weight::from_ref_time(26_377_000 as u64)
- .saturating_add(RocksDbWeight::get().reads(2 as u64))
- .saturating_add(RocksDbWeight::get().writes(4 as u64))
+ Weight::from_ref_time(34_815_000 as u64)
+ .saturating_add(RocksDbWeight::get().reads(4 as u64))
+ .saturating_add(RocksDbWeight::get().writes(5 as u64))
}
// Storage: Nonfungible TokensMinted (r:1 w:1)
// Storage: Nonfungible AccountBalance (r:1 w:1)
+ // Storage: Nonfungible TokenProperties (r:4 w:4)
+ // Storage: Common CollectionPropertyPermissions (r:1 w:0)
// 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(20_059_186 as u64)
- // Standard Error: 4_735
- .saturating_add(Weight::from_ref_time(4_856_306 as u64).saturating_mul(b as u64))
- .saturating_add(RocksDbWeight::get().reads(2 as u64))
+ Weight::from_ref_time(18_772_483 as u64)
+ // Standard Error: 5_664
+ .saturating_add(Weight::from_ref_time(7_602_706 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((2 as u64).saturating_mul(b as u64)))
+ .saturating_add(RocksDbWeight::get().writes((3 as u64).saturating_mul(b as u64)))
}
// Storage: Nonfungible TokensMinted (r:1 w:1)
// Storage: Nonfungible AccountBalance (r:4 w:4)
+ // Storage: Nonfungible TokenProperties (r:4 w:4)
+ // Storage: Common CollectionPropertyPermissions (r:1 w:0)
// 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(16_365_581 as u64)
- // Standard Error: 9_711
- .saturating_add(Weight::from_ref_time(6_681_940 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)))
+ Weight::from_ref_time(15_449_226 as u64)
+ // Standard Error: 6_012
+ .saturating_add(Weight::from_ref_time(9_325_591 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((3 as u64).saturating_mul(b as u64)))
+ .saturating_add(RocksDbWeight::get().writes((4 as u64).saturating_mul(b as u64)))
}
// Storage: Nonfungible TokenData (r:1 w:1)
// Storage: Nonfungible TokenChildren (r:1 w:0)
@@ -269,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(33_502_000 as u64)
+ Weight::from_ref_time(35_221_000 as u64)
.saturating_add(RocksDbWeight::get().reads(5 as u64))
.saturating_add(RocksDbWeight::get().writes(5 as u64))
}
@@ -281,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(43_255_000 as u64)
+ Weight::from_ref_time(45_504_000 as u64)
.saturating_add(RocksDbWeight::get().reads(5 as u64))
.saturating_add(RocksDbWeight::get().writes(5 as u64))
}
@@ -294,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(42_992_000 as u64)
- // Standard Error: 1_010_119
- .saturating_add(Weight::from_ref_time(209_972_755 as u64).saturating_mul(b as u64))
+ Weight::from_ref_time(45_539_000 as u64)
+ // Standard Error: 1_047_413
+ .saturating_add(Weight::from_ref_time(216_998_419 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))
@@ -307,21 +321,21 @@
// Storage: Nonfungible Allowance (r:1 w:0)
// Storage: Nonfungible Owned (r:0 w:2)
fn transfer() -> Weight {
- Weight::from_ref_time(31_239_000 as u64)
+ Weight::from_ref_time(30_047_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(21_985_000 as u64)
+ Weight::from_ref_time(24_476_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(18_965_000 as u64)
+ Weight::from_ref_time(22_818_000 as u64)
.saturating_add(RocksDbWeight::get().reads(2 as u64))
.saturating_add(RocksDbWeight::get().writes(1 as u64))
}
@@ -330,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_382_000 as u64)
+ Weight::from_ref_time(37_251_000 as u64)
.saturating_add(RocksDbWeight::get().reads(4 as u64))
.saturating_add(RocksDbWeight::get().writes(6 as u64))
}
@@ -342,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_046_000 as u64)
+ Weight::from_ref_time(43_202_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_543_000 as u64)
- // Standard Error: 40_525
- .saturating_add(Weight::from_ref_time(12_126_787 as u64).saturating_mul(b as u64))
+ Weight::from_ref_time(5_282_000 as u64)
+ // Standard Error: 45_166
+ .saturating_add(Weight::from_ref_time(12_937_288 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(31_850_484 as u64)
- // Standard Error: 9_618
- .saturating_add(Weight::from_ref_time(4_721_947 as u64).saturating_mul(b as u64))
+ Weight::from_ref_time(28_171_920 as u64)
+ // Standard Error: 13_715
+ .saturating_add(Weight::from_ref_time(6_217_801 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(13_795_000 as u64)
- // Standard Error: 28_239
- .saturating_add(Weight::from_ref_time(12_840_446 as u64).saturating_mul(b as u64))
+ Weight::from_ref_time(15_511_000 as u64)
+ // Standard Error: 68_273
+ .saturating_add(Weight::from_ref_time(22_917_441 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_881_000 as u64)
+ Weight::from_ref_time(7_088_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_223_000 as u64)
+ Weight::from_ref_time(17_607_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_639_000 as u64)
+ Weight::from_ref_time(5_315_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(6_111_000 as u64)
+ Weight::from_ref_time(7_638_000 as u64)
.saturating_add(RocksDbWeight::get().reads(1 as u64))
.saturating_add(RocksDbWeight::get().writes(1 as u64))
}
pallets/refungible/src/weights.rsdiffbeforeafterboth3//! Autogenerated weights for pallet_refungible3//! Autogenerated weights for pallet_refungible4//!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: 2022-12-26, STEPS: `50`, REPEAT: 80, LOW RANGE: `[]`, HIGH RANGE: `[]`6//! DATE: 2023-01-18, STEPS: `50`, REPEAT: 80, LOW RANGE: `[]`, HIGH RANGE: `[]`7//! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 10247//! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024889// Executed Command:9// Executed Command:66impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {66impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {67 // Storage: Refungible TokensMinted (r:1 w:1)67 // Storage: Refungible TokensMinted (r:1 w:1)68 // Storage: Refungible AccountBalance (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)69 // Storage: Refungible Balance (r:0 w:1)71 // Storage: Refungible Balance (r:0 w:1)70 // Storage: Refungible TotalSupply (r:0 w:1)72 // Storage: Refungible TotalSupply (r:0 w:1)71 // Storage: Refungible Owned (r:0 w:1)73 // Storage: Refungible Owned (r:0 w:1)72 fn create_item() -> Weight {74 fn create_item() -> Weight {73 Weight::from_ref_time(32_864_000 as u64)75 Weight::from_ref_time(37_536_000 as u64)74 .saturating_add(T::DbWeight::get().reads(2 as u64))76 .saturating_add(T::DbWeight::get().reads(4 as u64))75 .saturating_add(T::DbWeight::get().writes(5 as u64))77 .saturating_add(T::DbWeight::get().writes(6 as u64))76 }78 }77 // Storage: Refungible TokensMinted (r:1 w:1)79 // Storage: Refungible TokensMinted (r:1 w:1)78 // Storage: Refungible AccountBalance (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)79 // Storage: Refungible Balance (r:0 w:4)83 // Storage: Refungible Balance (r:0 w:4)80 // Storage: Refungible TotalSupply (r:0 w:4)84 // Storage: Refungible TotalSupply (r:0 w:4)81 // Storage: Refungible Owned (r:0 w:4)85 // Storage: Refungible Owned (r:0 w:4)82 fn create_multiple_items(b: u32, ) -> Weight {86 fn create_multiple_items(b: u32, ) -> Weight {83 Weight::from_ref_time(11_880_472 as u64)87 Weight::from_ref_time(16_345_581 as u64)84 // Standard Error: 5_24088 // Standard Error: 5_34685 .saturating_add(Weight::from_ref_time(6_556_575 as u64).saturating_mul(b as u64))89 .saturating_add(Weight::from_ref_time(9_281_076 as u64).saturating_mul(b as u64))86 .saturating_add(T::DbWeight::get().reads(2 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)))87 .saturating_add(T::DbWeight::get().writes(2 as u64))92 .saturating_add(T::DbWeight::get().writes(2 as u64))88 .saturating_add(T::DbWeight::get().writes((3 as u64).saturating_mul(b as u64)))93 .saturating_add(T::DbWeight::get().writes((4 as u64).saturating_mul(b as u64)))89 }94 }90 // Storage: Refungible TokensMinted (r:1 w:1)95 // Storage: Refungible TokensMinted (r:1 w:1)91 // Storage: Refungible AccountBalance (r:4 w:4)96 // Storage: Refungible AccountBalance (r:4 w:4)97 // Storage: Refungible TokenProperties (r:4 w:4)98 // Storage: Common CollectionPropertyPermissions (r:1 w:0)92 // Storage: Refungible Balance (r:0 w:4)99 // Storage: Refungible Balance (r:0 w:4)93 // Storage: Refungible TotalSupply (r:0 w:4)100 // Storage: Refungible TotalSupply (r:0 w:4)94 // Storage: Refungible Owned (r:0 w:4)101 // Storage: Refungible Owned (r:0 w:4)95 fn create_multiple_items_ex_multiple_items(b: u32, ) -> Weight {102 fn create_multiple_items_ex_multiple_items(b: u32, ) -> Weight {96 Weight::from_ref_time(11_644_173 as u64)103 Weight::from_ref_time(11_246_602 as u64)97 // Standard Error: 5_876104 // Standard Error: 8_01598 .saturating_add(Weight::from_ref_time(8_214_607 as u64).saturating_mul(b as u64))105 .saturating_add(Weight::from_ref_time(11_043_114 as u64).saturating_mul(b as u64))99 .saturating_add(T::DbWeight::get().reads(1 as u64))106 .saturating_add(T::DbWeight::get().reads(2 as u64))100 .saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(b as u64)))107 .saturating_add(T::DbWeight::get().reads((2 as u64).saturating_mul(b as u64)))101 .saturating_add(T::DbWeight::get().writes(1 as u64))108 .saturating_add(T::DbWeight::get().writes(1 as u64))102 .saturating_add(T::DbWeight::get().writes((4 as u64).saturating_mul(b as u64)))109 .saturating_add(T::DbWeight::get().writes((5 as u64).saturating_mul(b as u64)))103 }110 }104 // Storage: Refungible TokensMinted (r:1 w:1)111 // Storage: Refungible TokensMinted (r:1 w:1)112 // Storage: Refungible TokenProperties (r:1 w:1)113 // Storage: Common CollectionPropertyPermissions (r:1 w:0)105 // Storage: Refungible TotalSupply (r:0 w:1)114 // Storage: Refungible TotalSupply (r:0 w:1)106 // Storage: Refungible AccountBalance (r:4 w:4)115 // Storage: Refungible AccountBalance (r:4 w:4)107 // Storage: Refungible Balance (r:0 w:4)116 // Storage: Refungible Balance (r:0 w:4)108 // Storage: Refungible Owned (r:0 w:4)117 // Storage: Refungible Owned (r:0 w:4)109 fn create_multiple_items_ex_multiple_owners(b: u32, ) -> Weight {118 fn create_multiple_items_ex_multiple_owners(b: u32, ) -> Weight {110 Weight::from_ref_time(21_817_067 as u64)119 Weight::from_ref_time(31_350_923 as u64)111 // Standard Error: 5_215120 // Standard Error: 4_061112 .saturating_add(Weight::from_ref_time(6_084_938 as u64).saturating_mul(b as u64))121 .saturating_add(Weight::from_ref_time(6_007_108 as u64).saturating_mul(b as u64))113 .saturating_add(T::DbWeight::get().reads(1 as u64))122 .saturating_add(T::DbWeight::get().reads(3 as u64))114 .saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(b as u64)))123 .saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(b as u64)))115 .saturating_add(T::DbWeight::get().writes(2 as u64))124 .saturating_add(T::DbWeight::get().writes(3 as u64))116 .saturating_add(T::DbWeight::get().writes((3 as u64).saturating_mul(b as u64)))125 .saturating_add(T::DbWeight::get().writes((3 as u64).saturating_mul(b as u64)))117 }126 }118 // Storage: Refungible Balance (r:3 w:1)127 // Storage: Refungible Balance (r:3 w:1)119 // Storage: Refungible TotalSupply (r:1 w:1)128 // Storage: Refungible TotalSupply (r:1 w:1)120 // Storage: Refungible AccountBalance (r:1 w:1)129 // Storage: Refungible AccountBalance (r:1 w:1)121 // Storage: Refungible Owned (r:0 w:1)130 // Storage: Refungible Owned (r:0 w:1)122 fn burn_item_partial() -> Weight {131 fn burn_item_partial() -> Weight {123 Weight::from_ref_time(47_087_000 as u64)132 Weight::from_ref_time(47_342_000 as u64)124 .saturating_add(T::DbWeight::get().reads(5 as u64))133 .saturating_add(T::DbWeight::get().reads(5 as u64))125 .saturating_add(T::DbWeight::get().writes(4 as u64))134 .saturating_add(T::DbWeight::get().writes(4 as u64))126 }135 }131 // Storage: Refungible Owned (r:0 w:1)140 // Storage: Refungible Owned (r:0 w:1)132 // Storage: Refungible TokenProperties (r:0 w:1)141 // Storage: Refungible TokenProperties (r:0 w:1)133 fn burn_item_fully() -> Weight {142 fn burn_item_fully() -> Weight {134 Weight::from_ref_time(40_135_000 as u64)143 Weight::from_ref_time(40_664_000 as u64)135 .saturating_add(T::DbWeight::get().reads(4 as u64))144 .saturating_add(T::DbWeight::get().reads(4 as u64))136 .saturating_add(T::DbWeight::get().writes(6 as u64))145 .saturating_add(T::DbWeight::get().writes(6 as u64))137 }146 }138 // Storage: Refungible Balance (r:2 w:2)147 // Storage: Refungible Balance (r:2 w:2)139 // Storage: Refungible TotalSupply (r:1 w:0)148 // Storage: Refungible TotalSupply (r:1 w:0)140 fn transfer_normal() -> Weight {149 fn transfer_normal() -> Weight {141 Weight::from_ref_time(30_749_000 as u64)150 Weight::from_ref_time(31_585_000 as u64)142 .saturating_add(T::DbWeight::get().reads(3 as u64))151 .saturating_add(T::DbWeight::get().reads(3 as u64))143 .saturating_add(T::DbWeight::get().writes(2 as u64))152 .saturating_add(T::DbWeight::get().writes(2 as u64))144 }153 }147 // Storage: Refungible TotalSupply (r:1 w:0)156 // Storage: Refungible TotalSupply (r:1 w:0)148 // Storage: Refungible Owned (r:0 w:1)157 // Storage: Refungible Owned (r:0 w:1)149 fn transfer_creating() -> Weight {158 fn transfer_creating() -> Weight {150 Weight::from_ref_time(33_565_000 as u64)159 Weight::from_ref_time(35_015_000 as u64)151 .saturating_add(T::DbWeight::get().reads(4 as u64))160 .saturating_add(T::DbWeight::get().reads(4 as u64))152 .saturating_add(T::DbWeight::get().writes(4 as u64))161 .saturating_add(T::DbWeight::get().writes(4 as u64))153 }162 }156 // Storage: Refungible TotalSupply (r:1 w:0)165 // Storage: Refungible TotalSupply (r:1 w:0)157 // Storage: Refungible Owned (r:0 w:1)166 // Storage: Refungible Owned (r:0 w:1)158 fn transfer_removing() -> Weight {167 fn transfer_removing() -> Weight {159 Weight::from_ref_time(37_406_000 as u64)168 Weight::from_ref_time(38_209_000 as u64)160 .saturating_add(T::DbWeight::get().reads(4 as u64))169 .saturating_add(T::DbWeight::get().reads(4 as u64))161 .saturating_add(T::DbWeight::get().writes(4 as u64))170 .saturating_add(T::DbWeight::get().writes(4 as u64))162 }171 }165 // Storage: Refungible TotalSupply (r:1 w:0)174 // Storage: Refungible TotalSupply (r:1 w:0)166 // Storage: Refungible Owned (r:0 w:2)175 // Storage: Refungible Owned (r:0 w:2)167 fn transfer_creating_removing() -> Weight {176 fn transfer_creating_removing() -> Weight {168 Weight::from_ref_time(36_689_000 as u64)177 Weight::from_ref_time(38_549_000 as u64)169 .saturating_add(T::DbWeight::get().reads(5 as u64))178 .saturating_add(T::DbWeight::get().reads(5 as u64))170 .saturating_add(T::DbWeight::get().writes(6 as u64))179 .saturating_add(T::DbWeight::get().writes(6 as u64))171 }180 }172 // Storage: Refungible Balance (r:1 w:0)181 // Storage: Refungible Balance (r:1 w:0)173 // Storage: Refungible Allowance (r:0 w:1)182 // Storage: Refungible Allowance (r:0 w:1)174 fn approve() -> Weight {183 fn approve() -> Weight {175 Weight::from_ref_time(23_177_000 as u64)184 Weight::from_ref_time(24_503_000 as u64)176 .saturating_add(T::DbWeight::get().reads(1 as u64))185 .saturating_add(T::DbWeight::get().reads(1 as u64))177 .saturating_add(T::DbWeight::get().writes(1 as u64))186 .saturating_add(T::DbWeight::get().writes(1 as u64))178 }187 }179 // Storage: Refungible Balance (r:1 w:0)188 // Storage: Refungible Balance (r:1 w:0)180 // Storage: Refungible Allowance (r:0 w:1)189 // Storage: Refungible Allowance (r:0 w:1)181 fn approve_from() -> Weight {190 fn approve_from() -> Weight {182 Weight::from_ref_time(20_649_000 as u64)191 Weight::from_ref_time(24_584_000 as u64)183 .saturating_add(T::DbWeight::get().reads(1 as u64))192 .saturating_add(T::DbWeight::get().reads(1 as u64))184 .saturating_add(T::DbWeight::get().writes(1 as u64))193 .saturating_add(T::DbWeight::get().writes(1 as u64))185 }194 }186 // Storage: Refungible Allowance (r:1 w:1)195 // Storage: Refungible Allowance (r:1 w:1)187 // Storage: Refungible CollectionAllowance (r:1 w:0)188 // Storage: Refungible Balance (r:2 w:2)196 // Storage: Refungible Balance (r:2 w:2)189 // Storage: Refungible TotalSupply (r:1 w:0)197 // Storage: Refungible TotalSupply (r:1 w:0)190 fn transfer_from_normal() -> Weight {198 fn transfer_from_normal() -> Weight {191 Weight::from_ref_time(41_288_000 as u64)199 Weight::from_ref_time(41_001_000 as u64)192 .saturating_add(T::DbWeight::get().reads(5 as u64))200 .saturating_add(T::DbWeight::get().reads(4 as u64))193 .saturating_add(T::DbWeight::get().writes(3 as u64))201 .saturating_add(T::DbWeight::get().writes(3 as u64))194 }202 }195 // Storage: Refungible Allowance (r:1 w:1)203 // Storage: Refungible Allowance (r:1 w:1)196 // Storage: Refungible CollectionAllowance (r:1 w:0)197 // Storage: Refungible Balance (r:2 w:2)204 // Storage: Refungible Balance (r:2 w:2)198 // Storage: Refungible AccountBalance (r:1 w:1)205 // Storage: Refungible AccountBalance (r:1 w:1)199 // Storage: Refungible TotalSupply (r:1 w:0)206 // Storage: Refungible TotalSupply (r:1 w:0)200 // Storage: Refungible Owned (r:0 w:1)207 // Storage: Refungible Owned (r:0 w:1)201 fn transfer_from_creating() -> Weight {208 fn transfer_from_creating() -> Weight {202 Weight::from_ref_time(44_807_000 as u64)209 Weight::from_ref_time(43_884_000 as u64)203 .saturating_add(T::DbWeight::get().reads(6 as u64))210 .saturating_add(T::DbWeight::get().reads(5 as u64))204 .saturating_add(T::DbWeight::get().writes(5 as u64))211 .saturating_add(T::DbWeight::get().writes(5 as u64))205 }212 }206 // Storage: Refungible Allowance (r:1 w:1)213 // Storage: Refungible Allowance (r:1 w:1)207 // Storage: Refungible CollectionAllowance (r:1 w:0)208 // Storage: Refungible Balance (r:2 w:2)214 // Storage: Refungible Balance (r:2 w:2)209 // Storage: Refungible AccountBalance (r:1 w:1)215 // Storage: Refungible AccountBalance (r:1 w:1)210 // Storage: Refungible TotalSupply (r:1 w:0)216 // Storage: Refungible TotalSupply (r:1 w:0)211 // Storage: Refungible Owned (r:0 w:1)217 // Storage: Refungible Owned (r:0 w:1)212 fn transfer_from_removing() -> Weight {218 fn transfer_from_removing() -> Weight {213 Weight::from_ref_time(47_297_000 as u64)219 Weight::from_ref_time(47_515_000 as u64)214 .saturating_add(T::DbWeight::get().reads(6 as u64))220 .saturating_add(T::DbWeight::get().reads(5 as u64))215 .saturating_add(T::DbWeight::get().writes(5 as u64))221 .saturating_add(T::DbWeight::get().writes(5 as u64))216 }222 }217 // Storage: Refungible Allowance (r:1 w:1)223 // Storage: Refungible Allowance (r:1 w:1)218 // Storage: Refungible CollectionAllowance (r:1 w:0)219 // Storage: Refungible Balance (r:2 w:2)224 // Storage: Refungible Balance (r:2 w:2)220 // Storage: Refungible AccountBalance (r:2 w:2)225 // Storage: Refungible AccountBalance (r:2 w:2)221 // Storage: Refungible TotalSupply (r:1 w:0)226 // Storage: Refungible TotalSupply (r:1 w:0)222 // Storage: Refungible Owned (r:0 w:2)227 // Storage: Refungible Owned (r:0 w:2)223 fn transfer_from_creating_removing() -> Weight {228 fn transfer_from_creating_removing() -> Weight {224 Weight::from_ref_time(47_566_000 as u64)229 Weight::from_ref_time(47_087_000 as u64)225 .saturating_add(T::DbWeight::get().reads(7 as u64))230 .saturating_add(T::DbWeight::get().reads(6 as u64))226 .saturating_add(T::DbWeight::get().writes(7 as u64))231 .saturating_add(T::DbWeight::get().writes(7 as u64))227 }232 }228 // Storage: Refungible Allowance (r:1 w:1)233 // Storage: Refungible Allowance (r:1 w:1)229 // Storage: Refungible CollectionAllowance (r:1 w:0)230 // Storage: Refungible Balance (r:1 w:1)234 // Storage: Refungible Balance (r:1 w:1)231 // Storage: Refungible TotalSupply (r:1 w:1)235 // Storage: Refungible TotalSupply (r:1 w:1)232 // Storage: Refungible AccountBalance (r:1 w:1)236 // Storage: Refungible AccountBalance (r:1 w:1)233 // Storage: Refungible TokensBurnt (r:1 w:1)237 // Storage: Refungible TokensBurnt (r:1 w:1)234 // Storage: Refungible Owned (r:0 w:1)238 // Storage: Refungible Owned (r:0 w:1)235 // Storage: Refungible TokenProperties (r:0 w:1)239 // Storage: Refungible TokenProperties (r:0 w:1)236 fn burn_from() -> Weight {240 fn burn_from() -> Weight {237 Weight::from_ref_time(53_074_000 as u64)241 Weight::from_ref_time(52_735_000 as u64)238 .saturating_add(T::DbWeight::get().reads(6 as u64))242 .saturating_add(T::DbWeight::get().reads(5 as u64))239 .saturating_add(T::DbWeight::get().writes(7 as u64))243 .saturating_add(T::DbWeight::get().writes(7 as u64))240 }244 }241 // Storage: Common CollectionPropertyPermissions (r:1 w:1)245 // Storage: Common CollectionPropertyPermissions (r:1 w:1)242 fn set_token_property_permissions(b: u32, ) -> Weight {246 fn set_token_property_permissions(b: u32, ) -> Weight {243 Weight::from_ref_time(5_170_000 as u64)247 Weight::from_ref_time(5_232_000 as u64)244 // Standard Error: 40_532248 // Standard Error: 43_746245 .saturating_add(Weight::from_ref_time(11_948_016 as u64).saturating_mul(b as u64))249 .saturating_add(Weight::from_ref_time(12_961_609 as u64).saturating_mul(b as u64))246 .saturating_add(T::DbWeight::get().reads(1 as u64))250 .saturating_add(T::DbWeight::get().reads(1 as u64))247 .saturating_add(T::DbWeight::get().writes(1 as u64))251 .saturating_add(T::DbWeight::get().writes(1 as u64))248 }252 }249 // Storage: Refungible TokenProperties (r:1 w:1)253 // Storage: Refungible TokenProperties (r:1 w:1)250 // Storage: Common CollectionPropertyPermissions (r:1 w:0)254 // Storage: Common CollectionPropertyPermissions (r:1 w:0)251 fn set_token_properties(b: u32, ) -> Weight {255 fn set_token_properties(b: u32, ) -> Weight {252 Weight::from_ref_time(25_518_267 as u64)256 Weight::from_ref_time(18_287_762 as u64)253 // Standard Error: 20_451257 // Standard Error: 31_915254 .saturating_add(Weight::from_ref_time(5_041_089 as u64).saturating_mul(b as u64))258 .saturating_add(Weight::from_ref_time(7_070_524 as u64).saturating_mul(b as u64))255 .saturating_add(T::DbWeight::get().reads(2 as u64))259 .saturating_add(T::DbWeight::get().reads(2 as u64))256 .saturating_add(T::DbWeight::get().writes(1 as u64))260 .saturating_add(T::DbWeight::get().writes(1 as u64))257 }261 }258 // Storage: Refungible TokenProperties (r:1 w:1)262 // Storage: Refungible TokenProperties (r:1 w:1)259 // Storage: Common CollectionPropertyPermissions (r:1 w:0)263 // Storage: Common CollectionPropertyPermissions (r:1 w:0)260 fn delete_token_properties(b: u32, ) -> Weight {264 fn delete_token_properties(b: u32, ) -> Weight {261 Weight::from_ref_time(13_715_000 as u64)265 Weight::from_ref_time(15_075_000 as u64)262 // Standard Error: 28_323266 // Standard Error: 69_091263 .saturating_add(Weight::from_ref_time(13_113_351 as u64).saturating_mul(b as u64))267 .saturating_add(Weight::from_ref_time(22_793_781 as u64).saturating_mul(b as u64))264 .saturating_add(T::DbWeight::get().reads(2 as u64))268 .saturating_add(T::DbWeight::get().reads(2 as u64))265 .saturating_add(T::DbWeight::get().writes(1 as u64))269 .saturating_add(T::DbWeight::get().writes(1 as u64))266 }270 }267 // Storage: Refungible TotalSupply (r:1 w:1)271 // Storage: Refungible TotalSupply (r:1 w:1)268 // Storage: Refungible Balance (r:1 w:1)272 // Storage: Refungible Balance (r:1 w:1)269 fn repartition_item() -> Weight {273 fn repartition_item() -> Weight {270 Weight::from_ref_time(25_574_000 as u64)274 Weight::from_ref_time(25_147_000 as u64)271 .saturating_add(T::DbWeight::get().reads(2 as u64))275 .saturating_add(T::DbWeight::get().reads(2 as u64))272 .saturating_add(T::DbWeight::get().writes(2 as u64))276 .saturating_add(T::DbWeight::get().writes(2 as u64))273 }277 }274 // Storage: Refungible Balance (r:2 w:0)278 // Storage: Refungible Balance (r:2 w:0)275 fn token_owner() -> Weight {279 fn token_owner() -> Weight {276 Weight::from_ref_time(9_819_000 as u64)280 Weight::from_ref_time(9_921_000 as u64)277 .saturating_add(T::DbWeight::get().reads(2 as u64))281 .saturating_add(T::DbWeight::get().reads(2 as u64))278 }282 }279 // Storage: Refungible CollectionAllowance (r:0 w:1)283 // Storage: Refungible CollectionAllowance (r:0 w:1)280 fn set_allowance_for_all() -> Weight {284 fn set_allowance_for_all() -> Weight {281 Weight::from_ref_time(16_228_000 as u64)285 Weight::from_ref_time(17_822_000 as u64)282 .saturating_add(T::DbWeight::get().writes(1 as u64))286 .saturating_add(T::DbWeight::get().writes(1 as u64))283 }287 }284 // Storage: Refungible CollectionAllowance (r:1 w:0)288 // Storage: Refungible CollectionAllowance (r:1 w:0)285 fn allowance_for_all() -> Weight {289 fn allowance_for_all() -> Weight {286 Weight::from_ref_time(5_374_000 as u64)290 Weight::from_ref_time(5_265_000 as u64)287 .saturating_add(T::DbWeight::get().reads(1 as u64))291 .saturating_add(T::DbWeight::get().reads(1 as u64))288 }292 }289 // Storage: Refungible TokenProperties (r:1 w:1)293 // Storage: Refungible TokenProperties (r:1 w:1)290 fn repair_item() -> Weight {294 fn repair_item() -> Weight {291 Weight::from_ref_time(5_624_000 as u64)295 Weight::from_ref_time(7_229_000 as u64)292 .saturating_add(T::DbWeight::get().reads(1 as u64))296 .saturating_add(T::DbWeight::get().reads(1 as u64))293 .saturating_add(T::DbWeight::get().writes(1 as u64))297 .saturating_add(T::DbWeight::get().writes(1 as u64))294 }298 }298impl WeightInfo for () {302impl WeightInfo for () {299 // Storage: Refungible TokensMinted (r:1 w:1)303 // Storage: Refungible TokensMinted (r:1 w:1)300 // Storage: Refungible AccountBalance (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)301 // Storage: Refungible Balance (r:0 w:1)307 // Storage: Refungible Balance (r:0 w:1)302 // Storage: Refungible TotalSupply (r:0 w:1)308 // Storage: Refungible TotalSupply (r:0 w:1)303 // Storage: Refungible Owned (r:0 w:1)309 // Storage: Refungible Owned (r:0 w:1)304 fn create_item() -> Weight {310 fn create_item() -> Weight {305 Weight::from_ref_time(32_864_000 as u64)311 Weight::from_ref_time(37_536_000 as u64)306 .saturating_add(RocksDbWeight::get().reads(2 as u64))312 .saturating_add(RocksDbWeight::get().reads(4 as u64))307 .saturating_add(RocksDbWeight::get().writes(5 as u64))313 .saturating_add(RocksDbWeight::get().writes(6 as u64))308 }314 }309 // Storage: Refungible TokensMinted (r:1 w:1)315 // Storage: Refungible TokensMinted (r:1 w:1)310 // Storage: Refungible AccountBalance (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)311 // Storage: Refungible Balance (r:0 w:4)319 // Storage: Refungible Balance (r:0 w:4)312 // Storage: Refungible TotalSupply (r:0 w:4)320 // Storage: Refungible TotalSupply (r:0 w:4)313 // Storage: Refungible Owned (r:0 w:4)321 // Storage: Refungible Owned (r:0 w:4)314 fn create_multiple_items(b: u32, ) -> Weight {322 fn create_multiple_items(b: u32, ) -> Weight {315 Weight::from_ref_time(11_880_472 as u64)323 Weight::from_ref_time(16_345_581 as u64)316 // Standard Error: 5_240324 // Standard Error: 5_346317 .saturating_add(Weight::from_ref_time(6_556_575 as u64).saturating_mul(b as u64))325 .saturating_add(Weight::from_ref_time(9_281_076 as u64).saturating_mul(b as u64))318 .saturating_add(RocksDbWeight::get().reads(2 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)))319 .saturating_add(RocksDbWeight::get().writes(2 as u64))328 .saturating_add(RocksDbWeight::get().writes(2 as u64))320 .saturating_add(RocksDbWeight::get().writes((3 as u64).saturating_mul(b as u64)))329 .saturating_add(RocksDbWeight::get().writes((4 as u64).saturating_mul(b as u64)))321 }330 }322 // Storage: Refungible TokensMinted (r:1 w:1)331 // Storage: Refungible TokensMinted (r:1 w:1)323 // Storage: Refungible AccountBalance (r:4 w:4)332 // Storage: Refungible AccountBalance (r:4 w:4)333 // Storage: Refungible TokenProperties (r:4 w:4)334 // Storage: Common CollectionPropertyPermissions (r:1 w:0)324 // Storage: Refungible Balance (r:0 w:4)335 // Storage: Refungible Balance (r:0 w:4)325 // Storage: Refungible TotalSupply (r:0 w:4)336 // Storage: Refungible TotalSupply (r:0 w:4)326 // Storage: Refungible Owned (r:0 w:4)337 // Storage: Refungible Owned (r:0 w:4)327 fn create_multiple_items_ex_multiple_items(b: u32, ) -> Weight {338 fn create_multiple_items_ex_multiple_items(b: u32, ) -> Weight {328 Weight::from_ref_time(11_644_173 as u64)339 Weight::from_ref_time(11_246_602 as u64)329 // Standard Error: 5_876340 // Standard Error: 8_015330 .saturating_add(Weight::from_ref_time(8_214_607 as u64).saturating_mul(b as u64))341 .saturating_add(Weight::from_ref_time(11_043_114 as u64).saturating_mul(b as u64))331 .saturating_add(RocksDbWeight::get().reads(1 as u64))342 .saturating_add(RocksDbWeight::get().reads(2 as u64))332 .saturating_add(RocksDbWeight::get().reads((1 as u64).saturating_mul(b as u64)))343 .saturating_add(RocksDbWeight::get().reads((2 as u64).saturating_mul(b as u64)))333 .saturating_add(RocksDbWeight::get().writes(1 as u64))344 .saturating_add(RocksDbWeight::get().writes(1 as u64))334 .saturating_add(RocksDbWeight::get().writes((4 as u64).saturating_mul(b as u64)))345 .saturating_add(RocksDbWeight::get().writes((5 as u64).saturating_mul(b as u64)))335 }346 }336 // Storage: Refungible TokensMinted (r:1 w:1)347 // Storage: Refungible TokensMinted (r:1 w:1)348 // Storage: Refungible TokenProperties (r:1 w:1)349 // Storage: Common CollectionPropertyPermissions (r:1 w:0)337 // Storage: Refungible TotalSupply (r:0 w:1)350 // Storage: Refungible TotalSupply (r:0 w:1)338 // Storage: Refungible AccountBalance (r:4 w:4)351 // Storage: Refungible AccountBalance (r:4 w:4)339 // Storage: Refungible Balance (r:0 w:4)352 // Storage: Refungible Balance (r:0 w:4)340 // Storage: Refungible Owned (r:0 w:4)353 // Storage: Refungible Owned (r:0 w:4)341 fn create_multiple_items_ex_multiple_owners(b: u32, ) -> Weight {354 fn create_multiple_items_ex_multiple_owners(b: u32, ) -> Weight {342 Weight::from_ref_time(21_817_067 as u64)355 Weight::from_ref_time(31_350_923 as u64)343 // Standard Error: 5_215356 // Standard Error: 4_061344 .saturating_add(Weight::from_ref_time(6_084_938 as u64).saturating_mul(b as u64))357 .saturating_add(Weight::from_ref_time(6_007_108 as u64).saturating_mul(b as u64))345 .saturating_add(RocksDbWeight::get().reads(1 as u64))358 .saturating_add(RocksDbWeight::get().reads(3 as u64))346 .saturating_add(RocksDbWeight::get().reads((1 as u64).saturating_mul(b as u64)))359 .saturating_add(RocksDbWeight::get().reads((1 as u64).saturating_mul(b as u64)))347 .saturating_add(RocksDbWeight::get().writes(2 as u64))360 .saturating_add(RocksDbWeight::get().writes(3 as u64))348 .saturating_add(RocksDbWeight::get().writes((3 as u64).saturating_mul(b as u64)))361 .saturating_add(RocksDbWeight::get().writes((3 as u64).saturating_mul(b as u64)))349 }362 }350 // Storage: Refungible Balance (r:3 w:1)363 // Storage: Refungible Balance (r:3 w:1)351 // Storage: Refungible TotalSupply (r:1 w:1)364 // Storage: Refungible TotalSupply (r:1 w:1)352 // Storage: Refungible AccountBalance (r:1 w:1)365 // Storage: Refungible AccountBalance (r:1 w:1)353 // Storage: Refungible Owned (r:0 w:1)366 // Storage: Refungible Owned (r:0 w:1)354 fn burn_item_partial() -> Weight {367 fn burn_item_partial() -> Weight {355 Weight::from_ref_time(47_087_000 as u64)368 Weight::from_ref_time(47_342_000 as u64)356 .saturating_add(RocksDbWeight::get().reads(5 as u64))369 .saturating_add(RocksDbWeight::get().reads(5 as u64))357 .saturating_add(RocksDbWeight::get().writes(4 as u64))370 .saturating_add(RocksDbWeight::get().writes(4 as u64))358 }371 }363 // Storage: Refungible Owned (r:0 w:1)376 // Storage: Refungible Owned (r:0 w:1)364 // Storage: Refungible TokenProperties (r:0 w:1)377 // Storage: Refungible TokenProperties (r:0 w:1)365 fn burn_item_fully() -> Weight {378 fn burn_item_fully() -> Weight {366 Weight::from_ref_time(40_135_000 as u64)379 Weight::from_ref_time(40_664_000 as u64)367 .saturating_add(RocksDbWeight::get().reads(4 as u64))380 .saturating_add(RocksDbWeight::get().reads(4 as u64))368 .saturating_add(RocksDbWeight::get().writes(6 as u64))381 .saturating_add(RocksDbWeight::get().writes(6 as u64))369 }382 }370 // Storage: Refungible Balance (r:2 w:2)383 // Storage: Refungible Balance (r:2 w:2)371 // Storage: Refungible TotalSupply (r:1 w:0)384 // Storage: Refungible TotalSupply (r:1 w:0)372 fn transfer_normal() -> Weight {385 fn transfer_normal() -> Weight {373 Weight::from_ref_time(30_749_000 as u64)386 Weight::from_ref_time(31_585_000 as u64)374 .saturating_add(RocksDbWeight::get().reads(3 as u64))387 .saturating_add(RocksDbWeight::get().reads(3 as u64))375 .saturating_add(RocksDbWeight::get().writes(2 as u64))388 .saturating_add(RocksDbWeight::get().writes(2 as u64))376 }389 }379 // Storage: Refungible TotalSupply (r:1 w:0)392 // Storage: Refungible TotalSupply (r:1 w:0)380 // Storage: Refungible Owned (r:0 w:1)393 // Storage: Refungible Owned (r:0 w:1)381 fn transfer_creating() -> Weight {394 fn transfer_creating() -> Weight {382 Weight::from_ref_time(33_565_000 as u64)395 Weight::from_ref_time(35_015_000 as u64)383 .saturating_add(RocksDbWeight::get().reads(4 as u64))396 .saturating_add(RocksDbWeight::get().reads(4 as u64))384 .saturating_add(RocksDbWeight::get().writes(4 as u64))397 .saturating_add(RocksDbWeight::get().writes(4 as u64))385 }398 }388 // Storage: Refungible TotalSupply (r:1 w:0)401 // Storage: Refungible TotalSupply (r:1 w:0)389 // Storage: Refungible Owned (r:0 w:1)402 // Storage: Refungible Owned (r:0 w:1)390 fn transfer_removing() -> Weight {403 fn transfer_removing() -> Weight {391 Weight::from_ref_time(37_406_000 as u64)404 Weight::from_ref_time(38_209_000 as u64)392 .saturating_add(RocksDbWeight::get().reads(4 as u64))405 .saturating_add(RocksDbWeight::get().reads(4 as u64))393 .saturating_add(RocksDbWeight::get().writes(4 as u64))406 .saturating_add(RocksDbWeight::get().writes(4 as u64))394 }407 }397 // Storage: Refungible TotalSupply (r:1 w:0)410 // Storage: Refungible TotalSupply (r:1 w:0)398 // Storage: Refungible Owned (r:0 w:2)411 // Storage: Refungible Owned (r:0 w:2)399 fn transfer_creating_removing() -> Weight {412 fn transfer_creating_removing() -> Weight {400 Weight::from_ref_time(36_689_000 as u64)413 Weight::from_ref_time(38_549_000 as u64)401 .saturating_add(RocksDbWeight::get().reads(5 as u64))414 .saturating_add(RocksDbWeight::get().reads(5 as u64))402 .saturating_add(RocksDbWeight::get().writes(6 as u64))415 .saturating_add(RocksDbWeight::get().writes(6 as u64))403 }416 }404 // Storage: Refungible Balance (r:1 w:0)417 // Storage: Refungible Balance (r:1 w:0)405 // Storage: Refungible Allowance (r:0 w:1)418 // Storage: Refungible Allowance (r:0 w:1)406 fn approve() -> Weight {419 fn approve() -> Weight {407 Weight::from_ref_time(23_177_000 as u64)420 Weight::from_ref_time(24_503_000 as u64)408 .saturating_add(RocksDbWeight::get().reads(1 as u64))421 .saturating_add(RocksDbWeight::get().reads(1 as u64))409 .saturating_add(RocksDbWeight::get().writes(1 as u64))422 .saturating_add(RocksDbWeight::get().writes(1 as u64))410 }423 }411 // Storage: Refungible Balance (r:1 w:0)424 // Storage: Refungible Balance (r:1 w:0)412 // Storage: Refungible Allowance (r:0 w:1)425 // Storage: Refungible Allowance (r:0 w:1)413 fn approve_from() -> Weight {426 fn approve_from() -> Weight {414 Weight::from_ref_time(20_649_000 as u64)427 Weight::from_ref_time(24_584_000 as u64)415 .saturating_add(RocksDbWeight::get().reads(1 as u64))428 .saturating_add(RocksDbWeight::get().reads(1 as u64))416 .saturating_add(RocksDbWeight::get().writes(1 as u64))429 .saturating_add(RocksDbWeight::get().writes(1 as u64))417 }430 }418 // Storage: Refungible Allowance (r:1 w:1)431 // Storage: Refungible Allowance (r:1 w:1)419 // Storage: Refungible CollectionAllowance (r:1 w:0)420 // Storage: Refungible Balance (r:2 w:2)432 // Storage: Refungible Balance (r:2 w:2)421 // Storage: Refungible TotalSupply (r:1 w:0)433 // Storage: Refungible TotalSupply (r:1 w:0)422 fn transfer_from_normal() -> Weight {434 fn transfer_from_normal() -> Weight {423 Weight::from_ref_time(41_288_000 as u64)435 Weight::from_ref_time(41_001_000 as u64)424 .saturating_add(RocksDbWeight::get().reads(5 as u64))436 .saturating_add(RocksDbWeight::get().reads(4 as u64))425 .saturating_add(RocksDbWeight::get().writes(3 as u64))437 .saturating_add(RocksDbWeight::get().writes(3 as u64))426 }438 }427 // Storage: Refungible Allowance (r:1 w:1)439 // Storage: Refungible Allowance (r:1 w:1)428 // Storage: Refungible CollectionAllowance (r:1 w:0)429 // Storage: Refungible Balance (r:2 w:2)440 // Storage: Refungible Balance (r:2 w:2)430 // Storage: Refungible AccountBalance (r:1 w:1)441 // Storage: Refungible AccountBalance (r:1 w:1)431 // Storage: Refungible TotalSupply (r:1 w:0)442 // Storage: Refungible TotalSupply (r:1 w:0)432 // Storage: Refungible Owned (r:0 w:1)443 // Storage: Refungible Owned (r:0 w:1)433 fn transfer_from_creating() -> Weight {444 fn transfer_from_creating() -> Weight {434 Weight::from_ref_time(44_807_000 as u64)445 Weight::from_ref_time(43_884_000 as u64)435 .saturating_add(RocksDbWeight::get().reads(6 as u64))446 .saturating_add(RocksDbWeight::get().reads(5 as u64))436 .saturating_add(RocksDbWeight::get().writes(5 as u64))447 .saturating_add(RocksDbWeight::get().writes(5 as u64))437 }448 }438 // Storage: Refungible Allowance (r:1 w:1)449 // Storage: Refungible Allowance (r:1 w:1)439 // Storage: Refungible CollectionAllowance (r:1 w:0)440 // Storage: Refungible Balance (r:2 w:2)450 // Storage: Refungible Balance (r:2 w:2)441 // Storage: Refungible AccountBalance (r:1 w:1)451 // Storage: Refungible AccountBalance (r:1 w:1)442 // Storage: Refungible TotalSupply (r:1 w:0)452 // Storage: Refungible TotalSupply (r:1 w:0)443 // Storage: Refungible Owned (r:0 w:1)453 // Storage: Refungible Owned (r:0 w:1)444 fn transfer_from_removing() -> Weight {454 fn transfer_from_removing() -> Weight {445 Weight::from_ref_time(47_297_000 as u64)455 Weight::from_ref_time(47_515_000 as u64)446 .saturating_add(RocksDbWeight::get().reads(6 as u64))456 .saturating_add(RocksDbWeight::get().reads(5 as u64))447 .saturating_add(RocksDbWeight::get().writes(5 as u64))457 .saturating_add(RocksDbWeight::get().writes(5 as u64))448 }458 }449 // Storage: Refungible Allowance (r:1 w:1)459 // Storage: Refungible Allowance (r:1 w:1)450 // Storage: Refungible CollectionAllowance (r:1 w:0)451 // Storage: Refungible Balance (r:2 w:2)460 // Storage: Refungible Balance (r:2 w:2)452 // Storage: Refungible AccountBalance (r:2 w:2)461 // Storage: Refungible AccountBalance (r:2 w:2)453 // Storage: Refungible TotalSupply (r:1 w:0)462 // Storage: Refungible TotalSupply (r:1 w:0)454 // Storage: Refungible Owned (r:0 w:2)463 // Storage: Refungible Owned (r:0 w:2)455 fn transfer_from_creating_removing() -> Weight {464 fn transfer_from_creating_removing() -> Weight {456 Weight::from_ref_time(47_566_000 as u64)465 Weight::from_ref_time(47_087_000 as u64)457 .saturating_add(RocksDbWeight::get().reads(7 as u64))466 .saturating_add(RocksDbWeight::get().reads(6 as u64))458 .saturating_add(RocksDbWeight::get().writes(7 as u64))467 .saturating_add(RocksDbWeight::get().writes(7 as u64))459 }468 }460 // Storage: Refungible Allowance (r:1 w:1)469 // Storage: Refungible Allowance (r:1 w:1)461 // Storage: Refungible CollectionAllowance (r:1 w:0)462 // Storage: Refungible Balance (r:1 w:1)470 // Storage: Refungible Balance (r:1 w:1)463 // Storage: Refungible TotalSupply (r:1 w:1)471 // Storage: Refungible TotalSupply (r:1 w:1)464 // Storage: Refungible AccountBalance (r:1 w:1)472 // Storage: Refungible AccountBalance (r:1 w:1)465 // Storage: Refungible TokensBurnt (r:1 w:1)473 // Storage: Refungible TokensBurnt (r:1 w:1)466 // Storage: Refungible Owned (r:0 w:1)474 // Storage: Refungible Owned (r:0 w:1)467 // Storage: Refungible TokenProperties (r:0 w:1)475 // Storage: Refungible TokenProperties (r:0 w:1)468 fn burn_from() -> Weight {476 fn burn_from() -> Weight {469 Weight::from_ref_time(53_074_000 as u64)477 Weight::from_ref_time(52_735_000 as u64)470 .saturating_add(RocksDbWeight::get().reads(6 as u64))478 .saturating_add(RocksDbWeight::get().reads(5 as u64))471 .saturating_add(RocksDbWeight::get().writes(7 as u64))479 .saturating_add(RocksDbWeight::get().writes(7 as u64))472 }480 }473 // Storage: Common CollectionPropertyPermissions (r:1 w:1)481 // Storage: Common CollectionPropertyPermissions (r:1 w:1)474 fn set_token_property_permissions(b: u32, ) -> Weight {482 fn set_token_property_permissions(b: u32, ) -> Weight {475 Weight::from_ref_time(5_170_000 as u64)483 Weight::from_ref_time(5_232_000 as u64)476 // Standard Error: 40_532484 // Standard Error: 43_746477 .saturating_add(Weight::from_ref_time(11_948_016 as u64).saturating_mul(b as u64))485 .saturating_add(Weight::from_ref_time(12_961_609 as u64).saturating_mul(b as u64))478 .saturating_add(RocksDbWeight::get().reads(1 as u64))486 .saturating_add(RocksDbWeight::get().reads(1 as u64))479 .saturating_add(RocksDbWeight::get().writes(1 as u64))487 .saturating_add(RocksDbWeight::get().writes(1 as u64))480 }488 }481 // Storage: Refungible TokenProperties (r:1 w:1)489 // Storage: Refungible TokenProperties (r:1 w:1)482 // Storage: Common CollectionPropertyPermissions (r:1 w:0)490 // Storage: Common CollectionPropertyPermissions (r:1 w:0)483 fn set_token_properties(b: u32, ) -> Weight {491 fn set_token_properties(b: u32, ) -> Weight {484 Weight::from_ref_time(25_518_267 as u64)492 Weight::from_ref_time(18_287_762 as u64)485 // Standard Error: 20_451493 // Standard Error: 31_915486 .saturating_add(Weight::from_ref_time(5_041_089 as u64).saturating_mul(b as u64))494 .saturating_add(Weight::from_ref_time(7_070_524 as u64).saturating_mul(b as u64))487 .saturating_add(RocksDbWeight::get().reads(2 as u64))495 .saturating_add(RocksDbWeight::get().reads(2 as u64))488 .saturating_add(RocksDbWeight::get().writes(1 as u64))496 .saturating_add(RocksDbWeight::get().writes(1 as u64))489 }497 }490 // Storage: Refungible TokenProperties (r:1 w:1)498 // Storage: Refungible TokenProperties (r:1 w:1)491 // Storage: Common CollectionPropertyPermissions (r:1 w:0)499 // Storage: Common CollectionPropertyPermissions (r:1 w:0)492 fn delete_token_properties(b: u32, ) -> Weight {500 fn delete_token_properties(b: u32, ) -> Weight {493 Weight::from_ref_time(13_715_000 as u64)501 Weight::from_ref_time(15_075_000 as u64)494 // Standard Error: 28_323502 // Standard Error: 69_091495 .saturating_add(Weight::from_ref_time(13_113_351 as u64).saturating_mul(b as u64))503 .saturating_add(Weight::from_ref_time(22_793_781 as u64).saturating_mul(b as u64))496 .saturating_add(RocksDbWeight::get().reads(2 as u64))504 .saturating_add(RocksDbWeight::get().reads(2 as u64))497 .saturating_add(RocksDbWeight::get().writes(1 as u64))505 .saturating_add(RocksDbWeight::get().writes(1 as u64))498 }506 }499 // Storage: Refungible TotalSupply (r:1 w:1)507 // Storage: Refungible TotalSupply (r:1 w:1)500 // Storage: Refungible Balance (r:1 w:1)508 // Storage: Refungible Balance (r:1 w:1)501 fn repartition_item() -> Weight {509 fn repartition_item() -> Weight {502 Weight::from_ref_time(25_574_000 as u64)510 Weight::from_ref_time(25_147_000 as u64)503 .saturating_add(RocksDbWeight::get().reads(2 as u64))511 .saturating_add(RocksDbWeight::get().reads(2 as u64))504 .saturating_add(RocksDbWeight::get().writes(2 as u64))512 .saturating_add(RocksDbWeight::get().writes(2 as u64))505 }513 }506 // Storage: Refungible Balance (r:2 w:0)514 // Storage: Refungible Balance (r:2 w:0)507 fn token_owner() -> Weight {515 fn token_owner() -> Weight {508 Weight::from_ref_time(9_819_000 as u64)516 Weight::from_ref_time(9_921_000 as u64)509 .saturating_add(RocksDbWeight::get().reads(2 as u64))517 .saturating_add(RocksDbWeight::get().reads(2 as u64))510 }518 }511 // Storage: Refungible CollectionAllowance (r:0 w:1)519 // Storage: Refungible CollectionAllowance (r:0 w:1)512 fn set_allowance_for_all() -> Weight {520 fn set_allowance_for_all() -> Weight {513 Weight::from_ref_time(16_228_000 as u64)521 Weight::from_ref_time(17_822_000 as u64)514 .saturating_add(RocksDbWeight::get().writes(1 as u64))522 .saturating_add(RocksDbWeight::get().writes(1 as u64))515 }523 }516 // Storage: Refungible CollectionAllowance (r:1 w:0)524 // Storage: Refungible CollectionAllowance (r:1 w:0)517 fn allowance_for_all() -> Weight {525 fn allowance_for_all() -> Weight {518 Weight::from_ref_time(5_374_000 as u64)526 Weight::from_ref_time(5_265_000 as u64)519 .saturating_add(RocksDbWeight::get().reads(1 as u64))527 .saturating_add(RocksDbWeight::get().reads(1 as u64))520 }528 }521 // Storage: Refungible TokenProperties (r:1 w:1)529 // Storage: Refungible TokenProperties (r:1 w:1)522 fn repair_item() -> Weight {530 fn repair_item() -> Weight {523 Weight::from_ref_time(5_624_000 as u64)531 Weight::from_ref_time(7_229_000 as u64)524 .saturating_add(RocksDbWeight::get().reads(1 as u64))532 .saturating_add(RocksDbWeight::get().reads(1 as u64))525 .saturating_add(RocksDbWeight::get().writes(1 as u64))533 .saturating_add(RocksDbWeight::get().writes(1 as u64))526 }534 }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: 2022-12-26, STEPS: `50`, REPEAT: 80, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! DATE: 2023-01-18, 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_355_000 as u64)
+ Weight::from_ref_time(12_015_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_355_000 as u64)
+ Weight::from_ref_time(12_015_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: 2022-12-26, STEPS: `50`, REPEAT: 80, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! DATE: 2023-01-18, 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(52_640_000 as u64)
+ Weight::from_ref_time(43_964_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(63_934_000 as u64)
+ Weight::from_ref_time(62_034_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(31_858_000 as u64)
+ Weight::from_ref_time(27_915_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_634_000 as u64)
+ Weight::from_ref_time(27_912_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(25_212_000 as u64)
+ Weight::from_ref_time(27_282_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(29_307_000 as u64)
+ Weight::from_ref_time(30_782_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(32_592_000 as u64)
+ Weight::from_ref_time(34_343_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(25_438_000 as u64)
+ Weight::from_ref_time(27_196_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(24_965_000 as u64)
+ Weight::from_ref_time(27_116_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(25_094_000 as u64)
+ Weight::from_ref_time(27_019_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(12_800_000 as u64)
+ Weight::from_ref_time(13_405_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(25_908_000 as u64)
+ Weight::from_ref_time(27_709_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_598_000 as u64)
+ Weight::from_ref_time(10_991_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(52_640_000 as u64)
+ Weight::from_ref_time(43_964_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(63_934_000 as u64)
+ Weight::from_ref_time(62_034_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(31_858_000 as u64)
+ Weight::from_ref_time(27_915_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_634_000 as u64)
+ Weight::from_ref_time(27_912_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(25_212_000 as u64)
+ Weight::from_ref_time(27_282_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(29_307_000 as u64)
+ Weight::from_ref_time(30_782_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(32_592_000 as u64)
+ Weight::from_ref_time(34_343_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(25_438_000 as u64)
+ Weight::from_ref_time(27_196_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(24_965_000 as u64)
+ Weight::from_ref_time(27_116_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(25_094_000 as u64)
+ Weight::from_ref_time(27_019_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(12_800_000 as u64)
+ Weight::from_ref_time(13_405_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(25_908_000 as u64)
+ Weight::from_ref_time(27_709_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_598_000 as u64)
+ Weight::from_ref_time(10_991_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_071_069_464_131_590/*</weight2fee>*/;
+pub const WEIGHT_TO_FEE_COEFF: u64 = /*<weight2fee>*/77_191_946_012_018_089/*</weight2fee>*/;
// Targeting 0.15 UNQ per transfer via ETH
-pub const MIN_GAS_PRICE: u64 = /*<mingasprice>*/1_014_754_530_878/*</mingasprice>*/;
+pub const MIN_GAS_PRICE: u64 = /*<mingasprice>*/1_016_390_998_841/*</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.