Module bls12_381

Module bls12_381 

Expand description

Bls12_381 precompile.

Constants§

ISTHMUS_G1_MSM
G1 msm precompile.
ISTHMUS_G1_MSM_MAX_INPUT_SIZE
Max input size for the g1 msm precompile.
ISTHMUS_G2_MSM
G2 msm precompile.
ISTHMUS_G2_MSM_MAX_INPUT_SIZE
Max input size for the g2 msm precompile.
ISTHMUS_PAIRING
Pairing precompile.
ISTHMUS_PAIRING_MAX_INPUT_SIZE
Max input size for the pairing precompile.
JOVIAN_G1_MSM
G1 msm precompile after the Jovian Hardfork.
JOVIAN_G1_MSM_MAX_INPUT_SIZE
The maximum input size for the BLS12-381 g1 msm operation after the Jovian Hardfork.
JOVIAN_G2_MSM
G2 msm precompile after the Jovian Hardfork.
JOVIAN_G2_MSM_MAX_INPUT_SIZE
Max input size for the g2 msm precompile after the Jovian Hardfork.
JOVIAN_PAIRING
Pairing precompile after the Jovian Hardfork.
JOVIAN_PAIRING_MAX_INPUT_SIZE
Max input size for the pairing precompile after the Jovian Hardfork.

Functions§

run_g1_msm_isthmus
Run the g1 msm precompile with Optimism input limit.
run_g1_msm_jovian
Run the g1 msm precompile with Optimism input limit.
run_g2_msm_isthmus
Run the g2 msm precompile with Optimism input limit.
run_g2_msm_jovian
Run the g2 msm precompile with Optimism input limit after the Jovian Hardfork.
run_pair_isthmus
Run the pairing precompile with Optimism input limit.
run_pair_jovian
Run the pairing precompile with Optimism input limit after the Jovian Hardfork.