pub trait WeightInfo {
// Required methods
fn enqueue_inbound_downward_messages(n: u32) -> Weight;
fn block_weight_tx_extension_max_weight() -> Weight;
fn block_weight_tx_extension_stays_fraction_of_core() -> Weight;
fn block_weight_tx_extension_full_core() -> Weight;
}Expand description
Weight functions needed for cumulus_pallet_parachain_system.
Required Methods§
fn enqueue_inbound_downward_messages(n: u32) -> Weight
fn block_weight_tx_extension_max_weight() -> Weight
fn block_weight_tx_extension_stays_fraction_of_core() -> Weight
fn block_weight_tx_extension_full_core() -> Weight
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.
Implementations on Foreign Types§
Source§impl WeightInfo for ()
impl WeightInfo for ()
Source§fn enqueue_inbound_downward_messages(n: u32) -> Weight
fn enqueue_inbound_downward_messages(n: u32) -> Weight
Storage: ParachainSystem LastDmqMqcHead (r:1 w:1)
Proof Skipped: ParachainSystem LastDmqMqcHead (max_values: Some(1), max_size: None, mode: Measured)
Storage: ParachainSystem ReservedDmpWeightOverride (r:1 w:0)
Proof Skipped: ParachainSystem ReservedDmpWeightOverride (max_values: Some(1), max_size: None, mode: Measured)
Storage: MessageQueue BookStateFor (r:1 w:1)
Proof: MessageQueue BookStateFor (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen)
Storage: MessageQueue ServiceHead (r:1 w:1)
Proof: MessageQueue ServiceHead (max_values: Some(1), max_size: Some(5), added: 500, mode: MaxEncodedLen)
Storage: ParachainSystem ProcessedDownwardMessages (r:0 w:1)
Proof Skipped: ParachainSystem ProcessedDownwardMessages (max_values: Some(1), max_size: None, mode: Measured)
Storage: MessageQueue Pages (r:0 w:16)
Proof: MessageQueue Pages (max_values: None, max_size: Some(65585), added: 68060, mode: MaxEncodedLen)
The range of component n is [0, 1000].