pub fn msm_required_gas(
k: usize,
discount_table: &[u16],
multiplication_cost: u64,
) -> u64
Expand description
Implements the gas schedule for G1/G2 Multiscalar-multiplication assuming 30 MGas/second, see also: https://eips.ethereum.org/EIPS/eip-2537#g1g2-multiexponentiation