1// Template adopted from https://github.com/paritytech/substrate/blob/master/.maintain/frame-weight-template.hbs23//! Autogenerated weights for pallet_unique4//!5//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 29.0.06//! DATE: 2023-11-29, STEPS: `50`, REPEAT: `80`, LOW RANGE: `[]`, HIGH RANGE: `[]`7//! WORST CASE MAP SIZE: `1000000`8//! HOSTNAME: `bench-host`, CPU: `Intel(R) Core(TM) i7-8700 CPU @ 3.20GHz`9//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 10241011// Executed Command:12// ./target/production/unique-collator13// benchmark14// pallet15// --pallet16// pallet-unique17// --wasm-execution18// compiled19// --extrinsic20// *21// --template=.maintain/frame-weight-template.hbs22// --steps=5023// --repeat=8024// --heap-pages=409625// --output=./pallets/unique/src/weights.rs2627#![cfg_attr(rustfmt, rustfmt_skip)]28#![allow(unused_parens)]29#![allow(unused_imports)]3031use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}};32use sp_std::marker::PhantomData;3334/// Weight functions needed for pallet_unique.35pub trait WeightInfo {36 fn create_collection() -> Weight;37 fn destroy_collection() -> Weight;38 fn add_to_allow_list() -> Weight;39 fn remove_from_allow_list() -> Weight;40 fn change_collection_owner() -> Weight;41 fn add_collection_admin() -> Weight;42 fn remove_collection_admin() -> Weight;43 fn set_collection_sponsor() -> Weight;44 fn confirm_sponsorship() -> Weight;45 fn remove_collection_sponsor() -> Weight;46 fn set_transfers_enabled_flag() -> Weight;47 fn set_collection_limits() -> Weight;48 fn force_repair_collection() -> Weight;49}5051/// Weights for pallet_unique using the Substrate node and recommended hardware.52pub struct SubstrateWeight<T>(PhantomData<T>);53impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {54 /// Storage: `System::Account` (r:2 w:2)55 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)56 /// Storage: `Common::CreatedCollectionCount` (r:1 w:1)57 /// Proof: `Common::CreatedCollectionCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)58 /// Storage: `Common::DestroyedCollectionCount` (r:1 w:0)59 /// Proof: `Common::DestroyedCollectionCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)60 /// Storage: `Common::AdminAmount` (r:0 w:1)61 /// Proof: `Common::AdminAmount` (`max_values`: None, `max_size`: Some(24), added: 2499, mode: `MaxEncodedLen`)62 /// Storage: `Common::CollectionPropertyPermissions` (r:0 w:1)63 /// Proof: `Common::CollectionPropertyPermissions` (`max_values`: None, `max_size`: Some(16726), added: 19201, mode: `MaxEncodedLen`)64 /// Storage: `Common::CollectionProperties` (r:0 w:1)65 /// Proof: `Common::CollectionProperties` (`max_values`: None, `max_size`: Some(40992), added: 43467, mode: `MaxEncodedLen`)66 /// Storage: `Common::CollectionById` (r:0 w:1)67 /// Proof: `Common::CollectionById` (`max_values`: None, `max_size`: Some(860), added: 3335, mode: `MaxEncodedLen`)68 fn create_collection() -> Weight {69 // Proof Size summary in bytes:70 // Measured: `245`71 // Estimated: `6196`72 // Minimum execution time: 50_912_000 picoseconds.73 Weight::from_parts(51_714_000, 6196)74 .saturating_add(T::DbWeight::get().reads(4_u64))75 .saturating_add(T::DbWeight::get().writes(7_u64))76 }77 /// Storage: `Common::CollectionById` (r:1 w:1)78 /// Proof: `Common::CollectionById` (`max_values`: None, `max_size`: Some(860), added: 3335, mode: `MaxEncodedLen`)79 /// Storage: `Nonfungible::TokenData` (r:1 w:0)80 /// Proof: `Nonfungible::TokenData` (`max_values`: None, `max_size`: Some(57), added: 2532, mode: `MaxEncodedLen`)81 /// Storage: `Common::DestroyedCollectionCount` (r:1 w:1)82 /// Proof: `Common::DestroyedCollectionCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)83 /// Storage: `Nonfungible::TokensMinted` (r:0 w:1)84 /// Proof: `Nonfungible::TokensMinted` (`max_values`: None, `max_size`: Some(16), added: 2491, mode: `MaxEncodedLen`)85 /// Storage: `Nonfungible::TokensBurnt` (r:0 w:1)86 /// Proof: `Nonfungible::TokensBurnt` (`max_values`: None, `max_size`: Some(16), added: 2491, mode: `MaxEncodedLen`)87 /// Storage: `Common::AdminAmount` (r:0 w:1)88 /// Proof: `Common::AdminAmount` (`max_values`: None, `max_size`: Some(24), added: 2499, mode: `MaxEncodedLen`)89 /// Storage: `Common::CollectionProperties` (r:0 w:1)90 /// Proof: `Common::CollectionProperties` (`max_values`: None, `max_size`: Some(40992), added: 43467, mode: `MaxEncodedLen`)91 fn destroy_collection() -> Weight {92 // Proof Size summary in bytes:93 // Measured: `1200`94 // Estimated: `4325`95 // Minimum execution time: 60_670_000 picoseconds.96 Weight::from_parts(61_276_000, 4325)97 .saturating_add(T::DbWeight::get().reads(3_u64))98 .saturating_add(T::DbWeight::get().writes(6_u64))99 }100 /// Storage: `Common::CollectionById` (r:1 w:0)101 /// Proof: `Common::CollectionById` (`max_values`: None, `max_size`: Some(860), added: 3335, mode: `MaxEncodedLen`)102 /// Storage: `Common::Allowlist` (r:0 w:1)103 /// Proof: `Common::Allowlist` (`max_values`: None, `max_size`: Some(70), added: 2545, mode: `MaxEncodedLen`)104 fn add_to_allow_list() -> Weight {105 // Proof Size summary in bytes:106 // Measured: `1000`107 // Estimated: `4325`108 // Minimum execution time: 16_350_000 picoseconds.109 Weight::from_parts(16_775_000, 4325)110 .saturating_add(T::DbWeight::get().reads(1_u64))111 .saturating_add(T::DbWeight::get().writes(1_u64))112 }113 /// Storage: `Common::CollectionById` (r:1 w:0)114 /// Proof: `Common::CollectionById` (`max_values`: None, `max_size`: Some(860), added: 3335, mode: `MaxEncodedLen`)115 /// Storage: `Common::Allowlist` (r:0 w:1)116 /// Proof: `Common::Allowlist` (`max_values`: None, `max_size`: Some(70), added: 2545, mode: `MaxEncodedLen`)117 fn remove_from_allow_list() -> Weight {118 // Proof Size summary in bytes:119 // Measured: `1033`120 // Estimated: `4325`121 // Minimum execution time: 16_122_000 picoseconds.122 Weight::from_parts(16_454_000, 4325)123 .saturating_add(T::DbWeight::get().reads(1_u64))124 .saturating_add(T::DbWeight::get().writes(1_u64))125 }126 /// Storage: `Common::CollectionById` (r:1 w:1)127 /// Proof: `Common::CollectionById` (`max_values`: None, `max_size`: Some(860), added: 3335, mode: `MaxEncodedLen`)128 fn change_collection_owner() -> Weight {129 // Proof Size summary in bytes:130 // Measured: `1000`131 // Estimated: `4325`132 // Minimum execution time: 14_918_000 picoseconds.133 Weight::from_parts(15_230_000, 4325)134 .saturating_add(T::DbWeight::get().reads(1_u64))135 .saturating_add(T::DbWeight::get().writes(1_u64))136 }137 /// Storage: `Common::CollectionById` (r:1 w:0)138 /// Proof: `Common::CollectionById` (`max_values`: None, `max_size`: Some(860), added: 3335, mode: `MaxEncodedLen`)139 /// Storage: `Common::IsAdmin` (r:1 w:1)140 /// Proof: `Common::IsAdmin` (`max_values`: None, `max_size`: Some(70), added: 2545, mode: `MaxEncodedLen`)141 /// Storage: `Common::AdminAmount` (r:1 w:1)142 /// Proof: `Common::AdminAmount` (`max_values`: None, `max_size`: Some(24), added: 2499, mode: `MaxEncodedLen`)143 fn add_collection_admin() -> Weight {144 // Proof Size summary in bytes:145 // Measured: `1012`146 // Estimated: `4325`147 // Minimum execution time: 22_058_000 picoseconds.148 Weight::from_parts(22_578_000, 4325)149 .saturating_add(T::DbWeight::get().reads(3_u64))150 .saturating_add(T::DbWeight::get().writes(2_u64))151 }152 /// Storage: `Common::CollectionById` (r:1 w:0)153 /// Proof: `Common::CollectionById` (`max_values`: None, `max_size`: Some(860), added: 3335, mode: `MaxEncodedLen`)154 /// Storage: `Common::IsAdmin` (r:1 w:1)155 /// Proof: `Common::IsAdmin` (`max_values`: None, `max_size`: Some(70), added: 2545, mode: `MaxEncodedLen`)156 /// Storage: `Common::AdminAmount` (r:1 w:1)157 /// Proof: `Common::AdminAmount` (`max_values`: None, `max_size`: Some(24), added: 2499, mode: `MaxEncodedLen`)158 fn remove_collection_admin() -> Weight {159 // Proof Size summary in bytes:160 // Measured: `1107`161 // Estimated: `4325`162 // Minimum execution time: 23_528_000 picoseconds.163 Weight::from_parts(23_955_000, 4325)164 .saturating_add(T::DbWeight::get().reads(3_u64))165 .saturating_add(T::DbWeight::get().writes(2_u64))166 }167 /// Storage: `Common::CollectionById` (r:1 w:1)168 /// Proof: `Common::CollectionById` (`max_values`: None, `max_size`: Some(860), added: 3335, mode: `MaxEncodedLen`)169 fn set_collection_sponsor() -> Weight {170 // Proof Size summary in bytes:171 // Measured: `1000`172 // Estimated: `4325`173 // Minimum execution time: 14_990_000 picoseconds.174 Weight::from_parts(15_291_000, 4325)175 .saturating_add(T::DbWeight::get().reads(1_u64))176 .saturating_add(T::DbWeight::get().writes(1_u64))177 }178 /// Storage: `Common::CollectionById` (r:1 w:1)179 /// Proof: `Common::CollectionById` (`max_values`: None, `max_size`: Some(860), added: 3335, mode: `MaxEncodedLen`)180 fn confirm_sponsorship() -> Weight {181 // Proof Size summary in bytes:182 // Measured: `1032`183 // Estimated: `4325`184 // Minimum execution time: 14_654_000 picoseconds.185 Weight::from_parts(15_026_000, 4325)186 .saturating_add(T::DbWeight::get().reads(1_u64))187 .saturating_add(T::DbWeight::get().writes(1_u64))188 }189 /// Storage: `Common::CollectionById` (r:1 w:1)190 /// Proof: `Common::CollectionById` (`max_values`: None, `max_size`: Some(860), added: 3335, mode: `MaxEncodedLen`)191 fn remove_collection_sponsor() -> Weight {192 // Proof Size summary in bytes:193 // Measured: `1032`194 // Estimated: `4325`195 // Minimum execution time: 14_460_000 picoseconds.196 Weight::from_parts(14_782_000, 4325)197 .saturating_add(T::DbWeight::get().reads(1_u64))198 .saturating_add(T::DbWeight::get().writes(1_u64))199 }200 /// Storage: `Common::CollectionById` (r:1 w:1)201 /// Proof: `Common::CollectionById` (`max_values`: None, `max_size`: Some(860), added: 3335, mode: `MaxEncodedLen`)202 fn set_transfers_enabled_flag() -> Weight {203 // Proof Size summary in bytes:204 // Measured: `1000`205 // Estimated: `4325`206 // Minimum execution time: 10_208_000 picoseconds.207 Weight::from_parts(10_451_000, 4325)208 .saturating_add(T::DbWeight::get().reads(1_u64))209 .saturating_add(T::DbWeight::get().writes(1_u64))210 }211 /// Storage: `Common::CollectionById` (r:1 w:1)212 /// Proof: `Common::CollectionById` (`max_values`: None, `max_size`: Some(860), added: 3335, mode: `MaxEncodedLen`)213 fn set_collection_limits() -> Weight {214 // Proof Size summary in bytes:215 // Measured: `1000`216 // Estimated: `4325`217 // Minimum execution time: 14_954_000 picoseconds.218 Weight::from_parts(15_286_000, 4325)219 .saturating_add(T::DbWeight::get().reads(1_u64))220 .saturating_add(T::DbWeight::get().writes(1_u64))221 }222 /// Storage: `Common::CollectionProperties` (r:1 w:1)223 /// Proof: `Common::CollectionProperties` (`max_values`: None, `max_size`: Some(40992), added: 43467, mode: `MaxEncodedLen`)224 fn force_repair_collection() -> Weight {225 // Proof Size summary in bytes:226 // Measured: `298`227 // Estimated: `44457`228 // Minimum execution time: 7_714_000 picoseconds.229 Weight::from_parts(7_939_000, 44457)230 .saturating_add(T::DbWeight::get().reads(1_u64))231 .saturating_add(T::DbWeight::get().writes(1_u64))232 }233}234235// For backwards compatibility and tests236impl WeightInfo for () {237 /// Storage: `System::Account` (r:2 w:2)238 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)239 /// Storage: `Common::CreatedCollectionCount` (r:1 w:1)240 /// Proof: `Common::CreatedCollectionCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)241 /// Storage: `Common::DestroyedCollectionCount` (r:1 w:0)242 /// Proof: `Common::DestroyedCollectionCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)243 /// Storage: `Common::AdminAmount` (r:0 w:1)244 /// Proof: `Common::AdminAmount` (`max_values`: None, `max_size`: Some(24), added: 2499, mode: `MaxEncodedLen`)245 /// Storage: `Common::CollectionPropertyPermissions` (r:0 w:1)246 /// Proof: `Common::CollectionPropertyPermissions` (`max_values`: None, `max_size`: Some(16726), added: 19201, mode: `MaxEncodedLen`)247 /// Storage: `Common::CollectionProperties` (r:0 w:1)248 /// Proof: `Common::CollectionProperties` (`max_values`: None, `max_size`: Some(40992), added: 43467, mode: `MaxEncodedLen`)249 /// Storage: `Common::CollectionById` (r:0 w:1)250 /// Proof: `Common::CollectionById` (`max_values`: None, `max_size`: Some(860), added: 3335, mode: `MaxEncodedLen`)251 fn create_collection() -> Weight {252 // Proof Size summary in bytes:253 // Measured: `245`254 // Estimated: `6196`255 // Minimum execution time: 50_912_000 picoseconds.256 Weight::from_parts(51_714_000, 6196)257 .saturating_add(RocksDbWeight::get().reads(4_u64))258 .saturating_add(RocksDbWeight::get().writes(7_u64))259 }260 /// Storage: `Common::CollectionById` (r:1 w:1)261 /// Proof: `Common::CollectionById` (`max_values`: None, `max_size`: Some(860), added: 3335, mode: `MaxEncodedLen`)262 /// Storage: `Nonfungible::TokenData` (r:1 w:0)263 /// Proof: `Nonfungible::TokenData` (`max_values`: None, `max_size`: Some(57), added: 2532, mode: `MaxEncodedLen`)264 /// Storage: `Common::DestroyedCollectionCount` (r:1 w:1)265 /// Proof: `Common::DestroyedCollectionCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)266 /// Storage: `Nonfungible::TokensMinted` (r:0 w:1)267 /// Proof: `Nonfungible::TokensMinted` (`max_values`: None, `max_size`: Some(16), added: 2491, mode: `MaxEncodedLen`)268 /// Storage: `Nonfungible::TokensBurnt` (r:0 w:1)269 /// Proof: `Nonfungible::TokensBurnt` (`max_values`: None, `max_size`: Some(16), added: 2491, mode: `MaxEncodedLen`)270 /// Storage: `Common::AdminAmount` (r:0 w:1)271 /// Proof: `Common::AdminAmount` (`max_values`: None, `max_size`: Some(24), added: 2499, mode: `MaxEncodedLen`)272 /// Storage: `Common::CollectionProperties` (r:0 w:1)273 /// Proof: `Common::CollectionProperties` (`max_values`: None, `max_size`: Some(40992), added: 43467, mode: `MaxEncodedLen`)274 fn destroy_collection() -> Weight {275 // Proof Size summary in bytes:276 // Measured: `1200`277 // Estimated: `4325`278 // Minimum execution time: 60_670_000 picoseconds.279 Weight::from_parts(61_276_000, 4325)280 .saturating_add(RocksDbWeight::get().reads(3_u64))281 .saturating_add(RocksDbWeight::get().writes(6_u64))282 }283 /// Storage: `Common::CollectionById` (r:1 w:0)284 /// Proof: `Common::CollectionById` (`max_values`: None, `max_size`: Some(860), added: 3335, mode: `MaxEncodedLen`)285 /// Storage: `Common::Allowlist` (r:0 w:1)286 /// Proof: `Common::Allowlist` (`max_values`: None, `max_size`: Some(70), added: 2545, mode: `MaxEncodedLen`)287 fn add_to_allow_list() -> Weight {288 // Proof Size summary in bytes:289 // Measured: `1000`290 // Estimated: `4325`291 // Minimum execution time: 16_350_000 picoseconds.292 Weight::from_parts(16_775_000, 4325)293 .saturating_add(RocksDbWeight::get().reads(1_u64))294 .saturating_add(RocksDbWeight::get().writes(1_u64))295 }296 /// Storage: `Common::CollectionById` (r:1 w:0)297 /// Proof: `Common::CollectionById` (`max_values`: None, `max_size`: Some(860), added: 3335, mode: `MaxEncodedLen`)298 /// Storage: `Common::Allowlist` (r:0 w:1)299 /// Proof: `Common::Allowlist` (`max_values`: None, `max_size`: Some(70), added: 2545, mode: `MaxEncodedLen`)300 fn remove_from_allow_list() -> Weight {301 // Proof Size summary in bytes:302 // Measured: `1033`303 // Estimated: `4325`304 // Minimum execution time: 16_122_000 picoseconds.305 Weight::from_parts(16_454_000, 4325)306 .saturating_add(RocksDbWeight::get().reads(1_u64))307 .saturating_add(RocksDbWeight::get().writes(1_u64))308 }309 /// Storage: `Common::CollectionById` (r:1 w:1)310 /// Proof: `Common::CollectionById` (`max_values`: None, `max_size`: Some(860), added: 3335, mode: `MaxEncodedLen`)311 fn change_collection_owner() -> Weight {312 // Proof Size summary in bytes:313 // Measured: `1000`314 // Estimated: `4325`315 // Minimum execution time: 14_918_000 picoseconds.316 Weight::from_parts(15_230_000, 4325)317 .saturating_add(RocksDbWeight::get().reads(1_u64))318 .saturating_add(RocksDbWeight::get().writes(1_u64))319 }320 /// Storage: `Common::CollectionById` (r:1 w:0)321 /// Proof: `Common::CollectionById` (`max_values`: None, `max_size`: Some(860), added: 3335, mode: `MaxEncodedLen`)322 /// Storage: `Common::IsAdmin` (r:1 w:1)323 /// Proof: `Common::IsAdmin` (`max_values`: None, `max_size`: Some(70), added: 2545, mode: `MaxEncodedLen`)324 /// Storage: `Common::AdminAmount` (r:1 w:1)325 /// Proof: `Common::AdminAmount` (`max_values`: None, `max_size`: Some(24), added: 2499, mode: `MaxEncodedLen`)326 fn add_collection_admin() -> Weight {327 // Proof Size summary in bytes:328 // Measured: `1012`329 // Estimated: `4325`330 // Minimum execution time: 22_058_000 picoseconds.331 Weight::from_parts(22_578_000, 4325)332 .saturating_add(RocksDbWeight::get().reads(3_u64))333 .saturating_add(RocksDbWeight::get().writes(2_u64))334 }335 /// Storage: `Common::CollectionById` (r:1 w:0)336 /// Proof: `Common::CollectionById` (`max_values`: None, `max_size`: Some(860), added: 3335, mode: `MaxEncodedLen`)337 /// Storage: `Common::IsAdmin` (r:1 w:1)338 /// Proof: `Common::IsAdmin` (`max_values`: None, `max_size`: Some(70), added: 2545, mode: `MaxEncodedLen`)339 /// Storage: `Common::AdminAmount` (r:1 w:1)340 /// Proof: `Common::AdminAmount` (`max_values`: None, `max_size`: Some(24), added: 2499, mode: `MaxEncodedLen`)341 fn remove_collection_admin() -> Weight {342 // Proof Size summary in bytes:343 // Measured: `1107`344 // Estimated: `4325`345 // Minimum execution time: 23_528_000 picoseconds.346 Weight::from_parts(23_955_000, 4325)347 .saturating_add(RocksDbWeight::get().reads(3_u64))348 .saturating_add(RocksDbWeight::get().writes(2_u64))349 }350 /// Storage: `Common::CollectionById` (r:1 w:1)351 /// Proof: `Common::CollectionById` (`max_values`: None, `max_size`: Some(860), added: 3335, mode: `MaxEncodedLen`)352 fn set_collection_sponsor() -> Weight {353 // Proof Size summary in bytes:354 // Measured: `1000`355 // Estimated: `4325`356 // Minimum execution time: 14_990_000 picoseconds.357 Weight::from_parts(15_291_000, 4325)358 .saturating_add(RocksDbWeight::get().reads(1_u64))359 .saturating_add(RocksDbWeight::get().writes(1_u64))360 }361 /// Storage: `Common::CollectionById` (r:1 w:1)362 /// Proof: `Common::CollectionById` (`max_values`: None, `max_size`: Some(860), added: 3335, mode: `MaxEncodedLen`)363 fn confirm_sponsorship() -> Weight {364 // Proof Size summary in bytes:365 // Measured: `1032`366 // Estimated: `4325`367 // Minimum execution time: 14_654_000 picoseconds.368 Weight::from_parts(15_026_000, 4325)369 .saturating_add(RocksDbWeight::get().reads(1_u64))370 .saturating_add(RocksDbWeight::get().writes(1_u64))371 }372 /// Storage: `Common::CollectionById` (r:1 w:1)373 /// Proof: `Common::CollectionById` (`max_values`: None, `max_size`: Some(860), added: 3335, mode: `MaxEncodedLen`)374 fn remove_collection_sponsor() -> Weight {375 // Proof Size summary in bytes:376 // Measured: `1032`377 // Estimated: `4325`378 // Minimum execution time: 14_460_000 picoseconds.379 Weight::from_parts(14_782_000, 4325)380 .saturating_add(RocksDbWeight::get().reads(1_u64))381 .saturating_add(RocksDbWeight::get().writes(1_u64))382 }383 /// Storage: `Common::CollectionById` (r:1 w:1)384 /// Proof: `Common::CollectionById` (`max_values`: None, `max_size`: Some(860), added: 3335, mode: `MaxEncodedLen`)385 fn set_transfers_enabled_flag() -> Weight {386 // Proof Size summary in bytes:387 // Measured: `1000`388 // Estimated: `4325`389 // Minimum execution time: 10_208_000 picoseconds.390 Weight::from_parts(10_451_000, 4325)391 .saturating_add(RocksDbWeight::get().reads(1_u64))392 .saturating_add(RocksDbWeight::get().writes(1_u64))393 }394 /// Storage: `Common::CollectionById` (r:1 w:1)395 /// Proof: `Common::CollectionById` (`max_values`: None, `max_size`: Some(860), added: 3335, mode: `MaxEncodedLen`)396 fn set_collection_limits() -> Weight {397 // Proof Size summary in bytes:398 // Measured: `1000`399 // Estimated: `4325`400 // Minimum execution time: 14_954_000 picoseconds.401 Weight::from_parts(15_286_000, 4325)402 .saturating_add(RocksDbWeight::get().reads(1_u64))403 .saturating_add(RocksDbWeight::get().writes(1_u64))404 }405 /// Storage: `Common::CollectionProperties` (r:1 w:1)406 /// Proof: `Common::CollectionProperties` (`max_values`: None, `max_size`: Some(40992), added: 43467, mode: `MaxEncodedLen`)407 fn force_repair_collection() -> Weight {408 // Proof Size summary in bytes:409 // Measured: `298`410 // Estimated: `44457`411 // Minimum execution time: 7_714_000 picoseconds.412 Weight::from_parts(7_939_000, 44457)413 .saturating_add(RocksDbWeight::get().reads(1_u64))414 .saturating_add(RocksDbWeight::get().writes(1_u64))415 }416}417difftreelog
source
pallets/unique/src/weights.rs20.2 KiBsourcehistory