mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-07-24 07:45:49 +00:00
Companion of paritytech/substrate#12157 (#5964)
* Remove RefTimeWeight
* Fixes
* update lockfile for {"substrate"}
Co-authored-by: parity-processbot <>
This commit is contained in:
@@ -37,7 +37,7 @@
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
|
||||
use frame_support::{traits::Get, weights::{RefTimeWeight, Weight}};
|
||||
use frame_support::{traits::Get, weights::Weight};
|
||||
use sp_std::marker::PhantomData;
|
||||
|
||||
/// Weight functions for `runtime_parachains::paras_inherent`.
|
||||
@@ -70,11 +70,11 @@ impl<T: frame_system::Config> runtime_parachains::paras_inherent::WeightInfo for
|
||||
// Storage: Hrmp HrmpWatermarks (r:0 w:1)
|
||||
// Storage: Paras Heads (r:0 w:1)
|
||||
fn enter_variable_disputes(v: u32, ) -> Weight {
|
||||
Weight::from_ref_time(352_590_000 as RefTimeWeight)
|
||||
Weight::from_ref_time(352_590_000 as u64)
|
||||
// Standard Error: 13_000
|
||||
.saturating_add(Weight::from_ref_time(49_254_000 as RefTimeWeight).saturating_mul(v as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(24 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(16 as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(49_254_000 as u64).saturating_mul(v as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(24 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(16 as u64))
|
||||
}
|
||||
// Storage: ParaInherent Included (r:1 w:1)
|
||||
// Storage: System ParentHash (r:1 w:0)
|
||||
@@ -102,9 +102,9 @@ impl<T: frame_system::Config> runtime_parachains::paras_inherent::WeightInfo for
|
||||
// Storage: Hrmp HrmpWatermarks (r:0 w:1)
|
||||
// Storage: Paras Heads (r:0 w:1)
|
||||
fn enter_bitfields() -> Weight {
|
||||
Weight::from_ref_time(299_878_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(21 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(15 as RefTimeWeight))
|
||||
Weight::from_ref_time(299_878_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(21 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(15 as u64))
|
||||
}
|
||||
// Storage: ParaInherent Included (r:1 w:1)
|
||||
// Storage: System ParentHash (r:1 w:0)
|
||||
@@ -134,9 +134,9 @@ impl<T: frame_system::Config> runtime_parachains::paras_inherent::WeightInfo for
|
||||
// Storage: Hrmp HrmpWatermarks (r:0 w:1)
|
||||
// Storage: Paras Heads (r:0 w:1)
|
||||
fn enter_backed_candidates_variable(_v: u32) -> Weight {
|
||||
Weight::from_ref_time(442_472_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(25 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(14 as RefTimeWeight))
|
||||
Weight::from_ref_time(442_472_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(25 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(14 as u64))
|
||||
}
|
||||
// Storage: ParaInherent Included (r:1 w:1)
|
||||
// Storage: System ParentHash (r:1 w:0)
|
||||
@@ -166,8 +166,8 @@ impl<T: frame_system::Config> runtime_parachains::paras_inherent::WeightInfo for
|
||||
// Storage: Hrmp HrmpWatermarks (r:0 w:1)
|
||||
// Storage: Paras Heads (r:0 w:1)
|
||||
fn enter_backed_candidate_code_upgrade() -> Weight {
|
||||
Weight::from_ref_time(36_903_411_000 as RefTimeWeight)
|
||||
.saturating_add(T::DbWeight::get().reads(25 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().writes(14 as RefTimeWeight))
|
||||
Weight::from_ref_time(36_903_411_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(25 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(14 as u64))
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user