EIP4844: Fix return value of compute_challenges (#3129)

Co-authored-by: George Kadianakis <desnacked@riseup.net>
This commit is contained in:
Roberto Bayardo 2022-11-24 05:26:02 -08:00 committed by GitHub
parent 3ec25a8755
commit a1e46d1ae4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -166,7 +166,7 @@ def blob_to_polynomial(blob: Blob) -> Polynomial:
```python
def compute_challenges(polynomials: Sequence[Polynomial],
commitments: Sequence[KZGCommitment]) -> BLSFieldElement:
commitments: Sequence[KZGCommitment]) -> Tuple[Sequence[BLSFieldElement], BLSFieldElement]:
"""
Return the Fiat-Shamir challenges required by the rest of the protocol.
The Fiat-Shamir logic works as per the following pseudocode: