From 3db5654280bb0cf6b9a8c84a394123654423e3f0 Mon Sep 17 00:00:00 2001 From: George Kadianakis Date: Wed, 25 Jan 2023 15:00:03 +0100 Subject: [PATCH] EIP4844: Remove `expected_` prefix --- specs/eip4844/polynomial-commitments.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/specs/eip4844/polynomial-commitments.md b/specs/eip4844/polynomial-commitments.md index 753b80b97a..b4f31afa3c 100644 --- a/specs/eip4844/polynomial-commitments.md +++ b/specs/eip4844/polynomial-commitments.md @@ -495,18 +495,18 @@ def compute_aggregate_kzg_proof(blobs: Sequence[Blob]) -> KZGProof: ```python def verify_aggregate_kzg_proof(blobs: Sequence[Blob], - expected_commitments_bytes: Sequence[Bytes48], + commitments_bytes: Sequence[Bytes48], aggregated_proof_bytes: Bytes48) -> bool: """ Given a list of blobs and an aggregated KZG proof, verify that they correspond to the provided commitments. Public method. """ - expected_commitments = [bytes_to_kzg_commitment(c) for c in expected_commitments_bytes] + commitments = [bytes_to_kzg_commitment(c) for c in commitments_bytes] aggregated_poly, aggregated_poly_commitment, evaluation_challenge = compute_aggregated_poly_and_commitment( blobs, - expected_commitments + commitments ) # Evaluate aggregated polynomial at `evaluation_challenge` (evaluation function checks for div-by-zero)