pub fn submit_finality_proof_limits_extras<C: ChainWithGrandpa>(
    header: &C::Header,
    proof: &GrandpaJustification<C::Header>
) -> SubmitFinalityProofCallExtras
Expand description

Checks whether the given header and its finality proof fit the maximal expected call limits (size and weight). The submission may be refunded sometimes (see pallet configuration for details), but it should fit some limits. If the call has some extra weight and/or size included, though, we won’t refund it or refund will be partial.