You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
**Motivation**
<!-- Why does this pull request exist? What are its goals? -->
In this PR we implement the seventh precompile contract stated in
[EIP-2537](https://eips.ethereum.org/EIPS/eip-2537) for the Prague fork,
the BLS12_MAP_FP2_TO_G2
**Description**
<!-- A clear and concise general description of the changes this PR
introduces -->
For the address 0x11, the function `bls12_map_fp2_to_g2` si called.
The following specifications are implemented:
- Input format: Two field element of 64 bytes each with the first 16
bytes being zero.
- Output: One G2 point, consisting of 256 bytes with four field elements
64 bytes each.
- Gas cost: A constant value of `23800`.
state of the tests: bls12_map_fp2_to_g2: 26/26 (100.00%)
<!-- Link to issues: Resolves#111, Resolves#222 -->
Closes#1700
Follow the reference spec https://eips.ethereum.org/EIPS/eip-2537.
The text was updated successfully, but these errors were encountered: