referrerpolicy=no-referrer-when-downgrade
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.

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl WeightInfoExt for ()

Implementors§

source§

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