From 6a928c9608ab8cde3172a547b6d0714ef1b57ce0 Mon Sep 17 00:00:00 2001 From: Igor Kozyrev Date: Wed, 22 Feb 2023 22:46:06 +0000 Subject: [PATCH] build(pallet-maintenance): run benchmark --- --- a/pallets/maintenance/src/weights.rs +++ b/pallets/maintenance/src/weights.rs @@ -44,18 +44,18 @@ impl WeightInfo for SubstrateWeight { // Storage: Maintenance Enabled (r:0 w:1) fn enable() -> Weight { - Weight::from_ref_time(10_860_000 as u64) + Weight::from_ref_time(12_866_000 as u64) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Maintenance Enabled (r:0 w:1) fn disable() -> Weight { - Weight::from_ref_time(10_871_000 as u64) + Weight::from_ref_time(12_777_000 as u64) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Preimage StatusFor (r:1 w:0) // Storage: Preimage PreimageFor (r:1 w:0) fn execute_preimage() -> Weight { - Weight::from_ref_time(10_068_000 as u64) + Weight::from_ref_time(12_228_000 as u64) .saturating_add(T::DbWeight::get().reads(2 as u64)) } } @@ -64,18 +64,18 @@ impl WeightInfo for () { // Storage: Maintenance Enabled (r:0 w:1) fn enable() -> Weight { - Weight::from_ref_time(10_860_000 as u64) + Weight::from_ref_time(12_866_000 as u64) .saturating_add(RocksDbWeight::get().writes(1 as u64)) } // Storage: Maintenance Enabled (r:0 w:1) fn disable() -> Weight { - Weight::from_ref_time(10_871_000 as u64) + Weight::from_ref_time(12_777_000 as u64) .saturating_add(RocksDbWeight::get().writes(1 as u64)) } // Storage: Preimage StatusFor (r:1 w:0) // Storage: Preimage PreimageFor (r:1 w:0) fn execute_preimage() -> Weight { - Weight::from_ref_time(10_068_000 as u64) + Weight::from_ref_time(12_228_000 as u64) .saturating_add(RocksDbWeight::get().reads(2 as u64)) } } -- gitstuff