Trait pallet_timestamp::weights::WeightInfo
source · pub trait WeightInfo {
// Required methods
fn set() -> Weight;
fn on_finalize() -> Weight;
}
Expand description
Weight functions needed for pallet_timestamp.
Required Methods§
fn set() -> Weight
fn on_finalize() -> Weight
Object Safety§
This trait is not object safe.
Implementations on Foreign Types§
source§impl WeightInfo for ()
impl WeightInfo for ()
source§fn set() -> Weight
fn set() -> Weight
Storage: Timestamp Now (r:1 w:1) Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) Storage: Babe CurrentSlot (r:1 w:0) Proof: Babe CurrentSlot (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen)