Skip to content

Commit

Permalink
Merge pull request #3262 from kevaundray/patch-7
Browse files Browse the repository at this point in the history
EIP4844: Remove repeated computation in polynomial-commitments.md
  • Loading branch information
hwwhww committed Feb 20, 2023
2 parents 02412d3 + 83cf02f commit 7fd36f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion specs/deneb/polynomial-commitments.md
Original file line number Diff line number Diff line change
Expand Up @@ -479,7 +479,7 @@ def compute_kzg_proof_impl(polynomial: Polynomial, z: BLSFieldElement) -> KZGPro

# For all x_i, compute (x_i - z)
denominator_poly = [BLSFieldElement((int(x) - int(z)) % BLS_MODULUS)
for x in bit_reversal_permutation(ROOTS_OF_UNITY)]
for x in roots_of_unity_brp]

# Compute the quotient polynomial directly in evaluation form
quotient_polynomial = [BLSFieldElement(0)] * FIELD_ELEMENTS_PER_BLOB
Expand Down

0 comments on commit 7fd36f7

Please sign in to comment.