referrerpolicy=no-referrer-when-downgrade
pallet_bridge_grandpa::weights_ext

Trait WeightInfoExt

Source
pub trait WeightInfoExt: WeightInfo {
    // Required method
    fn submit_finality_proof_overhead_from_runtime() -> Weight;

    // Provided method
    fn submit_finality_proof_weight(
        precommits_len: u32,
        votes_ancestries_len: u32,
    ) -> Weight { ... }
}
Expand description

Extended weight info.

Required Methods§

Source

fn submit_finality_proof_overhead_from_runtime() -> Weight

Extra weight that is added to the submit_finality_proof call weight by signed extensions that are declared at runtime level.

Provided Methods§

Source

fn submit_finality_proof_weight( precommits_len: u32, votes_ancestries_len: u32, ) -> Weight

Weight of message delivery extrinsic.

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 WeightInfoExt for ()

Implementors§

Source§

impl<T: Config> WeightInfoExt for BridgeWeight<T>