Closed rodiazet closed 2 months ago
Implementation of the bls12_map_fp_to_g1 and bls12_map_fp2_to_g2 precompiles: mapping of fp field element to a point on E1 curve (BLS12-381) and mapping fp2 extension field element to a point on E2 curve (BLS12-381) according to the EIP-2537 spec https://eips.ethereum.org/EIPS/eip-2537#abi-for-mapping-fp-element-to-g1-point and https://eips.ethereum.org/EIPS/eip-2537#abi-for-mapping-fp2-element-to-g2-point.
bls12_map_fp_to_g1
bls12_map_fp2_to_g2
fp
E1
fp2
E2
Depends on: https://github.com/ethereum/evmone/pull/1010
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 94.15%. Comparing base (7c6a3ce) to head (dac8d4d). Report is 1 commits behind head on master.
7c6a3ce
dac8d4d
Implementation of the
bls12_map_fp_to_g1
andbls12_map_fp2_to_g2
precompiles: mapping offp
field element to a point onE1
curve (BLS12-381) and mappingfp2
extension field element to a point onE2
curve (BLS12-381) according to the EIP-2537 spec https://eips.ethereum.org/EIPS/eip-2537#abi-for-mapping-fp-element-to-g1-point and https://eips.ethereum.org/EIPS/eip-2537#abi-for-mapping-fp2-element-to-g2-point.Depends on: https://github.com/ethereum/evmone/pull/1010