Constant G1_MSM_BASE_GAS_FEE

Source
pub const G1_MSM_BASE_GAS_FEE: u64 = 12000;
Expand description

G1_MSM_BASE_GAS_FEE specifies the base amount of gas needed to perform the G1_MSM precompile.

The cost to do an MSM is determined by the formula: (k * G1_MSM_BASE_GAS_FEE * DISCOUNT[k]) // MSM_MULTIPLIER where k is the number of point-scalar pairs.

Note: If one wants to do a G1 scalar multiplication, they would call this precompile with a single point and a scalar.