referrerpolicy=no-referrer-when-downgrade

calculate_consumed_extrinsic_weight

Function calculate_consumed_extrinsic_weight 

pub fn calculate_consumed_extrinsic_weight<Call>(
    maximum_weight: &BlockWeights,
    info: &<Call as Dispatchable>::Info,
    len: usize,
) -> Weight
where Call: Dispatchable<Info = DispatchInfo, PostInfo = PostDispatchInfo>,
Expand description

Returns the weight that CheckWeight books for an extrinsic before dispatch.