Skip to content

Commit

Permalink
Merge pull request #3692 from kevaundray/patch-11
Browse files Browse the repository at this point in the history
chore: Change g2_lincomb to take in G2Points
  • Loading branch information
hwwhww authored Apr 19, 2024
2 parents b8eab83 + 45e7074 commit 0b312ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion specs/_features/eip7594/polynomial-commitments-sampling.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ def bytes_to_cell(cell_bytes: Vector[Bytes32, FIELD_ELEMENTS_PER_CELL]) -> Cell:
#### `g2_lincomb`

```python
def g2_lincomb(points: Sequence[KZGCommitment], scalars: Sequence[BLSFieldElement]) -> Bytes96:
def g2_lincomb(points: Sequence[G2Point], scalars: Sequence[BLSFieldElement]) -> Bytes96:
"""
BLS multiscalar multiplication in G2. This function can be optimized using Pippenger's algorithm and variants.
"""
Expand Down

0 comments on commit 0b312ca

Please sign in to comment.