mirror of
https://github.com/ethereum/consensus-specs.git
synced 2026-02-01 12:05:04 -05:00
EIP4844: Fix return value of compute_challenges (#3129)
Co-authored-by: George Kadianakis <desnacked@riseup.net>
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user