--- 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 WeightInfo for SubstrateWeight { // 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)) } } --- 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)) } } --- 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)) } --- 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)) } --- 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 WeightInfo for SubstrateWeight { // 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)) } --- a/pallets/refungible/src/weights.rs +++ b/pallets/refungible/src/weights.rs @@ -3,7 +3,7 @@ //! Autogenerated weights for pallet_refungible //! //! 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: @@ -66,53 +66,62 @@ impl WeightInfo for SubstrateWeight { // Storage: Refungible TokensMinted (r:1 w:1) // Storage: Refungible AccountBalance (r:1 w:1) + // Storage: Refungible TokenProperties (r:1 w:1) + // Storage: Common CollectionPropertyPermissions (r:1 w:0) // Storage: Refungible Balance (r:0 w:1) // Storage: Refungible TotalSupply (r:0 w:1) // Storage: Refungible Owned (r:0 w:1) fn create_item() -> Weight { - Weight::from_ref_time(32_864_000 as u64) - .saturating_add(T::DbWeight::get().reads(2 as u64)) - .saturating_add(T::DbWeight::get().writes(5 as u64)) + Weight::from_ref_time(37_536_000 as u64) + .saturating_add(T::DbWeight::get().reads(4 as u64)) + .saturating_add(T::DbWeight::get().writes(6 as u64)) } // Storage: Refungible TokensMinted (r:1 w:1) // Storage: Refungible AccountBalance (r:1 w:1) + // Storage: Refungible TokenProperties (r:4 w:4) + // Storage: Common CollectionPropertyPermissions (r:1 w:0) // Storage: Refungible Balance (r:0 w:4) // Storage: Refungible TotalSupply (r:0 w:4) // Storage: Refungible Owned (r:0 w:4) fn create_multiple_items(b: u32, ) -> Weight { - Weight::from_ref_time(11_880_472 as u64) - // Standard Error: 5_240 - .saturating_add(Weight::from_ref_time(6_556_575 as u64).saturating_mul(b as u64)) - .saturating_add(T::DbWeight::get().reads(2 as u64)) + Weight::from_ref_time(16_345_581 as u64) + // Standard Error: 5_346 + .saturating_add(Weight::from_ref_time(9_281_076 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((3 as u64).saturating_mul(b as u64))) + .saturating_add(T::DbWeight::get().writes((4 as u64).saturating_mul(b as u64))) } // Storage: Refungible TokensMinted (r:1 w:1) // Storage: Refungible AccountBalance (r:4 w:4) + // Storage: Refungible TokenProperties (r:4 w:4) + // Storage: Common CollectionPropertyPermissions (r:1 w:0) // Storage: Refungible Balance (r:0 w:4) // Storage: Refungible TotalSupply (r:0 w:4) // Storage: Refungible Owned (r:0 w:4) fn create_multiple_items_ex_multiple_items(b: u32, ) -> Weight { - Weight::from_ref_time(11_644_173 as u64) - // Standard Error: 5_876 - .saturating_add(Weight::from_ref_time(8_214_607 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(11_246_602 as u64) + // Standard Error: 8_015 + .saturating_add(Weight::from_ref_time(11_043_114 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((4 as u64).saturating_mul(b as u64))) + .saturating_add(T::DbWeight::get().writes((5 as u64).saturating_mul(b as u64))) } // Storage: Refungible TokensMinted (r:1 w:1) + // Storage: Refungible TokenProperties (r:1 w:1) + // Storage: Common CollectionPropertyPermissions (r:1 w:0) // Storage: Refungible TotalSupply (r:0 w:1) // Storage: Refungible AccountBalance (r:4 w:4) // Storage: Refungible Balance (r:0 w:4) // Storage: Refungible Owned (r:0 w:4) fn create_multiple_items_ex_multiple_owners(b: u32, ) -> Weight { - Weight::from_ref_time(21_817_067 as u64) - // Standard Error: 5_215 - .saturating_add(Weight::from_ref_time(6_084_938 as u64).saturating_mul(b as u64)) - .saturating_add(T::DbWeight::get().reads(1 as u64)) + Weight::from_ref_time(31_350_923 as u64) + // Standard Error: 4_061 + .saturating_add(Weight::from_ref_time(6_007_108 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(3 as u64)) .saturating_add(T::DbWeight::get().writes((3 as u64).saturating_mul(b as u64))) } // Storage: Refungible Balance (r:3 w:1) @@ -120,7 +129,7 @@ // Storage: Refungible AccountBalance (r:1 w:1) // Storage: Refungible Owned (r:0 w:1) fn burn_item_partial() -> Weight { - Weight::from_ref_time(47_087_000 as u64) + Weight::from_ref_time(47_342_000 as u64) .saturating_add(T::DbWeight::get().reads(5 as u64)) .saturating_add(T::DbWeight::get().writes(4 as u64)) } @@ -131,14 +140,14 @@ // Storage: Refungible Owned (r:0 w:1) // Storage: Refungible TokenProperties (r:0 w:1) fn burn_item_fully() -> Weight { - Weight::from_ref_time(40_135_000 as u64) + Weight::from_ref_time(40_664_000 as u64) .saturating_add(T::DbWeight::get().reads(4 as u64)) .saturating_add(T::DbWeight::get().writes(6 as u64)) } // Storage: Refungible Balance (r:2 w:2) // Storage: Refungible TotalSupply (r:1 w:0) fn transfer_normal() -> Weight { - Weight::from_ref_time(30_749_000 as u64) + Weight::from_ref_time(31_585_000 as u64) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } @@ -147,7 +156,7 @@ // Storage: Refungible TotalSupply (r:1 w:0) // Storage: Refungible Owned (r:0 w:1) fn transfer_creating() -> Weight { - Weight::from_ref_time(33_565_000 as u64) + Weight::from_ref_time(35_015_000 as u64) .saturating_add(T::DbWeight::get().reads(4 as u64)) .saturating_add(T::DbWeight::get().writes(4 as u64)) } @@ -156,7 +165,7 @@ // Storage: Refungible TotalSupply (r:1 w:0) // Storage: Refungible Owned (r:0 w:1) fn transfer_removing() -> Weight { - Weight::from_ref_time(37_406_000 as u64) + Weight::from_ref_time(38_209_000 as u64) .saturating_add(T::DbWeight::get().reads(4 as u64)) .saturating_add(T::DbWeight::get().writes(4 as u64)) } @@ -165,68 +174,63 @@ // Storage: Refungible TotalSupply (r:1 w:0) // Storage: Refungible Owned (r:0 w:2) fn transfer_creating_removing() -> Weight { - Weight::from_ref_time(36_689_000 as u64) + Weight::from_ref_time(38_549_000 as u64) .saturating_add(T::DbWeight::get().reads(5 as u64)) .saturating_add(T::DbWeight::get().writes(6 as u64)) } // Storage: Refungible Balance (r:1 w:0) // Storage: Refungible Allowance (r:0 w:1) fn approve() -> Weight { - Weight::from_ref_time(23_177_000 as u64) + Weight::from_ref_time(24_503_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Refungible Balance (r:1 w:0) // Storage: Refungible Allowance (r:0 w:1) fn approve_from() -> Weight { - Weight::from_ref_time(20_649_000 as u64) + Weight::from_ref_time(24_584_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Refungible Allowance (r:1 w:1) - // Storage: Refungible CollectionAllowance (r:1 w:0) // Storage: Refungible Balance (r:2 w:2) // Storage: Refungible TotalSupply (r:1 w:0) fn transfer_from_normal() -> Weight { - Weight::from_ref_time(41_288_000 as u64) - .saturating_add(T::DbWeight::get().reads(5 as u64)) + Weight::from_ref_time(41_001_000 as u64) + .saturating_add(T::DbWeight::get().reads(4 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } // Storage: Refungible Allowance (r:1 w:1) - // Storage: Refungible CollectionAllowance (r:1 w:0) // Storage: Refungible Balance (r:2 w:2) // Storage: Refungible AccountBalance (r:1 w:1) // Storage: Refungible TotalSupply (r:1 w:0) // Storage: Refungible Owned (r:0 w:1) fn transfer_from_creating() -> Weight { - Weight::from_ref_time(44_807_000 as u64) - .saturating_add(T::DbWeight::get().reads(6 as u64)) + Weight::from_ref_time(43_884_000 as u64) + .saturating_add(T::DbWeight::get().reads(5 as u64)) .saturating_add(T::DbWeight::get().writes(5 as u64)) } // Storage: Refungible Allowance (r:1 w:1) - // Storage: Refungible CollectionAllowance (r:1 w:0) // Storage: Refungible Balance (r:2 w:2) // Storage: Refungible AccountBalance (r:1 w:1) // Storage: Refungible TotalSupply (r:1 w:0) // Storage: Refungible Owned (r:0 w:1) fn transfer_from_removing() -> Weight { - Weight::from_ref_time(47_297_000 as u64) - .saturating_add(T::DbWeight::get().reads(6 as u64)) + Weight::from_ref_time(47_515_000 as u64) + .saturating_add(T::DbWeight::get().reads(5 as u64)) .saturating_add(T::DbWeight::get().writes(5 as u64)) } // Storage: Refungible Allowance (r:1 w:1) - // Storage: Refungible CollectionAllowance (r:1 w:0) // Storage: Refungible Balance (r:2 w:2) // Storage: Refungible AccountBalance (r:2 w:2) // Storage: Refungible TotalSupply (r:1 w:0) // Storage: Refungible Owned (r:0 w:2) fn transfer_from_creating_removing() -> Weight { - Weight::from_ref_time(47_566_000 as u64) - .saturating_add(T::DbWeight::get().reads(7 as u64)) + Weight::from_ref_time(47_087_000 as u64) + .saturating_add(T::DbWeight::get().reads(6 as u64)) .saturating_add(T::DbWeight::get().writes(7 as u64)) } // Storage: Refungible Allowance (r:1 w:1) - // Storage: Refungible CollectionAllowance (r:1 w:0) // Storage: Refungible Balance (r:1 w:1) // Storage: Refungible TotalSupply (r:1 w:1) // Storage: Refungible AccountBalance (r:1 w:1) @@ -234,61 +238,61 @@ // Storage: Refungible Owned (r:0 w:1) // Storage: Refungible TokenProperties (r:0 w:1) fn burn_from() -> Weight { - Weight::from_ref_time(53_074_000 as u64) - .saturating_add(T::DbWeight::get().reads(6 as u64)) + Weight::from_ref_time(52_735_000 as u64) + .saturating_add(T::DbWeight::get().reads(5 as u64)) .saturating_add(T::DbWeight::get().writes(7 as u64)) } // Storage: Common CollectionPropertyPermissions (r:1 w:1) fn set_token_property_permissions(b: u32, ) -> Weight { - Weight::from_ref_time(5_170_000 as u64) - // Standard Error: 40_532 - .saturating_add(Weight::from_ref_time(11_948_016 as u64).saturating_mul(b as u64)) + Weight::from_ref_time(5_232_000 as u64) + // Standard Error: 43_746 + .saturating_add(Weight::from_ref_time(12_961_609 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: Refungible TokenProperties (r:1 w:1) // Storage: Common CollectionPropertyPermissions (r:1 w:0) fn set_token_properties(b: u32, ) -> Weight { - Weight::from_ref_time(25_518_267 as u64) - // Standard Error: 20_451 - .saturating_add(Weight::from_ref_time(5_041_089 as u64).saturating_mul(b as u64)) + Weight::from_ref_time(18_287_762 as u64) + // Standard Error: 31_915 + .saturating_add(Weight::from_ref_time(7_070_524 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: Refungible TokenProperties (r:1 w:1) // Storage: Common CollectionPropertyPermissions (r:1 w:0) fn delete_token_properties(b: u32, ) -> Weight { - Weight::from_ref_time(13_715_000 as u64) - // Standard Error: 28_323 - .saturating_add(Weight::from_ref_time(13_113_351 as u64).saturating_mul(b as u64)) + Weight::from_ref_time(15_075_000 as u64) + // Standard Error: 69_091 + .saturating_add(Weight::from_ref_time(22_793_781 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: Refungible TotalSupply (r:1 w:1) // Storage: Refungible Balance (r:1 w:1) fn repartition_item() -> Weight { - Weight::from_ref_time(25_574_000 as u64) + Weight::from_ref_time(25_147_000 as u64) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: Refungible Balance (r:2 w:0) fn token_owner() -> Weight { - Weight::from_ref_time(9_819_000 as u64) + Weight::from_ref_time(9_921_000 as u64) .saturating_add(T::DbWeight::get().reads(2 as u64)) } // Storage: Refungible CollectionAllowance (r:0 w:1) fn set_allowance_for_all() -> Weight { - Weight::from_ref_time(16_228_000 as u64) + Weight::from_ref_time(17_822_000 as u64) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Refungible CollectionAllowance (r:1 w:0) fn allowance_for_all() -> Weight { - Weight::from_ref_time(5_374_000 as u64) + Weight::from_ref_time(5_265_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) } // Storage: Refungible TokenProperties (r:1 w:1) fn repair_item() -> Weight { - Weight::from_ref_time(5_624_000 as u64) + Weight::from_ref_time(7_229_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } @@ -298,53 +302,62 @@ impl WeightInfo for () { // Storage: Refungible TokensMinted (r:1 w:1) // Storage: Refungible AccountBalance (r:1 w:1) + // Storage: Refungible TokenProperties (r:1 w:1) + // Storage: Common CollectionPropertyPermissions (r:1 w:0) // Storage: Refungible Balance (r:0 w:1) // Storage: Refungible TotalSupply (r:0 w:1) // Storage: Refungible Owned (r:0 w:1) fn create_item() -> Weight { - Weight::from_ref_time(32_864_000 as u64) - .saturating_add(RocksDbWeight::get().reads(2 as u64)) - .saturating_add(RocksDbWeight::get().writes(5 as u64)) + Weight::from_ref_time(37_536_000 as u64) + .saturating_add(RocksDbWeight::get().reads(4 as u64)) + .saturating_add(RocksDbWeight::get().writes(6 as u64)) } // Storage: Refungible TokensMinted (r:1 w:1) // Storage: Refungible AccountBalance (r:1 w:1) + // Storage: Refungible TokenProperties (r:4 w:4) + // Storage: Common CollectionPropertyPermissions (r:1 w:0) // Storage: Refungible Balance (r:0 w:4) // Storage: Refungible TotalSupply (r:0 w:4) // Storage: Refungible Owned (r:0 w:4) fn create_multiple_items(b: u32, ) -> Weight { - Weight::from_ref_time(11_880_472 as u64) - // Standard Error: 5_240 - .saturating_add(Weight::from_ref_time(6_556_575 as u64).saturating_mul(b as u64)) - .saturating_add(RocksDbWeight::get().reads(2 as u64)) + Weight::from_ref_time(16_345_581 as u64) + // Standard Error: 5_346 + .saturating_add(Weight::from_ref_time(9_281_076 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((3 as u64).saturating_mul(b as u64))) + .saturating_add(RocksDbWeight::get().writes((4 as u64).saturating_mul(b as u64))) } // Storage: Refungible TokensMinted (r:1 w:1) // Storage: Refungible AccountBalance (r:4 w:4) + // Storage: Refungible TokenProperties (r:4 w:4) + // Storage: Common CollectionPropertyPermissions (r:1 w:0) // Storage: Refungible Balance (r:0 w:4) // Storage: Refungible TotalSupply (r:0 w:4) // Storage: Refungible Owned (r:0 w:4) fn create_multiple_items_ex_multiple_items(b: u32, ) -> Weight { - Weight::from_ref_time(11_644_173 as u64) - // Standard Error: 5_876 - .saturating_add(Weight::from_ref_time(8_214_607 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(11_246_602 as u64) + // Standard Error: 8_015 + .saturating_add(Weight::from_ref_time(11_043_114 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((4 as u64).saturating_mul(b as u64))) + .saturating_add(RocksDbWeight::get().writes((5 as u64).saturating_mul(b as u64))) } // Storage: Refungible TokensMinted (r:1 w:1) + // Storage: Refungible TokenProperties (r:1 w:1) + // Storage: Common CollectionPropertyPermissions (r:1 w:0) // Storage: Refungible TotalSupply (r:0 w:1) // Storage: Refungible AccountBalance (r:4 w:4) // Storage: Refungible Balance (r:0 w:4) // Storage: Refungible Owned (r:0 w:4) fn create_multiple_items_ex_multiple_owners(b: u32, ) -> Weight { - Weight::from_ref_time(21_817_067 as u64) - // Standard Error: 5_215 - .saturating_add(Weight::from_ref_time(6_084_938 as u64).saturating_mul(b as u64)) - .saturating_add(RocksDbWeight::get().reads(1 as u64)) + Weight::from_ref_time(31_350_923 as u64) + // Standard Error: 4_061 + .saturating_add(Weight::from_ref_time(6_007_108 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(3 as u64)) .saturating_add(RocksDbWeight::get().writes((3 as u64).saturating_mul(b as u64))) } // Storage: Refungible Balance (r:3 w:1) @@ -352,7 +365,7 @@ // Storage: Refungible AccountBalance (r:1 w:1) // Storage: Refungible Owned (r:0 w:1) fn burn_item_partial() -> Weight { - Weight::from_ref_time(47_087_000 as u64) + Weight::from_ref_time(47_342_000 as u64) .saturating_add(RocksDbWeight::get().reads(5 as u64)) .saturating_add(RocksDbWeight::get().writes(4 as u64)) } @@ -363,14 +376,14 @@ // Storage: Refungible Owned (r:0 w:1) // Storage: Refungible TokenProperties (r:0 w:1) fn burn_item_fully() -> Weight { - Weight::from_ref_time(40_135_000 as u64) + Weight::from_ref_time(40_664_000 as u64) .saturating_add(RocksDbWeight::get().reads(4 as u64)) .saturating_add(RocksDbWeight::get().writes(6 as u64)) } // Storage: Refungible Balance (r:2 w:2) // Storage: Refungible TotalSupply (r:1 w:0) fn transfer_normal() -> Weight { - Weight::from_ref_time(30_749_000 as u64) + Weight::from_ref_time(31_585_000 as u64) .saturating_add(RocksDbWeight::get().reads(3 as u64)) .saturating_add(RocksDbWeight::get().writes(2 as u64)) } @@ -379,7 +392,7 @@ // Storage: Refungible TotalSupply (r:1 w:0) // Storage: Refungible Owned (r:0 w:1) fn transfer_creating() -> Weight { - Weight::from_ref_time(33_565_000 as u64) + Weight::from_ref_time(35_015_000 as u64) .saturating_add(RocksDbWeight::get().reads(4 as u64)) .saturating_add(RocksDbWeight::get().writes(4 as u64)) } @@ -388,7 +401,7 @@ // Storage: Refungible TotalSupply (r:1 w:0) // Storage: Refungible Owned (r:0 w:1) fn transfer_removing() -> Weight { - Weight::from_ref_time(37_406_000 as u64) + Weight::from_ref_time(38_209_000 as u64) .saturating_add(RocksDbWeight::get().reads(4 as u64)) .saturating_add(RocksDbWeight::get().writes(4 as u64)) } @@ -397,68 +410,63 @@ // Storage: Refungible TotalSupply (r:1 w:0) // Storage: Refungible Owned (r:0 w:2) fn transfer_creating_removing() -> Weight { - Weight::from_ref_time(36_689_000 as u64) + Weight::from_ref_time(38_549_000 as u64) .saturating_add(RocksDbWeight::get().reads(5 as u64)) .saturating_add(RocksDbWeight::get().writes(6 as u64)) } // Storage: Refungible Balance (r:1 w:0) // Storage: Refungible Allowance (r:0 w:1) fn approve() -> Weight { - Weight::from_ref_time(23_177_000 as u64) + Weight::from_ref_time(24_503_000 as u64) .saturating_add(RocksDbWeight::get().reads(1 as u64)) .saturating_add(RocksDbWeight::get().writes(1 as u64)) } // Storage: Refungible Balance (r:1 w:0) // Storage: Refungible Allowance (r:0 w:1) fn approve_from() -> Weight { - Weight::from_ref_time(20_649_000 as u64) + Weight::from_ref_time(24_584_000 as u64) .saturating_add(RocksDbWeight::get().reads(1 as u64)) .saturating_add(RocksDbWeight::get().writes(1 as u64)) } // Storage: Refungible Allowance (r:1 w:1) - // Storage: Refungible CollectionAllowance (r:1 w:0) // Storage: Refungible Balance (r:2 w:2) // Storage: Refungible TotalSupply (r:1 w:0) fn transfer_from_normal() -> Weight { - Weight::from_ref_time(41_288_000 as u64) - .saturating_add(RocksDbWeight::get().reads(5 as u64)) + Weight::from_ref_time(41_001_000 as u64) + .saturating_add(RocksDbWeight::get().reads(4 as u64)) .saturating_add(RocksDbWeight::get().writes(3 as u64)) } // Storage: Refungible Allowance (r:1 w:1) - // Storage: Refungible CollectionAllowance (r:1 w:0) // Storage: Refungible Balance (r:2 w:2) // Storage: Refungible AccountBalance (r:1 w:1) // Storage: Refungible TotalSupply (r:1 w:0) // Storage: Refungible Owned (r:0 w:1) fn transfer_from_creating() -> Weight { - Weight::from_ref_time(44_807_000 as u64) - .saturating_add(RocksDbWeight::get().reads(6 as u64)) + Weight::from_ref_time(43_884_000 as u64) + .saturating_add(RocksDbWeight::get().reads(5 as u64)) .saturating_add(RocksDbWeight::get().writes(5 as u64)) } // Storage: Refungible Allowance (r:1 w:1) - // Storage: Refungible CollectionAllowance (r:1 w:0) // Storage: Refungible Balance (r:2 w:2) // Storage: Refungible AccountBalance (r:1 w:1) // Storage: Refungible TotalSupply (r:1 w:0) // Storage: Refungible Owned (r:0 w:1) fn transfer_from_removing() -> Weight { - Weight::from_ref_time(47_297_000 as u64) - .saturating_add(RocksDbWeight::get().reads(6 as u64)) + Weight::from_ref_time(47_515_000 as u64) + .saturating_add(RocksDbWeight::get().reads(5 as u64)) .saturating_add(RocksDbWeight::get().writes(5 as u64)) } // Storage: Refungible Allowance (r:1 w:1) - // Storage: Refungible CollectionAllowance (r:1 w:0) // Storage: Refungible Balance (r:2 w:2) // Storage: Refungible AccountBalance (r:2 w:2) // Storage: Refungible TotalSupply (r:1 w:0) // Storage: Refungible Owned (r:0 w:2) fn transfer_from_creating_removing() -> Weight { - Weight::from_ref_time(47_566_000 as u64) - .saturating_add(RocksDbWeight::get().reads(7 as u64)) + Weight::from_ref_time(47_087_000 as u64) + .saturating_add(RocksDbWeight::get().reads(6 as u64)) .saturating_add(RocksDbWeight::get().writes(7 as u64)) } // Storage: Refungible Allowance (r:1 w:1) - // Storage: Refungible CollectionAllowance (r:1 w:0) // Storage: Refungible Balance (r:1 w:1) // Storage: Refungible TotalSupply (r:1 w:1) // Storage: Refungible AccountBalance (r:1 w:1) @@ -466,61 +474,61 @@ // Storage: Refungible Owned (r:0 w:1) // Storage: Refungible TokenProperties (r:0 w:1) fn burn_from() -> Weight { - Weight::from_ref_time(53_074_000 as u64) - .saturating_add(RocksDbWeight::get().reads(6 as u64)) + Weight::from_ref_time(52_735_000 as u64) + .saturating_add(RocksDbWeight::get().reads(5 as u64)) .saturating_add(RocksDbWeight::get().writes(7 as u64)) } // Storage: Common CollectionPropertyPermissions (r:1 w:1) fn set_token_property_permissions(b: u32, ) -> Weight { - Weight::from_ref_time(5_170_000 as u64) - // Standard Error: 40_532 - .saturating_add(Weight::from_ref_time(11_948_016 as u64).saturating_mul(b as u64)) + Weight::from_ref_time(5_232_000 as u64) + // Standard Error: 43_746 + .saturating_add(Weight::from_ref_time(12_961_609 as u64).saturating_mul(b as u64)) .saturating_add(RocksDbWeight::get().reads(1 as u64)) .saturating_add(RocksDbWeight::get().writes(1 as u64)) } // Storage: Refungible TokenProperties (r:1 w:1) // Storage: Common CollectionPropertyPermissions (r:1 w:0) fn set_token_properties(b: u32, ) -> Weight { - Weight::from_ref_time(25_518_267 as u64) - // Standard Error: 20_451 - .saturating_add(Weight::from_ref_time(5_041_089 as u64).saturating_mul(b as u64)) + Weight::from_ref_time(18_287_762 as u64) + // Standard Error: 31_915 + .saturating_add(Weight::from_ref_time(7_070_524 as u64).saturating_mul(b as u64)) .saturating_add(RocksDbWeight::get().reads(2 as u64)) .saturating_add(RocksDbWeight::get().writes(1 as u64)) } // Storage: Refungible TokenProperties (r:1 w:1) // Storage: Common CollectionPropertyPermissions (r:1 w:0) fn delete_token_properties(b: u32, ) -> Weight { - Weight::from_ref_time(13_715_000 as u64) - // Standard Error: 28_323 - .saturating_add(Weight::from_ref_time(13_113_351 as u64).saturating_mul(b as u64)) + Weight::from_ref_time(15_075_000 as u64) + // Standard Error: 69_091 + .saturating_add(Weight::from_ref_time(22_793_781 as u64).saturating_mul(b as u64)) .saturating_add(RocksDbWeight::get().reads(2 as u64)) .saturating_add(RocksDbWeight::get().writes(1 as u64)) } // Storage: Refungible TotalSupply (r:1 w:1) // Storage: Refungible Balance (r:1 w:1) fn repartition_item() -> Weight { - Weight::from_ref_time(25_574_000 as u64) + Weight::from_ref_time(25_147_000 as u64) .saturating_add(RocksDbWeight::get().reads(2 as u64)) .saturating_add(RocksDbWeight::get().writes(2 as u64)) } // Storage: Refungible Balance (r:2 w:0) fn token_owner() -> Weight { - Weight::from_ref_time(9_819_000 as u64) + Weight::from_ref_time(9_921_000 as u64) .saturating_add(RocksDbWeight::get().reads(2 as u64)) } // Storage: Refungible CollectionAllowance (r:0 w:1) fn set_allowance_for_all() -> Weight { - Weight::from_ref_time(16_228_000 as u64) + Weight::from_ref_time(17_822_000 as u64) .saturating_add(RocksDbWeight::get().writes(1 as u64)) } // Storage: Refungible CollectionAllowance (r:1 w:0) fn allowance_for_all() -> Weight { - Weight::from_ref_time(5_374_000 as u64) + Weight::from_ref_time(5_265_000 as u64) .saturating_add(RocksDbWeight::get().reads(1 as u64)) } // Storage: Refungible TokenProperties (r:1 w:1) fn repair_item() -> Weight { - Weight::from_ref_time(5_624_000 as u64) + Weight::from_ref_time(7_229_000 as u64) .saturating_add(RocksDbWeight::get().reads(1 as u64)) .saturating_add(RocksDbWeight::get().writes(1 as u64)) } --- 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)) } } --- 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)) } --- 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 = /**/77_071_069_464_131_590/**/; +pub const WEIGHT_TO_FEE_COEFF: u64 = /**/77_191_946_012_018_089/**/; // Targeting 0.15 UNQ per transfer via ETH -pub const MIN_GAS_PRICE: u64 = /**/1_014_754_530_878/**/; +pub const MIN_GAS_PRICE: u64 = /**/1_016_390_998_841/**/; /// 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.