Skip to content

Commit 87f2ad2

Browse files
committed
Public methods: int -> uint64
1 parent a4331e7 commit 87f2ad2

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

specs/_features/eip7594/polynomial-commitments-sampling.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -344,7 +344,7 @@ def verify_kzg_proof_multi_impl(commitment: KZGCommitment,
344344
#### `coset_for_cell`
345345

346346
```python
347-
def coset_for_cell(cell_id: int) -> Cell:
347+
def coset_for_cell(cell_id: CellID) -> Cell:
348348
"""
349349
Get the coset for a given ``cell_id``
350350
"""
@@ -412,7 +412,7 @@ def compute_cells(blob: Blob) -> Vector[Cell, CELLS_PER_BLOB]:
412412

413413
```python
414414
def verify_cell_proof(commitment_bytes: Bytes48,
415-
cell_id: int,
415+
cell_id: uint64,
416416
cell_bytes: Vector[Bytes32, FIELD_ELEMENTS_PER_CELL],
417417
proof: Bytes48) -> bool:
418418
"""
@@ -433,8 +433,8 @@ def verify_cell_proof(commitment_bytes: Bytes48,
433433

434434
```python
435435
def verify_cell_proof_batch(row_commitments_bytes: Sequence[Bytes48],
436-
row_ids: Sequence[int],
437-
column_ids: Sequence[int],
436+
row_ids: Sequence[uint64],
437+
column_ids: Sequence[uint64],
438438
cells_bytes: Sequence[Vector[Bytes32, FIELD_ELEMENTS_PER_CELL]],
439439
proofs_bytes: Sequence[Bytes48]) -> bool:
440440
"""

0 commit comments

Comments
 (0)