git.delta.rocks / unique-network / refs/commits / efcf8584f75d

difftreelog

build run benchmarks

Igor Kozyrev2023-02-15parent: #f5be0f5.patch.diff
in: master

10 files changed

modifiedpallets/common/src/weights.rsdiffbeforeafterboth
3//! Autogenerated weights for pallet_common3//! Autogenerated weights for pallet_common
4//!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-dev
6//! DATE: 2023-01-29, STEPS: `50`, REPEAT: 80, LOW RANGE: `[]`, HIGH RANGE: `[]`6//! DATE: 2023-02-15, 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: 1024
88
9// Executed Command:9// Executed Command:
43impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {43impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
44 // Storage: Common CollectionProperties (r:1 w:1)44 // Storage: Common CollectionProperties (r:1 w:1)
45 fn set_collection_properties(b: u32, ) -> Weight {45 fn set_collection_properties(b: u32, ) -> Weight {
46 Weight::from_ref_time(9_881_000 as u64)46 Weight::from_ref_time(9_293_000 as u64)
47 // Standard Error: 18_07947 // Standard Error: 14_275
48 .saturating_add(Weight::from_ref_time(6_561_011 as u64).saturating_mul(b as u64))48 .saturating_add(Weight::from_ref_time(6_172_391 as u64).saturating_mul(b as u64))
49 .saturating_add(T::DbWeight::get().reads(1 as u64))49 .saturating_add(T::DbWeight::get().reads(1 as u64))
50 .saturating_add(T::DbWeight::get().writes(1 as u64))50 .saturating_add(T::DbWeight::get().writes(1 as u64))
51 }51 }
52 // Storage: Common CollectionProperties (r:1 w:1)52 // Storage: Common CollectionProperties (r:1 w:1)
53 fn delete_collection_properties(b: u32, ) -> Weight {53 fn delete_collection_properties(b: u32, ) -> Weight {
54 Weight::from_ref_time(9_502_000 as u64)54 Weight::from_ref_time(8_945_000 as u64)
55 // Standard Error: 67_25555 // Standard Error: 65_313
56 .saturating_add(Weight::from_ref_time(22_203_766 as u64).saturating_mul(b as u64))56 .saturating_add(Weight::from_ref_time(21_617_763 as u64).saturating_mul(b as u64))
57 .saturating_add(T::DbWeight::get().reads(1 as u64))57 .saturating_add(T::DbWeight::get().reads(1 as u64))
58 .saturating_add(T::DbWeight::get().writes(1 as u64))58 .saturating_add(T::DbWeight::get().writes(1 as u64))
59 }59 }
63impl WeightInfo for () {63impl WeightInfo for () {
64 // Storage: Common CollectionProperties (r:1 w:1)64 // Storage: Common CollectionProperties (r:1 w:1)
65 fn set_collection_properties(b: u32, ) -> Weight {65 fn set_collection_properties(b: u32, ) -> Weight {
66 Weight::from_ref_time(9_881_000 as u64)66 Weight::from_ref_time(9_293_000 as u64)
67 // Standard Error: 18_07967 // Standard Error: 14_275
68 .saturating_add(Weight::from_ref_time(6_561_011 as u64).saturating_mul(b as u64))68 .saturating_add(Weight::from_ref_time(6_172_391 as u64).saturating_mul(b as u64))
69 .saturating_add(RocksDbWeight::get().reads(1 as u64))69 .saturating_add(RocksDbWeight::get().reads(1 as u64))
70 .saturating_add(RocksDbWeight::get().writes(1 as u64))70 .saturating_add(RocksDbWeight::get().writes(1 as u64))
71 }71 }
72 // Storage: Common CollectionProperties (r:1 w:1)72 // Storage: Common CollectionProperties (r:1 w:1)
73 fn delete_collection_properties(b: u32, ) -> Weight {73 fn delete_collection_properties(b: u32, ) -> Weight {
74 Weight::from_ref_time(9_502_000 as u64)74 Weight::from_ref_time(8_945_000 as u64)
75 // Standard Error: 67_25575 // Standard Error: 65_313
76 .saturating_add(Weight::from_ref_time(22_203_766 as u64).saturating_mul(b as u64))76 .saturating_add(Weight::from_ref_time(21_617_763 as u64).saturating_mul(b as u64))
77 .saturating_add(RocksDbWeight::get().reads(1 as u64))77 .saturating_add(RocksDbWeight::get().reads(1 as u64))
78 .saturating_add(RocksDbWeight::get().writes(1 as u64))78 .saturating_add(RocksDbWeight::get().writes(1 as u64))
79 }79 }
modifiedpallets/configuration/src/weights.rsdiffbeforeafterboth
3//! Autogenerated weights for pallet_configuration3//! Autogenerated weights for pallet_configuration
4//!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-dev
6//! DATE: 2023-01-29, STEPS: `50`, REPEAT: 80, LOW RANGE: `[]`, HIGH RANGE: `[]`6//! DATE: 2023-02-15, 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: 1024
88
9// Executed Command:9// Executed Command:
48impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {48impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
49 // Storage: Configuration WeightToFeeCoefficientOverride (r:0 w:1)49 // Storage: Configuration WeightToFeeCoefficientOverride (r:0 w:1)
50 fn set_weight_to_fee_coefficient_override() -> Weight {50 fn set_weight_to_fee_coefficient_override() -> Weight {
51 Weight::from_ref_time(3_865_000 as u64)51 Weight::from_ref_time(3_732_000 as u64)
52 .saturating_add(T::DbWeight::get().writes(1 as u64))52 .saturating_add(T::DbWeight::get().writes(1 as u64))
53 }53 }
54 // Storage: Configuration MinGasPriceOverride (r:0 w:1)54 // Storage: Configuration MinGasPriceOverride (r:0 w:1)
55 fn set_min_gas_price_override() -> Weight {55 fn set_min_gas_price_override() -> Weight {
56 Weight::from_ref_time(4_221_000 as u64)56 Weight::from_ref_time(3_625_000 as u64)
57 .saturating_add(T::DbWeight::get().writes(1 as u64))57 .saturating_add(T::DbWeight::get().writes(1 as u64))
58 }58 }
59 // Storage: Configuration XcmAllowedLocationsOverride (r:0 w:1)59 // Storage: Configuration XcmAllowedLocationsOverride (r:0 w:1)
60 fn set_xcm_allowed_locations() -> Weight {60 fn set_xcm_allowed_locations() -> Weight {
61 Weight::from_ref_time(5_329_000 as u64)61 Weight::from_ref_time(3_975_000 as u64)
62 .saturating_add(T::DbWeight::get().writes(1 as u64))62 .saturating_add(T::DbWeight::get().writes(1 as u64))
63 }63 }
64 // Storage: Configuration AppPromomotionConfigurationOverride (r:0 w:1)64 // Storage: Configuration AppPromomotionConfigurationOverride (r:0 w:1)
65 fn set_app_promotion_configuration_override() -> Weight {65 fn set_app_promotion_configuration_override() -> Weight {
66 Weight::from_ref_time(5_805_000 as u64)66 Weight::from_ref_time(4_759_000 as u64)
67 .saturating_add(T::DbWeight::get().writes(1 as u64))67 .saturating_add(T::DbWeight::get().writes(1 as u64))
68 }68 }
69 // Storage: Configuration CollatorSelectionDesiredCollatorsOverride (r:0 w:1)69 // Storage: Configuration CollatorSelectionDesiredCollatorsOverride (r:0 w:1)
70 fn set_collator_selection_desired_collators() -> Weight {70 fn set_collator_selection_desired_collators() -> Weight {
71 Weight::from_ref_time(21_590_000 as u64)71 Weight::from_ref_time(18_296_000 as u64)
72 .saturating_add(T::DbWeight::get().writes(1 as u64))72 .saturating_add(T::DbWeight::get().writes(1 as u64))
73 }73 }
74 // Storage: Configuration CollatorSelectionLicenseBondOverride (r:0 w:1)74 // Storage: Configuration CollatorSelectionLicenseBondOverride (r:0 w:1)
75 fn set_collator_selection_license_bond() -> Weight {75 fn set_collator_selection_license_bond() -> Weight {
76 Weight::from_ref_time(15_141_000 as u64)76 Weight::from_ref_time(14_397_000 as u64)
77 .saturating_add(T::DbWeight::get().writes(1 as u64))77 .saturating_add(T::DbWeight::get().writes(1 as u64))
78 }78 }
79 // Storage: Configuration CollatorSelectionKickThresholdOverride (r:0 w:1)79 // Storage: Configuration CollatorSelectionKickThresholdOverride (r:0 w:1)
80 fn set_collator_selection_kick_threshold() -> Weight {80 fn set_collator_selection_kick_threshold() -> Weight {
81 Weight::from_ref_time(12_042_000 as u64)81 Weight::from_ref_time(13_951_000 as u64)
82 .saturating_add(T::DbWeight::get().writes(1 as u64))82 .saturating_add(T::DbWeight::get().writes(1 as u64))
83 }83 }
84}84}
87impl WeightInfo for () {87impl WeightInfo for () {
88 // Storage: Configuration WeightToFeeCoefficientOverride (r:0 w:1)88 // Storage: Configuration WeightToFeeCoefficientOverride (r:0 w:1)
89 fn set_weight_to_fee_coefficient_override() -> Weight {89 fn set_weight_to_fee_coefficient_override() -> Weight {
90 Weight::from_ref_time(3_865_000 as u64)90 Weight::from_ref_time(3_732_000 as u64)
91 .saturating_add(RocksDbWeight::get().writes(1 as u64))91 .saturating_add(RocksDbWeight::get().writes(1 as u64))
92 }92 }
93 // Storage: Configuration MinGasPriceOverride (r:0 w:1)93 // Storage: Configuration MinGasPriceOverride (r:0 w:1)
94 fn set_min_gas_price_override() -> Weight {94 fn set_min_gas_price_override() -> Weight {
95 Weight::from_ref_time(4_221_000 as u64)95 Weight::from_ref_time(3_625_000 as u64)
96 .saturating_add(RocksDbWeight::get().writes(1 as u64))96 .saturating_add(RocksDbWeight::get().writes(1 as u64))
97 }97 }
98 // Storage: Configuration XcmAllowedLocationsOverride (r:0 w:1)98 // Storage: Configuration XcmAllowedLocationsOverride (r:0 w:1)
99 fn set_xcm_allowed_locations() -> Weight {99 fn set_xcm_allowed_locations() -> Weight {
100 Weight::from_ref_time(5_329_000 as u64)100 Weight::from_ref_time(3_975_000 as u64)
101 .saturating_add(RocksDbWeight::get().writes(1 as u64))101 .saturating_add(RocksDbWeight::get().writes(1 as u64))
102 }102 }
103 // Storage: Configuration AppPromomotionConfigurationOverride (r:0 w:1)103 // Storage: Configuration AppPromomotionConfigurationOverride (r:0 w:1)
104 fn set_app_promotion_configuration_override() -> Weight {104 fn set_app_promotion_configuration_override() -> Weight {
105 Weight::from_ref_time(5_805_000 as u64)105 Weight::from_ref_time(4_759_000 as u64)
106 .saturating_add(RocksDbWeight::get().writes(1 as u64))106 .saturating_add(RocksDbWeight::get().writes(1 as u64))
107 }107 }
108 // Storage: Configuration CollatorSelectionDesiredCollatorsOverride (r:0 w:1)108 // Storage: Configuration CollatorSelectionDesiredCollatorsOverride (r:0 w:1)
109 fn set_collator_selection_desired_collators() -> Weight {109 fn set_collator_selection_desired_collators() -> Weight {
110 Weight::from_ref_time(21_590_000 as u64)110 Weight::from_ref_time(18_296_000 as u64)
111 .saturating_add(RocksDbWeight::get().writes(1 as u64))111 .saturating_add(RocksDbWeight::get().writes(1 as u64))
112 }112 }
113 // Storage: Configuration CollatorSelectionLicenseBondOverride (r:0 w:1)113 // Storage: Configuration CollatorSelectionLicenseBondOverride (r:0 w:1)
114 fn set_collator_selection_license_bond() -> Weight {114 fn set_collator_selection_license_bond() -> Weight {
115 Weight::from_ref_time(15_141_000 as u64)115 Weight::from_ref_time(14_397_000 as u64)
116 .saturating_add(RocksDbWeight::get().writes(1 as u64))116 .saturating_add(RocksDbWeight::get().writes(1 as u64))
117 }117 }
118 // Storage: Configuration CollatorSelectionKickThresholdOverride (r:0 w:1)118 // Storage: Configuration CollatorSelectionKickThresholdOverride (r:0 w:1)
119 fn set_collator_selection_kick_threshold() -> Weight {119 fn set_collator_selection_kick_threshold() -> Weight {
120 Weight::from_ref_time(12_042_000 as u64)120 Weight::from_ref_time(13_951_000 as u64)
121 .saturating_add(RocksDbWeight::get().writes(1 as u64))121 .saturating_add(RocksDbWeight::get().writes(1 as u64))
122 }122 }
123}123}
modifiedpallets/evm-migration/src/weights.rsdiffbeforeafterboth
3//! Autogenerated weights for pallet_evm_migration3//! Autogenerated weights for pallet_evm_migration
4//!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-dev
6//! DATE: 2023-01-29, STEPS: `50`, REPEAT: 80, LOW RANGE: `[]`, HIGH RANGE: `[]`6//! DATE: 2023-02-15, 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: 1024
88
9// Executed Command:9// Executed Command:
48 // Storage: System Account (r:1 w:0)48 // Storage: System Account (r:1 w:0)
49 // Storage: EVM AccountCodes (r:1 w:0)49 // Storage: EVM AccountCodes (r:1 w:0)
50 fn begin() -> Weight {50 fn begin() -> Weight {
51 Weight::from_ref_time(16_189_000 as u64)51 Weight::from_ref_time(16_052_000 as u64)
52 .saturating_add(T::DbWeight::get().reads(3 as u64))52 .saturating_add(T::DbWeight::get().reads(3 as u64))
53 .saturating_add(T::DbWeight::get().writes(1 as u64))53 .saturating_add(T::DbWeight::get().writes(1 as u64))
54 }54 }
55 // Storage: EvmMigration MigrationPending (r:1 w:0)55 // Storage: EvmMigration MigrationPending (r:1 w:0)
56 // Storage: EVM AccountStorages (r:0 w:1)56 // Storage: EVM AccountStorages (r:0 w:1)
57 fn set_data(b: u32, ) -> Weight {57 fn set_data(b: u32, ) -> Weight {
58 Weight::from_ref_time(7_829_947 as u64)58 Weight::from_ref_time(9_257_564 as u64)
59 // Standard Error: 68759 // Standard Error: 1_384
60 .saturating_add(Weight::from_ref_time(968_768 as u64).saturating_mul(b as u64))60 .saturating_add(Weight::from_ref_time(939_454 as u64).saturating_mul(b as u64))
61 .saturating_add(T::DbWeight::get().reads(1 as u64))61 .saturating_add(T::DbWeight::get().reads(1 as u64))
62 .saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(b as u64)))62 .saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(b as u64)))
63 }63 }
64 // Storage: EvmMigration MigrationPending (r:1 w:1)64 // Storage: EvmMigration MigrationPending (r:1 w:1)
65 // Storage: EVM AccountCodes (r:0 w:1)65 // Storage: EVM AccountCodes (r:0 w:1)
66 fn finish(_b: u32, ) -> Weight {66 fn finish(b: u32, ) -> Weight {
67 Weight::from_ref_time(9_559_086 as u64)67 Weight::from_ref_time(9_832_338 as u64)
68 // Standard Error: 351
69 .saturating_add(Weight::from_ref_time(415 as u64).saturating_mul(b as u64))
68 .saturating_add(T::DbWeight::get().reads(1 as u64))70 .saturating_add(T::DbWeight::get().reads(1 as u64))
69 .saturating_add(T::DbWeight::get().writes(2 as u64))71 .saturating_add(T::DbWeight::get().writes(2 as u64))
70 }72 }
71 fn insert_eth_logs(b: u32, ) -> Weight {73 fn insert_eth_logs(b: u32, ) -> Weight {
72 Weight::from_ref_time(7_535_186 as u64)74 Weight::from_ref_time(7_589_210 as u64)
73 // Standard Error: 1_44075 // Standard Error: 864
74 .saturating_add(Weight::from_ref_time(699_517 as u64).saturating_mul(b as u64))76 .saturating_add(Weight::from_ref_time(688_444 as u64).saturating_mul(b as u64))
75 }77 }
76 fn insert_events(b: u32, ) -> Weight {78 fn insert_events(b: u32, ) -> Weight {
77 Weight::from_ref_time(10_612_317 as u64)79 Weight::from_ref_time(11_531_726 as u64)
78 // Standard Error: 99980 // Standard Error: 580
79 .saturating_add(Weight::from_ref_time(1_296_893 as u64).saturating_mul(b as u64))81 .saturating_add(Weight::from_ref_time(1_271_608 as u64).saturating_mul(b as u64))
80 }82 }
81}83}
8284
86 // Storage: System Account (r:1 w:0)88 // Storage: System Account (r:1 w:0)
87 // Storage: EVM AccountCodes (r:1 w:0)89 // Storage: EVM AccountCodes (r:1 w:0)
88 fn begin() -> Weight {90 fn begin() -> Weight {
89 Weight::from_ref_time(16_189_000 as u64)91 Weight::from_ref_time(16_052_000 as u64)
90 .saturating_add(RocksDbWeight::get().reads(3 as u64))92 .saturating_add(RocksDbWeight::get().reads(3 as u64))
91 .saturating_add(RocksDbWeight::get().writes(1 as u64))93 .saturating_add(RocksDbWeight::get().writes(1 as u64))
92 }94 }
93 // Storage: EvmMigration MigrationPending (r:1 w:0)95 // Storage: EvmMigration MigrationPending (r:1 w:0)
94 // Storage: EVM AccountStorages (r:0 w:1)96 // Storage: EVM AccountStorages (r:0 w:1)
95 fn set_data(b: u32, ) -> Weight {97 fn set_data(b: u32, ) -> Weight {
96 Weight::from_ref_time(7_829_947 as u64)98 Weight::from_ref_time(9_257_564 as u64)
97 // Standard Error: 68799 // Standard Error: 1_384
98 .saturating_add(Weight::from_ref_time(968_768 as u64).saturating_mul(b as u64))100 .saturating_add(Weight::from_ref_time(939_454 as u64).saturating_mul(b as u64))
99 .saturating_add(RocksDbWeight::get().reads(1 as u64))101 .saturating_add(RocksDbWeight::get().reads(1 as u64))
100 .saturating_add(RocksDbWeight::get().writes((1 as u64).saturating_mul(b as u64)))102 .saturating_add(RocksDbWeight::get().writes((1 as u64).saturating_mul(b as u64)))
101 }103 }
102 // Storage: EvmMigration MigrationPending (r:1 w:1)104 // Storage: EvmMigration MigrationPending (r:1 w:1)
103 // Storage: EVM AccountCodes (r:0 w:1)105 // Storage: EVM AccountCodes (r:0 w:1)
104 fn finish(_b: u32, ) -> Weight {106 fn finish(b: u32, ) -> Weight {
105 Weight::from_ref_time(9_559_086 as u64)107 Weight::from_ref_time(9_832_338 as u64)
108 // Standard Error: 351
109 .saturating_add(Weight::from_ref_time(415 as u64).saturating_mul(b as u64))
106 .saturating_add(RocksDbWeight::get().reads(1 as u64))110 .saturating_add(RocksDbWeight::get().reads(1 as u64))
107 .saturating_add(RocksDbWeight::get().writes(2 as u64))111 .saturating_add(RocksDbWeight::get().writes(2 as u64))
108 }112 }
109 fn insert_eth_logs(b: u32, ) -> Weight {113 fn insert_eth_logs(b: u32, ) -> Weight {
110 Weight::from_ref_time(7_535_186 as u64)114 Weight::from_ref_time(7_589_210 as u64)
111 // Standard Error: 1_440115 // Standard Error: 864
112 .saturating_add(Weight::from_ref_time(699_517 as u64).saturating_mul(b as u64))116 .saturating_add(Weight::from_ref_time(688_444 as u64).saturating_mul(b as u64))
113 }117 }
114 fn insert_events(b: u32, ) -> Weight {118 fn insert_events(b: u32, ) -> Weight {
115 Weight::from_ref_time(10_612_317 as u64)119 Weight::from_ref_time(11_531_726 as u64)
116 // Standard Error: 999120 // Standard Error: 580
117 .saturating_add(Weight::from_ref_time(1_296_893 as u64).saturating_mul(b as u64))121 .saturating_add(Weight::from_ref_time(1_271_608 as u64).saturating_mul(b as u64))
118 }122 }
119}123}
120124
modifiedpallets/foreign-assets/src/weights.rsdiffbeforeafterboth
3//! Autogenerated weights for pallet_foreign_assets3//! Autogenerated weights for pallet_foreign_assets
4//!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-dev
6//! DATE: 2023-01-29, STEPS: `50`, REPEAT: 80, LOW RANGE: `[]`, HIGH RANGE: `[]`6//! DATE: 2023-02-15, 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: 1024
88
9// Executed Command:9// Executed Command:
53 // Storage: Common CollectionProperties (r:0 w:1)53 // Storage: Common CollectionProperties (r:0 w:1)
54 // Storage: Common CollectionById (r:0 w:1)54 // Storage: Common CollectionById (r:0 w:1)
55 fn register_foreign_asset() -> Weight {55 fn register_foreign_asset() -> Weight {
56 Weight::from_ref_time(50_058_000 as u64)56 Weight::from_ref_time(49_269_000 as u64)
57 .saturating_add(T::DbWeight::get().reads(9 as u64))57 .saturating_add(T::DbWeight::get().reads(9 as u64))
58 .saturating_add(T::DbWeight::get().writes(11 as u64))58 .saturating_add(T::DbWeight::get().writes(11 as u64))
59 }59 }
60 // Storage: ForeignAssets ForeignAssetLocations (r:1 w:1)60 // Storage: ForeignAssets ForeignAssetLocations (r:1 w:1)
61 // Storage: ForeignAssets AssetMetadatas (r:1 w:1)61 // Storage: ForeignAssets AssetMetadatas (r:1 w:1)
62 fn update_foreign_asset() -> Weight {62 fn update_foreign_asset() -> Weight {
63 Weight::from_ref_time(22_669_000 as u64)63 Weight::from_ref_time(21_973_000 as u64)
64 .saturating_add(T::DbWeight::get().reads(2 as u64))64 .saturating_add(T::DbWeight::get().reads(2 as u64))
65 .saturating_add(T::DbWeight::get().writes(2 as u64))65 .saturating_add(T::DbWeight::get().writes(2 as u64))
66 }66 }
80 // Storage: Common CollectionProperties (r:0 w:1)80 // Storage: Common CollectionProperties (r:0 w:1)
81 // Storage: Common CollectionById (r:0 w:1)81 // Storage: Common CollectionById (r:0 w:1)
82 fn register_foreign_asset() -> Weight {82 fn register_foreign_asset() -> Weight {
83 Weight::from_ref_time(50_058_000 as u64)83 Weight::from_ref_time(49_269_000 as u64)
84 .saturating_add(RocksDbWeight::get().reads(9 as u64))84 .saturating_add(RocksDbWeight::get().reads(9 as u64))
85 .saturating_add(RocksDbWeight::get().writes(11 as u64))85 .saturating_add(RocksDbWeight::get().writes(11 as u64))
86 }86 }
87 // Storage: ForeignAssets ForeignAssetLocations (r:1 w:1)87 // Storage: ForeignAssets ForeignAssetLocations (r:1 w:1)
88 // Storage: ForeignAssets AssetMetadatas (r:1 w:1)88 // Storage: ForeignAssets AssetMetadatas (r:1 w:1)
89 fn update_foreign_asset() -> Weight {89 fn update_foreign_asset() -> Weight {
90 Weight::from_ref_time(22_669_000 as u64)90 Weight::from_ref_time(21_973_000 as u64)
91 .saturating_add(RocksDbWeight::get().reads(2 as u64))91 .saturating_add(RocksDbWeight::get().reads(2 as u64))
92 .saturating_add(RocksDbWeight::get().writes(2 as u64))92 .saturating_add(RocksDbWeight::get().writes(2 as u64))
93 }93 }
modifiedpallets/fungible/src/weights.rsdiffbeforeafterboth
3//! Autogenerated weights for pallet_fungible3//! Autogenerated weights for pallet_fungible
4//!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-dev
6//! DATE: 2023-01-29, STEPS: `50`, REPEAT: 80, LOW RANGE: `[]`, HIGH RANGE: `[]`6//! DATE: 2023-02-15, 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: 1024
88
9// Executed Command:9// Executed Command:
50 // Storage: Fungible TotalSupply (r:1 w:1)50 // Storage: Fungible TotalSupply (r:1 w:1)
51 // Storage: Fungible Balance (r:1 w:1)51 // Storage: Fungible Balance (r:1 w:1)
52 fn create_item() -> Weight {52 fn create_item() -> Weight {
53 Weight::from_ref_time(20_606_000 as u64)53 Weight::from_ref_time(19_423_000 as u64)
54 .saturating_add(T::DbWeight::get().reads(2 as u64))54 .saturating_add(T::DbWeight::get().reads(2 as u64))
55 .saturating_add(T::DbWeight::get().writes(2 as u64))55 .saturating_add(T::DbWeight::get().writes(2 as u64))
56 }56 }
57 // Storage: Fungible TotalSupply (r:1 w:1)57 // Storage: Fungible TotalSupply (r:1 w:1)
58 // Storage: Fungible Balance (r:4 w:4)58 // Storage: Fungible Balance (r:4 w:4)
59 fn create_multiple_items_ex(b: u32, ) -> Weight {59 fn create_multiple_items_ex(b: u32, ) -> Weight {
60 Weight::from_ref_time(21_771_237 as u64)60 Weight::from_ref_time(23_426_461 as u64)
61 // Standard Error: 10_20761 // Standard Error: 1_942
62 .saturating_add(Weight::from_ref_time(3_627_533 as u64).saturating_mul(b as u64))62 .saturating_add(Weight::from_ref_time(3_459_389 as u64).saturating_mul(b as u64))
63 .saturating_add(T::DbWeight::get().reads(1 as u64))63 .saturating_add(T::DbWeight::get().reads(1 as u64))
64 .saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(b as u64)))64 .saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(b as u64)))
65 .saturating_add(T::DbWeight::get().writes(1 as u64))65 .saturating_add(T::DbWeight::get().writes(1 as u64))
68 // Storage: Fungible TotalSupply (r:1 w:1)68 // Storage: Fungible TotalSupply (r:1 w:1)
69 // Storage: Fungible Balance (r:1 w:1)69 // Storage: Fungible Balance (r:1 w:1)
70 fn burn_item() -> Weight {70 fn burn_item() -> Weight {
71 Weight::from_ref_time(22_468_000 as u64)71 Weight::from_ref_time(22_600_000 as u64)
72 .saturating_add(T::DbWeight::get().reads(2 as u64))72 .saturating_add(T::DbWeight::get().reads(2 as u64))
73 .saturating_add(T::DbWeight::get().writes(2 as u64))73 .saturating_add(T::DbWeight::get().writes(2 as u64))
74 }74 }
75 // Storage: Fungible Balance (r:2 w:2)75 // Storage: Fungible Balance (r:2 w:2)
76 fn transfer() -> Weight {76 fn transfer() -> Weight {
77 Weight::from_ref_time(23_377_000 as u64)77 Weight::from_ref_time(24_015_000 as u64)
78 .saturating_add(T::DbWeight::get().reads(2 as u64))78 .saturating_add(T::DbWeight::get().reads(2 as u64))
79 .saturating_add(T::DbWeight::get().writes(2 as u64))79 .saturating_add(T::DbWeight::get().writes(2 as u64))
80 }80 }
81 // Storage: Fungible Balance (r:1 w:0)81 // Storage: Fungible Balance (r:1 w:0)
82 // Storage: Fungible Allowance (r:0 w:1)82 // Storage: Fungible Allowance (r:0 w:1)
83 fn approve() -> Weight {83 fn approve() -> Weight {
84 Weight::from_ref_time(22_704_000 as u64)84 Weight::from_ref_time(22_478_000 as u64)
85 .saturating_add(T::DbWeight::get().reads(1 as u64))85 .saturating_add(T::DbWeight::get().reads(1 as u64))
86 .saturating_add(T::DbWeight::get().writes(1 as u64))86 .saturating_add(T::DbWeight::get().writes(1 as u64))
87 }87 }
88 // Storage: Fungible Balance (r:1 w:0)88 // Storage: Fungible Balance (r:1 w:0)
89 // Storage: Fungible Allowance (r:0 w:1)89 // Storage: Fungible Allowance (r:0 w:1)
90 fn approve_from() -> Weight {90 fn approve_from() -> Weight {
91 Weight::from_ref_time(22_777_000 as u64)91 Weight::from_ref_time(22_522_000 as u64)
92 .saturating_add(T::DbWeight::get().reads(1 as u64))92 .saturating_add(T::DbWeight::get().reads(1 as u64))
93 .saturating_add(T::DbWeight::get().writes(1 as u64))93 .saturating_add(T::DbWeight::get().writes(1 as u64))
94 }94 }
95 // Storage: Fungible Allowance (r:1 w:1)95 // Storage: Fungible Allowance (r:1 w:1)
96 // Storage: Fungible Balance (r:2 w:2)96 // Storage: Fungible Balance (r:2 w:2)
97 fn transfer_from() -> Weight {97 fn transfer_from() -> Weight {
98 Weight::from_ref_time(32_568_000 as u64)98 Weight::from_ref_time(32_061_000 as u64)
99 .saturating_add(T::DbWeight::get().reads(3 as u64))99 .saturating_add(T::DbWeight::get().reads(3 as u64))
100 .saturating_add(T::DbWeight::get().writes(3 as u64))100 .saturating_add(T::DbWeight::get().writes(3 as u64))
101 }101 }
102 // Storage: Fungible Allowance (r:1 w:1)102 // Storage: Fungible Allowance (r:1 w:1)
103 // Storage: Fungible TotalSupply (r:1 w:1)103 // Storage: Fungible TotalSupply (r:1 w:1)
104 // Storage: Fungible Balance (r:1 w:1)104 // Storage: Fungible Balance (r:1 w:1)
105 fn burn_from() -> Weight {105 fn burn_from() -> Weight {
106 Weight::from_ref_time(32_838_000 as u64)106 Weight::from_ref_time(32_115_000 as u64)
107 .saturating_add(T::DbWeight::get().reads(3 as u64))107 .saturating_add(T::DbWeight::get().reads(3 as u64))
108 .saturating_add(T::DbWeight::get().writes(3 as u64))108 .saturating_add(T::DbWeight::get().writes(3 as u64))
109 }109 }
114 // Storage: Fungible TotalSupply (r:1 w:1)114 // Storage: Fungible TotalSupply (r:1 w:1)
115 // Storage: Fungible Balance (r:1 w:1)115 // Storage: Fungible Balance (r:1 w:1)
116 fn create_item() -> Weight {116 fn create_item() -> Weight {
117 Weight::from_ref_time(20_606_000 as u64)117 Weight::from_ref_time(19_423_000 as u64)
118 .saturating_add(RocksDbWeight::get().reads(2 as u64))118 .saturating_add(RocksDbWeight::get().reads(2 as u64))
119 .saturating_add(RocksDbWeight::get().writes(2 as u64))119 .saturating_add(RocksDbWeight::get().writes(2 as u64))
120 }120 }
121 // Storage: Fungible TotalSupply (r:1 w:1)121 // Storage: Fungible TotalSupply (r:1 w:1)
122 // Storage: Fungible Balance (r:4 w:4)122 // Storage: Fungible Balance (r:4 w:4)
123 fn create_multiple_items_ex(b: u32, ) -> Weight {123 fn create_multiple_items_ex(b: u32, ) -> Weight {
124 Weight::from_ref_time(21_771_237 as u64)124 Weight::from_ref_time(23_426_461 as u64)
125 // Standard Error: 10_207125 // Standard Error: 1_942
126 .saturating_add(Weight::from_ref_time(3_627_533 as u64).saturating_mul(b as u64))126 .saturating_add(Weight::from_ref_time(3_459_389 as u64).saturating_mul(b as u64))
127 .saturating_add(RocksDbWeight::get().reads(1 as u64))127 .saturating_add(RocksDbWeight::get().reads(1 as u64))
128 .saturating_add(RocksDbWeight::get().reads((1 as u64).saturating_mul(b as u64)))128 .saturating_add(RocksDbWeight::get().reads((1 as u64).saturating_mul(b as u64)))
129 .saturating_add(RocksDbWeight::get().writes(1 as u64))129 .saturating_add(RocksDbWeight::get().writes(1 as u64))
132 // Storage: Fungible TotalSupply (r:1 w:1)132 // Storage: Fungible TotalSupply (r:1 w:1)
133 // Storage: Fungible Balance (r:1 w:1)133 // Storage: Fungible Balance (r:1 w:1)
134 fn burn_item() -> Weight {134 fn burn_item() -> Weight {
135 Weight::from_ref_time(22_468_000 as u64)135 Weight::from_ref_time(22_600_000 as u64)
136 .saturating_add(RocksDbWeight::get().reads(2 as u64))136 .saturating_add(RocksDbWeight::get().reads(2 as u64))
137 .saturating_add(RocksDbWeight::get().writes(2 as u64))137 .saturating_add(RocksDbWeight::get().writes(2 as u64))
138 }138 }
139 // Storage: Fungible Balance (r:2 w:2)139 // Storage: Fungible Balance (r:2 w:2)
140 fn transfer() -> Weight {140 fn transfer() -> Weight {
141 Weight::from_ref_time(23_377_000 as u64)141 Weight::from_ref_time(24_015_000 as u64)
142 .saturating_add(RocksDbWeight::get().reads(2 as u64))142 .saturating_add(RocksDbWeight::get().reads(2 as u64))
143 .saturating_add(RocksDbWeight::get().writes(2 as u64))143 .saturating_add(RocksDbWeight::get().writes(2 as u64))
144 }144 }
145 // Storage: Fungible Balance (r:1 w:0)145 // Storage: Fungible Balance (r:1 w:0)
146 // Storage: Fungible Allowance (r:0 w:1)146 // Storage: Fungible Allowance (r:0 w:1)
147 fn approve() -> Weight {147 fn approve() -> Weight {
148 Weight::from_ref_time(22_704_000 as u64)148 Weight::from_ref_time(22_478_000 as u64)
149 .saturating_add(RocksDbWeight::get().reads(1 as u64))149 .saturating_add(RocksDbWeight::get().reads(1 as u64))
150 .saturating_add(RocksDbWeight::get().writes(1 as u64))150 .saturating_add(RocksDbWeight::get().writes(1 as u64))
151 }151 }
152 // Storage: Fungible Balance (r:1 w:0)152 // Storage: Fungible Balance (r:1 w:0)
153 // Storage: Fungible Allowance (r:0 w:1)153 // Storage: Fungible Allowance (r:0 w:1)
154 fn approve_from() -> Weight {154 fn approve_from() -> Weight {
155 Weight::from_ref_time(22_777_000 as u64)155 Weight::from_ref_time(22_522_000 as u64)
156 .saturating_add(RocksDbWeight::get().reads(1 as u64))156 .saturating_add(RocksDbWeight::get().reads(1 as u64))
157 .saturating_add(RocksDbWeight::get().writes(1 as u64))157 .saturating_add(RocksDbWeight::get().writes(1 as u64))
158 }158 }
159 // Storage: Fungible Allowance (r:1 w:1)159 // Storage: Fungible Allowance (r:1 w:1)
160 // Storage: Fungible Balance (r:2 w:2)160 // Storage: Fungible Balance (r:2 w:2)
161 fn transfer_from() -> Weight {161 fn transfer_from() -> Weight {
162 Weight::from_ref_time(32_568_000 as u64)162 Weight::from_ref_time(32_061_000 as u64)
163 .saturating_add(RocksDbWeight::get().reads(3 as u64))163 .saturating_add(RocksDbWeight::get().reads(3 as u64))
164 .saturating_add(RocksDbWeight::get().writes(3 as u64))164 .saturating_add(RocksDbWeight::get().writes(3 as u64))
165 }165 }
166 // Storage: Fungible Allowance (r:1 w:1)166 // Storage: Fungible Allowance (r:1 w:1)
167 // Storage: Fungible TotalSupply (r:1 w:1)167 // Storage: Fungible TotalSupply (r:1 w:1)
168 // Storage: Fungible Balance (r:1 w:1)168 // Storage: Fungible Balance (r:1 w:1)
169 fn burn_from() -> Weight {169 fn burn_from() -> Weight {
170 Weight::from_ref_time(32_838_000 as u64)170 Weight::from_ref_time(32_115_000 as u64)
171 .saturating_add(RocksDbWeight::get().reads(3 as u64))171 .saturating_add(RocksDbWeight::get().reads(3 as u64))
172 .saturating_add(RocksDbWeight::get().writes(3 as u64))172 .saturating_add(RocksDbWeight::get().writes(3 as u64))
173 }173 }
modifiedpallets/nonfungible/src/weights.rsdiffbeforeafterboth
3//! Autogenerated weights for pallet_nonfungible3//! Autogenerated weights for pallet_nonfungible
4//!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-dev
6//! DATE: 2023-01-29, STEPS: `50`, REPEAT: 80, LOW RANGE: `[]`, HIGH RANGE: `[]`6//! DATE: 2023-02-15, 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: 1024
88
9// Executed Command:9// Executed Command:
64 // Storage: Nonfungible TokenData (r:0 w:1)64 // Storage: Nonfungible TokenData (r:0 w:1)
65 // Storage: Nonfungible Owned (r:0 w:1)65 // Storage: Nonfungible Owned (r:0 w:1)
66 fn create_item() -> Weight {66 fn create_item() -> Weight {
67 Weight::from_ref_time(34_313_000 as u64)67 Weight::from_ref_time(35_333_000 as u64)
68 .saturating_add(T::DbWeight::get().reads(4 as u64))68 .saturating_add(T::DbWeight::get().reads(4 as u64))
69 .saturating_add(T::DbWeight::get().writes(5 as u64))69 .saturating_add(T::DbWeight::get().writes(5 as u64))
70 }70 }
75 // Storage: Nonfungible TokenData (r:0 w:4)75 // Storage: Nonfungible TokenData (r:0 w:4)
76 // Storage: Nonfungible Owned (r:0 w:4)76 // Storage: Nonfungible Owned (r:0 w:4)
77 fn create_multiple_items(b: u32, ) -> Weight {77 fn create_multiple_items(b: u32, ) -> Weight {
78 Weight::from_ref_time(19_201_665 as u64)78 Weight::from_ref_time(19_091_371 as u64)
79 // Standard Error: 4_78079 // Standard Error: 3_221
80 .saturating_add(Weight::from_ref_time(7_373_591 as u64).saturating_mul(b as u64))80 .saturating_add(Weight::from_ref_time(7_304_849 as u64).saturating_mul(b as u64))
81 .saturating_add(T::DbWeight::get().reads(3 as u64))81 .saturating_add(T::DbWeight::get().reads(3 as u64))
82 .saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(b as u64)))82 .saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(b as u64)))
83 .saturating_add(T::DbWeight::get().writes(2 as u64))83 .saturating_add(T::DbWeight::get().writes(2 as u64))
90 // Storage: Nonfungible TokenData (r:0 w:4)90 // Storage: Nonfungible TokenData (r:0 w:4)
91 // Storage: Nonfungible Owned (r:0 w:4)91 // Storage: Nonfungible Owned (r:0 w:4)
92 fn create_multiple_items_ex(b: u32, ) -> Weight {92 fn create_multiple_items_ex(b: u32, ) -> Weight {
93 Weight::from_ref_time(13_021_971 as u64)93 Weight::from_ref_time(12_655_339 as u64)
94 // Standard Error: 5_11794 // Standard Error: 3_655
95 .saturating_add(Weight::from_ref_time(9_163_935 as u64).saturating_mul(b as u64))95 .saturating_add(Weight::from_ref_time(9_051_919 as u64).saturating_mul(b as u64))
96 .saturating_add(T::DbWeight::get().reads(2 as u64))96 .saturating_add(T::DbWeight::get().reads(2 as u64))
97 .saturating_add(T::DbWeight::get().reads((2 as u64).saturating_mul(b as u64)))97 .saturating_add(T::DbWeight::get().reads((2 as u64).saturating_mul(b as u64)))
98 .saturating_add(T::DbWeight::get().writes(1 as u64))98 .saturating_add(T::DbWeight::get().writes(1 as u64))
106 // Storage: Nonfungible Owned (r:0 w:1)106 // Storage: Nonfungible Owned (r:0 w:1)
107 // Storage: Nonfungible TokenProperties (r:0 w:1)107 // Storage: Nonfungible TokenProperties (r:0 w:1)
108 fn burn_item() -> Weight {108 fn burn_item() -> Weight {
109 Weight::from_ref_time(35_727_000 as u64)109 Weight::from_ref_time(34_068_000 as u64)
110 .saturating_add(T::DbWeight::get().reads(5 as u64))110 .saturating_add(T::DbWeight::get().reads(5 as u64))
111 .saturating_add(T::DbWeight::get().writes(5 as u64))111 .saturating_add(T::DbWeight::get().writes(5 as u64))
112 }112 }
118 // Storage: Nonfungible Owned (r:0 w:1)118 // Storage: Nonfungible Owned (r:0 w:1)
119 // Storage: Nonfungible TokenProperties (r:0 w:1)119 // Storage: Nonfungible TokenProperties (r:0 w:1)
120 fn burn_recursively_self_raw() -> Weight {120 fn burn_recursively_self_raw() -> Weight {
121 Weight::from_ref_time(44_618_000 as u64)121 Weight::from_ref_time(44_840_000 as u64)
122 .saturating_add(T::DbWeight::get().reads(5 as u64))122 .saturating_add(T::DbWeight::get().reads(5 as u64))
123 .saturating_add(T::DbWeight::get().writes(5 as u64))123 .saturating_add(T::DbWeight::get().writes(5 as u64))
124 }124 }
131 // Storage: Nonfungible TokenProperties (r:0 w:1)131 // Storage: Nonfungible TokenProperties (r:0 w:1)
132 // Storage: Common CollectionById (r:1 w:0)132 // Storage: Common CollectionById (r:1 w:0)
133 fn burn_recursively_breadth_plus_self_plus_self_per_each_raw(b: u32, ) -> Weight {133 fn burn_recursively_breadth_plus_self_plus_self_per_each_raw(b: u32, ) -> Weight {
134 Weight::from_ref_time(45_095_000 as u64)134 Weight::from_ref_time(44_567_000 as u64)
135 // Standard Error: 1_034_807135 // Standard Error: 1_014_743
136 .saturating_add(Weight::from_ref_time(215_008_105 as u64).saturating_mul(b as u64))136 .saturating_add(Weight::from_ref_time(209_619_240 as u64).saturating_mul(b as u64))
137 .saturating_add(T::DbWeight::get().reads(7 as u64))137 .saturating_add(T::DbWeight::get().reads(7 as u64))
138 .saturating_add(T::DbWeight::get().reads((4 as u64).saturating_mul(b as u64)))138 .saturating_add(T::DbWeight::get().reads((4 as u64).saturating_mul(b as u64)))
139 .saturating_add(T::DbWeight::get().writes(6 as u64))139 .saturating_add(T::DbWeight::get().writes(6 as u64))
144 // Storage: Nonfungible Allowance (r:1 w:0)144 // Storage: Nonfungible Allowance (r:1 w:0)
145 // Storage: Nonfungible Owned (r:0 w:2)145 // Storage: Nonfungible Owned (r:0 w:2)
146 fn transfer() -> Weight {146 fn transfer() -> Weight {
147 Weight::from_ref_time(29_636_000 as u64)147 Weight::from_ref_time(29_508_000 as u64)
148 .saturating_add(T::DbWeight::get().reads(4 as u64))148 .saturating_add(T::DbWeight::get().reads(4 as u64))
149 .saturating_add(T::DbWeight::get().writes(5 as u64))149 .saturating_add(T::DbWeight::get().writes(5 as u64))
150 }150 }
151 // Storage: Nonfungible TokenData (r:1 w:0)151 // Storage: Nonfungible TokenData (r:1 w:0)
152 // Storage: Nonfungible Allowance (r:1 w:1)152 // Storage: Nonfungible Allowance (r:1 w:1)
153 fn approve() -> Weight {153 fn approve() -> Weight {
154 Weight::from_ref_time(22_440_000 as u64)154 Weight::from_ref_time(22_168_000 as u64)
155 .saturating_add(T::DbWeight::get().reads(2 as u64))155 .saturating_add(T::DbWeight::get().reads(2 as u64))
156 .saturating_add(T::DbWeight::get().writes(1 as u64))156 .saturating_add(T::DbWeight::get().writes(1 as u64))
157 }157 }
158 // Storage: Nonfungible TokenData (r:1 w:0)158 // Storage: Nonfungible TokenData (r:1 w:0)
159 // Storage: Nonfungible Allowance (r:1 w:1)159 // Storage: Nonfungible Allowance (r:1 w:1)
160 fn approve_from() -> Weight {160 fn approve_from() -> Weight {
161 Weight::from_ref_time(22_519_000 as u64)161 Weight::from_ref_time(22_063_000 as u64)
162 .saturating_add(T::DbWeight::get().reads(2 as u64))162 .saturating_add(T::DbWeight::get().reads(2 as u64))
163 .saturating_add(T::DbWeight::get().writes(1 as u64))163 .saturating_add(T::DbWeight::get().writes(1 as u64))
164 }164 }
167 // Storage: Nonfungible AccountBalance (r:2 w:2)167 // Storage: Nonfungible AccountBalance (r:2 w:2)
168 // Storage: Nonfungible Owned (r:0 w:2)168 // Storage: Nonfungible Owned (r:0 w:2)
169 fn transfer_from() -> Weight {169 fn transfer_from() -> Weight {
170 Weight::from_ref_time(36_354_000 as u64)170 Weight::from_ref_time(36_386_000 as u64)
171 .saturating_add(T::DbWeight::get().reads(4 as u64))171 .saturating_add(T::DbWeight::get().reads(4 as u64))
172 .saturating_add(T::DbWeight::get().writes(6 as u64))172 .saturating_add(T::DbWeight::get().writes(6 as u64))
173 }173 }
179 // Storage: Nonfungible Owned (r:0 w:1)179 // Storage: Nonfungible Owned (r:0 w:1)
180 // Storage: Nonfungible TokenProperties (r:0 w:1)180 // Storage: Nonfungible TokenProperties (r:0 w:1)
181 fn burn_from() -> Weight {181 fn burn_from() -> Weight {
182 Weight::from_ref_time(42_533_000 as u64)182 Weight::from_ref_time(42_499_000 as u64)
183 .saturating_add(T::DbWeight::get().reads(5 as u64))183 .saturating_add(T::DbWeight::get().reads(5 as u64))
184 .saturating_add(T::DbWeight::get().writes(6 as u64))184 .saturating_add(T::DbWeight::get().writes(6 as u64))
185 }185 }
186 // Storage: Common CollectionPropertyPermissions (r:1 w:1)186 // Storage: Common CollectionPropertyPermissions (r:1 w:1)
187 fn set_token_property_permissions(b: u32, ) -> Weight {187 fn set_token_property_permissions(b: u32, ) -> Weight {
188 Weight::from_ref_time(5_189_000 as u64)188 Weight::from_ref_time(5_317_000 as u64)
189 // Standard Error: 45_637189 // Standard Error: 42_045
190 .saturating_add(Weight::from_ref_time(12_760_623 as u64).saturating_mul(b as u64))190 .saturating_add(Weight::from_ref_time(12_179_871 as u64).saturating_mul(b as u64))
191 .saturating_add(T::DbWeight::get().reads(1 as u64))191 .saturating_add(T::DbWeight::get().reads(1 as u64))
192 .saturating_add(T::DbWeight::get().writes(1 as u64))192 .saturating_add(T::DbWeight::get().writes(1 as u64))
193 }193 }
194 // Storage: Nonfungible TokenProperties (r:1 w:1)194 // Storage: Nonfungible TokenProperties (r:1 w:1)
195 // Storage: Common CollectionPropertyPermissions (r:1 w:0)195 // Storage: Common CollectionPropertyPermissions (r:1 w:0)
196 fn set_token_properties(b: u32, ) -> Weight {196 fn set_token_properties(b: u32, ) -> Weight {
197 Weight::from_ref_time(22_023_308 as u64)197 Weight::from_ref_time(15_428_000 as u64)
198 // Standard Error: 10_490198 // Standard Error: 58_002
199 .saturating_add(Weight::from_ref_time(6_199_746 as u64).saturating_mul(b as u64))199 .saturating_add(Weight::from_ref_time(7_195_842 as u64).saturating_mul(b as u64))
200 .saturating_add(T::DbWeight::get().reads(2 as u64))200 .saturating_add(T::DbWeight::get().reads(2 as u64))
201 .saturating_add(T::DbWeight::get().writes(1 as u64))201 .saturating_add(T::DbWeight::get().writes(1 as u64))
202 }202 }
203 // Storage: Nonfungible TokenProperties (r:1 w:1)203 // Storage: Nonfungible TokenProperties (r:1 w:1)
204 // Storage: Common CollectionPropertyPermissions (r:1 w:0)204 // Storage: Common CollectionPropertyPermissions (r:1 w:0)
205 fn delete_token_properties(b: u32, ) -> Weight {205 fn delete_token_properties(b: u32, ) -> Weight {
206 Weight::from_ref_time(15_064_000 as u64)206 Weight::from_ref_time(15_498_000 as u64)
207 // Standard Error: 70_297207 // Standard Error: 68_276
208 .saturating_add(Weight::from_ref_time(22_826_857 as u64).saturating_mul(b as u64))208 .saturating_add(Weight::from_ref_time(22_441_281 as u64).saturating_mul(b as u64))
209 .saturating_add(T::DbWeight::get().reads(2 as u64))209 .saturating_add(T::DbWeight::get().reads(2 as u64))
210 .saturating_add(T::DbWeight::get().writes(1 as u64))210 .saturating_add(T::DbWeight::get().writes(1 as u64))
211 }211 }
212 // Storage: Nonfungible TokenData (r:1 w:0)212 // Storage: Nonfungible TokenData (r:1 w:0)
213 fn token_owner() -> Weight {213 fn token_owner() -> Weight {
214 Weight::from_ref_time(6_837_000 as u64)214 Weight::from_ref_time(7_006_000 as u64)
215 .saturating_add(T::DbWeight::get().reads(1 as u64))215 .saturating_add(T::DbWeight::get().reads(1 as u64))
216 }216 }
217 // Storage: Nonfungible CollectionAllowance (r:0 w:1)217 // Storage: Nonfungible CollectionAllowance (r:0 w:1)
218 fn set_allowance_for_all() -> Weight {218 fn set_allowance_for_all() -> Weight {
219 Weight::from_ref_time(16_618_000 as u64)219 Weight::from_ref_time(16_761_000 as u64)
220 .saturating_add(T::DbWeight::get().writes(1 as u64))220 .saturating_add(T::DbWeight::get().writes(1 as u64))
221 }221 }
222 // Storage: Nonfungible CollectionAllowance (r:1 w:0)222 // Storage: Nonfungible CollectionAllowance (r:1 w:0)
223 fn allowance_for_all() -> Weight {223 fn allowance_for_all() -> Weight {
224 Weight::from_ref_time(5_430_000 as u64)224 Weight::from_ref_time(5_577_000 as u64)
225 .saturating_add(T::DbWeight::get().reads(1 as u64))225 .saturating_add(T::DbWeight::get().reads(1 as u64))
226 }226 }
227 // Storage: Nonfungible TokenProperties (r:1 w:1)227 // Storage: Nonfungible TokenProperties (r:1 w:1)
228 fn repair_item() -> Weight {228 fn repair_item() -> Weight {
229 Weight::from_ref_time(7_776_000 as u64)229 Weight::from_ref_time(7_670_000 as u64)
230 .saturating_add(T::DbWeight::get().reads(1 as u64))230 .saturating_add(T::DbWeight::get().reads(1 as u64))
231 .saturating_add(T::DbWeight::get().writes(1 as u64))231 .saturating_add(T::DbWeight::get().writes(1 as u64))
232 }232 }
241 // Storage: Nonfungible TokenData (r:0 w:1)241 // Storage: Nonfungible TokenData (r:0 w:1)
242 // Storage: Nonfungible Owned (r:0 w:1)242 // Storage: Nonfungible Owned (r:0 w:1)
243 fn create_item() -> Weight {243 fn create_item() -> Weight {
244 Weight::from_ref_time(34_313_000 as u64)244 Weight::from_ref_time(35_333_000 as u64)
245 .saturating_add(RocksDbWeight::get().reads(4 as u64))245 .saturating_add(RocksDbWeight::get().reads(4 as u64))
246 .saturating_add(RocksDbWeight::get().writes(5 as u64))246 .saturating_add(RocksDbWeight::get().writes(5 as u64))
247 }247 }
252 // Storage: Nonfungible TokenData (r:0 w:4)252 // Storage: Nonfungible TokenData (r:0 w:4)
253 // Storage: Nonfungible Owned (r:0 w:4)253 // Storage: Nonfungible Owned (r:0 w:4)
254 fn create_multiple_items(b: u32, ) -> Weight {254 fn create_multiple_items(b: u32, ) -> Weight {
255 Weight::from_ref_time(19_201_665 as u64)255 Weight::from_ref_time(19_091_371 as u64)
256 // Standard Error: 4_780256 // Standard Error: 3_221
257 .saturating_add(Weight::from_ref_time(7_373_591 as u64).saturating_mul(b as u64))257 .saturating_add(Weight::from_ref_time(7_304_849 as u64).saturating_mul(b as u64))
258 .saturating_add(RocksDbWeight::get().reads(3 as u64))258 .saturating_add(RocksDbWeight::get().reads(3 as u64))
259 .saturating_add(RocksDbWeight::get().reads((1 as u64).saturating_mul(b as u64)))259 .saturating_add(RocksDbWeight::get().reads((1 as u64).saturating_mul(b as u64)))
260 .saturating_add(RocksDbWeight::get().writes(2 as u64))260 .saturating_add(RocksDbWeight::get().writes(2 as u64))
267 // Storage: Nonfungible TokenData (r:0 w:4)267 // Storage: Nonfungible TokenData (r:0 w:4)
268 // Storage: Nonfungible Owned (r:0 w:4)268 // Storage: Nonfungible Owned (r:0 w:4)
269 fn create_multiple_items_ex(b: u32, ) -> Weight {269 fn create_multiple_items_ex(b: u32, ) -> Weight {
270 Weight::from_ref_time(13_021_971 as u64)270 Weight::from_ref_time(12_655_339 as u64)
271 // Standard Error: 5_117271 // Standard Error: 3_655
272 .saturating_add(Weight::from_ref_time(9_163_935 as u64).saturating_mul(b as u64))272 .saturating_add(Weight::from_ref_time(9_051_919 as u64).saturating_mul(b as u64))
273 .saturating_add(RocksDbWeight::get().reads(2 as u64))273 .saturating_add(RocksDbWeight::get().reads(2 as u64))
274 .saturating_add(RocksDbWeight::get().reads((2 as u64).saturating_mul(b as u64)))274 .saturating_add(RocksDbWeight::get().reads((2 as u64).saturating_mul(b as u64)))
275 .saturating_add(RocksDbWeight::get().writes(1 as u64))275 .saturating_add(RocksDbWeight::get().writes(1 as u64))
283 // Storage: Nonfungible Owned (r:0 w:1)283 // Storage: Nonfungible Owned (r:0 w:1)
284 // Storage: Nonfungible TokenProperties (r:0 w:1)284 // Storage: Nonfungible TokenProperties (r:0 w:1)
285 fn burn_item() -> Weight {285 fn burn_item() -> Weight {
286 Weight::from_ref_time(35_727_000 as u64)286 Weight::from_ref_time(34_068_000 as u64)
287 .saturating_add(RocksDbWeight::get().reads(5 as u64))287 .saturating_add(RocksDbWeight::get().reads(5 as u64))
288 .saturating_add(RocksDbWeight::get().writes(5 as u64))288 .saturating_add(RocksDbWeight::get().writes(5 as u64))
289 }289 }
295 // Storage: Nonfungible Owned (r:0 w:1)295 // Storage: Nonfungible Owned (r:0 w:1)
296 // Storage: Nonfungible TokenProperties (r:0 w:1)296 // Storage: Nonfungible TokenProperties (r:0 w:1)
297 fn burn_recursively_self_raw() -> Weight {297 fn burn_recursively_self_raw() -> Weight {
298 Weight::from_ref_time(44_618_000 as u64)298 Weight::from_ref_time(44_840_000 as u64)
299 .saturating_add(RocksDbWeight::get().reads(5 as u64))299 .saturating_add(RocksDbWeight::get().reads(5 as u64))
300 .saturating_add(RocksDbWeight::get().writes(5 as u64))300 .saturating_add(RocksDbWeight::get().writes(5 as u64))
301 }301 }
308 // Storage: Nonfungible TokenProperties (r:0 w:1)308 // Storage: Nonfungible TokenProperties (r:0 w:1)
309 // Storage: Common CollectionById (r:1 w:0)309 // Storage: Common CollectionById (r:1 w:0)
310 fn burn_recursively_breadth_plus_self_plus_self_per_each_raw(b: u32, ) -> Weight {310 fn burn_recursively_breadth_plus_self_plus_self_per_each_raw(b: u32, ) -> Weight {
311 Weight::from_ref_time(45_095_000 as u64)311 Weight::from_ref_time(44_567_000 as u64)
312 // Standard Error: 1_034_807312 // Standard Error: 1_014_743
313 .saturating_add(Weight::from_ref_time(215_008_105 as u64).saturating_mul(b as u64))313 .saturating_add(Weight::from_ref_time(209_619_240 as u64).saturating_mul(b as u64))
314 .saturating_add(RocksDbWeight::get().reads(7 as u64))314 .saturating_add(RocksDbWeight::get().reads(7 as u64))
315 .saturating_add(RocksDbWeight::get().reads((4 as u64).saturating_mul(b as u64)))315 .saturating_add(RocksDbWeight::get().reads((4 as u64).saturating_mul(b as u64)))
316 .saturating_add(RocksDbWeight::get().writes(6 as u64))316 .saturating_add(RocksDbWeight::get().writes(6 as u64))
321 // Storage: Nonfungible Allowance (r:1 w:0)321 // Storage: Nonfungible Allowance (r:1 w:0)
322 // Storage: Nonfungible Owned (r:0 w:2)322 // Storage: Nonfungible Owned (r:0 w:2)
323 fn transfer() -> Weight {323 fn transfer() -> Weight {
324 Weight::from_ref_time(29_636_000 as u64)324 Weight::from_ref_time(29_508_000 as u64)
325 .saturating_add(RocksDbWeight::get().reads(4 as u64))325 .saturating_add(RocksDbWeight::get().reads(4 as u64))
326 .saturating_add(RocksDbWeight::get().writes(5 as u64))326 .saturating_add(RocksDbWeight::get().writes(5 as u64))
327 }327 }
328 // Storage: Nonfungible TokenData (r:1 w:0)328 // Storage: Nonfungible TokenData (r:1 w:0)
329 // Storage: Nonfungible Allowance (r:1 w:1)329 // Storage: Nonfungible Allowance (r:1 w:1)
330 fn approve() -> Weight {330 fn approve() -> Weight {
331 Weight::from_ref_time(22_440_000 as u64)331 Weight::from_ref_time(22_168_000 as u64)
332 .saturating_add(RocksDbWeight::get().reads(2 as u64))332 .saturating_add(RocksDbWeight::get().reads(2 as u64))
333 .saturating_add(RocksDbWeight::get().writes(1 as u64))333 .saturating_add(RocksDbWeight::get().writes(1 as u64))
334 }334 }
335 // Storage: Nonfungible TokenData (r:1 w:0)335 // Storage: Nonfungible TokenData (r:1 w:0)
336 // Storage: Nonfungible Allowance (r:1 w:1)336 // Storage: Nonfungible Allowance (r:1 w:1)
337 fn approve_from() -> Weight {337 fn approve_from() -> Weight {
338 Weight::from_ref_time(22_519_000 as u64)338 Weight::from_ref_time(22_063_000 as u64)
339 .saturating_add(RocksDbWeight::get().reads(2 as u64))339 .saturating_add(RocksDbWeight::get().reads(2 as u64))
340 .saturating_add(RocksDbWeight::get().writes(1 as u64))340 .saturating_add(RocksDbWeight::get().writes(1 as u64))
341 }341 }
344 // Storage: Nonfungible AccountBalance (r:2 w:2)344 // Storage: Nonfungible AccountBalance (r:2 w:2)
345 // Storage: Nonfungible Owned (r:0 w:2)345 // Storage: Nonfungible Owned (r:0 w:2)
346 fn transfer_from() -> Weight {346 fn transfer_from() -> Weight {
347 Weight::from_ref_time(36_354_000 as u64)347 Weight::from_ref_time(36_386_000 as u64)
348 .saturating_add(RocksDbWeight::get().reads(4 as u64))348 .saturating_add(RocksDbWeight::get().reads(4 as u64))
349 .saturating_add(RocksDbWeight::get().writes(6 as u64))349 .saturating_add(RocksDbWeight::get().writes(6 as u64))
350 }350 }
356 // Storage: Nonfungible Owned (r:0 w:1)356 // Storage: Nonfungible Owned (r:0 w:1)
357 // Storage: Nonfungible TokenProperties (r:0 w:1)357 // Storage: Nonfungible TokenProperties (r:0 w:1)
358 fn burn_from() -> Weight {358 fn burn_from() -> Weight {
359 Weight::from_ref_time(42_533_000 as u64)359 Weight::from_ref_time(42_499_000 as u64)
360 .saturating_add(RocksDbWeight::get().reads(5 as u64))360 .saturating_add(RocksDbWeight::get().reads(5 as u64))
361 .saturating_add(RocksDbWeight::get().writes(6 as u64))361 .saturating_add(RocksDbWeight::get().writes(6 as u64))
362 }362 }
363 // Storage: Common CollectionPropertyPermissions (r:1 w:1)363 // Storage: Common CollectionPropertyPermissions (r:1 w:1)
364 fn set_token_property_permissions(b: u32, ) -> Weight {364 fn set_token_property_permissions(b: u32, ) -> Weight {
365 Weight::from_ref_time(5_189_000 as u64)365 Weight::from_ref_time(5_317_000 as u64)
366 // Standard Error: 45_637366 // Standard Error: 42_045
367 .saturating_add(Weight::from_ref_time(12_760_623 as u64).saturating_mul(b as u64))367 .saturating_add(Weight::from_ref_time(12_179_871 as u64).saturating_mul(b as u64))
368 .saturating_add(RocksDbWeight::get().reads(1 as u64))368 .saturating_add(RocksDbWeight::get().reads(1 as u64))
369 .saturating_add(RocksDbWeight::get().writes(1 as u64))369 .saturating_add(RocksDbWeight::get().writes(1 as u64))
370 }370 }
371 // Storage: Nonfungible TokenProperties (r:1 w:1)371 // Storage: Nonfungible TokenProperties (r:1 w:1)
372 // Storage: Common CollectionPropertyPermissions (r:1 w:0)372 // Storage: Common CollectionPropertyPermissions (r:1 w:0)
373 fn set_token_properties(b: u32, ) -> Weight {373 fn set_token_properties(b: u32, ) -> Weight {
374 Weight::from_ref_time(22_023_308 as u64)374 Weight::from_ref_time(15_428_000 as u64)
375 // Standard Error: 10_490375 // Standard Error: 58_002
376 .saturating_add(Weight::from_ref_time(6_199_746 as u64).saturating_mul(b as u64))376 .saturating_add(Weight::from_ref_time(7_195_842 as u64).saturating_mul(b as u64))
377 .saturating_add(RocksDbWeight::get().reads(2 as u64))377 .saturating_add(RocksDbWeight::get().reads(2 as u64))
378 .saturating_add(RocksDbWeight::get().writes(1 as u64))378 .saturating_add(RocksDbWeight::get().writes(1 as u64))
379 }379 }
380 // Storage: Nonfungible TokenProperties (r:1 w:1)380 // Storage: Nonfungible TokenProperties (r:1 w:1)
381 // Storage: Common CollectionPropertyPermissions (r:1 w:0)381 // Storage: Common CollectionPropertyPermissions (r:1 w:0)
382 fn delete_token_properties(b: u32, ) -> Weight {382 fn delete_token_properties(b: u32, ) -> Weight {
383 Weight::from_ref_time(15_064_000 as u64)383 Weight::from_ref_time(15_498_000 as u64)
384 // Standard Error: 70_297384 // Standard Error: 68_276
385 .saturating_add(Weight::from_ref_time(22_826_857 as u64).saturating_mul(b as u64))385 .saturating_add(Weight::from_ref_time(22_441_281 as u64).saturating_mul(b as u64))
386 .saturating_add(RocksDbWeight::get().reads(2 as u64))386 .saturating_add(RocksDbWeight::get().reads(2 as u64))
387 .saturating_add(RocksDbWeight::get().writes(1 as u64))387 .saturating_add(RocksDbWeight::get().writes(1 as u64))
388 }388 }
389 // Storage: Nonfungible TokenData (r:1 w:0)389 // Storage: Nonfungible TokenData (r:1 w:0)
390 fn token_owner() -> Weight {390 fn token_owner() -> Weight {
391 Weight::from_ref_time(6_837_000 as u64)391 Weight::from_ref_time(7_006_000 as u64)
392 .saturating_add(RocksDbWeight::get().reads(1 as u64))392 .saturating_add(RocksDbWeight::get().reads(1 as u64))
393 }393 }
394 // Storage: Nonfungible CollectionAllowance (r:0 w:1)394 // Storage: Nonfungible CollectionAllowance (r:0 w:1)
395 fn set_allowance_for_all() -> Weight {395 fn set_allowance_for_all() -> Weight {
396 Weight::from_ref_time(16_618_000 as u64)396 Weight::from_ref_time(16_761_000 as u64)
397 .saturating_add(RocksDbWeight::get().writes(1 as u64))397 .saturating_add(RocksDbWeight::get().writes(1 as u64))
398 }398 }
399 // Storage: Nonfungible CollectionAllowance (r:1 w:0)399 // Storage: Nonfungible CollectionAllowance (r:1 w:0)
400 fn allowance_for_all() -> Weight {400 fn allowance_for_all() -> Weight {
401 Weight::from_ref_time(5_430_000 as u64)401 Weight::from_ref_time(5_577_000 as u64)
402 .saturating_add(RocksDbWeight::get().reads(1 as u64))402 .saturating_add(RocksDbWeight::get().reads(1 as u64))
403 }403 }
404 // Storage: Nonfungible TokenProperties (r:1 w:1)404 // Storage: Nonfungible TokenProperties (r:1 w:1)
405 fn repair_item() -> Weight {405 fn repair_item() -> Weight {
406 Weight::from_ref_time(7_776_000 as u64)406 Weight::from_ref_time(7_670_000 as u64)
407 .saturating_add(RocksDbWeight::get().reads(1 as u64))407 .saturating_add(RocksDbWeight::get().reads(1 as u64))
408 .saturating_add(RocksDbWeight::get().writes(1 as u64))408 .saturating_add(RocksDbWeight::get().writes(1 as u64))
409 }409 }
modifiedpallets/refungible/src/weights.rsdiffbeforeafterboth
3//! Autogenerated weights for pallet_refungible3//! Autogenerated weights for pallet_refungible
4//!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-dev
6//! DATE: 2023-01-29, STEPS: `50`, REPEAT: 80, LOW RANGE: `[]`, HIGH RANGE: `[]`6//! DATE: 2023-02-15, 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: 1024
88
9// Executed Command:9// Executed Command:
72 // Storage: Refungible TotalSupply (r:0 w:1)72 // Storage: Refungible TotalSupply (r:0 w:1)
73 // Storage: Refungible Owned (r:0 w:1)73 // Storage: Refungible Owned (r:0 w:1)
74 fn create_item() -> Weight {74 fn create_item() -> Weight {
75 Weight::from_ref_time(39_775_000 as u64)75 Weight::from_ref_time(39_971_000 as u64)
76 .saturating_add(T::DbWeight::get().reads(4 as u64))76 .saturating_add(T::DbWeight::get().reads(4 as u64))
77 .saturating_add(T::DbWeight::get().writes(6 as u64))77 .saturating_add(T::DbWeight::get().writes(6 as u64))
78 }78 }
84 // Storage: Refungible TotalSupply (r:0 w:4)84 // Storage: Refungible TotalSupply (r:0 w:4)
85 // Storage: Refungible Owned (r:0 w:4)85 // Storage: Refungible Owned (r:0 w:4)
86 fn create_multiple_items(b: u32, ) -> Weight {86 fn create_multiple_items(b: u32, ) -> Weight {
87 Weight::from_ref_time(19_486_095 as u64)87 Weight::from_ref_time(14_049_866 as u64)
88 // Standard Error: 8_01588 // Standard Error: 4_015
89 .saturating_add(Weight::from_ref_time(9_037_181 as u64).saturating_mul(b as u64))89 .saturating_add(Weight::from_ref_time(8_984_911 as u64).saturating_mul(b as u64))
90 .saturating_add(T::DbWeight::get().reads(3 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)))91 .saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(b as u64)))
92 .saturating_add(T::DbWeight::get().writes(2 as u64))92 .saturating_add(T::DbWeight::get().writes(2 as u64))
100 // Storage: Refungible TotalSupply (r:0 w:4)100 // Storage: Refungible TotalSupply (r:0 w:4)
101 // Storage: Refungible Owned (r:0 w:4)101 // Storage: Refungible Owned (r:0 w:4)
102 fn create_multiple_items_ex_multiple_items(b: u32, ) -> Weight {102 fn create_multiple_items_ex_multiple_items(b: u32, ) -> Weight {
103 Weight::from_ref_time(14_091_538 as u64)103 Weight::from_ref_time(14_893_679 as u64)
104 // Standard Error: 6_448104 // Standard Error: 3_571
105 .saturating_add(Weight::from_ref_time(10_777_780 as u64).saturating_mul(b as u64))105 .saturating_add(Weight::from_ref_time(10_611_135 as u64).saturating_mul(b as u64))
106 .saturating_add(T::DbWeight::get().reads(2 as u64))106 .saturating_add(T::DbWeight::get().reads(2 as u64))
107 .saturating_add(T::DbWeight::get().reads((2 as u64).saturating_mul(b as u64)))107 .saturating_add(T::DbWeight::get().reads((2 as u64).saturating_mul(b as u64)))
108 .saturating_add(T::DbWeight::get().writes(1 as u64))108 .saturating_add(T::DbWeight::get().writes(1 as u64))
116 // Storage: Refungible Balance (r:0 w:4)116 // Storage: Refungible Balance (r:0 w:4)
117 // Storage: Refungible Owned (r:0 w:4)117 // Storage: Refungible Owned (r:0 w:4)
118 fn create_multiple_items_ex_multiple_owners(b: u32, ) -> Weight {118 fn create_multiple_items_ex_multiple_owners(b: u32, ) -> Weight {
119 Weight::from_ref_time(30_958_687 as u64)119 Weight::from_ref_time(31_075_923 as u64)
120 // Standard Error: 3_000120 // Standard Error: 2_118
121 .saturating_add(Weight::from_ref_time(5_976_114 as u64).saturating_mul(b as u64))121 .saturating_add(Weight::from_ref_time(5_829_866 as u64).saturating_mul(b as u64))
122 .saturating_add(T::DbWeight::get().reads(3 as u64))122 .saturating_add(T::DbWeight::get().reads(3 as u64))
123 .saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(b as u64)))123 .saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(b as u64)))
124 .saturating_add(T::DbWeight::get().writes(3 as u64))124 .saturating_add(T::DbWeight::get().writes(3 as u64))
129 // Storage: Refungible AccountBalance (r:1 w:1)129 // Storage: Refungible AccountBalance (r:1 w:1)
130 // Storage: Refungible Owned (r:0 w:1)130 // Storage: Refungible Owned (r:0 w:1)
131 fn burn_item_partial() -> Weight {131 fn burn_item_partial() -> Weight {
132 Weight::from_ref_time(46_498_000 as u64)132 Weight::from_ref_time(47_369_000 as u64)
133 .saturating_add(T::DbWeight::get().reads(5 as u64))133 .saturating_add(T::DbWeight::get().reads(5 as u64))
134 .saturating_add(T::DbWeight::get().writes(4 as u64))134 .saturating_add(T::DbWeight::get().writes(4 as u64))
135 }135 }
140 // Storage: Refungible Owned (r:0 w:1)140 // Storage: Refungible Owned (r:0 w:1)
141 // Storage: Refungible TokenProperties (r:0 w:1)141 // Storage: Refungible TokenProperties (r:0 w:1)
142 fn burn_item_fully() -> Weight {142 fn burn_item_fully() -> Weight {
143 Weight::from_ref_time(42_429_000 as u64)143 Weight::from_ref_time(41_351_000 as u64)
144 .saturating_add(T::DbWeight::get().reads(4 as u64))144 .saturating_add(T::DbWeight::get().reads(4 as u64))
145 .saturating_add(T::DbWeight::get().writes(6 as u64))145 .saturating_add(T::DbWeight::get().writes(6 as u64))
146 }146 }
147 // Storage: Refungible Balance (r:2 w:2)147 // Storage: Refungible Balance (r:2 w:2)
148 // Storage: Refungible TotalSupply (r:1 w:0)148 // Storage: Refungible TotalSupply (r:1 w:0)
149 fn transfer_normal() -> Weight {149 fn transfer_normal() -> Weight {
150 Weight::from_ref_time(31_435_000 as u64)150 Weight::from_ref_time(31_379_000 as u64)
151 .saturating_add(T::DbWeight::get().reads(3 as u64))151 .saturating_add(T::DbWeight::get().reads(3 as u64))
152 .saturating_add(T::DbWeight::get().writes(2 as u64))152 .saturating_add(T::DbWeight::get().writes(2 as u64))
153 }153 }
156 // Storage: Refungible TotalSupply (r:1 w:0)156 // Storage: Refungible TotalSupply (r:1 w:0)
157 // Storage: Refungible Owned (r:0 w:1)157 // Storage: Refungible Owned (r:0 w:1)
158 fn transfer_creating() -> Weight {158 fn transfer_creating() -> Weight {
159 Weight::from_ref_time(34_913_000 as u64)159 Weight::from_ref_time(34_829_000 as u64)
160 .saturating_add(T::DbWeight::get().reads(4 as u64))160 .saturating_add(T::DbWeight::get().reads(4 as u64))
161 .saturating_add(T::DbWeight::get().writes(4 as u64))161 .saturating_add(T::DbWeight::get().writes(4 as u64))
162 }162 }
165 // Storage: Refungible TotalSupply (r:1 w:0)165 // Storage: Refungible TotalSupply (r:1 w:0)
166 // Storage: Refungible Owned (r:0 w:1)166 // Storage: Refungible Owned (r:0 w:1)
167 fn transfer_removing() -> Weight {167 fn transfer_removing() -> Weight {
168 Weight::from_ref_time(37_992_000 as u64)168 Weight::from_ref_time(38_221_000 as u64)
169 .saturating_add(T::DbWeight::get().reads(4 as u64))169 .saturating_add(T::DbWeight::get().reads(4 as u64))
170 .saturating_add(T::DbWeight::get().writes(4 as u64))170 .saturating_add(T::DbWeight::get().writes(4 as u64))
171 }171 }
174 // Storage: Refungible TotalSupply (r:1 w:0)174 // Storage: Refungible TotalSupply (r:1 w:0)
175 // Storage: Refungible Owned (r:0 w:2)175 // Storage: Refungible Owned (r:0 w:2)
176 fn transfer_creating_removing() -> Weight {176 fn transfer_creating_removing() -> Weight {
177 Weight::from_ref_time(37_935_000 as u64)177 Weight::from_ref_time(38_102_000 as u64)
178 .saturating_add(T::DbWeight::get().reads(5 as u64))178 .saturating_add(T::DbWeight::get().reads(5 as u64))
179 .saturating_add(T::DbWeight::get().writes(6 as u64))179 .saturating_add(T::DbWeight::get().writes(6 as u64))
180 }180 }
181 // Storage: Refungible Balance (r:1 w:0)181 // Storage: Refungible Balance (r:1 w:0)
182 // Storage: Refungible Allowance (r:0 w:1)182 // Storage: Refungible Allowance (r:0 w:1)
183 fn approve() -> Weight {183 fn approve() -> Weight {
184 Weight::from_ref_time(23_900_000 as u64)184 Weight::from_ref_time(24_217_000 as u64)
185 .saturating_add(T::DbWeight::get().reads(1 as u64))185 .saturating_add(T::DbWeight::get().reads(1 as u64))
186 .saturating_add(T::DbWeight::get().writes(1 as u64))186 .saturating_add(T::DbWeight::get().writes(1 as u64))
187 }187 }
188 // Storage: Refungible Balance (r:1 w:0)188 // Storage: Refungible Balance (r:1 w:0)
189 // Storage: Refungible Allowance (r:0 w:1)189 // Storage: Refungible Allowance (r:0 w:1)
190 fn approve_from() -> Weight {190 fn approve_from() -> Weight {
191 Weight::from_ref_time(24_012_000 as u64)191 Weight::from_ref_time(24_173_000 as u64)
192 .saturating_add(T::DbWeight::get().reads(1 as u64))192 .saturating_add(T::DbWeight::get().reads(1 as u64))
193 .saturating_add(T::DbWeight::get().writes(1 as u64))193 .saturating_add(T::DbWeight::get().writes(1 as u64))
194 }194 }
195 // Storage: Refungible Allowance (r:1 w:1)195 // Storage: Refungible Allowance (r:1 w:1)
196 // Storage: Refungible Balance (r:2 w:2)196 // Storage: Refungible Balance (r:2 w:2)
197 // Storage: Refungible TotalSupply (r:1 w:0)197 // Storage: Refungible TotalSupply (r:1 w:0)
198 fn transfer_from_normal() -> Weight {198 fn transfer_from_normal() -> Weight {
199 Weight::from_ref_time(40_384_000 as u64)199 Weight::from_ref_time(40_040_000 as u64)
200 .saturating_add(T::DbWeight::get().reads(4 as u64))200 .saturating_add(T::DbWeight::get().reads(4 as u64))
201 .saturating_add(T::DbWeight::get().writes(3 as u64))201 .saturating_add(T::DbWeight::get().writes(3 as u64))
202 }202 }
206 // Storage: Refungible TotalSupply (r:1 w:0)206 // Storage: Refungible TotalSupply (r:1 w:0)
207 // Storage: Refungible Owned (r:0 w:1)207 // Storage: Refungible Owned (r:0 w:1)
208 fn transfer_from_creating() -> Weight {208 fn transfer_from_creating() -> Weight {
209 Weight::from_ref_time(43_372_000 as u64)209 Weight::from_ref_time(42_906_000 as u64)
210 .saturating_add(T::DbWeight::get().reads(5 as u64))210 .saturating_add(T::DbWeight::get().reads(5 as u64))
211 .saturating_add(T::DbWeight::get().writes(5 as u64))211 .saturating_add(T::DbWeight::get().writes(5 as u64))
212 }212 }
216 // Storage: Refungible TotalSupply (r:1 w:0)216 // Storage: Refungible TotalSupply (r:1 w:0)
217 // Storage: Refungible Owned (r:0 w:1)217 // Storage: Refungible Owned (r:0 w:1)
218 fn transfer_from_removing() -> Weight {218 fn transfer_from_removing() -> Weight {
219 Weight::from_ref_time(46_470_000 as u64)219 Weight::from_ref_time(46_112_000 as u64)
220 .saturating_add(T::DbWeight::get().reads(5 as u64))220 .saturating_add(T::DbWeight::get().reads(5 as u64))
221 .saturating_add(T::DbWeight::get().writes(5 as u64))221 .saturating_add(T::DbWeight::get().writes(5 as u64))
222 }222 }
226 // Storage: Refungible TotalSupply (r:1 w:0)226 // Storage: Refungible TotalSupply (r:1 w:0)
227 // Storage: Refungible Owned (r:0 w:2)227 // Storage: Refungible Owned (r:0 w:2)
228 fn transfer_from_creating_removing() -> Weight {228 fn transfer_from_creating_removing() -> Weight {
229 Weight::from_ref_time(46_394_000 as u64)229 Weight::from_ref_time(45_102_000 as u64)
230 .saturating_add(T::DbWeight::get().reads(6 as u64))230 .saturating_add(T::DbWeight::get().reads(6 as u64))
231 .saturating_add(T::DbWeight::get().writes(7 as u64))231 .saturating_add(T::DbWeight::get().writes(7 as u64))
232 }232 }
238 // Storage: Refungible Owned (r:0 w:1)238 // Storage: Refungible Owned (r:0 w:1)
239 // Storage: Refungible TokenProperties (r:0 w:1)239 // Storage: Refungible TokenProperties (r:0 w:1)
240 fn burn_from() -> Weight {240 fn burn_from() -> Weight {
241 Weight::from_ref_time(51_957_000 as u64)241 Weight::from_ref_time(50_573_000 as u64)
242 .saturating_add(T::DbWeight::get().reads(5 as u64))242 .saturating_add(T::DbWeight::get().reads(5 as u64))
243 .saturating_add(T::DbWeight::get().writes(7 as u64))243 .saturating_add(T::DbWeight::get().writes(7 as u64))
244 }244 }
245 // Storage: Common CollectionPropertyPermissions (r:1 w:1)245 // Storage: Common CollectionPropertyPermissions (r:1 w:1)
246 fn set_token_property_permissions(b: u32, ) -> Weight {246 fn set_token_property_permissions(b: u32, ) -> Weight {
247 Weight::from_ref_time(5_257_000 as u64)247 Weight::from_ref_time(5_349_000 as u64)
248 // Standard Error: 47_229248 // Standard Error: 41_409
249 .saturating_add(Weight::from_ref_time(12_976_974 as u64).saturating_mul(b as u64))249 .saturating_add(Weight::from_ref_time(12_216_721 as u64).saturating_mul(b as u64))
250 .saturating_add(T::DbWeight::get().reads(1 as u64))250 .saturating_add(T::DbWeight::get().reads(1 as u64))
251 .saturating_add(T::DbWeight::get().writes(1 as u64))251 .saturating_add(T::DbWeight::get().writes(1 as u64))
252 }252 }
253 // Storage: Refungible TokenProperties (r:1 w:1)253 // Storage: Refungible TokenProperties (r:1 w:1)
254 // Storage: Common CollectionPropertyPermissions (r:1 w:0)254 // Storage: Common CollectionPropertyPermissions (r:1 w:0)
255 fn set_token_properties(b: u32, ) -> Weight {255 fn set_token_properties(b: u32, ) -> Weight {
256 Weight::from_ref_time(13_103_140 as u64)256 Weight::from_ref_time(12_947_117 as u64)
257 // Standard Error: 62_508257 // Standard Error: 75_487
258 .saturating_add(Weight::from_ref_time(6_883_577 as u64).saturating_mul(b as u64))258 .saturating_add(Weight::from_ref_time(6_809_149 as u64).saturating_mul(b as u64))
259 .saturating_add(T::DbWeight::get().reads(2 as u64))259 .saturating_add(T::DbWeight::get().reads(2 as u64))
260 .saturating_add(T::DbWeight::get().writes(1 as u64))260 .saturating_add(T::DbWeight::get().writes(1 as u64))
261 }261 }
262 // Storage: Refungible TokenProperties (r:1 w:1)262 // Storage: Refungible TokenProperties (r:1 w:1)
263 // Storage: Common CollectionPropertyPermissions (r:1 w:0)263 // Storage: Common CollectionPropertyPermissions (r:1 w:0)
264 fn delete_token_properties(b: u32, ) -> Weight {264 fn delete_token_properties(b: u32, ) -> Weight {
265 Weight::from_ref_time(15_068_000 as u64)265 Weight::from_ref_time(14_967_000 as u64)
266 // Standard Error: 70_494266 // Standard Error: 66_400
267 .saturating_add(Weight::from_ref_time(22_758_838 as u64).saturating_mul(b as u64))267 .saturating_add(Weight::from_ref_time(22_261_821 as u64).saturating_mul(b as u64))
268 .saturating_add(T::DbWeight::get().reads(2 as u64))268 .saturating_add(T::DbWeight::get().reads(2 as u64))
269 .saturating_add(T::DbWeight::get().writes(1 as u64))269 .saturating_add(T::DbWeight::get().writes(1 as u64))
270 }270 }
271 // Storage: Refungible TotalSupply (r:1 w:1)271 // Storage: Refungible TotalSupply (r:1 w:1)
272 // Storage: Refungible Balance (r:1 w:1)272 // Storage: Refungible Balance (r:1 w:1)
273 fn repartition_item() -> Weight {273 fn repartition_item() -> Weight {
274 Weight::from_ref_time(24_640_000 as u64)274 Weight::from_ref_time(25_823_000 as u64)
275 .saturating_add(T::DbWeight::get().reads(2 as u64))275 .saturating_add(T::DbWeight::get().reads(2 as u64))
276 .saturating_add(T::DbWeight::get().writes(2 as u64))276 .saturating_add(T::DbWeight::get().writes(2 as u64))
277 }277 }
278 // Storage: Refungible Balance (r:2 w:0)278 // Storage: Refungible Balance (r:2 w:0)
279 fn token_owner() -> Weight {279 fn token_owner() -> Weight {
280 Weight::from_ref_time(9_634_000 as u64)280 Weight::from_ref_time(9_445_000 as u64)
281 .saturating_add(T::DbWeight::get().reads(2 as u64))281 .saturating_add(T::DbWeight::get().reads(2 as u64))
282 }282 }
283 // Storage: Refungible CollectionAllowance (r:0 w:1)283 // Storage: Refungible CollectionAllowance (r:0 w:1)
284 fn set_allowance_for_all() -> Weight {284 fn set_allowance_for_all() -> Weight {
285 Weight::from_ref_time(17_366_000 as u64)285 Weight::from_ref_time(17_303_000 as u64)
286 .saturating_add(T::DbWeight::get().writes(1 as u64))286 .saturating_add(T::DbWeight::get().writes(1 as u64))
287 }287 }
288 // Storage: Refungible CollectionAllowance (r:1 w:0)288 // Storage: Refungible CollectionAllowance (r:1 w:0)
289 fn allowance_for_all() -> Weight {289 fn allowance_for_all() -> Weight {
290 Weight::from_ref_time(5_419_000 as u64)290 Weight::from_ref_time(5_352_000 as u64)
291 .saturating_add(T::DbWeight::get().reads(1 as u64))291 .saturating_add(T::DbWeight::get().reads(1 as u64))
292 }292 }
293 // Storage: Refungible TokenProperties (r:1 w:1)293 // Storage: Refungible TokenProperties (r:1 w:1)
294 fn repair_item() -> Weight {294 fn repair_item() -> Weight {
295 Weight::from_ref_time(7_196_000 as u64)295 Weight::from_ref_time(7_200_000 as u64)
296 .saturating_add(T::DbWeight::get().reads(1 as u64))296 .saturating_add(T::DbWeight::get().reads(1 as u64))
297 .saturating_add(T::DbWeight::get().writes(1 as u64))297 .saturating_add(T::DbWeight::get().writes(1 as u64))
298 }298 }
308 // Storage: Refungible TotalSupply (r:0 w:1)308 // Storage: Refungible TotalSupply (r:0 w:1)
309 // Storage: Refungible Owned (r:0 w:1)309 // Storage: Refungible Owned (r:0 w:1)
310 fn create_item() -> Weight {310 fn create_item() -> Weight {
311 Weight::from_ref_time(39_775_000 as u64)311 Weight::from_ref_time(39_971_000 as u64)
312 .saturating_add(RocksDbWeight::get().reads(4 as u64))312 .saturating_add(RocksDbWeight::get().reads(4 as u64))
313 .saturating_add(RocksDbWeight::get().writes(6 as u64))313 .saturating_add(RocksDbWeight::get().writes(6 as u64))
314 }314 }
320 // Storage: Refungible TotalSupply (r:0 w:4)320 // Storage: Refungible TotalSupply (r:0 w:4)
321 // Storage: Refungible Owned (r:0 w:4)321 // Storage: Refungible Owned (r:0 w:4)
322 fn create_multiple_items(b: u32, ) -> Weight {322 fn create_multiple_items(b: u32, ) -> Weight {
323 Weight::from_ref_time(19_486_095 as u64)323 Weight::from_ref_time(14_049_866 as u64)
324 // Standard Error: 8_015324 // Standard Error: 4_015
325 .saturating_add(Weight::from_ref_time(9_037_181 as u64).saturating_mul(b as u64))325 .saturating_add(Weight::from_ref_time(8_984_911 as u64).saturating_mul(b as u64))
326 .saturating_add(RocksDbWeight::get().reads(3 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)))327 .saturating_add(RocksDbWeight::get().reads((1 as u64).saturating_mul(b as u64)))
328 .saturating_add(RocksDbWeight::get().writes(2 as u64))328 .saturating_add(RocksDbWeight::get().writes(2 as u64))
336 // Storage: Refungible TotalSupply (r:0 w:4)336 // Storage: Refungible TotalSupply (r:0 w:4)
337 // Storage: Refungible Owned (r:0 w:4)337 // Storage: Refungible Owned (r:0 w:4)
338 fn create_multiple_items_ex_multiple_items(b: u32, ) -> Weight {338 fn create_multiple_items_ex_multiple_items(b: u32, ) -> Weight {
339 Weight::from_ref_time(14_091_538 as u64)339 Weight::from_ref_time(14_893_679 as u64)
340 // Standard Error: 6_448340 // Standard Error: 3_571
341 .saturating_add(Weight::from_ref_time(10_777_780 as u64).saturating_mul(b as u64))341 .saturating_add(Weight::from_ref_time(10_611_135 as u64).saturating_mul(b as u64))
342 .saturating_add(RocksDbWeight::get().reads(2 as u64))342 .saturating_add(RocksDbWeight::get().reads(2 as u64))
343 .saturating_add(RocksDbWeight::get().reads((2 as u64).saturating_mul(b as u64)))343 .saturating_add(RocksDbWeight::get().reads((2 as u64).saturating_mul(b as u64)))
344 .saturating_add(RocksDbWeight::get().writes(1 as u64))344 .saturating_add(RocksDbWeight::get().writes(1 as u64))
352 // Storage: Refungible Balance (r:0 w:4)352 // Storage: Refungible Balance (r:0 w:4)
353 // Storage: Refungible Owned (r:0 w:4)353 // Storage: Refungible Owned (r:0 w:4)
354 fn create_multiple_items_ex_multiple_owners(b: u32, ) -> Weight {354 fn create_multiple_items_ex_multiple_owners(b: u32, ) -> Weight {
355 Weight::from_ref_time(30_958_687 as u64)355 Weight::from_ref_time(31_075_923 as u64)
356 // Standard Error: 3_000356 // Standard Error: 2_118
357 .saturating_add(Weight::from_ref_time(5_976_114 as u64).saturating_mul(b as u64))357 .saturating_add(Weight::from_ref_time(5_829_866 as u64).saturating_mul(b as u64))
358 .saturating_add(RocksDbWeight::get().reads(3 as u64))358 .saturating_add(RocksDbWeight::get().reads(3 as u64))
359 .saturating_add(RocksDbWeight::get().reads((1 as u64).saturating_mul(b as u64)))359 .saturating_add(RocksDbWeight::get().reads((1 as u64).saturating_mul(b as u64)))
360 .saturating_add(RocksDbWeight::get().writes(3 as u64))360 .saturating_add(RocksDbWeight::get().writes(3 as u64))
365 // Storage: Refungible AccountBalance (r:1 w:1)365 // Storage: Refungible AccountBalance (r:1 w:1)
366 // Storage: Refungible Owned (r:0 w:1)366 // Storage: Refungible Owned (r:0 w:1)
367 fn burn_item_partial() -> Weight {367 fn burn_item_partial() -> Weight {
368 Weight::from_ref_time(46_498_000 as u64)368 Weight::from_ref_time(47_369_000 as u64)
369 .saturating_add(RocksDbWeight::get().reads(5 as u64))369 .saturating_add(RocksDbWeight::get().reads(5 as u64))
370 .saturating_add(RocksDbWeight::get().writes(4 as u64))370 .saturating_add(RocksDbWeight::get().writes(4 as u64))
371 }371 }
376 // Storage: Refungible Owned (r:0 w:1)376 // Storage: Refungible Owned (r:0 w:1)
377 // Storage: Refungible TokenProperties (r:0 w:1)377 // Storage: Refungible TokenProperties (r:0 w:1)
378 fn burn_item_fully() -> Weight {378 fn burn_item_fully() -> Weight {
379 Weight::from_ref_time(42_429_000 as u64)379 Weight::from_ref_time(41_351_000 as u64)
380 .saturating_add(RocksDbWeight::get().reads(4 as u64))380 .saturating_add(RocksDbWeight::get().reads(4 as u64))
381 .saturating_add(RocksDbWeight::get().writes(6 as u64))381 .saturating_add(RocksDbWeight::get().writes(6 as u64))
382 }382 }
383 // Storage: Refungible Balance (r:2 w:2)383 // Storage: Refungible Balance (r:2 w:2)
384 // Storage: Refungible TotalSupply (r:1 w:0)384 // Storage: Refungible TotalSupply (r:1 w:0)
385 fn transfer_normal() -> Weight {385 fn transfer_normal() -> Weight {
386 Weight::from_ref_time(31_435_000 as u64)386 Weight::from_ref_time(31_379_000 as u64)
387 .saturating_add(RocksDbWeight::get().reads(3 as u64))387 .saturating_add(RocksDbWeight::get().reads(3 as u64))
388 .saturating_add(RocksDbWeight::get().writes(2 as u64))388 .saturating_add(RocksDbWeight::get().writes(2 as u64))
389 }389 }
392 // Storage: Refungible TotalSupply (r:1 w:0)392 // Storage: Refungible TotalSupply (r:1 w:0)
393 // Storage: Refungible Owned (r:0 w:1)393 // Storage: Refungible Owned (r:0 w:1)
394 fn transfer_creating() -> Weight {394 fn transfer_creating() -> Weight {
395 Weight::from_ref_time(34_913_000 as u64)395 Weight::from_ref_time(34_829_000 as u64)
396 .saturating_add(RocksDbWeight::get().reads(4 as u64))396 .saturating_add(RocksDbWeight::get().reads(4 as u64))
397 .saturating_add(RocksDbWeight::get().writes(4 as u64))397 .saturating_add(RocksDbWeight::get().writes(4 as u64))
398 }398 }
401 // Storage: Refungible TotalSupply (r:1 w:0)401 // Storage: Refungible TotalSupply (r:1 w:0)
402 // Storage: Refungible Owned (r:0 w:1)402 // Storage: Refungible Owned (r:0 w:1)
403 fn transfer_removing() -> Weight {403 fn transfer_removing() -> Weight {
404 Weight::from_ref_time(37_992_000 as u64)404 Weight::from_ref_time(38_221_000 as u64)
405 .saturating_add(RocksDbWeight::get().reads(4 as u64))405 .saturating_add(RocksDbWeight::get().reads(4 as u64))
406 .saturating_add(RocksDbWeight::get().writes(4 as u64))406 .saturating_add(RocksDbWeight::get().writes(4 as u64))
407 }407 }
410 // Storage: Refungible TotalSupply (r:1 w:0)410 // Storage: Refungible TotalSupply (r:1 w:0)
411 // Storage: Refungible Owned (r:0 w:2)411 // Storage: Refungible Owned (r:0 w:2)
412 fn transfer_creating_removing() -> Weight {412 fn transfer_creating_removing() -> Weight {
413 Weight::from_ref_time(37_935_000 as u64)413 Weight::from_ref_time(38_102_000 as u64)
414 .saturating_add(RocksDbWeight::get().reads(5 as u64))414 .saturating_add(RocksDbWeight::get().reads(5 as u64))
415 .saturating_add(RocksDbWeight::get().writes(6 as u64))415 .saturating_add(RocksDbWeight::get().writes(6 as u64))
416 }416 }
417 // Storage: Refungible Balance (r:1 w:0)417 // Storage: Refungible Balance (r:1 w:0)
418 // Storage: Refungible Allowance (r:0 w:1)418 // Storage: Refungible Allowance (r:0 w:1)
419 fn approve() -> Weight {419 fn approve() -> Weight {
420 Weight::from_ref_time(23_900_000 as u64)420 Weight::from_ref_time(24_217_000 as u64)
421 .saturating_add(RocksDbWeight::get().reads(1 as u64))421 .saturating_add(RocksDbWeight::get().reads(1 as u64))
422 .saturating_add(RocksDbWeight::get().writes(1 as u64))422 .saturating_add(RocksDbWeight::get().writes(1 as u64))
423 }423 }
424 // Storage: Refungible Balance (r:1 w:0)424 // Storage: Refungible Balance (r:1 w:0)
425 // Storage: Refungible Allowance (r:0 w:1)425 // Storage: Refungible Allowance (r:0 w:1)
426 fn approve_from() -> Weight {426 fn approve_from() -> Weight {
427 Weight::from_ref_time(24_012_000 as u64)427 Weight::from_ref_time(24_173_000 as u64)
428 .saturating_add(RocksDbWeight::get().reads(1 as u64))428 .saturating_add(RocksDbWeight::get().reads(1 as u64))
429 .saturating_add(RocksDbWeight::get().writes(1 as u64))429 .saturating_add(RocksDbWeight::get().writes(1 as u64))
430 }430 }
431 // Storage: Refungible Allowance (r:1 w:1)431 // Storage: Refungible Allowance (r:1 w:1)
432 // Storage: Refungible Balance (r:2 w:2)432 // Storage: Refungible Balance (r:2 w:2)
433 // Storage: Refungible TotalSupply (r:1 w:0)433 // Storage: Refungible TotalSupply (r:1 w:0)
434 fn transfer_from_normal() -> Weight {434 fn transfer_from_normal() -> Weight {
435 Weight::from_ref_time(40_384_000 as u64)435 Weight::from_ref_time(40_040_000 as u64)
436 .saturating_add(RocksDbWeight::get().reads(4 as u64))436 .saturating_add(RocksDbWeight::get().reads(4 as u64))
437 .saturating_add(RocksDbWeight::get().writes(3 as u64))437 .saturating_add(RocksDbWeight::get().writes(3 as u64))
438 }438 }
442 // Storage: Refungible TotalSupply (r:1 w:0)442 // Storage: Refungible TotalSupply (r:1 w:0)
443 // Storage: Refungible Owned (r:0 w:1)443 // Storage: Refungible Owned (r:0 w:1)
444 fn transfer_from_creating() -> Weight {444 fn transfer_from_creating() -> Weight {
445 Weight::from_ref_time(43_372_000 as u64)445 Weight::from_ref_time(42_906_000 as u64)
446 .saturating_add(RocksDbWeight::get().reads(5 as u64))446 .saturating_add(RocksDbWeight::get().reads(5 as u64))
447 .saturating_add(RocksDbWeight::get().writes(5 as u64))447 .saturating_add(RocksDbWeight::get().writes(5 as u64))
448 }448 }
452 // Storage: Refungible TotalSupply (r:1 w:0)452 // Storage: Refungible TotalSupply (r:1 w:0)
453 // Storage: Refungible Owned (r:0 w:1)453 // Storage: Refungible Owned (r:0 w:1)
454 fn transfer_from_removing() -> Weight {454 fn transfer_from_removing() -> Weight {
455 Weight::from_ref_time(46_470_000 as u64)455 Weight::from_ref_time(46_112_000 as u64)
456 .saturating_add(RocksDbWeight::get().reads(5 as u64))456 .saturating_add(RocksDbWeight::get().reads(5 as u64))
457 .saturating_add(RocksDbWeight::get().writes(5 as u64))457 .saturating_add(RocksDbWeight::get().writes(5 as u64))
458 }458 }
462 // Storage: Refungible TotalSupply (r:1 w:0)462 // Storage: Refungible TotalSupply (r:1 w:0)
463 // Storage: Refungible Owned (r:0 w:2)463 // Storage: Refungible Owned (r:0 w:2)
464 fn transfer_from_creating_removing() -> Weight {464 fn transfer_from_creating_removing() -> Weight {
465 Weight::from_ref_time(46_394_000 as u64)465 Weight::from_ref_time(45_102_000 as u64)
466 .saturating_add(RocksDbWeight::get().reads(6 as u64))466 .saturating_add(RocksDbWeight::get().reads(6 as u64))
467 .saturating_add(RocksDbWeight::get().writes(7 as u64))467 .saturating_add(RocksDbWeight::get().writes(7 as u64))
468 }468 }
474 // Storage: Refungible Owned (r:0 w:1)474 // Storage: Refungible Owned (r:0 w:1)
475 // Storage: Refungible TokenProperties (r:0 w:1)475 // Storage: Refungible TokenProperties (r:0 w:1)
476 fn burn_from() -> Weight {476 fn burn_from() -> Weight {
477 Weight::from_ref_time(51_957_000 as u64)477 Weight::from_ref_time(50_573_000 as u64)
478 .saturating_add(RocksDbWeight::get().reads(5 as u64))478 .saturating_add(RocksDbWeight::get().reads(5 as u64))
479 .saturating_add(RocksDbWeight::get().writes(7 as u64))479 .saturating_add(RocksDbWeight::get().writes(7 as u64))
480 }480 }
481 // Storage: Common CollectionPropertyPermissions (r:1 w:1)481 // Storage: Common CollectionPropertyPermissions (r:1 w:1)
482 fn set_token_property_permissions(b: u32, ) -> Weight {482 fn set_token_property_permissions(b: u32, ) -> Weight {
483 Weight::from_ref_time(5_257_000 as u64)483 Weight::from_ref_time(5_349_000 as u64)
484 // Standard Error: 47_229484 // Standard Error: 41_409
485 .saturating_add(Weight::from_ref_time(12_976_974 as u64).saturating_mul(b as u64))485 .saturating_add(Weight::from_ref_time(12_216_721 as u64).saturating_mul(b as u64))
486 .saturating_add(RocksDbWeight::get().reads(1 as u64))486 .saturating_add(RocksDbWeight::get().reads(1 as u64))
487 .saturating_add(RocksDbWeight::get().writes(1 as u64))487 .saturating_add(RocksDbWeight::get().writes(1 as u64))
488 }488 }
489 // Storage: Refungible TokenProperties (r:1 w:1)489 // Storage: Refungible TokenProperties (r:1 w:1)
490 // Storage: Common CollectionPropertyPermissions (r:1 w:0)490 // Storage: Common CollectionPropertyPermissions (r:1 w:0)
491 fn set_token_properties(b: u32, ) -> Weight {491 fn set_token_properties(b: u32, ) -> Weight {
492 Weight::from_ref_time(13_103_140 as u64)492 Weight::from_ref_time(12_947_117 as u64)
493 // Standard Error: 62_508493 // Standard Error: 75_487
494 .saturating_add(Weight::from_ref_time(6_883_577 as u64).saturating_mul(b as u64))494 .saturating_add(Weight::from_ref_time(6_809_149 as u64).saturating_mul(b as u64))
495 .saturating_add(RocksDbWeight::get().reads(2 as u64))495 .saturating_add(RocksDbWeight::get().reads(2 as u64))
496 .saturating_add(RocksDbWeight::get().writes(1 as u64))496 .saturating_add(RocksDbWeight::get().writes(1 as u64))
497 }497 }
498 // Storage: Refungible TokenProperties (r:1 w:1)498 // Storage: Refungible TokenProperties (r:1 w:1)
499 // Storage: Common CollectionPropertyPermissions (r:1 w:0)499 // Storage: Common CollectionPropertyPermissions (r:1 w:0)
500 fn delete_token_properties(b: u32, ) -> Weight {500 fn delete_token_properties(b: u32, ) -> Weight {
501 Weight::from_ref_time(15_068_000 as u64)501 Weight::from_ref_time(14_967_000 as u64)
502 // Standard Error: 70_494502 // Standard Error: 66_400
503 .saturating_add(Weight::from_ref_time(22_758_838 as u64).saturating_mul(b as u64))503 .saturating_add(Weight::from_ref_time(22_261_821 as u64).saturating_mul(b as u64))
504 .saturating_add(RocksDbWeight::get().reads(2 as u64))504 .saturating_add(RocksDbWeight::get().reads(2 as u64))
505 .saturating_add(RocksDbWeight::get().writes(1 as u64))505 .saturating_add(RocksDbWeight::get().writes(1 as u64))
506 }506 }
507 // Storage: Refungible TotalSupply (r:1 w:1)507 // Storage: Refungible TotalSupply (r:1 w:1)
508 // Storage: Refungible Balance (r:1 w:1)508 // Storage: Refungible Balance (r:1 w:1)
509 fn repartition_item() -> Weight {509 fn repartition_item() -> Weight {
510 Weight::from_ref_time(24_640_000 as u64)510 Weight::from_ref_time(25_823_000 as u64)
511 .saturating_add(RocksDbWeight::get().reads(2 as u64))511 .saturating_add(RocksDbWeight::get().reads(2 as u64))
512 .saturating_add(RocksDbWeight::get().writes(2 as u64))512 .saturating_add(RocksDbWeight::get().writes(2 as u64))
513 }513 }
514 // Storage: Refungible Balance (r:2 w:0)514 // Storage: Refungible Balance (r:2 w:0)
515 fn token_owner() -> Weight {515 fn token_owner() -> Weight {
516 Weight::from_ref_time(9_634_000 as u64)516 Weight::from_ref_time(9_445_000 as u64)
517 .saturating_add(RocksDbWeight::get().reads(2 as u64))517 .saturating_add(RocksDbWeight::get().reads(2 as u64))
518 }518 }
519 // Storage: Refungible CollectionAllowance (r:0 w:1)519 // Storage: Refungible CollectionAllowance (r:0 w:1)
520 fn set_allowance_for_all() -> Weight {520 fn set_allowance_for_all() -> Weight {
521 Weight::from_ref_time(17_366_000 as u64)521 Weight::from_ref_time(17_303_000 as u64)
522 .saturating_add(RocksDbWeight::get().writes(1 as u64))522 .saturating_add(RocksDbWeight::get().writes(1 as u64))
523 }523 }
524 // Storage: Refungible CollectionAllowance (r:1 w:0)524 // Storage: Refungible CollectionAllowance (r:1 w:0)
525 fn allowance_for_all() -> Weight {525 fn allowance_for_all() -> Weight {
526 Weight::from_ref_time(5_419_000 as u64)526 Weight::from_ref_time(5_352_000 as u64)
527 .saturating_add(RocksDbWeight::get().reads(1 as u64))527 .saturating_add(RocksDbWeight::get().reads(1 as u64))
528 }528 }
529 // Storage: Refungible TokenProperties (r:1 w:1)529 // Storage: Refungible TokenProperties (r:1 w:1)
530 fn repair_item() -> Weight {530 fn repair_item() -> Weight {
531 Weight::from_ref_time(7_196_000 as u64)531 Weight::from_ref_time(7_200_000 as u64)
532 .saturating_add(RocksDbWeight::get().reads(1 as u64))532 .saturating_add(RocksDbWeight::get().reads(1 as u64))
533 .saturating_add(RocksDbWeight::get().writes(1 as u64))533 .saturating_add(RocksDbWeight::get().writes(1 as u64))
534 }534 }
modifiedpallets/structure/src/weights.rsdiffbeforeafterboth
3//! Autogenerated weights for pallet_structure3//! Autogenerated weights for pallet_structure
4//!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-dev
6//! DATE: 2023-01-29, STEPS: `50`, REPEAT: 80, LOW RANGE: `[]`, HIGH RANGE: `[]`6//! DATE: 2023-02-15, 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: 1024
88
9// Executed Command:9// Executed Command:
43 // Storage: Common CollectionById (r:1 w:0)43 // Storage: Common CollectionById (r:1 w:0)
44 // Storage: Nonfungible TokenData (r:1 w:0)44 // Storage: Nonfungible TokenData (r:1 w:0)
45 fn find_parent() -> Weight {45 fn find_parent() -> Weight {
46 Weight::from_ref_time(11_766_000 as u64)46 Weight::from_ref_time(11_663_000 as u64)
47 .saturating_add(T::DbWeight::get().reads(2 as u64))47 .saturating_add(T::DbWeight::get().reads(2 as u64))
48 }48 }
49}49}
53 // Storage: Common CollectionById (r:1 w:0)53 // Storage: Common CollectionById (r:1 w:0)
54 // Storage: Nonfungible TokenData (r:1 w:0)54 // Storage: Nonfungible TokenData (r:1 w:0)
55 fn find_parent() -> Weight {55 fn find_parent() -> Weight {
56 Weight::from_ref_time(11_766_000 as u64)56 Weight::from_ref_time(11_663_000 as u64)
57 .saturating_add(RocksDbWeight::get().reads(2 as u64))57 .saturating_add(RocksDbWeight::get().reads(2 as u64))
58 }58 }
59}59}
modifiedpallets/unique/src/weights.rsdiffbeforeafterboth
3//! Autogenerated weights for pallet_unique3//! Autogenerated weights for pallet_unique
4//!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-dev
6//! DATE: 2023-01-29, STEPS: `50`, REPEAT: 80, LOW RANGE: `[]`, HIGH RANGE: `[]`6//! DATE: 2023-02-15, 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: 1024
88
9// Executed Command:9// Executed Command:
59 // Storage: Common CollectionProperties (r:0 w:1)59 // Storage: Common CollectionProperties (r:0 w:1)
60 // Storage: Common CollectionById (r:0 w:1)60 // Storage: Common CollectionById (r:0 w:1)
61 fn create_collection() -> Weight {61 fn create_collection() -> Weight {
62 Weight::from_ref_time(43_527_000 as u64)62 Weight::from_ref_time(47_681_000 as u64)
63 .saturating_add(T::DbWeight::get().reads(4 as u64))63 .saturating_add(T::DbWeight::get().reads(4 as u64))
64 .saturating_add(T::DbWeight::get().writes(6 as u64))64 .saturating_add(T::DbWeight::get().writes(6 as u64))
65 }65 }
71 // Storage: Common AdminAmount (r:0 w:1)71 // Storage: Common AdminAmount (r:0 w:1)
72 // Storage: Common CollectionProperties (r:0 w:1)72 // Storage: Common CollectionProperties (r:0 w:1)
73 fn destroy_collection() -> Weight {73 fn destroy_collection() -> Weight {
74 Weight::from_ref_time(59_528_000 as u64)74 Weight::from_ref_time(58_371_000 as u64)
75 .saturating_add(T::DbWeight::get().reads(3 as u64))75 .saturating_add(T::DbWeight::get().reads(3 as u64))
76 .saturating_add(T::DbWeight::get().writes(6 as u64))76 .saturating_add(T::DbWeight::get().writes(6 as u64))
77 }77 }
78 // Storage: Common CollectionById (r:1 w:0)78 // Storage: Common CollectionById (r:1 w:0)
79 // Storage: Common Allowlist (r:0 w:1)79 // Storage: Common Allowlist (r:0 w:1)
80 fn add_to_allow_list() -> Weight {80 fn add_to_allow_list() -> Weight {
81 Weight::from_ref_time(27_970_000 as u64)81 Weight::from_ref_time(28_197_000 as u64)
82 .saturating_add(T::DbWeight::get().reads(1 as u64))82 .saturating_add(T::DbWeight::get().reads(1 as u64))
83 .saturating_add(T::DbWeight::get().writes(1 as u64))83 .saturating_add(T::DbWeight::get().writes(1 as u64))
84 }84 }
85 // Storage: Common CollectionById (r:1 w:0)85 // Storage: Common CollectionById (r:1 w:0)
86 // Storage: Common Allowlist (r:0 w:1)86 // Storage: Common Allowlist (r:0 w:1)
87 fn remove_from_allow_list() -> Weight {87 fn remove_from_allow_list() -> Weight {
88 Weight::from_ref_time(27_736_000 as u64)88 Weight::from_ref_time(27_782_000 as u64)
89 .saturating_add(T::DbWeight::get().reads(1 as u64))89 .saturating_add(T::DbWeight::get().reads(1 as u64))
90 .saturating_add(T::DbWeight::get().writes(1 as u64))90 .saturating_add(T::DbWeight::get().writes(1 as u64))
91 }91 }
92 // Storage: Common CollectionById (r:1 w:1)92 // Storage: Common CollectionById (r:1 w:1)
93 fn change_collection_owner() -> Weight {93 fn change_collection_owner() -> Weight {
94 Weight::from_ref_time(26_991_000 as u64)94 Weight::from_ref_time(27_100_000 as u64)
95 .saturating_add(T::DbWeight::get().reads(1 as u64))95 .saturating_add(T::DbWeight::get().reads(1 as u64))
96 .saturating_add(T::DbWeight::get().writes(1 as u64))96 .saturating_add(T::DbWeight::get().writes(1 as u64))
97 }97 }
98 // Storage: Common CollectionById (r:1 w:0)98 // Storage: Common CollectionById (r:1 w:0)
99 // Storage: Common IsAdmin (r:1 w:1)99 // Storage: Common IsAdmin (r:1 w:1)
100 // Storage: Common AdminAmount (r:1 w:1)100 // Storage: Common AdminAmount (r:1 w:1)
101 fn add_collection_admin() -> Weight {101 fn add_collection_admin() -> Weight {
102 Weight::from_ref_time(30_851_000 as u64)102 Weight::from_ref_time(31_037_000 as u64)
103 .saturating_add(T::DbWeight::get().reads(3 as u64))103 .saturating_add(T::DbWeight::get().reads(3 as u64))
104 .saturating_add(T::DbWeight::get().writes(2 as u64))104 .saturating_add(T::DbWeight::get().writes(2 as u64))
105 }105 }
106 // Storage: Common CollectionById (r:1 w:0)106 // Storage: Common CollectionById (r:1 w:0)
107 // Storage: Common IsAdmin (r:1 w:1)107 // Storage: Common IsAdmin (r:1 w:1)
108 // Storage: Common AdminAmount (r:1 w:1)108 // Storage: Common AdminAmount (r:1 w:1)
109 fn remove_collection_admin() -> Weight {109 fn remove_collection_admin() -> Weight {
110 Weight::from_ref_time(34_432_000 as u64)110 Weight::from_ref_time(34_543_000 as u64)
111 .saturating_add(T::DbWeight::get().reads(3 as u64))111 .saturating_add(T::DbWeight::get().reads(3 as u64))
112 .saturating_add(T::DbWeight::get().writes(2 as u64))112 .saturating_add(T::DbWeight::get().writes(2 as u64))
113 }113 }
114 // Storage: Common CollectionById (r:1 w:1)114 // Storage: Common CollectionById (r:1 w:1)
115 fn set_collection_sponsor() -> Weight {115 fn set_collection_sponsor() -> Weight {
116 Weight::from_ref_time(26_862_000 as u64)116 Weight::from_ref_time(27_109_000 as u64)
117 .saturating_add(T::DbWeight::get().reads(1 as u64))117 .saturating_add(T::DbWeight::get().reads(1 as u64))
118 .saturating_add(T::DbWeight::get().writes(1 as u64))118 .saturating_add(T::DbWeight::get().writes(1 as u64))
119 }119 }
120 // Storage: Common CollectionById (r:1 w:1)120 // Storage: Common CollectionById (r:1 w:1)
121 fn confirm_sponsorship() -> Weight {121 fn confirm_sponsorship() -> Weight {
122 Weight::from_ref_time(26_711_000 as u64)122 Weight::from_ref_time(26_916_000 as u64)
123 .saturating_add(T::DbWeight::get().reads(1 as u64))123 .saturating_add(T::DbWeight::get().reads(1 as u64))
124 .saturating_add(T::DbWeight::get().writes(1 as u64))124 .saturating_add(T::DbWeight::get().writes(1 as u64))
125 }125 }
126 // Storage: Common CollectionById (r:1 w:1)126 // Storage: Common CollectionById (r:1 w:1)
127 fn remove_collection_sponsor() -> Weight {127 fn remove_collection_sponsor() -> Weight {
128 Weight::from_ref_time(38_546_000 as u64)128 Weight::from_ref_time(29_279_000 as u64)
129 .saturating_add(T::DbWeight::get().reads(1 as u64))129 .saturating_add(T::DbWeight::get().reads(1 as u64))
130 .saturating_add(T::DbWeight::get().writes(1 as u64))130 .saturating_add(T::DbWeight::get().writes(1 as u64))
131 }131 }
132 // Storage: Common CollectionById (r:1 w:1)132 // Storage: Common CollectionById (r:1 w:1)
133 fn set_transfers_enabled_flag() -> Weight {133 fn set_transfers_enabled_flag() -> Weight {
134 Weight::from_ref_time(13_251_000 as u64)134 Weight::from_ref_time(13_064_000 as u64)
135 .saturating_add(T::DbWeight::get().reads(1 as u64))135 .saturating_add(T::DbWeight::get().reads(1 as u64))
136 .saturating_add(T::DbWeight::get().writes(1 as u64))136 .saturating_add(T::DbWeight::get().writes(1 as u64))
137 }137 }
138 // Storage: Common CollectionById (r:1 w:1)138 // Storage: Common CollectionById (r:1 w:1)
139 fn set_collection_limits() -> Weight {139 fn set_collection_limits() -> Weight {
140 Weight::from_ref_time(27_754_000 as u64)140 Weight::from_ref_time(27_442_000 as u64)
141 .saturating_add(T::DbWeight::get().reads(1 as u64))141 .saturating_add(T::DbWeight::get().reads(1 as u64))
142 .saturating_add(T::DbWeight::get().writes(1 as u64))142 .saturating_add(T::DbWeight::get().writes(1 as u64))
143 }143 }
144 // Storage: Common CollectionProperties (r:1 w:1)144 // Storage: Common CollectionProperties (r:1 w:1)
145 fn force_repair_collection() -> Weight {145 fn force_repair_collection() -> Weight {
146 Weight::from_ref_time(10_871_000 as u64)146 Weight::from_ref_time(10_730_000 as u64)
147 .saturating_add(T::DbWeight::get().reads(1 as u64))147 .saturating_add(T::DbWeight::get().reads(1 as u64))
148 .saturating_add(T::DbWeight::get().writes(1 as u64))148 .saturating_add(T::DbWeight::get().writes(1 as u64))
149 }149 }
158 // Storage: Common CollectionProperties (r:0 w:1)158 // Storage: Common CollectionProperties (r:0 w:1)
159 // Storage: Common CollectionById (r:0 w:1)159 // Storage: Common CollectionById (r:0 w:1)
160 fn create_collection() -> Weight {160 fn create_collection() -> Weight {
161 Weight::from_ref_time(43_527_000 as u64)161 Weight::from_ref_time(47_681_000 as u64)
162 .saturating_add(RocksDbWeight::get().reads(4 as u64))162 .saturating_add(RocksDbWeight::get().reads(4 as u64))
163 .saturating_add(RocksDbWeight::get().writes(6 as u64))163 .saturating_add(RocksDbWeight::get().writes(6 as u64))
164 }164 }
170 // Storage: Common AdminAmount (r:0 w:1)170 // Storage: Common AdminAmount (r:0 w:1)
171 // Storage: Common CollectionProperties (r:0 w:1)171 // Storage: Common CollectionProperties (r:0 w:1)
172 fn destroy_collection() -> Weight {172 fn destroy_collection() -> Weight {
173 Weight::from_ref_time(59_528_000 as u64)173 Weight::from_ref_time(58_371_000 as u64)
174 .saturating_add(RocksDbWeight::get().reads(3 as u64))174 .saturating_add(RocksDbWeight::get().reads(3 as u64))
175 .saturating_add(RocksDbWeight::get().writes(6 as u64))175 .saturating_add(RocksDbWeight::get().writes(6 as u64))
176 }176 }
177 // Storage: Common CollectionById (r:1 w:0)177 // Storage: Common CollectionById (r:1 w:0)
178 // Storage: Common Allowlist (r:0 w:1)178 // Storage: Common Allowlist (r:0 w:1)
179 fn add_to_allow_list() -> Weight {179 fn add_to_allow_list() -> Weight {
180 Weight::from_ref_time(27_970_000 as u64)180 Weight::from_ref_time(28_197_000 as u64)
181 .saturating_add(RocksDbWeight::get().reads(1 as u64))181 .saturating_add(RocksDbWeight::get().reads(1 as u64))
182 .saturating_add(RocksDbWeight::get().writes(1 as u64))182 .saturating_add(RocksDbWeight::get().writes(1 as u64))
183 }183 }
184 // Storage: Common CollectionById (r:1 w:0)184 // Storage: Common CollectionById (r:1 w:0)
185 // Storage: Common Allowlist (r:0 w:1)185 // Storage: Common Allowlist (r:0 w:1)
186 fn remove_from_allow_list() -> Weight {186 fn remove_from_allow_list() -> Weight {
187 Weight::from_ref_time(27_736_000 as u64)187 Weight::from_ref_time(27_782_000 as u64)
188 .saturating_add(RocksDbWeight::get().reads(1 as u64))188 .saturating_add(RocksDbWeight::get().reads(1 as u64))
189 .saturating_add(RocksDbWeight::get().writes(1 as u64))189 .saturating_add(RocksDbWeight::get().writes(1 as u64))
190 }190 }
191 // Storage: Common CollectionById (r:1 w:1)191 // Storage: Common CollectionById (r:1 w:1)
192 fn change_collection_owner() -> Weight {192 fn change_collection_owner() -> Weight {
193 Weight::from_ref_time(26_991_000 as u64)193 Weight::from_ref_time(27_100_000 as u64)
194 .saturating_add(RocksDbWeight::get().reads(1 as u64))194 .saturating_add(RocksDbWeight::get().reads(1 as u64))
195 .saturating_add(RocksDbWeight::get().writes(1 as u64))195 .saturating_add(RocksDbWeight::get().writes(1 as u64))
196 }196 }
197 // Storage: Common CollectionById (r:1 w:0)197 // Storage: Common CollectionById (r:1 w:0)
198 // Storage: Common IsAdmin (r:1 w:1)198 // Storage: Common IsAdmin (r:1 w:1)
199 // Storage: Common AdminAmount (r:1 w:1)199 // Storage: Common AdminAmount (r:1 w:1)
200 fn add_collection_admin() -> Weight {200 fn add_collection_admin() -> Weight {
201 Weight::from_ref_time(30_851_000 as u64)201 Weight::from_ref_time(31_037_000 as u64)
202 .saturating_add(RocksDbWeight::get().reads(3 as u64))202 .saturating_add(RocksDbWeight::get().reads(3 as u64))
203 .saturating_add(RocksDbWeight::get().writes(2 as u64))203 .saturating_add(RocksDbWeight::get().writes(2 as u64))
204 }204 }
205 // Storage: Common CollectionById (r:1 w:0)205 // Storage: Common CollectionById (r:1 w:0)
206 // Storage: Common IsAdmin (r:1 w:1)206 // Storage: Common IsAdmin (r:1 w:1)
207 // Storage: Common AdminAmount (r:1 w:1)207 // Storage: Common AdminAmount (r:1 w:1)
208 fn remove_collection_admin() -> Weight {208 fn remove_collection_admin() -> Weight {
209 Weight::from_ref_time(34_432_000 as u64)209 Weight::from_ref_time(34_543_000 as u64)
210 .saturating_add(RocksDbWeight::get().reads(3 as u64))210 .saturating_add(RocksDbWeight::get().reads(3 as u64))
211 .saturating_add(RocksDbWeight::get().writes(2 as u64))211 .saturating_add(RocksDbWeight::get().writes(2 as u64))
212 }212 }
213 // Storage: Common CollectionById (r:1 w:1)213 // Storage: Common CollectionById (r:1 w:1)
214 fn set_collection_sponsor() -> Weight {214 fn set_collection_sponsor() -> Weight {
215 Weight::from_ref_time(26_862_000 as u64)215 Weight::from_ref_time(27_109_000 as u64)
216 .saturating_add(RocksDbWeight::get().reads(1 as u64))216 .saturating_add(RocksDbWeight::get().reads(1 as u64))
217 .saturating_add(RocksDbWeight::get().writes(1 as u64))217 .saturating_add(RocksDbWeight::get().writes(1 as u64))
218 }218 }
219 // Storage: Common CollectionById (r:1 w:1)219 // Storage: Common CollectionById (r:1 w:1)
220 fn confirm_sponsorship() -> Weight {220 fn confirm_sponsorship() -> Weight {
221 Weight::from_ref_time(26_711_000 as u64)221 Weight::from_ref_time(26_916_000 as u64)
222 .saturating_add(RocksDbWeight::get().reads(1 as u64))222 .saturating_add(RocksDbWeight::get().reads(1 as u64))
223 .saturating_add(RocksDbWeight::get().writes(1 as u64))223 .saturating_add(RocksDbWeight::get().writes(1 as u64))
224 }224 }
225 // Storage: Common CollectionById (r:1 w:1)225 // Storage: Common CollectionById (r:1 w:1)
226 fn remove_collection_sponsor() -> Weight {226 fn remove_collection_sponsor() -> Weight {
227 Weight::from_ref_time(38_546_000 as u64)227 Weight::from_ref_time(29_279_000 as u64)
228 .saturating_add(RocksDbWeight::get().reads(1 as u64))228 .saturating_add(RocksDbWeight::get().reads(1 as u64))
229 .saturating_add(RocksDbWeight::get().writes(1 as u64))229 .saturating_add(RocksDbWeight::get().writes(1 as u64))
230 }230 }
231 // Storage: Common CollectionById (r:1 w:1)231 // Storage: Common CollectionById (r:1 w:1)
232 fn set_transfers_enabled_flag() -> Weight {232 fn set_transfers_enabled_flag() -> Weight {
233 Weight::from_ref_time(13_251_000 as u64)233 Weight::from_ref_time(13_064_000 as u64)
234 .saturating_add(RocksDbWeight::get().reads(1 as u64))234 .saturating_add(RocksDbWeight::get().reads(1 as u64))
235 .saturating_add(RocksDbWeight::get().writes(1 as u64))235 .saturating_add(RocksDbWeight::get().writes(1 as u64))
236 }236 }
237 // Storage: Common CollectionById (r:1 w:1)237 // Storage: Common CollectionById (r:1 w:1)
238 fn set_collection_limits() -> Weight {238 fn set_collection_limits() -> Weight {
239 Weight::from_ref_time(27_754_000 as u64)239 Weight::from_ref_time(27_442_000 as u64)
240 .saturating_add(RocksDbWeight::get().reads(1 as u64))240 .saturating_add(RocksDbWeight::get().reads(1 as u64))
241 .saturating_add(RocksDbWeight::get().writes(1 as u64))241 .saturating_add(RocksDbWeight::get().writes(1 as u64))
242 }242 }
243 // Storage: Common CollectionProperties (r:1 w:1)243 // Storage: Common CollectionProperties (r:1 w:1)
244 fn force_repair_collection() -> Weight {244 fn force_repair_collection() -> Weight {
245 Weight::from_ref_time(10_871_000 as u64)245 Weight::from_ref_time(10_730_000 as u64)
246 .saturating_add(RocksDbWeight::get().reads(1 as u64))246 .saturating_add(RocksDbWeight::get().reads(1 as u64))
247 .saturating_add(RocksDbWeight::get().writes(1 as u64))247 .saturating_add(RocksDbWeight::get().writes(1 as u64))
248 }248 }
modifiedprimitives/common/src/constants.rsdiffbeforeafterboth
52pub const SESSION_LENGTH: BlockNumber = HOURS;52pub const SESSION_LENGTH: BlockNumber = HOURS;
5353
54// Targeting 0.1 UNQ per transfer54// Targeting 0.1 UNQ per transfer
55pub const WEIGHT_TO_FEE_COEFF: u64 = /*<weight2fee>*/77_233_712_036_439_751/*</weight2fee>*/;55pub const WEIGHT_TO_FEE_COEFF: u64 = /*<weight2fee>*/77_246_728_691_397_557/*</weight2fee>*/;
5656
57// Targeting 0.15 UNQ per transfer via ETH57// Targeting 0.15 UNQ per transfer via ETH
58pub const MIN_GAS_PRICE: u64 = /*<mingasprice>*/1_016_956_047_159/*</mingasprice>*/;58pub const MIN_GAS_PRICE: u64 = /*<mingasprice>*/1_017_135_340_028/*</mingasprice>*/;
5959
60/// We assume that ~10% of the block weight is consumed by `on_initalize` handlers.60/// We assume that ~10% of the block weight is consumed by `on_initalize` handlers.
61/// This is used to limit the maximal weight of a single extrinsic.61/// This is used to limit the maximal weight of a single extrinsic.